:root {
  --ink: #fff9eb;
  --muted: #d9cdb4;
  --wine: #3b0714;
  --wine-2: #690d24;
  --red: #991d32;
  --gold: #f3c768;
  --gold-2: #ffeab0;
  --line: rgba(255, 234, 176, 0.18);
  --panel: rgba(255, 249, 235, 0.065);
  --shadow: 0 26px 80px rgba(10, 0, 3, 0.38);
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(231, 157, 49, 0.18), transparent 28rem),
    radial-gradient(circle at 10% 28%, rgba(168, 24, 51, 0.24), transparent 32rem),
    linear-gradient(145deg, #25030c 0%, #420713 42%, #1a0309 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(30deg, transparent 0 47%, rgba(255,255,255,.04) 49% 51%, transparent 53% 100%),
    linear-gradient(150deg, transparent 0 47%, rgba(255,255,255,.035) 49% 51%, transparent 53% 100%);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: 18px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--wine);
  border-radius: 10px;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(31, 2, 9, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 760; letter-spacing: -0.02em; }
.brand img { width: 46px; height: 46px; border-radius: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.32); }
.brand span { max-width: 180px; line-height: 1.1; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-2); }

.age-pill, .eyebrow, .micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(243, 199, 104, 0.35);
  color: var(--gold-2);
  background: rgba(243, 199, 104, 0.08);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero {
  min-height: min(calc(100vh - 78px), 920px);
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 64px;
  padding: 76px 0 70px;
}

.kicker { color: var(--gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; margin: 0 0 20px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0; line-height: .98; letter-spacing: -.035em; }
h1 { font-size: clamp(3.6rem, 7.4vw, 7.3rem); max-width: 760px; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); max-width: 670px; margin: 28px 0 0; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 760;
  border: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #321008; background: linear-gradient(135deg, #ffeab0, #e7ad38); box-shadow: 0 12px 40px rgba(231,173,56,.22); }
.button.secondary { background: rgba(255,255,255,.06); }
.button[aria-disabled="true"] { cursor: default; }
.button[aria-disabled="true"]:hover { transform: none; }

.hero-card { position: relative; isolation: isolate; }
.hero-card::before {
  content: "";
  position: absolute;
  inset: 8% -12% -10% 8%;
  background: radial-gradient(circle, rgba(239, 179, 59, .34), transparent 60%);
  filter: blur(20px);
  z-index: -1;
}
.hero-card img {
  width: min(460px, 100%);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: auto;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.13);
}
.floating-note {
  position: absolute;
  right: -16px;
  bottom: 10%;
  width: min(260px, 65%);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(36, 3, 11, .9);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}
.floating-note strong { display: block; color: var(--gold-2); margin-bottom: 4px; }
.floating-note span { color: var(--muted); font-size: .86rem; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(0,0,0,.12); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--gold-2); font-size: 1.02rem; }
.trust-item span { color: var(--muted); font-size: .85rem; }

section { position: relative; padding: 112px 0; }
.section-head { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: end; margin-bottom: 50px; }
.section-label { color: var(--gold); font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 800; }
h2 { font-size: clamp(2.7rem, 5.3vw, 5.2rem); }
.section-copy { color: var(--muted); font-size: 1.08rem; max-width: 600px; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card {
  min-height: 240px;
  padding: 28px;
  background: linear-gradient(155deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  border-radius: 22px;
}
.feature-number { color: var(--gold); font-family: Georgia, serif; font-size: 2rem; }
.feature-card h3 { margin-top: 42px; font-size: 1.55rem; line-height: 1.08; }
.feature-card p { color: var(--muted); font-size: .92rem; margin: 14px 0 0; }

.gallery { display: grid; gap: 22px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #2a050e; }
.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.gallery-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gallery figcaption { padding: 18px 22px; color: var(--muted); font-size: .86rem; }

.responsible-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  padding: clamp(32px, 6vw, 68px);
  background: linear-gradient(145deg, rgba(153,29,50,.34), rgba(255,255,255,.045));
  border: 1px solid rgba(243,199,104,.24);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.responsible-panel h2 { font-size: clamp(2.7rem, 4.8vw, 4.8rem); }
.responsible-copy p { color: var(--muted); margin-top: 0; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.check { padding: 16px; border-radius: 16px; background: rgba(0,0,0,.16); color: var(--gold-2); font-weight: 700; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.support-card { padding: 34px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.support-card h3 { font-size: 1.7rem; }
.support-card p { color: var(--muted); }
.support-card a { color: var(--gold-2); text-decoration-thickness: 1px; text-underline-offset: 4px; }

.site-footer { padding: 58px 0 40px; border-top: 1px solid var(--line); background: rgba(0,0,0,.16); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 58px; height: 58px; border-radius: 17px; }
.footer-brand strong { display: block; }
.footer-brand span, .footer-note { color: var(--muted); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: 16px 22px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }

.legal-main { padding: 86px 0 110px; }
.legal-header { max-width: 820px; margin-bottom: 52px; }
.legal-header h1 { font-size: clamp(3.3rem, 7vw, 6.4rem); }
.legal-header p { color: var(--muted); font-size: 1.1rem; }
.legal-card { max-width: 900px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.05); }
.legal-card h2 { font-size: 2rem; margin: 38px 0 14px; line-height: 1.15; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--gold-2); }
.legal-card ul { padding-left: 22px; }
.back-link { display: inline-block; margin-top: 34px; color: var(--gold-2); text-underline-offset: 4px; }

@media (max-width: 900px) {
  .nav-links a:not(.age-pill) { display: none; }
  .hero, .section-head, .responsible-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; gap: 54px; padding-top: 64px; }
  .hero-card { max-width: 530px; margin: 0 auto; }
  .section-head { gap: 24px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 26px, 1160px); }
  .brand span { font-size: .92rem; }
  h1 { font-size: clamp(3.15rem, 17vw, 4.6rem); }
  section { padding: 82px 0; }
  .feature-grid, .gallery-row, .support-grid, .check-list { grid-template-columns: 1fr; }
  .floating-note { right: -4px; bottom: 3%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .footer-bottom { flex-direction: column; }
  .gallery img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
