/* RepWise website: the Aurora look of the app (violet to blue, white
   cards on a cool background), in light and dark. No scripts: every
   interaction is plain HTML (anchors, <details>). */
@font-face {
  font-family: Inter;
  src: url(/fonts/inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #f4f5f9;
  --bg-2: #eceef6;
  --surface: #ffffff;
  --ink: #12152a;
  --muted: #5a5f75;
  --soft: #8a8fa6;
  --line: #e2e4f0;
  --violet: #5a4bd8;
  --violet-text: #4a45c9;
  --blue: #3a5fcf;
  --mint: #149e6c;
  --sky: #2f7fea;
  --amber: #c97c0c;
  --aurora: linear-gradient(135deg, #5a4bd8 0%, #3a5fcf 100%);
  --tint: color-mix(in srgb, var(--violet) 7%, var(--surface));
  --shadow: 0 1px 2px #12152a0d, 0 12px 32px -16px #12152a29;
  --shadow-lg: 0 2px 4px #12152a0f, 0 40px 80px -32px #2a2f8f59;
  --phone: #0b0d18;
  --header: color-mix(in srgb, var(--bg) 82%, transparent);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1017;
    --bg-2: #11161f;
    --surface: #151a24;
    --ink: #eef1f7;
    --muted: #a6afc2;
    --soft: #7b8499;
    --line: #232a3b;
    --violet: #8b7dff;
    --violet-text: #aea4ff;
    --blue: #74b9ff;
    --mint: #55dfb7;
    --sky: #74b9ff;
    --amber: #f6c16b;
    --aurora: linear-gradient(135deg, #5847d6 0%, #2f5cc4 100%);
    --tint: color-mix(in srgb, var(--violet) 12%, var(--surface));
    --shadow: 0 1px 2px #0000004d, 0 12px 32px -16px #00000080;
    --shadow-lg: 0 2px 4px #00000059, 0 40px 80px -32px #000000b3;
    --phone: #04050a;
    color-scheme: dark;
  }
}

/* ---- Base ---- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
.wrap {
  width: min(1160px, 100% - 40px);
  margin: 0 auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
}

/* ---- Header: stays at the top, quietly blurred ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: var(--header);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.4px;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 560;
}
.menu a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.menu a:hover {
  color: var(--ink);
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 650;
}

/* ---- Shared pieces ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-text);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--aurora);
}
h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.06;
  letter-spacing: -1.6px;
  font-weight: 800;
}
.lede {
  margin: 18px 0 0;
  max-width: 620px;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--muted);
}
.center {
  text-align: center;
}
.center .lede {
  margin-left: auto;
  margin-right: auto;
}
.section {
  padding: 112px 0;
}

/* The store badge: official in shape, "coming soon" until the link exists. */
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 24px 0 18px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.store svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.store small {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}
.store b {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  font-size: 15.5px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 0.15s;
}
.ghost:hover {
  border-color: color-mix(in srgb, var(--violet) 45%, var(--line));
}

/* A phone: the real app inside a slim dark frame. */
.phone {
  width: 290px;
  padding: 9px;
  border-radius: 46px;
  background: var(--phone);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px #ffffff1f;
}
.phone img {
  border-radius: 37px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 72px 0 40px;
}
.hero::before {
  /* The aurora behind it all, and a faint grid that fades out. */
  content: "";
  position: absolute;
  z-index: -1;
  inset: -68px 0 0;
  background:
    radial-gradient(42% 38% at 74% 32%, #5a4bd82e, transparent 70%),
    radial-gradient(30% 30% at 92% 62%, #3a5fcf24, transparent 70%),
    radial-gradient(26% 26% at 8% 8%, #5a4bd814, transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    70% 60% at 50% 30%,
    #000 30%,
    transparent 75%
  );
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 56px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}
.badge i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}
.badge i::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.25;
}
h1 {
  margin: 22px 0 22px;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -2.8px;
  font-weight: 820;
}
h1 em {
  display: block;
  font-style: normal;
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.hero .lede {
  max-width: 560px;
  font-size: 19.5px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  font-weight: 550;
  color: var(--muted);
}
.proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.proof svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
}

/* Two phones and two notes from the app floating beside them. */
.stage {
  position: relative;
  height: 640px;
}
.stage .phone {
  position: absolute;
}
.stage .front {
  z-index: 2;
  top: 0;
  left: 6%;
}
.stage .back {
  top: 64px;
  right: 0;
  width: 262px;
  transform: rotate(6deg);
  opacity: 0.96;
}
.note {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 12px;
  width: 248px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.45;
}
.note b {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}
.note .ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--violet) 14%, transparent);
  color: var(--violet-text);
}
.note .ic svg {
  width: 18px;
  height: 18px;
}
.note.run .ic {
  background: color-mix(in srgb, var(--sky) 14%, transparent);
  color: var(--sky);
}
.note strong {
  font-size: 22px;
  letter-spacing: -0.6px;
}
.note small {
  color: var(--mint);
  font-weight: 650;
}
/* Over the edges of the phones, never over what the screen shows. */
.stage .n1 {
  bottom: 54px;
  left: -14%;
}
.stage .n2 {
  top: 18px;
  right: -4%;
}

/* ---- The edge: RepWise next to a typical training app ---- */
.compare {
  margin: 56px auto 0;
  max-width: 980px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
.compare th,
.compare td {
  padding: 20px 26px;
  text-align: left;
  vertical-align: top;
}
.compare thead th {
  padding-top: 24px;
  padding-bottom: 18px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}
.compare tbody tr + tr > * {
  border-top: 1px solid var(--line);
}
.compare tbody th {
  width: 26%;
  font-weight: 650;
}
.compare td {
  color: var(--muted);
}
.compare .us {
  width: 40%;
  background: var(--tint);
  color: var(--ink);
  font-weight: 560;
}
.compare thead .us {
  color: var(--violet-text);
}
.compare .us span {
  display: flex;
  gap: 10px;
}
.compare .us svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--violet);
}
.compare .them {
  width: 34%;
}

/* ---- The coach: a loop, and what it actually says ---- */
.coach .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}
.loop {
  position: relative;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.loop::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--violet), var(--blue));
  opacity: 0.35;
}
.loop li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  padding: 10px 0;
}
.loop li > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--aurora);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 0 0 6px var(--bg);
}
.loop h3 {
  margin: 4px 0 2px;
  font-size: 18px;
  letter-spacing: -0.3px;
}
.loop p {
  margin: 0;
  font-size: 15.5px;
  color: var(--muted);
}
.chat {
  position: relative;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.chat::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 40px -40px -40px 40px;
  border-radius: 40px;
  background: var(--aurora);
  opacity: 0.16;
  filter: blur(40px);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.chat-head .ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--aurora);
  color: #fff;
}
.chat-head .ic svg {
  width: 20px;
  height: 20px;
}
.chat-head b {
  display: block;
  font-size: 15.5px;
}
.chat-head small {
  font-size: 13px;
  color: var(--soft);
}
.chat-head em {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--mint) 14%, transparent);
  color: var(--mint);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.chat p {
  margin: 18px 0 0;
  font-size: 15.5px;
}
.chat h4 {
  margin: 18px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}
.chat ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.chat li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
  font-size: 15px;
}
.chat li b {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.chat-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.chat-foot span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.chat-foot span:first-child {
  border-color: transparent;
  background: var(--ink);
  color: var(--bg);
}
.personas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.personas span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
}
.personas-label {
  margin: 30px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.personas-label + .personas {
  margin-top: 12px;
}

/* ---- Inside the app: three screens and their story ---- */
.tour {
  background: var(--bg-2);
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
  margin-top: 88px;
}
.row .shot {
  position: relative;
  display: flex;
  justify-content: center;
}
.row .shot::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 12% 10%;
  border-radius: 50%;
  background: var(--tone);
  opacity: 0.16;
  filter: blur(60px);
}
.row .phone {
  position: relative;
  z-index: 1;
}
.row .phone + .phone {
  width: 240px;
  margin: 72px 0 0 -40px;
}
.row.flip .shot {
  order: 2;
}
.row .num {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tone);
}
.row h3 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -1.1px;
}
.row p {
  margin: 16px 0 0;
  max-width: 480px;
  font-size: 17.5px;
  color: var(--muted);
}
.row ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.row li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.row li:last-child {
  border-bottom: 1px solid var(--line);
}
.row li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--tone);
}
.t-mint {
  --tone: var(--mint);
}
.t-sky {
  --tone: var(--sky);
}
.t-violet {
  --tone: var(--violet);
}

/* ---- Privacy: a dark band ---- */
.private {
  position: relative;
  overflow: hidden;
  background: #0d1020;
  color: #eef1f7;
}
.private::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 85% 0%, #5a4bd84d, transparent 70%),
    radial-gradient(30% 50% at 0% 100%, #3a5fcf40, transparent 70%);
}
.private .wrap {
  position: relative;
}
.private .eyebrow {
  color: #aea4ff;
}
.private .lede {
  color: #b6bdd0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.pillar {
  padding: 28px 26px;
  border: 1px solid #ffffff14;
  border-radius: 24px;
  background: #ffffff08;
}
.pillar .ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff12;
  color: #c9c2ff;
}
.pillar .ic svg {
  width: 22px;
  height: 22px;
}
.pillar h3 {
  margin: 20px 0 8px;
  font-size: 19px;
  letter-spacing: -0.3px;
}
.pillar p {
  margin: 0;
  font-size: 15.5px;
  color: #b6bdd0;
}
.private .note-line {
  margin: 28px 0 0;
  font-size: 14.5px;
  color: #8f97ad;
}
.private .note-line a {
  color: #c9c2ff;
  font-weight: 650;
}

/* ---- Questions ---- */
.faq .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}
.faq dl,
.qa {
  margin: 0;
}
.qa details {
  border-bottom: 1px solid var(--line);
}
.qa details:first-child {
  border-top: 1px solid var(--line);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.2px;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--soft);
  border-bottom: 2px solid var(--soft);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s;
}
.qa details[open] summary::after {
  transform: translateY(3px) rotate(225deg);
}
.qa details p {
  margin: -6px 0 22px;
  max-width: 600px;
  font-size: 16px;
  color: var(--muted);
}

/* ---- The closing call ---- */
.final {
  padding-top: 24px;
}
.final-card {
  position: relative;
  overflow: hidden;
  padding: 80px 64px;
  border-radius: 36px;
  background: var(--aurora);
  color: #fff;
  box-shadow: 0 40px 80px -36px #3f4bd8b3;
}
.final-card::after {
  /* The three lanes of the logo, large and faint. */
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 460px;
  height: 460px;
  background: url(/img/lanes.svg) center / contain no-repeat;
  opacity: 0.22;
}
.final-card > * {
  position: relative;
  z-index: 1;
}
.final-card h2 {
  max-width: 620px;
}
.final-card p {
  max-width: 520px;
  margin: 18px 0 0;
  font-size: 18.5px;
  color: #ffffffd9;
}
.final-card .store {
  margin-top: 34px;
  background: #fff;
  color: #262a7f;
}

/* ---- Footer ---- */
.footer {
  padding: 72px 0 48px;
}
.footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer p {
  max-width: 300px;
  margin: 14px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}
.footer h4 {
  margin: 6px 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}
.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}
.footer li {
  padding: 4px 0;
}
.footer li a {
  color: var(--muted);
  text-decoration: none;
}
.footer li a:hover {
  color: var(--ink);
}
.legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--soft);
}

/* ---- Smaller screens ---- */
@media (max-width: 1080px) {
  .stage .n1 {
    left: -4%;
  }
}
.footer .wrap.legal {
  display: block;
}
@media (max-width: 960px) {
  .section {
    padding: 88px 0;
  }
  .hero .wrap,
  .coach .wrap,
  .faq .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .hero {
    padding: 40px 0 64px;
  }
  .stage {
    width: min(460px, 100%);
    height: 600px;
    margin: 0 auto;
  }
  .stage .n1 {
    left: -2%;
  }
  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-top: 72px;
  }
  .row.flip .shot {
    order: 0;
  }
  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .menu .wide {
    display: none;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: min(1160px, 100% - 32px);
  }
  .section {
    padding: 72px 0;
  }
  h1 {
    letter-spacing: -1.8px;
  }
  .stage {
    height: 540px;
  }
  .stage .front {
    left: 0;
    width: 250px;
  }
  .stage .back {
    width: 220px;
    right: -6px;
  }
  .note {
    width: 214px;
    padding: 12px 13px;
  }
  .stage .n1 {
    bottom: 16px;
    left: -4px;
  }
  .stage .n2 {
    top: 8px;
    right: -4px;
  }
  .compare thead {
    display: none;
  }
  .compare tr {
    display: block;
    padding: 18px 20px;
  }
  .compare tbody tr + tr {
    border-top: 1px solid var(--line);
  }
  .compare tbody tr + tr > * {
    border-top: 0;
  }
  .compare th,
  .compare td {
    display: block;
    width: auto !important;
    padding: 0;
  }
  .compare tbody th {
    margin-bottom: 8px;
    font-size: 16px;
  }
  .compare .them {
    margin-bottom: 8px;
    font-size: 14.5px;
    text-decoration: line-through;
    text-decoration-color: color-mix(in srgb, var(--soft) 60%, transparent);
  }
  .compare .us {
    padding: 12px 14px;
    border-radius: 14px;
  }
  .row .phone {
    width: 250px;
  }
  .row .phone + .phone {
    display: none;
  }
  .final-card {
    padding: 52px 26px;
    border-radius: 28px;
  }
  .final-card::after {
    width: 300px;
    height: 300px;
    right: -80px;
    bottom: -100px;
  }
  .footer .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer .about {
    grid-column: 1 / -1;
  }
}

/* ---- Text pages: privacy, deleting your account, Haas Labs ---- */
.doc {
  padding: 72px 0 40px;
}
.doc article {
  max-width: 720px;
  margin: 0 auto;
}
.doc h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -1.8px;
}
.doc h2 {
  margin: 48px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.4px;
}
.doc h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.2px;
}
.doc p,
.doc li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--muted);
}
.doc p {
  margin: 0 0 14px;
}
.doc ul,
.doc ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.doc li {
  padding: 3px 0;
}
.doc li::marker {
  color: var(--violet);
}
.doc strong {
  color: var(--ink);
}
.doc a {
  color: var(--violet-text);
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.doc .lead {
  font-size: 19px;
  color: var(--muted);
}
.doc .meta {
  font-size: 14px;
  color: var(--soft);
}
.doc-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.doc-card img {
  flex-shrink: 0;
  align-self: flex-start;
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.doc-card p {
  margin: 0;
}
.doc-card .links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
}
.doc-card .links a {
  text-decoration: none;
}
.tag {
  margin-left: 6px;
  padding: 3px 9px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--violet) 12%, transparent);
  color: var(--violet-text);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 3px;
}
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.doc-grid > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.doc-grid p {
  margin: 0;
  font-size: 15px;
}
.doc-foot {
  padding: 40px 0 48px;
}
.doc-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--soft);
}
.doc-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.doc-foot a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 640px) {
  .doc {
    padding: 44px 0 24px;
  }
  .doc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-card {
    flex-direction: column;
  }
}
