/* JotMind — sanbit.ai
   Apple-minimal product page: quiet near-white canvas, warm-paper screenshots
   as the visual protagonist, cinnabar reserved for actions. */

:root {
  color-scheme: light;

  /* Canvas */
  --bg: #fcfbf9;
  --bg-tint: #f5f2ec;
  --ink: #1f1c18;
  --ink-soft: #55504a;
  /* WCAG AA (4.5:1) for the footnotes, placeholders and hero status line that
     use it. The previous #7c766e reached only 4.34:1 on --bg and 4.02:1 on
     --bg-tint; this value is the one prefers-contrast already switched to. */
  --ink-muted: #57524a;
  --line: #e7e2da;

  /* Brand (matches the app) */
  --paper: #faf6ef;
  --paper-card: #fffdf8;
  --cinnabar: #c2503a;
  --cinnabar-deep: #a8442f;
  /* Carries the comparison table's "yes" cells and the waitlist success line,
     so it must clear 4.5:1 as text; #6e8b5e only reached 3.74:1 on --paper-card. */
  --success: #4f6b40;

  --focus: #a8442f;

  --shadow-soft: 0 10px 34px -22px rgba(60, 48, 34, 0.32), 0 3px 10px -6px rgba(60, 48, 34, 0.1);
  --shadow-phone: 0 46px 90px -50px rgba(60, 48, 34, 0.45), 0 16px 36px -24px rgba(60, 48, 34, 0.22);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --content: 1140px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ */
/* Reset + base                                                        */
/* ------------------------------------------------------------------ */

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

html { scroll-behavior: smooth; }

/* The nav is sticky and 65px tall, so an anchored element lands underneath it.
   Section padding hid this everywhere except #waitlist, whose heading — the
   target of every store CTA before launch — was fully covered. */
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--cinnabar); text-decoration: none; }
a:hover { color: var(--cinnabar-deep); }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

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

.container {
  width: min(100% - 48px, var(--content));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: none; color: #fff; }

/* ------------------------------------------------------------------ */
/* Type                                                                */
/* ------------------------------------------------------------------ */

h1 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: clamp(2.7rem, 6.4vw, 4.4rem);
}

h2 {
  font-family: var(--serif);
  font-weight: 620;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

h3 { font-size: 1.16rem; font-weight: 650; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: 18px;
}

.section { padding: clamp(84px, 11vw, 140px) 0; }
.section--tinted { background: var(--bg-tint); }

.section__head {
  max-width: 640px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section__head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Page-level titles inside a section head (e.g. pricing.html) share the
   section-heading scale, just a notch larger. */
.section__head h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 620;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.12s var(--ease);
}
.button:active { transform: scale(0.97); }

.button--accent { background: var(--cinnabar); color: #fff; }
.button--accent:hover { background: var(--cinnabar-deep); color: #fff; }

.button--ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: transparent;
}
.button--ghost:hover { border-color: var(--ink-muted); color: var(--ink); }

.button--large { min-height: 54px; padding: 14px 32px; font-size: 1.05rem; }
.button--small { min-height: 44px; padding: 8px 20px; font-size: 0.95rem; }

/* ------------------------------------------------------------------ */
/* Nav                                                                 */
/* ------------------------------------------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 249, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  width: min(100% - 48px, var(--content));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

/* The real JotMind mark, same artwork as the app icon and the favicon. It used
   to be the letters "jM" set in var(--serif) — a system font stack, so the mark
   rendered differently on every platform. */
.brand__mark {
  display: block;
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 550;
  font-size: 0.98rem;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: rgba(31, 28, 24, 0.05); }
.nav__links a:active { background: rgba(31, 28, 24, 0.09); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 12px;
}
.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle-bar { top: 21px; }
.nav__toggle-bar::before { left: 0; top: -6px; }
.nav__toggle-bar::after { left: 0; top: 6px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.nav__menu[hidden] { display: none; }

.nav__menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--line);
  background: rgba(252, 251, 249, 0.97);
}
.nav__menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 550;
}
.nav__menu a:hover { background: rgba(31, 28, 24, 0.05); }
.nav__menu .button { justify-content: center; margin-top: 8px; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
}
@media (min-width: 861px) {
  .nav__menu { display: none !important; }
}

/* ------------------------------------------------------------------ */
/* Phone frame                                                         */
/* ------------------------------------------------------------------ */

.phone {
  margin: 0;
  width: 100%;
  border-radius: clamp(38px, 11.5%, 54px);
  background: #17140f;
  padding: clamp(8px, 2.6%, 12px);
  box-shadow: var(--shadow-phone);
}
.phone img {
  width: 100%;
  border-radius: clamp(30px, 9.5%, 44px);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(194, 80, 58, 0.07), transparent 65%),
    radial-gradient(900px 500px at -8% 25%, rgba(110, 139, 94, 0.05), transparent 60%),
    var(--bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.hero__lede {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
}
.hero__lede strong { color: var(--ink); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.hero__visual .phone { grid-area: 1 / 1; }

.phone--front {
  width: min(64%, 320px);
  z-index: 2;
  transform: translateX(-16%) rotate(-1.2deg);
}
.phone--back {
  width: min(58%, 290px);
  transform: translateX(30%) translateY(6%) rotate(2.4deg);
  opacity: 0.94;
  filter: saturate(0.97);
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 16px; }
  .phone--front { width: min(62%, 300px); }
  .phone--back { width: min(56%, 270px); }
}

/* ------------------------------------------------------------------ */
/* Word strip                                                          */
/* ------------------------------------------------------------------ */

.strip { border-block: 1px solid var(--line); background: var(--paper); }

.strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 14px 22px;
  padding: 26px 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 620;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.strip__dot { color: var(--cinnabar); }

/* ------------------------------------------------------------------ */
/* How it works                                                        */
/* ------------------------------------------------------------------ */

.how__demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.how__stage { display: grid; justify-items: center; }
.phone--demo { width: min(100%, 330px); }
.phone--demo img { transition: opacity 0.3s var(--ease); }
.phone--demo img.is-fading { opacity: 0; }

.how__steps { display: grid; gap: 10px; }

.how__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  min-height: 44px;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.how__step:hover { background: rgba(31, 28, 24, 0.035); }
.how__step:active { background: rgba(31, 28, 24, 0.07); }

.how__step.is-active {
  background: var(--paper-card);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.how__step-index {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.how__step.is-active .how__step-index {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #fff;
}

.how__step-body { display: grid; gap: 4px; }
.how__step-body strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.how__step-body span:last-child { color: var(--ink-soft); font-size: 0.97rem; }

.how__typeit {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.how__typeit-phone { width: min(100%, 220px); justify-self: center; }
.how__typeit-copy h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 10px; }
.how__typeit-copy p { color: var(--ink-soft); max-width: 46ch; }

@media (max-width: 900px) {
  .how__demo { grid-template-columns: 1fr; }
  .phone--demo { width: min(72%, 300px); }
  .how__typeit { grid-template-columns: 1fr; }
  .how__typeit-phone { width: min(56%, 210px); }
}

/* ------------------------------------------------------------------ */
/* Why                                                                 */
/* ------------------------------------------------------------------ */

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why__card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
}

.why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--cinnabar);
  margin-bottom: 20px;
}
.why__icon svg { width: 26px; height: 26px; }

.why__card h3 { margin-bottom: 10px; }
.why__card p { color: var(--ink-soft); font-size: 0.99rem; }

@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Privacy                                                             */
/* ------------------------------------------------------------------ */

.privacy__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.privacy__lede {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.privacy__lede strong { color: var(--ink); }

.privacy__list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}
.privacy__list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 0.99rem;
}
.privacy__list li strong { color: var(--ink); }
.privacy__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--success);
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" d="m3.2 8.6 3 3 6.4-7"/%3E%3C/svg%3E') center / contain no-repeat;
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" d="m3.2 8.6 3 3 6.4-7"/%3E%3C/svg%3E') center / contain no-repeat;
}

.privacy__policy { margin-top: 26px; font-weight: 600; }
/* A standalone CTA link, not an inline one, so it owes the 44px target the
   spec sets rather than qualifying for the inline-link exemption. */
.privacy__policy a { display: inline-flex; align-items: center; min-height: 44px; }

.privacy__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}
.privacy__visual .phone:last-child { transform: translateY(clamp(22px, 4vw, 46px)); }

@media (max-width: 900px) {
  .privacy__inner { grid-template-columns: 1fr; }
  .privacy__visual { max-width: 520px; }
}

/* ------------------------------------------------------------------ */
/* Compare                                                             */
/* ------------------------------------------------------------------ */

.compare__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.compare__card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
}
.compare__card h3 { margin-bottom: 10px; color: var(--cinnabar); font-size: 1.02rem; }
.compare__card p { color: var(--ink-soft); font-size: 0.97rem; }

.compare__tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  box-shadow: var(--shadow-soft);
}

.compare__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare__table th,
.compare__table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare__table thead th {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--paper);
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__table tbody th { font-weight: 600; color: var(--ink); }
.compare__table td { color: var(--ink-soft); }
.compare__table td.is-yes { color: var(--success); font-weight: 650; }

.compare__footnote {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .compare__cards { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Pricing                                                             */
/* ------------------------------------------------------------------ */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing__card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: var(--shadow-soft);
}

.pricing__card--pro {
  position: relative;
  border: 1.5px solid rgba(194, 80, 58, 0.55);
  background: linear-gradient(180deg, #fffdf8 0%, #fdf7ec 100%);
}

.pricing__badge {
  position: absolute;
  top: -13px; left: 28px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--cinnabar);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.pricing__card h3 { font-family: var(--serif); font-size: 1.5rem; }

.pricing__price { margin-top: 14px; }
.pricing__amount {
  font-family: var(--serif);
  font-size: 2.3rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.pricing__cycle { color: var(--ink-muted); font-size: 1.05rem; margin-left: 2px; }
.pricing__alt { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 0.94rem; }

.pricing__features {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}
.pricing__features li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.pricing__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--cinnabar);
  -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" d="m3.2 8.6 3 3 6.4-7"/%3E%3C/svg%3E') center / contain no-repeat;
  mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" d="m3.2 8.6 3 3 6.4-7"/%3E%3C/svg%3E') center / contain no-repeat;
}
.pricing__card:not(.pricing__card--pro) .pricing__features li::before { background: var(--success); }

.pricing__footnote {
  margin-top: 26px;
  max-width: 720px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.pricing__more {
  margin-top: 34px;
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .pricing__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Download                                                            */
/* ------------------------------------------------------------------ */

.download__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.download__copy > p {
  margin-top: 18px;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.storebadge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  min-height: 60px;
  padding: 10px 24px 10px 18px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  transition: transform 0.12s var(--ease), background-color 0.18s var(--ease);
}
.storebadge:hover { background: #000; color: #fff; }
.storebadge:active { transform: scale(0.97); }
.storebadge__logo { width: 30px; height: 30px; }
.storebadge__text { display: grid; line-height: 1.2; }
.storebadge__small { font-size: 0.78rem; opacity: 0.85; }
.storebadge__big { font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; }

.download__note {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.download__card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.download__card h3 { font-family: var(--serif); font-size: 1.4rem; }
.download__card > p { margin-top: 10px; color: var(--ink-soft); font-size: 0.97rem; }

.waitlist__form { margin-top: 22px; }
.waitlist__form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 620;
  margin-bottom: 8px;
}

.waitlist__fields { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist__fields input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s var(--ease);
}
.waitlist__fields input::placeholder { color: var(--ink-muted); }
.waitlist__fields input:focus-visible { outline-offset: 1px; }

.waitlist__status { margin-top: 12px; font-size: 0.95rem; color: var(--success); font-weight: 600; min-height: 1.2em; }
.waitlist__status.is-error { color: var(--cinnabar-deep); }

.waitlist__fallback { margin-top: 14px; font-size: 0.85rem; color: var(--ink-muted); }

@media (max-width: 900px) {
  .download__inner { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.faq__inner { max-width: 780px; }

.faq__list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq__item + .faq__item { border-top: 1px solid var(--line); }

.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  padding: 20px 24px;
  font-weight: 620;
  cursor: pointer;
  transition: background-color 0.15s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: rgba(31, 28, 24, 0.03); }
.faq__item summary:active { background: rgba(31, 28, 24, 0.06); }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
  margin-right: 4px;
}
.faq__item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

.faq__item p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.99rem;
  max-width: 62ch;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 52px 0 60px;
}

.footer__inner { display: grid; gap: 26px; }

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  margin-left: -10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.footer__links a:hover { color: var(--cinnabar); }

.footer__legal { font-size: 0.88rem; color: var(--ink-muted); }

/* ------------------------------------------------------------------ */
/* Reveal on scroll                                                    */
/* ------------------------------------------------------------------ */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------ */
/* Preference fallbacks                                                */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: #b9b2a6;
    --ink-soft: #3c3831;
    --ink-muted: #57524a;
  }
}

@media (forced-colors: active) {
  .phone { border: 1px solid CanvasText; }
  .button, .storebadge { border: 1px solid CanvasText; }
  .privacy__list li::before,
  .pricing__features li::before { background: CanvasText; }
}
