/* ==========================================================================
   Goalspin — design system (lime on black). Type: Onest.
   Sections: 1 tokens · 2 base · 3 header · 4 buttons · 5 hero · 6 components
             7 tables · 8 faq · 9 cta · 10 seo-content · 11 footer · 12 mobile bar
   ========================================================================== */

/* 1. Tokens */
:root {
  --bg: #0a0c08;
  --bg-2: #10130d;
  --surface: #151a10;
  --surface-2: #1c2314;
  --line: #2b3520;
  --text: #f3f7ea;
  --text-2: #bcc6ab;
  --muted: #8b957a;
  --lime: #b6f23a;
  --lime-2: #d4ff6b;
  --lime-deep: #7fc11a;
  --ink: #0a0c08;
  --warn: #ffb547;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-lime: 0 10px 26px -10px rgba(182, 242, 58, .6);
  --container: 1120px;
  --header-h: 68px;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.62;
  color: var(--text); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .55em; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.05rem, 1.3rem + 3.2vw, 3.4rem); letter-spacing: -.04em; text-wrap: pretty; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 66ch; }
a { color: var(--lime); text-underline-offset: .22em; }
a:hover { color: var(--lime-2); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--lime); color: var(--ink); padding: .7rem 1.1rem; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; color: var(--ink); }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 6vw, 5.25rem); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(1.75rem, 3.5vw, 3rem); }
.section__head { max-width: 44rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section__head p { margin: 0; color: var(--text-2); font-size: 1.1rem; }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }
.mt { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* 3. Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 12, 8, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo img { width: 34px; height: 34px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link { position: relative; display: block; padding: .6rem .9rem; font-weight: 600; font-size: .97rem; color: var(--text-2); text-decoration: none; }
.nav__link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: none; }
.header-actions { display: flex; gap: .5rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 1.5px solid var(--line); border-radius: 50%; color: #fff; cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico--close { display: none; }
.nav-toggle[aria-expanded="true"] .ico--open { display: none; }
.nav-toggle[aria-expanded="true"] .ico--close { display: block; }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; margin: 0; height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 1rem 1.25rem 2rem; background: var(--bg); border-top: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 1.05rem .25rem; font-size: 1.25rem; font-weight: 700; color: #fff; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--lime); }
  .nav__actions { display: grid; gap: .75rem; margin-top: 1.5rem; }
}
html.menu-open { overflow: hidden; }

/* 4. Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.5rem; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; border-radius: 999px; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--primary { background: linear-gradient(180deg, var(--lime-2), var(--lime)); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), var(--shadow-lime); }
.btn--primary:hover { background: linear-gradient(180deg, #e6ff9a, #c5ff4d); color: var(--ink); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--text); border-color: rgba(182, 242, 58, .55); }
.btn--outline:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn--quiet { background: transparent; color: var(--text); }
.btn--quiet:hover { color: var(--lime); }
.btn--dark { background: var(--ink); color: var(--lime); }
.btn--dark:hover { background: #000; color: var(--lime-2); }
.btn--line-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line-dark:hover { background: var(--ink); color: var(--lime); }
.btn--lg { min-height: 56px; padding: .9rem 1.9rem; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 5. Hero */
.hero { padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(2.75rem, 6vw, 5rem); background: radial-gradient(60% 90% at 88% 8%, rgba(182, 242, 58, .22), transparent 62%), radial-gradient(40% 50% at 4% 100%, rgba(127, 193, 26, .12), transparent 60%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__lead { max-width: 34em; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--text-2); }
.hero .btn-row { margin: 1.6rem 0 1.5rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 0; padding: 0; list-style: none; font-weight: 600; font-size: .95rem; color: var(--text); }
.hero__points li { display: flex; align-items: center; gap: .5rem; }
.hero__points .ico { color: var(--lime); stroke-width: 2.6; }
.hero__media img { width: 100%; border-radius: var(--r-xl); box-shadow: 0 36px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(182, 242, 58, .18); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__media { max-width: 540px; } }
.breadcrumbs { margin-bottom: 1.4rem; font-size: .9rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); font-weight: 700; }
.breadcrumbs a { color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--lime); text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

/* 6. Components */
.card { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: rgba(182, 242, 58, .6); transform: translateY(-3px); }
.card__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: .35rem; border-radius: 50%; background: linear-gradient(180deg, var(--lime-2), var(--lime)); color: var(--ink); }
.card__icon .ico { width: 24px; height: 24px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--text-2); font-size: .99rem; }
.card__tag { margin-top: auto; padding-top: .6rem; font-size: .82rem; color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.25rem; }
.steps li { position: relative; counter-increment: step; padding-left: 3.6rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; }
.steps h3, .steps h4 { margin: .3rem 0 .25rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--text-2); }

.panel { padding: clamp(1.3rem, 3vw, 1.9rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel h3 { display: flex; align-items: center; gap: .6rem; }
.panel h3 .ico { color: var(--lime); width: 1.4em; height: 1.4em; }
.panel--warn { border-color: var(--warn); border-left-width: 6px; }
.panel--warn h3 .ico, .ticks--warn .ico { color: var(--warn); }
.panel > :last-child { margin-bottom: 0; }
.panel h3 + .ticks { margin-top: 1.1rem; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); }
.ticks .ico { margin-top: .22rem; width: 1.15em; height: 1.15em; color: var(--lime); stroke-width: 2.6; }
.callout { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.35rem; background: var(--surface); border-left: 5px solid var(--lime); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--text-2); }
.callout .ico { color: var(--lime); width: 1.6rem; height: 1.6rem; }
.callout p { margin: 0; max-width: none; }
.callout strong { color: #fff; }
.urlbar { display: flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem; background: var(--surface); border: 1.5px solid var(--lime); border-radius: 999px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: clamp(.85rem, .6rem + 1vw, 1.1rem); overflow-x: auto; white-space: nowrap; }
.urlbar .ico { color: var(--lime); }
.urlbar b { color: var(--ink); background: var(--lime); padding: .05rem .45rem; border-radius: 6px; }
.urlbar span { color: var(--muted); }

.promo { display: grid; gap: .9rem; padding: clamp(1.4rem, 3vw, 2rem); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 2px dashed var(--lime); border-radius: var(--r-lg); }
.promo__label { margin: 0; font-size: .9rem; font-weight: 700; color: var(--lime); }
.promo__code { padding: 1rem 1.25rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: clamp(1.1rem, .9rem + 1vw, 1.6rem); font-weight: 700; letter-spacing: .08em; color: #fff; overflow-wrap: anywhere; }
.promo__code.is-empty { font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.promo__hint { margin: 0; font-size: .9rem; color: var(--muted); }

/* 7. Tables */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: .99rem; }
.table th, .table td { padding: 1rem 1.3rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--lime); color: var(--ink); font-weight: 800; font-size: .95rem; border-bottom: 0; }
.table tbody th { width: 24%; font-weight: 700; color: #fff; }
.table tbody td { color: var(--text-2); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:nth-child(even) > * { background: var(--surface-2); }
@media (max-width: 720px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tbody th { width: 100%; padding: 1rem 1.15rem .35rem; font-size: 1.05rem; border: 0; background: transparent !important; }
  .table td { padding: .3rem 1.15rem; border: 0; background: transparent !important; }
  .table td:last-child { padding-bottom: 1rem; }
  .table tr { border-bottom: 1px solid var(--line); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: .1rem; font-size: .8rem; font-weight: 700; color: var(--lime); }
}

/* 8. FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 60px; padding: 1.1rem .25rem; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lime); }
.faq summary .ico { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--surface-2); color: var(--lime); transition: transform .25s ease, background-color .2s ease, color .2s ease; }
.faq details[open] summary .ico { transform: rotate(180deg); background: var(--lime); color: var(--ink); }
.faq__body { padding: 0 .25rem 1.3rem; color: var(--text-2); }
.faq__body p { margin: 0; }

/* 9. CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(1.75rem, 5vw, 3.5rem); color: var(--ink); background: linear-gradient(135deg, var(--lime-2), var(--lime)); border-radius: var(--r-xl); }
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(10, 12, 8, .16); }
.cta-band::before { width: 420px; height: 420px; right: -90px; top: -150px; }
.cta-band::after { width: 700px; height: 700px; right: -220px; top: -300px; }
.cta-band h2 { color: var(--ink); margin-bottom: .4em; }
.cta-band p { margin: 0; color: rgba(10, 12, 8, .82); font-size: 1.1rem; max-width: 40em; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* 10. SEO content block — independent area for pasted, ready-made HTML.
   Replace the contents of <section class="seo-content">; no other code has to change.
   An empty block (comments only) is hidden automatically. */
.seo-content { width: min(100% - 2rem, 920px); margin: clamp(2rem, 4vw, 3.5rem) auto clamp(3rem, 6vw, 5rem); padding: clamp(1.4rem, 4vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); color: var(--text-2); font-size: 1.0625rem; line-height: 1.75; overflow-wrap: break-word; }
.seo-content:empty { display: none; }
.seo-content > :first-child { margin-top: 0; }
.seo-content > :last-child { margin-bottom: 0; }
.seo-content h2, .seo-content h3, .seo-content h4 { color: #fff; text-wrap: balance; }
.seo-content h2 { margin: 2.1em 0 .6em; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.seo-content h3 { margin: 1.8em 0 .5em; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.5rem); }
.seo-content h4 { margin: 1.5em 0 .4em; font-size: 1.1rem; }
.seo-content p { max-width: none; margin: 0 0 1.1em; }
.seo-content ul, .seo-content ol { margin: 0 0 1.35em; padding-left: 1.5em; }
.seo-content li { margin: .4em 0; padding-left: .2em; }
.seo-content li::marker { color: var(--lime); font-weight: 700; }
.seo-content a { color: var(--lime); font-weight: 600; }
.seo-content strong, .seo-content b { color: #fff; font-weight: 700; }
.seo-content img { border-radius: var(--r-md); margin-block: 1.25rem; }
.seo-content blockquote { margin: 1.5em 0; padding: .9rem 1.25rem; background: var(--surface-2); border-left: 5px solid var(--lime); border-radius: 0 var(--r-md) var(--r-md) 0; }
.seo-content blockquote p:last-child { margin-bottom: 0; }
.seo-content table { display: block; width: 100%; max-width: 100%; margin: 0 0 1.6em; overflow-x: auto; border-collapse: collapse; font-size: .98rem; line-height: 1.5; -webkit-overflow-scrolling: touch; }
.seo-content th, .seo-content td { min-width: 9rem; padding: .8rem 1rem; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.seo-content th { background: var(--lime); color: var(--ink); font-weight: 800; border-color: var(--lime); }
.seo-content tbody tr:nth-child(even) td { background: var(--surface-2); }

/* 11. Footer */
.site-footer { background: #060705; border-top: 1px solid var(--line); color: var(--text-2); padding-top: clamp(2.5rem, 5vw, 4rem); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 2.25rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .98rem; max-width: 28rem; }
.footer-col h2 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: 0; color: #fff; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.footer-col a { display: inline-block; padding-block: .15rem; }
.footer-bottom { margin-top: clamp(2rem, 4vw, 3rem); padding-block: 1.6rem 2.2rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer-bottom p { max-width: 62rem; margin-bottom: .8em; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-bottom strong { color: #fff; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; margin-left: .35rem; padding: .05rem .5rem; min-width: 2.4rem; border: 2px solid currentColor; border-radius: 999px; font-size: .8rem; font-weight: 800; vertical-align: middle; color: var(--lime); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* 12. Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.35fr; gap: .6rem; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom, 0px)); background: rgba(10, 12, 8, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .site-footer { padding-bottom: 4.75rem; }
}

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .hero__media { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .hero__media { animation-delay: .14s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }
