/* Brand palette matches the actual app (src/theme/theme.js) — this site
   should feel like the same product, not a separately-designed marketing
   skin. */
:root {
  --ink: #1f2024;
  --ink2: #6b7280;
  --oat: #ffffff;
  --linen: #ffffff;
  --hairline: #e5e7eb;
  --brand: #d5506c;
  --brand-deep: #b13653;
  --brand-soft: #f8e5e9;
  --white: #ffffff;
  --radius: 16px;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--oat);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-align: center;
}

p {
  color: var(--ink2);
  margin: 0 0 1em;
}

a {
  color: var(--brand-deep);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(252, 250, 246, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.brand-word-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-word {
  display: flex;
  gap: 0.28em;
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-word-light {
  font-weight: 600;
  color: var(--ink2);
}

.brand-word-bold {
  font-weight: 700;
  color: var(--brand-deep);
}

.brand-tag {
  margin-top: 5px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.site-header nav {
  display: flex;
  gap: 20px;
}

.site-header nav a {
  color: var(--ink2);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header nav a:hover {
  color: var(--brand-deep);
}

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 56px;
}

.hero-inner {
  text-align: center;
  max-width: 720px;
}

.hero-icon {
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(168, 63, 88, 0.25);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- store badges ---------- */
.store-badges {
  scroll-margin-top: 160px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 12px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.store-badge small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  opacity: 0.85;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--ink2);
}

/* ---------- sections ---------- */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--linen);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h3 {
  color: var(--brand-deep);
  font-size: 1.1rem;
}

.feature-card p {
  text-align: left;
  margin: 0;
  max-width: none;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--ink2);
}

.footer-inner a {
  color: var(--ink2);
}

/* ---------- legal pages ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.legal h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
}

.legal .updated {
  font-size: 0.85rem;
  color: var(--ink2);
  margin: 0 0 2em;
}

.legal h2 {
  text-align: left;
  font-size: 1.25rem;
  margin-top: 2em;
}

.legal p,
.legal li {
  max-width: none;
  text-align: left;
}

.legal ul,
.legal ol {
  color: var(--ink2);
  padding-left: 1.3em;
}

.legal li {
  margin-bottom: 0.5em;
}

.legal strong {
  color: var(--ink);
}

.legal .placeholder {
  background: var(--brand-soft);
  padding: 0 0.3em;
  border-radius: 4px;
}
