@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink: #0b2239;
  --ink-soft: #385066;
  --paper: #f5f1e8;
  --white: #fffdf8;
  --coral: #ff6b4a;
  --mint: #baf2dc;
  --sky: #b9def7;
  --line: rgba(11, 34, 57, .14);
  --shadow: 0 22px 60px rgba(11, 34, 57, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .34; background-image: radial-gradient(rgba(11,34,57,.14) .65px, transparent .65px); background-size: 14px 14px; mask-image: linear-gradient(to bottom, #000, transparent 62%); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--max)); margin: auto; position: relative; }
.site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; }
.brand img { width: 46px; height: 46px; padding: 5px; border-radius: 13px; background: var(--ink); object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand small { margin-top: 6px; color: var(--ink-soft); font: 600 .62rem 'DM Sans'; letter-spacing: .16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 13px; color: var(--ink-soft); font-weight: 600; border-radius: 999px; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: rgba(255,255,255,.62); }
.nav-cta { margin-left: 8px; border: 1px solid var(--ink); color: var(--ink) !important; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 15px; }
.eyebrow { margin: 0 0 18px; color: #b83b25; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(3.2rem, 7.5vw, 7.2rem); line-height: .91; margin-bottom: 28px; }
h2 { font-size: clamp(2.2rem, 4.4vw, 4.5rem); line-height: 1; margin-bottom: 22px; }
h3 { font-size: 1.35rem; line-height: 1.15; margin-bottom: 10px; }
p { line-height: 1.65; }
.lede { font-size: clamp(1.08rem, 1.7vw, 1.34rem); color: var(--ink-soft); max-width: 700px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); font-weight: 700; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11,34,57,.14); }
.button-primary { color: var(--white); background: var(--ink); }
.button-coral { color: var(--ink); background: var(--coral); border-color: var(--coral); }
.button-quiet { background: transparent; }
.hero { padding: 72px 0 96px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); gap: 64px; align-items: center; }
.hero-copy { animation: rise .65s ease both; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--ink-soft); font-size: .9rem; }
.proof-row span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--coral); }
.decision-board { position: relative; padding: 28px; background: var(--ink); color: var(--white); border-radius: 34px; box-shadow: var(--shadow); transform: rotate(1.2deg); animation: rise .7s .12s ease both; }
.decision-board::after { content: ''; position: absolute; width: 130px; height: 130px; right: -30px; top: -42px; border-radius: 50%; background: var(--mint); z-index: -1; }
.board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.board-top span { color: #a9bbca; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.live { color: var(--mint) !important; }
.matrix-row { display: grid; grid-template-columns: 1fr repeat(3, 42px); gap: 10px; align-items: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.1); }
.matrix-row strong { font-size: .92rem; }
.matrix-row small { display: block; color: #9fb0c0; margin-top: 3px; }
.switch { width: 38px; height: 22px; padding: 3px; border-radius: 999px; background: #33485b; }
.switch::after { content: ''; display: block; width: 16px; height: 16px; border-radius: 50%; background: #728699; }
.switch.on { background: var(--mint); }
.switch.on::after { margin-left: 16px; background: var(--ink); }
.board-note { margin: 22px 0 0; padding: 15px; background: rgba(255,255,255,.08); border-radius: 14px; color: #c6d2dc; font-size: .88rem; }
.product-film { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: clamp(30px, 6vw, 80px); align-items: center; padding: clamp(38px, 6vw, 72px); border-radius: 38px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.product-film h2 { max-width: 560px; font-size: clamp(2.2rem, 4vw, 4rem); }
.product-film-copy > p:not(.eyebrow) { max-width: 520px; color: #b9c7d2; }
.product-film-copy > span { display: inline-flex; gap: 10px; margin-top: 20px; color: #b9c7d2; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.product-film-copy > span b { color: var(--mint); }
.product-film-player { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #111f29; box-shadow: 0 28px 60px rgba(0,0,0,.3); }
.product-film-player::before { content: ''; display: block; padding-top: 56.6038%; }
.product-film-player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.section { padding: 100px 0; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head .lede { margin: 0; }
.kicker-number { font: 700 5.6rem/1 'Space Grotesk'; color: rgba(11,34,57,.1); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 265px; padding: 28px; background: rgba(255,253,248,.78); border: 1px solid var(--line); border-radius: var(--radius); }
.feature-card:nth-child(2) { background: var(--mint); }
.feature-card:nth-child(5) { background: var(--sky); }
.feature-card .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; margin-bottom: 44px; }
.feature-card p { color: var(--ink-soft); margin-bottom: 0; }
.workflow { background: var(--ink); color: var(--white); border-radius: 40px; padding: clamp(34px, 6vw, 72px); overflow: hidden; }
.workflow h2 { max-width: 780px; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); margin-top: 50px; }
.flow-step { background: var(--ink); padding: 26px 20px; }
.flow-step b { color: var(--coral); font: 600 1rem 'Space Grotesk'; }
.flow-step p { color: #b9c7d2; font-size: .94rem; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.platform { padding: 30px; border-top: 4px solid var(--ink); background: var(--white); }
.platform code { display: block; color: var(--ink-soft); white-space: normal; margin-top: 8px; }
.platform .status { display: inline-block; margin-top: 25px; padding: 7px 10px; border-radius: 999px; background: var(--mint); font-size: .78rem; font-weight: 700; }
.guide-banner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 44px; border-radius: 30px; background: var(--coral); }
.guide-banner h2 { max-width: 760px; margin-bottom: 12px; }
.guide-banner p { max-width: 700px; margin: 0; }
.page-hero { padding: 76px 0 52px; max-width: 900px; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6.4rem); }
.builder { display: grid; grid-template-columns: 360px 1fr; min-height: 620px; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.builder-controls { padding: 32px; background: var(--ink); color: var(--white); }
.builder-controls label { display: grid; gap: 8px; margin: 0 0 22px; font-weight: 700; }
.builder-controls select { width: 100%; padding: 13px; color: var(--white); background: #173149; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; }
.builder-output { padding: clamp(28px, 5vw, 56px); }
.guide-meta { color: var(--ink-soft); }
.checklist { display: grid; gap: 14px; margin: 30px 0; padding: 0; list-style: none; counter-reset: guide; }
.checklist li { counter-increment: guide; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; }
.checklist li::before { content: counter(guide); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mint); font-weight: 700; }
.checklist strong { display: block; margin-bottom: 4px; }
.checklist span { color: var(--ink-soft); line-height: 1.5; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.contact-card, .contact-form { padding: 36px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card { background: var(--mint); }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.legal { max-width: 820px; }
.legal h2 { font-size: 2rem; margin-top: 50px; }
.legal code { padding: 2px 7px; border-radius: 7px; background: rgba(11,34,57,.08); font-size: .92em; }
.legal ul { display: grid; gap: 12px; padding-left: 22px; line-height: 1.65; color: var(--ink-soft); }
.legal li strong { color: var(--ink); }
.legal-date { display: inline-flex; margin-top: 20px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: .86rem; font-weight: 700; }
.legal-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 56px; }
.legal-summary article { min-height: 160px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,253,248,.76); }
.legal-summary article:nth-child(2) { background: var(--mint); }
.legal-summary strong, .legal-summary span { display: block; }
.legal-summary strong { margin-bottom: 12px; font: 700 1.05rem 'Space Grotesk'; }
.legal-summary span { color: var(--ink-soft); line-height: 1.5; }
.site-footer { margin-top: 100px; padding: 48px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink-soft); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; } }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; z-index: 10; top: 76px; right: 0; width: min(300px, 90vw); padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .site-nav.open { display: grid; }
  .nav-cta { margin-left: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 42px; }
  .decision-board { max-width: 620px; transform: none; }
  .section-head, .builder, .contact-layout, .product-film { grid-template-columns: 1fr; }
  .feature-grid, .platforms { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-banner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shell { width: min(calc(100% - 24px), var(--max)); }
  h1 { font-size: 3.2rem; }
  .hero { gap: 40px; padding-bottom: 62px; }
  .section { padding: 72px 0; }
  .feature-grid, .platforms, .flow-grid { grid-template-columns: 1fr; }
  .legal-summary { grid-template-columns: 1fr; }
  .decision-board { padding: 20px; }
  .product-film { width: min(calc(100% - 24px), var(--max)); padding: 28px 20px 20px; border-radius: 26px; }
  .matrix-row { grid-template-columns: 1fr repeat(3, 34px); }
  .guide-banner { padding: 28px; }
  .site-footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
