/* =====================================================================
   About Us page — dedicated stylesheet
   Base + nav + footer rules mirror the guest-mode landing (partials.head)
   so the reused partials.nav / partials.footer render identically.
   The About-page content styles follow in their own section below.
   ===================================================================== */

/* ---------- Guest-mode base (reset, tokens, typography, buttons) ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #2563EB;
    --blue-d: #1D4ED8;
    --blue-l: #EFF4FF;
    --blue-m: #C7D8FF;
    --green: #10B981;
    --green-d: #059669;
    --green-l: #E7F8F1;
    --green-m: #A7EBD0;
    --emer: #34D399;
    --amber: #D97706;
    --amber-l: #FEF6E7;
    --amber-m: #F3D9A6;
    --violet: #7C3AED;
    --violet-l: #F3ECFF;
    --teal: #0E8F86;
    --teal-l: #E4F5F2;
    --ink: #0B1220;
    --ink-2: #283242;
    --muted: #5B6675;
    --faint: #93A0B2;
    --bg: #FFFFFF;
    --soft: #F4F7FB;
    --soft-2: #EDF2F8;
    --line: #E3E9F1;
    --card: #FFFFFF;
    --d1: #0A1A33;
    --d2: #0C2A47;
    --d3: #0B3A33;
    --red: #DC2626;
    --sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --disp: 'Space Grotesk', var(--sans);
    --r: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --sh-1: 0 1px 2px rgba(11, 18, 32, .05);
    --sh-2: 0 10px 30px -12px rgba(11, 18, 32, .18), 0 2px 6px -3px rgba(11, 18, 32, .08);
    --sh-3: 0 34px 70px -24px rgba(11, 18, 32, .34), 0 10px 26px -12px rgba(11, 18, 32, .14);
    --maxw: 1120px;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--ink-2);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--green-l);
    color: var(--green-d);
}

*:focus-visible {
    outline: 2.5px solid var(--blue);
    outline-offset: 3px;
    border-radius: 8px;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: var(--disp);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -.02em;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--green-d);
    background: var(--green-l);
    border: 1px solid var(--green-m);
    padding: 7px 14px;
    border-radius: 999px;
}

.eyebrow.blue {
    color: var(--blue-d);
    background: var(--blue-l);
    border-color: var(--blue-m);
}

.eyebrow.amber {
    color: var(--amber);
    background: var(--amber-l);
    border-color: var(--amber-m);
}

.eyebrow.dark {
    color: var(--emer);
    background: rgba(52, 211, 153, .12);
    border-color: rgba(52, 211, 153, .3);
}

/* BUTTONS — pill */
.btn {
    font-family: var(--sans);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s cubic-bezier(.2, .7, .3, 1), box-shadow .2s, background .2s, border-color .2s;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn.primary {
    background: linear-gradient(180deg, #13C98C, #0E9E6E);
    color: #06231a;
    box-shadow: 0 14px 30px -12px rgba(16, 185, 129, .8);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -12px rgba(16, 185, 129, .85);
}

.btn.dark {
    background: var(--ink);
    color: #fff;
}

.btn.dark:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-2);
}

.btn.ghost {
    background: var(--card);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--sh-1);
}

.btn.ghost:hover {
    transform: translateY(-2px);
    border-color: var(--blue-m);
    box-shadow: var(--sh-2);
}

.btn.white {
    background: #fff;
    color: var(--d1);
}

.btn.white:hover {
    transform: translateY(-2px);
    box-shadow: var(--sh-3);
}

.btn.outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .32);
}

.btn.outline:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

.btn.primary::after,
.btn.white::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .65s;
}

.btn.primary:hover::after,
.btn.white:hover::after {
    transform: translateX(120%);
}

.btn:active {
    transform: translateY(0);
}

/* ---------- Guest-mode NAV ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: .25s;
}

.nav.scrolled {
    border-color: var(--line);
    box-shadow: 0 6px 22px -16px rgba(11, 18, 32, .5);
    background: rgba(255, 255, 255, .93);
}

.nav-in {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--disp);
    font-weight: 700;
    font-size: 20px;
    color: var(--ink);
    letter-spacing: -.03em;
}

.brand .logo {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

.brand i {
    font-style: normal;
    color: var(--green-d);
}

.brand .mk {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, #13C98C, #059669);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px -4px rgba(16, 185, 129, .8);
}

.brand .mk svg {
    width: 19px;
    height: 19px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    padding: 9px 14px;
    border-radius: 10px;
    transition: .15s;
}

.nav-links a:hover {
    color: var(--ink);
    background: var(--soft);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta .login {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    padding: 9px 8px;
}

.nav-cta .login:hover {
    color: var(--green-d);
}

.nav-cta .btn {
    padding: 11px 22px;
}

.profile-menu {
    position: relative;
}

.profile-trigger {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--card);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--sh-1);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.profile-trigger:hover,
.profile-menu.open .profile-trigger {
    border-color: var(--green-m);
    box-shadow: var(--sh-2);
    transform: translateY(-1px);
}

.profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #13C98C, #2563EB);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
}

.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 190px;
    padding: 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--sh-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s, transform .15s, visibility .15s;
}

.profile-menu.open .profile-dropdown,
.profile-menu:focus-within .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-meta {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    padding: 8px 10px 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dropdown a,
.profile-dropdown button {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ink);
    display: flex;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 10px;
    text-align: left;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
    background: var(--soft);
}

.profile-dropdown form {
    margin: 0;
}

.burger {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
    cursor: pointer;
}

.burger span {
    width: 23px;
    height: 2.5px;
    background: var(--ink);
    border-radius: 3px;
}

@media(max-width:940px) {
    .nav-links {
        display: none;
    }

    .nav-cta .login {
        display: none;
    }

    .burger {
        display: flex;
    }
}

.drawer {
    position: fixed;
    inset: 66px 0 0;
    background: var(--bg);
    z-index: 79;
    transform: translateX(100%);
    transition: transform .3s;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--line);
}

.drawer.open {
    transform: none;
}

.drawer a {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    padding: 15px 12px;
    border-radius: 11px;
}

.drawer a:hover {
    background: var(--soft);
}

.drawer .btn {
    margin-top: 14px;
}

.drawer-logout-form {
    margin: 0;
}

.drawer-logout {
    width: 100%;
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-radius: 11px;
}

.drawer-logout:hover {
    background: var(--soft);
}

.skip {
    position: absolute;
    left: 50%;
    top: -64px;
    transform: translateX(-50%);
    background: var(--green-d);
    color: #fff;
    padding: 11px 20px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    font-size: 14px;
    z-index: 300;
    transition: top .2s;
}

.skip:focus {
    top: 0;
}

main:focus {
    outline: none;
}

/* ---------- Guest-mode FINAL CTA + FOOTER ---------- */
.final {
    padding: 0;
}

.final-card {
    background: radial-gradient(700px 360px at 80% 0%, rgba(52, 211, 153, .22), transparent 60%), linear-gradient(135deg, var(--d1), var(--d2) 55%, var(--d3));
    color: #fff;
    padding: clamp(56px, 8vw, 104px) 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-card h2 {
    color: #fff;
    font-size: clamp(32px, 4.8vw, 54px);
}

.final-card h2 .u {
    color: var(--emer);
}

.final-card p {
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    max-width: 52ch;
    margin: 18px auto 0;
}

.final-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 34px;
    flex-wrap: wrap;
}

.final-note {
    color: var(--emer);
    font-size: 13.5px;
    font-weight: 600;
    margin-top: 22px;
}

.footer {
    background: #080C13;
    color: #8A94A4;
    padding: 66px 0 34px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 40px;
}

.foot-brand .brand {
    color: #fff;
    margin-bottom: 16px;
}

.foot-brand p {
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 34ch;
}

.foot-col h5 {
    color: #fff;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 16px;
}

.foot-col a {
    display: block;
    font-size: 14.5px;
    color: #8A94A4;
    margin-bottom: 11px;
}

.foot-col a:hover {
    color: #fff;
}

.foot-bot {
    border-top: 1px solid #1B212B;
    margin-top: 50px;
    padding-top: 26px;
    text-align: center;
    font-size: 13.5px;
    color: #5B6675;
}

@media(max-width:900px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:520px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--sh-2);
    color: var(--ink);
    font-size: 20px;
    display: grid;
    place-items: center;
    z-index: 85;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .25s;
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    border-color: var(--green-m);
    color: var(--green-d);
    transform: translateY(-3px);
}

.mcta {
    display: none;
}

@media(max-width:720px) {
    .to-top {
        display: none;
    }

    .mcta {
        display: flex;
        position: fixed;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 90;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(180deg, #13C98C, #0E9E6E);
        color: #06231a;
        font-weight: 800;
        font-size: 16px;
        padding: 15px;
        border-radius: 999px;
        box-shadow: 0 14px 30px -10px rgba(16, 185, 129, .85);
        padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    }

    body {
        padding-bottom: 82px;
    }
}

@media(max-width:640px) {
    .wrap {
        padding: 0 18px;
    }

    .nav-in {
        padding: 0 18px;
    }
}

/* =====================================================================
   Privacy Policy — page content
   ===================================================================== */
.lhero {
    background: linear-gradient(180deg, var(--soft), #fff);
    border-bottom: 1px solid var(--line);
    padding: 52px 0 34px;
}

.lhero .wrap {
    max-width: 900px;
}

.lhero .eyebrow {
    margin-bottom: 14px;
}

.lhero h1 {
    font-size: clamp(32px, 4.6vw, 46px);
    margin-bottom: 12px;
}

.lhero .upd {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.lhero .upd b {
    color: var(--ink);
}

.llayout {
    max-width: 1040px;
    margin: 0 auto;
    padding: 40px 28px 60px;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 52px;
    align-items: start;
}

.ltoc {
    position: sticky;
    top: 96px;
}

.ltoc h5 {
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--faint);
    margin: 0 0 12px;
}

.ltoc a {
    display: block;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    padding: 6px 0 6px 12px;
    border-left: 2px solid var(--line);
    transition: .15s;
    line-height: 1.35;
}

.ltoc a:hover {
    color: var(--ink);
}

.ltoc a.on {
    color: var(--green-d);
    border-color: var(--green);
}

.legal {
    max-width: 720px;
    font-size: 16.5px;
    line-height: 1.72;
    color: var(--ink-2);
}

.legal .disc {
    background: var(--amber-l);
    border: 1px solid #F3D9A6;
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 14.5px;
    color: #7a4b08;
    margin-bottom: 30px;
}

.legal .disc b {
    color: #8a5209;
}

.legal h2 {
    font-family: var(--disp);
    font-size: 23px;
    font-weight: 600;
    color: var(--ink);
    margin: 38px 0 12px;
    letter-spacing: -.02em;
    scroll-margin-top: 96px;
    padding-top: 6px;
}

.legal h2 .no {
    color: var(--green-d);
    font-size: 16px;
    margin-right: 8px;
}

.legal h3 {
    font-family: var(--disp);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0 8px;
}

.legal p {
    margin: 0 0 16px;
}

.legal ul {
    margin: 0 0 16px;
    padding-left: 22px;
}

.legal li {
    margin: 0 0 9px;
}

.legal strong {
    color: var(--ink);
}

.legal a {
    color: var(--green-d);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal .box {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px 20px;
    margin: 8px 0 20px;
}

.legal .box a {
    font-weight: 700;
}

@media(max-width:940px) {
    .llayout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ltoc {
        display: none;
    }
}

/* Cookies table (Privacy Policy §5) */
.legal .tbl {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 20px;
    font-size: 14.5px;
}

.legal .tbl th,
.legal .tbl td {
    text-align: left;
    padding: 11px 12px;
    border: 1px solid var(--line);
    vertical-align: top;
}

.legal .tbl th {
    background: var(--soft);
    font-weight: 700;
    color: var(--ink);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media(max-width:600px) {
    .legal .tbl {
        display: block;
        overflow-x: auto;
    }
}
