@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Palette follows the app: warm paper neutrals, the elephant's sky blue, tusk gold, a mint tile. */
:root {
  --bg: #FAF8F6;
  --paper: #FFFFFF;
  --soft: #F3EFEB;
  --ink: #1F1B17;
  --muted: #615A53;
  --rule: #E6E0DA;
  --blue: #2E6FE0;
  --blue-ink: #15469A;
  --blue-soft: #E3EDFF;
  --gold: #FFDF9E;
  --gold-ink: #5E4200;
  --mint: #C8EDE9;
  --mint-ink: #0E5550;
  --shadow: 0 1px 2px rgba(31, 27, 23, .06), 0 12px 32px -12px rgba(31, 27, 23, .18);
  --radius: 22px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #16130F; --paper: #1F1B17; --soft: #2A2520; --ink: #F2EDE7; --muted: #B3AAA0;
  --rule: #3A342D; --blue: #7FA9FF; --blue-ink: #D8E6FF; --blue-soft: #1B2A47;
  --gold: #3A2D12; --gold-ink: #F1BF6D; --mint: #17302E; --mint-ink: #8ADBD3;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16130F; --paper: #1F1B17; --soft: #2A2520; --ink: #F2EDE7; --muted: #B3AAA0;
    --rule: #3A342D; --blue: #7FA9FF; --blue-ink: #D8E6FF; --blue-soft: #1B2A47;
    --gold: #3A2D12; --gold-ink: #F1BF6D; --mint: #17302E; --mint-ink: #8ADBD3;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.9; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: embed; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; padding: 6px 14px; border-radius: 99px; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.top .btn { padding: 8px 20px; font-size: 15px; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 99px; border: 1.5px solid transparent;
  background: var(--blue); color: #fff; text-decoration: none; font: inherit; font-weight: 700;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
:root[data-theme="dark"] .btn { color: #0B1A33; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn { color: #0B1A33; } }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--blue); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
:root[data-theme="dark"] .btn.ghost { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.ghost { color: var(--ink); } }
.btn.ghost:hover { border-color: var(--blue); box-shadow: none; }
.btn small { display: block; font-weight: 400; font-size: 12px; opacity: .85; line-height: 1.3; }
.btn.store { padding: 10px 22px; min-width: 150px; min-height: 60px; justify-content: center; text-align: center; border-radius: 16px; }
.btn.store b { display: block; line-height: 1.4; font-size: 16px; }
.btn[hidden] { display: none; }
/* web version: an outlined button next to the store buttons */
.cta a.btn.web { background: var(--paper); color: var(--ink); border-color: var(--rule); }
.cta a.btn.web:hover { border-color: var(--blue); box-shadow: none; }
.final .cta a.btn.web { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.final .cta a.btn.web:hover { border-color: #fff; }
.nav a.nav-web { color: var(--blue); font-weight: 700; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 24px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border-radius: 99px;
  background: var(--gold); color: var(--gold-ink); font-size: 14px; font-weight: 600;
}
h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.35; font-weight: 800; margin: 18px 0 16px; letter-spacing: -.5px; }
h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-art::before {
  content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blue-soft), transparent 70%);
}
.hero-art .phone { position: relative; width: min(290px, 62vw); transform: rotate(-3deg); }
.mascot {
  position: absolute; width: 190px; inset-inline-start: -4px; bottom: -6px;
  filter: drop-shadow(0 14px 18px rgba(21, 70, 154, .28)); animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-10px) rotate(2deg); } }

/* phone frame drawn in CSS around the cropped screenshot */
.phone {
  background: #15110D; border-radius: 40px; padding: 9px;
  box-shadow: var(--shadow), 0 40px 60px -30px rgba(21, 70, 154, .35);
}
.phone img { width: 100%; border-radius: 32px; aspect-ratio: 620 / 1379; object-fit: cover; background: var(--soft); }

/* ---------- trust strip ---------- */
.strip { padding: 28px 0 8px; }
.strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip li {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; font-weight: 600; font-size: 15px; line-height: 1.6;
}
.ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink); }
.ico svg { width: 22px; height: 22px; }
.ico.blue { background: var(--blue-soft); color: var(--blue); }
.ico.gold { background: var(--gold); color: var(--gold-ink); }

/* ---------- sections ---------- */
section { padding: 84px 0 0; }
.kicker { color: var(--blue); font-weight: 700; font-size: 15px; }
h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.45; font-weight: 800; margin: 6px 0 12px; letter-spacing: -.3px; }
.sub { color: var(--muted); max-width: 40em; font-size: 18px; }
.head { margin-bottom: 36px; }

/* tools grid */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 19px; margin: 14px 0 6px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.85; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { padding: 1px 12px; border-radius: 99px; background: var(--soft); font-size: 13.5px; color: var(--muted); }
.card.wide { grid-column: span 2; }

/* smart features: tabs */
.smart-bg { background: linear-gradient(180deg, transparent, var(--blue-soft) 18%, var(--blue-soft) 82%, transparent); padding-bottom: 84px; margin-top: 84px; padding-top: 1px; }
.smart-bg > .wrap > section:first-child, .smart-bg section { padding-top: 70px; }
.tabs { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab {
  display: flex; gap: 14px; align-items: center; text-align: start; padding: 14px 16px; border-radius: 18px;
  background: transparent; border: 1.5px solid transparent; color: var(--ink); font: inherit; cursor: pointer;
}
.tab:hover { background: color-mix(in srgb, var(--paper) 60%, transparent); }
.tab[aria-selected="true"] { background: var(--paper); border-color: var(--rule); box-shadow: var(--shadow); }
.tab b { display: block; font-size: 16.5px; line-height: 1.5; }
.tab span { font-size: 13.5px; color: var(--muted); line-height: 1.5; display: block; }
.panel { display: none; background: var(--paper); border: 1px solid var(--rule); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); }
.panel.on { display: grid; grid-template-columns: 1fr 250px; gap: 36px; align-items: center; animation: rise .35s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.panel h3 { font-size: 26px; line-height: 1.5; margin-bottom: 10px; font-weight: 800; }
.panel p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 30px; font-size: 16px; line-height: 1.8; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.panel .phone { width: 100%; max-width: 250px; margin-inline: auto; }
.panel .art { display: grid; place-items: center; min-height: 240px; }

/* audio lesson spotlight */
.lesson { background: var(--ink); color: var(--bg); border-radius: 36px; padding: clamp(28px, 5vw, 60px); position: relative; overflow: hidden; }
:root[data-theme="dark"] .lesson { background: #0F0D0A; color: #F2EDE7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lesson { background: #0F0D0A; color: #F2EDE7; } }
.lesson .kicker { color: #FFDF9E; }
.lesson h2 { color: inherit; }
.lesson .sub { color: color-mix(in srgb, currentColor 72%, transparent); }
.lesson-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-top: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li::before {
  counter-increment: s; content: counter(s, persian); flex: none; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; background: #FFDF9E; color: #3A2900; font-weight: 800;
}
.steps b { display: block; line-height: 1.6; }
.steps span { font-size: 15.5px; opacity: .75; }
.wave { display: flex; align-items: center; gap: 4px; height: 90px; margin: 28px 0 8px; }
.wave i { flex: 1; background: linear-gradient(#7FA9FF, #2E6FE0); border-radius: 99px; min-width: 3px; animation: eq 1.6s ease-in-out infinite; height: var(--h); transform-origin: center; }
@keyframes eq { 50% { transform: scaleY(.45); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { padding: 3px 14px; border-radius: 99px; border: 1px solid color-mix(in srgb, currentColor 28%, transparent); font-size: 14px; }

/* privacy + credits */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two .card { padding: 32px; }
.two h3 { font-size: 24px; }
.two .card.tint { background: var(--mint); border-color: transparent; }
.two .card.tint p, .two .card.tint li { color: var(--mint-ink); }
.two .card.gold { background: var(--gold); border-color: transparent; }
.two .card.gold p, .two .card.gold li { color: var(--gold-ink); }
.two .checks li::before { background-color: currentColor; }
.two .checks li { font-size: 16px; }

/* coming soon */
.soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.soon div { padding: 18px 20px; border: 1.5px dashed var(--rule); border-radius: 18px; font-weight: 600; line-height: 1.7; }
.soon small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.badge { display: inline-block; font-size: 12px; padding: 0 9px; border-radius: 99px; background: var(--gold); color: var(--gold-ink); margin-inline-start: 6px; vertical-align: middle; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 4px 22px; }
summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; color: var(--blue); line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 18px; color: var(--muted); }

/* final cta */
.final { text-align: center; background: var(--blue); color: #fff; border-radius: 36px; padding: 56px 24px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .final { background: #1B2A47; color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .final { background: #1B2A47; color: var(--ink); } }
.final h2 { color: inherit; }
.final p { opacity: .85; margin-bottom: 24px; }
.final .cta { justify-content: center; }
.final .btn { background: #fff; color: var(--blue-ink); }
:root[data-theme="dark"] .final .btn, .final .btn { color: #15469A; }
.final img { width: 120px; margin: 0 auto 8px; }

/* footer */
footer { margin-top: 84px; border-top: 1px solid var(--rule); padding: 32px 0 44px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--blue); text-decoration: underline; }

/* long text pages (privacy) */
.doc { max-width: 780px; margin: 40px auto 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 22px; padding: 32px clamp(20px, 4vw, 44px); }
.doc h1 { font-size: 30px; margin: 0 0 4px; }
.doc h2 { font-size: 20px; margin: 30px 0 8px; }
.doc p, .doc li { margin: 0 0 10px; }
.doc ul { padding-inline-start: 22px; margin: 0 0 10px; }
.doc .meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

/* scroll reveal (only when JS is on) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero .wrap, .lesson-grid, .two { grid-template-columns: 1fr; }
  .hero-art { min-height: 440px; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; }
  .tab { flex: none; scroll-snap-align: start; }
  .tab span { display: none; }
  .tools { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .strip ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 68px; flex-direction: column; background: var(--bg); padding: 12px 20px 20px; border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .menu-btn { display: block; }
  .top .btn { display: none; }
  .panel.on { grid-template-columns: 1fr; padding: 24px; }
  .panel .phone { order: -1; max-width: 210px; }
  .tools { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .hero { padding-top: 28px; }
  .mascot { width: 130px; }
  .cta .btn { flex: 1 1 100%; }
  .lesson { border-radius: 26px; }
  .final { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
/* privacy page: the summary box; the header nav stays visible on phones there */
.doc .summary { background: var(--blue-soft); border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; }
.doc .summary p { margin: 0; }
.top .nav { margin-inline-start: auto; }
@media (max-width: 720px) { body > .top:not(#top) .nav { display: flex; position: static; flex-direction: row; padding: 0; border: 0; background: none; } }
.doc .table { overflow-x: auto; margin: 0 0 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.8; min-width: 560px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.doc th { color: var(--muted); font-weight: 600; font-size: 14px; }

/* teacher picker: avatars are the app's own (a gradient per voice, the name's first letter) */
.teachers { margin-top: 64px; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--soft); margin-bottom: 22px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; padding: 6px 22px; border-radius: 99px; cursor: pointer; }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.t-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.t-card {
  position: relative; display: grid; justify-items: center; gap: 8px; padding: 22px 10px 18px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 22px; cursor: pointer; overflow: hidden;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.t-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.t-card[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent); }
.t-av {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 30px; font-weight: 800;
  background: radial-gradient(circle at 30% 24%, rgba(255, 255, 255, .45), transparent 52%), linear-gradient(var(--a), var(--l), var(--d));
  box-shadow: 0 8px 18px -8px var(--d);
}
.t-name { font-weight: 700; font-size: 17px; }
.t-state { color: var(--blue); width: 28px; height: 28px; }
.t-state svg { width: 28px; height: 28px; }
.t-state .i-pause, .t-card[aria-pressed="true"] .t-state .i-play { display: none; }
.t-card[aria-pressed="true"] .t-state .i-pause { display: block; }
.t-bar { position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: transparent; }
.t-bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .2s linear; }
.t-script { margin-top: 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 4px 22px; }
.t-script summary { font-weight: 600; font-size: 15px; }
.t-script p { color: var(--muted); font-size: 15.5px; padding: 0 0 8px; }
.t-script .t-more { font-size: 14px; }
@media (max-width: 980px) { .t-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .t-grid { grid-template-columns: repeat(2, 1fr); } .t-av { width: 64px; height: 64px; } }

/* footer with tool links: every link is at least 44px tall */
footer .foot { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 40px; align-items: start; }
.foot-col b { display: block; color: var(--ink); margin-bottom: 6px; }
.foot-col nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.foot-col nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 2px; }
.foot-col:nth-child(2) nav { grid-template-columns: 1fr; }
.foot-copy { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 14px; }
@media (max-width: 720px) { footer .foot { grid-template-columns: 1fr; } }

/* SEO pages */
.narrow { width: min(820px, 100% - 40px); }
.page-hero { padding: 48px 0 8px; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 46px); margin-top: 0; }
.prose p { color: var(--muted); font-size: 18px; margin-bottom: 14px; }
.prose b { color: var(--ink); }
.page-hero .cta { margin-top: 22px; }
.page-shot { width: min(240px, 70vw); margin: 32px auto 0; }
section .narrow > h2 { margin-bottom: 18px; }
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 14px; }
.steps-list li { position: relative; padding-inline-start: 50px; line-height: 1.9; counter-increment: st; }
.steps-list li::before {
  content: counter(st, persian); position: absolute; inset-inline-start: 0; top: 2px; width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-weight: 800;
}
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card.rel { text-decoration: none; transition: transform .15s, border-color .15s; }
.card.rel:hover { transform: translateY(-3px); border-color: var(--blue); }
.card.rel h3 { margin-top: 0; color: var(--blue); }
@media (max-width: 720px) { .rel-grid { grid-template-columns: 1fr; } }
.card .more { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 600; text-decoration: none; padding: 6px 0; }
.card .more:hover { text-decoration: underline; }
.prose a, .steps-list a, .checks a, .faq a { color: var(--blue); }

/* header on phones: the download button stays next to the logo, the menu button follows it */
@media (max-width: 720px) {
  .top .btn { display: inline-flex; margin-inline-start: auto; padding: 7px 18px; font-size: 14px; }
  .menu-btn { margin-inline-start: 0; }
  /* the six smart-feature tabs wrap into rows instead of scrolling out of sight */
  .tab-list { flex-wrap: wrap; overflow: visible; }
  .tab { flex: 1 1 calc(50% - 8px); padding: 10px 12px; }
  .tab .ico { display: none; }
}
@media (max-width: 720px) { .top .btn { order: 1; } .menu-btn { order: 2; } }
