:root{
  --ink:        #12151A;
  --ink-soft:   #5B6169;
  --bg:         #FAFAF8;
  --bg-alt:     #F1F2EC;
  --surface:    #FFFFFF;
  --line:       #E5E6DF;
  --dark:       #14171A;

  --green:      #16A34A;
  --green-deep: #0E7A38;
  --green-tint: #E4F5E9;
  --red:        #DC2626;
  --red-tint:   #FCEAEA;
  --amber:      #B45309;
  --amber-tint: #FDF0DC;
  --blue:       #2563EB;
  --blue-tint:  #E9F0FE;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ background:var(--bg); color:var(--ink); font-family:'Inter', -apple-system, sans-serif; line-height:1.6; -webkit-font-smoothing:antialiased; }
.display{ font-family:'Bricolage Grotesque', 'Inter', sans-serif; }
.mono{ font-family:'JetBrains Mono', monospace; }
a{ color:inherit; }
.wrap{ max-width:1120px; margin:0 auto; padding:0 32px; }
section{ padding:88px 0; }
ul{ list-style:none; }
img{ max-width:100%; display:block; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:0.001ms !important; animation-iteration-count:1 !important;
    transition-duration:0.001ms !important; scroll-behavior:auto !important;
  }
}

.skip{ position:absolute; left:-999px; top:8px; background:var(--ink); color:#fff; padding:10px 16px; border-radius:8px; z-index:100; }
.skip:focus{ left:8px; }

/* ---------- header ---------- */
header{ position:sticky; top:0; z-index:50; background:rgba(250,250,248,0.88); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 32px; gap:24px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:'Bricolage Grotesque', sans-serif; font-weight:700; font-size:18px; color:var(--ink); text-decoration:none; flex-shrink:0; }
.brand .mark{ width:24px; height:24px; border-radius:7px; background:var(--green); flex-shrink:0; }

.nav-toggle{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.menu-btn{
  display:none; font:inherit; font-size:14px; font-weight:600; color:var(--ink);
  background:var(--bg-alt); border:1px solid var(--line); border-radius:8px; padding:8px 12px; cursor:pointer;
}

.navlinks{ display:flex; align-items:center; gap:4px; font-size:14.5px; }
.nav-item{ position:relative; }
.nav-link{ display:inline-flex; align-items:center; gap:5px; padding:10px 12px; text-decoration:none; color:var(--ink-soft); border-radius:8px; transition:color .15s, background .15s; border:none; background:none; font:inherit; cursor:pointer; }
.nav-link:hover, .nav-item:focus-within .nav-link, .nav-link[aria-current="page"]{ color:var(--ink); background:var(--bg-alt); }
.nav-link .caret{ width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-1px); opacity:.6; transition:transform .15s; }
.nav-item:hover .nav-link .caret, .nav-item:focus-within .nav-link .caret{ transform:rotate(225deg) translateY(1px); }

/* mega menu */
.mega{
  position:absolute; top:100%; left:50%; transform:translateX(-50%);
  width:600px; max-width:88vw; padding-top:12px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .15s ease, visibility .15s; z-index:60;
}
.nav-item:hover .mega, .nav-item:focus-within .mega{ opacity:1; visibility:visible; pointer-events:auto; }
.mega-panel{
  background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:0 26px 60px rgba(18,21,26,0.16);
  overflow:hidden; transform:translateY(6px); transition:transform .15s ease;
}
.nav-item:hover .mega-panel, .nav-item:focus-within .mega-panel{ transform:translateY(0); }
.mega-body{ display:grid; grid-template-columns:1.35fr 1fr; }
.mega-col{ padding:20px; }
.mega-col.alt{ border-left:1px solid var(--line); background:var(--bg-alt); }
.mega-title{ font-family:'JetBrains Mono', monospace; font-size:10.5px; font-weight:500; text-transform:uppercase; letter-spacing:0.06em; color:var(--ink-soft); margin-bottom:12px; padding:0 6px; }

.mega-item{ display:flex; gap:12px; padding:10px 8px; border-radius:10px; text-decoration:none; color:var(--ink); align-items:flex-start; }
.mega-item:hover{ background:var(--bg-alt); }
.mega-item .mi-icon{ width:32px; height:32px; border-radius:9px; background:var(--green-tint); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.mega-item .mi-icon .glyph{ width:13px; height:13px; border-radius:4px; }
.mega-item .mi-head{ display:flex; align-items:center; gap:6px; font-weight:600; font-size:14px; }
.mega-item .mi-head .go{ opacity:0; transform:translateX(-3px); transition:opacity .15s, transform .15s; font-size:12px; }
.mega-item:hover .mi-head .go{ opacity:1; transform:translateX(0); }
.mega-item p{ font-size:12px; color:var(--ink-soft); margin-top:2px; }

.mega-side-link{ display:block; padding:11px 10px; border-radius:9px; text-decoration:none; color:var(--ink); font-size:13.5px; font-weight:600; }
.mega-side-link:hover{ background:var(--surface); }
.mega-side-link .sub{ display:block; font-size:12px; color:var(--ink-soft); font-weight:400; margin-top:2px; }

.mega-card-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; padding:18px; }
.mega-card{ border:1px solid var(--line); border-radius:12px; padding:13px; text-decoration:none; color:var(--ink); transition:border-color .15s; }
.mega-card:hover{ border-color:var(--green); }
.mega-card .mc-icon{ width:26px; height:26px; border-radius:7px; background:var(--green-tint); margin-bottom:9px; }
.mega-card h5{ font-size:13px; font-weight:700; margin-bottom:4px; }
.mega-card p{ font-size:11.5px; color:var(--ink-soft); line-height:1.4; }

.mega-foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 20px; border-top:1px solid var(--line); background:var(--bg-alt); }
.mega-foot a{ font-size:13px; font-weight:600; text-decoration:none; }
.mega-foot a.primary{ background:var(--ink); color:#fff; padding:9px 16px; border-radius:8px; }
.mega-foot a.primary:hover{ background:#000; }
.mega-foot a.secondary{ color:var(--ink-soft); }
.mega-foot a.secondary:hover{ color:var(--ink); }
.mega-note{ font-size:12.5px; color:var(--ink-soft); }

.navcta{ font-size:14px; font-weight:600; padding:10px 20px; border-radius:999px; background:var(--ink); color:#fff; text-decoration:none; white-space:nowrap; transition:background .15s; flex-shrink:0; }
.navcta:hover{ background:#000; }

@media (max-width:920px){
  .menu-btn{ display:inline-flex; margin-left:auto; }
  .navcta{ padding:8px 14px; font-size:13px; }
  .navlinks{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:var(--surface); border-bottom:1px solid var(--line);
    flex-direction:column; align-items:stretch; padding:12px 20px 20px; gap:4px;
  }
  .nav-toggle:checked ~ .navlinks{ display:flex; }
  .nav-item .mega{ display:none; }
  .nav-link .caret{ display:none; }
}

/* ---------- buttons ---------- */
.btn{ font-family:'Inter', sans-serif; font-weight:600; font-size:15px; padding:14px 26px; border-radius:999px; text-decoration:none; display:inline-block; border:1.5px solid transparent; transition:background .15s, color .15s, border-color .15s, transform .15s; cursor:pointer; }
.btn-primary{ background:var(--ink); color:#fff; }
.btn-primary:hover{ background:#000; transform:translateY(-1px); }
.btn:disabled, .btn-primary:disabled:hover{ opacity:0.6; cursor:wait; transform:none; background:var(--ink); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--ink); }
.btn:focus-visible{ outline:2px solid var(--green); outline-offset:2px; }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; }

/* ================= HERO ================= */
.hero{ position:relative; overflow:hidden; padding:64px 0 88px; }
.hero-glow{ position:absolute; top:-180px; left:50%; transform:translateX(-50%); width:900px; height:520px; border-radius:50%; background:radial-gradient(closest-side, rgba(22,163,74,0.16), rgba(22,163,74,0)); pointer-events:none; z-index:0; }
.hero-dots{ position:absolute; inset:0; z-index:0; opacity:0.5; background-image:radial-gradient(var(--line) 1px, transparent 1px); background-size:26px 26px; -webkit-mask-image:linear-gradient(to bottom, black, transparent 78%); mask-image:linear-gradient(to bottom, black, transparent 78%); }
.hero-inner{ position:relative; z-index:1; max-width:760px; margin:0 auto; text-align:center; }

.badge-row{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:26px; }
.rating-badge{ display:flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; color:var(--ink-soft); background:var(--surface); border:1px solid var(--line); padding:6px 12px; border-radius:999px; }
.rating-badge .sw{ width:6px; height:6px; border-radius:50%; background:var(--green); }

.eyebrow{ font-family:'JetBrains Mono', monospace; font-size:12.5px; font-weight:500; letter-spacing:0.08em; color:var(--green-deep); text-transform:uppercase; margin-bottom:22px; display:inline-flex; align-items:center; gap:8px; background:var(--green-tint); padding:7px 14px; border-radius:999px; }
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--green); }

h1{ font-family:'Bricolage Grotesque', sans-serif; font-weight:700; font-size:clamp(34px, 5.6vw, 64px); line-height:1.06; letter-spacing:-0.02em; color:var(--ink); margin-bottom:22px; text-wrap:balance; }
h1 .accent{ color:var(--green); }
/* Headline needs more room than the body copy or it wraps to an orphan word. */
.hero h1{ max-width:860px; margin-left:auto; margin-right:auto; }

.lede{ font-size:18px; color:var(--ink-soft); max-width:58ch; margin:0 auto 34px; }
.hero .cta-row{ justify-content:center; }

.icon-strip{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:48px; }
.icon-chip{ display:flex; flex-direction:column; align-items:center; gap:10px; text-decoration:none; color:var(--ink-soft); font-size:12.5px; font-weight:500; width:92px; }
.icon-box{ width:48px; height:48px; border-radius:14px; background:var(--surface); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; transition:border-color .15s, transform .15s, box-shadow .15s; }
.icon-box .glyph{ width:16px; height:16px; border-radius:5px; }
.icon-chip:hover .icon-box{ border-color:var(--green); transform:translateY(-3px); box-shadow:0 10px 20px rgba(22,163,74,0.14); }

/* inner page hero */
.page-hero{ position:relative; overflow:hidden; padding:72px 0 40px; }
.page-hero h1{ font-size:clamp(32px, 4.6vw, 52px); }
.page-hero .lede{ margin-bottom:0; }
.page-hero .cta-row{ margin-top:28px; }

/* ================= DEMO ================= */
.demo-section{ background:var(--dark); color:#fff; padding:96px 0; position:relative; overflow:hidden; }
.demo-section::before{ content:""; position:absolute; inset:0; z-index:0; opacity:0.5; background-image:radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size:24px 24px; -webkit-mask-image:radial-gradient(ellipse at center, black 40%, transparent 78%); mask-image:radial-gradient(ellipse at center, black 40%, transparent 78%); }
.demo-head{ position:relative; z-index:1; max-width:560px; margin:0 auto 48px; text-align:center; }
.demo-head .eyebrow{ background:rgba(255,255,255,0.08); color:#8FE0AC; }
.demo-head .eyebrow .dot{ background:#8FE0AC; }
.demo-head h2{ color:#fff; }
.demo-head p{ color:#A3AAB2; margin-top:12px; font-size:15.5px; }

.demo-wrap{ position:relative; z-index:1; max-width:600px; margin:0 auto; }
.manifest{ background:var(--surface); border-radius:18px; overflow:hidden; box-shadow:0 30px 70px rgba(0,0,0,0.45), 0 2px 0 rgba(255,255,255,0.04) inset; color:var(--ink); }
.demo-input{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.manifest-head{ display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; padding:16px 18px; border-bottom:1px solid var(--line); }
.switch-label{ font-family:'JetBrains Mono', monospace; font-size:11px; font-weight:600; letter-spacing:0.05em; text-transform:uppercase; cursor:pointer; color:var(--ink-soft); transition:color .2s, opacity .2s; opacity:.55; }
.switch-label-old{ color:var(--red); opacity:1; }
.switch-track{ display:inline-flex; align-items:center; width:42px; height:24px; background:var(--line); border-radius:999px; position:relative; cursor:pointer; flex-shrink:0; transition:background .25s ease; }
.thumb{ position:absolute; top:2px; left:2px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,0.3); transition:transform .25s ease; }
.demo-input:checked ~ .manifest-head .switch-label-old{ color:var(--ink-soft); opacity:.5; }
.demo-input:checked ~ .manifest-head .switch-label-new{ color:var(--green-deep); opacity:1; }
.demo-input:checked ~ .manifest-head .switch-track{ background:var(--green); }
.demo-input:checked ~ .manifest-head .thumb{ transform:translateX(18px); }
.demo-input:focus-visible ~ .manifest-head .switch-track{ outline:2px solid var(--green); outline-offset:2px; }
.demo-stage{ display:grid; min-height:330px; }
.panel{ grid-area:1/1; padding:24px 24px 26px; opacity:1; visibility:visible; transition:opacity .3s ease; }
.panel-new{ opacity:0; visibility:hidden; }
.demo-input:checked ~ .demo-stage .panel-old{ opacity:0; visibility:hidden; }
.demo-input:checked ~ .demo-stage .panel-new{ opacity:1; visibility:visible; }
.oldstack{ position:relative; height:178px; margin-bottom:20px; }
.slip{ position:absolute; width:78%; background:var(--bg); border:1px solid var(--line); border-radius:12px; box-shadow:0 6px 16px rgba(20,21,26,0.08); padding:13px 15px; opacity:0; animation:slipIn .45s ease forwards; }
.slip .slip-label{ font-family:'JetBrains Mono', monospace; font-size:10px; letter-spacing:0.03em; color:var(--ink-soft); margin-bottom:9px; }
.slip .bar{ height:6px; background:var(--line); margin-bottom:6px; border-radius:3px; }
.slip1{ top:0; left:0; --r:-4deg; z-index:1; animation-delay:.05s; }
.slip2{ top:24px; left:13%; --r:3deg; z-index:2; animation-delay:.16s; }
.slip3{ top:48px; left:2%; --r:-2deg; z-index:3; animation-delay:.27s; }
@keyframes slipIn{ from{ opacity:0; transform:translateY(10px) rotate(var(--r)); } to{ opacity:1; transform:translateY(0) rotate(var(--r)); } }
.badge-count{ position:absolute; top:-10px; right:8px; z-index:4; font-family:'JetBrains Mono', monospace; font-size:10px; font-weight:600; background:var(--red-tint); border-radius:999px; color:var(--red); padding:5px 10px; transform:rotate(5deg); opacity:0; animation:slipIn .4s ease forwards; animation-delay:.4s; --r:5deg; }
.old-status{ display:flex; align-items:center; gap:9px; font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--ink-soft); }
.pulse-dot{ width:8px; height:8px; border-radius:50%; background:var(--red); flex-shrink:0; }
.manifest-search{ display:flex; align-items:center; gap:10px; margin-bottom:16px; border-radius:10px; padding:12px 14px; background:var(--bg-alt); }
.manifest-search input{ border:none; background:transparent; outline:none; width:100%; font-family:'JetBrains Mono', monospace; font-size:13.5px; color:var(--ink); }
.manifest-search .caret{ color:var(--green); font-size:14px; }
.trace-row{ display:grid; grid-template-columns:18px 1fr auto; gap:12px; align-items:flex-start; padding:9px 0; border-bottom:1px solid var(--line); }
.trace-row:last-child{ border-bottom:none; }
/* Only the interactive demo panel reveals its rows; static copies elsewhere on
   the site are plain tables. */
.panel-new .trace-row{ opacity:0; transform:translateY(6px); animation:reveal .5s ease forwards; }
.trace-row .dot{ width:8px; height:8px; border-radius:50%; margin-top:6px; }
.trace-row .step{ font-family:'JetBrains Mono', monospace; font-size:10.5px; letter-spacing:0.03em; color:var(--ink-soft); margin-bottom:2px; }
.trace-row .detail{ font-size:13.5px; color:var(--ink); }
.stamp{ font-family:'JetBrains Mono', monospace; font-size:10.5px; font-weight:600; padding:3px 9px; border-radius:999px; white-space:nowrap; height:fit-content; }
.stamp.cleared{ background:var(--green-tint); color:var(--green-deep); }
.stamp.held{ background:var(--amber-tint); color:var(--amber); }
.stamp.transit{ background:var(--blue-tint); color:var(--blue); }
.stamp.sold{ background:var(--bg-alt); color:var(--ink-soft); }
@keyframes reveal{ to{ opacity:1; transform:translateY(0); } }
.panel-new .trace-row:nth-child(2){ animation-delay:.1s; }
.panel-new .trace-row:nth-child(3){ animation-delay:.22s; }
.panel-new .trace-row:nth-child(4){ animation-delay:.34s; }
.panel-new .trace-row:nth-child(5){ animation-delay:.46s; }
.new-status{ display:flex; align-items:center; gap:9px; font-family:'JetBrains Mono', monospace; font-size:12.5px; color:var(--green-deep); margin-top:14px; }
.steady-dot{ width:8px; height:8px; border-radius:50%; background:var(--green); flex-shrink:0; }
@media (max-width:600px){ .demo-stage{ min-height:420px; } .oldstack{ height:154px; } .slip{ width:88%; } }

/* ================= SHARED SECTION TYPE ================= */
.section-num{ font-family:'JetBrains Mono', monospace; font-size:12px; font-weight:500; color:var(--green-deep); letter-spacing:0.06em; margin-bottom:10px; text-transform:uppercase; text-align:center; }
h2{ font-family:'Bricolage Grotesque', sans-serif; font-weight:700; font-size:clamp(26px,3.2vw,36px); letter-spacing:-0.015em; text-wrap:balance; }
h3{ font-family:'Bricolage Grotesque', sans-serif; font-weight:700; letter-spacing:-0.01em; }
.section-head{ max-width:600px; margin:0 auto 52px; text-align:center; }
.section-desc{ color:var(--ink-soft); font-size:15.5px; margin-top:12px; }
.alt-bg{ background:var(--bg-alt); }

/* ================= STATS ================= */
.stats-section{ padding-top:80px; padding-bottom:80px; }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.stat-card{ background:var(--surface); padding:32px 26px; }
.stat-num{ font-family:'Bricolage Grotesque', sans-serif; font-weight:800; font-size:clamp(28px,3vw,36px); color:var(--green-deep); letter-spacing:-0.02em; margin-bottom:10px; }
.stat-label{ font-size:13.5px; color:var(--ink-soft); line-height:1.5; }
@media (max-width:760px){ .stats-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:460px){ .stats-grid{ grid-template-columns:1fr; } }

.mini-card{ background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px; box-shadow:0 16px 36px rgba(18,21,26,0.06); }
.mini-card .mini-title{ font-family:'JetBrains Mono', monospace; font-size:11px; color:var(--ink-soft); margin-bottom:14px; text-transform:uppercase; letter-spacing:0.04em; }

.wh-row{ display:flex; align-items:center; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); }
.wh-row:last-child{ border-bottom:none; }
.wh-name{ font-family:'JetBrains Mono', monospace; font-size:12.5px; width:7.5em; flex-shrink:0; }
.wh-bar-track{ flex:1; height:8px; background:var(--bg-alt); border-radius:999px; overflow:hidden; }
.wh-bar-fill{ height:100%; background:var(--green); border-radius:999px; }
.wh-qty{ font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--ink-soft); width:64px; text-align:right; flex-shrink:0; }

.stamp-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.stamp-cell{ background:var(--bg-alt); border-radius:12px; padding:14px; }
.stamp-cell .stamp{ margin-bottom:8px; display:inline-block; }
.stamp-cell p{ font-size:12px; color:var(--ink-soft); margin:0; }

.fifo-table{ width:100%; border-collapse:collapse; font-size:12.5px; }
.fifo-table th{ text-align:left; font-family:'JetBrains Mono', monospace; font-weight:500; font-size:10.5px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:0.03em; padding:0 0 10px; border-bottom:1px solid var(--line); }
.fifo-table td{ padding:9px 0; border-bottom:1px solid var(--line); font-family:'JetBrains Mono', monospace; }
.fifo-table tr:last-child td{ border-bottom:none; font-weight:600; color:var(--green-deep); }
.fifo-table td:not(:first-child), .fifo-table th:not(:first-child){ text-align:right; }

/* ================= FEATURES ================= */
.feature-row{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
  padding:56px 0; border-top:1px solid var(--line);
}
.features-section .feature-row:first-of-type{ border-top:none; padding-top:0; }
.tag{ font-family:'JetBrains Mono', monospace; font-size:11.5px; font-weight:500; letter-spacing:0.06em; text-transform:uppercase; color:var(--green-deep); margin-bottom:10px; }
.feature-text h3{ font-size:24px; margin-bottom:12px; line-height:1.25; }
.feature-text p{ color:var(--ink-soft); font-size:15.5px; margin-bottom:16px; }
.feature-bullets{ margin:0 0 22px; }
.feature-bullets li{ position:relative; padding:6px 0 6px 18px; color:var(--ink); font-size:14.5px; }
.feature-bullets li::before{ content:""; position:absolute; left:0; top:13px; width:7px; height:7px; border-radius:50%; background:var(--green); }
@media (max-width:800px){
  .feature-row{ grid-template-columns:1fr; gap:26px; padding:40px 0; }
  .feature-row .feature-visual{ order:-1; }
}

/* ================= PERSONAS / CARDS ================= */
.personas-section{ background:var(--bg-alt); }
.persona-grid, .card-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.persona-card, .plain-card{
  background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:28px;
}
.persona-icon, .card-icon{ width:40px; height:40px; border-radius:11px; background:var(--green-tint); margin-bottom:18px; display:flex; align-items:center; justify-content:center; }
.persona-icon .dotshape, .card-icon .dotshape{ width:12px; height:12px; border-radius:4px; background:var(--green-deep); }
.persona-card h3, .plain-card h3{ font-size:17.5px; margin-bottom:8px; }
.persona-card p, .plain-card p{ color:var(--ink-soft); font-size:14.5px; }
.plain-card a{ display:inline-block; margin-top:16px; font-size:14px; font-weight:600; text-decoration:none; color:var(--green-deep); }
.plain-card a:hover{ text-decoration:underline; }
@media (max-width:760px){ .persona-grid, .card-grid-3{ grid-template-columns:1fr; } }

/* overview */
.overview-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.overview-copy h2{ margin-bottom:16px; }
.overview-copy p{ color:var(--ink-soft); font-size:16px; margin-bottom:22px; }
.benefit-list li{ position:relative; padding:9px 0 9px 22px; font-size:15px; }
.benefit-list li::before{ content:""; position:absolute; left:0; top:16px; width:8px; height:8px; border-radius:50%; background:var(--green); }
@media (max-width:800px){ .overview-grid{ grid-template-columns:1fr; gap:32px; } }

/* marketing copy blocks */
.copy-block{ max-width:680px; }
.copy-block h2{ margin-bottom:16px; }
.copy-block > p{ color:var(--ink-soft); font-size:16px; margin-bottom:22px; }
.copy-block .cta-row{ margin-top:8px; }

.copy-stack .copy-row{
  max-width:680px; padding:56px 0; border-top:1px solid var(--line);
}
.copy-stack .copy-row:first-child{ border-top:none; padding-top:0; }
.copy-stack .copy-row:last-child{ padding-bottom:0; }
.copy-stack .copy-row h2{ margin-bottom:16px; }
.copy-stack .copy-row p{ color:var(--ink-soft); font-size:16px; }

.check-wrap{ max-width:720px; margin:0 auto; }
.check-panel{
  background:var(--surface); border:1px solid var(--line); border-radius:16px;
  padding:8px 28px; box-shadow:0 16px 36px rgba(18,21,26,0.06);
}
.check-list li{
  position:relative; padding:18px 0 18px 40px; font-size:15.5px;
  border-bottom:1px solid var(--line); color:var(--ink);
}
.check-list li:last-child{ border-bottom:none; }
.check-list li::before{
  content:""; position:absolute; left:0; top:18px; width:22px; height:22px;
  border-radius:6px; background:var(--green-tint); border:1px solid var(--green);
}
.check-list li::after{
  content:""; position:absolute; left:8px; top:22px; width:6px; height:11px;
  border-right:2px solid var(--green-deep); border-bottom:2px solid var(--green-deep);
  transform:rotate(45deg);
}
.check-wrap .cta-row{ margin-top:28px; justify-content:center; }
@media (max-width:600px){
  .check-panel{ padding:4px 18px; }
  .copy-stack .copy-row{ padding:40px 0; }
}

/* industries */
.industry-index-section{ padding-top:32px; padding-bottom:72px; }
.industry-index{
  display:grid; max-width:760px;
  gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:16px; overflow:hidden;
}
.industry-row{
  display:grid; grid-template-columns:36px 1fr auto; gap:14px 16px; align-items:center;
  background:var(--surface); padding:18px 22px; text-decoration:none; color:var(--ink);
  transition:background .15s;
}
.industry-row:hover, .industry-row:focus-visible{ background:var(--bg-alt); }
.industry-row:focus-visible{ outline:2px solid var(--green); outline-offset:-2px; }
.ir-icon{
  width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.ir-icon .glyph{ width:12px; height:12px; border-radius:4px; }
.ir-copy h3{ font-size:16.5px; margin-bottom:4px; line-height:1.25; }
.ir-copy p{ color:var(--ink-soft); font-size:14px; line-height:1.5; }
.ir-go{
  color:var(--green-deep); font-size:15px; opacity:.4;
  transition:opacity .15s, transform .15s; align-self:center;
}
.industry-row:hover .ir-go, .industry-row:focus-visible .ir-go{ opacity:1; transform:translateX(2px); }
@media (max-width:560px){
  .industry-row{ grid-template-columns:36px 1fr; padding:16px; }
  .ir-go{ display:none; }
}

.industry-detail{ padding:72px 0; border-top:1px solid var(--line); scroll-margin-top:72px; }
.industry-detail:nth-child(even){ background:var(--bg-alt); }
.industry-split{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.industry-split h2{ margin:8px 0 14px; }
.industry-split p{ color:var(--ink-soft); margin-bottom:16px; }
@media (max-width:800px){ .industry-split{ grid-template-columns:1fr; } }

/* stories */
.story-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.story-card{ background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:28px; display:flex; flex-direction:column; }
.story-card.featured{ grid-column:1 / -1; display:grid; grid-template-columns:1.2fr .8fr; gap:32px; align-items:center; }
.story-kicker{ font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:0.05em; text-transform:uppercase; color:var(--green-deep); margin-bottom:10px; }
.story-card h3{ font-size:22px; margin-bottom:10px; }
.story-card p{ color:var(--ink-soft); font-size:15px; flex:1; }
.story-card p + p{ margin-top:12px; }
.story-metric{ font-family:'Bricolage Grotesque', sans-serif; font-weight:800; font-size:28px; color:var(--green-deep); margin-top:18px; }
.story-metric span{ display:block; font-family:'Inter', sans-serif; font-weight:500; font-size:13px; color:var(--ink-soft); margin-top:4px; }
@media (max-width:800px){
  .story-grid{ grid-template-columns:1fr; }
  .story-card.featured{ grid-template-columns:1fr; }
}

/* resources */
.resource-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.resource-card{
  display:block; background:var(--surface); border:1px solid var(--line); border-radius:16px;
  padding:26px; text-decoration:none; color:var(--ink); transition:border-color .15s;
}
.resource-card:hover{ border-color:var(--green); }
.resource-kind{ font-family:'JetBrains Mono', monospace; font-size:11px; letter-spacing:0.05em; text-transform:uppercase; color:var(--green-deep); margin-bottom:10px; }
.resource-card h3{ font-size:20px; margin-bottom:8px; }
.resource-card p{ color:var(--ink-soft); font-size:14.5px; }
.resource-card .go{ display:inline-block; margin-top:16px; font-size:14px; font-weight:600; color:var(--green-deep); }
@media (max-width:700px){ .resource-grid{ grid-template-columns:1fr; } }

.prose{ max-width:720px; margin:0 auto; }
.prose h2{ margin:36px 0 12px; }
.prose p{ color:var(--ink-soft); font-size:16px; margin-bottom:16px; }
.prose ul{ list-style:disc; padding-left:20px; margin-bottom:16px; color:var(--ink-soft); }
.prose li{ margin:6px 0; }

/* form */
.connect{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.connect-copy h2{ margin-bottom:12px; }
.connect-copy p{ color:var(--ink-soft); margin-bottom:18px; }
.form-card{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:28px; position:relative; }
.form-grid{ display:grid; gap:14px; }
.form-field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px;
  font:inherit; font-size:15px; background:var(--bg); color:var(--ink);
}
.form-field textarea{ min-height:110px; resize:vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:2px solid var(--green); outline-offset:1px; border-color:transparent;
}
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:10px; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-error{ font-size:13.5px; color:var(--red); background:var(--red-tint); border-radius:10px; padding:12px 14px; }
.form-error a{ color:var(--red); font-weight:600; }
.form-success{ display:none; text-align:center; padding:28px 8px; }
.form-card.is-sent .form-grid, .form-card.is-sent .btn, .form-card.is-sent .form-note{ display:none; }
.form-card.is-sent .form-success{ display:block; }
.form-success h3{ margin-bottom:8px; }
.form-success p{ color:var(--ink-soft); }
@media (max-width:800px){ .connect{ grid-template-columns:1fr; } }

/* ================= QUOTE ================= */
.quote-wrap{ max-width:740px; margin:0 auto; text-align:center; }
blockquote{ font-family:'Bricolage Grotesque', sans-serif; font-weight:600; font-size:clamp(20px,2.6vw,28px); line-height:1.42; letter-spacing:-0.01em; color:var(--ink); margin-bottom:20px; }
cite{ font-size:13.5px; color:var(--ink-soft); font-style:normal; display:block; margin-bottom:36px; }
.quote-stats{ display:flex; gap:48px; justify-content:center; flex-wrap:wrap; }
.quote-stat .num{ font-family:'Bricolage Grotesque', sans-serif; font-weight:800; font-size:26px; color:var(--green-deep); margin-bottom:4px; }
.quote-stat .label{ font-size:12.5px; color:var(--ink-soft); }

/* ================= INTEGRATIONS ================= */
.integrations-row{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
.integration-pill{ border:1px solid var(--line); border-radius:12px; padding:14px 22px; font-family:'JetBrains Mono', monospace; font-size:13px; font-weight:500; background:var(--surface); color:var(--ink-soft); }

/* ================= FAQ ================= */
.faq-list{ max-width:720px; margin:0 auto; }
.faq-list details{ border-bottom:1px solid var(--line); padding:20px 0; }
.faq-list summary{ cursor:pointer; font-family:'Bricolage Grotesque', sans-serif; font-weight:600; font-size:16.5px; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:"+"; font-size:22px; color:var(--ink-soft); flex-shrink:0; transition:transform .2s; font-family:'Inter',sans-serif; font-weight:400; }
.faq-list details[open] summary::after{ transform:rotate(45deg); }
.faq-list details p{ margin-top:14px; color:var(--ink-soft); font-size:15px; max-width:60ch; }

/* ================= CTA BAND ================= */
.band{ background:var(--green); color:#fff; padding:80px 0; text-align:center; }
.band h2{ color:#fff; margin-bottom:14px; }
.band p{ color:rgba(255,255,255,0.85); max-width:48ch; margin:0 auto 30px; font-size:15.5px; }
.band .cta-row{ justify-content:center; }
.band .btn-primary{ background:#fff; color:var(--green-deep); }
.band .btn-primary:hover{ background:#F4FBF6; }
.band .btn-ghost{ border-color:rgba(255,255,255,0.5); color:#fff; }
.band .btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,0.08); }

/* ================= FOOTER ================= */
footer{ padding:64px 0 32px; border-top:1px solid var(--line); }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:48px; }
.foot-brand .brand{ margin-bottom:14px; }
.foot-brand p{ color:var(--ink-soft); font-size:14px; max-width:42ch; }
.foot-col h4{ font-family:'JetBrains Mono', monospace; font-size:11.5px; text-transform:uppercase; letter-spacing:0.05em; color:var(--ink-soft); margin-bottom:14px; }
.foot-col a{ display:block; text-decoration:none; color:var(--ink); font-size:14.5px; padding:6px 0; }
.foot-col a:hover{ color:var(--green-deep); }
.foot-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13px; color:var(--ink-soft); padding-top:28px; border-top:1px solid var(--line); }
.foot-bottom .legal{ display:flex; gap:18px; }
.foot-trust{ color:var(--green-deep); font-weight:500; }
.foot-bottom a{ text-decoration:none; color:var(--ink-soft); }
.foot-bottom a:hover{ color:var(--ink); }
@media (max-width:800px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .foot-grid{ grid-template-columns:1fr; } }

/* ================= SMALL SCREENS ================= */
@media (max-width:600px){
  /* 32px gutters cost too much of a 360px viewport. */
  .wrap{ padding:0 20px; }
  .nav{ padding:12px 20px; }
  section{ padding:56px 0; }
  .hero{ padding:40px 0 56px; }
  .page-hero{ padding:48px 0 32px; }
  .band{ padding:56px 0; }
  .demo-section{ padding:64px 0; }
  .industry-detail{ padding:48px 0; }
  footer{ padding:48px 0 24px; }

  .lede{ font-size:16.5px; }
  .section-head{ margin-bottom:36px; }
  .icon-strip{ gap:8px; margin-top:32px; }
  .icon-chip{ width:78px; }

  /* Comfortable thumb targets in the footer link columns. */
  .foot-col a{ padding:11px 0; }
  .foot-bottom{ justify-content:flex-start; }

  .btn{ width:100%; text-align:center; }
  .cta-row{ gap:10px; }
  .form-card, .mini-card{ padding:20px; }
  /* Overrides the inline 32px side padding on the resource articles, which
     doubles up with the .wrap gutter on a phone. */
  .prose{ padding:56px 0 !important; }
  .stamp-grid{ grid-template-columns:1fr; }
}
