:root {
  --white: #FFFFFF;
  --mist: #F3F5F5;
  --ink: #0A0A0A;
  --soft: #4B5150;
  --line: #DFE3E2;
  --teal: #0FA3A3;
  --teal-deep: #0B7F80;
  --gold: #D4A02A;
  --gold-text: #C79627;
  --night: #0A0A0A;
  --night2: #161919;
  --lined: #2B302F;
  --softd: #A9AFAD;
  --radius: 20px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Instrument Sans', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: 'Space Grotesk', Arial, sans-serif; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
section.dark { background: var(--night); color: var(--white); }
section.alt { background: var(--mist); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin-bottom: 48px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); }
.dark .eyebrow { color: var(--gold); }
.lede { font-size: 20px; color: var(--soft); max-width: 760px; }
.dark .lede { color: var(--softd); }
.hl { color: var(--teal-deep); }
.dark .hl { color: var(--gold); }
.note { font-size: 14px; color: var(--soft); margin-top: 28px; }
.dark .note { color: var(--softd); }

/* logo */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.mark { width: 40px; height: 40px; overflow: visible; flex: none; }
.mark .tile { fill: var(--teal); }
.mark .h { fill: var(--ink); }
.dark .mark .h, .site-header .mark .h { fill: var(--white); }
.mark .halo { fill: var(--bg, var(--white)); stroke: var(--bg, var(--white)); stroke-width: 8; stroke-linejoin: round; }
.mark .star { fill: var(--gold); }
.wordmark { font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -0.03em; line-height: 1; padding-bottom: 4px; }
.wordmark .y { color: var(--gold-text); }
.dark .wordmark .y, .site-header .wordmark .y { color: var(--gold); }
.dark, .site-header { --bg: var(--night); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(8px); color: var(--white); border-bottom: 1px solid var(--lined); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--softd); }
.nav a:hover { color: var(--white); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: #12B8B8; }
.btn-ghost { border-color: var(--lined); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--softd); }
.nav .btn { padding: 10px 18px; font-size: 15px; color: var(--ink); }

/* hero */
.hero { padding: 104px 0 88px; }
.hero .wrap { display: flex; flex-direction: column; gap: 24px; }
.tagline { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 20px; font-weight: 500; }
.tagline b { color: var(--gold); }
.hero .lede { font-size: 21px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.stat { background: var(--night2); border: 1px solid var(--lined); border-radius: var(--radius); padding: 24px; }
.stat .num { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 44px; font-weight: 700; color: var(--gold); line-height: 1; letter-spacing: -0.02em; }
.stat p { color: var(--softd); font-size: 15px; margin-top: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill { font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--mist); color: var(--teal-deep); }
.dark .pill { background: var(--night2); color: var(--gold); border: 1px solid var(--lined); }

/* cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.alt .card { background: var(--white); }
.dark .card { background: var(--night2); border-color: var(--lined); }
.card .tag { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); }
.dark .card .tag { color: var(--gold); }
.card .txt { color: var(--soft); font-size: 16px; }
.dark .card .txt { color: var(--softd); }
.card .num { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 48px; font-weight: 700; line-height: 1; color: var(--teal-deep); letter-spacing: -0.02em; }
.dark .card .num { color: var(--gold); }
.card.featured { border: 2px solid var(--teal); }
.card .label { font-weight: 600; }

.big-line { font-family: 'Space Grotesk', Arial, sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 600; margin-top: 40px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ratio { font-family: 'Space Grotesk', Arial, sans-serif; font-size: clamp(64px, 9vw, 120px); font-weight: 700; color: var(--teal-deep); line-height: 1; letter-spacing: -0.03em; }

.results-group { margin-top: 48px; }
.results-group h3 { margin-bottom: 18px; color: var(--gold); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; font-family: 'Instrument Sans', Arial, sans-serif; }

table { width: 100%; border-collapse: collapse; font-size: 17px; }
th, td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
th { font-size: 14px; color: var(--soft); font-weight: 600; }
td.r, th.r { text-align: right; }

.steps .card .tag { font-size: 14px; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; border-top: 2px solid var(--teal); padding-top: 20px; }
.timeline b { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 20px; display: block; margin-bottom: 4px; }
.timeline p { color: var(--soft); font-size: 16px; }

.chat { display: flex; flex-direction: column; gap: 14px; }
.bubble { max-width: 80%; padding: 14px 20px; border-radius: 18px; font-size: 17px; }
.bubble.me { align-self: flex-end; background: var(--lined); }
.bubble.ai { align-self: flex-start; background: var(--night2); border: 1px solid var(--lined); color: var(--gold); }


.hero-title { color: var(--white); font-size: clamp(40px, 5.4vw, 68px); line-height: 1.1; max-width: 900px; }

/* hero demo */
.demo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 56px; }
.demo-chat, .demo-jobs { background: #1A2120; border: 1px solid #36403E; border-radius: var(--radius); overflow: hidden; }
.demo-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid #36403E; font-size: 14px; color: #D5DAD8; }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: #36403E; }
.demo-bar b { margin-left: 8px; font-weight: 600; }
.demo-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: 16px; color: var(--white); }
.msg .who { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #C9CFCD; margin-bottom: 4px; }
.msg.me { align-self: flex-end; background: #2E3735; }
.msg.ai { align-self: flex-start; background: #0F2A2A; border: 1px solid var(--teal); }
.msg.ai .who { color: #3FD0D0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #36403E; color: #E6EAE9; }
.chip.wait { background: var(--gold); color: var(--ink); }
.demo-jobs { padding: 20px; }
.jobs-title { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.jobs { list-style: none; margin: 0; padding: 0; }
.jobs li { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid #36403E; font-size: 15px; color: var(--white); }
.jobs li:last-child { border-bottom: 0; }
.jobs .t { color: #C9CFCD; font-variant-numeric: tabular-nums; }
.s { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.s.done { background: var(--teal); color: var(--ink); }
.s.wait { background: var(--gold); color: var(--ink); }
.s.next { background: #36403E; color: #E6EAE9; }

.typing { display: none; }
.live-demo .msg:not(.in) { display: none; }
.live-demo .msg.in { animation: rise .4s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.live-demo .typing.in { display: inline-flex !important; gap: 5px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: blink 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%,80%,100% { opacity: .25; } 40% { opacity: 1; } }
.chip.ok { background: var(--teal); color: var(--ink); }
.s { transition: background .3s, color .3s; }
.s.run { background: var(--gold); color: var(--ink); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }

/* rollout */
.rollout { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ro-row { display: grid; grid-template-columns: 80px 1.6fr 1fr 0.9fr 70px; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 16px; }
.ro-row.last { border-bottom: 0; }
.ro-head { font-size: 13px; font-weight: 600; color: var(--soft); background: var(--mist); }
.ro-row .d { font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 700; color: var(--teal-deep); }
.ro-row .j { font-weight: 600; }
.ro-row .w, .ro-row .f { color: var(--soft); font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--teal-deep); }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.js .ro-row:not(.ro-head) { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.js .ro-row.on { opacity: 1; transform: none; }

/* improves */
.metric .dir { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 40px; font-weight: 700; line-height: 1; color: var(--gold); }
.scene-split { margin-bottom: 56px; }
.scene { position: relative; max-width: 520px; width: 100%; justify-self: center; padding: 40px 0; }
.person { width: 100%; height: auto; display: block; }
.float { position: absolute; background: var(--white); color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); border-left: 4px solid var(--teal); }
.float .ft { font-weight: 700; font-size: 14px; }
.float .fd { font-size: 13px; color: var(--soft); }
.float .fd b { color: var(--teal-deep); }
.float.f1 { top: 0; left: -4%; animation: drift1 9s ease-in-out infinite; }
.float.f2 { top: 8%; right: -6%; border-left-color: var(--gold); animation: drift2 11s ease-in-out infinite; }
.float.f3 { bottom: 34%; left: -10%; border-left-color: var(--gold); animation: drift3 10s ease-in-out infinite; }
.float.f4 { bottom: 4%; right: -2%; animation: drift4 12s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 25% { transform: translate(14px,-16px); } 50% { transform: translate(-6px,-24px); } 75% { transform: translate(-16px,-6px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-16px,12px); } 50% { transform: translate(-6px,22px); } 75% { transform: translate(12px,8px); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0); } 30% { transform: translate(18px,10px); } 60% { transform: translate(8px,-18px); } 80% { transform: translate(-10px,-8px); } }
@keyframes drift4 { 0%,100% { transform: translate(0,0); } 25% { transform: translate(-14px,-14px); } 55% { transform: translate(-22px,4px); } 80% { transform: translate(-4px,14px); } }
#results { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { .scene .float { animation: none; } .js .ro-row:not(.ro-head) { opacity: 1; transform: none; transition: none; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: 'Space Grotesk', Arial, sans-serif; font-weight: 600; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal-deep); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--soft); margin-top: 12px; max-width: 820px; }

/* form */
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label, legend { font-size: 14px; font-weight: 600; color: var(--softd); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--white); background: var(--night2); border: 1px solid var(--lined); border-radius: 12px; padding: 13px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--white); background: var(--night2); border: 1px solid var(--lined); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.checks input { accent-color: var(--teal); width: 16px; height: 16px; padding: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; font-size: 16px; min-height: 24px; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: #FF8A7A; }

footer { background: var(--night); color: var(--softd); padding: 48px 0; border-top: 1px solid var(--lined); --bg: var(--night); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .mark .h { fill: var(--white); }
footer .wordmark { color: var(--white); }
footer .wordmark .y { color: var(--gold); }
footer p { font-size: 14px; }

@media (max-width: 900px) {
  .nav a:not(.btn) { display: none; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .ro-row { grid-template-columns: 64px 1fr 1fr 60px; }
  .ro-row .f { display: none; }
}
@media (max-width: 620px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, form { grid-template-columns: 1fr; }
  .wordmark { font-size: 26px; }
  .mark { width: 34px; height: 34px; }
  .ro-row { grid-template-columns: 56px 1fr 52px; padding: 12px 14px; }
  .ro-row .w { display: none; }
  .float { padding: 8px 10px; }
  .float .ft { font-size: 12px; } .float .fd { font-size: 11px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .metrics .card { padding: 18px; }
  .float.f1, .float.f3 { left: 0; } .float.f2, .float.f4 { right: 0; }
}

a.mail { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a.mail:hover { text-decoration-thickness: 2px; }
