:root {
  --bg: #f7f6f2;
  --card: #ffffff;
  --ink: #12132b;
  --muted: #5a5d78;
  --line: #e2e0d7;
  --brand: #4a3df0;
  --brand-dark: #3a2fd0;
  --brand-soft: #ecebff;
  --lime: #d4f53c;
  --night: #12132b;
  --ok: #12805c;
  --warn: #a15c00;
  --bad: #b3261e;
  --radius: 16px;
  --font-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247, 246, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.logo span { display: flex; flex-direction: column; gap: 3px; }
.logo small { font-family: var(--font-body); font-weight: 500; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { background: #ebe9e1; }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }
.nav .btn { margin-left: 8px; }
.soon { font-style: normal; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--lime); color: var(--ink); padding: 2px 6px; border-radius: 6px; margin-left: 4px; vertical-align: 1px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font: 600 .9rem var(--font-body); color: var(--ink); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, color .15s, border-color .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #c3e62a; color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; width: 100%; }

/* ---------- Hero & page head ---------- */
.eyebrow { font: 500 .8rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.mark { background: linear-gradient(transparent 62%, var(--lime) 62% 92%, transparent 92%); padding: 0 .08em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.cta-row.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--muted); }
.trust li::before { content: "\2713"; color: var(--ok); font-weight: 700; margin-right: 6px; }
.orbit-art svg { width: 100%; height: auto; max-width: 420px; display: block; margin-inline: auto; }
.o { transform-origin: 200px 200px; animation: spin 28s linear infinite; }
.o2 { animation-duration: 40s; animation-direction: reverse; }
.o3 { animation-duration: 20s; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.tight { padding: 28px 0 56px; }
.section.alt { background: #efede5; }
.section-head { max-width: 640px; margin-bottom: 32px; }
.section-head p { color: var(--muted); }
.section .section-head h2 { margin-bottom: .3em; }
.pill { display: inline-block; background: var(--lime); color: var(--ink); font: 700 .75rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.fine { font-size: .88rem; color: var(--muted); }
.notice { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 14px 18px; border-radius: 10px; margin: 0 0 28px; }

/* ---------- Plans ---------- */
.periods { display: inline-flex; gap: 4px; background: #e9e7de; padding: 4px; border-radius: 999px; margin-bottom: 28px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer; display: inline-flex; flex-direction: column; align-items: center; line-height: 1.2; }
.tab small { font-size: .68rem; font-weight: 600; color: var(--ok); }
.tab.on { background: var(--ink); color: #fff; }
.tab.on small { color: var(--lime); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.plan.popular { border-color: var(--brand); box-shadow: 0 14px 40px -18px rgba(74, 61, 240, .55); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font: 700 .72rem var(--font-body); letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tagline { color: var(--muted); font-size: .94rem; min-height: 3em; }
.price { margin: 6px 0 2px; font-family: var(--font-head); }
.amt { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; }
.per { color: var(--muted); font: 500 .95rem var(--font-body); }
.bill { font-size: .86rem; color: var(--muted); padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.ticks { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.ticks li { padding: 5px 0 5px 28px; position: relative; font-size: .96rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%234a3df0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.ticks.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.plan .btn { width: 100%; }

/* ---------- Cards, bands, FAQ ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
address { font-style: normal; }
.soon-band { background: var(--night); color: #fff; border-radius: 24px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.soon-band > div { max-width: 640px; }
.soon-band h2 { color: #fff; }
.soon-band p { color: #c9cbe3; margin-bottom: 0; }
details { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 6px 0 14px 54px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font: 700 1rem var(--font-head); }

/* ---------- Prose / legal ---------- */
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose p, .prose li { color: #2a2c47; }
.legal ol { padding-left: 1.4em; }
.legal ol > li { margin-bottom: 1.6em; padding-left: .3em; }
.legal ol > li::marker { font-weight: 700; color: var(--brand); }
.legal ol > li > h2 { margin-top: 0; font-size: 1.15rem; display: inline; }
.legal ol > li > h2 + p, .legal ol > li > h2 + ul { margin-top: .5em; display: block; }
.legal ol > li > h2 { display: block; margin-bottom: .3em; }

/* ---------- Forms ---------- */
.form fieldset { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 22px; margin: 0 0 20px; min-width: 0; }
.form legend { font: 700 1rem var(--font-head); padding: 0 8px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.form label:last-child { margin-bottom: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], select { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: 400 1rem var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid #cfccc0; border-radius: 10px; }
input:focus, select:focus { border-color: var(--brand); outline: 3px solid rgba(74, 61, 240, .2); }
input.bad { border-color: var(--bad); }
.hint { font-size: .86rem; color: var(--muted); margin: 12px 0 0; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; margin-bottom: 20px !important; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.form-error { background: #fdecea; color: var(--bad); border: 1px solid #f3b8b3; padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.summary { position: sticky; top: 92px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; }
.summary h2 { font-size: 1.2rem; }
dl { margin: 0; }
dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 600; text-align: right; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; }
.total strong { font: 800 1.7rem var(--font-head); }
.result { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.status-badge { display: inline-block; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: #eee; }
.status-badge.paid { background: #dff5ea; color: var(--ok); }
.status-badge.pending { background: #fff1d6; color: var(--warn); }
.status-badge.failed, .status-badge.expired { background: #fdecea; color: var(--bad); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #fff; padding: 56px 0 24px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-brand { font: 800 1.3rem var(--font-head); margin-bottom: 8px; }
.foot-title { font: 500 .78rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.site-footer address { color: #dcdef2; font-size: .95rem; }
.muted-on-dark { color: #b6b9d6; }
.small { font-size: .88rem; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2c2e4d; color: #b6b9d6; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orbit-art { order: -1; max-width: 260px; margin-inline: auto; }
  .plans, .cards3 { grid-template-columns: 1fr; }
  .tagline { min-height: 0; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .hero { padding: 40px 0 36px; }
  .row2, .ticks.two, .foot-grid { grid-template-columns: 1fr; }
  .soon-band { padding: 28px; }
  .periods { display: flex; width: 100%; }
  .tab { flex: 1; padding: 9px 6px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .o { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.plans + .fine { margin-top: 18px; }
