:root {
  --ink: #131311;
  --ink-soft: #1d1c1a;
  --paper: #fffdfc;
  --mist: #eeeae7;
  --mist-deep: #e6e0db;
  --line: rgba(19, 19, 17, 0.14);
  --line-light: rgba(255, 253, 252, 0.14);
  --muted: #6b6560;
  --muted-light: #b3aca5;
  --orange: #e45b33;
  --orange-bright: #ec6a3f;
  --orange-dark: #d94e27;
  --peach: #f5cca6;
  --cream: #fcf5e8;
  --coral: #f7d1b8;
  --amber: #f0b78c;
  --terra: #c26b3d;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --section-pad: max(24px, calc((100vw - 1220px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: var(--paper);
}

.visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------- canvases */

.pixel-text {
  display: block;
}

.orb-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ------------------------------------------------------------------- intro */

.intro {
  position: fixed;
  z-index: 100;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  inset: 0;
  background: var(--ink);
  transition: clip-path 1.1s cubic-bezier(0.76, 0, 0.24, 1), visibility 1.1s;
}

.intro.is-done {
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}

.intro-logo {
  width: min(46vw, 210px);
}

.intro p {
  margin: 0;
  color: var(--muted-light);
  font: 10px/1 var(--mono);
  letter-spacing: 0.2em;
}

/* ------------------------------------------------------------------ header */

.site-header {
  width: 100%;
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, translate 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-light);
  background: rgba(19, 19, 17, 0.88);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.site-header.is-hidden {
  translate: 0 -110%;
}

.header-inner {
  width: min(1376px, calc(100% - 48px));
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-orb {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255, 253, 252, 0.68);
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--paper);
}

/* ----------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  color: var(--paper);
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  background: var(--orange-dark);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.button-outline {
  color: var(--ink);
  border-color: rgba(19, 19, 17, 0.25);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--ink);
  background: transparent;
}

.apple-glyph {
  width: 13px;
  flex: 0 0 auto;
  fill: currentColor;
  translate: 0 -1px;
}

.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  padding: 0 22px;
  color: var(--paper);
  border: 1px solid rgba(255, 253, 252, 0.16);
  border-radius: 14px;
  background: #000;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s ease;
}

.appstore-badge:hover {
  border-color: rgba(255, 253, 252, 0.4);
  background: #0c0c0b;
  transform: translateY(-2px);
}

.appstore-badge .apple-glyph {
  width: 20px;
}

.badge-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

.badge-copy small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.75;
}

.badge-copy strong {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
}

.text-link::after {
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: -4px;
  left: 0;
  background: currentColor;
  content: "";
  opacity: 0.35;
  transition: opacity 0.2s ease;
}

.text-link:hover::after {
  opacity: 1;
}

/* ----------------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: marquee 36s linear infinite;
}

.marquee-reverse .marquee-track {
  animation-direction: reverse;
}

/* -------------------------------------------------------------------- hero */

.hero {
  min-height: max(760px, 100svh);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 0;
  background: var(--ink);
  isolation: isolate;
  text-align: center;
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.33;
  background-image: linear-gradient(rgba(255, 253, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 252, 0.045) 1px, transparent 1px);
  background-position: center center;
  background-size: min(9vw, 140px) min(9vw, 140px);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent 80%);
}

.hero-ambient {
  width: min(58vw, 850px);
  aspect-ratio: 1;
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.17;
  pointer-events: none;
}

.ambient-a {
  top: -12%;
  right: 8%;
  background: var(--terra);
  animation: ambientFloat 12s ease-in-out infinite alternate;
}

.ambient-b {
  bottom: -34%;
  left: 4%;
  background: #9c5434;
  animation: ambientFloat 15s -7s ease-in-out infinite alternate-reverse;
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  margin: 0;
  color: var(--paper);
  font-size: clamp(64px, 10.5vw, 176px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.87;
  text-shadow: 0 10px 60px rgba(19, 19, 17, 0.4);
}

.title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.title-word {
  display: inline-block;
  transform: translateY(115%);
  will-change: transform;
}

.is-ready .title-word {
  animation: titleRise 1.05s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.is-ready .title-word:nth-child(1) {
  animation-delay: 0.16s;
}

.is-ready .title-word:nth-child(2) {
  animation-delay: 0.28s;
}

.hero-title em,
.statement-title em,
.translation-heading em,
.platforms-heading em,
.chapter-intro h2 em,
.chapter-card h3 em,
.reviews-heading em,
.pricing-heading em,
.compare-heading em,
.faq-heading em,
.closing-section h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.hero-title em {
  color: var(--peach);
}

.hero-description {
  max-width: 520px;
  margin: 34px 0 0;
  color: var(--muted-light);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
}

.hero-caption {
  margin: 22px 0 0;
  color: #8f8982;
  font-size: 12px;
  letter-spacing: -0.01em;
}

/* -------------------------------------------------------------- word strip */

.word-strip {
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--ink);
}

.word-track {
  gap: clamp(28px, 3vw, 56px);
  padding-right: clamp(28px, 3vw, 56px);
  animation-duration: 24s;
}

.word-track span,
.word-track em {
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1;
  white-space: nowrap;
}

.word-track span {
  color: var(--paper);
}

.word-track span.hollow {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 253, 252, 0.55);
}

.word-track em {
  color: var(--peach);
  font-family: var(--serif);
  font-style: italic;
}

/* --------------------------------------------------------------- statement */

.statement-section {
  min-height: 70vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 11vw max(24px, calc((100vw - 1376px) / 2));
  overflow: hidden;
  color: var(--ink);
  background: var(--mist);
}

.statement-section::before,
.statement-section::after {
  width: min(48vw, 700px);
  aspect-ratio: 1;
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(20px);
  opacity: 0.55;
}

.statement-section::before {
  top: -30%;
  left: -15%;
  background: radial-gradient(circle, rgba(247, 209, 184, 0.8), transparent 65%);
}

.statement-section::after {
  right: -14%;
  bottom: -28%;
  background: radial-gradient(circle, rgba(240, 183, 140, 0.72), transparent 65%);
}

.statement-orb {
  width: clamp(150px, 20vw, 280px);
  aspect-ratio: 1;
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(24px, 9vw, 150px);
  translate: 0 -50%;
}

.statement-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 29px;
  color: var(--muted);
  font: 10px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.statement-title {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0;
  font-size: clamp(52px, 7.3vw, 118px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.91;
}

.statement-title em {
  color: var(--orange);
}

/* ------------------------------------------------------------- translation */

.translation-section {
  position: relative;
  padding: 10vw max(24px, calc((100vw - 1170px) / 2)) 10vw;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.translation-section::before {
  width: min(75vw, 1100px);
  aspect-ratio: 1;
  position: absolute;
  top: -40%;
  left: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 107, 61, 0.19), transparent 65%);
  content: "";
}

.translation-heading {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.translation-heading h2,
.platforms-heading h2,
.chapter-intro h2,
.metric-copy h2,
.reviews-heading h2,
.pricing-heading h2,
.faq-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6.1vw, 96px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.9;
}

.translation-heading em {
  color: var(--peach);
}

.translation-heading p {
  max-width: 480px;
  margin: 27px 0 0;
  color: var(--muted-light);
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.transcript-machine {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 100px);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 252, 0.17);
  border-radius: 23px;
  background: rgba(255, 253, 252, 0.045);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.19);
}

.machine-topline,
.machine-bottomline {
  min-height: 45px;
  padding: 0 19px;
  color: #a7a09a;
  font: 9px/1 var(--mono);
  letter-spacing: 0.08em;
}

.machine-topline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 253, 252, 0.12);
}

.machine-time {
  text-align: right;
}

.machine-bottomline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(15px, 5vw, 63px);
  border-top: 1px solid rgba(255, 253, 252, 0.12);
  font-size: 8px;
}

.machine-live {
  color: #f3bbb0;
}

.machine-live i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--orange);
  animation: statusPulse 1.3s infinite;
}

.transcript-columns {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  min-height: 300px;
}

.transcript {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: clamp(25px, 4vw, 55px);
}

.raw-transcript {
  background: rgba(255, 253, 252, 0.035);
}

.clean-transcript {
  background: linear-gradient(140deg, rgba(228, 91, 51, 0.22), rgba(228, 91, 51, 0.06));
}

.transcript-label {
  color: #a7a09a;
  font: 9px/1 var(--mono);
  letter-spacing: 0.1em;
}

.transcript p {
  max-width: 352px;
  margin: auto 0;
  font-size: clamp(19px, 2.1vw, 29px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.raw-transcript p {
  color: #aaa29b;
  text-decoration: underline;
  text-decoration-color: rgba(228, 91, 51, 0.52);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.clean-transcript p {
  color: var(--paper);
}

.transcript-wave {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.transcript-wave i {
  width: 2px;
  height: 25%;
  border-radius: 4px;
  background: var(--muted-light);
  animation: waveform 1.3s ease-in-out infinite alternate;
}

.transcript-wave i:nth-child(2n) { height: 78%; animation-delay: -0.6s; }
.transcript-wave i:nth-child(3n) { height: 48%; animation-delay: -0.35s; }
.transcript-wave i:nth-child(5n) { height: 100%; animation-delay: -0.8s; }

.machine-core {
  position: relative;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 253, 252, 0.12);
  border-left: 1px solid rgba(255, 253, 252, 0.12);
}

.machine-orb {
  width: 130px;
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.machine-core svg {
  width: 30px;
  position: relative;
  z-index: 1;
  fill: none;
  stroke: var(--paper);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  filter: drop-shadow(0 1px 6px rgba(19, 19, 17, 0.45));
}

.how-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
  margin: clamp(56px, 7vw, 100px) 0 0;
  padding: clamp(40px, 5vw, 64px) 0 0;
  border-top: 1px solid rgba(255, 253, 252, 0.12);
  list-style: none;
}

.step-no {
  color: var(--orange-bright);
  font: 10px/1 var(--mono);
  letter-spacing: 0.1em;
}

.how-steps h3 {
  margin: 14px 0 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.how-steps p {
  margin: 12px 0 0;
  color: var(--muted-light);
  font-size: 14px;
  letter-spacing: -0.025em;
  line-height: 1.55;
}

/* --------------------------------------------------------------- platforms */

.platforms-section {
  position: relative;
  padding: 10vw var(--section-pad) 11vw;
  overflow: hidden;
  color: var(--paper);
  background: #1b1a18;
}

.platforms-section::before {
  width: 80%;
  aspect-ratio: 1;
  position: absolute;
  top: -20%;
  right: -36%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 183, 140, 0.14), transparent 63%);
  content: "";
}

.platforms-heading {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.platforms-heading em {
  color: var(--orange-bright);
}

.platforms-heading p {
  max-width: 470px;
  margin: 27px 0 0;
  color: var(--muted-light);
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.platform-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 80px);
}

.platform-card {
  padding: 26px;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  background: rgba(255, 253, 252, 0.035);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 253, 252, 0.28);
}

.platform-card h3 {
  margin: 26px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.platform-card > p {
  max-width: 470px;
  margin: 12px 0 0;
  color: var(--muted-light);
  font-size: 14px;
  letter-spacing: -0.025em;
  line-height: 1.55;
}

/* iPhone keyboard demo, modeled on the real Klar keyboard */

.kbd-demo {
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 252, 0.12);
  border-radius: 16px;
  background: #131311;
}

.kbd-note {
  padding: 16px 18px 14px;
}

.kbd-note p {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.kbd-caret {
  width: 2px;
  height: 14px;
  display: inline-block;
  vertical-align: -2px;
  margin-left: 2px;
  background: var(--orange);
  animation: blink 1s steps(2) infinite;
}

.kbd-board {
  padding: 10px 8px 12px;
  border-top: 1px solid rgba(255, 253, 252, 0.08);
  background: #1f1f21;
}

.kbd-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 4px 10px;
}

.kbd-wave {
  width: 34px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  border-radius: 99px;
  background: #34343a;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.kbd-wave i {
  width: 2.5px;
  border-radius: 2px;
  background: var(--orange);
  animation: miniWave 0.7s ease-in-out infinite alternate;
}

.kbd-wave i:nth-child(1) { height: 7px; }
.kbd-wave i:nth-child(2) { height: 13px; animation-delay: -0.3s; }
.kbd-wave i:nth-child(3) { height: 10px; animation-delay: -0.5s; }
.kbd-wave i:nth-child(4) { height: 6px; animation-delay: -0.2s; }

.kbd-style {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: var(--orange-bright);
  border-radius: 99px;
  background: #34343a;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.kbd-style b {
  font-weight: 500;
  font-size: 10px;
}

.kbd-gear {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-bright);
  border-radius: 50%;
  background: #34343a;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  font-size: 14px;
}

.kbd-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 7px;
}

.kbd-row:first-of-type {
  margin-top: 0;
}

.kbd-row span {
  min-width: 8.2%;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  border-radius: 6px;
  background: #55555c;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  font-size: 13px;
  font-weight: 500;
}

.kbd-row-mid {
  padding: 0 4.5%;
}

.kbd-alt {
  background: #34343a !important;
  font-size: 12px !important;
}

.kbd-wide {
  min-width: 11.5% !important;
}

.kbd-row-bottom .kbd-alt {
  min-width: 20%;
}

.kbd-space {
  flex: 1;
  max-width: 52%;
  font-size: 12px !important;
}

.kbd-under {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px 2px;
}

.kbd-globe {
  color: #9a9aa2;
  font-size: 17px;
}

.kbd-mic {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
}

.kbd-mic i {
  width: 2.5px;
  border-radius: 2px;
  background: #9a9aa2;
}

.kbd-mic i:nth-child(1) { height: 7px; }
.kbd-mic i:nth-child(2) { height: 13px; }
.kbd-mic i:nth-child(3) { height: 9px; }

/* Mac pill demo */

.mac-demo {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 253, 252, 0.12);
  border-radius: 16px;
  background: #131311;
}

.dynamic-pill-inner {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 18px 11px 12px;
  border: 1px solid rgba(255, 253, 252, 0.16);
  border-radius: 99px;
  background: #0c0c0b;
}

.pill-orb {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  position: relative;
}

.pill-orb .orb-canvas {
  width: 200%;
  height: 200%;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.pill-orb i {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 223, 169, 0.3);
  border-radius: 50%;
  animation: pulseRing 1.9s ease-out infinite;
}

.pill-copy {
  display: grid;
  gap: 4px;
}

.pill-copy strong {
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.pill-copy small {
  color: #a7a09a;
  font-size: 9px;
}

.pill-levels {
  height: 16px;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.pill-levels i {
  width: 2px;
  height: 30%;
  display: block;
  border-radius: 2px;
  background: var(--orange-bright);
  animation: miniWave 0.7s ease-in-out infinite alternate;
}

.pill-levels i:nth-child(2) { height: 80%; animation-delay: -0.2s; }
.pill-levels i:nth-child(3) { height: 100%; animation-delay: -0.5s; }
.pill-levels i:nth-child(4) { height: 54%; animation-delay: -0.1s; }
.pill-levels i:nth-child(5) { height: 74%; animation-delay: -0.4s; }

.mac-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #a7a09a;
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mac-hint span {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 6px;
  background: var(--paper);
  font-size: 11px;
}

/* ---------------------------------------------------------------- chapters */

.chapters-section {
  padding: 10vw var(--section-pad) 11vw;
  color: var(--ink);
  background: var(--mist);
}

.chapter-intro {
  max-width: 740px;
}

.chapter-intro h2 em {
  color: var(--orange);
}

.chapter-intro > p:last-child {
  max-width: 460px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: clamp(50px, 6vw, 90px);
}

.chapter-card {
  min-height: 520px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.chapter-card:hover {
  transform: translateY(-4px);
}

.card-no {
  color: currentColor;
  font: 10px/1 var(--mono);
  opacity: 0.65;
}

.chapter-card h3 {
  margin: auto 0 0;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.chapter-card h3 em {
  color: inherit;
}

.card-description {
  max-width: 280px;
  margin: 16px 0 0;
  font-size: 13px;
  letter-spacing: -0.03em;
  line-height: 1.45;
  opacity: 0.67;
}

/* style card */

.card-style {
  color: var(--paper);
  background: #2c2a27;
}

.style-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  align-self: flex-start;
  margin-top: 24px;
  padding: 4px;
  border: 1px solid rgba(255, 253, 252, 0.15);
  border-radius: 99px;
  background: rgba(255, 253, 252, 0.06);
}

.style-switcher button {
  padding: 8px 12px;
  color: #aaa29b;
  border: 0;
  border-radius: 99px;
  background: transparent;
  font: 10px/1 var(--mono);
  transition: color 0.2s ease, background 0.2s ease;
}

.style-switcher button:hover {
  color: var(--paper);
}

.style-switcher button.active {
  color: var(--ink);
  background: var(--peach);
}

.style-text {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 253, 252, 0.17);
  border-radius: 14px;
  background: rgba(255, 253, 252, 0.08);
}

.style-text p {
  min-height: 66px;
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.045em;
  line-height: 1.25;
  transition: opacity 0.18s ease;
}

.style-text p.is-swapping {
  opacity: 0;
}

.style-text span {
  display: block;
  margin-top: 12px;
  color: var(--peach);
  font: 8px/1.2 var(--mono);
}

/* dictionary card */

.card-dictionary {
  color: var(--ink);
  background: var(--peach);
}

.dictionary-ui {
  margin-top: 24px;
  padding: 16px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 20px 40px rgba(135, 73, 35, 0.19);
}

.dictionary-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font: 8px/1 var(--mono);
  letter-spacing: 0.08em;
}

.dictionary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  border-top: 1px solid var(--line);
}

.dictionary-row:first-child {
  border-top: 0;
}

.dictionary-row b {
  font-size: 12px;
  letter-spacing: -0.04em;
}

.dictionary-row i {
  color: var(--orange);
  font-size: 12px;
  font-style: normal;
}

.dictionary-row.is-new {
  animation: rowIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dictionary-add {
  width: 100%;
  margin-top: 4px;
  padding: 10px 0 4px;
  color: var(--orange-dark);
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  transition: color 0.2s ease;
}

.dictionary-add:hover {
  color: var(--ink);
}

.dictionary-add:disabled {
  color: var(--muted);
  cursor: default;
}

.card-dictionary h3 em {
  color: var(--orange);
}

/* snippet card */

.card-snippet {
  color: var(--paper);
  background: linear-gradient(145deg, #c76c40, #9f4a2a);
}

.snippet-ui {
  margin-top: 24px;
}

.snippet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.snippet-pills button {
  padding: 8px 12px;
  color: var(--cream);
  border: 1px solid rgba(255, 232, 207, 0.4);
  border-radius: 99px;
  background: transparent;
  font: 9px/1 var(--mono);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.snippet-pills button:hover {
  border-color: #ffe8cf;
}

.snippet-pills button.active {
  color: var(--ink);
  border-color: #ffe8cf;
  background: #ffe8cf;
}

.snippet-result {
  min-height: 116px;
  margin-top: 9px;
  padding: 18px;
  color: var(--ink);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 18px 30px rgba(91, 37, 17, 0.16);
  font-size: 14.5px;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.snippet-caret {
  width: 3px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  background: var(--orange);
  animation: blink 0.9s steps(2) infinite;
}

/* --------------------------------------------------------------- languages */

.languages-section {
  position: relative;
  padding: 10vw var(--section-pad) 11vw;
  overflow: hidden;
  color: var(--paper);
  background: #161513;
}

.lang-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lang-cloud span {
  position: absolute;
  color: var(--paper);
  font-weight: 500;
  letter-spacing: -0.04em;
  animation: langFloat 9s ease-in-out infinite alternate;
}

.lang-cloud span:nth-child(1) { top: 9%; left: 6%; font-size: 30px; opacity: 0.16; }
.lang-cloud span:nth-child(2) { top: 14%; right: 12%; color: var(--peach); font-family: var(--serif); font-style: italic; font-size: 44px; opacity: 0.3; animation-duration: 11s; animation-delay: -3s; }
.lang-cloud span:nth-child(3) { top: 38%; right: 5%; font-size: 22px; opacity: 0.14; filter: blur(1px); animation-delay: -6s; }
.lang-cloud span:nth-child(4) { top: 58%; right: 16%; color: var(--amber); font-size: 34px; opacity: 0.24; animation-duration: 13s; animation-delay: -2s; }
.lang-cloud span:nth-child(5) { bottom: 12%; right: 7%; font-size: 26px; opacity: 0.17; animation-delay: -8s; }
.lang-cloud span:nth-child(6) { bottom: 7%; left: 12%; color: var(--peach); font-family: var(--serif); font-style: italic; font-size: 38px; opacity: 0.26; animation-duration: 12s; }
.lang-cloud span:nth-child(7) { top: 30%; right: 30%; font-size: 24px; opacity: 0.2; animation-delay: -4s; }
.lang-cloud span:nth-child(8) { bottom: 30%; left: 5%; font-size: 21px; opacity: 0.15; filter: blur(1px); animation-duration: 10s; animation-delay: -1s; }
.lang-cloud span:nth-child(9) { top: 6%; left: 38%; font-size: 20px; opacity: 0.13; filter: blur(1px); animation-delay: -7s; }
.lang-cloud span:nth-child(10) { bottom: 42%; right: 36%; color: var(--coral); font-size: 27px; opacity: 0.2; animation-duration: 14s; animation-delay: -5s; }
.lang-cloud span:nth-child(11) { bottom: 16%; left: 34%; font-size: 22px; opacity: 0.15; animation-delay: -9s; }
.lang-cloud span:nth-child(12) { top: 48%; left: 3%; color: var(--amber); font-size: 30px; opacity: 0.2; animation-duration: 11s; animation-delay: -2.5s; }

.languages-heading {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.languages-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6.1vw, 96px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.9;
}

.languages-heading em {
  color: var(--peach);
}

.languages-heading p {
  max-width: 470px;
  margin: 27px 0 0;
  color: var(--muted-light);
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.lang-demo {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: clamp(44px, 5vw, 70px) auto 0;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 22px;
  background: rgba(255, 253, 252, 0.04);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lang-label {
  display: block;
  color: #a7a09a;
  font: 9px/1 var(--mono);
  letter-spacing: 0.1em;
}

.lang-source {
  padding: 22px 24px 18px;
}

.lang-source p {
  margin: 12px 0 0;
  color: #aaa29b;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.lang-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 24px 20px;
  border-bottom: 1px solid var(--line-light);
}

.lang-pills button {
  padding: 9px 14px;
  color: var(--muted-light);
  border: 1px solid var(--line-light);
  border-radius: 99px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-pills button:hover {
  color: var(--paper);
  border-color: rgba(255, 253, 252, 0.4);
}

.lang-pills button.active {
  color: var(--ink);
  border-color: var(--peach);
  background: var(--peach);
}

.lang-result {
  padding: 20px 24px 22px;
  background: linear-gradient(140deg, rgba(228, 91, 51, 0.2), rgba(228, 91, 51, 0.05));
}

.lang-result p {
  min-height: 34px;
  margin: 12px 0 0;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.lang-count {
  margin: 0;
  padding: 14px 24px;
  color: #a7a09a;
  border-top: 1px solid var(--line-light);
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-count b {
  color: var(--orange-bright);
}

@keyframes langFloat {
  from { transform: translateY(-10px); }
  to { transform: translateY(12px); }
}

/* ------------------------------------------------------------------ metric */

.metric-section {
  min-height: 780px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 10vw 24px;
  color: var(--ink);
  background: var(--paper);
}

.metric-section::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(19, 19, 17, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 19, 17, 0.045) 1px, transparent 1px);
  background-size: 105px 105px;
  content: "";
  mask-image: radial-gradient(circle at 50% 46%, black, transparent 77%);
  -webkit-mask-image: radial-gradient(circle at 50% 46%, black, transparent 77%);
}

.metric-orbit {
  width: min(72vw, 750px);
  aspect-ratio: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(19, 19, 17, 0.12);
  border-radius: 50%;
  translate: -50% -50%;
}

.metric-orbit::before,
.metric-orbit::after {
  position: absolute;
  border: 1px dashed rgba(19, 19, 17, 0.16);
  border-radius: 50%;
  content: "";
}

.metric-orbit::before {
  inset: 12%;
  animation: spin 42s linear infinite reverse;
}

.metric-orbit::after {
  inset: 25%;
  animation: spin 31s linear infinite;
}

.metric-orb {
  width: 28%;
  aspect-ratio: 1;
  position: absolute;
  top: 3%;
  left: 66%;
}

.orbit-label {
  position: absolute;
  padding: 7px 10px;
  color: var(--muted);
  border: 1px solid rgba(19, 19, 17, 0.13);
  border-radius: 99px;
  background: rgba(255, 253, 252, 0.74);
  box-shadow: 0 5px 14px rgba(19, 19, 17, 0.06);
  font: 9px/1 var(--mono);
  letter-spacing: 0.02em;
}

.label-one { top: 8%; left: 14%; }
.label-two { right: 6%; bottom: 23%; }
.label-three { bottom: 9%; left: 21%; }

.metric-copy {
  max-width: 680px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.metric-number {
  margin: 0;
  color: var(--orange);
  font-size: clamp(135px, 22vw, 310px);
  font-weight: 500;
  letter-spacing: -0.13em;
  line-height: 0.57;
}

.metric-copy h2 {
  margin: 46px 0 0;
  font-size: clamp(39px, 5.5vw, 76px);
}

.metric-copy > p:last-child {
  max-width: 440px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

/* ----------------------------------------------------------------- reviews */

.reviews-section {
  position: relative;
  padding: 10vw 0 11vw;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.reviews-section::before {
  width: min(60vw, 900px);
  aspect-ratio: 1;
  position: absolute;
  top: -30%;
  right: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 107, 61, 0.15), transparent 65%);
  content: "";
}

.reviews-heading {
  max-width: 760px;
  position: relative;
  z-index: 1;
  padding: 0 var(--section-pad);
}

.reviews-heading em {
  color: var(--peach);
}

.reviews-heading p {
  max-width: 420px;
  margin: 27px 0 0;
  color: var(--muted-light);
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.review-marquee {
  display: grid;
  gap: 14px;
  margin-top: clamp(44px, 5vw, 70px);
}

.review-marquee .marquee:hover .marquee-track {
  animation-play-state: paused;
}

.review-track {
  gap: 14px;
  padding-right: 14px;
  animation-duration: 55s;
}

.review-card {
  width: 340px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: 18px;
  background: rgba(255, 253, 252, 0.035);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.review-card:hover {
  border-color: rgba(255, 253, 252, 0.3);
  background: rgba(255, 253, 252, 0.06);
}

.review-stars {
  display: flex;
  align-items: center;
  color: var(--peach);
  font-size: 11px;
  letter-spacing: 2px;
}

.review-stars b {
  margin-left: 7px;
  color: #8f8982;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0;
}

.star-half {
  background: linear-gradient(90deg, var(--peach) 50%, rgba(255, 253, 252, 0.22) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.star-empty {
  color: rgba(255, 253, 252, 0.22);
}

.review-card p {
  margin: 14px 0 18px;
  font-size: 14.5px;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.review-card footer {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.review-card b {
  font-size: 12.5px;
  letter-spacing: -0.02em;
}

.review-card footer span {
  color: #8f8982;
  font-size: 11px;
}

/* ----------------------------------------------------------------- pricing */

.pricing-section {
  position: relative;
  padding: 10vw var(--section-pad) 11vw;
  color: var(--ink);
  background: var(--mist);
  overflow: hidden;
}

.pricing-heading {
  max-width: 740px;
  position: relative;
  z-index: 1;
}

.pricing-heading em {
  color: var(--orange);
}

.pricing-heading > p:last-child {
  max-width: 460px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.plan-duo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
  max-width: 860px;
  margin: clamp(44px, 5vw, 70px) auto 0;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.plan-pro {
  color: var(--paper);
  border-color: transparent;
  background: var(--ink);
  box-shadow: 0 30px 60px rgba(19, 19, 17, 0.22);
}

.plan-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-card h3 {
  margin: 0;
  color: var(--muted);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-pro h3 {
  color: var(--peach);
}

.plan-tag {
  padding: 5px 10px;
  color: var(--paper);
  border-radius: 99px;
  background: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.billing-toggle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  padding: 4px;
  border: 1px solid rgba(255, 253, 252, 0.14);
  border-radius: 99px;
  background: rgba(255, 253, 252, 0.06);
}

.toggle-thumb {
  width: calc((100% - 8px) / 3);
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 99px;
  background: var(--paper);
  transition: translate 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.billing-toggle button {
  position: relative;
  z-index: 1;
  padding: 9px 0;
  color: var(--muted-light);
  border: 0;
  border-radius: 99px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}

.billing-toggle button.active {
  color: var(--ink);
}

.plan-price-wrap {
  transition: opacity 0.18s ease, translate 0.18s ease;
}

.plan-price-wrap.is-swapping {
  opacity: 0;
  translate: 0 6px;
}

.plan-price {
  margin: 18px 0 0;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
}

.plan-price > span:last-child {
  margin-left: 5px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.plan-pro .plan-price > span:last-child {
  color: var(--muted-light);
}

.plan-billing {
  min-height: 36px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.plan-pro .plan-billing {
  color: var(--muted-light);
}

.plan-perks {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12.5px;
  letter-spacing: -0.02em;
}

.plan-pro .plan-perks {
  border-top-color: rgba(255, 253, 252, 0.14);
}

.plan-perks li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.plan-perks li::before {
  color: var(--orange);
  content: "\2713";
  font-size: 11px;
  font-weight: 700;
}

.plan-pro .plan-perks li::before {
  color: var(--orange-bright);
}

.plan-cta {
  margin-top: auto;
  align-self: stretch;
}

.plan-note {
  position: relative;
  z-index: 1;
  max-width: 660px;
  margin: 20px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

/* ------------------------------------------------------- comparison table */

.compare {
  position: relative;
  z-index: 1;
  margin-top: clamp(70px, 8vw, 120px);
}

.compare-kicker {
  margin: 0;
  color: var(--muted);
  font: 10px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-heading h3 {
  margin: 20px 0 0;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.compare-heading em {
  color: var(--orange);
}

.swipe-hint {
  display: none;
  margin: 28px 0 -18px;
  color: var(--muted);
  font: 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.compare-scroll {
  margin-top: clamp(36px, 5vw, 60px);
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  font-size: 13px;
  letter-spacing: -0.02em;
  text-align: center;
  vertical-align: middle;
}

.compare-table thead th {
  padding-top: 22px;
  padding-bottom: 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-table tbody tr + tr th,
.compare-table tbody tr + tr td {
  border-top: 1px solid rgba(19, 19, 17, 0.07);
}

.compare-table tbody th {
  width: 34%;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: left;
}

.compare-table td {
  color: var(--muted);
  font-weight: 500;
}

.compare-table .col-pro {
  color: var(--orange-dark);
  background: rgba(228, 91, 51, 0.07);
  font-weight: 700;
}

.compare-table thead .col-pro {
  border-bottom-color: rgba(228, 91, 51, 0.25);
}

.pro-pill {
  display: inline-block;
  padding: 6px 13px;
  color: var(--paper);
  border-radius: 99px;
  background: var(--orange);
  letter-spacing: 0.08em;
}

.cell-yes {
  font-size: 14px;
}

.cell-yes.muted {
  opacity: 0.45;
}

.cell-no {
  font-size: 10px;
  opacity: 0.28;
}

.compare-footnote {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------- faq */

.faq-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(45px, 7vw, 120px);
  padding: 10vw var(--section-pad) 11vw;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.faq-section::before {
  width: min(60vw, 900px);
  aspect-ratio: 1;
  position: absolute;
  bottom: -50%;
  left: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 107, 61, 0.16), transparent 65%);
  content: "";
}

.faq-heading {
  position: relative;
  z-index: 1;
}

.faq-heading em {
  color: var(--peach);
}

.faq-heading p {
  max-width: 340px;
  margin: 24px 0 0;
  color: var(--muted-light);
  font-size: 14px;
  letter-spacing: -0.025em;
  line-height: 1.55;
}

.faq-heading p a {
  color: var(--peach);
}

.faq-heading p a:hover {
  text-decoration: underline;
}

.faq-list {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-light);
}

.faq-item {
  border-bottom: 1px solid var(--line-light);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 2px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  letter-spacing: -0.045em;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--peach);
}

.faq-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  position: relative;
  border: 1px solid rgba(255, 253, 252, 0.25);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  width: 10px;
  height: 1.5px;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: currentColor;
  content: "";
  transition: rotate 0.35s ease;
}

.faq-icon::after {
  rotate: 90deg;
}

.faq-item[open] .faq-icon {
  color: var(--ink);
  border-color: var(--peach);
  background: var(--peach);
}

.faq-item[open] .faq-icon::after {
  rotate: 0deg;
}

.faq-body {
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body p {
  max-width: 560px;
  margin: 0;
  padding: 2px 40px 26px 2px;
  color: var(--muted-light);
  font-size: 14.5px;
  letter-spacing: -0.025em;
  line-height: 1.6;
}

/* ----------------------------------------------------------------- closing */

.closing-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(110px, 13vw, 180px) 24px clamp(110px, 13vw, 180px);
  color: var(--paper);
  background: #161513;
  text-align: center;
}

.closing-section::before {
  width: min(70vw, 890px);
  aspect-ratio: 1;
  position: absolute;
  z-index: 0;
  top: 40%;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 91, 51, 0.18), transparent 67%);
  content: "";
  translate: -50% -50%;
}

.closing-orb {
  width: clamp(170px, 21vw, 280px);
  aspect-ratio: 1;
  position: relative;
  z-index: 1;
  margin-bottom: clamp(-16px, -1vw, -8px);
}

.closing-section h2 {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  font-size: clamp(73px, 10.6vw, 162px);
  font-weight: 500;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.closing-section h2 em {
  color: var(--peach);
}

.closing-description {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  color: var(--muted-light);
  font-size: 15px;
  letter-spacing: -0.03em;
}

.closing-actions {
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  padding: clamp(56px, 6vw, 90px) var(--section-pad) 30px;
  color: var(--paper);
  border-top: 1px solid var(--line-light);
  background: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: clamp(40px, 6vw, 110px);
}

.footer-mark {
  height: 18px;
}

.footer-brand p {
  max-width: 300px;
  margin: 20px 0 0;
  color: var(--muted-light);
  font-size: 13px;
  letter-spacing: -0.025em;
  line-height: 1.6;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.footer-nav > div {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
}

.footer-nav p {
  margin: 0 0 6px;
  color: #8f8982;
  font: 10px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav a {
  color: var(--muted-light);
  font-size: 13px;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(44px, 5vw, 70px);
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: #8f8982;
  font-size: 11px;
  letter-spacing: -0.01em;
}

.footer-bottom p {
  margin: 0;
}

.back-top {
  transition: color 0.2s ease;
}

.back-top:hover {
  color: var(--paper);
}

.back-top span {
  display: inline-block;
  margin-left: 4px;
  color: var(--orange);
  font-size: 13px;
}

/* -------------------------------------------------------------- legal pages */

.legal {
  min-height: 74vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(150px, 17vw, 230px) var(--section-pad) clamp(80px, 10vw, 130px);
  background: var(--ink);
  isolation: isolate;
}

.legal::before {
  width: min(60vw, 820px);
  aspect-ratio: 1;
  position: absolute;
  z-index: -1;
  top: -26%;
  right: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 107, 61, 0.16), transparent 65%);
  content: "";
}

.legal-kicker {
  margin: 0 0 22px;
  color: var(--muted-light);
  font: 10px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.92;
}

.legal h1 em {
  color: var(--peach);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.legal-note {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted-light);
  font-size: 15px;
  letter-spacing: -0.03em;
  line-height: 1.6;
}

.legal-note a {
  color: var(--peach);
}

.legal-note a:hover {
  text-decoration: underline;
}

.legal .text-link {
  margin-top: 34px;
}

.legal-container {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}

.legal-meta {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-body {
  margin-top: 48px;
  color: var(--mist);
  font-size: 16px;
  line-height: 1.75;
}

.legal-body h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--paper);
  margin: 44px 0 16px 0;
  letter-spacing: -0.03em;
}

.legal-body h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--peach);
}

.legal-body p {
  margin: 0 0 20px 0;
  color: var(--muted-light);
}

.legal-body strong {
  color: var(--paper);
  font-weight: 600;
}

.legal-body ul {
  margin: 0 0 24px 0;
  padding-left: 20px;
  color: var(--muted-light);
}

.legal-body li {
  margin-bottom: 10px;
}

.legal-body a {
  color: var(--peach);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body a:hover {
  color: var(--orange-bright);
}


/* ------------------------------------------------------------------ reveal */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-blur {
  transform: translateY(30px) scale(0.985);
  filter: blur(10px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.chapter-grid .reveal:nth-child(2),
.how-steps .reveal:nth-child(2),
.platform-cards .reveal:nth-child(2) {
  transition-delay: 0.11s;
}

.chapter-grid .reveal:nth-child(3),
.how-steps .reveal:nth-child(3) {
  transition-delay: 0.2s;
}

/* -------------------------------------------------------------- animations */

@keyframes titleRise {
  to { transform: translateY(0); }
}

@keyframes orbIn {
  from { opacity: 0; scale: 0.6; }
  to { opacity: 1; scale: 1; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes ambientFloat {
  from { transform: translate3d(-3%, -1%, 0) scale(0.95); }
  to { transform: translate3d(5%, 6%, 0) scale(1.08); }
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 183, 140, 0.42); }
  70% { box-shadow: 0 0 0 6px rgba(240, 183, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 183, 140, 0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes orbHover {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

@keyframes pulseRing {
  from { scale: 0.77; opacity: 0.8; }
  to { scale: 1.21; opacity: 0; }
}

@keyframes miniWave {
  from { transform: scaleY(0.4); }
  to { transform: scaleY(1); }
}

@keyframes waveform {
  from { transform: scaleY(0.35); opacity: 0.42; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes rowIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.orb-float {
  animation: orbHover 7s ease-in-out infinite;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .platform-cards {
    grid-template-columns: 1fr;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .chapter-card {
    min-height: 0;
  }

  .chapter-card h3 {
    margin-top: 40px;
  }

  .plan-duo {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: calc(100% - 32px);
    gap: 20px;
    padding: 12px 0;
  }

  .brand-orb {
    width: 30px;
    height: 30px;
  }

  .brand-name {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 700px;
    padding: 120px 20px 0;
  }

  .hero-grid {
    background-size: 74px 74px;
  }

  .hero-orb-wrap {
    width: 240px;
    top: -70px;
  }

  .hero-title {
    margin-top: 70px;
    font-size: clamp(56px, 16vw, 90px);
  }

  .hero-description {
    max-width: 320px;
    margin-top: 26px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 17px;
    margin-top: 26px;
  }

  .appstore-badge {
    min-height: 52px;
    padding: 0 19px;
  }

  .hero-marquee {
    margin-top: 48px;
    padding-bottom: 32px;
  }

  .word-track span,
  .word-track em {
    font-size: 40px;
  }

  .statement-section {
    min-height: 480px;
    padding: 96px 20px;
  }

  .statement-orb {
    width: 110px;
    top: 44px;
    right: 20px;
    translate: 0 0;
  }

  .languages-section {
    padding: 96px 20px 90px;
  }

  .languages-heading h2 {
    font-size: clamp(45px, 13.5vw, 72px);
  }

  .lang-cloud span {
    font-size: 16px !important;
  }

  .lang-cloud span:nth-child(3),
  .lang-cloud span:nth-child(7),
  .lang-cloud span:nth-child(9),
  .lang-cloud span:nth-child(10),
  .lang-cloud span:nth-child(11) {
    display: none;
  }

  .lang-source,
  .lang-result {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lang-pills {
    padding: 0 18px 18px;
  }

  .statement-title {
    font-size: clamp(50px, 14.5vw, 77px);
    line-height: 0.89;
  }

  .translation-section {
    padding: 96px 20px 90px;
  }

  .translation-heading h2,
  .platforms-heading h2,
  .chapter-intro h2,
  .reviews-heading h2,
  .pricing-heading h2,
  .faq-heading h2 {
    font-size: clamp(45px, 13.5vw, 72px);
  }

  .transcript-machine {
    margin-top: 52px;
    border-radius: 17px;
  }

  .machine-topline,
  .machine-bottomline {
    min-height: 40px;
    padding: 0 12px;
    font-size: 7px;
  }

  .machine-bottomline {
    gap: 9px;
    font-size: 6px;
  }

  .transcript-columns {
    grid-template-columns: 1fr;
  }

  .transcript {
    min-height: 195px;
    padding: 25px 22px;
  }

  .transcript p {
    margin: 24px 0 auto;
    font-size: 20px;
  }

  .machine-core {
    min-height: 110px;
    border-top: 1px solid rgba(255, 253, 252, 0.12);
    border-bottom: 1px solid rgba(255, 253, 252, 0.12);
    border-right: none;
    border-left: none;
  }

  .machine-orb {
    width: 96px;
  }

  .machine-core svg {
    width: 26px;
    transform: rotate(90deg);
  }

  .how-steps {
    margin-top: 60px;
    padding-top: 44px;
  }

  .platforms-section {
    padding: 96px 20px 90px;
  }

  .platform-card {
    padding: 20px;
  }

  .kbd-row span {
    height: 30px;
    font-size: 12px;
  }

  .chapters-section {
    padding: 96px 20px 90px;
  }

  .chapter-grid {
    gap: 12px;
    margin-top: 48px;
  }

  .chapter-card {
    padding: 20px;
  }

  .metric-section {
    min-height: 640px;
    padding: 90px 20px;
  }

  .metric-orbit {
    width: 114vw;
  }

  .metric-number {
    font-size: min(55vw, 240px);
  }

  .metric-copy h2 {
    margin-top: 35px;
    font-size: 43px;
  }

  .reviews-section {
    padding: 96px 0 90px;
  }

  .reviews-heading {
    padding: 0 20px;
  }

  .review-card {
    width: 280px;
    padding: 18px;
  }

  .pricing-section {
    padding: 96px 20px 92px;
  }

  .plan-duo {
    margin-top: 40px;
  }

  .plan-card {
    padding: 22px 20px 20px;
  }

  .plan-billing {
    min-height: 0;
  }

  .compare {
    margin-top: 76px;
  }

  .swipe-hint {
    display: block;
  }

  .compare-scroll {
    margin-top: 26px;
  }

  .compare-table th,
  .compare-table td {
    padding: 13px 13px;
    font-size: 12px;
  }

  .compare-table tbody th {
    font-size: 12px;
  }

  .faq-section {
    padding: 92px 20px 86px;
  }

  .faq-item summary {
    padding: 20px 2px;
  }

  .faq-body p {
    padding-right: 12px;
  }

  .closing-section {
    padding: 100px 20px;
  }

  .closing-orb {
    width: 150px;
  }

  .closing-section h2 {
    font-size: clamp(64px, 17vw, 110px);
  }

  .site-footer {
    padding: 56px 20px 22px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 52px;
  }
}

/* Dynamic device download button rules */
.device-mobile .mac-download-badge {
  display: none !important;
}

@media (max-width: 768px) {
  body:not(.device-desktop) .mac-download-badge {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .intro {
    display: none;
  }

  .title-word {
    transform: none;
  }

  .hero-orb-wrap {
    opacity: 1;
  }

  .marquee-track {
    animation: none;
  }
}
