/* Tewris Voice — international site.
   Same brand colours and typefaces as elsewhere: this is one product.
   What differs: no prices, no checkout, and the webfonts are subset to
   latin only, so no other script ships with the page. */
:root {
  --display: "Raleway", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --bg: rgb(19, 22, 43);
  --bg-deep: rgb(13, 15, 32);
  --surface: rgb(32, 36, 68);
  --border: rgb(55, 62, 110);
  --hairline: rgba(255, 255, 255, 0.10);
  --text: rgb(233, 237, 247);
  --muted: rgb(138, 144, 184);
  --faint: rgba(255, 255, 255, 0.45);
  --accent: rgb(46, 154, 253);
  --accent-fill: #1B6FD1;
  --accent-fill-hi: #1560BC;
}

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/inter-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/inter-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/inter-600-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-400-latin.woff2") format("woff2"); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* ── header ────────────────────────────────────────────────────────────── */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display);
         font-size: 19px; letter-spacing: .01em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--surface);
  display: grid; place-items: center; flex: none;
}
.brand b { font-weight: 600; }
.top__nav { display: flex; gap: 20px; font-size: 14px; }
.top__nav a { color: var(--muted); }
.top__nav a:hover { color: var(--text); text-decoration: none; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 88px 0 72px; }
.kicker {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .18em; color: var(--faint); margin: 0 0 18px;
}
h1 {
  font-family: var(--display); font-weight: 300; font-size: clamp(34px, 6vw, 56px);
  line-height: 1.06; letter-spacing: -.01em; margin: 0 0 20px; max-width: 15ch;
}
h1 b { font-weight: 600; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 56ch; margin: 0 0 34px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; border: 0;
  background: var(--accent-fill); color: #fff; font: 500 15px var(--body);
  cursor: pointer;
}
.btn:hover { background: var(--accent-fill-hi); text-decoration: none; }
.btn--quiet { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn--quiet:hover { background: var(--surface); }

/* ── sections ──────────────────────────────────────────────────────────── */
section { padding: 64px 0; border-top: 1px solid var(--hairline); }
h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.15; margin: 0 0 10px;
}
.section-lead { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card h3 { font-size: 16px; margin: 0 0 8px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.step__n {
  counter-increment: step; width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--accent);
}
.step__n::before { content: counter(step); }
.step h3 { margin: 4px 0 6px; font-size: 16px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── contact ───────────────────────────────────────────────────────────── */
.contact { background: var(--bg-deep); }
.form { display: grid; gap: 14px; max-width: 520px; margin-top: 26px; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, textarea, select {
  background: var(--surface); border: 1px solid var(--border); border-radius: 11px;
  color: var(--text); font: 15px var(--body); padding: 12px 14px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.note { font-size: 13px; color: var(--faint); margin: 6px 0 0; }

/* ── footer ────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--hairline); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; }
.foot__links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__entity { max-width: 40ch; line-height: 1.6; }
.foot__entity b { color: var(--text); font-weight: 500; display: block; }

/* ── legal pages ───────────────────────────────────────────────────────── */
.doc { padding: 56px 0 72px; max-width: 760px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); max-width: none; }
.doc h2 { font-size: 20px; margin: 36px 0 10px; }
.doc h3 { font-size: 16px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc li { margin-bottom: 8px; }
.doc__meta { font-family: var(--mono); font-size: 12px; color: var(--faint);
             text-transform: uppercase; letter-spacing: .1em; margin-bottom: 26px; }
.doc__toc { background: var(--surface); border: 1px solid var(--border);
            border-radius: 12px; padding: 18px 22px; margin: 26px 0 34px; }
.doc__toc ol { margin: 0; padding-left: 20px; }

@media (max-width: 620px) {
  .hero { padding: 56px 0 48px; }
  .top__nav { gap: 14px; font-size: 13px; }
}

/* ── drawn demo ─────────────────────────────────────────────────────────── */
/* A drawing, not a screenshot. Deliberate: a screenshot of the running app
   would carry whatever happens to be on screen that day — pricing, account
   state, a half-finished panel — and it would go stale the moment the UI
   moves. The drawing shows only the thing being explained. */
.demo { background: var(--bg-deep); }
.demo__frame {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 0; overflow: hidden; margin-top: 30px;
}
.demo__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-bottom: 1px solid var(--border);
}
.demo__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.demo__title { margin-inline-start: 8px; font-size: 12px; color: var(--faint); font-family: var(--mono); }
.demo__body { padding: 26px 24px 34px; position: relative; min-height: 190px; }
.demo__label { font-size: 12px; color: var(--faint); margin: 0 0 8px; }
.demo__field {
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px;
  min-height: 88px; color: var(--text); font-size: 15px; line-height: 1.6;
}
.demo__typed { border-inline-end: 2px solid var(--accent); padding-inline-end: 2px; }
.demo__pill {
  position: absolute; inset-inline-start: 50%; inset-block-end: 18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(13, 15, 32, .95); border: 1px solid var(--border);
  font-size: 13px; white-space: nowrap;
}
.demo__pulse { width: 8px; height: 8px; border-radius: 50%; background: #F85149; }
.demo__bars { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.demo__bars i { width: 3px; height: 5px; background: var(--accent); border-radius: 2px; }
.demo__bars i:nth-child(2) { height: 12px; }
.demo__bars i:nth-child(3) { height: 8px; }
.demo__bars i:nth-child(4) { height: 14px; }
.demo__bars i:nth-child(5) { height: 6px; }

/* ── privacy statement ──────────────────────────────────────────────────── */
.statement {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(24px, 3.6vw, 34px); line-height: 1.25; margin: 0 0 14px; max-width: 20ch;
}
.statement b { font-weight: 600; }

/* ── faq ────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; margin-top: 26px; }
.faq details {
  border-block-end: 1px solid var(--hairline); padding: 18px 0;
}
.faq summary {
  cursor: pointer; font-weight: 500; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; max-width: 68ch; font-size: 15px; }

/* ── who it is for ──────────────────────────────────────────────────────── */
.roles { display: grid; gap: 0; margin-top: 24px; }
.role {
  display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 24px;
  padding: 20px 0; border-block-end: 1px solid var(--hairline); align-items: baseline;
}
.role b { font-weight: 500; }
.role p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 620px) {
  .role { grid-template-columns: 1fr; gap: 6px; }
}

/* ── hero artwork ───────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.hero__text h1 { max-width: 14ch; }
.hero__art svg { width: 100%; height: auto; display: block; }

/* The bars breathe, the caret blinks. Slow and small on purpose: this sits
   behind the sentence a visitor is reading, and motion that competes with
   reading is motion working against you. */
.hero__wave rect { animation: hero-bar 2.6s ease-in-out infinite; transform-origin: center; }
.hero__wave rect:nth-child(2) { animation-delay: .12s }
.hero__wave rect:nth-child(3) { animation-delay: .24s }
.hero__wave rect:nth-child(4) { animation-delay: .36s }
.hero__wave rect:nth-child(5) { animation-delay: .48s }
.hero__wave rect:nth-child(6) { animation-delay: .60s }
.hero__wave rect:nth-child(7) { animation-delay: .72s }
.hero__wave rect:nth-child(8) { animation-delay: .84s }
@keyframes hero-bar { 0%, 100% { transform: scaleY(1) } 50% { transform: scaleY(.62) } }

.hero__caret { animation: hero-caret 1.1s step-end infinite; }
@keyframes hero-caret { 0%, 100% { opacity: 1 } 50% { opacity: 0 } }

@media (prefers-reduced-motion: reduce) {
  .hero__wave rect, .hero__caret { animation: none; }
}

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 34px; }
  .hero__text h1 { max-width: 15ch; }
  .hero__art { max-width: 420px; }
}
