:root{
  --bg:#f7f5f0;
  --surface:#ffffff;
  --text:#191713;
  --muted:#5f584e;
  --primary:#1f4d3a;
  --primary-dark:#163a2b;
  --accent:#9a3412;
  --accent-soft:#fdece3;
  --line:rgb(25 23 19 / .12);
  --radius:6px;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:24px; --space-6:32px; --space-7:48px; --space-8:64px;
  --fs-xs:12px; --fs-sm:14px; --fs-base:17px; --fs-lg:20px;
  --fs-h3:24px; --fs-h2:34px; --fs-h1:56px;
  --wrap:1140px;
  --font-head:"Space Grotesk", system-ui, sans-serif;
  --font-body:"Inter", system-ui, sans-serif;
  --font-mono:"JetBrains Mono", ui-monospace, monospace;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:var(--font-body); font-size:var(--fs-base); line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:var(--font-head); line-height:1.15; letter-spacing:-.015em; text-wrap:balance; margin:0 0 var(--space-3)}
h1{font-size:var(--fs-h1); font-weight:700}
h2{font-size:var(--fs-h2); font-weight:600; letter-spacing:-.02em}
h3{font-size:var(--fs-h3); font-weight:600}
p{text-wrap:pretty; margin:0 0 var(--space-4)}
a{color:var(--primary); text-decoration:none}
a:hover{text-decoration:underline; text-underline-offset:3px}
img{max-width:100%; height:auto}
strong{font-weight:600}
code,.mono{font-family:var(--font-mono); font-size:.92em; font-variant-numeric:tabular-nums}
:focus-visible{outline:2px solid var(--primary); outline-offset:2px}
::selection{background:#e7efe9; color:var(--text)}
.skip{position:absolute; left:-9999px}
.skip:focus{left:var(--space-4); top:var(--space-4); background:var(--surface); padding:var(--space-2) var(--space-4); z-index:20}
.wrap{max-width:var(--wrap); margin-inline:auto; padding-inline:20px}
.section{padding-block:var(--space-8)}
.section + .section{border-top:1px solid var(--line)}
.eyebrow{
  font-family:var(--font-mono); font-size:var(--fs-xs); letter-spacing:.08em;
  text-transform:uppercase; color:var(--primary); margin:0 0 var(--space-2);
}
.lede{font-size:var(--fs-lg); color:var(--muted); max-width:60ch}
.muted{color:var(--muted)}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:var(--space-2);
  height:46px; padding:0 22px; border-radius:var(--radius);
  font-family:var(--font-head); font-weight:600; font-size:var(--fs-base);
  border:1px solid transparent; cursor:pointer;
  transition:background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.btn:hover{text-decoration:none; transform:translateY(-1px)}
.btn-primary{background:var(--primary); color:#fff}
.btn-primary:hover{background:var(--primary-dark)}
.btn-ghost{background:transparent; color:var(--text); border-color:var(--line)}
.btn-ghost:hover{border-color:var(--text)}
.btn-sm{height:38px; padding:0 16px; font-size:var(--fs-sm)}

/* header */
.site-head{border-bottom:1px solid var(--line); background:var(--bg); position:sticky; top:0; z-index:10}
.head-inner{display:flex; align-items:center; gap:var(--space-6); height:66px}
.brand{display:flex; align-items:center; gap:var(--space-2); color:var(--text); font-family:var(--font-head); font-weight:600; min-width:0}
.brand:hover{text-decoration:none}
.brand-name{white-space:nowrap}
.site-nav{display:flex; gap:var(--space-5); margin-left:auto}
.site-nav a{color:var(--muted); font-size:var(--fs-sm)}
.site-nav a:hover{color:var(--text); text-decoration:none}
.head-cta{flex:none}

/* footer */
.site-foot{border-top:1px solid var(--line); margin-top:var(--space-8); padding-top:var(--space-7); background:var(--bg)}
.foot-inner{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:var(--space-6); padding-bottom:var(--space-6)}
.foot-col{display:flex; flex-direction:column; gap:var(--space-2)}
.foot-col a{color:var(--muted); font-size:var(--fs-sm)}
.foot-col a:hover{color:var(--text); text-decoration:none}
.foot-title{font-family:var(--font-head); font-weight:600; margin:0}
.foot-note{color:var(--muted); font-size:var(--fs-sm); max-width:34ch; margin:0}
.foot-label{font-family:var(--font-mono); font-size:var(--fs-xs); letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin:0 0 var(--space-1)}
.foot-base{border-top:1px solid var(--line); padding-block:var(--space-4)}
.foot-base p{margin:0; font-size:var(--fs-xs); color:var(--muted)}

@media (prefers-reduced-motion:reduce){*{transition:none !important; animation:none !important}}


/* hero */
.hero{padding-block:var(--space-7) var(--space-8)}
.hero-grid{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:var(--space-7); align-items:start}
.hero h1{font-size:56px}
.hero .lede{margin-bottom:var(--space-5)}
.hero-actions{display:flex; flex-wrap:wrap; gap:var(--space-3); align-items:center}
.hero-privacy{
  display:flex; align-items:flex-start; gap:var(--space-2);
  margin-top:var(--space-4); padding:var(--space-4) 0 0;
  border:0; border-top:1px solid var(--line); border-radius:0; background:none;
  font-size:var(--fs-sm); color:var(--muted); max-width:46ch;
}
.hero-privacy b{font-weight:600}
.hero-privacy .dot{flex:none; width:8px; height:8px; border-radius:50%; background:var(--primary); margin-top:8px}
.hero-stats{display:flex; gap:var(--space-6); margin-top:var(--space-6); padding-top:var(--space-5); border-top:1px solid var(--line); flex-wrap:wrap}
.stat{display:flex; flex-direction:column; gap:2px}
.stat-num{font-family:var(--font-body); font-size:var(--fs-lg); font-variant-numeric:tabular-nums; font-weight:600; letter-spacing:-.01em}
.stat-label{font-size:var(--fs-xs); color:var(--muted)}

/* inspection card = the one memorable element */
.panel{
  background:var(--surface); border:1px solid transparent; border-radius:var(--radius);
  box-shadow:0 1px 2px rgb(25 23 19 / .05);
  overflow:hidden;
}
.panel-head{
  display:flex; align-items:center; justify-content:flex-start; gap:var(--space-3);
  padding:var(--space-3) var(--space-4); border-bottom:1px solid var(--line); background:#fbfaf7;
}
.panel-title{font-family:var(--font-mono); font-size:var(--fs-xs); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:0}
.panel-tag{font-family:var(--font-mono); font-size:12px; color:#14532d; background:#eaf3ec; padding:2px 7px; border-radius:3px}
.panel-body{padding:var(--space-4)}
.dropzone{
  border:1px dashed rgb(25 23 19 / .22); border-radius:var(--radius); background:#fbfaf7;
  padding:var(--space-5) var(--space-4); text-align:center; color:var(--muted); font-size:var(--fs-sm);
}
.dropzone strong{display:block; color:var(--text); font-family:var(--font-head); font-size:var(--fs-base); margin-bottom:2px}
.result-list{list-style:none; margin:var(--space-4) 0 0; padding:0; font-family:var(--font-mono); font-size:var(--fs-xs)}
.result-list li{display:flex; align-items:center; justify-content:space-between; gap:var(--space-3); padding:var(--space-2) 0; border-bottom:1px solid var(--line)}
.result-list li:last-child{border-bottom:0}
.mark{flex:none; width:10px; height:10px; border-radius:2px; background:var(--accent)}
.mark.ok{background:#c9d6ce}
.result-list .name{min-width:0; flex:1 1 auto; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.result-list .tag{flex:0 0 auto; color:var(--accent); letter-spacing:.04em}
.result-list .tag.ok{color:var(--muted)}

/* numbered feature list */
.steps{list-style:none; counter-reset:step; margin:0; padding:0; display:grid; gap:var(--space-5); max-width:820px}
.steps li{counter-increment:step; display:grid; grid-template-columns:64px 1fr; gap:var(--space-4); align-items:start}
.steps li::before{
  content:counter(step,decimal-leading-zero);
  font-family:var(--font-head); font-size:26px; font-weight:600; color:#c9c1b4; line-height:1.1;
}
.steps h3{margin:0 0 var(--space-1)}
.steps p{margin:0; color:var(--muted)}

/* uneven two column */
.split{display:grid; grid-template-columns:280px minmax(0,1fr); gap:var(--space-7)}
.split-side{position:sticky; top:90px}
.split-side h2{margin-bottom:var(--space-2)}
.split-main p{max-width:62ch}

/* 2x2 grid */
.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:var(--space-5)}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:var(--space-5)}
.tile{border:1px solid var(--line); border-radius:var(--radius); padding:var(--space-5); background:var(--surface)}
.tile h3{margin-bottom:var(--space-2)}
.tile p{margin:0; color:var(--muted); font-size:var(--fs-sm)}

/* checklist */
.checklist{list-style:none; margin:0; padding:0; display:grid; gap:var(--space-2)}
.checklist li{display:flex; gap:var(--space-2); align-items:flex-start; font-size:var(--fs-sm); color:var(--muted)}
.checklist li::before{content:"✓"; color:var(--primary); font-weight:600; flex:none}


/* article / prose */
.page-head{padding-block:var(--space-7) var(--space-5); border-bottom:1px solid var(--line)}
.page-head h1{font-size:clamp(34px,4.6vw,48px); max-width:22ch}
.page-head .lede{max-width:66ch}
.prose{max-width:none}
.prose > *{max-width:70ch}
.prose h2{margin-top:var(--space-6); margin-bottom:var(--space-3)}
.prose ul{margin:var(--space-4) 0 var(--space-5); padding-left:var(--space-5)}
.prose ul li{margin-bottom:var(--space-3); line-height:1.65}
.prose ol li{margin-bottom:var(--space-4); line-height:1.65}
.hero + .wrap.section .prose > p:first-child{border-top:1px solid var(--line); padding-top:var(--space-7); margin-top:var(--space-7)}
.prose h3{margin-top:var(--space-6)}
.prose p{line-height:1.72}
.prose p,.prose li,.prose td{overflow-wrap:break-word}
.prose ul,.prose ol{max-width:70ch; padding-left:22px; margin:0 0 var(--space-4)}
.prose li{margin-bottom:var(--space-2)}
.prose li::marker{color:var(--muted)}
.prose hr{border:0; border-top:1px solid var(--line); margin:var(--space-7) 0}
.prose blockquote{
  margin:var(--space-5) 0; padding:var(--space-3) var(--space-5);
  border-left:2px solid var(--primary); color:var(--muted); max-width:62ch;
}
.prose table{width:100%; border-collapse:collapse; margin:var(--space-5) 0; font-size:var(--fs-sm); max-width:820px}
.prose th,.prose td{text-align:left; padding:var(--space-3) var(--space-3); border-bottom:1px solid var(--line); vertical-align:top}
.prose th{font-family:var(--font-mono); font-size:var(--fs-xs); letter-spacing:.06em; text-transform:uppercase; color:var(--muted); font-weight:500}
.prose td.num{font-family:var(--font-mono); font-variant-numeric:tabular-nums}

/* faq */
.faq{margin-top:var(--space-7)}
.faq h2{margin-bottom:var(--space-4)}
.faq details{border-top:1px solid var(--line); padding:var(--space-4) 0}
.faq details:last-of-type{border-bottom:1px solid var(--line)}
.faq summary{font-family:var(--font-head); font-weight:600; font-size:var(--fs-base); cursor:pointer; list-style:none; display:flex; gap:var(--space-3); align-items:baseline}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"+"; font-family:var(--font-mono); color:var(--muted); flex:none}
.faq details[open] summary::before{content:"−"}
.faq details p{margin:var(--space-3) 0 0; color:var(--muted); max-width:68ch}

/* cta band */
.cta-band{border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); padding:var(--space-6); display:grid; grid-template-columns:minmax(0,1fr) auto; gap:var(--space-5); align-items:center; margin-top:var(--space-7)}
.cta-band h2{margin:0 0 var(--space-2)}
.cta-band p{margin:0; color:var(--muted); font-size:var(--fs-sm); max-width:52ch}
.link-row{display:flex; flex-wrap:wrap; gap:var(--space-3) var(--space-5); margin-top:var(--space-5); font-size:var(--fs-sm)}

/* mobile menu */
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:4px;
  width:44px; height:44px; padding:0 12px; flex:none; align-self:center; cursor:pointer;
  background:transparent; border:0; border-radius:var(--radius);
  transition:opacity 160ms ease;
}
.nav-toggle:hover{opacity:.6}
.nav-bar{display:block; height:1.5px; width:100%; background:var(--text); border-radius:1px; transition:transform 160ms ease, opacity 160ms ease}
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}
.site-drawer{
  position:absolute; left:0; right:0; top:100%; z-index:12;
  display:flex; flex-direction:column;
  padding:var(--space-3) 20px var(--space-4);
  background:var(--surface); border-bottom:1px solid var(--line);
  box-shadow:0 18px 30px -24px rgb(25 23 19 / .5);
  max-height:calc(100vh - 66px); overflow:auto;
}
.site-drawer[hidden]{display:none}
.site-drawer a{
  color:var(--text); font-family:var(--font-head); font-weight:500; font-size:var(--fs-base);
  padding:var(--space-3) 0; border-bottom:1px solid var(--line);
}
.site-drawer a:last-child{border-bottom:0}
.site-drawer a:hover{text-decoration:none; color:var(--primary)}
@media (min-width:1001px){ .site-drawer{display:none !important} }

/* mobile */
@media (max-width:420px){
  .result-list li{flex-wrap:wrap; justify-content:flex-end}
  .result-list .name{flex-basis:100%}
}
@media (max-width:1240px){
  .site-nav{gap:var(--space-4)}
  .site-nav a{font-size:13px}
}
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr; gap:var(--space-6)}
  .hero h1{font-size:42px}
  .split{grid-template-columns:1fr; gap:var(--space-4)}
  .split-side{position:static}
  .grid-3{grid-template-columns:1fr}
  .site-nav{display:none}
  .nav-toggle{display:inline-flex}
  .foot-inner{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  :root{--fs-h1:34px; --fs-h2:26px; --fs-h3:21px}
  .section{padding-block:var(--space-7)}
  .head-inner{height:60px; gap:var(--space-3)}
  .head-cta{margin-left:auto; background:transparent; color:var(--primary); border:1px solid var(--line)}
  .brand-name{display:none}
  .nav-toggle{width:40px; height:40px; padding:0 11px}
  .hero-actions{flex-direction:column; align-items:stretch; gap:var(--space-3)}
  .hero-actions .btn-primary{width:100%}
  .hero-actions .btn-ghost{width:auto; align-self:stretch; display:inline-flex; max-width:100%; height:46px; padding:0 22px; border:1px solid var(--line); border-radius:var(--radius); background:transparent; color:var(--text); font-weight:600; text-decoration:none}
  .hero-stats{display:none}
  .hero .lede{font-size:17px; line-height:1.5}
  .hero h1{font-size:clamp(32px,8vw,40px)}
  .hero-actions .btn-ghost:hover{transform:none; color:var(--primary-dark)}
  .hero-stats{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-4); margin-top:var(--space-5)}
  .hero-stats .stat:last-child{display:none}
  .hero-privacy{font-size:13px}
  .panel-tag{white-space:nowrap}
  .site-drawer{max-height:calc(100vh - 60px)}
  .hero h1{font-size:clamp(26px,6.8vw,32px); line-height:1.1}
  .hero .lede{font-size:17px; margin-bottom:var(--space-4)}
  .hero{padding-block:var(--space-4) var(--space-5)}
  .hero-grid{gap:var(--space-5)}
  .hero-stats{gap:var(--space-5)}
  .grid-2{grid-template-columns:1fr}
  .foot-inner{grid-template-columns:1fr}
  .cta-band{grid-template-columns:1fr}
  .steps li{grid-template-columns:44px 1fr}
  .prose table{font-size:var(--fs-xs)}
}


/* showcase screenshots (real app runs) */
.shot {
  margin: 28px 0 34px;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius, 12px);
  border: 1px solid var(--line, rgb(0 0 0 / .12));
  background: var(--surface, #fff);
}
.shot figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted, #5a6472);
  max-width: 68ch;
}
@media (max-width: 640px) {
  .shot {
    margin: 22px 0 26px;
  }
  .shot figcaption {
    font-size: 13px;
  }
}


/* shot refinements after design review */
.shot img {
  border-radius: 8px;
  border: 1px solid #e2e0d8;
}
.shot .shot-open {
  display: block;
  cursor: zoom-in;
}
.shot .shot-open:focus-visible {
  outline: 2px solid var(--primary, #1b4532);
  outline-offset: 3px;
}
.shot figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: #8a8a85;
  margin-top: 10px;
}
.shot .shot-full {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--primary, #1b4532);
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* caption contrast per design review */
.shot figcaption {
  color: #666;
  line-height: 1.6;
}
.shot .shot-full {
  color: #2f5d50;
  text-decoration: underline;
}
