/* Shared stylesheet for the website drafts.
   Extracted 2026-09-07: every page previously carried its own copy, so each new
   rule had to be applied eight times and silently missed some. One file now. */
  :root{
    color-scheme: dark;
    --bg:#09090b; --panel:#18181b; --line:#27272a; --line2:#1c1c1f;
    --z50:#fafafa; --z100:#f4f4f5; --z300:#d4d4d8; --z400:#a1a1aa; --z500:#71717a; --z600:#52525b;
    --cyan:#22d3ee; --rose:#fb7185;
  }
  *{box-sizing:border-box}
  html{background:#09090b;overscroll-behavior-y:none;
    -webkit-text-size-adjust:100%;text-size-adjust:100%}
  html,body{margin:0;padding:0}
  body{
    background:var(--bg); overflow-x:clip; color:var(--z300);
    font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    -webkit-font-smoothing:antialiased; line-height:1.6;
  }
  /* selection: marketing copy must be copyable.
     - WebKit sets -webkit-user-select:none on <button> by default, so the carousel
       labels could not be selected at all.
     - .grad text is color:transparent (background-clip:text), so a selection WAS
       happening but painted behind invisible glyphs — text-fill-color restores it. */
  button,a{-webkit-user-select:text;user-select:text}
  ::selection{background:rgba(34,211,238,.32);color:#fff;-webkit-text-fill-color:#fff}
  ::-moz-selection{background:rgba(34,211,238,.32);color:#fff}

  /* product dropdown */
  /* the panel is anchored to the HEADER COLUMN, not to the Product button:
     button-anchored + fixed width ran the right-hand column off-screen. */
  header.site .wrap{position:relative}
  .menu{position:static}
  .menu summary{list-style:none;cursor:pointer;color:var(--z500);font-size:15px;
    display:inline-flex;align-items:center;white-space:nowrap}
  .menu summary::-webkit-details-marker{display:none}
  .menu[open] summary,.menu summary:hover{color:var(--z100)}
  .menu .panel{position:absolute;top:calc(100% + 14px);right:24px;left:auto;z-index:60;
    width:min(560px,100%);max-width:100%;background:#0e0e10;border:1px solid var(--line);
    border-radius:14px;padding:14px;box-shadow:0 30px 60px -20px rgba(0,0,0,.9);
    display:grid;grid-template-columns:1fr 1fr;gap:4px}
  /* an explicit display on the panel overrides the UA rule that hides a CLOSED
     <details>, so it stayed laid out (and could overflow) while invisible. */
  .menu:not([open]) .panel{display:none}
  /* nav.site a sets white-space:nowrap for the header links; inside the panel that
     stopped the descriptions wrapping and pushed the grid tracks past the box.
     min-width:0 lets a grid item actually shrink to its track. */
  .menu .panel a{display:block;padding:10px 12px;border-radius:9px;text-decoration:none;
    white-space:normal;min-width:0;overflow-wrap:anywhere}
  .menu .panel .t,.menu .panel .s{white-space:normal}
  .menu .panel a:hover{background:#17171a}
  .menu .panel .t{display:block;color:var(--z100);font-weight:600;font-size:.95rem}
  .menu .panel .s{display:block;color:var(--z500);font-size:.85rem;margin-top:2px;line-height:1.35}

  /* link out to a surface page */
  .more-link{display:inline-block;margin-top:18px;color:var(--cyan);text-decoration:none;
    font-size:1rem;font-weight:500}
  .more-link:hover{text-decoration:underline}

  /* sibling surfaces strip */
  .siblings{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;justify-content:center}
  .siblings a{border:1px solid var(--line);border-radius:999px;padding:8px 14px;
    color:var(--z300);text-decoration:none;font-size:.92rem}
  .siblings a:hover{border-color:var(--z600);color:var(--z100)}

  /* callout pinned over a screenshot */
  .shotwrap{position:relative;display:block}
  .callout{position:absolute;right:5%;top:32%;max-width:46%;
    background:rgba(9,9,11,.85);backdrop-filter:blur(6px);
    border:1px solid rgba(52,211,153,.45);border-radius:10px;
    padding:10px 14px;color:var(--z50);font-weight:600;
    font-size:clamp(.82rem,1.5vw,1rem);line-height:1.35;
    box-shadow:0 10px 30px -12px rgba(0,0,0,.9)}
  .callout .tick{color:#34d399;margin-right:7px}

  /* circuit family cards */
  .circuits{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
  .circuits .c{border:1px solid var(--line);border-radius:12px;padding:20px;background:#111113;
    display:flex;flex-direction:column;gap:10px}
  .circuits .badge{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;
    justify-content:center;flex:0 0 auto}
  .circuits .n{font-weight:700;color:var(--z100);font-size:1.05rem;line-height:1.2}
  .circuits .d{margin:0;color:var(--z400);font-size:.95rem;line-height:1.5}
  .c-green .badge{background:rgba(52,211,153,.14);border:1px solid rgba(52,211,153,.35)}
  .c-blue  .badge{background:rgba(96,165,250,.14);border:1px solid rgba(96,165,250,.35)}
  .c-amber .badge{background:rgba(251,191,36,.14);border:1px solid rgba(251,191,36,.35)}

  img{max-width:100%;display:block}
  a{color:inherit}
  .wrap{max-width:1152px;margin:0 auto;padding:0 24px}
  .narrow{max-width:768px}

  /* draft banner */
  .draftbar{position:relative;z-index:50;background:#0c1a1f;border-bottom:1px solid #164e63;
    padding:8px 24px;font-size:13px;color:#67e8f9;letter-spacing:.02em}
  .draftbar b{color:#a5f3fc}

  header.site{border-bottom:1px solid var(--line2);padding:18px 0;
    position:sticky;top:0;z-index:70;background:var(--bg);
    backdrop-filter:saturate(140%) blur(8px)}
  header.site .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px}
  .brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.25rem;color:var(--z100);
    text-decoration:none}
  .brand .wordmark{background:linear-gradient(90deg,#22d3ee,#c084fc);
    -webkit-background-clip:text;background-clip:text;color:transparent}
  .brand img{width:26px;height:26px;border-radius:6px}
  nav.site{display:flex;flex-wrap:wrap;align-items:center;gap:22px}
  nav.site a{color:var(--z500);text-decoration:none;font-size:15px;white-space:nowrap}
  nav.site a:hover{color:var(--z300)}
  nav.site a.signin{color:var(--z100);font-weight:600}

  section{border-top:1px solid var(--line2);padding:96px 0}
  section.hero{border-top:0;padding:80px 0 64px}

  h1{font-size:clamp(2.3rem,5.4vw,3.9rem);line-height:1.08;letter-spacing:-.03em;
     font-weight:800;color:var(--z50);margin:0 0 28px;text-wrap:balance}
  .grad{background:linear-gradient(90deg,#22d3ee,#c084fc);-webkit-background-clip:text;
        background-clip:text;color:transparent}
  .sub{font-size:clamp(1.15rem,2.1vw,1.5rem);color:var(--z400);max-width:60ch;margin:0 0 36px}
  .sub .hi{color:var(--cyan)}
  .hl-green{color:#34d399}

  .cta{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
  .btn{display:inline-block;padding:14px 26px;border-radius:10px;text-decoration:none;
       font-weight:600;font-size:16px}
  .btn-primary{background:var(--z50);color:#09090b}
  .btn-ghost{border:1px solid var(--line);color:var(--z100)}
  .fineprint{margin-top:22px;font-size:14px;color:var(--z500)}

  /* hero carousel */
  .carousel{margin-top:56px;border:1px solid var(--line);border-radius:14px;overflow:hidden;
            background:var(--panel);box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
  .carousel .frame{position:relative;aspect-ratio:16/9;background:#0f0f11}
  .carousel .frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
    opacity:0;transition:opacity .6s ease}
  .carousel .frame img.on{opacity:1}
  .carousel .bar{display:flex;flex-wrap:wrap;gap:18px;padding:14px 18px;border-top:1px solid var(--line);
    font-size:14px;color:var(--z600)}
  .carousel .bar button{background:none;border:0;padding:0;font:inherit;color:var(--z600);cursor:pointer}
  .carousel .bar button.on{color:var(--z100);font-weight:600}

  /* phone strip */
  .phones{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:20px 22px}
  .phones img{border:1px solid var(--line);border-radius:16px;box-shadow:0 20px 40px -18px rgba(0,0,0,.9)}
  .phones .t{display:block;margin-top:14px;font-size:14px;font-weight:600;color:var(--z100)}
  .phones .b{display:block;margin-top:4px;font-size:14px;color:var(--z400)}

  h2{font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.12;letter-spacing:-.02em;
     font-weight:800;color:var(--z100);margin:0 0 20px;text-wrap:balance}
  h3{font-size:1.35rem;font-weight:700;color:var(--z100);margin:0 0 10px}
  p.lead{font-size:1.25rem;color:var(--z400);max-width:62ch}

  .subhead-grad{font-size:clamp(1.15rem,2.1vw,1.45rem);font-weight:700;letter-spacing:-.01em;
    margin:0 0 12px;line-height:1.25}

  .hero-eyebrow .bolt{vertical-align:-2px;margin-right:7px}
  .hero-eyebrow{display:block;font-size:clamp(.95rem,2.2vw,1.15rem);font-weight:700;
    letter-spacing:.06em;text-transform:uppercase;margin:0 0 14px}
  .hero-shot{margin-top:52px;border:1px solid var(--line);border-radius:14px;overflow:hidden;
    background:var(--panel);box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
  .hero-shot img{width:100%;display:block}
  /* A portrait capture at full hero width renders ~1300px tall and swamps the fold.
     Cap the FIGURE, not the image, so nothing is cropped and the node labels stay legible. */
  .hero-shot.portrait{max-width:660px;margin-left:auto;margin-right:auto}
  /* A phone capture is ~1:2.2. At the column's full width it would run over 1000px tall
     and swamp the section, so cap the HEIGHT and let the width follow. */
  .pillar .shot.phone img{max-height:620px;width:auto;display:block;margin:0 auto}
  @media(max-width:900px){.pillar .shot.phone img{max-height:460px}}
  .hero-shot .cap{margin:0;padding:12px 16px;border-top:1px solid var(--line);
    color:var(--z500);font-size:.92rem}

  /* the pattern: kicker / headline / shot / body */
  .pillar{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
  .pillar.rev .col-text{order:2}
  /* a section that earns no picture: one column, readable measure */
  .pillar.solo{grid-template-columns:1fr;max-width:760px}
  .pillar .shot img,.pillar .shot .ph{border:1px solid var(--line);border-radius:12px;
    box-shadow:0 26px 50px -22px rgba(0,0,0,.85)}
  .pillar p{color:var(--z400);font-size:1.08rem;margin:0}
  .pillar ul{margin:0;padding-left:20px;color:var(--z400);font-size:1.08rem}
  .pillar ul li{margin:8px 0}
  .pillar .shot.phone img{max-width:300px;margin:0 auto;border-radius:22px}
  .pillar .shot .cap{margin:16px auto 0;max-width:38ch;text-align:center;font-size:.95rem;
    color:var(--z500);line-height:1.5}

  .pillar .note{margin-top:18px;font-size:.95rem;color:var(--z500);border-left:2px solid var(--line);
    padding-left:14px}

  /* plans strip */
  .plans{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:40px}
  .plans .card{border:1px solid var(--line);border-radius:12px;padding:24px;background:#111113}
  .plans .price{font-size:.8rem;letter-spacing:.14em;text-transform:uppercase;color:var(--cyan);
    margin:0 0 10px;font-weight:600}
  .plans h3{margin:0 0 10px;font-size:1.15rem}
  .plans p{margin:0;font-size:1rem;color:var(--z400)}

  .ph{aspect-ratio:16/10;display:flex;flex-direction:column;align-items:center;justify-content:center;
      border:1px dashed #3f3f46 !important;border-radius:12px;background:#111113;text-align:center;
      padding:24px;color:var(--z500)}
  .ph .tag{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--cyan);margin-bottom:10px}
  .ph .what{font-size:15px;color:var(--z300);max-width:34ch}
  .ph.phone{aspect-ratio:9/17;max-width:270px;margin:0 auto;border-radius:20px !important}

  .quote{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700;color:var(--z100);line-height:1.3;
    border-left:2px solid rgba(251,113,133,.6);padding-left:24px;max-width:36ch;margin:0}
  .answer{border-left-color:rgba(34,211,238,.6)}

  .close{text-align:center}
  .close h2{margin-bottom:14px}
  .close .cta{justify-content:center}

  footer{border-top:1px solid var(--line);padding:26px 0;color:var(--z500);font-size:14px}
  footer .wrap{display:flex;flex-wrap:wrap;gap:14px 22px;justify-content:space-between;align-items:center}
  .foot-brand{display:inline-flex;align-items:center;gap:9px}
  .foot-brand img{width:20px;height:20px;border-radius:5px}
  .foot-links{display:flex;flex-wrap:wrap;gap:20px}
  .foot-links a{color:var(--z500);text-decoration:none}
  .foot-links a:hover{color:var(--z300)}
  @media (max-width:520px){
    footer .wrap{justify-content:center;text-align:center}
    .foot-links{justify-content:center;gap:16px}
  }





  @media (max-width:860px){
    section{padding:68px 0}
    .pillar{grid-template-columns:1fr;gap:28px}
    .pillar.rev .col-text{order:0}
    .phones{grid-template-columns:repeat(2,1fr)}
    .callout{right:5%;left:5%;top:auto;bottom:6%;max-width:none;text-align:center}
    header.site .wrap{flex-wrap:wrap;row-gap:12px}
    /* PHONE: the brand row scrolls out, the nav row stays pinned.
       Sticky alone cannot do this — nav's containing block is the header, so it
       would unstick the moment the header left. A scroll class collapses the
       brand instead, leaving the nav as the whole sticky header. */
    /* PHONES: one row, always. Measured at 320-414px, the wordmark plus five
       links cannot share a row at any phone width — the nav wrapped to two rows
       at rest, so "compacting" was really just un-wrapping, which is a reflow
       and cannot be animated. So the phone header IS the compact form: mark +
       links, ~40px, constant. Nothing moves on scroll, so nothing can snap.
       The wordmark returns at 861px up, where it fits. */
    header.site{padding:12px 0;transition:padding .2s ease}
    header.site .wrap{flex-wrap:nowrap;gap:10px}
    header.site .brand{flex:0 0 auto;font-size:1.05rem}
    header.site .brand img{width:24px;height:24px;
      transition:width .22s ease,height .22s ease}
    header.site .brand .wordmark{display:inline-block;max-width:0;opacity:0;
      overflow:hidden;white-space:nowrap;vertical-align:middle;
      transition:max-width .22s ease,opacity .16s ease}
    header.site nav.site{width:auto;flex:1 1 auto;justify-content:flex-end}

    .menu .panel{left:0;right:0;width:auto;max-width:none;
      grid-template-columns:1fr;max-height:calc(100vh - 120px);overflow-y:auto;
      -webkit-overflow-scrolling:touch}
    .menu .panel a{padding:12px}
    .menu .panel .s{white-space:normal}
    nav.site{width:100%;justify-content:space-between;gap:12px;font-size:14px}
    nav.site a{font-size:14px}
    .plans{grid-template-columns:1fr}
    .circuits{grid-template-columns:1fr}
  }

  /* ── phone header sizing, last in the sheet so it actually wins ───────────
     Earlier attempts sat above the 860px block and were overridden. */
  /* The wordmark stays on phones — it is the brand. It only goes when the row
     genuinely cannot hold mark + wordmark + links, which is below ~360px. */
  @media (max-width:860px){
    header.site .brand .wordmark{max-width:9em;opacity:1;font-size:.98rem}
    header.site nav.site{gap:9px;font-size:12.5px}
    header.site nav.site a,header.site .menu summary{font-size:12.5px}
  }
  @media (max-width:420px){
    header.site .brand .wordmark{font-size:.92rem}
    header.site nav.site{gap:7px;font-size:11.5px}
    header.site nav.site a,header.site .menu summary{font-size:11.5px}
  }
  /* 360-389 (SE, mini): tighter still, so the wordmark survives on those. */
  @media (max-width:389px){
    header.site .wrap{padding:0 16px;gap:8px}
    header.site .brand{gap:7px}
    header.site .brand .wordmark{font-size:.88rem}
    header.site .brand img{width:22px;height:22px}
    header.site nav.site{gap:5px;font-size:11px}
    header.site nav.site a,header.site .menu summary{font-size:11px}
  }
  @media (max-width:339px){
    header.site .wrap{padding:0 14px;gap:8px}
    header.site .brand .wordmark{max-width:0;opacity:0}
  }
