/* Lord Guide Me — website styles. Same colours and fonts as the app. */
@font-face { font-family: 'EB Garamond'; src: url('/fonts/eb-garamond-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('/fonts/eb-garamond-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'EB Garamond'; src: url('/fonts/eb-garamond-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --paper: #F8F0E1;
  --paper-deep: #F1E5CF;
  --ivory: #FFF9EF;
  --blush: #F5E4DA;
  --velvet: #8C1638;
  --velvet-deep: #6E0F2B;
  --ink: #252322;
  --ink-soft: #4A4542;
  --ink-muted: #7A726C;
  --gold: #B9955B;
  --hairline: #E6D7BF;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--velvet); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(248, 240, 225, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hairline); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--velvet); font-family: var(--serif); font-weight: 600; font-size: 22px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--velvet); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); }
.hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,240,225,0.9) 0%, rgba(248,240,225,0) 38%, rgba(30,18,22,0) 55%, rgba(30,18,22,0.85) 100%); }
.hero .wrap { position: relative; z-index: 1; min-height: min(86vh, 720px); display: flex; flex-direction: column; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; text-align: center; }
.hero h1 { font-family: var(--serif); font-weight: 600; color: var(--velvet); font-size: clamp(48px, 9vw, 84px); line-height: 1; margin: 0; letter-spacing: -0.5px; }
.hero .tag { color: var(--ink); font-size: clamp(18px, 2.4vw, 22px); margin: 14px 0 0; }
.hero .quote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.4; margin: 0 0 22px; }

.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 190px; padding: 10px 20px; border-radius: 12px; background: var(--velvet); color: var(--ivory); text-decoration: none; line-height: 1.2; border: 1px solid rgba(255,255,255,0.15); }
.store small { font-size: 12px; opacity: 0.85; }
.store strong { font-size: 18px; font-weight: 600; }
.store[aria-disabled="true"] { background: rgba(140, 22, 56, 0.85); cursor: default; }
.soon { margin-top: 12px; font-size: 14px; opacity: 0.9; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--ivory); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
h2 { font-family: var(--serif); font-weight: 600; color: var(--velvet); font-size: clamp(32px, 4.5vw, 44px); line-height: 1.1; margin: 0 0 16px; }
h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 24px; line-height: 1.2; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 680px; }
.muted { color: var(--ink-muted); }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--paper); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blush); color: var(--velvet); font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.shots img { border-radius: 22px; border: 1px solid var(--hairline); box-shadow: 0 12px 30px rgba(37, 35, 34, 0.12); background: var(--paper); }
.shots figcaption { text-align: center; font-size: 14px; color: var(--ink-muted); margin-top: 10px; }
.shots figure { margin: 0; }

.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 28px; }
.topics div { background: var(--ivory); border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 18px; }
.topics strong { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--velvet); display: block; }
.topics span { font-size: 15px; color: var(--ink-soft); }

.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 28px; }
.promises div { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; }
.promises strong { display: block; font-size: 17px; }
.promises span { color: var(--ink-soft); font-size: 16px; }

.help { background: var(--blush); border-radius: 18px; padding: 28px; }
.help h2 { font-size: 30px; }
.nums { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.nums a, .button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: var(--velvet); color: var(--ivory); text-decoration: none; font-weight: 600; font-size: 15px; }
.nums a small { font-weight: 400; opacity: 0.9; }
.button.ghost { background: transparent; color: var(--velvet); border: 1.5px solid var(--velvet); }

/* Text pages (privacy, support) */
.page { padding: 56px 0 72px; }
.page h1 { font-family: var(--serif); font-weight: 600; color: var(--velvet); font-size: clamp(38px, 6vw, 52px); line-height: 1.05; margin: 0 0 8px; }
.page h2 { font-size: 28px; margin-top: 40px; }
.page li { margin-bottom: 6px; }
.box { background: var(--ivory); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px 24px; margin: 24px 0; }
details { border-bottom: 1px solid var(--hairline); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: '+'; color: var(--velvet); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--ink-soft); }

footer { border-top: 1px solid var(--hairline); padding: 36px 0 48px; font-size: 15px; color: var(--ink-muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); }

@media (min-width: 761px) {
  .hero::after { background: linear-gradient(90deg, rgba(248,240,225,0.94) 0%, rgba(248,240,225,0.75) 38%, rgba(248,240,225,0) 62%), linear-gradient(180deg, rgba(30,18,22,0) 60%, rgba(30,18,22,0.35) 100%); }
  .hero .wrap { text-align: left; justify-content: center; gap: 36px; }
  .hero .wrap > div { max-width: 520px; }
  .hero .quote { color: var(--ink); }
  .hero .stores { justify-content: flex-start; }
  .hero .soon { color: var(--ink-soft); }
  .hero picture img { object-position: center 55%; }
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-sm { display: none; }
  section { padding: 56px 0; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
