:root {
  --wine: #691c40;
  --wine-deep: #3f0f27;
  --wine-soft: #f8eef2;
  --gold: #f0d14f;
  --gold-dark: #d9ba38;
  --ink: #241a1f;
  --muted: #6d5f66;
  --line: #eadde3;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(63, 15, 39, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: var(--wine); }
img { max-width: 100%; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wine);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
}

.site-header nav a {
  margin-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

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

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #8f2b5b 0%, transparent 60%),
              linear-gradient(135deg, var(--wine-deep) 0%, var(--wine) 100%);
  color: #fff;
  padding: 72px 0 80px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 span { color: var(--gold); }

.hero p.lead {
  margin: 0 0 28px;
  max-width: 34ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--wine-deep);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Crossword illustration */
.board {
  justify-self: center;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transform: rotate(2deg);
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  width: min(100%, 320px);
}

.cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: clamp(1rem, 3.4vw, 1.4rem);
  color: var(--wine);
}

.cell.on {
  background: var(--gold);
  border: 1px solid var(--gold-dark);
  box-shadow: 0 2px 6px rgba(240, 209, 79, 0.45);
}

.cell.hide {
  background: linear-gradient(135deg, #ececec, #dcdcdc);
  border: 1px solid #d0d0d0;
}

.cell.void { visibility: hidden; }

/* Sections */
section { padding: 72px 0; }
section.tint { background: var(--wine-soft); }

.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--wine-deep);
}

.section-sub { margin: 0 0 36px; color: var(--muted); max-width: 56ch; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--wine-soft);
  color: var(--wine);
  font-weight: 800;
  font-size: 1.1rem;
}

.card h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--wine-deep); }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.steps { counter-reset: step; }
.steps .card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-weight: 700;
}

.note {
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--muted);
}

/* Document pages (privacy, terms, support) */
.page-title {
  background: linear-gradient(135deg, var(--wine-deep) 0%, var(--wine) 100%);
  color: #fff;
  padding: 48px 0;
}

.page-title h1 { margin: 0 0 4px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-title p { margin: 0; color: rgba(255, 255, 255, 0.8); }

.doc { padding: 40px 0 72px; }
.doc h2 {
  margin: 2.2rem 0 0.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
  color: var(--wine-deep);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.4rem; }
.doc h3 { margin: 1.4rem 0 0.2rem; font-size: 1.05rem; color: var(--wine); }
.doc p, .doc li { color: #3d3239; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin: 0.35rem 0; }

.contact-card {
  margin: 8px 0 8px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--wine-soft);
}

.contact-card strong { display: block; margin-bottom: 4px; color: var(--wine-deep); }

/* Footer */
.site-footer {
  padding: 36px 0 44px;
  background: var(--wine-deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a { color: #fff; text-decoration: none; margin-right: 20px; opacity: 0.9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .fine { flex-basis: 100%; font-size: 0.82rem; opacity: 0.7; }

@media (max-width: 800px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .site-header nav a { margin-left: 14px; }
}
