/* Venanto v3 (2026-11-01): one legible family, daylight page, one night panel. Tokens first. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/atkinson-next-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/atkinson-next-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gece: #13213c;
  --gece-2: #1c2d4d;
  --gece-text: #e9eef7;
  --gece-soft: #b7c3d8;
  --lamba: #ffc53d;
  --lamba-deep: #e9a90f;
  --gunduz: #ffffff;
  --sis: #eef2f6;
  --sis-line: #d5dde7;
  --murekkep: #182230;
  --murekkep-soft: #46536a;
  --nabiz: #1f8f5f;
  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --r-panel: 28px;
  --r-bubble: 20px;
  --r-field: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gunduz);
  color: var(--murekkep);
  font: 400 20px/1.55 var(--font);
  font-kerning: normal;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.012em; }
:focus-visible { outline: 3px solid var(--murekkep); outline-offset: 3px; border-radius: 6px; }

.v3-wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.v3-skip { position: absolute; left: 16px; top: -60px; background: var(--lamba); color: var(--murekkep); padding: 10px 16px; border-radius: 10px; font-weight: 700; z-index: 10; }
.v3-skip:focus { top: 12px; }

/* Buttons: the lamp colour is the only action colour on the page. */
.v3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 28px; border: 0; border-radius: 16px;
  background: var(--lamba); color: var(--murekkep);
  font: 700 20px/1 var(--font); text-decoration: none; cursor: pointer;
  box-shadow: inset 0 -3px 0 var(--lamba-deep);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.v3-btn:hover { box-shadow: inset 0 -3px 0 var(--lamba-deep), 0 0 0 4px rgba(255, 197, 61, 0.35); }
.v3-btn:active { transform: translateY(1px); }
.v3-btn[disabled] { opacity: 0.6; cursor: progress; }
.v3-btn--small { min-height: 48px; padding: 0 20px; font-size: 18px; border-radius: 13px; }
.v3-btn--ghost { background: var(--gunduz); box-shadow: inset 0 0 0 2px var(--murekkep); }
.v3-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--murekkep), 0 0 0 4px rgba(24, 34, 48, 0.12); }

/* Header */
.v3-top { border-bottom: 1px solid var(--sis-line); background: var(--gunduz); }
.v3-top__row { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.v3-brand { display: inline-flex; align-items: center; text-decoration: none; }
.v3-brand img { height: 42px; width: auto; display: block; }
.v3-brand--foot img { height: 36px; }
.v3-brand__lamp { width: 14px; height: 14px; border-radius: 50%; background: var(--lamba); box-shadow: 0 0 0 4px rgba(255, 197, 61, 0.28); }
.v3-nav { display: flex; gap: 26px; margin-left: auto; font-size: 18px; }
.v3-nav a { text-decoration: none; font-weight: 500; }
.v3-nav a:hover { text-decoration: underline; }

/* Hero: text and the URL box on the left, the night panel on the right. */
.v3-hero { padding: 64px 0 72px; }
.v3-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.v3-hero h1 { font-size: clamp(42px, 6.2vw, 74px); line-height: 1.02; max-width: 11ch; }
.v3-lead { margin-top: 24px; font-size: 22px; color: var(--murekkep-soft); max-width: 34ch; }
.v3-try { margin-top: 36px; max-width: 560px; }
.v3-try label, .v3-callback__form label { display: block; font-weight: 700; margin-bottom: 10px; }
.v3-try__row { display: flex; gap: 12px; }
.v3-try input, .v3-callback__form input {
  flex: 1; min-width: 0; min-height: 58px; padding: 0 18px;
  border: 2px solid var(--sis-line); border-radius: var(--r-field);
  background: var(--sis); color: var(--murekkep); font: 400 21px/1 var(--font);
}
.v3-try input:focus, .v3-callback__form input:focus { outline: none; border-color: var(--murekkep); background: var(--gunduz); }
.v3-try__status { margin-top: 14px; font-weight: 700; }
.v3-try__status.is-error { color: #a12a1c; }
.v3-try__note { margin-top: 12px; font-size: 18px; color: var(--murekkep-soft); }
.v3-hero__help { margin-top: 26px; font-size: 18px; color: var(--murekkep-soft); }
.v3-hero__help a { color: var(--murekkep); font-weight: 700; }

/* The night panel: the one bold place on the page. */
.v3-night {
  margin: 0; padding: 26px 24px 22px; border-radius: var(--r-panel);
  background: radial-gradient(120% 70% at 85% 0%, var(--gece-2) 0%, var(--gece) 62%);
  color: var(--gece-text);
}
.v3-night__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 0 4px 18px; border-bottom: 1px solid rgba(233, 238, 247, 0.12); }
.v3-night__name { font-weight: 700; font-size: 19px; }
.v3-night__duty { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--gece-soft); margin-top: 2px; }
.v3-lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--lamba); box-shadow: 0 0 12px 2px rgba(255, 197, 61, 0.65); }
.v3-night__clock { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--lamba); font-variant-numeric: tabular-nums; }
.v3-chat { list-style: none; margin: 0; padding: 20px 0 6px; display: flex; flex-direction: column; gap: 12px; }
.v3-msg { max-width: 86%; padding: 13px 17px; border-radius: var(--r-bubble); font-size: 18px; line-height: 1.45; }
.v3-msg--in { align-self: flex-start; background: rgba(233, 238, 247, 0.1); border-bottom-left-radius: 6px; }
.v3-msg--out { align-self: flex-end; background: var(--gece-text); color: var(--murekkep); border-bottom-right-radius: 6px; }
.v3-night figcaption { margin-top: 14px; padding: 0 4px; font-size: 15px; color: var(--gece-soft); }
/* One orchestrated moment: the chat writes itself once (script adds .is-playing). */
.v3-chat.is-playing .v3-msg { opacity: 0; transform: translateY(8px); }
.v3-chat.is-playing .v3-msg.is-shown { opacity: 1; transform: none; transition: opacity 260ms ease, transform 260ms ease; }

/* Sections */
.v3-section { padding: 84px 0; }
.v3-section--mist { background: var(--sis); }
.v3-section h2, .v3-final h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; max-width: 22ch; }
.v3-section__lead { margin-top: 14px; color: var(--murekkep-soft); max-width: 52ch; }

/* A night, hour by hour: the times are the structure. */
.v3-night-log { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.v3-night-log li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; padding: 26px 0; border-top: 1px solid var(--sis-line); }
.v3-night-log li:last-child { border-bottom: 1px solid var(--sis-line); }
.v3-night-log time { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--gece); font-variant-numeric: tabular-nums; }
.v3-night-log li > div { max-width: 60ch; }
.v3-quote { font-weight: 700; font-size: 22px; margin-bottom: 6px; }

/* Setup steps: a real sequence, so it is numbered. */
.v3-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; counter-reset: step; }
.v3-steps li { counter-increment: step; }
.v3-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px;
  border-radius: 50%; background: var(--gece); color: var(--lamba); font-weight: 800; font-size: 24px;
}
.v3-steps h3 { font-size: 24px; margin-bottom: 8px; }
.v3-steps p { color: var(--murekkep-soft); }

.v3-channels { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.v3-channel { padding: 22px 0; border-top: 2px solid var(--murekkep); }
.v3-channel h3 { font-size: 22px; margin-bottom: 6px; }
.v3-channel p { color: var(--murekkep-soft); }

.v3-callback { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; padding: 32px; border-radius: 22px; background: var(--gunduz); }
.v3-callback h3 { font-size: 26px; margin-bottom: 6px; }
.v3-callback p { color: var(--murekkep-soft); }

/* What it never does */
.v3-never { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
.v3-never__list { list-style: none; margin: 0; padding: 0; }
.v3-never__list li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--sis-line); font-weight: 500; }
.v3-never__list li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 18px; height: 3px; border-radius: 2px; background: var(--murekkep); }
.v3-never__foot { grid-column: 2; color: var(--murekkep-soft); }

/* Plans: one leads, the others are quiet rows. */
.v3-plans { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.v3-plan { padding: 28px; border-radius: 22px; background: var(--gunduz); display: flex; flex-direction: column; gap: 12px; }
.v3-plan h3 { font-size: 24px; }
.v3-plan__price { color: var(--murekkep-soft); }
.v3-plan__price span { font-size: 36px; font-weight: 800; color: var(--murekkep); letter-spacing: -0.02em; }
.v3-plan p:not(.v3-plan__price) { color: var(--murekkep-soft); }
.v3-plan--main { background: var(--gece); color: var(--gece-text); }
.v3-plan--main .v3-plan__price, .v3-plan--main p:not(.v3-plan__price) { color: var(--gece-soft); }
.v3-plan--main .v3-plan__price span { color: var(--gece-text); }
.v3-plan--main .v3-btn { margin-top: auto; align-self: flex-start; }
.v3-plans__foot { margin-top: 22px; color: var(--murekkep-soft); }

/* Questions */
.v3-faq details, .v3-faq h2 { max-width: 860px; }
.v3-faq h2 { margin-bottom: 28px; }
.v3-faq details { border-top: 1px solid var(--sis-line); }
.v3-faq details:last-of-type { border-bottom: 1px solid var(--sis-line); }
.v3-faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 22px; }
.v3-faq summary::-webkit-details-marker { display: none; }
.v3-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 32px; font-weight: 500; }
.v3-faq details[open] summary::after { content: "−"; }
.v3-faq details p { padding: 0 0 24px; max-width: 64ch; color: var(--murekkep-soft); }
.v3-faq a { color: var(--murekkep); font-weight: 700; }

/* Closing line and footer: back to night. */
.v3-final { background: var(--gece); color: var(--gece-text); padding: 72px 0; }
.v3-final__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.v3-foot { background: var(--gece); color: var(--gece-soft); padding: 0 0 48px; }
.v3-foot__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(233, 238, 247, 0.12); flex-wrap: wrap; }
.v3-brand--foot { color: var(--gece-text); font-size: 22px; }
.v3-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 17px; }
.v3-foot__links a { text-decoration: none; }
.v3-foot__links a:hover { text-decoration: underline; color: var(--gece-text); }
.v3-final :focus-visible, .v3-foot :focus-visible, .v3-plan--main :focus-visible { outline-color: var(--lamba); }

@media (max-width: 960px) {
  .v3-nav { display: none; }
  .v3-top__row .v3-btn { margin-left: auto; }
  .v3-hero { padding: 36px 0 56px; }
  .v3-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .v3-steps, .v3-channels, .v3-plans, .v3-never, .v3-callback { grid-template-columns: 1fr; }
  .v3-never__foot { grid-column: auto; }
  .v3-plans { gap: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 19px; }
  .v3-hero h1 { font-size: 42px; }
  .v3-lead { font-size: 20px; }
  .v3-try__row { flex-direction: column; }
  .v3-try__row .v3-btn { width: 100%; }
  .v3-night { padding: 20px 16px 18px; border-radius: 24px; }
  .v3-night__clock { font-size: 36px; }
  .v3-night-log li { grid-template-columns: 1fr; gap: 10px; }
  .v3-night-log time { font-size: 32px; }
  .v3-section { padding: 60px 0; }
  .v3-callback { padding: 22px; }
  .v3-final__row { flex-direction: column; align-items: flex-start; }
  .v3-brand { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v3-btn { transition: none; }
}

/* Language menu */
.v3-lang { position: relative; font-size: 17px; }
.v3-lang summary {
  list-style: none; cursor: pointer; min-height: 48px; display: inline-flex; align-items: center;
  padding: 0 14px; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--sis-line); font-weight: 500;
}
.v3-lang summary::-webkit-details-marker { display: none; }
.v3-lang[open] summary { box-shadow: inset 0 0 0 2px var(--murekkep); }
.v3-lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; list-style: none; margin: 0; padding: 8px;
  min-width: 190px; background: var(--gunduz); border-radius: 14px;
  box-shadow: 0 0 0 1px var(--sis-line), 0 18px 40px rgba(19, 33, 60, 0.14);
}
.v3-lang a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.v3-lang a:hover { background: var(--sis); }
.v3-lang a[aria-current="page"] { font-weight: 700; }
@media (max-width: 960px) {
  .v3-top__row { gap: 12px; }
  .v3-top__row .v3-btn { margin-left: 0; }
  .v3-lang { margin-left: auto; }
}
@media (max-width: 420px) {
  .v3-top__row .v3-btn--small { padding: 0 14px; font-size: 17px; }
}

/* The "your assistant is ready" page and the one-step sign-up (2026-11-01). */
[hidden] { display: none !important; }
.v3-top__row .v3-lang { margin-left: auto; }
.v3-btn--wide { width: 100%; }
.v3-try-main { padding: 40px 0 72px; }
.v3-try-page { max-width: 760px; }
.v3-try-title { font-size: clamp(34px, 5.4vw, 52px); line-height: 1.06; max-width: 22ch; }
.v3-try-main .v3-lead { margin-top: 14px; }
.v3-chatbox { margin-top: 30px; }
.v3-chatbox .v3-night__head { padding-bottom: 14px; }
.v3-chat--live { max-height: 420px; overflow-y: auto; overscroll-behavior: contain; padding: 18px 4px 8px; }
.v3-chat--live .v3-msg { white-space: pre-line; overflow-wrap: anywhere; }
.v3-chatbox :focus-visible { outline-color: var(--lamba); }
.v3-chips { margin-top: 18px; }
.v3-chips__label { font-size: 17px; color: var(--gece-soft); margin-bottom: 10px; }
.v3-chips__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.v3-chip {
  min-height: 48px; padding: 10px 16px; border-radius: 999px; cursor: pointer; text-align: left;
  border: 2px solid rgba(233, 238, 247, 0.28); background: transparent; color: var(--gece-text);
  font: 600 17px/1.3 var(--font);
}
.v3-chip:hover { border-color: var(--lamba); }
.v3-chip[disabled] { opacity: 0.5; cursor: progress; }
.v3-chat-form { margin-top: 20px; }
.v3-chat-form label { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 700; color: var(--gece-soft); }
.v3-chat-form__row { display: flex; gap: 10px; }
.v3-chat-form input {
  flex: 1; min-width: 0; min-height: 58px; padding: 0 16px;
  border: 2px solid rgba(233, 238, 247, 0.2); border-radius: var(--r-field);
  background: var(--gece-2); color: var(--gece-text); font: 400 20px/1 var(--font);
}
.v3-chat-form input::placeholder { color: var(--gece-soft); opacity: 0.8; }
.v3-chat-form input:focus { outline: none; border-color: var(--lamba); }
.v3-chat-form input:disabled { opacity: 0.6; }
.v3-chat-form .v3-try__status { color: var(--lamba); font-size: 17px; }
.v3-chat-form .v3-try__status.is-error { color: #ffc2b8; }
.v3-try-main .v3-try__note { margin-top: 14px; }
.v3-try-actions { margin-top: 36px; display: grid; gap: 14px; }
.v3-try-actions .v3-try__note { margin-top: 0; text-align: center; }
.v3-quiet { border-top: 1px solid var(--sis-line); padding-top: 6px; }
.v3-quiet summary { cursor: pointer; list-style: none; padding: 12px 0; font-weight: 700; font-size: 20px; }
.v3-quiet summary::-webkit-details-marker { display: none; }
.v3-quiet summary::after { content: "+"; margin-left: 10px; font-weight: 500; }
.v3-quiet[open] summary::after { content: "−"; }
.v3-quiet .v3-callback__form { padding-bottom: 12px; }
.v3-quiet .v3-try__status.is-error { color: #a12a1c; }

.v3-start-main { padding: 48px 0 84px; }
.v3-start { max-width: 600px; }
.v3-start h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.06; }
.v3-start--expired { padding-top: 24px; }
.v3-start__card { margin-top: 28px; padding: 26px; border-radius: 22px; background: var(--sis); }
.v3-start__form label { display: block; margin: 20px 0 8px; font-weight: 700; }
.v3-start__form label:first-child { margin-top: 0; }
.v3-start__form input {
  width: 100%; min-height: 58px; padding: 0 18px;
  border: 2px solid var(--sis-line); border-radius: var(--r-field);
  background: var(--gunduz); color: var(--murekkep); font: 400 21px/1 var(--font);
}
.v3-start__form input:focus { outline: none; border-color: var(--murekkep); }
.v3-password { display: flex; gap: 10px; }
.v3-password input { flex: 1; min-width: 0; }
.v3-password .v3-btn { min-height: 58px; flex: 0 0 auto; }
.v3-field-help { margin-top: 8px; font-size: 17px; color: var(--murekkep-soft); }
.v3-start__form .v3-btn--wide { margin-top: 26px; }
.v3-start__form .v3-try__status { margin-top: 16px; }
.v3-start__form .v3-try__status.is-error { color: #a12a1c; }
.v3-consent { margin-top: 18px; font-size: 17px; color: var(--murekkep-soft); }
.v3-consent a { color: var(--murekkep); font-weight: 700; }
.v3-or { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; color: var(--murekkep-soft); font-size: 17px; }
.v3-or::before, .v3-or::after { content: ""; flex: 1; height: 1px; background: var(--sis-line); }
.v3-start__back { margin-top: 24px; font-size: 18px; }
.v3-start__back a:not(.v3-btn) { font-weight: 700; }

@media (max-width: 600px) {
  .v3-try-main { padding: 28px 0 56px; }
  .v3-chat--live { max-height: 360px; }
  .v3-chips__list { gap: 8px; }
  .v3-chip { font-size: 16px; }
  .v3-start__card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-chip, .v3-quiet summary { transition: none; }
}
