/* Herzilein website — shared styles. Palette + fonts mirror the app (style.css). */

@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('/fonts/lato-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('/fonts/lato-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #fbf7f2;
  --card-bg: #fffaf4;
  --surface-subtle: #f3ecd2;
  --border: #e5c9a5;
  --text-primary: #5c3a1e;
  --text-secondary: #7b5a42;
  --text-muted: #c49a6c;
  --rose: #c87464;
  --gold: #915729;
  --green: #6f8f3f;
  --shadow: 0 8px 24px rgba(145, 87, 41, 0.11);
  --content-max: 760px;
}

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(200, 116, 100, 0.08), transparent 70%),
    var(--bg);
  line-height: 1.65;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 22px;
}

/* ── Header ── */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(251, 247, 242, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  display: block;
  width: 104px;
  height: auto;
}
.brand:hover {
  text-decoration: none;
}
.site-nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
  /* The wordmark is a script face: its optical centre sits well below the middle
     of the image box, so align-items:center leaves the nav sitting high and
     cramped against it. Nudge the links down to meet the wordmark's baseline. */
  margin-top: 7px;
}
.site-nav a {
  color: var(--text-secondary);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 64px 0 40px;
}
.hero-badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rose);
  background: rgba(200, 116, 100, 0.1);
  border: 1px solid rgba(200, 116, 100, 0.28);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 28px;
}
.hero-art {
  width: min(260px, 64vw);
  height: auto;
  margin: 8px auto 0;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(145, 87, 41, 0.16));
}

/* ── Buttons / store badge ── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--rose);
  color: #fff9f5;
}
.btn-primary[aria-disabled='true'] {
  background: var(--surface-subtle);
  color: var(--text-muted);
  border-color: var(--border);
  cursor: default;
}
.btn-ghost {
  background: var(--card-bg);
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost[aria-disabled='true'] {
  color: var(--text-muted);
  background: var(--surface-subtle);
  cursor: default;
}

/* ── Feature cards ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding: 28px 0 16px;
}
.feature {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.feature .emoji {
  font-size: 26px;
  line-height: 1;
}
.feature h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 12px 0 6px;
  color: var(--text-primary);
}
.feature p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.section {
  padding: 40px 0;
}
.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 8px;
}
.section .sub {
  text-align: center;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Legal pages ── */
.legal {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 36px clamp(22px, 5vw, 44px);
  margin: 36px 0;
}
.legal h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 18px;
}
.legal h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 30px 0 10px;
  color: var(--text-primary);
}
.legal h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 20px 0 6px;
  color: var(--text-primary);
}
.legal p,
.legal li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 22px;
}
.legal strong {
  color: var(--text-primary);
}
.legal-placeholder {
  display: inline-block;
  background: rgba(200, 116, 100, 0.14);
  border: 1px dashed var(--rose);
  border-radius: 6px;
  padding: 1px 8px;
  color: var(--rose);
  font-weight: 700;
  font-size: 0.86em;
}

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 18px;
}
.footer-links a {
  color: var(--text-secondary);
}

@media (max-width: 520px) {
  .site-nav { gap: 14px; font-size: 14px; }
  .hero { padding-top: 44px; }
}
