/* ambient: the product page (/how-it-works). Page-scoped; load after /fonts.css and /style.css.
   style.css draws the frame ([a], border, footer). This file draws the white page and everything inside it.
   White page, black text, #dfdfdf rules (Talida, 31 Oct 2026: "ambient style but white background").
   Body text in DejaVu Sans Mono Regular, headings in Bold, like the other white pages.
   #00FF00 appears only on black: the field-note prefix and the button hover in the > access panel. */

/* ---- white page ---------------------------------------------------------- */
html.light{--bg:#fff;--fg:#000;--grid:#dfdfdf;--dim:.55;color-scheme:light}
html.light body{font-weight:400}
html.light .logo,html.light .foot{font-weight:700}
html.light .nav a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}

/* fonts.css maps every weight to the Bold file, so this page-scoped family uses
   the Regular file up to weight 500 and the Bold file from 600 (same fix as traction.css). */
@font-face{font-family:"Ambient Mono Product";src:url("/fonts/DejaVuSansMono.ttf") format("truetype");font-weight:100 500;font-style:normal;font-display:swap}
@font-face{font-family:"Ambient Mono Product";src:url("/fonts/DejaVuSansMono-Bold.woff2") format("woff2"),url("/fonts/DejaVuSansMono-Bold.ttf") format("truetype");font-weight:600 900;font-style:normal;font-display:swap}
html.light .product{--mono:"Ambient Mono Product","DejaVu Sans Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-family:var(--mono)}

/* ---- column -------------------------------------------------------------- */
.product{flex-grow:1;width:100%;max-width:70ch;margin:0 auto;padding:40px 0 64px}
.product .back{margin:0 0 44px;font-size:12px;letter-spacing:.08em;font-weight:700}
.product .back a{color:var(--fg);text-decoration:none;opacity:var(--dim)}
.product .back a:hover,.product .back a:focus-visible{opacity:1}
.product .lbl{margin:0 0 16px;font-size:12px;letter-spacing:.08em;line-height:1.4;font-weight:700;opacity:var(--dim)}

/* ---- title block --------------------------------------------------------- */
.product h1{margin:0 0 24px;font-size:clamp(28px,1.6vw + 16px,40px);line-height:1.12;font-weight:700;letter-spacing:-.01em}
.product .lede{margin:0 0 18px;font-size:19px;line-height:1.6}
.product .lede b{font-weight:700}

/* ---- running text -------------------------------------------------------- */
.product p{margin:0 0 16px;font-size:17px;line-height:1.65}
.product h2{margin:72px 0 20px;padding-top:24px;border-top:1px solid var(--grid);font-size:24px;line-height:1.25;font-weight:700;letter-spacing:-.01em}
.product b,.product strong{font-weight:700}
.product a{color:var(--fg);text-decoration:underline;text-underline-offset:3px}
.product a:hover,.product a:focus-visible{text-decoration-thickness:2px}

/* "//" lists, as on the FAQ and traction pages */
.product ul{margin:0 0 20px;padding:0;list-style:none}
.product ul li{margin:0 0 12px;padding-left:3ch;text-indent:-3ch;font-size:17px;line-height:1.6}
.product ul li::before{content:"// ";opacity:.5}

/* ---- numbered steps: number, then a bold line and a plain one ------------- */
.product .steps{margin:8px 0 24px;padding:0;list-style:none;counter-reset:s;border-top:1px solid var(--grid)}
.product .steps li{counter-increment:s;display:grid;grid-template-columns:4ch minmax(0,1fr);gap:0 16px;padding:18px 0;border-bottom:1px solid var(--grid);font-size:17px;line-height:1.6}
.product .steps li::before{content:counter(s,decimal-leading-zero);font-weight:700;opacity:.4}
.product .steps b{display:block;margin-bottom:4px}

/* ---- terms: lev and Op, side by side ------------------------------------- */
.product .terms{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 28px}
.product .terms div{border:1px solid var(--fg);padding:20px 22px}
.product .terms dt{margin:0 0 8px;font-size:21px;font-weight:700;line-height:1.2}
.product .terms dd{margin:0;font-size:15px;line-height:1.6}

/* ---- field notes: ambient talking, in a black terminal strip -------------- */
.product .note{margin:28px 0 8px;padding:18px 22px;background:#000;color:#fff;font-size:16px;line-height:1.6;font-weight:700}
.product .note .p{color:var(--live)}

/* ---- > access panel (same as the traction articles) ---------------------- */
.product .access{margin:72px 0 0;padding:40px 40px 44px;background:#000;color:#fff;display:grid;gap:18px 48px;
  grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"lbl site" "h h" "p btn";align-items:end}
.product .access .lbl{grid-area:lbl;margin:0;color:#fff}
.product .access .site{grid-area:site;justify-self:end}
.product .access .site a{color:#fff;text-decoration:none}
.product .access h2{grid-area:h;margin:0;padding:0;border:0;color:#fff;font-size:24px;line-height:1.25}
.product .access p{grid-area:p;margin:0;max-width:52ch;font-size:15px;line-height:1.6;color:#fff}
.product .access .cta{grid-area:btn;justify-self:end;margin:0;background:#fff;color:#000;border-color:#fff;font-size:21px;padding:18px 28px;text-decoration:none}
.product .access .cta:hover,.product .access .cta:focus-visible{background:var(--live);border-color:var(--live);color:#000}
.product .access .cta:focus-visible{outline:2px solid #fff;outline-offset:3px}
.cta[aria-busy="true"]{cursor:progress}

.product .seealso{margin:48px 0 0;padding-top:22px;border-top:1px solid var(--grid);font-size:15px}

/* ---- phones -------------------------------------------------------------- */
@media (max-width:640px){
  .product{padding:28px 0 48px}
  .product .back{margin-bottom:36px}
  .product .lede{font-size:17px}
  .product h2{margin-top:56px;font-size:21px}
  .product .terms{grid-template-columns:1fr}
  .product .steps li{grid-template-columns:3ch minmax(0,1fr);gap:0 12px}
  .product .note{padding:16px 18px;font-size:15px}
  .product .access{margin-top:56px;padding:28px 22px 32px;gap:16px;grid-template-areas:"lbl site" "h h" "p p" "btn btn"}
  .product .access h2{font-size:21px}
  .product .access .cta{justify-self:start;margin-top:6px}
}
