/* Five Minute Legacy — public marketing pages (home, pricing, support).
   The app's current look: pale mint page, white cards with a light edge,
   dark green-black text, pine-green actions. Figtree only, always upright.
   Family and gift pages keep using styles.css. */

@font-face {
  font-family: 'Figtree';
  src: url('/fonts/Figtree-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/Figtree-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/fonts/Figtree-SemiBold.ttf') format('truetype');
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --bg: #eef6f1;
  --card: #ffffff;
  --border: #d2e5da;
  --divider: #e2eee7;
  --text: #16241d;
  --text-soft: #566a60;
  --accent: #17694d;
  --accent-deep: #0f4a35;
  --accent-soft: #e6f3ec;
  --prompt-border: #c3dfcf;
  --soft-text: #12573e;
  --danger: #b3441e;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(22, 36, 29, 0.05), 0 6px 18px -10px rgba(15, 74, 53, 0.22);
  --max: 72rem;
  --gutter: 1.25rem;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.1875rem; /* 19px */
  line-height: 1.6;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
}

em,
i,
cite,
address {
  font-style: normal;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--accent-deep);
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}
p {
  margin: 0 0 1em;
}
ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 400px) {
  :root {
    --gutter: 1rem;
  }
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 100;
  background: var(--card);
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-weight: 600;
}
.skip:focus {
  left: 0.75rem;
}

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

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.brand:hover {
  color: var(--text);
}
.brand svg {
  width: 38px;
  height: 38px;
  flex: none;
}
.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}
.nav-desktop a,
.nav-mobile a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.85rem;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.nav-desktop a:hover,
.nav-mobile a:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.nav-desktop a[aria-current='page'],
.nav-mobile a[aria-current='page'] {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

/* Small screens: a Menu button that opens the same links. */
.nav-mobile {
  display: none;
  position: relative;
}
.nav-mobile summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  font-weight: 600;
  cursor: pointer;
}
.nav-mobile summary::-webkit-details-marker {
  display: none;
}
.nav-mobile summary svg {
  width: 22px;
  height: 22px;
}
.nav-mobile ul {
  list-style: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 20;
  width: min(18rem, calc(100vw - 2rem));
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px -12px rgba(15, 74, 53, 0.35);
  padding: 0.5rem;
}
.nav-mobile li a {
  display: flex;
  width: 100%;
  min-height: 52px;
}
@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}
.btn.secondary {
  background: var(--card);
  color: var(--accent);
  border-color: var(--prompt-border);
}
.btn.secondary:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: var(--accent);
}
.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* App store badges: the app is in private beta, so these are not links. */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 64px;
  min-width: 13.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  border: 2px dashed var(--prompt-border);
  background: var(--card);
  color: var(--text);
  line-height: 1.2;
}
.store svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--text-soft);
}
.store .store-name {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
}
.store .store-sub {
  display: block;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.beta-note {
  margin: 0.9rem 0 0;
  font-size: 1rem;
  color: var(--text-soft);
}

/* ---------- shared blocks ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.section {
  padding: 4.5rem 0;
}
.section + .section {
  border-top: 1px solid var(--border);
}
.section.tint {
  background: var(--card);
}
.section-head {
  max-width: 44rem;
  margin-bottom: 2.25rem;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.section h2 {
  font-size: clamp(1.85rem, 4.2vw, 2.6rem);
  margin-bottom: 0.75rem;
}
.section-head p {
  font-size: 1.25rem;
  color: var(--text-soft);
  margin: 0;
}
.section-head .eyebrow,
.eyebrow {
  color: var(--accent);
}
.muted {
  color: var(--text-soft);
}
.nowrap {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .section {
    padding: 3.5rem 0;
  }
  .hero {
    padding: 2.5rem 0 3.5rem;
  }
}
.small {
  font-size: 1rem;
}
.icon {
  width: 26px;
  height: 26px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-chip {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}

/* ---------- hero ---------- */
.hero {
  padding: 3.5rem 0 4.5rem;
}
.hero .container {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero .container {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 4rem;
  }
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero .lede {
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
  color: var(--text-soft);
  max-width: 34ch;
  margin: 1.25rem 0 2rem;
}
.hero .stores {
  margin-top: 2rem;
}

/* The example question → story, drawn like the app. */
.demo {
  display: grid;
  gap: 1rem;
  max-width: 30rem;
  width: 100%;
  justify-self: center;
}
.demo-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
  margin: 0 0 0.25rem;
}
.prompt {
  background: var(--accent-soft);
  border: 1px solid var(--prompt-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.prompt .when {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-deep);
}
.prompt .when .icon {
  width: 20px;
  height: 20px;
}
.prompt .q {
  font-size: clamp(1.4rem, 3.4vw, 1.7rem);
  line-height: 1.28;
  font-weight: 600;
  color: var(--accent-deep);
  margin: 0.5rem 0 1.1rem;
}
.ways {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ways li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--card);
  border: 1px solid var(--prompt-border);
  color: var(--soft-text);
  border-radius: 999px;
  padding: 0.35rem 0.9rem 0.35rem 0.7rem;
  font-size: 1rem;
  font-weight: 600;
}
.ways .icon {
  width: 18px;
  height: 18px;
}
.arrow-down {
  display: flex;
  justify-content: center;
  color: var(--accent);
}
.arrow-down .icon {
  width: 28px;
  height: 28px;
}
.story-card {
  padding: 1.4rem 1.5rem;
}
.story-card h3 {
  font-size: 1.35rem;
}
.story-card .meta {
  font-size: 1rem;
  color: var(--text-soft);
  margin: 0.25rem 0 0.75rem;
}
.story-card p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
}
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tags li {
  background: var(--accent-soft);
  color: var(--soft-text);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.voice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--divider);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}
.voice .play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  flex: none;
}
.voice .play svg {
  width: 18px;
  height: 18px;
}
.voice .bars {
  flex: 1;
  height: 24px;
  color: var(--prompt-border);
}

/* ---------- how it works ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  padding: 1.75rem;
}
.step .num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.step h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.step p {
  margin: 0;
  color: var(--text-soft);
}

/* ---------- features ---------- */
.features {
  list-style: none;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.feature h3 {
  font-size: 1.25rem;
}
.feature p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.0625rem;
}

/* ---------- two-column split ---------- */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.split .section-head {
  margin-bottom: 1.5rem;
}
.checks {
  list-style: none;
  display: grid;
  gap: 0;
}
.checks li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--divider);
}
.checks li:first-child {
  border-top: 0;
  padding-top: 0;
}
.checks li:last-child {
  padding-bottom: 0;
}
.checks strong {
  display: block;
  font-weight: 600;
  font-size: 1.15rem;
}
.checks span.muted {
  display: block;
  font-size: 1.0625rem;
}
.panel {
  padding: 1.75rem;
}
@media (min-width: 640px) {
  .panel {
    padding: 2rem 2.25rem;
  }
}
.panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

/* ---------- plans ---------- */
.plans {
  list-style: none;
  display: grid;
  gap: 1.75rem 1rem;
  padding-top: 0.75rem;
}
@media (min-width: 640px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .plans {
    grid-template-columns: repeat(4, 1fr);
  }
}
.plan {
  position: relative;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.plan.popular {
  border: 2px solid var(--accent);
}
.plan p {
  margin: 0;
}
.plan .badge {
  position: absolute;
  top: -0.85rem;
  left: 1.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.plan h3 {
  font-size: 1.35rem;
}
.plan .price {
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 0.4rem;
  letter-spacing: -0.01em;
}
.plan .price span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-soft);
}
.plan .alt {
  font-size: 1rem;
  color: var(--text-soft);
  margin: 0;
}
.plan .blurb {
  margin: 0.6rem 0 0;
  font-size: 1.0625rem;
}
.plan .plan-list {
  list-style: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--divider);
  display: grid;
  gap: 0.55rem;
  font-size: 1.0625rem;
}
.plan .plan-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}
.plan .plan-list .icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-top: 0.15em;
}
.plan .status {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--soft-text);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent-soft);
  border: 1px solid var(--prompt-border);
  color: var(--soft-text);
  border-radius: 999px;
  padding: 0.3rem 0.95rem;
  font-size: 1rem;
  font-weight: 600;
}
.pill .icon {
  width: 18px;
  height: 18px;
}
.plans-foot {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.plans-foot p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.0625rem;
}

/* ---------- gift ---------- */
.gift-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .gift-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.gift-grid .panel > .icon-chip {
  margin-bottom: 1.1rem;
}
.gift-grid h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  margin-bottom: 0.6rem;
}
label.field {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.code-row input {
  flex: 1 1 12rem;
  min-width: 0;
}
input[type='text'],
input[type='email'] {
  width: 100%;
  font: inherit;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--card);
  border: 2px solid var(--prompt-border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  min-height: 56px;
}
input::placeholder {
  color: #5f7369;
}
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.help {
  margin: 0.6rem 0 0;
  font-size: 1rem;
  color: var(--text-soft);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 50rem;
  display: grid;
  gap: 0.75rem;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.9rem 1.25rem;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary .icon {
  transform: rotate(45deg);
}
.faq .answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--text);
}
.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- page head (pricing, support) ---------- */
.page-head {
  padding: 3.5rem 0 2.5rem;
}
.page-head h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.4rem);
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.page-head .lede {
  font-size: clamp(1.2rem, 2.2vw, 1.35rem);
  color: var(--text-soft);
  max-width: 42rem;
  margin: 1rem 0 0;
}
.page-head .pill {
  margin-top: 1.25rem;
}
.page-body {
  padding: 0 0 4.5rem;
}

/* Comparison table: a real table on wide screens, stacked on phones. */
.compare-wrap {
  margin-top: 3rem;
}
.compare-wrap h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  margin-bottom: 1rem;
}
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 1.0625rem;
}
.compare caption {
  text-align: left;
}
.compare th,
.compare td {
  padding: 1rem 1.1rem;
  text-align: center;
  border-top: 1px solid var(--divider);
  vertical-align: middle;
}
.compare thead th {
  border-top: 0;
  font-weight: 600;
  font-size: 1.1rem;
  background: var(--accent-soft);
}
.compare thead th small {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.compare tbody th {
  text-align: left;
  font-weight: 500;
}
.compare .yes .icon {
  margin: 0 auto;
  color: var(--accent);
}
.compare .no {
  color: var(--text-soft);
}
@media (max-width: 760px) {
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
  }
  .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .compare tbody tr {
    border-top: 1px solid var(--border);
    padding: 1rem 1.1rem;
  }
  .compare tbody tr:first-child {
    border-top: 0;
  }
  .compare tbody th {
    border: 0;
    padding: 0 0 0.5rem;
    font-weight: 600;
  }
  .compare td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: right;
    border: 0;
    padding: 0.35rem 0;
  }
  .compare td::before {
    content: attr(data-plan);
    text-align: left;
    color: var(--text-soft);
  }
  .compare .yes .icon {
    margin: 0;
  }
}

/* ---------- support ---------- */
.support-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 860px) {
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.support-grid .panel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.support-grid .panel .icon-chip {
  margin-bottom: 0.85rem;
}
.support-grid .panel p {
  margin: 0.25rem 0 0.75rem;
}
.big-link {
  font-size: 1.25rem;
  font-weight: 600;
  word-break: break-word;
}
.path {
  list-style: none;
  counter-reset: path;
  display: grid;
  gap: 0.6rem;
  margin: 0.5rem 0 0.75rem;
}
.path li {
  counter-increment: path;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.6rem;
  align-items: start;
}
.path li::before {
  content: counter(path);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.05em;
}
.ui {
  font-weight: 600;
  color: var(--text);
}
.keywords {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin: 0.5rem 0 0.75rem;
}
.keywords li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
}
.kw {
  display: inline-block;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--accent-soft);
  border: 1px solid var(--prompt-border);
  color: var(--accent-deep);
  border-radius: 8px;
  padding: 0.1rem 0.5rem;
}
.span-2 {
  grid-column: 1 / -1;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 2.75rem 0 2.5rem;
  font-size: 1.0625rem;
}
.site-footer .container {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 860px) {
  .site-footer .container {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
.site-footer .brand {
  font-size: 1.1rem;
}
.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.6rem;
  color: var(--text);
  font-weight: 500;
}
.site-footer nav li:first-child a {
  padding-left: 0;
}
.site-footer .legal {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}
@media (min-width: 860px) {
  .site-footer .legal {
    grid-column: 1 / -1;
  }
}

/* ---------- toast (used by the gift-code box) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translate(-50%, 160%);
  max-width: min(32rem, calc(100% - 2rem));
  background: var(--text);
  color: #fff;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  font-size: 1.05rem;
  z-index: 50;
  transition: transform 0.25s ease;
}
.toast.show {
  transform: translate(-50%, 0);
}
.toast[data-kind='error'] {
  background: var(--danger);
}

[hidden] {
  display: none !important;
}

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

.support-grid h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
