/*
 * Landing page styles. Colours, radius and spacing match packages/ui/src/tokens.css so the page and
 * the app look like one product. Mobile first; wider layouts from 768px and 1024px.
 */
:root {
  --color-bg: #fbf7f0;
  --color-surface: #ffffff;
  --color-surface-2: #f4eee4;
  --color-border: #e6ddcf;

  --color-ink: #2a2320;
  --color-ink-2: #5e5650;
  --color-ink-3: #6f6760;

  --color-primary: #7a1e2c;
  --color-primary-strong: #5f1622;
  --color-primary-ink: #ffffff;
  --color-primary-soft: #f3e3e5;
  --color-gold: #8a6416;
  --color-gold-soft: #f6ecd6;
  --color-gold-light: #e9c98a;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --shadow-1: 0 1px 2px rgb(42 35 32 / 0.06), 0 1px 3px rgb(42 35 32 / 0.08);
  --shadow-3: 0 24px 48px -16px rgb(42 35 32 / 0.28);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 64px;
  --gutter: 16px;
}

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

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font: 400 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--color-primary);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

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

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-primary-ink);
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

.center {
  text-align: center;
}

.eyebrow {
  margin-bottom: 0.75em;
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  color: var(--color-ink-2);
  font-size: 1.125rem;
}

/* ───────────── Buttons ───────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  font: 600 1rem/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-ink);
  box-shadow: 0 8px 20px -8px rgb(122 30 44 / 0.6);
}

.btn-primary:hover {
  background: var(--color-primary-strong);
}

.btn-ghost {
  border-color: var(--color-border);
  background: var(--color-surface);
  color: var(--color-ink);
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-light {
  background: var(--color-bg);
  color: var(--color-primary);
}

.btn-light:hover {
  background: var(--color-gold-soft);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

/* ───────────── Header ───────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgb(251 247 240 / 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  color: var(--color-ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  padding: 8px var(--gutter) 20px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 24px -12px rgb(42 35 32 / 0.2);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.site-nav li a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-ink);
  font-weight: 500;
  text-decoration: none;
}

.site-nav .btn {
  width: 100%;
}

/* Without JS the menu button can't open, so show the links inline instead. */
.no-js .nav-toggle {
  display: none;
}

.no-js .site-nav {
  position: static;
  display: block;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: none;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    position: static;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    gap: 24px;
    margin: 0;
  }

  .site-nav li a {
    padding: 8px 0;
    border: 0;
    color: var(--color-ink-2);
    font-size: 0.9375rem;
  }

  .site-nav li a:hover {
    color: var(--color-primary);
  }

  .site-nav .btn {
    width: auto;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background:
    radial-gradient(60% 50% at 85% 20%, rgb(233 201 138 / 0.35), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgb(243 227 229 / 0.9), transparent 70%);
}

.hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-ink-2);
  font-size: 0.9375rem;
}

.hero-points li::before {
  content: '✓';
  margin-right: 6px;
  color: var(--color-gold);
  font-weight: 700;
}

/* The arch: the curved top of a poruwa, mandapam, church door or floral arch, the one shape every
   ceremony in the pictures shares. It holds the ceremony pictures; the tabs below switch them. */
.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.arch {
  width: min(400px, 82vw);
  margin: 0;
}

.arch-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgb(138 100 22 / 0.35);
  border-radius: 50% 50% 20px 20px / 40% 40% 20px 20px;
  background: #fcf4e6;
  box-shadow:
    0 0 0 8px var(--color-bg),
    0 0 0 9px var(--color-gold-light),
    var(--shadow-3);
}

.arch-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}

.arch-frame img.is-active {
  opacity: 1;
}

.arch-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 420px;
  margin-top: 32px;
}

.arch-tab {
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-ink-2);
  font: 500 0.875rem/1.4 var(--font-sans);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.arch-tab:hover {
  border-color: var(--color-gold-light);
  color: var(--color-ink);
}

.arch-tab[aria-pressed='true'] {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-primary-ink);
}

.no-js .arch-tabs {
  display: none;
}

/* The plan on a phone, held up in front of the arch. Hidden on small phones, where it would cover the couple. */
.hero-phone {
  display: none;
}

@media (min-width: 640px) {
  .hero-phone {
    position: absolute;
    bottom: 64px;
    left: max(0px, calc(50% - 330px));
    display: block;
    width: 230px;
  }
}

.phone {
  width: 100%;
  padding: 10px;
  border-radius: 34px;
  background: #1d1816;
  box-shadow: var(--shadow-3);
  transform: rotate(-4deg);
}

.hero-phone .phone-screen {
  padding: 14px 12px;
  border-radius: 26px;
}

.hero-phone .mock-head {
  margin-bottom: 12px;
  padding: 12px;
}

.hero-phone .mock-list {
  gap: 8px;
  margin-bottom: 12px;
}

.hero-phone .mock-list li,
.hero-phone .mock-card {
  font-size: 0.75rem;
}

.phone-screen {
  overflow: hidden;
  padding: 20px 16px;
  border-radius: 30px;
  background: var(--color-bg);
}

.mock-head {
  display: grid;
  gap: 2px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-primary-ink);
}

.mock-head strong {
  font-size: 0.9375rem;
}

.mock-count {
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mock-total {
  font-size: 0.8125rem;
  opacity: 0.85;
}

.mock-list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.mock-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  font-size: 0.8125rem;
}

.mock-list b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mock-list i {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-gold) var(--w), var(--color-surface-2) var(--w));
}

.mock-card {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-size: 0.8125rem;
}

.mock-card span:last-child {
  color: var(--color-ink-3);
}

.mock-tag {
  justify-self: start;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--color-gold-soft);
  color: var(--color-gold);
  font-size: 0.6875rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .hero {
    padding: 72px 0 96px;
  }

  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  /* Arch on the right, phone on the left, overlapping only at the frame's edge. */
  .hero-visual {
    justify-items: end;
  }

  .arch,
  .arch-tabs {
    width: 380px;
  }

  .hero-phone {
    bottom: 116px;
    left: -16px;
    width: 210px;
  }
}

/* ───────────── Sections ───────────── */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-surface-2);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head > p:last-child {
  color: var(--color-ink-2);
}

@media (min-width: 1024px) {
  .section {
    padding: 104px 0;
  }
}

/* Features */

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature {
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-1);
}

.feature p,
.ceremony p,
.step p,
.extra p {
  margin: 0;
  color: var(--color-ink-2);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.extras {
  display: grid;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.extra h3 {
  margin-bottom: 0.3em;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .extras {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* How it works */

.steps {
  display: grid;
  gap: 16px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
}

.step {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Budget calculator */

.budget-inner {
  display: grid;
  gap: 40px;
  align-items: start;
}

.budget-copy p:not(.eyebrow) {
  color: var(--color-ink-2);
}

.calc {
  padding: 24px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-1);
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-ink);
  font: 600 1.25rem/1.2 var(--font-sans);
  font-variant-numeric: tabular-nums;
}

.field input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.field input[aria-invalid='true'] {
  border-color: #a12b2b;
}

.hint {
  margin: 6px 0 0;
  color: var(--color-ink-3);
  font-size: 0.8125rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.chip {
  min-height: 40px;
  padding: 8px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-ink);
  font: 500 0.9375rem/1 var(--font-sans);
  cursor: pointer;
}

.chip:hover,
.chip[aria-pressed='true'] {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-primary);
}

.calc-table {
  width: 100%;
  margin: 16px 0 8px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.calc-table th,
.calc-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.calc-table thead th {
  color: var(--color-ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calc-table tbody th {
  font-weight: 500;
}

.calc-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.calc-table td:nth-child(2) {
  padding-right: 12px;
  color: var(--color-ink-3);
}

.calc-table td:last-child {
  font-weight: 600;
  white-space: nowrap;
}

.calc-table thead th:not(:first-child) {
  text-align: right;
}

.calc-note {
  min-height: 1.5em;
  margin-bottom: 16px;
  color: var(--color-ink-3);
  font-size: 0.8125rem;
}

@media (min-width: 1024px) {
  .budget-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
  }

  .budget-copy {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }

  .calc {
    padding: 32px;
  }
}

/* Ceremonies */

.ceremony-grid {
  display: grid;
  gap: 16px;
}

.ceremony {
  padding: 16px 16px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

/* The hero's arch again, smaller, so each ceremony reads as one of the same family. */
.ceremony-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 20px;
  border-radius: 50% 50% var(--radius-md) var(--radius-md) / 34% 34% var(--radius-md) var(--radius-md);
  background: #fcf4e6;
  object-fit: cover;
}

.ceremony h3,
.ceremony p {
  padding-inline: 8px;
}

@media (min-width: 768px) {
  .ceremony-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ceremony-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Schedule */

.schedule-inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

.schedule-inner p:not(.eyebrow) {
  color: var(--color-ink-2);
}

.schedule-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-top: 32px;
  border-radius: 50% 50% var(--radius-md) var(--radius-md) / 34% 34% var(--radius-md) var(--radius-md);
}

.timeline {
  margin: 0;
  padding: 8px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-1);
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 14px 0 14px 20px;
  border-bottom: 1px solid var(--color-border);
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--color-gold);
}

.timeline li:nth-child(2)::before,
.timeline li:last-child::before {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -1px;
  background: var(--color-primary);
}

.timeline time {
  color: var(--color-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1024px) {
  .schedule-inner {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

/* Vendors */

.section-dark {
  background: var(--color-primary-strong);
  color: #f6ecdf;
}

.section-dark .eyebrow {
  color: var(--color-gold-light);
}

.section-dark h2 {
  color: #fff;
}

.vendors-inner {
  display: grid;
  gap: 32px;
}

.vendor-points {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vendor-points li {
  padding-left: 28px;
  position: relative;
}

.vendor-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--color-gold-light);
  transform: rotate(45deg);
}

.vendor-points strong {
  color: #fff;
}

.vendors-inner .btn {
  justify-self: start;
}

@media (min-width: 1024px) {
  .vendors-inner {
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 72px;
    align-items: center;
  }

  .vendors-inner .btn {
    grid-column: 2;
  }
}

/* FAQ */

.faq-inner {
  max-width: 800px;
}

.faq details {
  border-bottom: 1px solid var(--color-border);
}

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
}

.faq details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--color-ink-2);
}

/* Final CTA */

.cta {
  padding: 80px 0;
  background:
    radial-gradient(60% 80% at 50% 0%, rgb(233 201 138 / 0.4), transparent 70%),
    var(--color-surface-2);
  text-align: center;
}

.cta-inner p {
  color: var(--color-ink-2);
  font-size: 1.125rem;
}

/* Footer */

.site-footer {
  padding: 48px 0 calc(24px + env(safe-area-inset-bottom));
  background: #1d1816;
  color: #cbbfb3;
  font-size: 0.9375rem;
}

.site-footer .brand {
  color: var(--color-gold-light);
  margin-bottom: 12px;
}

.site-footer .brand span {
  color: #fff;
}

.footer-inner {
  display: grid;
  gap: 32px;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #f1e7dc;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-base {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.8125rem;
}

.footer-base p {
  margin: 0;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-links {
    grid-auto-flow: column;
    gap: 28px;
  }
}

/* ───────────── Reveal on scroll (only when JS runs and motion is allowed) ───────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
