/* KLANG website. Tokens mirror the desktop app's look. */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0f11;
  --bg-alt: #121318;
  --surface: #16171d;
  --surface-2: #1b1c23;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f4f5f7;
  --ink-2: #b7bac3;
  --ink-3: #80838d;
  --accent: #ffffff;
  --accent-ink: #0e0f11;
  --good: #34d399;
  --bad: #f87171;
  --wave: rgba(255, 255, 255, 0.55);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f6f7;
  --bg-alt: #ececef;
  --surface: #ffffff;
  --surface-2: #f6f6f8;
  --line: rgba(17, 18, 22, 0.09);
  --line-strong: rgba(17, 18, 22, 0.18);
  --ink: #111216;
  --ink-2: #474a53;
  --ink-3: #6b6e78;
  --accent: #111216;
  --accent-ink: #ffffff;
  --good: #047857;
  --bad: #dc2626;
  --wave: rgba(17, 18, 22, 0.5);
  --shadow: 0 30px 70px rgba(17, 18, 22, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Motion preferences: animation toggle configurable via animations.js */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

a {
  color: inherit;
}

code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.05em 0.35em;
}

q {
  quotes: "“" "”";
  color: var(--ink);
  font-style: normal;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(760px, 100% - 32px);
}
.center {
  text-align: center;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

:focus-visible {
  outline: 2px solid var(--ink-2);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  padding: 10px 18px;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn:disabled {
  opacity: 0.55;
  cursor: progress;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  opacity: 0.88;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--surface-2);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 14px;
  border-radius: 10px;
}
.btn-lg {
  padding: 13px 24px;
  font-size: 17px;
}
.btn-block {
  width: 100%;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.icon-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:root[data-theme="dark"] .i-moon,
:root[data-theme="light"] .i-sun {
  display: none;
}

/* ---------------------------------------------------------------- Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.nav-inner {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 0 clamp(16px, 3.5vw, 40px);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand .wordmark {
  height: 16px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 8px;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------------------------------------------------------------- Hero */
.hero {
  padding: 84px 0 40px;
  background: radial-gradient(900px 420px at 50% -80px, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%);
}
.hero-inner {
  text-align: center;
  max-width: 860px;
}
.eyebrow {
  display: inline-block;
  font: 600 12px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 850;
  letter-spacing: -0.035em;
}
.lede {
  font-size: clamp(17px, 2.1vw, 20px);
  color: var(--ink-2);
  max-width: 660px;
  margin: 0 auto 30px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- Demo */
.demo {
  margin: 56px auto 0;
  max-width: 980px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.logo-sm {
  width: 14px;
  height: 14px;
  color: var(--ink);
}
.demo-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 15px;
}
.demo-search > svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 2;
  flex: none;
}
.demo-query {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-query.placeholder {
  color: var(--ink-3);
}
.caret {
  width: 1.5px;
  height: 18px;
  background: var(--ink);
  margin-left: -8px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.demo-mic {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  flex: none;
}
.demo-mic svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.demo-mic.live {
  color: var(--bad);
  background: color-mix(in srgb, var(--bad) 16%, transparent);
  animation: pulse 0.9s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
.demo-count {
  font: 13px ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--ink-3);
  white-space: nowrap;
}

.demo-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 300px;
  transition: opacity 0.18s ease;
}
.demo-rows.fading {
  opacity: 0.25;
}
.row {
  display: grid;
  grid-template-columns: 30px minmax(150px, 1.1fr) minmax(160px, 2fr) 64px 46px;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  animation: rowIn 0.35s ease both;
  animation-delay: calc(var(--i) * 55ms);
}
.row:last-child {
  border-bottom: 0;
}
.row-top {
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
}
.play svg {
  width: 9px;
  height: 9px;
  fill: var(--ink-2);
}
.meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat {
  font-size: 12px;
  color: var(--ink-3);
}
.wave {
  width: 100%;
  height: 32px;
  fill: var(--wave);
}
.row-top .wave {
  fill: var(--ink);
}
.dur,
.score {
  font: 13px ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--ink-2);
  text-align: right;
}
.score {
  color: var(--ink);
}

/* ---------------------------------------------------------------- Sections */
.band {
  padding: 72px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}
.band h2 {
  font-size: clamp(24px, 3.4vw, 34px);
}
.band p {
  color: var(--ink-2);
  font-size: 18px;
  margin: 0;
}
.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.section-title {
  font-size: clamp(28px, 3.8vw, 40px);
  text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 auto 44px;
}
.section-title + .grid,
.section-title + .steps,
.section-title + .specs,
.section-title + .faq {
  margin-top: 44px;
}

.grid {
  display: grid;
  gap: 18px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-gap-top {
  margin-top: 20px;
}

/* ---------------------------------------------------------------- How it Works */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
}
.steps li {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-right: 1px solid var(--line);
  transition: background-color 0.25s ease;
}
.steps li:last-child {
  border-right: 0;
}
.steps li:hover {
  background: var(--surface-2);
}
.step-n {
  font: 600 12px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.steps h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.steps p {
  color: var(--ink-2);
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
}
.step-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font: 600 11px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- Privacy */
.kicker {
  display: inline-block;
  font: 600 11.5px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.privacy {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.privacy h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.privacy-lede {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
  max-width: 460px;
}
.privacy-specs {
  margin: 0;
  border-top: 1px solid var(--line);
}
.privacy-specs > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.privacy-specs dt {
  font: 600 12px/1.4 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.privacy-specs dd {
  margin: 0;
}
.privacy-specs strong {
  display: block;
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.privacy-specs span {
  display: block;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ---------------------------------------------------------------- Checklists */
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 15px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 6px;
  height: 3.5px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 390px));
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 36px;
  position: relative;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 34px 30px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.plan:hover {
  border-color: color-mix(in srgb, var(--ink) 28%, transparent);
}

.plan-head {
  min-height: 100px;
}
.plan h3 {
  font-size: 22px;
  font-weight: 750;
  margin: 0 0 10px;
}
.plan .checks {
  margin: 16px 0 32px;
  flex: 1;
}

.plan-pro {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.plan-badge-wrap {
  position: absolute;
  top: -13px;
  left: 28px;
}
.plan-badge {
  margin: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 11.5px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}
.amount {
  font-size: 52px;
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1;
}
.was {
  font-size: 22px;
  color: var(--ink-3);
}
.per {
  color: var(--ink-3);
  font-size: 15px;
}
.plan [hidden] {
  display: none;
}
.plan-signup .signup {
  margin: 0;
  max-width: none;
}
.plan-signup .form-msg {
  margin-top: 10px;
  text-align: center;
}
.plan-signup .form-msg:empty {
  display: none;
}

.plan-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.plan-note {
  margin: 12px 0 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.plan-note-spacer {
  margin: 12px 0 0;
  min-height: 20px;
  visibility: hidden;
}

.fineprint {
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: center;
  position: relative;
  z-index: 5;
}

/* ---------------------------------------------------------------- Specs + FAQ */
.specs {
  margin: 0;
  border-top: 1px solid var(--line);
}
.specs div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  font-weight: 600;
}
.specs dd {
  margin: 0;
  color: var(--ink-2);
}

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-3);
  transition: transform 0.15s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--ink-2);
  padding-bottom: 20px;
  margin: 0;
}

/* ---------------------------------------------------------------- Signup */
#early-access h2 {
  font-size: clamp(28px, 3.8vw, 40px);
}
#early-access p {
  color: var(--ink-2);
}
.signup {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 26px auto 0;
}
.signup input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.signup input::placeholder {
  color: var(--ink-3);
}
.signup input:focus {
  outline: none;
  border-color: var(--ink-2);
}
.form-msg {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 14px;
}
.form-msg[data-state="ok"] {
  color: var(--good) !important;
}
.form-msg[data-state="error"] {
  color: var(--bad) !important;
}

/* ---------------------------------------------------------------- Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--ink-3);
  font-size: 14px;
  width: 100%;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  padding: 0 clamp(16px, 3.5vw, 40px);
}
.footer-inner .brand {
  color: var(--ink);
  font-size: 15px;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer a:hover {
  color: var(--ink);
}
.brand-sm .wordmark {
  height: 13px;
  width: auto;
}

/* ---------------------------------------------------------------- Interactive & Animation Polish */
.demo {
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ---------------------------------------------------------------- In action (real app captures) */
/* The captures are of the dark app, so their frames stay dark in both site themes. */
.app-shot,
.showcase-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0e14;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.app-shot {
  margin-bottom: 88px;
}
.app-shot-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #11141a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #80838d;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.app-shot-dots {
  display: inline-flex;
  gap: 6px;
}
.app-shot-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2e36;
}
.app-shot img,
.showcase-media img,
.showcase-media video {
  display: block;
  width: 100%;
  height: auto;
}
.showcase {
  display: grid;
  gap: 80px;
}
.showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}
.showcase-item:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}
.showcase-item:nth-child(even) .showcase-media {
  order: 2;
}
.showcase-kicker {
  font: 600 11.5px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.showcase-copy h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  margin: 12px 0;
}
.showcase-copy p {
  color: var(--ink-2);
  margin: 0;
}
.showcase-copy .showcase-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 900px) {
  .showcase {
    gap: 56px;
  }
  .showcase-item,
  .showcase-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .showcase-item:nth-child(even) .showcase-media {
    order: 0;
  }
  .app-shot {
    margin-bottom: 56px;
  }
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }
  .steps li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .steps li:last-child {
    border-bottom: 0;
  }
  .privacy {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .row {
    grid-template-columns: 30px minmax(0, 1fr) 110px 46px;
  }
  .row .dur {
    display: none;
  }
}

/* Narrow screens: the shortcuts move to a second, swipeable row instead of disappearing. */
@media (max-width: 820px) {
  html {
    scroll-padding-top: 108px;
  }
  .nav-inner {
    height: auto;
    flex-wrap: wrap;
    row-gap: 0;
  }
  .brand,
  .nav-actions {
    height: 60px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-bottom: 12px;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links a {
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 56px;
  }
  .section {
    padding: 64px 0;
  }
  .demo-bar .dots,
  .demo-count {
    display: none;
  }
  .row {
    grid-template-columns: 28px minmax(0, 1fr) 42px;
    gap: 12px;
  }
  .row .wave {
    display: none;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .privacy-specs > div,
  .specs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .signup {
    flex-direction: column;
  }
  .signup .btn {
    height: 48px;
  }
}
