:root { --bg: #08090c; --bg2: #0f1116; --panel: #14171e; --line: #252a33; --fg: #f3f0ea; --muted: #a29d93; --gold: #c9a24a; --gold-hi: #dcb862; }
* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.eyebrow { color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
p.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 640px; }
.muted { color: var(--muted); }
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; background: var(--gold); color: #111; font-weight: 600; border: 1px solid var(--gold); }
.btn:hover { background: var(--gold-hi); color: #111; }
.btn.ghost { background: transparent; color: var(--fg); border-color: #3a3f4a; }
.btn.ghost:hover { border-color: var(--gold); color: var(--fg); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* nav */
header.nav { position: sticky; top: 0; z-index: 10; background: rgba(8,9,12,.82); backdrop-filter: blur(10px); border-bottom: 1px solid #16191f; }
header.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
header.nav .logo { display: block; padding: 13px 0; }
header.nav .logo img { height: 22px; width: auto; }
header.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
header.nav nav a { color: #d8d3ca; }
header.nav nav a:hover { color: var(--gold); }
header.nav .btn { padding: 8px 16px; font-size: 15px; }
header.nav .btn { white-space: nowrap; }
header.nav .navlink { color: #d8d3ca; font-size: 15px; white-space: nowrap; }
header.nav .navlink:hover { color: var(--gold); }
/* phone menu */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 10px; border: 1px solid #2c313b; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 2px; background: var(--fg); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 52px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 8px; min-width: 220px; display: grid; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.menu-panel a { color: var(--fg); padding: 12px 14px; border-radius: 8px; font-size: 16px; }
.menu-panel a:hover, .menu-panel a:focus { background: #1c2028; color: var(--gold); }
@media (max-width: 960px) { header.nav nav, header.nav .navlink { display: none; } header.nav .btn { margin-left: auto; } .menu { display: block; } }
@media (max-width: 420px) { header.nav .wrap { gap: 10px; } header.nav .logo img { height: 17px; } header.nav .btn { padding: 9px 12px; font-size: 14px; } }
section[id], .anchor { scroll-margin-top: 72px; }
.anchor { display: block; position: relative; top: -72px; }

/* hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: center; background: url(/img/hero-1600.jpg) center / cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,12,.92) 0%, rgba(8,9,12,.7) 45%, rgba(8,9,12,.15) 100%); }
.hero .wrap { position: relative; padding-top: 60px; padding-bottom: 60px; }
.hero p.lead { margin-top: 18px; color: #cbc5ba; }
@media (max-width: 700px) { .hero { min-height: 0; background-position: 70% center; } .hero .wrap { padding-top: 96px; padding-bottom: 96px; } .hero::before { background: rgba(8,9,12,.72); } }

section { padding: 96px 0; }
section.alt { background: var(--bg2); border-top: 1px solid #14171d; border-bottom: 1px solid #14171d; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 960px) { .grid4 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } section { padding: 72px 0; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card p { color: var(--muted); font-size: 16px; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(201,162,74,.12); display: grid; place-items: center; margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step { position: relative; padding-left: 0; }
.step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 15px; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 16px; }
.tag { display: inline-block; font-size: 12px; border: 1px solid var(--gold); color: var(--gold); border-radius: 99px; padding: 1px 9px; margin-left: 6px; vertical-align: 2px; font-weight: 500; }
.tag.soon { border-color: #4a4f5a; color: var(--muted); }
.industry { border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.industry img { aspect-ratio: 760 / 479; object-fit: cover; width: 100%; }
.industry div { padding: 18px 20px 22px; }
.industry p { color: var(--muted); font-size: 15px; }
.price { display: flex; flex-direction: column; }
.price .amount { font-size: 30px; font-weight: 700; margin: 6px 0 12px; }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; color: #d0cbc2; font-size: 15px; }
.price li { padding: 6px 0 6px 24px; position: relative; border-top: 1px solid #1d2128; }
.price li::before { content: "✓"; color: var(--gold); position: absolute; left: 0; }
.price .btn { margin-top: auto; text-align: center; }
.price.main { border-color: var(--gold); }
.hero-note { margin-top: 18px; color: #bdb7ac; font-size: 15px; }
/* workflows */
.flow { display: grid; grid-template-columns: 5fr 6fr; gap: 40px; align-items: center; padding: 44px 0; border-top: 1px solid #1c2027; }
.flow:first-of-type { margin-top: 32px; }
.flow h3 { font-size: 22px; margin-bottom: 10px; line-height: 1.35; }
.flow h3 .tag { font-size: 12px; white-space: nowrap; margin: 4px 6px 0 0; }
.flow p { color: var(--muted); font-size: 16px; }
.ticks, .dots { list-style: none; padding: 0; margin: 14px 0 0; font-size: 15px; color: #d0cbc2; }
.ticks li, .dots li { padding: 5px 0 5px 24px; position: relative; }
.ticks li::before { content: "✓"; color: var(--gold); position: absolute; left: 0; }
.dots li::before { content: "◦"; color: var(--muted); position: absolute; left: 4px; }
.soon-line { margin-top: 14px; font-size: 14px !important; }
.flow-shots { display: grid; gap: 14px; }
.flow-shots.two { grid-template-columns: 1fr 1fr; }
.flow-shots.phones { grid-template-columns: 1fr 1fr; max-width: 420px; justify-self: center; }
figure { margin: 0; }
figure img, .shot img { border-radius: 12px; border: 1px solid var(--line); width: 100%; background: #111; }
figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; line-height: 1.4; }
.flow-shots.phones img { border-radius: 18px; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 560px) { .flow-shots.two { grid-template-columns: 1fr; } .flow h3 { font-size: 20px; } }
/* live viewer */
.viewer { margin-top: 28px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0c0e12; aspect-ratio: 16 / 9; }
.viewer iframe { width: 100%; height: 100%; border: 0; display: block; }
.viewer-start { all: unset; cursor: pointer; display: block; position: relative; width: 100%; height: 100%; }
.viewer-start img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.viewer-start .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--gold); color: #111; font-weight: 600; padding: 14px 24px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.viewer-start:hover .play, .viewer-start:focus-visible .play { background: var(--gold-hi); }
@media (max-width: 700px) { .viewer { aspect-ratio: 3 / 4; } }
.avail { margin-top: 32px; align-items: stretch; gap: 20px; }
.contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin-top: 24px; font-size: 16px; }
.contact dt { color: var(--muted); }
footer { border-top: 1px solid #16191f; padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .links { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
footer a { color: #cfcac1; }

/* legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.doc h1 { font-size: 38px; margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #d3cec5; font-size: 16px; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 4px 0; }

/* --- home: motion and new sections --- */
.hero { overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 78% 18%, rgba(220,184,98,.16), transparent 70%); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero { animation: heroZoom 24s ease-out both; background-size: 112% auto; }
  @keyframes heroZoom { from { background-size: 120% auto; } to { background-size: 104% auto; } }
  @media (max-width: 1400px) { .hero { animation: none; background-size: cover; } }
  .shine { background: linear-gradient(100deg, var(--fg) 30%, var(--gold-hi) 45%, #fff3d0 50%, var(--gold-hi) 55%, var(--fg) 70%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s ease-in-out 1s infinite; }
  @keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  .grid3 .reveal:nth-child(2), .grid4 .reveal:nth-child(2) { transition-delay: .08s; }
  .grid3 .reveal:nth-child(3), .grid4 .reveal:nth-child(3) { transition-delay: .16s; }
  .grid4 .reveal:nth-child(4) { transition-delay: .24s; }
}
.hero .for { margin-top: 14px; color: #cbc5ba; font-size: 17px; }
.rotator { display: inline-grid; vertical-align: bottom; height: 1.6em; overflow: hidden; color: var(--gold-hi); font-weight: 600; }
.rotator span { grid-area: 1 / 1; opacity: 0; }
.rotator span:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .rotator span { opacity: 0; animation: rot 12.5s infinite; }
  .rotator span:nth-child(2) { animation-delay: 2.5s; }
  .rotator span:nth-child(3) { animation-delay: 5s; }
  .rotator span:nth-child(4) { animation-delay: 7.5s; }
  .rotator span:nth-child(5) { animation-delay: 10s; }
  @keyframes rot { 0% { opacity: 0; transform: translateY(60%); } 3%, 17% { opacity: 1; transform: none; } 20%, 100% { opacity: 0; transform: translateY(-60%); } }
}
.proof { border-bottom: 1px solid #16191f; background: linear-gradient(180deg, #0c0e12, var(--bg)); }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.proof .wrap > div { border-left: 2px solid var(--gold); padding-left: 14px; }
.proof b { display: block; font-size: 18px; }
.proof span { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; }
@media (max-width: 860px) { .proof .wrap { grid-template-columns: 1fr 1fr; } }

/* solution tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding: 6px; background: #0b0d11; border: 1px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.tabs button { all: unset; cursor: pointer; padding: 10px 16px; border-radius: 10px; color: #d0cbc2; font-size: 15px; font-weight: 500; white-space: nowrap; }
.tabs button:hover { color: var(--fg); background: #161a21; }
.tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tabs button[aria-selected="true"] { background: var(--gold); color: #111; }
.panel .flow { border-top: 0; padding-top: 32px; }
.panel .flow:first-of-type { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) { .panel:not([hidden]) { animation: fadeUp .45s ease; } @keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } } }
@media (max-width: 700px) {
  .tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .tabs button { white-space: normal; text-align: center; font-size: 14px; padding: 10px 8px; line-height: 1.3; }
  .demo .spin { order: -1; }

}

/* turnable home */
.demo { align-items: center; }
.spin { position: relative; }
.spin::before { content: ""; position: absolute; inset: 8% 8% -4%; background: radial-gradient(closest-side, rgba(201,162,74,.22), transparent); filter: blur(30px); z-index: -1; }
.spin-stage { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; border: 1px solid #2d3340; background: #808d68; cursor: grab; touch-action: pan-y; user-select: none; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.spin-stage.dragging { cursor: grabbing; }
.spin-stage img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.spin-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; background: rgba(8,9,12,.72); backdrop-filter: blur(6px); color: var(--fg); font-size: 14px; padding: 8px 14px; border-radius: 99px; white-space: nowrap; transition: opacity .4s; }
.spin-hint svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spin-hint.gone { opacity: 0; }
#tourFrame { margin-top: 40px; }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }

/* steps */
.steps .step { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }

/* early-access form */
.ea { align-items: start; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: #d0cbc2; }
.form input:not([type=radio]), .form select, .form textarea { font: inherit; font-size: 16px; color: var(--fg); background: #0c0e12; border: 1px solid #2c313b; border-radius: 10px; padding: 11px 12px; width: 100%; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #0c0e12; border: 1px solid #2c313b; border-radius: 12px; padding: 4px; }
.seg label { display: block; text-align: center; padding: 9px; border-radius: 9px; cursor: pointer; font-weight: 600; color: #d0cbc2; font-size: 15px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--gold); color: #111; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.form .btn { width: 100%; text-align: center; }
.form .btn:disabled { opacity: .6; cursor: default; }
.form-msg { min-height: 1.2em; font-size: 14px; color: var(--muted); }
.form-msg.err { color: #f08a7a; }
.small { font-size: 13px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks .ico { margin: 0 auto 14px; width: 52px; height: 52px; border-radius: 50%; background: rgba(201,162,74,.14); display: grid; place-items: center; }
.thanks svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks p { color: var(--muted); }
