/* Peti — shared styles · "Warm Passport" design system (matches app theme.ts) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #845400;            /* ctaPrimaryBackground — brand accent */
  --primary-dark: #6B4400;       /* hover shade of brand */
  --primary-tint: rgba(132, 84, 0, 0.1); /* ctaPrimaryBackgroundMuted */
  --bg: #F7F2E9;                 /* backgroundPrimary — screen */
  --bg-soft: #FFF9EE;            /* backgroundSecondary — paper/cards */
  --bg-alt: #FFF9EE;             /* paper band sections */
  --bg-muted: #EAE4D6;           /* backgroundMuted — neutral pills */
  --text: #1C1B1B;               /* textPrimary */
  --text-muted: #524434;         /* textSecondary */
  --text-meta: #857462;          /* textTertiary */
  --border: #E5DDC8;             /* borderDefault */
  --border-accent: #C9A25F;      /* borderAccent — dashed "passport" look */
  --green: #006D3D;              /* accentGreen */
  --red: #BA1A1A;                /* accentRed */
  --radius: 12px;                /* radius.card */
  --radius-hero: 14px;           /* radius.hero */
  --radius-sm: 10px;             /* radius.input */
  --maxw: 1080px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Mobile menu */
.menu-btn {
  display: none; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 10px; cursor: pointer; color: var(--text);
}
.menu-btn svg { display: block; }
.mobile-menu {
  display: none; background: var(--bg-soft);
  border-bottom: 1px solid var(--border); padding: 4px 24px 10px;
}
.mobile-menu a {
  display: block; padding: 13px 0; border-bottom: 1px solid var(--border);
  color: var(--text-muted); font-size: 16px; font-weight: 500;
}
.mobile-menu a:hover { text-decoration: none; color: var(--text); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: block; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 80px 0 64px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--primary); }
.hero p.lead {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-muted);
  max-width: 640px; margin: 0 auto 36px;
}

/* Store buttons */
.store-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--text); color: #fff;
  padding: 12px 22px; border-radius: 14px;
  font-weight: 600; min-width: 200px;
}
.store-btn:hover { background: #33291b; text-decoration: none; color: #fff; }
.store-btn svg { flex-shrink: 0; }
.store-btn .small { display: block; font-size: 11px; font-weight: 400; opacity: 0.85; line-height: 1.1; }
.store-btn .big { display: block; font-size: 18px; font-weight: 700; line-height: 1.1; }

/* Sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 48px; font-size: 17px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius-hero); padding: 28px;
}
.feature .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-muted); display: grid; place-items: center;
  font-size: 24px; margin-bottom: 16px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { color: var(--text-muted); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--primary); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { opacity: 0.95; margin-bottom: 28px; font-size: 18px; }
.cta-band .store-btn { background: var(--bg-soft); color: var(--text); }
.cta-band .store-btn:hover { background: #fff; color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; color: var(--text-muted); font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-meta); }

/* Legal / content pages */
.doc { padding: 56px 0 80px; }
.doc .container { max-width: 800px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.02em; margin-bottom: 8px; }
.doc .updated { color: var(--text-meta); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -0.01em; }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--text-muted); font-size: 16px; margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 12px 22px; }
.doc li { margin-bottom: 6px; }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.notice {
  background: var(--primary-tint); border: 1px dashed var(--border-accent);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 32px;
  font-size: 14px; color: var(--primary);
}

/* Payments placeholder */
.center-card { min-height: 60vh; display: grid; place-items: center; padding: 64px 0; }
.placeholder {
  text-align: center; max-width: 520px;
  background: var(--bg-soft); border: 1px dashed var(--border-accent);
  border-radius: var(--radius-hero); padding: 48px 40px;
}
.placeholder .badge {
  display: inline-block; background: var(--primary-tint); color: var(--primary);
  font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.placeholder h1 { font-size: 30px; margin-bottom: 12px; letter-spacing: -0.02em; }
.placeholder p { color: var(--text-muted); margin-bottom: 24px; }
.btn-primary {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 12px 26px; border-radius: 12px; font-weight: 600;
}
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }

@media (max-width: 820px) {
  .features { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
}
