:root {
  color-scheme: dark;
  --background: #070609;
  --surface: #0e0c12;
  --surface-raised: #141118;
  --text: #faf7fc;
  --text-soft: #b8afbd;
  --text-dim: #827986;
  --line: rgba(255, 255, 255, 0.1);
  --pink: #ff47b6;
  --purple: #a455ff;
  --violet: #7468ff;
  --gradient: linear-gradient(98deg, var(--pink) 0%, #ca4df3 50%, var(--violet) 100%);
  --shadow-neon: 0 18px 70px rgba(183, 58, 255, 0.18);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 78% 7%, rgba(154, 57, 255, 0.14), transparent 25rem),
    radial-gradient(circle at 12% 36%, rgba(255, 58, 169, 0.08), transparent 28rem),
    var(--background);
  color: var(--text);
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid #ff73cb;
  outline-offset: 4px;
}

.site-glow {
  background: radial-gradient(circle, rgba(221, 71, 255, 0.15), transparent 68%);
  filter: blur(24px);
  height: 26rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 5rem;
  width: 26rem;
}

.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 32px;
  padding-right: 32px;
  position: relative;
}

/* Log In + Sign Up links side by side in the header */
.site-header nav {
  align-items: center;
  display: flex;
  gap: 20px;
}

.account-link {
  align-items: center;
  color: var(--text-dim);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.account-link:hover {
  color: var(--text);
}

.account-icon {
  align-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.account-icon svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
  width: 18px;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 82px;
  width: 100%;
}

.site-header__actions {
  align-items: center;
  display: flex;
  gap: 18px;
}

.wordmark {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.055em;
  text-decoration: none;
  text-shadow: 0 0 28px rgba(228, 74, 255, 0.24);
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  height: 56px;
  text-decoration: none;
}

.brand-lockup__logo,
.brand-lockup__title {
  display: block;
  overflow: hidden;
  position: relative;
}

.brand-lockup__logo img,
.brand-lockup__title img {
  filter: brightness(1.15) contrast(1.7);
  mix-blend-mode: screen;
}

.brand-lockup__logo {
  height: 52px;
  width: 52px;
}

.brand-lockup__logo img {
  height: 64px;
  left: -6px;
  max-width: none;
  position: absolute;
  top: -6px;
  width: 64px;
}

.brand-lockup__title {
  height: 34px;
  width: 142px;
}

.brand-lockup__title img {
  height: auto;
  left: -8px;
  max-width: none;
  position: absolute;
  top: -23px;
  width: 160px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.095em;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--compact {
  min-height: 40px;
  padding-inline: 17px;
}

.button--quiet {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.button--quiet:hover {
  border-color: rgba(255, 98, 202, 0.66);
}

.button--primary {
  background: var(--gradient);
  box-shadow: 0 10px 34px rgba(204, 61, 226, 0.23);
  color: #16071a;
}

.button--primary:hover {
  box-shadow: 0 13px 42px rgba(204, 61, 226, 0.34);
}

.hero {
  align-items: center;
  display: flex;
  min-height: 650px;
  padding-bottom: 96px;
  padding-top: 104px;
}

.hero__copy {
  max-width: 940px;
}

.eyebrow {
  color: #dc79ff;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.65rem, 7.2vw, 6.7rem);
  font-weight: 720;
  letter-spacing: -0.068em;
  line-height: 0.91;
  margin-bottom: 28px;
  max-width: 900px;
}

.hero__lede {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 34px;
  max-width: 630px;
}

.waveform {
  align-items: center;
  display: flex;
}

.feature-section {
  border-top: 1px solid var(--line);
  padding-bottom: 120px;
  padding-top: 110px;
}

.section-heading {
  max-width: 700px;
}

.section-heading h2,
.voice-section__intro h2 {
  font-size: clamp(2.45rem, 4.5vw, 4.4rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  overflow: hidden;
}

.feature {
  border-left: 1px solid var(--line);
  min-height: 230px;
  padding: 30px;
}

.feature:last-child {
  border-right: 1px solid var(--line);
}

.feature__index {
  color: #d86fff;
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  margin-bottom: 54px;
}

.feature h3 {
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feature p {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.voice-section {
  padding-bottom: 120px;
}

.voice-section__intro {
  max-width: 690px;
}

.voice-section__intro > p:last-child {
  color: var(--text-dim);
  line-height: 1.7;
  margin: 22px 0 0;
  max-width: 550px;
}

.voice-console {
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 19px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.25);
  display: grid;
  gap: 28px;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  margin-top: 48px;
  padding: 22px 24px;
}

.voice-console__identity {
  align-items: center;
  display: flex;
  gap: 13px;
  min-width: 150px;
}

.voice-console__identity strong,
.voice-console__identity span {
  display: block;
}

.voice-console__identity strong {
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.voice-console__identity span {
  color: var(--text-dim);
  font-size: 0.66rem;
  margin-top: 3px;
}

.live-dot {
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--pink);
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.waveform {
  gap: 4px;
  height: 38px;
  min-width: 0;
}

.waveform i {
  animation: voice-pulse 1.4s ease-in-out infinite alternate;
  animation-delay: var(--delay);
  background: linear-gradient(180deg, #ff67c4, #9b63ff);
  border-radius: 10px;
  display: block;
  height: calc(var(--wave-height) * 34px);
  max-height: 34px;
  min-height: 6px;
  opacity: 0.88;
  width: 4px;
}

.voice-console__time {
  color: var(--text-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.voice-console__end {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--text-dim);
  font: inherit;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-height: 40px;
  padding: 0 15px;
  text-transform: uppercase;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: #9d94a2;
  column-gap: clamp(28px, 4vw, 56px);
  display: grid;
  font-size: 0.63rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  letter-spacing: 0.09em;
  min-height: 90px;
  text-transform: uppercase;
}

.site-footer__brand {
  color: #a69ca9;
  font-weight: 700;
}

.site-footer__legal {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.site-footer__legal a {
  color: #aca3b0;
  text-decoration: none;
  transition: color 180ms ease;
  white-space: nowrap;
}

.site-footer__legal a:hover {
  color: var(--text);
}

.site-footer [data-cancel-membership] {
  color: #ffb7d6;
}

.site-footer [data-cancel-membership][hidden] {
  display: none;
}

.site-footer__meta {
  text-align: right;
}

.back-link {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.back-link:hover {
  color: var(--text);
}

.signup-page {
  display: flex;
  flex-direction: column;
}

.signup-main {
  align-items: start;
  display: grid;
  flex: 1;
  gap: clamp(54px, 8vw, 112px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  padding-bottom: 88px;
  padding-top: 88px;
  width: 100%;
}

.signup-intro {
  padding-top: 30px;
}

.signup-intro h1 {
  font-size: clamp(3.5rem, 6.4vw, 6rem);
  max-width: 730px;
}

.signup-intro > p:last-child {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 560px;
}

.signup-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.28), var(--shadow-neon);
  padding: 30px;
}

[data-age-page] {
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
}

[data-age-page] > * {
  min-width: 0;
}

[data-age-page] h1 {
  font-size: clamp(2.65rem, 6.4vw, 5.5rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 12px 0 24px;
  overflow-wrap: anywhere;
}

[data-age-page] p {
  color: var(--text-soft);
  line-height: 1.7;
}

[data-age-page] .signup-panel {
  border-color: rgba(226, 99, 255, 0.25);
  min-width: 0;
}

[data-age-form] label:has(input[name="adult"]) {
  align-items: start;
  background: rgba(164, 85, 255, 0.07);
  border: 1px solid rgba(226, 99, 255, 0.28);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  gap: 14px;
  line-height: 1.5;
  padding: 18px;
}

[data-age-form] input[name="adult"] {
  accent-color: var(--pink);
  cursor: pointer;
  flex: 0 0 22px;
  height: 22px;
  margin: 1px 0 0;
  width: 22px;
}

[data-age-submit] {
  background: var(--gradient);
  border: 0;
  color: #070609;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  margin-top: 22px;
  min-height: 52px;
  white-space: normal;
  width: 100%;
}

[data-age-submit]:disabled {
  cursor: wait;
  opacity: 0.65;
}

[data-age-status] {
  min-height: 1.7em;
  overflow-wrap: anywhere;
}

[data-age-page] .back-link {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 0;
}

@media (max-width: 760px) {
  [data-age-page] {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 36px;
  }

  [data-age-page] .signup-panel {
    padding: 22px;
  }

  [data-age-form] label:has(input[name="adult"]) {
    padding: 14px;
  }
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  color: var(--text-soft);
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-field input {
  background: rgba(4, 3, 6, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  min-height: 50px;
  padding: 0 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}

.form-field input:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.form-field input:focus {
  border-color: rgba(236, 89, 255, 0.78);
  box-shadow: 0 0 0 3px rgba(218, 73, 255, 0.12);
}

.form-field input[aria-invalid="true"] {
  border-color: #ff669f;
}

.field-error,
.form-summary {
  color: #ff86b4;
  font-size: 0.72rem;
  line-height: 1.4;
  margin: 7px 0 0;
  min-height: 1em;
}

.form-summary {
  margin-top: 15px;
}

.form-submit {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  margin-top: 14px;
  width: 100%;
}

/* Outlined (not filled) form buttons, like Forgot Password and Log Out */
.form-submit.button--quiet {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: inherit;
}

.google-auth-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.google-auth-button:hover,
.google-auth-button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.google-auth-button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.google-mark {
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 42%, #fbbc05 0 66%, #ea4335 0 82%, #4285f4 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.15rem;
  font-weight: 800;
}

.auth-divider {
  align-items: center;
  color: var(--text-dim);
  display: flex;
  font-size: 0.68rem;
  gap: 12px;
  letter-spacing: 0.08em;
  margin: 22px 0;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  background: var(--line);
  content: "";
  flex: 1;
  height: 1px;
}

.signup-success {
  padding: 18px 4px 10px;
  text-align: center;
}

.signup-success h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
  margin: 18px 0 14px;
}

.signup-success > p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto 28px;
  max-width: 30rem;
}

.auth-switch {
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 22px 0 0;
  text-align: center;
}

.auth-switch a {
  color: #ec8fff;
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  color: var(--text);
}

/* Anything marked "hidden" stays hidden, even if its class says display: flex */
[hidden] {
  display: none !important;
}

/* Subscription selection and checkout preview */
.account-flow-page {
  min-height: 100vh;
}

.offer-main,
.checkout-main {
  min-height: calc(100vh - 180px);
  padding-block: 76px 110px;
}

.offer-heading,
.checkout-heading {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}

.offer-heading h1,
.checkout-heading h1 {
  font-size: clamp(2.45rem, 6vw, 4.75rem);
  line-height: 0.98;
  margin: 16px 0 20px;
}

.offer-heading > p:last-child,
.checkout-heading > p:last-child {
  color: var(--text-dim);
  font-size: 1.05rem;
}

.flow-status {
  color: var(--text-dim);
  margin: 30px auto;
  min-height: 1.6em;
  text-align: center;
}

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

.plan-card,
.checkout-card {
  background: linear-gradient(145deg, rgba(33, 29, 41, 0.96), rgba(18, 16, 24, 0.98));
  border: 1px solid var(--line-bright);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 34px;
}

.plan-card h2 {
  font-size: 1.35rem;
  margin: 0;
}

.plan-card__price {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 760;
  letter-spacing: -0.05em;
  margin: 28px 0 4px;
}

.plan-card__price span {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-card__credits {
  color: #ec8fff;
  margin-bottom: 28px;
}

.plan-card ul {
  color: var(--text-dim);
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 0 36px;
  padding: 22px 0 0;
}

.plan-card li::before {
  color: #f97ed5;
  content: "✓";
  margin-right: 10px;
}

.plan-card .button {
  margin-top: auto;
}

.checkout-preview-label {
  color: var(--text-dim);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-layout {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  margin-top: 44px;
}

.checkout-card {
  padding: clamp(26px, 4vw, 42px);
}

.checkout-card h2 {
  font-size: 1.6rem;
  margin: 0 0 20px;
}

.checkout-summary__price {
  align-items: baseline;
  display: flex;
  gap: 9px;
  margin: 22px 0 6px;
}

.checkout-summary__price strong {
  font-size: 3.25rem;
  letter-spacing: -0.05em;
}

.checkout-summary__price span,
.checkout-summary__credits,
.preview-note {
  color: var(--text-dim);
}

.checkout-card hr {
  border: 0;
  border-top: 1px solid var(--line-bright);
  margin: 30px 0;
}

.checkout-summary dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.checkout-summary dl div {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.checkout-summary dd {
  color: var(--text-dim);
  margin: 0;
  text-align: right;
}

.checkout-disclosure {
  border-block: 1px solid var(--line-bright);
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 30px 0;
  padding-block: 18px;
}

.card-preview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0;
}

.card-preview-grid label {
  color: var(--text-dim);
  display: grid;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
}

.card-preview-grid__wide {
  grid-column: 1 / -1;
}

.card-preview-grid input {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  color: var(--text-dim);
  min-height: 52px;
  padding: 0 15px;
}

.card-preview-grid input:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.checkout-consent {
  align-items: flex-start;
  color: var(--text-dim);
  display: flex;
  font-size: 0.88rem;
  gap: 12px;
  line-height: 1.55;
  margin: 18px 0;
}

.checkout-consent input {
  accent-color: #f658c6;
  margin-top: 4px;
}

.checkout-consent a {
  color: #ec8fff;
}

.checkout-submit {
  margin-top: 18px;
  width: 100%;
}

.checkout-submit:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.admin-bypass {
  border: 1px solid rgba(236, 143, 255, 0.38);
  border-radius: 16px;
  margin-top: 24px;
  padding: 18px;
}

.admin-bypass p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 0 0 8px;
}

.admin-bypass p:first-child {
  color: var(--text);
}

.signup-footer {
  margin-top: auto;
  width: min(1180px, 100%);
}

.legal-page {
  display: flex;
  flex-direction: column;
}

.legal-main {
  flex: 1;
  padding-bottom: 96px;
  padding-top: 76px;
  width: 100%;
}

.legal-document {
  background: rgba(23, 21, 28, 0.72);
  border: 1px solid var(--line-bright);
  border-radius: 20px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 900px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: clamp(28px, 6vw, 64px);
  width: 100%;
}

.legal-document h1,
.legal-document h2,
.legal-document h3,
.legal-document h4 {
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-document h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin: 0 0 36px;
}

.legal-document h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 48px 0 18px;
}

.legal-document h3,
.legal-document h4 {
  margin: 34px 0 14px;
}

.legal-document a {
  color: #f5a8de;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-document table {
  border-collapse: collapse;
  display: block;
  margin: 28px 0;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.legal-document pre {
  max-width: 100%;
  overflow-x: auto;
}

.legal-document th,
.legal-document td {
  border: 1px solid var(--line-bright);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-document hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 42px 0;
}

.contact-address {
  font-style: normal;
}

@keyframes voice-pulse {
  from {
    opacity: 0.46;
    transform: scaleY(0.54);
  }
  to {
    opacity: 0.95;
    transform: scaleY(1);
  }
}

@media (max-width: 900px) {
  .voice-console {
    gap: 18px;
    grid-template-columns: auto minmax(160px, 1fr) auto;
  }

  .voice-console__end {
    display: none;
  }

  .signup-main {
    gap: 52px;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  }
}

@media (max-width: 760px) {
  .shell {
    padding-left: 21px;
    padding-right: 21px;
  }

  .site-header {
    min-height: 72px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header nav {
    gap: 8px;
    min-width: 0;
  }

  .site-header__actions {
    gap: 12px;
    min-width: 0;
  }

  .site-header .button--compact {
    min-height: 36px;
    padding-inline: 12px;
  }

  .header-primary-link {
    font-size: 0;
  }

  .header-primary-link::after {
    content: attr(data-mobile-label);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: auto;
    padding-bottom: 84px;
    padding-top: 74px;
  }

  h1 {
    font-size: clamp(3.25rem, 16vw, 5rem);
  }

  .feature-section {
    padding-bottom: 90px;
    padding-top: 84px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .feature,
  .feature:last-child {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    min-height: 0;
    padding: 26px 0;
  }

  .feature:last-child {
    border-bottom: 1px solid var(--line);
  }

  .feature__index {
    margin-bottom: 28px;
  }

  .voice-section {
    padding-bottom: 88px;
  }

  .voice-console {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 18px;
  }

  .voice-console__identity {
    min-width: 0;
  }

  .voice-console__identity > div,
  .waveform i:nth-child(n + 11) {
    display: none;
  }

  .site-footer {
    gap: 8px;
    grid-template-columns: 1fr;
    padding-bottom: 24px;
    padding-top: 24px;
    text-align: left;
  }

  .site-footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    margin: 12px 0;
  }

  .site-footer__meta {
    text-align: left;
  }

  .signup-main {
    grid-template-columns: 1fr;
    padding-bottom: 72px;
    padding-top: 64px;
  }

  .signup-intro {
    padding-top: 0;
  }

  .signup-intro h1 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .signup-panel {
    padding: 22px;
  }

  .plan-grid,
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-card,
  .checkout-card {
    min-width: 0;
    overflow-wrap: anywhere;
  }

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

@media (max-width: 420px) {
  .brand-lockup {
    gap: 0;
  }

  .brand-lockup__logo {
    height: 46px;
    width: 46px;
  }

  .brand-lockup__logo img {
    height: 57px;
    left: -5px;
    top: -5px;
    width: 57px;
  }

  .brand-lockup__title {
    height: 30px;
    width: 112px;
  }

  .brand-lockup__title img {
    left: -7px;
    top: -18px;
    width: 127px;
  }

  .offer-main,
  .checkout-main {
    padding-block: 52px 84px;
  }

  .checkout-preview-label {
    max-width: 140px;
    text-align: right;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 3.25rem);
  }

  .voice-console {
    gap: 12px;
  }

  .waveform {
    gap: 3px;
  }

  .waveform i {
    width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Talk page ---------- */

.talk-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  min-height: 220px;
  overflow-y: auto;
}

.talk-bubble {
  border-radius: 14px;
  line-height: 1.5;
  margin: 0;
  max-width: 85%;
  padding: 10px 14px;
}

.talk-bubble--user {
  align-self: flex-end;
  background: var(--surface-raised);
}

.talk-bubble--assistant {
  align-self: flex-start;
  border: 1px solid var(--line);
}

/* Protected voice dashboard */
.dashboard-page {
  background: #1b1a1d;
  min-height: 100vh;
}

.dashboard-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.dashboard-loading {
  color: var(--text-dim);
  padding-block: 34px;
  text-align: center;
}

.dashboard-header {
  align-items: center;
  border-top: 2px solid rgba(246, 88, 198, 0.7);
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr auto;
  min-height: 96px;
}

.dashboard-product {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.dashboard-account-summary {
  align-items: center;
  display: flex;
  gap: 16px;
}

.dashboard-account-summary strong {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
}

.dashboard-account-menu {
  position: relative;
}

.dashboard-avatar {
  align-items: center;
  background: #b9ddff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #152638;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  padding: 0;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 40px;
}

.dashboard-avatar svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 22px;
}

.dashboard-avatar:focus-visible,
.dashboard-avatar:hover {
  background: #d3ebff;
  box-shadow: 0 0 0 3px rgba(185, 221, 255, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.dashboard-account-dropdown {
  background: #17151c;
  border: 1px solid var(--line-bright);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  min-width: 170px;
  overflow: hidden;
  padding: 7px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
}

.dashboard-account-dropdown a,
.dashboard-account-dropdown button {
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--text);
  cursor: pointer;
  display: block;
  font: inherit;
  padding: 10px 12px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.dashboard-account-dropdown a:hover,
.dashboard-account-dropdown a:focus-visible,
.dashboard-account-dropdown button:hover,
.dashboard-account-dropdown button:focus-visible {
  background: rgba(185, 221, 255, 0.1);
  outline: none;
}

.dashboard-account-dropdown button {
  color: #ffb7d6;
}

.dashboard-account-dropdown[hidden] {
  display: none;
}

.dashboard-main {
  display: grid;
  min-height: 620px;
  place-items: center;
  position: relative;
}

.dashboard-call,
.no-credit-state {
  align-items: center;
  display: flex;
  flex-direction: column;
  max-width: 620px;
  padding-block: 70px;
  text-align: center;
}

.dashboard-accent {
  background: linear-gradient(90deg, #ff64c9, #d873ff);
  border-radius: 999px;
  height: 5px;
  margin-bottom: 38px;
  width: 78px;
}

.dashboard-call h1,
.no-credit-state h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.055em;
  margin: 20px 0 40px;
}

.dashboard-talk-button {
  align-items: center;
  background: #f4f2f5;
  border: 0;
  border-radius: 999px;
  color: #141217;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  gap: 14px;
  min-height: 72px;
  padding: 0 34px;
}

.dashboard-talk-button:disabled {
  cursor: wait;
  opacity: 0.52;
}

.dashboard-wave-icon {
  letter-spacing: -0.24em;
}

.dashboard-status {
  color: var(--text-dim);
  margin: 26px 0 50px;
  min-height: 1.5em;
}

.talk-session {
  bottom: 18px;
  display: grid;
  gap: 12px;
  left: 50%;
  max-width: 700px;
  position: absolute;
  transform: translateX(-50%);
  width: min(90%, 700px);
}

.talk-chat:empty,
.talk-chat:empty + #reset-button {
  display: none;
}

.dashboard-page .talk-chat {
  max-height: 160px;
  min-height: 0;
  overflow: auto;
}

.dashboard-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--text-dim);
  column-gap: clamp(28px, 4vw, 56px);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  justify-content: space-between;
  min-height: 90px;
  padding-block: 24px;
  row-gap: 18px;
}

.dashboard-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 100%;
  min-width: 0;
}

.dashboard-footer a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

/* Account management */
.account-main {
  min-height: calc(100vh - 180px);
  padding-block: 70px 110px;
}

.account-heading {
  margin: 0 auto 34px;
  max-width: 820px;
}

.account-heading h1 {
  font-size: clamp(2.45rem, 6vw, 4.5rem);
  letter-spacing: -0.05em;
  margin: 16px 0;
}

.account-heading > p:last-child {
  color: var(--text-dim);
}

.account-card {
  background: linear-gradient(145deg, rgba(33, 29, 41, 0.96), rgba(18, 16, 24, 0.98));
  border: 1px solid var(--line-bright);
  border-radius: 24px;
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(26px, 5vw, 48px);
}

.account-card__heading {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.account-card h2 {
  font-size: 2rem;
  margin: 10px 0 0;
}

.account-status {
  background: rgba(236, 143, 255, 0.12);
  border: 1px solid rgba(236, 143, 255, 0.28);
  border-radius: 999px;
  color: #ec8fff;
  font-size: 0.75rem;
  padding: 8px 12px;
  text-transform: uppercase;
}

.account-details {
  border-block: 1px solid var(--line-bright);
  display: grid;
  gap: 18px;
  margin: 34px 0;
  padding-block: 26px;
}

.account-details div {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.account-details dt {
  color: var(--text-dim);
}

.account-details dd {
  margin: 0;
  text-align: right;
}

.account-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.account-logout {
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: auto;
}

.account-message {
  margin-bottom: 0;
  text-align: left;
}

.cancel-card__period {
  color: var(--text-dim);
  margin: 12px 0 34px;
}

.settings-row {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

.settings-row h2 {
  margin-bottom: 10px;
}

.settings-row p:last-child,
.settings-signout {
  color: var(--text-dim);
}

.settings-signout {
  align-items: center;
  border-top: 1px solid var(--line-bright);
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 24px;
}

.settings-signout .back-link {
  background: transparent;
  cursor: pointer;
}

.settings-captcha {
  margin-top: 28px;
}

@media (max-width: 760px) {
  .dashboard-header {
    gap: 12px;
    grid-template-columns: auto 1fr;
  }

  .dashboard-product {
    display: none;
  }

  .dashboard-account-summary {
    gap: 10px;
    justify-self: end;
  }

  .dashboard-account-summary strong {
    font-size: 0.75rem;
  }

  .dashboard-avatar {
    height: 38px;
    width: 38px;
  }

  .dashboard-main {
    min-height: 560px;
  }

  .dashboard-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
  }

  .dashboard-footer nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .account-details div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .account-details dd {
    text-align: left;
  }

  .account-logout {
    margin-left: 0;
  }

  .settings-row,
  .settings-signout {
    align-items: flex-start;
    flex-direction: column;
  }
}
