/*
 * Kishenya landing page. Tokens follow the app's design system
 * (expense-tracker: docs/DESIGN_SYSTEM.md): Inter, one indigo accent,
 * soft shadows, 16–28px radii, no hard borders.
 */

/* Inter, self-hosted (SIL OFL 1.1, see fonts/OFL.txt) so the page calls no third party. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --card: #f5f6f8;
  --text: #1a1a1a;
  /* Darker than the app's #8A8F98 so body text passes 4.5:1 on white and on --card. */
  --muted: #646a75;
  --divider: rgba(26, 26, 26, 0.06);
  --accent: #5b6ee8;
  /* The brand indigo, one step darker: white text on it and it on white pass 4.5:1. */
  --accent-strong: #4f62dc;
  --accent-hover: #4353c8;
  --accent-tint: #eef0fd;
  --income: #30a46c;
  --expense: #d93a40;
  --shadow: 0 1px 2px rgba(16, 18, 23, 0.04), 0 12px 28px rgba(16, 18, 23, 0.06);
  --shadow-sm: 0 1px 2px rgba(16, 18, 23, 0.04);
  --glow: 0 8px 20px rgba(91, 110, 232, 0.33);

  /* Mock app screens (the phone and the parse demo). Overridden by .phone--dark. */
  --m-bg: #ffffff;
  --m-card: #f5f6f8;
  --m-text: #1a1a1a;
  --m-muted: #646a75;
  --m-divider: rgba(26, 26, 26, 0.06);
  --m-track: #e6e8ec;
  --m-active: #4f62dc;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
}

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

section[id] {
  scroll-margin-top: 16px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Type ─────────────────────────────────────────────────────────────── */

h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.lead {
  max-width: 520px;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  color: var(--muted);
}

.heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.heading--narrow {
  max-width: 640px;
}

/* ── Buttons and links ────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 9999px;
  background: var(--accent-strong);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  box-shadow: var(--glow);
  transition: background-color 0.15s;
}
.btn:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
  white-space: nowrap;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-weight: 600;
}
.link .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* ── Nav ──────────────────────────────────────────────────────────────── */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--text);
}
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}
.nav__links a:hover {
  color: var(--accent-strong);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 48px;
  padding-block: 48px 104px;
}

.hero__copy {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: var(--accent-tint);
  color: var(--accent-strong);
  font-size: 13.5px;
  font-weight: 600;
}
.pill .icon {
  width: 16px;
  height: 16px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 6px;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ticks .icon {
  width: 16px;
  height: 16px;
  stroke: var(--income);
  stroke-width: 2.4;
}

.hero__art {
  position: relative;
  flex: 1 1 360px;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding-block: 8px;
}

.blob {
  position: absolute;
  inset: 56px 0 40px;
  max-width: 460px;
  margin-inline: auto;
  border-radius: 46% 54% 58% 42% / 44% 48% 52% 56%;
  background: var(--accent-tint);
}

/* ── Phone mock ───────────────────────────────────────────────────────── */

.phone {
  position: relative;
  width: min(340px, 100%);
  padding: 10px;
  border-radius: 52px;
  background: #1a1a1a;
  box-shadow: 0 2px 4px rgba(16, 18, 23, 0.08), 0 36px 70px rgba(47, 58, 140, 0.24);
  color: var(--m-text);
  line-height: 1.3;
  /* The screen is a picture: keep its text from being selected or resized by the reader. */
  user-select: none;
}

.phone--dark {
  --m-bg: #121316;
  --m-card: #1c1e22;
  --m-text: #f2f2f2;
  --m-muted: #9499a3;
  --m-divider: rgba(255, 255, 255, 0.06);
  --m-track: #26282d;
  --m-active: #8492ee;
  width: min(330px, 100%);
  background: #2a2d33;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.5);
}

.phone__screen {
  display: flex;
  flex-direction: column;
  border-radius: 42px;
  background: var(--m-bg);
  overflow: hidden;
}

.app {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 18px 16px;
}

.app small {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--m-muted);
}

.app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.app__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.app__header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app__month {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 32px;
  padding: 0 11px;
  border-radius: 9999px;
  background: var(--m-card);
  font-size: 12.5px;
  font-weight: 600;
}
.app__month .icon {
  width: 14px;
  height: 14px;
  color: var(--m-active);
}
.app__round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--m-card);
}
.app__round .icon {
  width: 17px;
  height: 17px;
}
.app__round--off {
  color: var(--m-muted);
}

.eyebrow-s {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--m-muted);
}

.accounts {
  display: flex;
  gap: 10px;
}
.account {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  background: var(--m-card);
}
.account__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--m-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.account__top .icon {
  width: 19px;
  height: 19px;
}
.account__balance {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.account--primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 10px 22px rgba(91, 110, 232, 0.33);
}
.account--primary .account__top {
  color: #fff;
}

/* Category bubble: tinted circle + line icon, hue-driven like the app's CategoryBubble. */
.bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 50%;
  background: oklch(0.94 0.06 var(--h));
  color: var(--fg);
}
.bubble .icon {
  width: 55%;
  height: 55%;
}
.bubble--32 {
  width: 32px;
  height: 32px;
}
.bubble--36 {
  width: 36px;
  height: 36px;
}
.bubble--38 {
  width: 38px;
  height: 38px;
}
.bubble--40 {
  width: 40px;
  height: 40px;
}
.bubble--48 {
  width: 48px;
  height: 48px;
}
.bubble--symbol {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.phone--dark .bubble {
  background: oklch(0.32 0.08 var(--h));
  color: oklch(0.78 0.13 var(--h));
}

.row__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.row__text b {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.1px;
}
.row__amount {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.smart {
  border-radius: 20px;
  background: var(--m-bg);
  box-shadow: 0 0 0 2px var(--accent), 0 12px 28px rgba(91, 110, 232, 0.2);
}
.smart__input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 14px;
}
.smart__sparkle {
  width: 19px;
  height: 19px;
  color: var(--m-active);
}
.smart__text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 15px;
  font-weight: 500;
}
.caret {
  width: 2px;
  height: 18px;
  border-radius: 1px;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .caret {
    animation: caret 1.1s steps(1) infinite;
  }
}
@keyframes caret {
  50% {
    opacity: 0;
  }
}
.smart__go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
}
.smart__go .icon {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}
.smart__preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: 14px;
  padding-block: 11px 12px;
  box-shadow: 0 -1px 0 var(--m-divider);
}

.spent {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.spent__line {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.spent__value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

.recent {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}
.recent .eyebrow-s {
  padding-bottom: 6px;
}
.txn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
}
.txn + .txn {
  background: linear-gradient(var(--m-divider), var(--m-divider)) no-repeat 50px 0 / 100% 1px;
}

.tabbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 9px 16px 18px;
  box-shadow: 0 -1px 0 var(--m-divider);
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--m-muted);
  font-size: 10px;
  font-weight: 600;
}
.tab .icon {
  width: 21px;
  height: 21px;
}
.tab--active {
  color: var(--m-active);
}
.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: -22px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 6px 16px rgba(91, 110, 232, 0.33);
}
.fab .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* Reports screen (dark phone) */

.month {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.month__name {
  min-width: 118px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
}

.summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: var(--m-card);
}
.summary__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.summary__total {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.1;
}
.summary small {
  font-size: 12px;
}
.summary small b {
  color: var(--m-text);
  font-weight: 700;
}

.donut {
  position: relative;
  width: 92px;
  height: 92px;
  flex: none;
}
.donut svg {
  display: block;
  width: 100%;
  height: 100%;
}
.donut circle {
  stroke: oklch(0.78 0.13 var(--h));
}
.donut .donut__track {
  stroke: var(--m-track);
}
.donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut__center b {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.donut__center small {
  font-size: 8.5px;
  font-weight: 600;
}

.bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bar {
  display: flex;
  align-items: center;
  gap: 11px;
}
.bar__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.bar__line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
}
.bar__line b:first-child {
  font-weight: 600;
}
.bar__track {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bar__track i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(oklch(0.78 0.13 var(--h)), oklch(0.78 0.13 var(--h))) no-repeat 0 0 /
      var(--w) 100%,
    var(--m-track);
}
.bar__track small {
  min-width: 28px;
  text-align: right;
  font-size: 11.5px;
  font-weight: 600;
}

/* ── Sections with copy + art side by side ────────────────────────────── */

.band {
  background: var(--card);
}

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px 72px;
  padding-block: 104px;
}
/* Art first on desktop, copy first once the row wraps. */
.split--reverse {
  flex-wrap: wrap-reverse;
}
.split__copy {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}
.split__art {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.steps,
.points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.steps li,
.points li {
  display: flex;
  gap: 18px;
}
.steps h3,
.points h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.steps p,
.points p {
  margin-top: 6px;
  font-weight: 500;
  color: var(--muted);
}
.steps__num,
.points__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.steps__num {
  background: var(--bg);
  box-shadow: var(--shadow-sm), 0 8px 18px rgba(16, 18, 23, 0.05);
  color: var(--accent-strong);
  font-weight: 700;
}

/* ── Parse demo ───────────────────────────────────────────────────────── */

.demo {
  width: min(500px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  line-height: 1.3;
  user-select: none;
}
.demo small {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.demo__input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-radius: 28px;
  background: var(--bg);
  box-shadow: var(--shadow);
  font-size: 17px;
  font-weight: 500;
}
.demo__input > span:first-of-type {
  flex: 1;
  min-width: 0;
}
.demo__sparkle {
  width: 22px;
  height: 22px;
  color: var(--accent-strong);
}
.demo__mic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-strong);
}
.demo__mic .icon {
  width: 21px;
  height: 21px;
}
.demo__arrow {
  display: flex;
  justify-content: center;
  color: var(--muted);
}
.demo__arrow .icon {
  width: 22px;
  height: 22px;
}

.demo__result {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  background: var(--bg);
  box-shadow: var(--shadow-sm), 0 24px 48px rgba(16, 18, 23, 0.08);
}
.demo__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.demo__head b {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.demo__head small {
  font-weight: 600;
}
.demo__banner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 16px;
  background: var(--accent-tint);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 600;
}
.demo__banner .icon {
  width: 17px;
  height: 17px;
}

.parsed {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: var(--card);
}
.parsed__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.parsed .row__text b {
  font-size: 16px;
}
.parsed__amount {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--expense);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 600;
}
.chip .icon {
  width: 16px;
  height: 16px;
  color: var(--accent-strong);
}
.chip .chip__edit {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.chip--active {
  box-shadow: 0 0 0 2px var(--accent), var(--shadow-sm);
}

.demo__actions {
  display: flex;
  gap: 10px;
  padding-top: 2px;
  font-size: 16px;
}
.demo__cancel,
.demo__save {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  border-radius: 9999px;
}
.demo__cancel {
  flex: 1;
  background: var(--card);
  font-weight: 600;
}
.demo__save {
  flex: 1.6;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--glow);
}
.demo__save .icon {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

/* ── Features ─────────────────────────────────────────────────────────── */

.features {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 104px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: 20px;
  background: var(--card);
}
.card h3 {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.card p {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--muted);
}

.langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.langs__tag {
  padding: 8px 14px;
  border-radius: 9999px;
  background: var(--card);
  color: var(--text);
  font-weight: 600;
}
.langs__tag small {
  font-size: inherit;
  font-weight: 500;
  color: var(--muted);
}

/* ── Privacy (dark band) ──────────────────────────────────────────────── */

.dark {
  --muted: #a3a8b2;
  --accent-strong: #8492ee;
  --accent-hover: #a3aef4;
  background: #121316;
  color: #f2f2f2;
}
.dark .split__copy {
  gap: 36px;
}
.dark .points {
  gap: 22px;
}
.dark .points h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.dark .points p {
  margin-top: 4px;
  font-size: 15.5px;
}
.points__icon {
  background: #1c1e22;
  color: var(--accent-strong);
}
.points__icon .icon {
  width: 21px;
  height: 21px;
}

/* ── Help ─────────────────────────────────────────────────────────────── */

.help {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 72px;
  padding-block: 104px;
}
.help__intro {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.help__intro > p:last-child {
  margin-top: 8px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.6;
}
.help__intro a {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.faq {
  flex: 2 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  padding-inline: 24px;
  border-radius: 20px;
  background: var(--card);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.2s;
}
.faq details[open] summary .icon {
  transform: rotate(180deg);
}
.faq details p {
  max-width: 620px;
  padding-bottom: 22px;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Final call to action ─────────────────────────────────────────────── */

.cta {
  padding-bottom: 96px;
}
.cta__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: clamp(48px, 7vw, 88px) 24px;
  border-radius: 28px;
  background: var(--accent-tint);
  text-align: center;
}
.cta__mark {
  width: 76px;
  height: 76px;
  border-radius: 19px;
  box-shadow: 0 12px 28px rgba(91, 110, 232, 0.33);
}
.cta__box h2 {
  max-width: 640px;
  margin-top: 6px;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.cta__box p {
  max-width: 460px;
  font-size: 17px;
  font-weight: 500;
  color: #50566b;
}
.cta__box .btn {
  margin-top: 8px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer {
  box-shadow: 0 -1px 0 var(--divider);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 20px 28px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
}
.footer nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
}
.footer nav a:hover {
  color: var(--accent-strong);
}

/* ── Privacy policy (privacy/index.html) ──────────────────────────────── */

.legal {
  max-width: 760px;
  padding-block: 48px 96px;
  font-size: 16.5px;
  line-height: 1.65;
}
.legal h1 {
  margin-top: 12px;
  font-size: clamp(36px, 4.6vw, 56px);
}
.legal__date {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 500;
}
.legal__callout {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--accent-tint);
}
.legal h2 {
  margin-top: 48px;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.legal h2[id],
.legal h3[id] {
  scroll-margin-top: 16px;
}
.legal h3 {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal p,
.legal ul {
  margin-top: 12px;
}
.legal ul {
  padding-left: 22px;
  list-style: disc;
}
.legal li + li {
  margin-top: 6px;
}
.legal li::marker {
  color: var(--accent-strong);
}
.legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.legal__table {
  margin-top: 16px;
  overflow-x: auto;
  border-radius: 16px;
  background: var(--card);
}
.legal table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}
.legal th,
.legal td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.legal th {
  font-weight: 600;
  color: var(--muted);
}
.legal tr + tr td {
  box-shadow: 0 -1px 0 var(--divider);
}

/* ── Small screens ────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .hero {
    padding-block: 24px 72px;
  }
  .split,
  .features,
  .help {
    padding-block: 72px;
  }
  .cta {
    padding-bottom: 64px;
  }
  .legal {
    padding-block: 32px 64px;
  }
}
