/* =====================================================================

   ===================================================================== */
:root {
    --purple:       #48007e;   /* header / hero / footer base          */
    --purple-deep:  #37005f;   /* page background on inner pages        */
    --purple-2:     #5a139a;   /* raised surfaces                       */
    --violet:       #460d7c;   /* dark CTA + subtitle accent            */
    --pink:         #ff0089;   /* steps section                         */
    --pink-2:       #dd167f;   /* example / highlight                   */
    --pink-bright:  #ff2d9e;   /* register button                       */
    --red:          #f00a47;   /* contact button                        */
    --red-dark:     #b40835;
    --ink:          #ffffff;
    --ink-soft:     rgba(255, 255, 255, .82);
    --ink-mut:      rgba(255, 255, 255, .62);
    --line:         rgba(255, 255, 255, .16);
    --radius:       18px;
    --radius-pill:  48px;
    --font:         'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --container:    1200px;
    --gutter:       20px;
    --topbar-h:     76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--purple);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--pink-bright); outline-offset: 2px; border-radius: 6px; }

.page { position: relative; display: flex; flex-direction: column; min-height: 100vh; }
.main { flex: 1 0 auto; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.reveal { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-family: var(--font); font-weight: 800; font-size: 16px; line-height: 1;
    padding: 14px 32px; border: 2px solid transparent; border-radius: var(--radius-pill);
    cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .12s;
    text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--register { background: var(--pink-bright); color: #fff; }
.btn--register:hover { background: #ff54b2; }

.btn--login { background: transparent; color: #fff; border-color: #fff; }
.btn--login:hover { background: #fff; color: var(--purple); }

.btn--hero { background: var(--violet); color: #fff; font-size: 18px; padding: 16px 44px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
.btn--hero:hover { background: #fff; color: var(--violet); }

/* =====================================================================
   TOPBAR
   ===================================================================== */
.topbar {
    position: sticky; top: 0; z-index: 50;
    min-height: var(--topbar-h);
    background: var(--purple);
    display: flex; align-items: center;
    transition: box-shadow .2s;
}
.topbar.is-stuck { box-shadow: 0 8px 26px -12px rgba(0,0,0,.7); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--topbar-h); }
.topbar__cta { display: flex; align-items: center; gap: 10px; }
.topbar__cta .btn { padding: 11px 22px; font-size: 14px; }

/* logo (image if the client drops one, otherwise a built wordmark) */
.logo { display: inline-flex; align-items: center; }
.logo img { max-height: 40px; width: auto; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; color: var(--pink-bright); }
.brand-emblem { width: 34px; height: 34px; }
.brand-name { font-weight: 900; font-size: 22px; letter-spacing: -.01em; color: #fff; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; background: var(--purple); overflow: hidden; }
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
    background-color: var(--purple);
    background-image: url(/assets/images/hero/hero-desktop.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero__inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: clamp(48px, 9vw, 120px) 0 clamp(60px, 10vw, 150px);
    gap: 18px;
}
.hero__title {
    font-weight: 900; text-transform: uppercase; color: #fff;
    font-size: clamp(38px, 8vw, 80px); line-height: .98; letter-spacing: -.01em;
    text-shadow: 0 6px 30px rgba(0,0,0,.35);
    max-width: 14ch;
}
.hero__sub {
    font-weight: 800; text-transform: uppercase;
    font-size: clamp(18px, 3.2vw, 28px); color: var(--violet);
    letter-spacing: .01em;
}
.btn--hero.q11 { margin-top: 6px; }
.hero__terms {
    position: relative; z-index: 1;
    background: rgba(0,0,0,.4); color: #fff;
    text-align: center; font-size: 12px; font-weight: 600;
    padding: 12px 16px; margin: 0; letter-spacing: .02em;
}
.hero__age { font-weight: 900; }

/* =====================================================================
   STEPS
   ===================================================================== */
.steps { background: var(--pink); color: #fff; }
.steps__grid {
    display: flex; align-items: flex-start; justify-content: center;
    flex-wrap: wrap; gap: 8px 4px;
    padding: clamp(28px, 5vw, 46px) var(--gutter);
}
.step { flex: 0 1 240px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step__head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 6px; }
.step__num { font-size: 40px; font-weight: 900; line-height: 1; color: #fff; }
.step__icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--violet); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 22px -10px rgba(0,0,0,.5);
}
.step__icon svg, .step__icon img { width: 28px; height: 28px; }
.step__title { font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.step__text { font-size: 14px; font-weight: 600; color: var(--ink-soft); max-width: 24ch; }
.step__sep { flex: 0 0 auto; display: flex; gap: 10px; align-self: center; padding: 0 6px; margin-top: 22px; }
.step__sep span { width: 10px; height: 10px; border-radius: 50%; background: var(--violet); display: block; }

/* =====================================================================
   EXAMPLE
   ===================================================================== */
.example { background: var(--pink-2); color: #fff; }
.example .container { padding-top: clamp(26px, 4vw, 40px); padding-bottom: clamp(26px, 4vw, 40px); max-width: 1000px; }
.example__title { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.example p { font-size: 14px; line-height: 1.7; margin-bottom: 12px; color: #fff; }
.example p:last-child { margin-bottom: 0; }

/* =====================================================================
   TERMS ACCORDION
   ===================================================================== */
.terms-acc { background: var(--purple); }
.terms-acc .container { padding-top: 10px; padding-bottom: 36px; }
.terms-acc__item { border-bottom: 2px solid var(--pink); }
.terms-acc__item > summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 4px; font-size: clamp(16px, 2.4vw, 20px); font-weight: 800; color: #fff;
}
.terms-acc__item > summary::-webkit-details-marker { display: none; }
.terms-acc__sign { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.terms-acc__sign::before, .terms-acc__sign::after {
    content: ""; position: absolute; background: #fff; border-radius: 2px;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.terms-acc__sign::before { width: 18px; height: 2.5px; }
.terms-acc__sign::after { width: 2.5px; height: 18px; transition: opacity .2s; }
.terms-acc__item[open] .terms-acc__sign::after { opacity: 0; }
.terms-acc__body { padding: 4px 4px 24px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.7; }
.terms-acc__body p { margin-bottom: 12px; }
.terms-acc__body ol { counter-reset: t; padding-left: 0; margin: 0 0 16px; }
.terms-acc__body ol li { counter-increment: t; position: relative; padding-left: 28px; margin-bottom: 8px; }
.terms-acc__body ol li::before { content: counter(t) "."; position: absolute; left: 0; font-weight: 800; color: #fff; }
.terms-acc__body a { color: var(--pink-bright); text-decoration: underline; }
.terms-acc__note { background: var(--pink-2); color: #fff; padding: 16px 18px; border-radius: 12px; }
.terms-acc__legal { font-size: 12.5px; color: var(--ink-mut); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--purple); border-top: 2px solid var(--pink); color: var(--ink-soft); }
.site-footer .container { padding-top: 34px; padding-bottom: 34px; }
.site-footer__cols {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 20px;
    padding-bottom: 28px;
}
.fcol__title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.fcol__title--sub { margin-top: 18px; }
.fcol__text { font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.fcol__menu li { margin-bottom: 9px; }
.fcol__menu a { font-size: 13px; color: var(--ink-soft); transition: color .15s; }
.fcol__menu a:hover { color: #fff; }
.fcol__contact {
    display: inline-flex; background: var(--red); color: #fff; font-weight: 800; font-size: 11px;
    padding: 9px 16px; border-radius: 10px; text-transform: uppercase; letter-spacing: .03em;
    transition: background-color .15s;
}
.fcol__contact:hover { background: var(--red-dark); }
.fcol__social { display: flex; gap: 10px; }
.fcol__social a {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
    display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: background-color .15s;
}
.fcol__social a:hover { background: var(--pink); }
.fcol__social svg { width: 20px; height: 20px; }
.fcol__mail { font-size: 13px; color: var(--pink-bright); word-break: break-all; }

.pay { border-top: 1px solid var(--line); padding-top: 22px; }
.pay__title { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.pay__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pay__badge {
    background: #fff; color: #1a1030; font-weight: 800; font-size: 12px;
    padding: 8px 14px; border-radius: 8px; letter-spacing: .01em;
}
.rg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 22px 0 0; }
.rg__18 {
    background: #fff; color: var(--purple); font-weight: 900; font-size: 13px;
    width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
}
.rg__badge {
    border: 1.5px solid var(--line); color: var(--ink-soft); font-size: 11px; font-weight: 700;
    padding: 8px 12px; border-radius: 8px; text-transform: uppercase; letter-spacing: .03em;
}
.site-footer__legal { font-size: 12px; line-height: 1.7; color: var(--ink-mut); margin-top: 22px; }
.site-footer__legal a { color: var(--pink-bright); text-decoration: underline; }
.site-footer__copy { font-size: 12px; color: var(--ink-mut); margin-top: 16px; }

/* ---------- sticky CTA ---------- */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--purple); border-top: 1px solid var(--line);
    display: flex; justify-content: center; padding: 12px var(--gutter);
    box-shadow: 0 -10px 30px -16px rgba(0,0,0,.7);
    transform: translateY(115%); transition: transform .3s ease; will-change: transform;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; max-width: 420px; }
.sticky-cta .btn--hero { background: var(--red); }
.sticky-cta .btn--hero:hover { background: var(--red-dark); color: #fff; }

/* ---------- back to top ---------- */
.to-top {
    position: fixed; right: 18px; bottom: 86px; z-index: 55;
    width: 46px; height: 46px; border-radius: 50%; background: var(--violet); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s;
    box-shadow: 0 12px 26px -12px rgba(0,0,0,.7);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* =====================================================================
   INNER PAGES (terms / privacy / blog) — readable card on deep purple
   ===================================================================== */
body.page-inner { background: var(--purple-deep); }
.crumbs-wrap { padding-top: 20px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--ink-mut); }
.breadcrumbs li::after { content: "/"; margin-left: 6px; color: var(--ink-mut); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--pink-bright); }

.legal, .blog { padding: 24px 0 60px; }
.legal .container, .blog .container { max-width: 900px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--pink-bright); margin-bottom: 10px; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-bright); }
.legal__title, .blog__title { font-size: clamp(28px, 5vw, 44px); font-weight: 900; color: #fff; line-height: 1.1; }
.legal__date { font-size: 13px; color: var(--ink-mut); margin-top: 8px; }

.legal__body, .prose {
    background: #fff; color: #22203a; border-radius: var(--radius);
    padding: clamp(22px, 4vw, 40px); margin-top: 22px; line-height: 1.75; font-size: 15px;
}
.legal__body h2, .prose h2 { font-size: 20px; font-weight: 800; color: #1a0f3a; margin: 26px 0 10px; }
.legal__body h3, .prose h3 { font-size: 17px; font-weight: 800; color: #1a0f3a; margin: 20px 0 8px; }
.legal__body p, .prose p { margin-bottom: 14px; }
.legal__body ul, .legal__body ol, .prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; list-style: revert; }
.legal__body li, .prose li { margin-bottom: 8px; }
.legal__body a, .prose a { color: #c01478; text-decoration: underline; }
.legal__body strong, .prose strong { color: #1a0f3a; }

/* =====================================================================
   BLOG
   ===================================================================== */
.blog__intro { color: var(--ink-soft); font-size: 16px; margin-top: 12px; max-width: 60ch; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.post-card {
    background: var(--purple-2); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--pink); }
.post-card__media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e30b86, #6a0f7f); display: flex; align-items: center; justify-content: center; color: #fff; }
.post-card__media svg { width: 54px; height: 54px; opacity: .9; }
.post-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__tag { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--pink-bright); }
.post-card__title { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.25; }
.post-card__excerpt { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.post-card__more { font-size: 13px; font-weight: 800; color: var(--pink-bright); }
.post-meta { font-size: 13px; color: var(--ink-mut); margin-top: 6px; }
.post-back { display: inline-flex; margin-top: 24px; font-weight: 800; color: var(--pink-bright); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
    .site-footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .step__sep { display: none; }
    .steps__grid { gap: 26px 10px; }
    .step { flex-basis: 45%; }
    .hero__bg { background-image: url(/assets/images/hero/hero-mobile.jpg); }
}
@media (max-width: 620px) {
    .topbar__cta .btn { padding: 9px 14px; font-size: 12px; }
    .brand-name { font-size: 18px; }
    .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
    .step { flex-basis: 100%; }
}
@media (max-width: 420px) {
    .site-footer__cols { grid-template-columns: 1fr; }
}

/* extra bottom room so the sticky CTA never covers content */
body { padding-bottom: 72px; }
