/* ==========================================================================
   MealGenie — shared stylesheet
   Light theme only. One saffron accent used sparingly.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --bg: #FDFDFF;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-muted: #64748B;
  --saffron: #EA580C;
  --saffron-dark: #C2410C;
  --accent-bg: #FFF7ED;
  --accent-border: #FFEDD5;
  --emerald: #059669;
  --emerald-bg: #ECFDF5;
  --violet: #7C3AED;
  --violet-bg: #F5F3FF;
  --genie-blue: #1D4ED8;
  --blue-bg: #EFF4FF;

  /* borders + lines */
  --border: #EAEDF2;
  --border-strong: #DCE1EA;

  /* radii */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow: 0 6px 16px rgba(15, 23, 42, .05);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, .07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .10);

  /* typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* layout */
  --container: 1120px;
  --measure: 720px;
  --header-h: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

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

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

a {
  color: var(--saffron);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--saffron-dark); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--ink);
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid rgba(234, 88, 12, .35);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding-block: 76px;
}
.section--tight { padding-block: 52px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 600;
}
.section-head p {
  color: var(--ink-muted);
  font-size: 18px;
  margin-bottom: 0;
}

.text-muted { color: var(--ink-muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--saffron);
  color: #fff;
  box-shadow: 0 8px 20px rgba(234, 88, 12, .28);
}
.btn--primary:hover { background: var(--saffron-dark); color: #fff; box-shadow: 0 10px 26px rgba(234, 88, 12, .34); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--ink); border-color: var(--ink-muted); }

.btn--soft {
  background: var(--accent-bg);
  color: var(--saffron-dark);
  border-color: var(--accent-border);
}
.btn--soft:hover { color: var(--saffron-dark); background: #ffefdd; }

/* ---------- Store badge buttons ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  transition: transform .12s ease, box-shadow .15s ease;
  box-shadow: var(--shadow);
}
.store-badge:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.store-badge .fa-brands,
.store-badge .badge-icon { font-size: 26px; line-height: 1; }
.store-badge .badge-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-badge .badge-text small { font-size: 11px; font-weight: 400; opacity: .8; }
.store-badge .badge-text span { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; }
.store-badge .badge-tag {
  position: absolute;
  top: -9px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--saffron-dark);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 253, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand b { color: var(--saffron); font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a.nav-link {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.nav a.nav-link:hover { color: var(--saffron-dark); background: var(--accent-bg); }
.nav .btn { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  font-size: 19px;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 72px 40px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 380px at 88% -8%, rgba(234, 88, 12, .10), transparent 60%),
    radial-gradient(680px 400px at 6% 8%, rgba(29, 78, 216, .08), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--saffron-dark);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 600;
  letter-spacing: -1.4px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--saffron); }
.hero__sub {
  font-size: 19px;
  color: var(--ink-muted);
  max-width: 520px;
  margin-bottom: 30px;
}
.hero__cta { margin-bottom: 16px; }
.hero__note {
  font-size: 14px;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__note i { color: var(--emerald); }

/* hero visual / phone mock */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  position: relative;
  width: 300px;
  max-width: 78vw;
  border-radius: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 14px;
}
.phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 116px;
  height: 22px;
  background: var(--ink);
  border-radius: var(--radius-pill);
  z-index: 3;
}
.phone__screen {
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--accent-bg));
  border: 1px solid var(--border);
  padding: 40px 18px 22px;
}
.phone__logo {
  width: 84px;
  height: 84px;
  margin: 6px auto 14px;
}
.phone__title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.4px;
}
.phone__title b { color: var(--saffron); }
.phone__tag {
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.phone__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.phone__card:last-child { margin-bottom: 0; }
.phone__card .row { display: flex; align-items: center; gap: 11px; }
.phone__card .ic {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  font-size: 16px;
}
.phone__card .ic--saffron { background: var(--accent-bg); color: var(--saffron); }
.phone__card .ic--emerald { background: var(--emerald-bg); color: var(--emerald); }
.phone__card .ic--violet  { background: var(--violet-bg);  color: var(--violet); }
.phone__card .t { font-weight: 600; font-size: 14px; line-height: 1.25; }
.phone__card .s { font-size: 12px; color: var(--ink-muted); }

/* ---------- Logo strip / trust row ---------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  color: var(--ink-muted);
  font-size: 14.5px;
  font-weight: 500;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust i { color: var(--saffron); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  box-shadow: var(--shadow);
}
.step__num {
  counter-increment: step;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--saffron);
  border: 1px solid var(--accent-border);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--ink-muted); margin-bottom: 0; font-size: 15.5px; }

/* ---------- Features grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__ic {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 21px;
  margin-bottom: 16px;
}
.ic--saffron { background: var(--accent-bg); color: var(--saffron); }
.ic--emerald { background: var(--emerald-bg); color: var(--emerald); }
.ic--violet  { background: var(--violet-bg);  color: var(--violet); }
.ic--blue    { background: var(--blue-bg);    color: var(--genie-blue); }
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { color: var(--ink-muted); font-size: 15px; margin-bottom: 0; }

/* ---------- Split / maker note ---------- */
.maker {
  background: linear-gradient(180deg, var(--surface), var(--accent-bg));
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 26px;
  align-items: center;
  box-shadow: var(--shadow);
}
.maker__mark {
  width: 92px; height: 92px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--accent-border);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.maker__mark img { width: 62px; height: 62px; }
.maker h2 { font-size: 26px; margin-bottom: 10px; }
.maker p { color: var(--ink-muted); margin-bottom: 0; }
.maker p + p { margin-top: 12px; }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  outline: 2px solid var(--saffron);
  outline-offset: -2px;
}
.plan__tag {
  position: absolute;
  top: -13px;
  left: 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--saffron);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(234, 88, 12, .3);
}
.plan h3 { font-size: 20px; margin-bottom: 4px; }
.plan__desc { color: var(--ink-muted); font-size: 14.5px; margin-bottom: 20px; min-height: 42px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan__price .amt { font-size: 40px; font-weight: 700; letter-spacing: -1px; }
.plan__price .per { color: var(--ink-muted); font-size: 15px; font-weight: 500; }
.plan__alt { color: var(--ink-muted); font-size: 14px; margin-bottom: 22px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 26px; }
.plan__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 11px;
}
.plan__list li i { color: var(--emerald); margin-top: 4px; flex: none; font-size: 13px; }
.plan .btn { width: 100%; margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 55%, #EFF4FF 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.cta-band p { color: var(--ink-muted); font-size: 18px; max-width: 520px; margin: 0 auto 26px; }
.cta-band .store-badges { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: 52px 30px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--ink-muted); font-size: 15px; max-width: 320px; }
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--ink); font-size: 15px; font-weight: 500; }
.footer-col a:hover { color: var(--saffron-dark); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-muted);
  font-size: 14px;
}
.footer-bottom a { color: var(--ink-muted); }
.footer-bottom a:hover { color: var(--saffron-dark); }

/* ==========================================================================
   Legal / long-form document pages
   ========================================================================== */
.doc {
  padding-block: 48px 72px;
}
.doc__inner {
  max-width: var(--measure);
  margin-inline: auto;
}
.doc__header { margin-bottom: 30px; }
.doc__header h1 {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 600;
  margin-bottom: 8px;
}
.doc__meta { color: var(--ink-muted); font-size: 15px; }

.legal-note {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-left: 3px solid var(--saffron);
  border-radius: 12px;
  padding: 14px 18px;
  font-style: italic;
  font-size: 14.5px;
  color: #7c4a2d;
  margin-bottom: 30px;
}
.legal-note i { font-style: normal; color: var(--saffron); margin-right: 6px; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}
.toc h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.toc ol {
  columns: 2;
  column-gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.toc li { margin-bottom: 9px; font-size: 15px; break-inside: avoid; }
.toc a { color: var(--ink); font-weight: 500; display: inline-flex; gap: 9px; }
.toc a:hover { color: var(--saffron-dark); }
.toc a::before {
  counter-increment: toc;
  content: counter(toc);
  color: var(--saffron);
  font-weight: 700;
  min-width: 18px;
}

.doc__body { font-size: 16.5px; }
.doc__body section { margin-bottom: 40px; scroll-margin-top: calc(var(--header-h) + 24px); }
.doc__body h2 {
  font-size: 23px;
  font-weight: 600;
  padding-top: 6px;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.doc__body h2 .num {
  color: var(--saffron);
  font-size: 17px;
  font-weight: 700;
}
.doc__body h3 { font-size: 18px; font-weight: 600; margin-top: 22px; margin-bottom: 8px; }
.doc__body p, .doc__body li { color: #29344a; }
.doc__body a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.doc__body strong { color: var(--ink); font-weight: 600; }
.doc__body ul li { margin-bottom: 8px; }

.doc__body .callout {
  background: var(--blue-bg);
  border: 1px solid #DBE4FF;
  border-left: 3px solid var(--genie-blue);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 18px 0;
}
.doc__body .callout--warn {
  background: var(--accent-bg);
  border-color: var(--accent-border);
  border-left-color: var(--saffron);
}
.doc__body .callout p:last-child { margin-bottom: 0; }
.doc__body .callout strong { display: block; margin-bottom: 4px; }

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 6px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 6px 0 8px;
}
.doc table th, .doc table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.doc table th {
  background: var(--accent-bg);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.doc__table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; margin: 8px 0 4px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: 60px 44px;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(680px 320px at 50% -20%, rgba(234, 88, 12, .09), transparent 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; max-width: 640px; margin-inline: auto; }
.page-hero h1 { font-size: clamp(32px, 5.4vw, 46px); font-weight: 600; letter-spacing: -1px; }
.page-hero p { color: var(--ink-muted); font-size: 19px; margin-bottom: 0; }

/* ---------- Support / contact ---------- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-card__ic {
  width: 58px; height: 58px; flex: none;
  border-radius: 16px;
  background: var(--accent-bg);
  color: var(--saffron);
  display: grid; place-items: center;
  font-size: 24px;
}
.contact-card__body { flex: 1 1 260px; }
.contact-card__body h3 { margin-bottom: 4px; font-size: 19px; }
.contact-card__body p { margin-bottom: 0; color: var(--ink-muted); font-size: 15px; }
.contact-card .btn { flex: none; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: var(--measure); margin-inline: auto; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  padding: 20px 22px;
  letter-spacing: -0.2px;
}
.faq__q .chev {
  flex: none;
  color: var(--saffron);
  transition: transform .2s ease;
  font-size: 15px;
}
.faq__item.is-open .faq__q .chev { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq__a-inner {
  padding: 0 22px 20px;
  color: var(--ink-muted);
  font-size: 16px;
}
.faq__a-inner p:last-child { margin-bottom: 0; }
.faq__a-inner a { color: var(--saffron); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Steps list (delete account) ---------- */
.numbered {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: n;
}
.numbered > li {
  position: relative;
  counter-increment: n;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px 22px 70px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
}
.numbered > li::before {
  content: counter(n);
  position: absolute;
  left: 20px; top: 22px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--saffron);
  border: 1px solid var(--accent-border);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 15px;
}
.numbered > li h3 { font-size: 17px; margin-bottom: 5px; }
.numbered > li p { margin-bottom: 0; color: var(--ink-muted); font-size: 15.5px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 8px 0 8px;
}
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.info-box h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.info-box h3 i { color: var(--saffron); }
.info-box.is-emerald h3 i { color: var(--emerald); }
.info-box ul { margin: 0; padding-left: 1.2em; }
.info-box li { color: var(--ink-muted); font-size: 15px; }
.info-box p { margin-bottom: 0; color: var(--ink-muted); font-size: 15px; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 60px;
}
.notfound__inner { max-width: 480px; }
.notfound img { width: 96px; height: 96px; margin: 0 auto 22px; }
.notfound .code { font-size: 72px; font-weight: 700; letter-spacing: -3px; color: var(--saffron); line-height: 1; margin-bottom: 8px; }
.notfound h1 { font-size: 28px; margin-bottom: 10px; }
.notfound p { color: var(--ink-muted); margin-bottom: 26px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding-block: 56px; }
  .hero { padding-block: 44px 20px; }

  /* mobile nav */
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 14px 18px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a.nav-link { padding: 12px 14px; font-size: 16px; }
  .nav .btn { margin-left: 0; margin-top: 6px; width: 100%; }

  .steps { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .maker { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .maker__mark { margin: 0 auto; }
  .info-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-band { padding: 40px 24px; }
  .hero__cta.store-badges { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
  .store-badge { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
