/* Naesk. Avex-style restraint: dark film opening, white page, one geometric sans at normal weight,
   black and white with hairline rules. The only colour is the small timestamp signature. */
:root {
  --ink: #161513;
  --ink-2: #3a3834;
  --muted: #77736c;
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --rule: #e3e0da;
  --night: #0b0b0a;
  --night-ink: #f4f2ee;
  --night-muted: #a19d96;
  --night-rule: rgba(244, 242, 238, 0.18);
  --signal: #b8612e;
  --sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 18px; line-height: 1.6; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
em { font-style: normal; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.dim { color: var(--muted); }
.small { font-size: 13px; }
.ts { font-variant-numeric: tabular-nums; color: var(--signal); font-size: 14px; letter-spacing: 0.02em; }

/* ---------- Nav ---------- */
.nav { position: absolute; z-index: 5; left: 0; right: 0; top: 0; padding: 40px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.doc .nav { position: static; color: var(--ink); border-bottom: 1px solid var(--rule); }
.mark { text-decoration: none; font-weight: 500; font-size: 27px; letter-spacing: 0.4em; line-height: 1; white-space: nowrap; }
.nav nav { display: flex; gap: 36px; align-items: center; font-size: 16px; }
.nav nav a { text-decoration: none; opacity: 0.92; }
.nav nav a:hover { opacity: 1; }
.nav .cta { font-weight: 500; padding-bottom: 4px; border-bottom: 1px solid currentColor; }

/* ---------- Hero: the film carries the mood ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--night); color: #fff; }
.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,.6) 100%); }
.hero-copy { position: relative; z-index: 2; padding: 0 var(--pad) 72px; max-width: 1060px; }
.hero h1 { font-weight: 400; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.08; letter-spacing: -0.015em; margin-top: 12px; }
.hero h1 em { display: inline; }
.hero .ts { color: #d9b49a; }
.hero .sub { margin-top: 20px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,.78); max-width: 560px; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.btn { display: inline-block; background: var(--ink); color: #fff; border: 0; font: 500 16px/1 var(--sans); padding: 18px 26px; text-decoration: none; cursor: pointer; }
.btn:hover { background: #000; }
.hero .btn { background: #fff; color: var(--ink); }
.link { background: none; border: 0; color: inherit; font: 400 16px/1 var(--sans); cursor: pointer; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.bar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.3); background: rgba(11, 11, 10, 0.55); }
.bar a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding: 26px var(--pad); text-decoration: none; font-size: 18px; border-right: 1px solid rgba(255,255,255,.22); }
.bar a:last-child { border-right: 0; }
.bar a b { font-weight: 400; font-size: 13px; opacity: .55; font-variant-numeric: tabular-nums; }
.bar a .ts { color: #d9b49a; font-size: 13px; }
.bar a:hover .bt { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 10vw, 150px) 0; }
.sec + .sec { border-top: 1px solid var(--rule); }
.grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.grid.flip { grid-template-columns: 6fr 5fr; }
.grid.flip .col-media { order: -1; }
.grid.wide { grid-template-columns: 4fr 7fr; }
.grid.qa { grid-template-columns: 4fr 7fr; align-items: start; }
.num { display: flex; gap: 18px; align-items: baseline; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.num b { font-weight: 400; }
h2 { font-weight: 400; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -0.015em; }
h2 em { display: block; color: var(--muted); }
.lead { margin-top: 24px; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 600px; }
.col-text .dim { margin-top: 16px; max-width: 560px; font-size: 16px; }
.rules { list-style: none; margin-top: 32px; border-top: 1px solid var(--rule); font-size: 16px; }
.rules li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
figure { position: relative; }
figure video { width: 100%; background: #000; }
figure.portrait { max-width: 500px; justify-self: center; width: 100%; }
figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.sound { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,.55); color: #fff; border: 0; font: 400 13px/1 var(--sans); padding: 9px 12px; cursor: pointer; }

/* The match report */
.log { list-style: none; margin-top: 32px; border-top: 1px solid var(--ink); font-size: 15px; }
.log li { display: grid; grid-template-columns: 78px 84px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.log .ch { color: var(--muted); font-size: 13px; }
.score { margin-top: 36px; border-top: 1px solid var(--ink); }
.score-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding: 12px 0; border-bottom: 1px solid var(--rule); }
.score-head span:first-child { color: var(--ink); }
.score-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.score-row b { font-weight: 400; font-size: 46px; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.score-row p { color: var(--ink-2); }
.score-foot { font-size: 13px; color: var(--muted); padding-top: 12px; }

.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: clamp(56px, 7vw, 96px); }
.three div { border-top: 1px solid var(--ink); padding-top: 20px; }
.three h3 { font-weight: 500; font-size: 20px; }
.three p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.note { margin-top: 44px; font-size: 15px; color: var(--muted); max-width: 760px; }

/* Try it: a quiet grey band */
.try { background: var(--paper-2); }
.chatbox { position: relative; min-height: 620px; background: #fff; border: 1px solid var(--rule); display: flex; }
.chat-idle { margin: auto; text-align: center; color: var(--muted); }
.chat-idle .ts { display: block; margin-bottom: 6px; }
.chat-live { flex: 1; display: flex; }
.chat-live iframe { flex: 1; width: 100%; min-height: 620px; border: 0; background: #fff; }
.chat-fallback { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 18px; }
[hidden] { display: none !important; }
.try .btn { background: var(--ink); color: #fff; }

/* Proof: dark, like a film still */
.proof { background: var(--night); color: var(--night-ink); }
.proof .num { color: var(--night-muted); }
blockquote p { font-weight: 400; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.18; letter-spacing: -0.015em; }
blockquote footer { margin-top: 24px; color: var(--night-muted); font-size: 16px; }

/* Pricing */
.tabs { display: flex; gap: 34px; margin-top: 44px; border-bottom: 1px solid var(--rule); }
.tabs button { background: none; border: 0; color: var(--muted); font: 400 17px/1 var(--sans); padding: 0 0 16px; cursor: pointer; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected='true'] { color: var(--ink); border-color: var(--ink); }
.plan-intro { margin-top: 28px; max-width: 820px; color: var(--ink-2); font-size: 16px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-top: 1px solid var(--ink); }
.tier { padding: 30px 30px 34px; display: flex; flex-direction: column; }
.tier + .tier { border-left: 1px solid var(--rule); }
.tier:first-child { padding-left: 0; }
.tier h3 { font-weight: 500; font-size: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tier h3 em { font-size: 14px; color: var(--signal); font-weight: 400; }
.price { margin-top: 16px; font-weight: 400; font-size: 54px; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .cur { font-size: 26px; vertical-align: 20px; margin-right: 2px; }
.price .per { font-size: 15px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.for { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.incl { margin-top: 6px; font-weight: 500; font-size: 16px; }
.tier ul { list-style: none; margin: 22px 0 28px; border-top: 1px solid var(--rule); font-size: 15px; flex: 1; }
.tier li { padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.pick { align-self: flex-start; font-weight: 500; font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.tier.rec .pick { background: var(--ink); color: #fff; border: 0; padding: 16px 22px; }
.plan-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--rule); font-size: 15px; }
.plan-foot dt { font-weight: 500; }
.plan-foot dd { color: var(--muted); margin-top: 4px; }
.enterprise { display: grid; grid-template-columns: 5fr 4fr auto; gap: 44px; align-items: start; margin-top: 64px; padding: 36px; background: var(--paper-2); }
.enterprise h3 { font-weight: 500; font-size: 20px; }
.ent-title { font-size: 24px; margin: 6px 0 10px; }
.enterprise p { color: var(--ink-2); font-size: 16px; }
.enterprise ul { list-style: none; border-top: 1px solid var(--rule); font-size: 15px; }
.enterprise li { padding: 10px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }

/* Questions */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 400; font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-weight: 300; font-size: 26px; color: var(--muted); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 720px; font-size: 16px; }

/* Form */
.pilot { background: var(--paper-2); }
form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
form input, form select { display: block; width: 100%; margin-top: 8px; background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid #c9c5bd; font: 400 17px/1.3 var(--sans); padding: 10px 0; border-radius: 0; -webkit-appearance: none; appearance: none; }
form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
form input:focus, form select:focus { outline: none; border-color: var(--ink); }
form input::placeholder { color: #aaa59c; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
form .btn { margin-top: 12px; }
form .btn[disabled] { opacity: .6; cursor: wait; }
.fine { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hide { position: absolute; left: -9999px; }
.form-ok, .form-err { padding: 18px 0; margin-bottom: 20px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }

/* Footer */
.foot { background: var(--night); color: var(--night-ink); padding: 72px 0 52px; }
.foot-grid { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 40px; }
.foot-mark { font-weight: 500; font-size: 34px; letter-spacing: 0.4em; line-height: 1; }
.foot-line { margin-top: 20px; }
.foot-motto { margin-top: 6px; color: var(--night-muted); }
.foot-links { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.foot-links a { text-decoration: none; color: var(--night-muted); }
.foot-links a:hover { color: var(--night-ink); }
.foot-clock { font-size: 16px; }
.foot-clock .ts { color: #d9b49a; }
.foot-clock .dim { color: var(--night-muted); }
.foot-clock p + p { margin-top: 4px; }

/* Legal page */
.legal { max-width: 860px; padding-top: 72px; padding-bottom: 100px; }
.legal h1 { font-weight: 400; font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.015em; line-height: 1.1; }
.legal h1 em { display: block; color: var(--muted); }
.legal section { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal h2 { font-size: 24px; font-weight: 500; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.legal ul { padding-left: 20px; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .nav nav a:not(.cta) { display: none; }
  .grid, .grid.flip, .grid.wide, .grid.qa { grid-template-columns: 1fr; }
  .grid.flip .col-media { order: 0; }
  .tiers, .plan-foot, .three { grid-template-columns: 1fr; }
  .tier, .tier:first-child { padding: 28px 0; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--rule); }
  .three { gap: 28px; }
  .enterprise { grid-template-columns: 1fr; gap: 22px; padding: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .nav { padding: 24px var(--pad); }
  .mark { font-size: 21px; letter-spacing: 0.34em; }
  .hero-copy { padding-bottom: 40px; }
  .bar { grid-template-columns: 1fr; }
  .bar a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); padding: 14px var(--pad); font-size: 16px; }
  .bar a:last-child { border-bottom: 0; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .log li { grid-template-columns: 70px 1fr; }
  .log .ch { grid-column: 2; grid-row: 1; }
  .log .m { grid-column: 1 / -1; }
  .score-row { grid-template-columns: 96px 1fr; }
  .score-row b { font-size: 38px; }
  .chatbox, .chat-live iframe { min-height: 560px; }
  .foot-mark { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
