:root {
  --bordeaux: #5a0015;
  --bordeaux-deep: #3d000e;
  --black: #000000;
  --white: #ffffff;
  --grey-50: #f5f5f5;
  --grey-200: #e8e8e8;
  --grey-500: #808080;
  --grey-800: #1a1a1a;
  --max: 1080px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--bordeaux);
}

a:hover {
  color: var(--bordeaux-deep);
}

.shell {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ── Top bar ─────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.logo {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  color: var(--black);
  text-decoration: none;
}

.logo span {
  color: var(--bordeaux);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav a {
  color: var(--grey-800);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--bordeaux);
}

/* ── Landing hero ────────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.15) 0%, rgba(90, 0, 21, 0.55) 45%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(120deg, #1a1a1a 0%, #5a0015 48%, #000 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 40% auto -10%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
  pointer-events: none;
  animation: drift 14s var(--ease) infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -20%;
  width: 55%;
  height: 70%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
  animation: drift 18s var(--ease) infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2%, -3%, 0) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4rem;
  max-width: 36rem;
}

.hero-brand {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(3.4rem, 10vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0 0 1.25rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand em {
  font-style: normal;
  color: #f2c9d2;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 28rem;
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  animation: rise 0.9s 0.22s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

.btn-light:hover {
  background: var(--grey-50);
  color: var(--black);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-bordeaux {
  background: var(--bordeaux);
  color: var(--white);
}

.btn-bordeaux:hover {
  background: var(--bordeaux-deep);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ── Sections ────────────────────────────────────────── */

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--grey-50);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bordeaux);
}

.section-dark .eyebrow {
  color: #f2c9d2;
}

.section h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.lead {
  margin: 0;
  max-width: 36rem;
  color: var(--grey-500);
  font-size: 1.05rem;
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.7);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
}

.feature {
  background: var(--white);
  padding: 1.6rem 1.35rem;
}

.feature strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.feature p {
  margin: 0;
  color: var(--grey-500);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.panel {
  background: var(--bordeaux);
  color: var(--white);
  min-height: 280px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.panel .mark {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 3.5rem;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 1rem;
}

.panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 18rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ── Legal / support pages ───────────────────────────── */

.doc-hero {
  padding: 3.25rem 0 1.5rem;
  border-bottom: 1px solid var(--grey-200);
}

.doc-hero h1 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

.doc-hero .meta {
  margin: 0;
  color: var(--grey-500);
  font-size: 0.95rem;
}

.doc {
  padding: 2.25rem 0 4rem;
  max-width: 42rem;
}

.doc h2 {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2.1rem 0 0.55rem;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc p,
.doc li {
  color: #222;
}

.doc ul {
  padding-left: 1.15rem;
}

.note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  background: var(--grey-50);
  border-left: 3px solid var(--bordeaux);
  color: var(--grey-800);
  font-size: 0.92rem;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--grey-200);
  padding: 1.5rem 0 2rem;
  color: var(--grey-500);
  font-size: 0.875rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer a {
  color: var(--grey-800);
  text-decoration: none;
  margin-left: 1rem;
}

.site-footer a:first-child {
  margin-left: 0;
}

.site-footer a:hover {
  color: var(--bordeaux);
}

@media (max-width: 860px) {
  .feature-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 4.5rem 0 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-brand,
  .hero p,
  .hero-actions {
    animation: none;
  }
}
