@import url("tokens.css?v=20261014b");

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--heading); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 .5em; }
h3 { letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(32px, 4.2vw, 52px); max-width: 20ch; }
h3 { font-family: var(--font-body); font-size: 19px; font-weight: 650; letter-spacing: -0.005em; line-height: 1.3; }
p { margin: 0 0 1em; }
em { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
section { padding: clamp(72px, 10vw, 136px) 0; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 18px; }
.fine { font-size: 14px; color: var(--muted); max-width: 72ch; margin-top: 28px; }
.big { font-family: var(--font-accent); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: var(--heading); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--font-body); padding: 16px 26px; border-radius: var(--radius-pill); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.hero .btn-primary, .contact .btn-primary, .plan.featured .btn-primary, .duo .btn-primary { background: var(--canvas); color: var(--woodland); }
.hero .btn-primary:hover, .contact .btn-primary:hover, .plan.featured .btn-primary:hover { background: #FFFFFF; }
.contact .form .btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-secondary { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-secondary:hover { background: var(--heading); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--on-ink); border-color: var(--on-ink-line); }
.btn-ghost:hover { border-color: var(--on-ink); }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); opacity: .82; }
.nav-links a:hover { opacity: 1; }
@media (max-width: 900px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; padding: 0; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 25%, transparent) 0%, color-mix(in srgb, var(--ink) 40%, transparent) 45%, color-mix(in srgb, var(--ink) 92%, transparent) 100%); }
.hero-in { position: relative; padding: 18vh 0 clamp(56px, 9vw, 104px); }
.hero h1 { color: var(--on-ink); max-width: 14ch; }
.hero h1 em { color: var(--rosewater); }
.hero .eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-soft); margin-bottom: 22px; }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 58ch; color: var(--on-ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* why */
.why { background: var(--bg); }
.why h2 { max-width: 22ch; }
.why p { font-size: 19px; max-width: 62ch; }

/* how */
.how { background: var(--surface); }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { position: relative; padding-top: 28px; border-top: 1.5px solid var(--heading); }
.step-n { display: block; font-family: var(--font-accent); font-style: italic; font-size: 52px; color: var(--accent); line-height: 1; margin-bottom: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin-bottom: 18px; }
.card p { color: var(--text-soft); margin: 0; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* AI + human */
.duo { background: var(--ink); color: var(--on-ink); }
.duo h2, .duo h3 { color: var(--on-ink); }
.duo .kicker { color: var(--accent-soft); }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.duo-col { border: 1px solid var(--on-ink-line); border-radius: var(--radius); padding: 32px; }
.duo-col.human { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.duo ul { list-style: none; margin: 0; padding: 0; }
.duo li { padding: 11px 0; border-bottom: 1px solid var(--on-ink-line); color: var(--on-ink-soft); }
.duo li:last-child { border-bottom: 0; }
.rules { margin-top: 24px; border-radius: var(--radius); padding: 32px; background: color-mix(in srgb, var(--on-ink) 6%, transparent); }
.rules ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
@media (max-width: 800px) { .duo-grid, .rules ul { grid-template-columns: 1fr; } }

/* compare */
.table-scroll { overflow-x: auto; margin-top: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.compare table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--heading); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .us { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--heading); font-weight: 600; }
.compare thead .us { color: var(--accent-strong); }

/* tools */
.tools { background: var(--surface); }
.chips { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 12px 20px; border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--line); font-weight: 550; font-size: 15px; }
.note { margin-top: 26px; color: var(--muted); }

/* case study */
.case { background: var(--ink-deep); color: var(--on-ink); }
.case h2 { color: var(--on-ink); max-width: 24ch; }
.case .kicker { color: var(--accent-soft); }
.case-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; margin-top: 40px; align-items: start; }
.case-story p { color: var(--on-ink-soft); font-size: 18px; }
.case-story strong { color: var(--on-ink); }
.case blockquote { margin: 28px 0 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--font-accent); font-style: italic; font-size: 26px; line-height: 1.4; color: var(--on-ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--on-ink-line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--ink-deep); padding: 28px 24px; }
.stats dt { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(36px, 4vw, 52px); color: var(--accent-soft); line-height: 1; margin-bottom: 10px; }
.stats dd { margin: 0; font-size: 14.5px; color: var(--on-ink-soft); }
.case .fine { color: var(--on-ink-soft); opacity: .8; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ind-grid article { background: var(--bg); padding: 28px 24px; transition: background-color .25s ease; }
.ind-grid article:hover { background: var(--card); }
.ind-grid h3 { font-size: 20px; }
.ind-grid p { font-size: 15px; color: var(--text-soft); margin: 0; }
@media (max-width: 980px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }

/* pricing */
.pricing { background: var(--surface); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 26px; margin-bottom: 8px; }
.price { margin: 0 0 6px; color: var(--muted); }
.price span { font-family: var(--font-head); font-weight: 600; font-size: 46px; color: var(--heading); letter-spacing: -0.02em; margin-right: 4px; }
.plan-tag { color: var(--text-soft); font-size: 15px; min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 28px; flex: 1; }
.plan li { padding: 10px 0 10px 28px; border-top: 1px solid var(--line); font-size: 15.5px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan.featured { background: var(--ink); border-color: var(--ink); color: var(--on-ink); box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price span { color: var(--on-ink); }
.duo-video { margin-top: 44px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--ink-deep); }
.duo-video video { width: 100%; height: 100%; object-fit: cover; }
.plan.featured .price, .plan.featured .plan-tag { color: var(--on-ink-soft); }
.plan.featured li { border-color: var(--on-ink-line); }
.plan.featured li::before { border-color: var(--accent-soft); }
.badge { position: absolute; top: -13px; left: 30px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-photo { margin: 0; position: relative; aspect-ratio: 1200/926; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--accent) 22%, var(--surface))); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption { position: absolute; left: 20px; bottom: 18px; color: var(--on-ink); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.about-photo.no-photo img { display: none; }
.about-photo.no-photo figcaption { inset: 0; display: flex; align-items: center; justify-content: center; color: var(--heading); text-shadow: none; font-family: var(--font-accent); font-style: italic; font-size: 28px; letter-spacing: 0; text-transform: none; }
.about-text p { font-size: 17px; }
.about-text .where { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); }
.about-grid { align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } .about-photo { max-width: 460px; } }

/* faq */
.faq { background: var(--surface); }
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; color: var(--heading); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; font-weight: 300; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-soft); padding-right: 40px; }

/* contact */
.contact { background: var(--ink); color: var(--on-ink); }
.contact h2 { color: var(--on-ink); }
.contact .kicker { color: var(--accent-soft); }
.contact p { color: var(--on-ink-soft); font-size: 18px; }
.contact a { color: var(--on-ink); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.form { display: grid; gap: 16px; background: var(--card); color: var(--text); padding: 34px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--heading); }
.form input, .form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--text); padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: 15px; color: var(--text-soft) !important; min-height: 1.4em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* footer */
.foot { background: var(--ink-deep); color: var(--on-ink-soft); padding: 56px 0; }
.foot-in { display: grid; gap: 14px; }
.foot img { height: 30px; width: auto; }
.foot p { margin: 0; }
.foot-small { font-size: 14px; opacity: .8; }
.foot a { color: var(--on-ink); text-decoration: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* legal pages */
.legal section { padding-top: clamp(48px, 7vw, 88px); }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 36px 0 10px; max-width: none; }
.legal p, .legal li { font-size: 17px; color: var(--text-soft); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-strong); }

/* console showcase */
.console { background: var(--surface); }
.console .lead-p { font-size: 19px; max-width: 62ch; color: var(--text-soft); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; align-items: start; }
.shot { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.shot.main { grid-column: 1 / -1; }
.shot .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.shot .chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.shot .chrome span { margin-left: 10px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption { padding: 16px 20px 20px; }
.shot figcaption strong { display: block; color: var(--heading); font-size: 17px; margin-bottom: 4px; }
.shot figcaption span { color: var(--text-soft); font-size: 15px; }
@media (max-width: 900px) { .shots { grid-template-columns: 1fr; } }
