/* rove website: white base, Rove blue, dark navy ink, editorial whitespace. */

/*
 * rove round typography, self-hosted, SIL OFL 1.1 only.
 *
 * English  body    : Varela Round 400 (original, unmodified)
 * English  display : Rove Round Display 700 (derived from Varela Round)
 * Chinese  body    : Rove Round SC 400 (derived from Noto Sans SC)
 * Chinese  display : Rove Round SC 700 (derived from Noto Sans SC)
 *
 * The Chinese faces carry the CJK glyphs; Latin runs keep the English faces
 * through the language font stacks below, so mixed copy stays consistent.
 */
@font-face {
  font-family: "Varela Round";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/varela-round-400.woff2") format("woff2");
}

@font-face {
  font-family: "Rove Round Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/rove-round-display-700.woff2") format("woff2");
}

@font-face {
  font-family: "Rove Round SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/rove-round-sc-400.woff2") format("woff2");
}

@font-face {
  font-family: "Rove Round SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/rove-round-sc-700.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --rove-blue: #084bff;
  --rove-blue-soft: #eaf0ff;
  --rove-ink: #030719;
  --rove-muted: #55607a;
  --rove-line: #e6e9f0;
  --rove-surface: #ffffff;
  --rove-surface-2: #f7f9ff;
  --rove-radius: 14px;
  --rove-shadow: 0 18px 50px rgba(3, 7, 25, 0.08);
  --rove-font-en: "Varela Round", sans-serif;
  --rove-font-display-en: "Rove Round Display", "Varela Round", sans-serif;
  --rove-font-zh: "Varela Round", "Rove Round SC", sans-serif;
  --rove-font-display-zh: "Rove Round Display", "Rove Round SC", sans-serif;
  --rove-font: var(--rove-font-en);
  --rove-font-display: var(--rove-font-display-en);
  --rove-size-body: 15px;
  --rove-size-small: 13px;
  --rove-size-meta: 12px;
  --rove-size-h3: 20px;
  --rove-leading-body: 1.68;
  --rove-system-font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* Website language: the Chinese faces take over CJK runs, the English round
 * faces keep Latin words and brand marks consistent in both locales. */
html[data-lang="zh"] {
  --rove-font: var(--rove-font-zh);
  --rove-font-display: var(--rove-font-display-zh);
}

/* Avoid a flash of English copy when the stored language is Chinese; i18n.js
 * applies the translations immediately and always clears this attribute. */
html[data-lang-pending] body {
  visibility: hidden;
}

/* CJK display setting: no negative tracking and looser leading than Latin */
html[data-lang="zh"] .hero-copy h1 {
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

html[data-lang="zh"] .section h2,
html[data-lang="zh"] .page-head h1,
html[data-lang="zh"] .legal h1,
html[data-lang="zh"] .card h2,
html[data-lang="zh"] .card h3,
html[data-lang="zh"] .auth-card h1 {
  letter-spacing: 0;
  line-height: 1.2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  background: var(--rove-surface);
  color: var(--rove-ink);
  font-family: var(--rove-font);
  font-size: var(--rove-size-body);
  font-weight: 400;
  line-height: var(--rove-leading-body);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--rove-font-display);
  font-weight: 700;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--rove-blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ------------------------------------------------------------------ *
 * page-wide backdrop: giant faint rove wordmarks from the very top
 * ------------------------------------------------------------------ */

.page-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.backdrop-mark {
  position: absolute;
  opacity: 0.06;
  filter: saturate(1);
  user-select: none;
}

.backdrop-mark--1 { top: -90px;  left: 44%;  width: 1500px; transform: rotate(-6deg); }
.backdrop-mark--2 { top: 420px;  left: -320px; width: 1300px; transform: rotate(3deg); }
.backdrop-mark--3 { top: 1080px; left: 52%;  width: 1600px; transform: rotate(-4deg); }
.backdrop-mark--4 { top: 1880px; left: -260px; width: 1400px; transform: rotate(5deg); }
.backdrop-mark--5 { top: 2620px; left: 46%;  width: 1500px; transform: rotate(-3deg); }

/* ------------------------------------------------------------------ *
 * shell
 * ------------------------------------------------------------------ */

.shell {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  height: 30px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 400;
  color: var(--rove-ink);
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--rove-blue);
}

/* compact language switch, keeps the header light on desktop and mobile */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--rove-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--rove-muted);
  font-family: var(--rove-font);
  font-size: 13px;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch-button[aria-pressed="true"] {
  background: var(--rove-blue);
  color: #ffffff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--rove-blue);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(8, 75, 255, 0.22);
}

.btn-primary:hover {
  background: #0342e6;
}

.btn-ghost {
  background: #ffffff;
  border: 1px solid var(--rove-line);
  color: var(--rove-ink);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

.nav-cta {
  padding: 11px 22px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--rove-line);
  background: rgba(255, 255, 255, 0.9);
  padding: 36px 0 44px;
  font-size: 14px;
  font-weight: 400;
  color: var(--rove-muted);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer a:hover {
  color: var(--rove-blue);
}

/* ------------------------------------------------------------------ *
 * hero: 1/3 copy + 2/3 animated product stage
 * ------------------------------------------------------------------ */

.hero {
  padding: 150px 0 90px;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 2fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-family: var(--rove-font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.025em;
  line-height: 0.96;
}

.hero-copy h1 .accent {
  color: var(--rove-blue);
}

.hero-copy p {
  margin: 0 0 30px;
  max-width: 34ch;
  font-size: 16px;
  color: var(--rove-muted);
}

.hero-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.hero-camera {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.browser {
  /* Browser mock keeps real Chromium UI typography, not the rove website font. */
  font-family: var(--rove-system-font);
  position: absolute;
  left: 1.5%;
  top: 4%;
  width: 97%;
  height: 92%;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--rove-line);
  box-shadow: var(--rove-shadow);
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--rove-surface-2);
  border-bottom: 1px solid var(--rove-line);
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.traffic-lights span:nth-child(1) { background: #ff5f57; }
.traffic-lights span:nth-child(2) { background: #febc2e; }
.traffic-lights span:nth-child(3) { background: #28c840; }

.address-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--rove-line);
  color: var(--rove-muted);
  font-size: 13px;
  min-width: 0;
}

.address-bar .url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b7385;
}

.browser-actions .icon {
  width: 20px;
  height: 20px;
  display: block;
}

.extensions-anchor {
  position: relative;
  display: inline-flex;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.extensions-anchor.is-hover {
  background: #e9edf6;
}

.extensions-anchor.is-pressed {
  background: #dde3ef;
  box-shadow: inset 0 1px 2px rgba(3, 7, 25, 0.16);
}

.puzzle-icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: #5f6368;
}

.browser-viewport {
  position: relative;
  height: calc(100% - 59px);
  padding: 46px 8% 0;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.browser-viewport.is-dim {
  opacity: 0.35;
  filter: blur(1px);
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(560px, 72%);
  margin: 0 auto;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--rove-line);
  background: #ffffff;
  color: #8b93a7;
  font-size: 14px;
}

.mock-tiles {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 54px;
}

.mock-tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--rove-surface-2);
  border: 1px solid var(--rove-line);
}

/* extensions menu + rove popup live inside the camera scene */

.extensions-menu {
  font-family: var(--rove-system-font);
  position: absolute;
  left: 58%;
  top: 13%;
  width: 27%;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid var(--rove-line);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(3, 7, 25, 0.16);
  padding: 12px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.extensions-menu.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.extensions-menu h3 {
  margin: 4px 8px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--rove-ink);
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--rove-ink);
}

.menu-row .row-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--rove-surface-2);
  border: 1px solid var(--rove-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-row .row-icon img {
  width: 14px;
  height: auto;
}

.menu-row.is-muted {
  color: #a2a9ba;
}

.menu-row.is-muted .row-icon {
  opacity: 0.5;
}

.menu-row.is-hover {
  background: var(--rove-blue-soft);
}

.menu-row.is-pressed {
  background: #dbe5ff;
}

.menu-row--footer {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--rove-line);
  border-radius: 0 0 10px 10px;
}

.rove-popup {
  /* the popup is rove product UI, not Chromium chrome */
  font-family: var(--rove-font);
  position: absolute;
  left: 62%;
  top: 13%;
  width: 24%;
  min-width: 216px;
  background: #ffffff;
  border: 1px solid var(--rove-line);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(3, 7, 25, 0.18);
  padding: 18px 16px 10px;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.rove-popup.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rove-popup .popup-logo {
  height: 22px;
  width: auto;
  margin: 0 auto 12px;
}

.popup-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 2px;
  border-top: 1px solid var(--rove-line);
  border-bottom: 1px solid var(--rove-line);
  font-size: 13px;
  font-weight: 600;
}

.popup-switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 13px;
  background: #d7dbe3;
  transition: background 0.15s ease;
  flex: 0 0 auto;
}

.popup-switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(3, 7, 25, 0.24);
  transition: transform 0.15s ease;
}

.popup-switch.is-on {
  background: var(--rove-blue);
}

.popup-switch.is-on .knob {
  transform: translateX(20px);
}

.popup-switch.is-pressed {
  box-shadow: 0 0 0 3px rgba(8, 75, 255, 0.18);
}

.popup-validity {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--rove-line);
  color: var(--rove-muted);
  font-size: 12px;
}

.popup-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 2px 8px;
  font-size: 12px;
  font-weight: 600;
}

.hero-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  opacity: 0;
  /* The hotspot is the arrow tip at viewBox (5,3): anchor the tip, not the
     element bounding-box center, to the timeline coordinate. */
  transform: translate(-20.8333%, -12.5%);
  filter: drop-shadow(0 2px 4px rgba(3, 7, 25, 0.3));
  pointer-events: none;
  z-index: 6;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  width: 100%;
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--rove-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--rove-ink);
  background: rgba(8, 75, 255, 0.08);
}

.password-toggle:focus-visible {
  outline: 2px solid #084bff;
  outline-offset: 1px;
}

.password-toggle svg {
  width: 19px;
  height: 19px;
}

.password-toggle .eye-slash {
  display: none;
}

.password-toggle.is-visible .eye-slash {
  display: inline;
}

.hero-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rove-line);
  background: #ffffff;
  color: var(--rove-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(3, 7, 25, 0.12);
}

.hero-toggle svg {
  width: 14px;
  height: 14px;
}

.hero-toggle .icon-play { display: none; }
.hero-toggle.is-paused .icon-play { display: block; }
.hero-toggle.is-paused .icon-pause { display: none; }

/* ------------------------------------------------------------------ *
 * home sections
 * ------------------------------------------------------------------ */

.section {
  position: relative;
  z-index: 1;
  padding: 84px 0;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.section p.lead {
  margin: 0;
  max-width: 60ch;
  color: var(--rove-muted);
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.point-list {
  display: grid;
  gap: 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.point-list li {
  padding-left: 20px;
  position: relative;
  color: var(--rove-muted);
}

.point-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rove-blue);
}

.cta-band {
  text-align: center;
  padding: 96px 0 110px;
}

.cta-band .btn {
  margin-top: 26px;
}

/* ------------------------------------------------------------------ *
 * inner pages: get / pricing / auth / account / help / legal
 * ------------------------------------------------------------------ */

.page {
  padding: 150px 0 90px;
}

.page-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.page-head h1 {
  margin: 0 0 14px;
  font-size: clamp(44px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.page-head p {
  margin: 0;
  color: var(--rove-muted);
  font-size: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--rove-line);
  border-radius: var(--rove-radius);
  padding: 26px;
}

.card h2,
.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0 0 12px;
  color: var(--rove-muted);
  font-size: 15px;
}

.card .price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 6px 0 4px;
}

.card .muted-line {
  font-size: 13px;
  color: var(--rove-muted);
}

.state-note {
  max-width: 620px;
  margin: 0 auto;
  padding: 22px 26px;
  border: 1px solid var(--rove-line);
  border-radius: var(--rove-radius);
  background: var(--rove-surface-2);
  text-align: center;
  color: var(--rove-muted);
}

.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--rove-line);
  border-radius: var(--rove-radius);
  box-shadow: var(--rove-shadow);
  padding: 34px 32px 30px;
}

.auth-card h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.auth-card .hint {
  margin: 0 0 22px;
  color: var(--rove-muted);
  font-size: 14px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field span {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 400;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rove-line);
  border-radius: 10px;
  background: #ffffff;
  font-size: 15px;
}

.field input:focus {
  border-color: var(--rove-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 75, 255, 0.12);
}

.auth-card .btn {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--rove-muted);
}

.form-note a {
  color: var(--rove-blue);
  font-weight: 400;
}

.form-error {
  margin: 14px 0 0;
  min-height: 18px;
  font-size: 13px;
  color: #c0392b;
}

.account-grid {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}

.account-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--rove-line);
  border-radius: var(--rove-radius);
  background: #ffffff;
}

.account-row dt {
  margin: 0;
  font-size: 13px;
  color: var(--rove-muted);
}

.account-row dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

/* ------------------------------------------------------------------ *
 * commerce: checkout + billing (inherits the frozen P4 visual system)
 * ------------------------------------------------------------------ */

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--rove-blue-soft);
  color: var(--rove-blue);
  font-size: 12px;
}

.plan-cta {
  margin-top: 14px;
}

.checkout-card {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--rove-line);
  border-radius: var(--rove-radius);
  box-shadow: var(--rove-shadow);
  padding: 30px 28px 26px;
}

.checkout-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.checkout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rove-line);
  font-size: 15px;
}

.checkout-row-label {
  color: var(--rove-muted);
  font-size: 13px;
}

.checkout-row-value {
  font-weight: 700;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.checkout-success-title {
  margin: 0 0 10px;
  font-size: 22px;
}

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--rove-line);
  background: var(--rove-surface-2);
  color: var(--rove-muted);
  font-size: 12px;
  line-height: 1.5;
}

.status-pill--paid,
.status-pill--succeeded,
.status-pill--active {
  border-color: rgba(8, 75, 255, 0.25);
  background: var(--rove-blue-soft);
  color: var(--rove-blue);
}

.status-pill--expired,
.status-pill--failed,
.status-pill--cancelled {
  border-color: #f0d5d2;
  background: #fdf3f2;
  color: #b3402f;
}

.billing-validity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 22px 26px;
  border: 1px solid var(--rove-line);
  border-radius: var(--rove-radius);
  background: var(--rove-surface-2);
}

.billing-validity-label {
  font-size: 13px;
  color: var(--rove-muted);
}

.billing-validity-value {
  font-size: 22px;
  font-weight: 700;
}

.billing-block {
  max-width: 720px;
  margin: 0 auto 28px;
}

.billing-block-title {
  margin: 0 0 14px;
  font-size: 20px;
}

.billing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--rove-line);
  border-radius: var(--rove-radius);
  background: #ffffff;
  margin-bottom: 10px;
}

.billing-row-title {
  font-size: 15px;
  font-weight: 700;
}

.billing-row-meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--rove-muted);
}

.billing-row-status {
  display: flex;
  gap: 8px;
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
}

.legal h2 {
  margin: 34px 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.legal h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.legal p,
.legal li {
  color: var(--rove-muted);
}

.legal .updated {
  font-size: 13px;
  color: var(--rove-muted);
}

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

@media (max-width: 980px) {
  .hero {
    padding: 126px 0 70px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy p {
    max-width: 52ch;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-nav {
    gap: 14px;
    font-size: 14px;
  }

  .site-nav .hide-sm {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .page-head h1 {
    font-size: 36px;
  }

  .lang-switch-button {
    padding: 6px 10px;
    font-size: 12px;
  }

  .site-nav {
    gap: 10px;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 14px;
  }

  .page {
    padding: 118px 0 70px;
  }

  .auth-card {
    padding: 26px 20px 22px;
  }

  .brand-link img {
    height: 26px;
  }

  .backdrop-mark--1 { left: 20%; width: 900px; }
  .backdrop-mark--2 { left: -420px; width: 900px; }
  .backdrop-mark--3 { width: 1000px; }

  .hero-stage {
    aspect-ratio: 4 / 3;
  }

  .extensions-menu {
    left: 12%;
    width: 76%;
    min-width: 0;
  }

  .rove-popup {
    left: 16%;
    width: 68%;
    min-width: 0;
    padding: 14px 12px 8px;
  }

  .menu-row {
    font-size: 13px;
    padding: 8px;
  }

  .popup-switch {
    width: 42px;
    height: 24px;
  }

  .popup-switch .knob {
    width: 18px;
    height: 18px;
  }

  .popup-switch.is-on .knob {
    transform: translateX(18px);
  }

  .hero-toggle {
    width: 36px;
    height: 36px;
    right: 10px;
    bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
