:root {
  color-scheme: dark;
  --foundation: #000000;
  --surface: #050506;
  --surface-raised: #090a0a;
  --accent-primary: #ffd98a;
  --accent-secondary: #e5ab60;
  --atmosphere-violet: #7768c9;
  --cool-star: #d3e8ff;
  --text-primary: #f5f1e8;
  --text-muted: #a8aaa6;
  --line: rgba(211, 232, 255, 0.15);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Century Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--foundation); }
body { margin: 0; color: var(--text-primary); background: var(--foundation); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-primary); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--text-primary);
  color: var(--foundation);
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(22px, 4vw, 64px);
}
.site-brand {
  display: inline-flex;
  align-items: center;
  background: transparent;
  text-decoration: none;
}
.site-brand picture { display: block; }
.site-brand img {
  display: block;
  width: clamp(22rem, 36vw, 36rem);
  height: auto;
  object-fit: contain;
}
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.site-nav a { color: var(--text-muted); font-size: 0.88rem; text-decoration: none; }
.site-nav a:hover { color: var(--text-primary); }
.site-nav__signin { padding: 8px 15px; border: 1px solid rgba(255, 217, 138, 0.38); border-radius: 999px; }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero__image, .hero__veil { position: absolute; inset: 0; }
.hero__image {
  z-index: -3;
  display: block;
  overflow: hidden;
  background: var(--surface);
  animation: hero-breathe 18s ease-in-out infinite alternate;
}
.hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.7) 38%, rgba(0, 0, 0, 0.08) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, transparent 52%, var(--foundation) 100%);
}
.hero__content {
  align-self: center;
  width: min(720px, 88vw);
  margin-left: clamp(22px, 8vw, 132px);
  padding: 130px 0 110px;
  animation: rise-in 800ms ease-out both;
}
.eyebrow {
  margin: 0;
  color: var(--accent-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero h1, .editorial h2, .trust-note h2, .offer h2, .muse-preview h2, .closing h2, .legal-shell h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}
.hero h1 { margin: 22px 0; font-size: clamp(2.1rem, 5vw, 4.6rem); }
.hero__summary { max-width: 530px; margin: 0; color: var(--cool-star); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); color: var(--foundation); box-shadow: 0 20px 48px rgba(229, 171, 96, 0.24); }
.button--quiet { border: 1px solid rgba(211, 232, 255, 0.24); background: var(--surface-raised); backdrop-filter: blur(12px); }
.hero__offer { margin: 18px 0 0; color: var(--text-muted); font-size: 0.86rem; }
.hero__offer strong { color: var(--text-primary); }
.hero__caption { position: absolute; right: clamp(22px, 4vw, 64px); bottom: 30px; margin: 0; color: var(--text-muted); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }

.editorial, .trust-note, .offer, .muse-preview, .closing, .site-footer, .legal-shell, .legal-header {
  width: min(1180px, calc(100% - 44px));
  margin-inline: auto;
}
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(50px, 10vw, 150px);
  padding: clamp(90px, 12vw, 180px) 0;
}
.editorial__intro { align-self: start; position: sticky; top: 40px; }
.editorial h2, .offer h2, .muse-preview h2, .closing h2 { margin: 16px 0 24px; font-size: clamp(3rem, 6vw, 6rem); }
.editorial__intro > p:last-child { max-width: 490px; color: var(--text-muted); font-size: 1.05rem; }
.feature-lines { margin: 0; padding: 0; list-style: none; }
.feature-lines li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 32px 0; border-top: 1px solid var(--line); }
.feature-lines li:last-child { border-bottom: 1px solid var(--line); }
.feature-lines > li > span { color: var(--accent-secondary); font-size: 0.72rem; letter-spacing: 0.16em; }
.feature-lines h3 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 2.25rem); font-weight: 500; }
.feature-lines p { margin: 0; color: var(--text-muted); }

.trust-note {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(50px, 10vw, 150px);
  align-items: end;
  padding: clamp(54px, 7vw, 90px) 0;
  border-top: 1px solid var(--line);
}
.trust-note h2 { max-width: 520px; margin: 14px 0 0; font-size: clamp(2.25rem, 4.5vw, 4.5rem); }
.trust-note > p { max-width: 650px; margin: 0; color: var(--text-muted); font-size: 1.02rem; }
.trust-note a { color: var(--accent-primary); text-underline-offset: 5px; }

.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(50px, 10vw, 150px);
  padding: clamp(60px, 9vw, 130px) 0;
  border-top: 1px solid var(--line);
}
.offer__details { align-self: end; }
.offer__price { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 24px; font-family: var(--serif); font-size: clamp(4rem, 8vw, 7rem); line-height: 0.8; letter-spacing: -0.07em; }
.offer__price > span { margin-top: 6px; color: var(--accent-primary); font-family: var(--sans); font-size: 1rem; }
.offer__price small { align-self: flex-end; margin: 0 0 2px 12px; color: var(--text-muted); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0; }
.offer__details > p { color: var(--text-muted); }
.offer__details strong { color: var(--text-primary); }
.offer__future { padding-top: 22px; border-top: 1px solid var(--line); }
.offer__future span { display: block; color: var(--accent-secondary); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.text-link { display: inline-block; margin-top: 16px; color: var(--accent-primary); text-underline-offset: 5px; }

.muse-preview {
  position: relative;
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: clamp(48px, 9vw, 140px);
  align-items: center;
  min-height: 620px;
  padding: clamp(70px, 10vw, 150px) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.muse-preview__signal { display: grid; place-items: center; min-height: 350px; }
.muse-preview__signal::before, .muse-preview__signal::after, .muse-preview__signal span {
  position: absolute;
  content: "";
  width: min(34vw, 350px);
  aspect-ratio: 1;
  border: 1px solid var(--atmosphere-violet);
  border-radius: 50%;
}
.muse-preview__signal::after { width: min(22vw, 220px); box-shadow: 0 0 90px rgba(119, 104, 201, 0.28); }
.muse-preview__signal span { width: 12px; border: 0; background: var(--cool-star); box-shadow: 0 0 42px 16px rgba(119, 104, 201, 0.4); animation: signal-pulse 3s ease-in-out infinite; }
.muse-preview p:last-child { max-width: 540px; color: var(--text-muted); }

.closing { padding: clamp(90px, 14vw, 200px) 0; text-align: center; border-top: 1px solid var(--line); }
.closing h2 { margin-inline: auto; }
.closing .button { margin-top: 20px; }
.closing > p:last-child { color: var(--text-muted); }
.closing > p:last-child a { color: var(--accent-primary); }

.site-footer, .legal-header {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: flex-end;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
}
.site-footer > div { display: grid; }
.site-footer .site-brand img { width: 11rem; }
.site-footer span { color: var(--text-muted); font-size: 0.8rem; }
.site-footer nav, .legal-header nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a, .legal-header nav a { color: var(--text-muted); font-size: 0.82rem; text-decoration: none; }

.legal-page { min-height: 100svh; background: radial-gradient(circle at 85% 5%, rgba(119, 104, 201, 0.18), transparent 28%), var(--foundation); }
.legal-header { align-items: center; }
.legal-header .site-brand img { width: clamp(11rem, 18vw, 14rem); }
.legal-shell { display: grid; grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr); gap: clamp(44px, 9vw, 130px); padding: clamp(70px, 10vw, 140px) 0; }
.legal-shell h1 { margin: 16px 0; font-size: clamp(3.6rem, 8vw, 7rem); }
.legal-shell__intro > p:last-child, .legal-copy { color: var(--text-muted); }
.legal-copy { display: grid; gap: 22px; font-size: 1rem; }
.legal-copy h2 { margin: 12px 0 0; color: var(--text-primary); font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
.legal-copy p, .legal-copy ul { margin: 0; }
.legal-copy a { color: var(--accent-primary); }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; }
  .site-nav a:not(.site-nav__signin) { display: none; }
  .editorial, .trust-note, .offer, .muse-preview, .legal-shell { grid-template-columns: minmax(0, 1fr); }
  .editorial__intro { position: static; }
  .muse-preview__signal { min-height: 260px; }
  .muse-preview__signal::before { width: 250px; }
  .muse-preview__signal::after { width: 160px; }
}

@media (max-width: 560px) {
  .site-header { padding: 22px 18px; }
  .site-brand img { width: 13rem; }
  .site-nav { gap: 12px; }
  .site-nav__signin { min-height: 44px; display: inline-flex; align-items: center; }
  .hero__content { width: calc(100% - 36px); margin-inline: 18px; padding-top: 120px; }
  .hero h1 { font-size: clamp(1.8rem, 8.5vw, 2.6rem); }
  .hero__veil { background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.38)), linear-gradient(180deg, transparent 35%, var(--foundation) 100%); }
  .hero__caption { display: none; }
  .button { width: 100%; }
  .editorial, .trust-note, .offer, .muse-preview, .closing, .site-footer, .legal-shell, .legal-header { width: calc(100% - 36px); }
  .feature-lines li { grid-template-columns: 38px 1fr; gap: 12px; }
  .offer__price { flex-wrap: wrap; }
  .offer__price small { flex-basis: 100%; margin: 14px 0 0; }
  .site-footer, .legal-header { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__image, .hero__content, .muse-preview__signal span { animation: none; }
  .button { transition: none; }
}

@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-breathe { from { transform: scale(1.01); } to { transform: scale(1.055); } }
@keyframes signal-pulse { 0%, 100% { opacity: 0.62; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.15); } }
