/* Giftwise static pages — shared styles
   Matches the editorial design system of the main app. */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --paper: #F5F0E8;
  --paper-warm: #EDE5D6;
  --ink: #1A1A1A;
  --ink-soft: #4A4540;
  --ink-muted: #8B7E70;
  --rule: #C4B8A4;
  --accent: #8B1B17;
  --gold: #B8893E;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-image: radial-gradient(circle at 1px 1px, rgba(139, 126, 112, 0.04) 1px, transparent 0);
  background-size: 20px 20px;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* Header */
header.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 20px 24px;
  background: var(--paper);
}
header.site-header .inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header.site-header .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}
header.site-header .logo .mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}
header.site-header .logo .name {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 500;
}
header.site-header nav {
  display: flex;
  gap: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}
header.site-header nav a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.15s;
}
header.site-header nav a:hover {
  color: var(--ink);
}

/* Typography */
h1 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
h1 .italic {
  font-style: italic;
  color: var(--accent);
}
h2 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  margin: 40px 0 12px;
}
h3 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 20px;
  margin: 24px 0 8px;
}
p {
  color: var(--ink-soft);
  margin: 0 0 16px;
}
p.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
ul, ol {
  color: var(--ink-soft);
  padding-left: 24px;
  margin: 0 0 16px;
}
li { margin-bottom: 6px; }
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
a:hover {
  text-decoration-color: var(--accent);
}
strong { color: var(--ink); font-weight: 600; }

/* Decorative rule */
hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

/* Cards */
.card {
  border: 1px solid var(--rule);
  background: #FFFEFB;
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 16px;
}
.card .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 8px;
}

/* CTA button */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.15s;
}
.cta:hover {
  background: #000;
  text-decoration: none;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--rule);
  padding: 32px 24px;
  background: var(--paper-warm);
  margin-top: 64px;
}
footer.site-footer .inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}
footer.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer.site-footer a {
  color: var(--ink-muted);
  text-decoration: none;
}
footer.site-footer a:hover {
  color: var(--ink);
}

/* Last-updated stamp */
.updated {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 16px;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 600px) {
  h1 { font-size: 36px; }
  h2 { font-size: 24px; }
  .container { padding: 24px 20px 60px; }
  header.site-header nav { gap: 14px; font-size: 11px; }
  footer.site-footer .inner { flex-direction: column; align-items: flex-start; }
}
