/* Virtualaw OS -- page-level styles (moved out of page content 2026-08-05: the API user
   lacks unfiltered_html, so <style> in post content gets stripped by KSES). */

/* ---- index ---- */

.process { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule-strong); border-radius: 12px; overflow: hidden; }
      .process .pstep { padding: 26px 22px; border-right: 1px solid var(--rule); background: var(--paper); }
      .process .pstep:last-child { border-right: 0; }
      .process .p-n { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }
      .process .pstep h4 { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin: 10px 0 6px; }
      .process .pstep p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
      @media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process .pstep { border-right: 0; border-bottom: 1px solid var(--rule); } .process .pstep:last-child { border-bottom: 0; } }

.sprintlist { border: 1px solid var(--rule-strong); border-radius: 12px; overflow: hidden; }
      .sprintlist .sp { display: grid; grid-template-columns: 44px 220px 1fr; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--rule); background: var(--paper); align-items: baseline; }
      .sprintlist .sp:last-child { border-bottom: 0; }
      .sprintlist .sp .n { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }
      .sprintlist .sp .s { font-weight: 600; font-size: 14.5px; color: var(--ink); }
      .sprintlist .sp .m { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
      @media (max-width: 760px) { .sprintlist .sp { grid-template-columns: 36px 1fr; } .sprintlist .sp .m { grid-column: 2; } }

.community { background: var(--hero-ink); color: var(--paper); border: 0; }
      .community .kicker { color: var(--cyan-on-dark); }
      .community .sec-head { margin-bottom: 28px; }
      .community .sec-head h2 { color: var(--paper); }
      .community .sec-head h2 em { color: var(--cyan-on-dark); }
      .community .sec-head p { color: var(--hero-soft); }
      .community .comm-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
      .community .comm-actions .btn-primary { background: var(--cyan-on-dark); color: var(--hero-ink); }
      .community .comm-actions .btn-primary:hover { background: var(--cyan-hot); }
      .community .comm-actions .btn-ghost { border-color: var(--hero-rule); color: var(--paper); }
      .community .comm-actions .btn-ghost:hover { border-color: var(--paper); }

/* ---- prime ---- */

.npr .hero{background:var(--hero-ink);color:var(--paper);margin:0 calc(50% - 50vw);padding:clamp(64px,9vw,116px) 0 clamp(52px,7vw,88px);position:relative;overflow:hidden}
.npr .hero .glow{position:absolute;inset:-20% -10% auto auto;width:60vw;height:60vw;max-width:760px;max-height:760px;background:radial-gradient(closest-side,oklch(0.84 0.13 215 / 0.16),transparent);pointer-events:none}
.npr .hero .wrap{position:relative}
.npr .hero .kicker{color:var(--cyan-on-dark)}
.npr .hero h1{font-weight:600;font-size:clamp(30px,4.6vw,56px);line-height:1.08;letter-spacing:-0.03em;margin:18px 0 0;max-width:24ch}
.npr .hero .lede{color:var(--hero-soft);font-size:clamp(16px,2vw,19px);line-height:1.6;margin:22px 0 0;max-width:60ch}
.npr .proof{display:flex;flex-wrap:wrap;gap:10px 28px;margin-top:30px;font-family:var(--mono);font-size:12.5px;color:var(--hero-soft)}
.npr .proof span{display:inline-flex;align-items:center;gap:8px}
.npr .proof span::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--cyan-on-dark)}
.npr .comp{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}
@media(max-width:860px){.npr .comp{grid-template-columns:1fr}}
.npr .c{border:1px solid var(--rule-strong);border-radius:14px;background:var(--paper);padding:26px 26px 24px}
.npr .c .ck{font-family:var(--mono);font-size:11px;letter-spacing:0.08em;text-transform:uppercase;color:var(--accent-ink)}
.npr .c h3{font-weight:600;font-size:20px;letter-spacing:-0.015em;margin:8px 0 0;color:var(--ink)}
.npr .c p{font-size:14px;line-height:1.55;color:var(--ink-soft);margin:10px 0 0}
.npr .c .tools{font-family:var(--mono);font-size:11.5px;line-height:1.7;color:var(--ink-mute);margin-top:12px}
.npr .sprints{overflow-x:auto;margin-top:26px}
.npr table{width:100%;min-width:620px;border-collapse:collapse;border:1px solid var(--rule-strong);border-radius:14px;overflow:hidden}
.npr th,.npr td{text-align:left;padding:13px 18px;border-bottom:1px solid var(--rule);font-size:14px;vertical-align:top}
.npr thead th{font-family:var(--mono);font-size:11px;letter-spacing:0.05em;text-transform:uppercase;color:var(--ink-mute);background:var(--paper-tint);font-weight:500}
.npr td.n{font-family:var(--mono);font-size:12px;color:var(--accent-ink);width:44px}
.npr td.s{font-weight:600;color:var(--ink);width:30%}
.npr td.s small{display:block;font-family:var(--mono);font-weight:400;font-size:11px;color:var(--ink-mute);margin-top:3px}
.npr td.m{color:var(--ink-soft)}
.npr tr:last-child td{border-bottom:0}
.npr .who{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px}
@media(max-width:700px){.npr .who{grid-template-columns:1fr}}
.npr .wcol{border:1px solid var(--rule);border-radius:14px;background:var(--paper);padding:24px 26px}
.npr .wcol .wk{font-family:var(--mono);font-size:11px;letter-spacing:0.08em;text-transform:uppercase}
.npr .wcol.yes .wk{color:var(--accent-ink)}
.npr .wcol.no .wk{color:var(--ink-mute)}
.npr .wcol ul{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.npr .wcol li{font-size:14px;color:var(--ink-soft);padding-left:22px;position:relative;line-height:1.5}
.npr .wcol.yes li::before{content:"+";position:absolute;left:0;color:var(--accent-ink);font-family:var(--mono)}
.npr .wcol.no li::before{content:"\2013";position:absolute;left:0;color:var(--ink-mute);font-family:var(--mono)}
.npr .terms{background:var(--hero-ink);color:var(--paper);margin:0 calc(50% - 50vw);padding:clamp(48px,7vw,84px) 0;position:relative;overflow:hidden}
.npr .terms .kicker{color:var(--cyan-on-dark)}
.npr .terms h2{font-weight:600;font-size:clamp(26px,3.6vw,40px);letter-spacing:-0.025em;margin:10px 0 0}
.npr .price{font-weight:600;font-size:clamp(44px,6vw,64px);letter-spacing:-0.03em;margin:18px 0 0}
.npr .price small{font-family:var(--mono);font-size:14px;font-weight:400;color:var(--hero-soft)}
.npr .tlist{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:10px;max-width:60ch}
.npr .tlist li{font-size:14.5px;color:var(--strip-soft);padding-left:24px;position:relative;line-height:1.5}
.npr .tlist li::before{content:"+";position:absolute;left:0;color:var(--cyan-on-dark);font-family:var(--mono)}
.npr .tlist li b{color:var(--paper);font-weight:600}
.npr .checkoutname{font-family:var(--mono);font-size:12px;color:var(--hero-soft);margin-top:18px}
.npr .apply{margin-top:26px;display:flex;gap:12px;flex-wrap:wrap}
.npr .apply .cta.go{background:var(--cyan-on-dark);color:var(--hero-ink)}
.npr .notinc{border:1px solid var(--rule);border-radius:12px;background:var(--paper-tint);padding:16px 20px;font-size:14px;color:var(--ink-soft);line-height:1.6;margin-top:24px;max-width:70ch}
.npr .notinc b{color:var(--ink)}
.npr .ans{border-left:3px solid var(--accent-ink);background:var(--paper-tint);border-radius:0 12px 12px 0;padding:22px 26px;max-width:70ch;font-size:16px;line-height:1.65;color:var(--ink-soft);margin-top:26px}

/* ---- product ---- */

.fv-line { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dotted var(--rule); }
  .fv-line:last-child { border-bottom: 0; }
  .fv-line b { color: var(--ink); font-weight: 500; }
  .fv-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
  .spine { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--rule-strong); border-radius: 12px; overflow: hidden; }
  .spine .step { padding: 22px 18px; border-right: 1px solid var(--rule); background: var(--paper-tint); }
  .spine .step:last-child { border-right: 0; }
  .spine .step .s-num { font-family: var(--mono); font-size: 11px; color: var(--accent-ink); }
  .spine .step h4 { font-family: var(--serif); font-weight: 600; font-size: 18px; margin: 8px 0 6px; letter-spacing: -0.01em; }
  .spine .step p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
  @media (max-width: 900px) { .spine { grid-template-columns: 1fr; } .spine .step { border-right: 0; border-bottom: 1px solid var(--rule); } }

/* ---- security ---- */

.tier-cell { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
  .tier-cell.auto { color: var(--cyan); }
  .tier-cell.approve { color: var(--accent-ink); }
  .tier-cell.blocked { color: #a83b32; }
  .callout { border: 1px solid var(--rule-strong); border-radius: 12px; background: var(--paper-tint); padding: 28px 30px; max-width: var(--measure); }
  .callout .c-mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
  .callout p { margin: 0 0 12px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; }
  .callout p:last-child { margin-bottom: 0; }
  .callout b { color: var(--ink); font-weight: 600; }
  .guarantees { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--rule); }
  .guarantees li { background: var(--paper-tint); padding: 22px 24px; }
  .guarantees .g-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
  .guarantees b { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--ink); display: block; margin-bottom: 6px; letter-spacing: -0.01em; }
  .guarantees span { font-size: 14.5px; color: var(--ink-soft); }
  @media (max-width: 900px) { .guarantees { grid-template-columns: 1fr; } }

/* ---- live ---- */

/* ---- live broadcast frame ---- */
  .player-frame { border: 1px solid var(--rule-strong); border-radius: 14px; overflow: hidden; background: var(--hero-ink); box-shadow: 0 34px 90px -46px oklch(0.20 0.02 250 / 0.55); }
  .player-frame .pf-bar { display: flex; align-items: center; gap: 11px; padding: 12px 18px; border-bottom: 1px solid var(--hero-rule); background: oklch(0.16 0.012 250); }
  .pf-bar .live-dot { width: 9px; height: 9px; border-radius: 50%; background: #e5484d; animation: pf-pulse 2s infinite; }
  @keyframes pf-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,0.55); } 70% { box-shadow: 0 0 0 10px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
  .pf-bar .pf-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #f2a5a7; }
  .pf-bar .pf-title { font-family: var(--mono); font-size: 12px; color: var(--hero-soft); margin-left: auto; }
  .pf-body { position: relative; background: #000; }
  /* let the Airwave player fill the frame edge to edge */
  .pf-body .airwave-player, .pf-body .airwave-layout, .pf-body video, .pf-body iframe { width: 100%; display: block; }
  .pf-body .airwave-layout { display: grid; grid-template-columns: 1fr 320px; gap: 0; }
  @media (max-width: 820px) { .pf-body .airwave-layout { grid-template-columns: 1fr; } }

  /* ---- conversion strip, directly under the broadcast ---- */
  .live-cta { margin-top: 20px; border: 1px solid var(--ink); border-radius: 14px; background: var(--hero-ink); color: var(--paper); padding: 30px 34px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
  .live-cta .lc-copy { max-width: 58ch; }
  .live-cta .lc-kick { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan-on-dark); }
  .live-cta h3 { color: var(--paper); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 9px 0 6px; }
  .live-cta p { color: var(--strip-soft); font-size: 15px; line-height: 1.55; margin: 0; }
  .live-cta .lc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .live-cta .btn-primary { background: var(--cyan-on-dark); color: var(--hero-ink); }
  .live-cta .btn-primary:hover { background: var(--cyan-hot); }
  .live-cta .btn-ghost { border-color: var(--hero-rule); color: var(--paper); }
  .live-cta .btn-ghost:hover { border-color: var(--paper); }
  @media (max-width: 760px) { .live-cta { flex-direction: column; align-items: flex-start; } }

  /* ---- what to expect ---- */
  .live-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--rule); }
  .live-grid .lg-card { background: var(--paper-tint); padding: 24px 24px; }
  .live-grid .lg-mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 8px; }
  .live-grid h4 { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--ink); }
  .live-grid p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
  @media (max-width: 820px) { .live-grid { grid-template-columns: 1fr; } }

  /* ---- "notify me" signup (FluentForm) ---- */
  .signup-card { border: 1px solid var(--rule-strong); border-radius: 14px; background: var(--paper-tint); padding: 30px 32px; max-width: 640px; }
  .signup-card label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
  .signup-card input[type="text"], .signup-card input[type="email"], .signup-card textarea, .signup-card select { width: 100%; border: 1px solid var(--rule-strong); border-radius: 6px; padding: 12px 14px; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper); }
  .signup-card input:focus, .signup-card textarea:focus, .signup-card select:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px oklch(0.66 0.16 65 / 0.18); }
  .signup-card .ff-btn-submit, .signup-card button[type="submit"] { background: var(--ink); color: var(--paper); border: 0; border-radius: 4px; padding: 13px 22px; font-family: var(--sans); font-weight: 500; font-size: 15px; cursor: pointer; transition: background 240ms var(--ease); }
  .signup-card .ff-btn-submit:hover, .signup-card button[type="submit"]:hover { background: var(--accent-ink); }

  .mono-note { font-family: var(--mono); font-size: 12.5px; color: var(--ink-mute); margin-top: 16px; line-height: 1.6; }

/* ---- welcome ---- */

.wel { --cy: var(--cyan-on-dark); }
  .wel [data-rise] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .wel [data-rise].is-in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .wel [data-rise] { opacity: 1; transform: none; transition: none; } }

  .wel-hero { background: var(--hero-ink); color: var(--paper); margin: 0 calc(50% - 50vw); padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; text-align: center; }
  .wel-hero .glow { position: absolute; inset: -25% auto auto 50%; transform: translateX(-50%); width: 70vw; height: 70vw; max-width: 820px; max-height: 820px; background: radial-gradient(closest-side, oklch(0.84 0.13 215 / 0.16), transparent); pointer-events: none; animation: welPulse 6s var(--ease) infinite alternate; }
  @keyframes welPulse { from { opacity: 0.7; } to { opacity: 1; } }
  .wel-hero .wrap { position: relative; }
  .wel-hero .badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cy); border: 1px solid oklch(1 0 0 / 0.2); border-radius: 999px; padding: 7px 15px; }
  .wel-hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cy); box-shadow: 0 0 0 4px oklch(0.84 0.13 215 / 0.18); }
  .wel-hero h1 { font-weight: 600; font-size: clamp(42px, 8vw, 88px); line-height: 0.98; letter-spacing: -0.04em; margin: 22px 0 0; }
  .wel-hero h1 em { color: var(--cy); font-style: normal; }
  .wel-hero .lede { color: var(--hero-soft); font-size: clamp(16px, 2.1vw, 20px); line-height: 1.6; margin: 22px auto 0; max-width: 56ch; }
  .wel-hero .lede b { color: var(--paper); font-weight: 600; }
  .wel-hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
  .wel-hero .cta.enter { background: var(--cy); color: var(--hero-ink); }
  .wel-hero .cta.enter:hover { filter: brightness(1.08); }
  .wel-hero .cta.ghost-d { background: transparent; color: var(--paper); border: 1px solid oklch(1 0 0 / 0.28); }
  .wel-hero .cta.ghost-d:hover { border-color: oklch(1 0 0 / 0.55); }

  .steps-h { text-align: center; }
  .steps-h h2 { font-weight: 600; font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.02em; }
  .steps-h .lead { font-size: 14.5px; color: var(--ink-mute); margin-top: 8px; }
  .nsteps { list-style: none; counter-reset: s; margin: 32px auto 0; padding: 0; max-width: 640px; text-align: left; }
  .nsteps li { position: relative; padding: 0 0 26px 52px; }
  .nsteps li:last-child { padding-bottom: 0; }
  .nsteps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -3px; width: 33px; height: 33px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; }
  .nsteps li::after { content: ""; position: absolute; left: 16px; top: 35px; bottom: 2px; width: 1px; background: var(--rule-strong); }
  .nsteps li:last-child::after { display: none; }
  .nsteps .st { font-weight: 600; font-size: 16px; color: var(--ink); display: block; }
  .nsteps .sd { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-top: 4px; }
  .nsteps .sd b { color: var(--ink); font-weight: 600; }
  .nsteps .sd a { color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
  .nsteps .sd a:hover { border-color: var(--accent-ink); }
  .path-note { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0 0; }
  @media (max-width: 560px) { .path-note { grid-template-columns: 1fr; } }
  .path-note .pn2 { border: 1px solid var(--rule); border-radius: 10px; background: var(--paper-tint); padding: 13px 16px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
  .path-note .pn2 .pn2k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-ink); display: block; margin-bottom: 4px; }

  .wel-close { text-align: center; }
  .wel-close .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* welcome reveals: content visible without page JS */
.wel [data-rise]{opacity:1 !important;transform:none !important}

/* ---- about ---- */
.abt .rec { display:grid; grid-template-columns:repeat(2,1fr); gap:2px; border:1px solid var(--rule); border-radius:12px; overflow:hidden; background:var(--rule); margin-top:26px; padding:0; }
.abt .rec li { list-style:none; background:var(--paper-tint); padding:22px 24px; }
.abt .rec .r-mono { font-family:var(--mono); font-size:11px; letter-spacing:0.06em; text-transform:uppercase; color:var(--accent-ink); margin-bottom:8px; }
.abt .rec b { display:block; font-weight:600; font-size:17px; color:var(--ink); margin-bottom:6px; letter-spacing:-0.01em; }
.abt .rec span { font-size:14.5px; color:var(--ink-soft); line-height:1.55; }
@media (max-width:820px){ .abt .rec { grid-template-columns:1fr; } }
.abt .prose p { max-width:66ch; font-size:16.5px; line-height:1.65; color:var(--ink-soft); margin:0 0 16px; }
.abt .prose p b { color:var(--ink); font-weight:600; }
