:root {
  color-scheme: dark;
  --bg: #0b0d0c;
  --surface: #121513;
  --surface-2: #191d1a;
  --line: #2b312d;
  --text: #f1f4ed;
  --muted: #9ca69d;
  --green: #a6ee63;
  --green-dark: #17310f;
  --danger: #ff8b78;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.5; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.shell, .site-header, footer, .account-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header { min-height: 78px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--green); color: #10150d; font-weight: 900; }
nav { display: flex; align-items: center; gap: 28px; }
nav > a:not(.button) { color: var(--muted); text-decoration: none; font-size: 14px; }
nav > a:hover { color: var(--text); }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--text); text-decoration: none; cursor: pointer; font-weight: 650; }
.button:hover { border-color: #4b564e; transform: translateY(-1px); }
.button.primary { background: var(--green); border-color: var(--green); color: #10150d; }
.button.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.button.full { width: 100%; }
.button:disabled, button:disabled { opacity: .5; cursor: wait; transform: none; }

.hero { min-height: 650px; padding: 112px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; right: -80px; top: 80px; border: 1px solid #253022; border-radius: 50%; box-shadow: 0 0 0 70px #111510, 0 0 0 71px #20271e, 0 0 0 140px #0e110e; z-index: -1; }
.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 750; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 860px; margin: 18px 0 24px; font-size: clamp(64px, 9vw, 124px); line-height: .87; letter-spacing: -.07em; }
h1 span, h2 span { color: var(--green); }
h2 { margin: 15px 0 20px; font-size: clamp(36px, 5vw, 64px); line-height: .98; letter-spacing: -.045em; }
h3 { margin-bottom: 6px; font-size: 18px; }
.hero-copy { max-width: 610px; color: #c2cac2; font-size: 19px; }
.actions { display: flex; gap: 12px; margin-top: 32px; }
.fine-print { color: var(--muted); font-size: 13px; margin-top: 14px; }
.centered { text-align: center; }

.signal-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.signal-strip > div { min-height: 150px; padding: 32px max(24px, calc((100vw - var(--max)) / 2 / 3)); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.signal-strip > div:last-child { border: 0; }
.signal-strip strong { color: var(--green); font-size: 30px; letter-spacing: -.04em; }
.signal-strip span { color: var(--muted); max-width: 240px; }

.split-section { padding-block: 110px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.feature-list article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.feature-list article > span { color: var(--green); font-family: Consolas, monospace; font-size: 13px; }
.feature-list p, .section-copy, .status-card p { color: var(--muted); }

.pricing-section { padding-block: 100px; background: #0e110f; border-block: 1px solid var(--line); }
.section-copy { max-width: 650px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 42px; }
.price-grid article { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; position: relative; }
.price-grid article.featured { border-color: var(--green); background: linear-gradient(150deg, var(--green-dark), var(--surface) 62%); }
.tag { position: absolute; right: 12px; top: 12px; color: #10150d; background: var(--green); border-radius: 20px; padding: 4px 8px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.duration { color: var(--muted); }
.price { margin-top: 14px; font-size: 42px; font-weight: 750; letter-spacing: -.05em; }
.text-link { margin-top: auto; color: var(--green); text-decoration: none; font-weight: 650; }
.final-cta { padding-block: 100px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.final-cta h2 { max-width: 720px; margin-bottom: 0; }
footer { min-height: 90px; border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a, .legal-shell a, .fine-print a { color: var(--green); }

.legal-shell { max-width: 820px; padding-block: 70px 110px; }
.legal-shell h1 { margin-bottom: 42px; font-size: clamp(52px, 8vw, 86px); }
.legal-shell h2 { margin: 44px 0 14px; font-size: 28px; letter-spacing: -.025em; }
.legal-shell h3 { margin-top: 26px; }
.legal-shell p, .legal-shell li { color: #c2cac2; }
.legal-shell ul { padding-left: 22px; }
.legal-meta { color: var(--muted); font-size: 13px; }
.contact-card { margin-top: 32px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact-card address { color: #c2cac2; font-style: normal; }

.account-shell { max-width: 980px; padding-block: 70px 100px; }
.account-heading { margin-bottom: 38px; }
.account-heading h1 { font-size: clamp(52px, 8vw, 88px); max-width: 800px; }
.account-heading p { color: var(--muted); font-size: 18px; }
.panel { padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.auth-panel { max-width: 480px; }
.tab-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: -8px -8px 22px; padding: 5px; border-radius: 9px; background: var(--bg); }
.tab { padding: 10px 7px; background: transparent; border: 0; border-radius: 7px; color: var(--muted); cursor: pointer; }
.tab.active { background: var(--surface-2); color: var(--text); }
label { display: grid; gap: 6px; margin-bottom: 15px; color: var(--muted); font-size: 13px; }
input { min-height: 46px; padding: 0 13px; color: var(--text); background: #0d100e; border: 1px solid var(--line); border-radius: 8px; outline: none; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(166, 238, 99, .1); }
.notice { margin-bottom: 18px; padding: 13px 16px; border: 1px solid #496632; background: #14210e; border-radius: 8px; color: #d7f5bc; }
.notice.error { border-color: #69362f; background: #241310; color: #ffc2b7; }
.dashboard-top { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.account-email { font-size: 22px; font-weight: 650; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dashboard-grid .wide { grid-column: 1 / -1; }
.card-label { color: var(--green); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 750; }
.status-title { margin-top: 13px; font-size: 30px; font-weight: 720; letter-spacing: -.035em; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--green); cursor: pointer; }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.panel-heading h2 { margin: 8px 0 18px; font-size: 26px; }
.panel-heading span { color: var(--muted); font-size: 13px; }
.inline-form { display: flex; gap: 8px; margin-top: 14px; }
.inline-form input { flex: 1; min-width: 0; }
.copies-list, .purchase-list { display: grid; gap: 8px; }
.copy-row, .purchase-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.copy-row small, .purchase-row small, .empty { display: block; color: var(--muted); }
.copy-row button { border: 0; background: transparent; color: var(--danger); cursor: pointer; }
.package-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.package-row button { padding: 16px; text-align: left; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); cursor: pointer; }
.package-row button:hover { border-color: var(--green); }
.package-row span { display: block; margin-top: 5px; color: var(--green); font-size: 20px; }

@media (max-width: 760px) {
  .site-header { min-height: 68px; }
  nav { gap: 12px; }
  nav > a:not(.button) { display: none; }
  .hero { min-height: 560px; padding-top: 85px; }
  .hero::after { opacity: .45; right: -300px; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip > div { min-height: 110px; padding: 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .split-section { grid-template-columns: 1fr; gap: 30px; padding-block: 75px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta { align-items: start; flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-grid .wide { grid-column: auto; }
  .package-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .shell, .site-header, footer, .account-shell { width: min(calc(100% - 24px), var(--max)); }
  h1 { font-size: 54px; }
  .actions, .inline-form { flex-direction: column; }
  .price-grid, .package-row { grid-template-columns: 1fr; }
  .dashboard-top, footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; }
  .tab-row { grid-template-columns: 1fr; }
}
