/* V4 finish: keep the 3D artwork and mint identity, refine the reading surface. */
:root {
  --ink: #18221d; --muted: #5f6b64; --line: #dce4de;
  --paper: #fff; --cream: #f6f8f6; --mint-pale: #eef7f1;
  --forest: #20573d; --control-border: #a9b8ae;
  --radius: 16px; --small-radius: 8px;
  --shadow: 0 8px 32px #18221d0a;
  --type-body: 16px; --type-caption: 12px;
}
body { color: var(--ink); font-size: var(--type-body); line-height: 1.75; }
button, input, textarea, select { font-family: var(--font); }
.hero h1 { font-size: 60px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.hero-copy > .hero-description { font-size: var(--type-body); line-height: 1.75; color: var(--muted); }
.hero-copy > .hero-features { font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--forest); }
.hero-kicker { color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.section-heading h2, .faq h2, .final-cta h2 { font-size: 36px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.cap-card h3, .video-feature h3, .asset-feature h3 { font-size: 30px; line-height: 1.4; font-weight: 600; }
.cap-card > p, .video-feature-copy > p, .asset-feature p, .section-heading > p,
.steps p, .faq-list details p, .pricing-intro > p { font-size: var(--type-body); line-height: 1.8; color: var(--muted); }
.header nav { font-size: 14px; font-weight: 500; }
.header nav a { color: var(--muted); }
.header nav a:hover { color: var(--ink); }
.header nav a[aria-current="page"] { color: var(--forest); font-weight: 600; }
.button, .nav-cta {
  font-size: 14px; line-height: 1.5; font-weight: 600; min-height: 44px;
  border-radius: var(--small-radius); padding: 12px 24px;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), opacity 200ms var(--ease);
}
.button.dark { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); box-shadow: 0 2px 4px #18221d14; }
.button.dark:hover { background: var(--forest); border-color: var(--forest); }
.button.light, .nav-cta { background: var(--paper); border: 1px solid var(--control-border); color: var(--ink); }
.button.light:hover, .nav-cta:hover { background: var(--cream); }
.button:active, .nav-cta:active { transform: translateY(1px); }
:is(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.demo-input textarea { background: var(--paper); border: 1px solid var(--control-border); border-radius: var(--small-radius); font-size: var(--type-body); line-height: 1.75; }
.demo-input textarea::placeholder { color: var(--muted); }
.cap-card, .video-feature, .asset-feature, .guide-price-plan { border-radius: var(--radius); border-color: var(--line); box-shadow: var(--shadow); }
.guide-intro h1 { font-size: 48px; line-height: 1.25; font-weight: 600; letter-spacing: -.03em; }
.guide-content h2 { font-size: 30px; line-height: 1.4; font-weight: 600; }
.guide-content h3 { font-size: 20px; line-height: 1.4; font-weight: 600; }
.guide-content p, .guide-content li, .guide-content dd { color: var(--muted); font-size: var(--type-body); line-height: 1.8; }
.guide-note { background: var(--mint-pale); }
.guide-table { border: 1px solid var(--line); border-radius: var(--small-radius); }
.guide-table th { background: var(--cream); font-weight: 600; color: var(--muted); }
.guide-table td { font-size: 14px; }
.faq-list summary { font-size: 18px; font-weight: 500; }
.faq-list details[open] summary { color: var(--forest); }
.footer-column { font-size: 14px; line-height: 1.7; }
.footer-column h3 { font-weight: 600; }
.hero-meta, .factory-controls p { color: var(--muted); }
@media (max-width: 900px) {
  .hero h1 { font-size: 48px; }
  .section-heading h2, .faq h2, .final-cta h2 { font-size: 30px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 30px; line-height: 1.4; letter-spacing: -.04em; }
  .hero-copy > .hero-features { font-size: 14px; }
  .hero-copy > .hero-description { font-size: 14px; }
  .hero-kicker { font-size: var(--type-caption); }
  .cap-card h3, .video-feature h3, .asset-feature h3 { font-size: 24px; }
  .guide-intro h1 { font-size: 36px; }
  .guide-content h2 { font-size: 24px; }
  .faq-list summary { font-size: 16px; }
}
/* Glass belongs to navigation and floating surfaces, not reading backgrounds. */
@supports (backdrop-filter: blur(16px)) {
  .header { background: #ffffffd9; backdrop-filter: blur(16px) saturate(125%); }
  dialog { background: #fffffff2; backdrop-filter: blur(16px); }
}
@media (min-width: 901px) {
  .header { margin: 16px auto 0; width: calc(100% - 48px); border: 0; border-radius: 0; box-shadow: none; }
}
.round-icon { color: var(--forest); background: var(--mint-pale); border: 1px solid var(--line); }
.cap-card .text-link, .video-feature .text-link { font-weight: 600; }
.guide-price-plan { background: var(--paper); box-shadow: inset 0 1px 0 #fff, var(--shadow); }
@media (max-width: 360px) { .hero h1 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) {
  .button, .nav-cta { transition: none; }
  .button:active, .nav-cta:active { transform: none; }
}

/* Client brands are prominent, using their original colors. */
.hero-copy h1{max-width:940px}
.hero-clients{margin:40px auto 0;max-width:1050px;position:relative;z-index:2}
.hero-clients>p{font-size:14px;color:var(--muted);margin:0 0 18px}
.hero-clients>div{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:18px 30px}
.hero-clients a{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:600;color:var(--ink);text-decoration:none;min-height:48px;white-space:nowrap}
.hero-clients a:hover{color:var(--forest)}
.hero-clients img{width:36px;height:36px;object-fit:contain;flex:none}
.hero-clients small{display:block;margin-top:18px;font-size:12px;line-height:1.8;color:var(--muted)}
.hero .factory-v2{margin-top:-48px}
@media(min-width:641px) and (max-width:1100px){.hero-clients{max-width:640px}.hero-clients>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px}.hero-clients a{justify-content:center;font-size:17px}}
@media(max-width:640px){
 .hero-copy h1{font-size:30px;letter-spacing:-1px;line-height:1.4}
 .hero-clients{margin-top:30px;max-width:360px}
 .hero-clients>p{font-size:13px;margin-bottom:16px}
 .hero-clients>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;text-align:left}
 .hero-clients a{font-size:16px;gap:10px;min-height:44px}
 .hero-clients img{width:32px;height:32px}
 .hero-clients small{font-size:11px}
 .hero .factory-v2{margin-top:0}
}

.hero-capabilities{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;margin:24px auto 0;color:var(--forest);font-size:16px;font-weight:600}.hero-capabilities span{white-space:nowrap}.hero-capabilities span+span:before{content:"·";margin-right:24px;color:#a9b8ae}@media(max-width:640px){.hero-capabilities{max-width:300px;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;font-size:14px;margin-top:18px}.hero-capabilities span+span:before{content:none}}
