:root {
  --warm-ivory: #F7F4F1;
  --pure-surface: #FFFFFF;
  --surface-variant: #F0EBE7;
  --ink-primary: #1A1718;
  --ink-muted: #7A7074;
  --warm-border: #E8E2DE;
  --wine-red: #9A2E4F;
  --plum-secondary: #6F3A57;
  --warning-amber: #E0A63A;
  --danger-wine: #B3273F;
  --success-green: #2E7D59;
  --max-width: 760px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--warm-ivory);
  color: var(--ink-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }

a { color: var(--wine-red); }
a:hover { color: var(--danger-wine); }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink-primary);
  line-height: 1.25;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 241, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--warm-border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-primary);
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand span { font-family: Georgia, serif; font-size: 20px; font-weight: 700; letter-spacing: 0.3px; }

nav.top-nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav.top-nav a { text-decoration: none; color: var(--ink-muted); font-size: 14px; font-weight: 600; }
nav.top-nav a:hover { color: var(--wine-red); }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

main.wide { max-width: 960px; }

.badge-18 {
  display: inline-block;
  border: 1px solid var(--wine-red);
  color: var(--wine-red);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.hero {
  text-align: center;
  padding: 40px 0 8px;
}

.hero img.mark { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 18px; }
.hero h1 { font-size: 34px; margin: 0 0 8px; }
.hero p.tagline { font-size: 17px; color: var(--ink-muted); margin: 0 0 18px; }

.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  min-width: 200px;
  justify-content: center;
  border: 1px solid transparent;
}

.store-btn.primary {
  background: var(--wine-red);
  color: #fff;
}
.store-btn.primary:hover { background: var(--danger-wine); color: #fff; }

.store-btn.disabled {
  background: var(--surface-variant);
  color: var(--ink-muted);
  border-color: var(--warm-border);
  cursor: default;
  pointer-events: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 40px 0;
}

.feature-card {
  background: var(--pure-surface);
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  padding: 18px;
  text-align: left;
}

.feature-card .emoji { font-size: 22px; }
.feature-card h3 { font-size: 15px; margin: 8px 0 4px; }
.feature-card p { font-size: 13px; color: var(--ink-muted); margin: 0; }

section { margin-bottom: 36px; }

h1.page-title { font-size: 28px; margin-bottom: 4px; }
p.page-subtitle { color: var(--ink-muted); margin-top: 0; margin-bottom: 28px; }

.legal-updated { font-size: 13px; color: var(--ink-muted); margin-bottom: 28px; }

.card {
  background: var(--pure-surface);
  border: 1px solid var(--warm-border);
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 18px;
}

.callout {
  background: rgba(154, 46, 79, 0.06);
  border: 1px solid rgba(154, 46, 79, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
}

.callout.amber {
  background: rgba(224, 166, 58, 0.12);
  border-color: rgba(224, 166, 58, 0.4);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
}
table.data-table th, table.data-table td {
  border: 1px solid var(--warm-border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
table.data-table th { background: var(--surface-variant); }

details.faq {
  background: var(--pure-surface);
  border: 1px solid var(--warm-border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
details.faq summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
}
details.faq p { margin: 10px 0 0; color: var(--ink-muted); font-size: 14px; }

.mail-cta {
  display: inline-block;
  margin-top: 8px;
  background: var(--wine-red);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}
.mail-cta:hover { background: var(--danger-wine); color: #fff; }

ul.plain { padding-left: 20px; }
ul.plain li { margin-bottom: 6px; }

footer.site-footer {
  border-top: 1px solid var(--warm-border);
  margin-top: 40px;
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
}
.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.footer-links a:hover { color: var(--wine-red); }
.footer-copy { font-size: 12px; color: var(--ink-muted); }

@media (max-width: 480px) {
  .hero h1 { font-size: 27px; }
  .store-btn { min-width: 0; width: 100%; }
  .store-buttons { flex-direction: column; align-items: stretch; }
}
