@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Instrument+Sans:wght@400;500;600&display=swap');

/* Apollo App Builder: Sol Oriens in black and white.
   Near-black ground, marble-white ink, hairline veins. No accent hue. */
:root {
  --nox: #0A0908;
  --nox-deep: #060505;
  --basalt: #12100D;
  --basalt-2: #1A1713;
  --vein: #29241D;
  --vein-strong: #3B342A;
  --lux: #F4EFE6;
  --soft: #A69E90;
  --faint: #7D7568;
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, Georgia, serif;
  --caps: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
  font-family: var(--sans);
  color: var(--lux);
  background: var(--nox);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--nox); }
img { max-width: 100%; }
a { color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--lux); outline-offset: 5px; }
::selection { background: var(--lux); color: var(--nox); }
p, h1, h2, h3 { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; }

.wrap { max-width: 1296px; margin: auto; padding: 0 48px; }
.skip { position: absolute; top: -100px; left: 15px; background: var(--lux); color: var(--nox); padding: 12px; z-index: 5; }
.skip:focus { top: 10px; }

/* ---------- header ---------- */
header { position: relative; z-index: 2; border-bottom: 1px solid var(--vein); }
.nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 50px; width: auto; }
nav { display: flex; align-items: center; gap: 34px; font-size: 15px; color: var(--soft); }
nav a { text-decoration: none; transition: color .15s ease; }
nav a:hover { color: var(--lux); }
.nav-contact { color: var(--lux); border: 1px solid rgba(244, 239, 230, .5); padding: 10px 18px; border-radius: 3px; }
.nav-contact:hover { background: var(--lux); color: var(--nox); }

/* ---------- shared type ---------- */
.eyebrow { font-family: var(--caps); font-weight: 700; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: 14px; margin: 0; }
.eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--lux); color: var(--nox); padding: 17px 26px; text-decoration: none; font-weight: 600; font-size: 16px; border: 1px solid var(--lux); border-radius: 3px; box-shadow: 0 12px 34px rgba(244, 239, 230, .12); transition: background .15s ease, box-shadow .15s ease; }
.button:hover { background: #FFFFFF; box-shadow: 0 14px 40px rgba(244, 239, 230, .2); }
.link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.link::after { content: '→'; transition: transform .15s ease; }
.link:hover::after { transform: translateX(4px); }
.small { font-size: 14px; line-height: 1.6; color: var(--faint); }

/* ---------- hero: the sun rises behind the offer ---------- */
.hero { position: relative; overflow: hidden; min-height: 780px; border-bottom: 1px solid var(--vein); }
.hero-art { position: absolute; bottom: -72px; right: -6%; height: 100%; width: auto; max-width: none; pointer-events: none; user-select: none; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--nox) 0%, rgba(10, 9, 8, .86) 30%, rgba(10, 9, 8, 0) 62%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 700px; padding: 108px 0 170px; }
.hero h1 { font-size: clamp(56px, 7.6vw, 116px); font-weight: 500; line-height: .92; letter-spacing: -.012em; margin: 30px 0 34px; }
.intro { max-width: 580px; color: var(--soft); font-size: 20px; line-height: 1.65; margin: 0 0 38px; }
.actions { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }

/* ---------- availability, inscribed under the horizon ---------- */
.beta-card { border-bottom: 1px solid var(--vein); background: var(--nox-deep); }
.beta-card .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 72px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.tag { display: inline-block; font-family: var(--caps); font-weight: 700; font-size: 12px; letter-spacing: .22em; padding: 6px 11px 5px; border: 1px solid rgba(244, 239, 230, .55); border-radius: 2px; }
.beta-card h2 { font-size: clamp(36px, 3.6vw, 48px); line-height: 1.02; margin: 20px 0 0; }
.beta-card p { color: var(--soft); font-size: 17px; line-height: 1.7; margin: 0 0 12px; }
.beta-card .small { margin: 0; }

/* ---------- numerals band with key borders ---------- */
.band { position: relative; background: var(--nox); padding: 44px 0; border-bottom: 1px solid var(--vein); }
.band::before, .band::after { content: ''; position: absolute; left: 48px; right: 48px; height: 18px; background: url('/meander.svg') repeat-x left center / auto 18px; }
.band::before { top: 12px; }
.band::after { bottom: 12px; }
.band .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.band span { font-size: 17px; display: flex; align-items: baseline; gap: 16px; }
.band b { font-family: var(--caps); font-weight: 600; font-size: 22px; }

/* ---------- sections ---------- */
.section { padding: 116px 0; border-bottom: 1px solid var(--vein); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 60px; }
.section-head > div { flex: 1; min-width: 0; }
.section-head h2 { font-size: clamp(42px, 5vw, 68px); line-height: 1.02; margin: 22px 0 0; max-width: 780px; }
.section-head p { color: var(--soft); max-width: 380px; font-size: 17px; line-height: 1.7; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.step { position: relative; border-top: 1px solid var(--vein-strong); padding-top: 30px; }
.step::before { content: ''; position: absolute; top: -1px; left: 0; width: 56px; height: 1px; background: var(--lux); }
.step .num { display: flex; align-items: baseline; gap: 16px; font-family: var(--caps); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
.step .num b { font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: 0; color: var(--lux); }
.step h3 { font-size: 36px; line-height: 1.1; margin: 26px 0 14px; }
.step p { font-size: 17px; color: var(--soft); line-height: 1.75; margin: 0; }

.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 14px; }
.plan { position: relative; background: var(--basalt); border: 1px solid var(--vein); border-radius: 3px; padding: 36px 32px 30px; }
.plan.featured { border-color: rgba(244, 239, 230, .7); background: linear-gradient(180deg, rgba(244, 239, 230, .07), rgba(244, 239, 230, 0) 45%), var(--basalt); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.plan.featured::before { content: ''; position: absolute; top: -17px; left: 50%; width: 64px; height: 32px; transform: translateX(-50%); background: var(--nox) url('/glyph.svg') center / 34px 29px no-repeat; }
.plan h3 { font-family: var(--caps); font-weight: 700; font-size: 16px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 24px; }
.price { font-family: var(--serif); font-weight: 600; font-size: 62px; line-height: 1; }
.price small { font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--soft); }
.plan p { font-size: 15px; color: var(--soft); line-height: 1.6; margin: 14px 0 0; }
.plan ul { list-style: none; margin: 26px 0 0; padding: 14px 0 0; border-top: 1px solid var(--vein); }
.plan li { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 16px; }
.plan li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--lux); transform: rotate(45deg); }
.pricing-note { margin: 34px 0 0; max-width: 980px; font-size: 15px; line-height: 1.8; color: var(--soft); }
.availability { margin-top: 30px; background: var(--basalt); border: 1px solid var(--vein); border-radius: 3px; padding: 24px 28px; }
.availability p { margin: 6px 0; font-size: 15px; line-height: 1.7; color: var(--soft); }
.availability strong { color: var(--lux); font-weight: 600; }

details { border-top: 1px solid var(--vein); padding: 26px 0; }
details:last-child { border-bottom: 1px solid var(--vein); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--serif); font-size: 29px; font-weight: 600; line-height: 1.25; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; flex: none; font-family: var(--sans); font-weight: 300; font-size: 30px; line-height: 1; color: var(--soft); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--soft); font-size: 17px; line-height: 1.75; max-width: 820px; margin: 16px 0 0; }
details a { color: var(--lux); }

/* ---------- contact, over a carved inscription ---------- */
.contact { position: relative; overflow: hidden; background: var(--basalt); border-top: 1px solid rgba(244, 239, 230, .3); padding: 104px 0; }
.inscription { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-family: var(--caps); font-weight: 600; font-size: 172px; letter-spacing: .1em; color: transparent; -webkit-text-stroke: 1px rgba(244, 239, 230, .12); pointer-events: none; user-select: none; }
.contact .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.contact h2 { font-size: clamp(42px, 4.6vw, 64px); line-height: 1.02; margin: 0 0 18px; }
.contact p { line-height: 1.7; max-width: 660px; margin: 0; color: var(--soft); font-size: 17px; }
.contact .button { flex-shrink: 0; }

footer { padding: 48px 0 56px; }
.footer-row { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
footer .brand img { height: 44px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--soft); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--lux); text-decoration: underline; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; line-height: 1.6; color: var(--faint); margin: 30px 0 0; }
.footer-meta::after { content: 'MMXXVI'; font-family: var(--caps); letter-spacing: .24em; }

/* ---------- policy pages ---------- */
.legal { max-width: 868px; padding-top: 76px; padding-bottom: 96px; }
.legal .eyebrow { color: var(--soft); }
.legal h1 { font-size: clamp(46px, 6vw, 68px); line-height: 1; margin: 22px 0 18px; }
.legal h2 { font-size: 32px; line-height: 1.15; margin: 46px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.8; color: var(--soft); }
.legal strong { color: var(--lux); font-weight: 600; }
.legal ul { padding-left: 23px; }
.legal .updated { font-size: 14px; color: var(--faint); }
.legal a:not(.button) { color: var(--lux); }
.notice { background: var(--basalt); border: 1px solid var(--vein-strong); border-radius: 3px; padding: 22px 26px; margin: 30px 0; }
.legal .notice p { margin: 0 0 10px; }
.legal .notice p:last-child { margin-bottom: 0; }
.notice .button { margin: 6px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, var(--nox) 0%, rgba(10, 9, 8, .8) 46%, rgba(10, 9, 8, 0) 72%); }
  .hero-copy { padding: 72px 0 380px; }
  .hero-art { height: 540px; right: auto; left: 50%; transform: translateX(-66%); }
  .beta-card .wrap { grid-template-columns: 1fr; gap: 24px; }
  .section-head { display: block; }
  .section-head p { max-width: 640px; margin-top: 22px; }
  .steps { gap: 28px; }
  .plan-grid { gap: 14px; }
  .plan { padding: 30px 24px 24px; }
  .price { font-size: 50px; }
  .contact .wrap { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 22px; }
  .eyebrow { white-space: normal; letter-spacing: .2em; }
  .nav { min-height: 0; flex-wrap: wrap; padding-top: 20px; padding-bottom: 18px; gap: 16px; }
  .brand img { height: 42px; }
  nav { gap: 20px; font-size: 14px; }
  .nav-contact { border: 0; padding: 0; }
  .nav-contact:hover { background: none; color: var(--lux); }
  .hero-copy { padding: 48px 0 300px; }
  .hero h1 { font-size: 58px; line-height: .95; margin: 22px 0 24px; }
  .intro { font-size: 18px; }
  .hero-art { height: 420px; }
  .beta-card .wrap { padding-top: 40px; padding-bottom: 40px; }
  .band::before, .band::after { left: 22px; right: 22px; }
  .band .wrap { flex-direction: column; gap: 14px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 36px; }
  .steps, .plan-grid { grid-template-columns: 1fr; gap: 26px; }
  .step h3 { font-size: 31px; margin-top: 18px; }
  .plan-grid { gap: 30px; }
  .price { font-size: 52px; }
  summary { font-size: 24px; }
  .contact { padding: 72px 0; }
  .inscription { font-size: 96px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 18px; }
  .footer-meta { flex-direction: column; }
  .legal { padding-top: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-art { animation: dawn 1.6s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dawn { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
