/* Chocky — direction "The sentence is the layout" (taste-skill seed 1138394698). Brand palette kept. */
@font-face { font-family: "Imbue"; src: url("/fonts/imbue.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("/fonts/albert-sans.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #050805;
  --surface: #0f170f;
  --surface-2: #172217;
  --ink: #eef3ea;
  --muted: #a3b49f;
  --neon: #39ff14;
  --neon-ink: #041004;
  --orange: #ff8c00;
  --orange-ink: #140900;

  --font-display: "Imbue", "Times New Roman", serif;
  --font-text: "Albert Sans", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  --step-head: clamp(2.75rem, 1.2rem + 5vw, 6.25rem);
  --step-display: clamp(4.25rem, 0.6rem + 10.4vw, 10rem);

  --margin: clamp(1rem, 2.6vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 13vw, 15rem);
  --radius: 14px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms; --t-hover: 180ms; --t-ui: 240ms; --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; background: var(--surface); }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 4px; }
::selection { background: var(--neon); color: var(--neon-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1, h2, h3, .display, .head { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.9; text-wrap: balance; }
.display { font-size: var(--step-display); }
.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.32; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
p { max-width: 62ch; text-wrap: pretty; }

.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--neon); color: var(--neon-ink); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:hover { background: #7dff63; }
.button:active { transform: scale(0.96); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link:hover { text-decoration-color: currentColor; }

/* ---------- top bar ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--margin); position: relative; z-index: 2; }
.bar__mark { display: inline-flex; align-items: center; min-height: 44px; }
.bar__mark canvas { width: 147px; height: 21px; image-rendering: pixelated; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.hero__body { align-self: center; text-align: center; padding: 0 var(--margin) 6vh; }
.hero h1 { font-size: var(--step-display); line-height: 0.9; }
.hero h1 .line { display: block; overflow: hidden; padding: 0.06em 0 0.1em; margin-bottom: -0.1em; }
.hero h1 [data-line] { display: inline-flex; align-items: center; gap: 0.18em; justify-content: center; }
.hero__lede { margin: clamp(2rem, 5vh, 4.5rem) auto 0; max-width: 42ch; font-size: var(--step-lead); line-height: 1.32; }
.hero__soon { margin: 1.1rem auto 0; color: var(--muted); }
.hero__status { min-height: 3.2em; margin: 0.6rem auto 0; max-width: 52ch; color: var(--orange); font-weight: 500; }

/* the signal: a real control sitting in the sentence where the word "signal" would be */
.sig { --h: 0.74em; display: inline-flex; align-items: center; gap: 0.16em; height: var(--h); padding: 0 0.2em 0 0.22em; border-radius: 0.2em; background: var(--surface-2); color: var(--neon); font-family: var(--font-text); text-transform: none; letter-spacing: 0; vertical-align: middle; transition: background-color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.sig:hover { background: #203020; }
.sig:active { transform: scale(0.97); }
.sig__bars { display: inline-flex; align-items: flex-end; gap: 0.045em; height: 0.36em; }
.sig__bars i { display: block; width: 0.07em; border-radius: 0.02em; background: currentColor; transition: opacity var(--t-ui) ease, transform var(--t-ui) var(--ease-out); transform-origin: bottom; }
.sig__bars i:nth-child(1) { height: 30%; } .sig__bars i:nth-child(2) { height: 55%; } .sig__bars i:nth-child(3) { height: 78%; } .sig__bars i:nth-child(4) { height: 100%; }
.sig__label { font-size: 0.17em; font-weight: 500; line-height: 1; white-space: nowrap; min-width: 5.6em; text-align: left; }
.sig__knob { width: 0.5em; height: 0.3em; border-radius: 999px; background: var(--neon); position: relative; transition: background-color var(--t-ui) ease; }
.sig__knob::after { content: ""; position: absolute; top: 0.035em; left: 0.235em; width: 0.23em; height: 0.23em; border-radius: 50%; background: var(--neon-ink); transition: transform var(--t-ui) var(--ease-out); }
.is-offline .sig { color: var(--orange); }
.is-offline .sig__bars i { opacity: 0.22; transform: scaleY(0.4); }
.is-offline .sig__knob { background: #3a473a; }
.is-offline .sig__knob::after { transform: translateX(-0.2em); background: var(--ink); }

/* ---------- proof: BitChat ---------- */
.bitchat { row-gap: 3rem; align-items: start; }
.bitchat__words { grid-column: 1 / span 6; }
.bitchat__words h2 { font-size: var(--step-head); }
.bitchat__lines { margin-top: 2.5rem; font-size: var(--step-lead); line-height: 1.32; max-width: 30ch; }
.bitchat__lines span { color: #6f7f6b; transition: color 400ms ease; }
.bitchat__lines span.is-lit { color: var(--ink); }
.bitchat__note { margin-top: 2rem; color: var(--muted); max-width: 52ch; }
.bitchat__ui { grid-column: 8 / span 5; }

/* product fragments (data-ui keep the app's own look) */
.ui { background: var(--surface); border-radius: 22px; padding: 1.4rem; color: var(--ink); font-size: 1rem; line-height: 1.4; }
.ui__row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ui__title { font-weight: 500; margin-right: auto; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: #1c2a3a; font-size: 0.875rem; font-weight: 500; }
.chip::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--neon); }
.msgs { display: grid; gap: 0.75rem; margin-top: 1.4rem; }
.msg { max-width: 80%; padding: 0.75rem 1rem; border-radius: 18px; background: var(--surface-2); }
.msg--me { justify-self: end; background: var(--neon); color: var(--neon-ink); }
.msg__meta { display: block; margin-top: 0.3rem; font-size: 0.8125rem; opacity: 0.75; }

/* ---------- storm band ---------- */
.band { padding: 0; }
.band video { width: 100%; height: min(78svh, 56vw); object-fit: cover; filter: grayscale(1) contrast(1.1); }
.band figcaption { padding: 1rem var(--margin) 0; color: var(--muted); }

/* ---------- how it works: one bar ---------- */
.steps h2 { font-size: var(--step-head); margin-bottom: 4rem; }
.steps__bar { display: flex; gap: 6px; height: 22vh; min-height: 9rem; border-radius: var(--radius); overflow: hidden; }
.steps__seg { min-width: 12%; padding: 1.25rem; font-size: var(--step-lead); line-height: 1.1; font-weight: 500; }
.steps__seg:nth-child(1) { flex: 3 1 0; background: var(--surface-2); color: var(--ink); }
.steps__seg:nth-child(2) { flex: 1.5 1 0; background: var(--orange); color: var(--orange-ink); }
.steps__seg:nth-child(3) { flex: 1 1 0; background: var(--neon); color: var(--neon-ink); }
.steps__notes { display: flex; gap: 6px; margin-top: 1.25rem; }
.steps__notes p { min-width: 12%; padding-right: 1rem; max-width: 26ch; }
.steps__notes p:nth-child(1) { flex: 3 1 0; } .steps__notes p:nth-child(2) { flex: 1.5 1 0; } .steps__notes p:nth-child(3) { flex: 1 1 0; }
.steps__foot { margin-top: 2.5rem; color: var(--muted); max-width: 52ch; }

/* ---------- ask: the headline you can type ---------- */
.ask { display: flex; flex-direction: column; }
.ask h2 { font-size: var(--step-lead); font-family: var(--font-text); text-transform: none; letter-spacing: 0; font-weight: 500; line-height: 1.3; color: var(--muted); }
.ask__line { display: flex; align-items: center; margin-top: 1rem; }
.ask__input { width: 100%; background: none; border: 0; padding: 0; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); caret-color: var(--neon); }
.ask__input:focus { outline: none; }
.ask__line:focus-within { outline: 3px solid var(--neon); outline-offset: 8px; border-radius: 4px; }
.ask__answer { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; margin-top: 3rem; max-width: 640px; }
.ask__answer canvas { width: 108px; height: 108px; }
.ask__reply { font-size: var(--step-lead); line-height: 1.3; }
.ask__source { display: block; margin-top: 0.5rem; font-size: var(--step-small); color: var(--muted); }
.ask__examples { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 3rem; }
.ask__examples button { min-height: 44px; color: var(--ink); text-align: left; text-decoration: underline; text-decoration-color: #3d4d3a; text-underline-offset: 0.25em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.ask__examples button:hover { color: var(--neon); text-decoration-color: currentColor; }

/* ---------- day: rows on an axis, photographs in the margin ---------- */
.day__intro { padding-left: 35%; }
.day__intro h2 { font-size: var(--step-head); }
.day__row { display: grid; grid-template-columns: 35% 1fr auto; column-gap: var(--gutter); align-items: start; margin-top: clamp(4rem, 8vw, 7.5rem); }
.day__text { grid-column: 2; }
.day__text h3 { font-size: var(--step-lead); font-family: var(--font-text); text-transform: none; letter-spacing: 0; line-height: 1.2; font-weight: 500; }
.day__text p { margin-top: 0.75rem; max-width: 38ch; }
.day__row figure { grid-column: 3; }
.day__row img { object-fit: cover; filter: grayscale(1); }
.day__row figcaption { margin-top: 0.5rem; max-width: 30ch; }
.pic-a img { width: 260px; aspect-ratio: 4 / 5; } .pic-b img { width: 340px; aspect-ratio: 3 / 2; } .pic-c img { width: 200px; aspect-ratio: 1; } .pic-d img { width: 300px; aspect-ratio: 4 / 3; }
.paused { display: none; margin-top: 0.75rem; color: var(--orange); font-weight: 500; }
[data-online] { transition: opacity var(--t-ui) ease; }
.is-offline [data-online] .day__text > :not(.paused), .is-offline [data-online] figure { opacity: 0.35; }
.is-offline [data-online] .paused { display: block; }

/* ---------- compare: statement, table pushed right ---------- */
.compare h2 { font-size: var(--step-head); text-indent: 3vw; }
.compare__body { margin-top: 6rem; row-gap: 3rem; }
.compare__pic { grid-column: 1 / span 4; align-self: end; }
.compare__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.compare__pic figcaption { margin-top: 0.5rem; }
.compare__name { grid-column: 6 / span 2; font-size: var(--step-small); color: var(--muted); padding-top: 0.2rem; }
.compare table { grid-column: 8 / span 5; border-collapse: collapse; width: 100%; font-size: 1rem; }
.compare th { text-align: left; font-weight: 500; color: var(--muted); font-size: var(--step-small); padding-bottom: 1rem; }
.compare th:last-child, .compare td:last-child { text-align: right; }
.compare td { padding: 0.8rem 0.75rem 0.8rem 0; vertical-align: top; }
.compare td:first-child { width: 42%; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:last-child { color: var(--neon); font-weight: 500; padding-right: 0; }
.compare tr.gap td { padding-top: 2.2rem; }
.compare__foot { grid-column: 8 / span 5; color: var(--muted); max-width: 52ch; }

/* ---------- price: one plan as a sentence ---------- */
.price { background: var(--orange); color: var(--orange-ink); padding-block: clamp(5rem, 11vw, 10rem); }
.price h2 { font-size: var(--step-display); line-height: 0.95; }
.price h2 .once { display: inline-block; background: var(--orange-ink); color: var(--orange); padding: 0 0.15em; border-radius: 0.06em; }
.price__under { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-top: 4rem; flex-wrap: wrap; }
.price__under p { max-width: 44ch; font-size: var(--step-lead); line-height: 1.32; }
.price__soon { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--orange-ink); color: var(--orange); font-weight: 500; }

/* ---------- faq ---------- */
.faq { overflow-x: clip; }
.faq h2 { font-size: var(--step-head); }
.faq__list { margin: 5rem 0 0 33%; display: grid; gap: 0.5rem; }
.faq details { border-radius: var(--radius); transition: background-color var(--t-ui) ease; margin-inline: -1.5rem; padding: 0.9rem 1.5rem; }
.faq details[open] { background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; font-size: var(--step-lead); line-height: 1.3; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.55em; height: 0.55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-25%); transition: transform var(--t-ui) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-10%); }
.faq summary:hover { color: var(--neon); }
.faq details p { margin-top: 0.75rem; max-width: 52ch; }
.faq__more { margin: 2.5rem 0 0 33%; }

/* ---------- footer: contact as the headline ---------- */
.foot { background: var(--neon); color: var(--neon-ink); min-height: 80svh; display: flex; flex-direction: column; padding: 2.5rem var(--margin) 1.5rem; }
.foot__top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot__top p { max-width: 40ch; }
.foot__contact { margin-top: auto; padding-top: 6rem; }
.foot__contact a { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: var(--step-display); line-height: 0.9; text-decoration: none; display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
.foot__contact a:hover { transform: translateX(0.04em); }
.foot__meta { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 1.5rem; margin-top: 3rem; font-size: var(--step-small); line-height: 1.45; }
.foot__meta p { max-width: none; }
.foot__meta p:last-child { text-align: right; }
.foot__meta p:first-child a { margin-right: 1rem; }
.foot__meta .credits { max-width: 56ch; justify-self: center; }

/* ---------- document pages (privacy, support) ---------- */
.doc { max-width: 46rem; padding: 3rem var(--margin) var(--section); }
.doc h1 { font-size: var(--step-head); margin-bottom: 2.5rem; }
.doc h2 { font-family: var(--font-text); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: var(--step-lead); line-height: 1.25; margin: 3rem 0 0.75rem; }
.doc p + p, .doc ul { margin-top: 1rem; }
.doc li { margin: 0.5rem 0; }
.doc a { color: var(--neon); }
.doc-foot { padding: 2rem var(--margin) 3rem; background: var(--surface); color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: var(--step-small); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-line] { transform: translateY(108%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(140ms + var(--i) * 110ms); }
  .js .hero [data-load] { opacity: 0; transform: translateY(12px); animation: rise 520ms var(--ease-out) forwards; animation-delay: var(--d); }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .steps__seg[data-reveal] { transform: none; opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path 1000ms var(--ease-in-out); transition-delay: calc(var(--i, 0) * 140ms); }
  .js .steps__seg[data-reveal].is-in { clip-path: inset(0); }
  .day__row img, .compare__pic img { transition: transform 1600ms var(--ease-out); }
  .day__row:hover img, .compare__pic:hover img { transform: scale(1.03); }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1100px) and (min-width: 761px) {
  .day__intro { padding-left: 0; }
  .day__row { grid-template-columns: 1fr minmax(0, 42%); }
  .day__text { grid-column: 1; }
  .day__row figure { grid-column: 2; }
  .pic-a img, .pic-b img, .pic-c img, .pic-d img { width: 100%; }
  .compare__name { display: none; }
  .compare__pic { grid-column: 1 / span 4; }
  .compare table, .compare__foot { grid-column: 5 / -1; }
  .bitchat__words { grid-column: 1 / span 7; }
  .bitchat__ui { grid-column: 8 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .hero h1 { font-size: 12.5vw; }
  .hero h1 .line--slot [data-line] { flex-wrap: wrap; row-gap: 0.25em; }
  .hero h1 .line--slot .sig { order: 3; font-size: 1.7em; }
  .hero h1 .line--slot [data-line] > span:last-child { order: 2; }
  .hero h1 .line--slot [data-line]::after { content: ""; flex-basis: 100%; order: 2; }
  .bitchat__words, .bitchat__ui { grid-column: 1 / -1; }
  .steps__bar { flex-direction: column; height: auto; }
  .steps__seg { min-height: 72px; }
  .steps__seg:nth-child(1) { min-height: 200px; } .steps__seg:nth-child(2) { min-height: 110px; } .steps__seg:nth-child(3) { min-height: 76px; }
  .steps__notes { flex-direction: column; gap: 1rem; }
  .day__intro { padding-left: 0; }
  .ask__input { font-size: 9vw; }
  .day__row { grid-template-columns: 1fr; row-gap: 1.25rem; margin-top: 4rem; }
  .day__text, .day__row figure { grid-column: 1; }
  .pic-a img, .pic-b img, .pic-c img, .pic-d img { width: 100%; }
  .pic-b { width: 70%; justify-self: end; } .pic-c { width: 55%; }
  .compare h2 { text-indent: 0; }
  .compare__body { margin-top: 3rem; }
  .compare__name { display: none; }
  .compare table, .compare__foot { grid-column: 1 / -1; }
  .compare td:first-child { width: auto; }
  .compare__pic { grid-column: 4 / -1; order: 3; }
  .price h2 { font-size: 15vw; }
  .faq__list, .faq__more { margin-left: 0; }
  .faq details { margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); border-radius: 0; }
  .foot__contact a { font-size: 17vw; }
  .foot__meta { grid-template-columns: 1fr; }
  .foot__meta p:last-child { text-align: left; }
}
