/* sct — index.html styles (Claude-owned)

   This product brands itself. Its palette and components are its own
   and deliberately NOT shared with /assets/css/site.css, which covers
   the main site pages only (index, contact_us).

   One file per page: this product's pages share ~20 selectors but
   define several of them differently, so a single combined stylesheet
   collides. */

:root{
    --paper:#F6F1E7;        /* warm ivory base            */
    --paper-2:#FBF8F1;      /* lifted card surface        */
    --paper-3:#EFE8DA;      /* recessed band              */
    --ink:#1E1B17;          /* warm near-black text       */
    --ink-2:#5A5248;        /* muted secondary text       */
    --ink-3:#8A8377;        /* tertiary / captions        */
    --line:#E2D9C8;         /* warm hairline border       */
    --line-2:#D4C8B2;       /* stronger hairline          */
    --accent:#1B5E4B;       /* deep ledger green          */
    --accent-deep:#123F32;  /* darker green for hovers    */
    --amber:#A66A12;        /* partial-deduction amber    */
    --amber-bg:#F0E3C7;     /* amber tint background      */
    --heading:#463D31;      /* softened title color       */
    --radius:14px;
    --serif:"Iowan Old Style","Charter","Hoefler Text",Georgia,"Times New Roman",serif;
    --sans:"Seravek","Gill Sans Nova","Avenir Next","Segoe UI",-apple-system,sans-serif;
    --mono:ui-monospace,"SF Mono","JetBrains Mono",Menlo,Consolas,monospace;
    --maxw:1080px;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:var(--sans);
    font-size:18px;
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
  }

  /* faint paper grain ----------------------------------------- */
  body::before{
    content:"";
    position:fixed;inset:0;z-index:0;pointer-events:none;
    opacity:.035;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }

  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;position:relative;z-index:1;}

  /* ---------- typography ---------- */
  h1,h2,h3{font-family:var(--serif);font-weight:600;letter-spacing:-.01em;line-height:1.12;margin:0;color:var(--heading);}
  h1{font-size:clamp(2.6rem,6vw,4.3rem);}
  h2{font-size:clamp(1.9rem,3.6vw,2.7rem);}
  h3{font-size:1.28rem;line-height:1.25;}
  p{margin:0 0 1.1rem;}
  a{color:var(--accent);text-decoration:none;}
  .eyebrow{
    font-family:var(--mono);font-size:.72rem;letter-spacing:.22em;
    text-transform:uppercase;color:var(--accent);
    display:inline-flex;align-items:center;gap:.6rem;margin-bottom:1.1rem;
  }
  .eyebrow::before{content:"";width:26px;height:1px;background:var(--accent);opacity:.6;}
  .lead{font-size:1.22rem;color:var(--ink-2);max-width:42ch;}
  .mono{font-family:var(--mono);}

  /* ---------- top bar ---------- */
  header.bar{
    position:sticky;top:0;z-index:40;
    backdrop-filter:saturate(1.2) blur(8px);
    background:rgba(246,241,231,.82);
    border-bottom:1px solid var(--line);
  }
  .bar-in{
    max-width:var(--maxw);margin:0 auto;padding:14px 28px;
    display:flex;align-items:center;justify-content:space-between;gap:1rem;
  }
  .mark{line-height:1.1;}
  .mark .name{font-family:var(--serif);font-weight:600;font-size:1.18rem;line-height:1.15;}
  .mark .pub{font-family:var(--mono);font-size:.66rem;letter-spacing:.26em;text-transform:uppercase;color:var(--ink-3);margin-top:5px;}
  .mark .pub a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:var(--line-2);transition:.2s;}
  .mark .pub a:hover{color:var(--accent);text-decoration-color:var(--accent);}
  .btn{
    display:inline-block;font-family:var(--sans);font-size:.95rem;font-weight:600;
    padding:.62rem 1.25rem;border-radius:999px;border:1.5px solid var(--accent);
    background:var(--accent);color:var(--paper-2);transition:.2s;cursor:pointer;
  }
  .btn:hover{background:var(--accent-deep);border-color:var(--accent-deep);}
  .btn.ghost{background:transparent;color:var(--accent);}
  .btn.ghost:hover{background:var(--accent);color:var(--paper-2);}
  /* header CTA group: Guide chip + Get-the-app button */
  .bar-cta{display:flex;align-items:center;gap:.7rem;}
  .guide-chip{font-family:var(--mono);font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;
    color:var(--accent);border:1px solid var(--line-2);border-radius:999px;padding:.5rem .9rem;
    background:var(--paper-2);transition:.2s;white-space:nowrap;}
  .guide-chip:hover{border-color:var(--accent);text-decoration:none;}
  @media(max-width:560px){
    .bar-in{flex-wrap:wrap;row-gap:.6rem;}
    .bar-cta{width:100%;justify-content:flex-end;}
  }

  /* ---------- sections ---------- */
  section{padding:88px 0;border-top:1px solid transparent;}
  .band{background:var(--paper-3);}
  .grid2{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
  @media(max-width:860px){.grid2{grid-template-columns:1fr;gap:34px;}}

  /* ---------- hero ---------- */
  .hero{padding:74px 0 56px;}
  .hero .inner{max-width:780px;}
  .hero h1{margin-bottom:1.4rem;}
  .hero .lead{font-size:1.32rem;max-width:54ch;margin-bottom:2rem;}
  .hero .cta-row{display:flex;gap:14px;flex-wrap:wrap;align-items:center;}
  .hero .note{font-family:var(--mono);font-size:.78rem;color:var(--ink-3);letter-spacing:.04em;}

  /* ---------- philosophy pillars ---------- */
  .pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:42px;}
  @media(max-width:860px){.pillars{grid-template-columns:1fr;}}
  .pillar{background:var(--paper-2);border:1px solid var(--line);border-radius:var(--radius);padding:30px 26px;}
  .pillar .ic{width:30px;height:30px;color:var(--accent);margin-bottom:16px;}
  .pillar h3{margin-bottom:.55rem;}
  .pillar p{font-size:1rem;color:var(--ink-2);margin:0;}

  /* ---------- problem questions ---------- */
  .qlist{list-style:none;padding:0;margin:1.4rem 0 0;border-top:1px solid var(--line);}
  .qlist li{padding:.9rem 0;border-bottom:1px solid var(--line);display:flex;gap:.9rem;color:var(--ink);font-size:1.06rem;}
  .qlist li span{font-family:var(--mono);color:var(--accent);font-size:.95rem;}

  /* ---------- two dials ---------- */
  .dials{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:30px;}
  @media(max-width:860px){.dials{grid-template-columns:1fr;}}
  .dial{border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:var(--paper-2);}
  .dial.amber{border-color:var(--line-2);background:var(--amber-bg);}
  .dial h3{margin-bottom:.6rem;}
  .dial p{font-size:1rem;color:var(--ink-2);margin:0;}
  .formula{
    font-family:var(--mono);font-size:.95rem;color:var(--ink);
    background:var(--paper-2);border:1px solid var(--line);border-radius:10px;
    padding:.85rem 1.05rem;display:inline-block;margin:.4rem 0 0;
  }
  .chip{
    display:inline-block;font-family:var(--mono);font-weight:700;font-size:.85rem;
    color:var(--amber);background:#fff;border:1px solid var(--line-2);
    border-radius:6px;padding:.08rem .45rem;
  }

  /* ---------- feature copy lists ---------- */
  .feat ul{list-style:none;padding:0;margin:1.1rem 0 0;}
  .feat li{padding:.55rem 0 .55rem 1.7rem;position:relative;color:var(--ink-2);font-size:1.03rem;}
  .feat li::before{content:"";position:absolute;left:0;top:.95rem;width:8px;height:8px;border-radius:2px;background:var(--accent);}
  .filename{font-family:var(--mono);font-size:.82rem;color:var(--accent-deep);background:var(--paper-2);border:1px solid var(--line);border-radius:6px;padding:.12rem .4rem;}
  /* v0.2 — folder-tree visualization for s9 (Report Bundle) */
  .tree{
    font-family:var(--mono);font-size:.82rem;
    color:var(--ink);background:var(--paper-2);
    border:1px solid var(--line);border-radius:8px;
    padding:.9rem 1.1rem;margin:.4rem 0 0;
    white-space:pre;line-height:1.55;
    overflow-x:auto;
  }

  /* ---------- "what it's not" ---------- */
  .nots{display:flex;flex-wrap:wrap;gap:12px;margin-top:1.6rem;}
  .nots span{
    font-family:var(--sans);font-size:.96rem;color:var(--ink-2);
    border:1px solid var(--line-2);border-radius:999px;padding:.42rem 1rem;background:var(--paper-2);
  }
  .nots span s{color:var(--ink-3);}

  /* ---------- screenshot placeholders ---------- */
  figure.shot{margin:0;}
  .shot-frame{
    border:1.5px dashed var(--line-2);border-radius:var(--radius);
    background:linear-gradient(180deg,var(--paper-2),var(--paper-3));
    overflow:hidden;position:relative;
  }
  .shot-chrome{display:flex;gap:7px;padding:13px 16px;border-bottom:1px dashed var(--line-2);}
  .shot-chrome i{width:11px;height:11px;border-radius:50%;background:var(--line-2);display:block;}
  .shot-body{
    aspect-ratio:16/10;display:flex;flex-direction:column;align-items:center;justify-content:center;
    text-align:center;padding:30px;gap:.7rem;
  }
  .shot-body.tall{aspect-ratio:4/3;}
  .shot-tag{
    font-family:var(--mono);font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;
    color:var(--accent);border:1px solid var(--accent);border-radius:999px;padding:.22rem .7rem;opacity:.85;
  }
  .shot-desc{font-size:.96rem;color:var(--ink-2);max-width:46ch;margin:0;}
  .shot-icn{width:30px;height:30px;color:var(--line-2);}
  figcaption{font-family:var(--mono);font-size:.74rem;color:var(--ink-3);margin-top:.9rem;letter-spacing:.03em;}

  /* ---------- closing CTA ---------- */
  .close{text-align:center;}
  .close h2{max-width:18ch;margin:0 auto 1.2rem;}
  .close .lead{margin:0 auto 2rem;max-width:52ch;}
  .swatches{display:flex;gap:.55rem;justify-content:center;margin:0 0 .2rem;}
  .swatches span{width:34px;height:34px;border-radius:9px;border:1px solid rgba(30,27,23,.10);box-shadow:0 1px 2px rgba(30,27,23,.10);}

  /* ---------- footer ---------- */
  footer{border-top:1px solid var(--line);padding:44px 0 60px;}
  .foot-in{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:flex-end;}
  footer .name{font-family:var(--serif);font-size:1.1rem;}
  footer .pub{font-family:var(--mono);font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3);margin-top:.2rem;}
  footer .disc{font-size:.9rem;color:var(--ink-3);max-width:48ch;}

  /* ---------- reveal motion (progressive enhancement) ---------- */
  html.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease;}
  html.js .reveal.in{opacity:1;transform:none;}
  @media(prefers-reduced-motion:reduce){html.js .reveal{opacity:1;transform:none;transition:none;}}

  /* ---------- wired screenshots + lightbox (v0.3) ---------- */
  .shot-frame.filled{border:1px solid var(--line-2);background:var(--paper-2);
    box-shadow:0 20px 50px rgba(40,30,15,.13),0 3px 8px rgba(40,30,15,.07);}
  .shot-frame.filled .shot-chrome{border-bottom:1px solid var(--line-2);}
  .shot-frame.filled .shot-chrome i{background:#D9C9A8;}
  .shot-frame.filled .shot-chrome i:first-child{background:#E6A23C;}
  .shot-frame.filled .shot-chrome i:last-child{background:#BFD4A8;}
  .shot-img-btn{display:block;width:100%;border:0;padding:0;margin:0;background:none;cursor:zoom-in;line-height:0;}
  .shot-img{width:100%;display:block;}
  .shot-bare{border-radius:var(--radius);overflow:hidden;display:block;}
  #shot-s9 .shot-frame.filled{border:0;background:none;box-shadow:none;}
  #shot-s9 .shot-chrome{display:none;}
  .lightbox{position:fixed;inset:0;z-index:999;display:none;align-items:center;justify-content:center;
    background:rgba(28,22,12,.84);padding:4vmin;cursor:zoom-out;}
  .lightbox.open{display:flex;}
  .lightbox img{max-width:96vw;max-height:92vh;border-radius:8px;box-shadow:0 30px 80px rgba(0,0,0,.5);}
  .lightbox-close{position:fixed;top:16px;right:24px;color:#F6F1E7;font-size:30px;background:none;border:0;cursor:pointer;line-height:1;opacity:.85;}

  /* Header CTA sized to match .guide-chip so both header controls are the
     same height. Scoped to .bar-cta so the full-size .btn used in the page
     body (hero / download sections) is untouched. */
  .bar-cta .btn{font-family:var(--mono);font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;border-radius:999px;padding:.5rem .9rem;white-space:nowrap;font-weight:600;border-width:1px;}
