/* Shared look for every public page on weddings.helpcomputergeek.com:
   home, get-started, terms, thank-you. Colors, fonts, the top menu, buttons, the theme switch and the footer.
   Page-specific styles stay inside each page. Fonts: Gloock + Figtree (linked from Google Fonts in each page's <head>). */
:root {
  --paper: #fbf8f3;   /* page background: warm off-white, never pure white */
  --tint: #f3eee5;    /* bands and soft panels */
  --card: #fdfbf7;    /* cards that sit on the page */
  --ink: #1c2427;
  --ink-2: #4f5a5d;
  --line: #e4ddd1;
  --pine: #24564f;
  --pine-soft: #e5efeb;
  --blush: #f6e6e2;
  --blush-ink: #7a3f35;
  --gold: #7a5f2a;
  --gold-soft: #f5eee1;
  --display: 'Gloock', Georgia, 'Times New Roman', serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #111614; --tint: #161d1a; --card: #151b18; --ink: #e7ece9; --ink-2: #a9b4af; --line: #29332f;
  --pine: #86c4b3; --pine-soft: #1a302a; --blush: #33231f; --blush-ink: #f0c2b6; --gold: #d6b676; --gold-soft: #2a2519; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
a { color: var(--pine); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 72px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 16px; }
.label { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--pine); }
.btn--fill { background: var(--pine); color: var(--paper); }
.btn--line { color: var(--pine); }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform .15s ease; } .btn:hover { transform: translateY(-1px); } }

/* Top menu (same on every page) */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav__in { max-width: 1080px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.nav__brand { font-family: var(--display); font-size: 1.2rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav__brand span { color: var(--gold); }
.nav__links { display: flex; gap: 20px; font-size: .92rem; }
.nav__links a { color: var(--ink); text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--pine); }
@media (max-width: 900px) { .nav__links { order: 3; width: 100%; gap: 18px; overflow-x: auto; } }
@media (max-width: 480px) { .nav__links a:nth-child(3) { display: none; } .nav__in { gap: 10px 10px; } .nav__brand { font-size: 1.02rem; } .nav .btn--sm { padding: 7px 13px; font-size: .85rem; } }
/* Small phones (320–374px): keep brand, theme switch and Get started on one line */
@media (max-width: 374px) { .nav__in { gap: 10px 8px; } .nav__brand { font-size: .84rem; } .theme-toggle { width: 36px; height: 36px; } .nav .btn--sm { padding: 7px 10px; } }
@media (max-width: 340px) { .nav__brand { font-size: .78rem; } .nav .btn--sm { padding: 7px 9px; font-size: .82rem; } }

/* Light / dark switch */
.theme-toggle { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; padding: 0; flex: none; }
.theme-toggle:hover { border-color: currentColor; }
.theme-toggle:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ti-sun, :root[data-theme="dark"] .theme-toggle .ti-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .ti-sun { display: block; }

/* Footer (same on every page) */
.site-foot { border-top: 1px solid var(--line); padding-block: 36px 56px; color: var(--ink-2); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-foot a { color: var(--ink-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
