/* StepInToPlan marketing site. Warm paper, ink, terracotta accent (same accent as the 3D HUD). Fraunces for display, Inter for text. */
:root {
  --paper: #f6f1e9;
  --paper-2: #efe7db;
  --ink: #1c1b19;
  --ink-2: #4d4842;
  --ink-3: #86807a;
  --line: #e2d9cc;
  --accent: #d8552a;
  --accent-ink: #b0431f;
  --sage: #8fa58a;
  --sage-2: #e3e9df;
  --night: #16211f;
  --radius: 14px;
  --max: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; margin: 0 0 0.4em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-variation-settings: "opsz" 144, "SOFT" 40; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.eyebrow { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
section { padding: clamp(56px, 8vw, 110px) 0; }
.muted { color: var(--ink-3); }
.small { font-size: 0.9rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 0.98rem; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.logo i { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); display: inline-grid; place-items: center; }
.logo i::after { content: ""; width: 10px; height: 10px; border: 2px solid var(--paper); border-right-color: var(--accent); border-bottom-color: var(--accent); transform: rotate(45deg); margin-top: -3px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 0.82rem; font-weight: 600; }
.lang a { padding: 6px 11px; text-decoration: none; color: var(--ink-3); }
.lang a.on { background: var(--ink); color: var(--paper); }
.nav .btn { padding: 9px 16px; font-size: 0.9rem; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 36px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 9px; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero .note { font-size: 0.9rem; color: var(--ink-3); }
.demo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--night); aspect-ratio: 16 / 10; box-shadow: 0 30px 80px -30px rgba(40, 30, 20, 0.45); border: 1px solid #0003; }
.demo img, .demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.demo .play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55)); color: #fff; text-decoration: none; cursor: pointer; border: 0; padding: 0; }
.demo .play b { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); padding: 14px 24px; border-radius: 999px; font-size: 1rem; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.demo .play b::before { content: ""; border: 7px solid transparent; border-left: 11px solid #fff; border-right: 0; }
.demo .caption { position: absolute; left: 16px; bottom: 14px; right: 16px; font-size: 0.85rem; color: #fff; opacity: 0.9; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.demo-hint { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 0.88rem; color: var(--ink-3); }
.demo-hint span::before { content: "·"; margin-right: 8px; color: var(--accent); }
.demo-hint span:first-child::before { content: none; }
.audience-strip { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; gap: 10px 34px; flex-wrap: wrap; justify-content: center; font-size: 0.9rem; color: var(--ink-2); }
.audience-strip b { color: var(--ink-3); font-weight: 500; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 14px; }
.step p { color: var(--ink-2); margin: 0; }
.step .t { font-size: 0.82rem; color: var(--ink-3); margin-top: 12px; display: block; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--paper-2); }
.feature h3 { font-size: 1.1rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }
.feature .ic { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; margin-bottom: 14px; color: var(--accent); font-size: 1.1rem; }

/* configurator split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.split figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.split figure .tag { position: absolute; left: 12px; top: 12px; background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 0.8rem; font-weight: 600; }
.swatches { display: flex; gap: 8px; margin: 14px 0 20px; }
.swatches i { width: 26px; height: 26px; border-radius: 8px; display: inline-block; box-shadow: inset 0 0 0 1px #0002; }
.check { list-style: none; padding: 0; margin: 0 0 20px; }
.check li { padding-left: 28px; position: relative; margin-bottom: 10px; color: var(--ink-2); }
.check li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* audiences */
.aud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.aud article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.aud h3 { margin-bottom: 8px; }
.aud p { color: var(--ink-2); margin: 0 0 14px; }
.aud .q { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 0.92rem; color: var(--ink-3); font-style: italic; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--night); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.03); }
.gallery span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 0.85rem; text-shadow: 0 1px 6px #000a; }
.gallery .wide { grid-column: span 2; aspect-ratio: auto; }

/* pricing */
.pricing { background: var(--night); color: #efe9e0; }
.pricing .eyebrow { color: #f0a17f; }
.pricing .lead { color: #c9c2b7; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tier { background: #1f2c29; border: 1px solid #2d3b37; border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.tier.hot { border-color: var(--accent); background: #243330; }
.tier h3 { color: #fff; }
.tier .price { font-family: var(--serif); font-size: 2.3rem; color: #fff; margin: 8px 0 2px; }
.tier .price small { font: 500 0.95rem var(--sans); color: #b7b0a6; }
.tier .for { color: #b7b0a6; font-size: 0.9rem; margin-bottom: 16px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.95rem; }
.tier li { padding: 7px 0 7px 24px; position: relative; border-top: 1px solid #2d3b37; color: #ddd6cb; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: #f0a17f; }
.tier .btn { margin-top: auto; justify-content: center; }
.ptable { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 0.95rem; }
.ptable th, .ptable td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #2d3b37; vertical-align: top; }
.ptable th { color: #b7b0a6; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; color: #fff; }
.pricing .fine { color: #8f887e; font-size: 0.85rem; margin-top: 18px; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; margin-top: 48px; align-items: start; }
.lic { background: #1f2c29; border-radius: var(--radius); padding: 24px; }
.lic h3 { color: #fff; }
.lic p { color: #c9c2b7; font-size: 0.95rem; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 12px 0 0; max-width: 60ch; }

/* contact */
.contact { background: var(--paper-2); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); width: 100%; }
.form textarea { min-height: 110px; resize: vertical; }
.form .full { grid-column: 1 / -1; }
.form .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; grid-column: 1 / -1; }
.form .hint { font-size: 0.85rem; color: var(--ink-3); font-weight: 400; }
.contact-side h2 { margin-bottom: 14px; }
.contact-side p { color: var(--ink-2); }
.contact-side .big { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; display: inline-block; margin: 6px 0 18px; }

/* footer */
footer { padding: 40px 0 30px; font-size: 0.9rem; color: var(--ink-3); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--ink-2); text-decoration: none; margin-right: 16px; }

@media (max-width: 960px) {
  .hero-grid, .split, .two { grid-template-columns: 1fr; }
  .steps, .features, .tiers { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 20px 20px; flex-direction: column; gap: 14px; }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .nav .lang { margin-left: auto; }
  .nav .btn { display: none; }
}
@media (max-width: 640px) {
  .steps, .features, .tiers, .aud, .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .wrap { width: calc(100% - 32px); }
}
