:root {
    --brand: #7266e8;
    --brand-2: #b15fd8;
    --gradient: linear-gradient(95deg, #7266e8, #b566d4);
    --hero-gradient:
        radial-gradient(1100px 480px at 88% -10%, rgba(196, 109, 222, 0.5), transparent 60%),
        linear-gradient(135deg, #5d4fe0 0%, #7c5ce6 48%, #a85fd8 100%);
    --ink: #211c3a;
    --muted: #5b5b6b;
    --soft: #f6f6fb;
    --border: #ececf4;
    --footer: #191430;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(20, 20, 60, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.92rem; border-radius: 999px;
    padding: 0.6rem 1.2rem; cursor: pointer; border: none; transition: filter .15s ease, background .15s ease, transform .15s ease;
    white-space: nowrap;
}
.btn--lg { padding: 0.85rem 1.7rem; font-size: 1rem; }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 20px rgba(114, 102, 232, 0.35); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--brand); }
.btn--outline { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.btn--outline:hover { background: rgba(255,255,255,0.2); }
.btn--white { background: #fff; color: var(--brand); box-shadow: var(--shadow); }
.btn--white:hover { transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: 1.5rem;
    padding: 0.9rem clamp(1rem, 4vw, 3rem);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.nav__logo { width: 32px; height: 32px; border-radius: 9px; background: url('gs.png') center / cover no-repeat; box-shadow: 0 5px 12px rgba(114,102,232,0.3); }
.nav__brand-tag { color: var(--brand); font-weight: 700; }
.nav__links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.nav__links a:hover { color: var(--brand); }
.nav__cta { display: flex; align-items: center; gap: 0.6rem; }
@media (max-width: 820px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }
@media (max-width: 520px) { .nav__cta .btn--ghost { display: none; } }

/* ---------- Hero ---------- */
.hero {
    background: var(--hero-gradient);
    color: #fff;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
    padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .hero__art { display: none; } }
.pill { display: inline-block; background: rgba(255,255,255,0.16); padding: 0.35rem 0.85rem; border-radius: 999px; font-size: 0.82rem; font-weight: 700; margin-bottom: 1.1rem; }
.hero__title { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1rem; }
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: rgba(255,255,255,0.92); max-width: 36ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.hero__note { margin-top: 1.1rem; font-size: 0.85rem; color: rgba(255,255,255,0.8); }

.hero__card { background: #fff; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,0.25); overflow: hidden; transform: rotate(2deg); max-width: 360px; margin-left: auto; }
.hero__card-cover { height: 110px; background: var(--gradient); }
.hero__card-body { padding: 1.1rem 1.2rem 1.4rem; }
.hero__card-line { height: 12px; border-radius: 6px; background: #ececf4; margin-bottom: 0.6rem; }
.hero__card-line--lg { height: 18px; width: 65%; background: #d9d6f5; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.hero__chips span { font-size: 0.8rem; font-weight: 700; color: var(--brand); background: #f0edff; border-radius: 8px; padding: 0.35rem 0.6rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem); max-width: 1140px; margin: 0 auto; }
.section--soft { background: var(--soft); max-width: none; }
.section--soft > * { max-width: 1140px; margin-left: auto; margin-right: auto; }
.section__title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.section__sub { text-align: center; color: var(--muted); margin-top: 0.4rem; margin-bottom: 2.2rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: 0 2px 12px rgba(20,20,60,0.05); transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { font-size: 1.8rem; }
.feature h3 { margin: 0.8rem 0 0.4rem; font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: 0.94rem; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 800; }
.step h3 { margin: 0.9rem 0 0.4rem; font-size: 1.12rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--hero-gradient); color: #fff; text-align: center; padding: clamp(3rem, 6vw, 5rem) 1.5rem; }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0.5rem 0 1.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: rgba(255,255,255,0.72); }
.footer__inner { max-width: 1140px; margin: 0 auto; padding: 3rem clamp(1.25rem, 5vw, 4rem) 2rem; display: grid; grid-template-columns: 1.3fr 2fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer__brand { display: flex; align-items: center; gap: 0.55rem; color: #fff; font-weight: 800; font-size: 1.2rem; }
.footer__logo { width: 30px; height: 30px; border-radius: 9px; background: url('gs.png') center / cover no-repeat; }
.footer__tagline { margin-top: 0.9rem; font-size: 0.9rem; max-width: 34ch; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 560px) { .footer__cols { grid-template-columns: repeat(2, 1fr); } }
.footer__col h4 { color: #fff; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; }
.footer__col a { display: block; color: rgba(255,255,255,0.68); font-size: 0.9rem; padding: 0.3rem 0; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); max-width: 1140px; margin: 0 auto; padding: 1.2rem clamp(1.25rem, 5vw, 4rem); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ---------- Legal / policy pages ---------- */
.legal-hero {
    background: var(--hero-gradient); color: #fff;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
}
.legal-hero__inner { max-width: 820px; margin: 0 auto; }
.legal-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.legal-hero p { color: rgba(255,255,255,0.9); margin-top: 0.6rem; font-size: 1rem; }
.legal-hero__updated { display: inline-block; margin-top: 1rem; font-size: 0.8rem; background: rgba(255,255,255,0.18); padding: 0.3rem 0.8rem; border-radius: 999px; }
.legal { max-width: 820px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 2rem) 4rem; }
.legal__note {
    background: var(--soft); border: 1px solid var(--border); border-left: 4px solid var(--brand);
    border-radius: 12px; padding: 1rem 1.2rem; color: var(--ink); font-size: 0.95rem; margin-bottom: 2rem;
}
.legal h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin: 2rem 0 0.7rem; color: var(--ink); }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.legal p { margin-bottom: 0.8rem; }
.legal ul { margin: 0 0 1rem 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand); font-weight: 600; }
