:root {
  --primary: #7a2343;
  --primary-dark: #5c1a32;
  --primary-light: #f3e4ea;
  --primary-muted: #f8eef2;
  --secondary: #c4a35a;
  --secondary-light: #f6eed9;
  --purple: #6b4c7a;
  --purple-light: #f0e8f4;
  --bg: #faf6f1;
  --bg-deep: #f3ece3;
  --card: #ffffff;
  --border: #e8dfd6;
  --text: #1c1412;
  --text-secondary: #6b5e58;
  --text-muted: #9a8e86;
  --danger: #b42318;
  --success: #067647;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 4px rgba(28, 20, 18, 0.05);
  --shadow-card: 0 4px 12px rgba(28, 20, 18, 0.07);
  --shadow-lg: 0 18px 48px rgba(28, 20, 18, 0.1);
  --header-h: 72px;
  --wrap: 1120px;
  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-dark);
}

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
}

h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  margin: 0 0 14px;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.lede {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 42rem;
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 40px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lede {
  margin-inline: auto;
}

.muted {
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-gold {
  background: var(--secondary);
  color: var(--text);
}

.btn-gold:hover {
  background: #b39148;
  color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand img,
.brand svg {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-muted);
}

.nav-cta {
  margin-left: 8px;
}

.nav .btn-primary {
  color: #fff;
  background: var(--primary);
}

.nav .btn-primary:hover {
  color: #fff;
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px) 0 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 48px solid color-mix(in srgb, var(--primary) 10%, transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% 10% auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 36px solid color-mix(in srgb, var(--secondary) 18%, transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .lede {
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* Device */
.device-stage {
  display: flex;
  justify-content: center;
}

.device {
  width: min(300px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 12px 12px 18px;
  box-shadow: var(--shadow-lg);
}

.device-notch {
  width: 108px;
  height: 8px;
  margin: 4px auto 12px;
  background: #1c1412;
  border-radius: 8px;
  opacity: 0.18;
}

.device-screen {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  min-height: 460px;
}

.device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.device-card {
  margin: 8px 14px 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.portrait {
  height: 230px;
  background:
    radial-gradient(circle at 50% 30%, #d7b7c3, #7a2343 62%, #4a1528);
  position: relative;
  display: grid;
  place-items: center;
}

.portrait-initials {
  font-family: var(--serif);
  font-size: 3.2rem;
  color: rgba(255, 255, 255, 0.92);
}

.blur-chip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(28, 20, 18, 0.55);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--success);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.device-info {
  padding: 14px 14px 8px;
}

.device-info h3 {
  margin: 6px 0 2px;
  font-family: var(--font);
  font-weight: 800;
}

.device-info p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.device-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 14px 16px;
}

.device-actions span {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.skip {
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
}

.interest {
  background: var(--primary);
  color: #fff;
}

/* Trust */
.trust {
  padding: 8px 0 48px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.trust-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* About */
.about {
  background:
    radial-gradient(circle at 0% 0%, var(--primary-muted), transparent 42%),
    var(--bg-deep);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.about-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.about-panel h3 {
  font-family: var(--font);
  font-weight: 800;
  margin-bottom: 16px;
}

.about-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.about-panel li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  color: var(--text-secondary);
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 3px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.2s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--secondary) 55%, var(--border));
  box-shadow: var(--shadow-card);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--primary-light);
  color: var(--primary);
}

.icon.gold {
  background: var(--secondary-light);
  color: #8a6d2c;
}

.icon.purple {
  background: var(--purple-light);
  color: var(--purple);
}

.feature p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* How */
.how {
  background: var(--bg-deep);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 22px 26px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 12px;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.why-lead {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.why-lead .kicker {
  color: var(--secondary);
}

.why-lead h2,
.why-lead p {
  color: #fff;
}

.why-lead p {
  opacity: 0.9;
  font-size: 1.05rem;
}

.why-lead .note {
  margin-top: 28px;
  font-size: 0.9rem;
  opacity: 0.78;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.benefit {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.benefit p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* Membership */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.plan strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.plan-price {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
}

.plan-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.plan li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-left: 16px;
  position: relative;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
  font-size: 0.78rem;
}

.plan-ribbon {
  align-self: flex-start;
  margin: 0 0 10px;
  background: var(--secondary);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.plan.featured {
  background: var(--secondary-light);
  border-color: var(--secondary);
}

.boost-panel {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.boost-panel h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.boost-panel p {
  margin: 0;
  color: var(--text-secondary);
}

.boost-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-secondary);
  display: grid;
  gap: 8px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-card,
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-list a {
  font-weight: 700;
  text-decoration: none;
}

.contact-list small {
  display: block;
  color: var(--text-muted);
  font-weight: 500;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0 0 6px;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--primary-muted);
  color: var(--primary-dark);
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status.error {
  background: #fee4e2;
  color: var(--danger);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: #2a171c;
  color: #f3e4ea;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand {
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(243, 228, 234, 0.78);
}

.site-footer a:hover {
  color: var(--secondary);
}

.site-footer h3 {
  font-family: var(--font);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 500;
}

.legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  font-size: 0.88rem;
  color: rgba(243, 228, 234, 0.62);
}

/* Legal pages */
.legal-hero {
  padding: 48px 0 12px;
}

.legal-hero .lede {
  max-width: 46rem;
}

.legal {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 80px;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.toc h2 {
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.toc a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.toc a:hover {
  color: var(--primary);
}

.legal-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.legal-body h2 {
  font-size: 1.45rem;
  margin: 32px 0 10px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-family: var(--font);
  font-size: 1.02rem;
  font-weight: 800;
  margin: 22px 0 8px;
}

.legal-body p,
.legal-body li {
  color: var(--text-secondary);
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.2rem;
}

.updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* 404 */
.error-page {
  min-height: calc(100dvh - 220px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-grid,
  .legal,
  .boost-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .trust-row,
  .steps,
  .plans,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .toc {
    position: static;
  }

  .device {
    width: min(280px, 100%);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-card);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .nav-cta {
    margin: 8px 0 0;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .wrap,
  .header-inner {
    width: min(var(--wrap), calc(100% - 28px));
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .trust-row,
  .steps,
  .plans,
  .benefit-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .menu-toggle,
  .hero-actions,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .legal,
  .legal-body {
    display: block;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
