/* ==========================================================================
   NEXO: privacy and support pages.
   The app's own look: deep green, mint, soft off-white and frosted glass, in
   SF Pro Rounded where the device has it. One readable column.
   ========================================================================== */

:root {
    color-scheme: dark;
    --deep: #0a1a18;
    --forest: #12302a;
    --pine: #1f453e;
    --mint: #8fd3b6;
    --off-white: #f2f4ec;
    --soft: #a9c3ba;
    --faint: #7c978f;
    --line: rgba(242, 244, 236, 0.1);
    --glass: rgba(143, 211, 182, 0.06);
    --glass-edge: rgba(242, 244, 236, 0.14);
    --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --text: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    --gutter: max(20px, env(safe-area-inset-left, 0px));
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(90% 50% at 50% 0%, rgba(143, 211, 182, 0.14), transparent 70%),
        radial-gradient(120% 80% at 50% 10%, var(--forest), var(--deep) 70%) fixed,
        var(--deep);
    color: var(--off-white);
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.6;
}

a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: var(--off-white); }

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 16px;
    top: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--deep);
    z-index: 10;
}

/* ----------------------------------------------------------------- header */

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
    padding: 22px var(--gutter) 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--off-white);
    text-decoration: none;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.brand b {
    font-family: var(--rounded);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.3em;
}

.lang {
    font-family: var(--rounded);
    font-size: 14px;
    font-weight: 600;
    color: var(--off-white);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--glass-edge);
    background: var(--glass);
}

.lang:hover { border-color: var(--mint); color: var(--mint); }

/* ------------------------------------------------------------------ intro */

.page {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(48px, 9vh, 96px) var(--gutter) 72px;
}

.eyebrow {
    margin: 0;
    font-family: var(--rounded);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mint);
}

h1 {
    margin: 10px 0 0;
    font-family: var(--rounded);
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    font-weight: 700;
    line-height: 1.08;
    text-wrap: balance;
}

.lede {
    margin: 22px 0 0;
    max-width: 36ch;
    font-family: var(--rounded);
    font-size: clamp(1.15rem, 2.6vw, 1.35rem);
    line-height: 1.5;
}

.updated {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--faint);
}

/* ------------------------------------------------- the promise in short */

.promise {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}

.promise li {
    padding: 16px 18px;
    border-radius: 22px;
    border: 1px solid var(--glass-edge);
    background: var(--glass);
    font-size: 15px;
    line-height: 1.45;
    color: var(--soft);
}

.promise b {
    display: block;
    margin-bottom: 2px;
    font-family: var(--rounded);
    font-size: 16px;
    color: var(--off-white);
}

/* --------------------------------------------------------------- sections */

section { margin-top: clamp(48px, 8vh, 72px); }

h2 {
    margin: 0;
    font-family: var(--rounded);
    font-size: clamp(1.4rem, 3.6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
}

h3 {
    margin: 0;
    font-family: var(--rounded);
    font-size: 17px;
    font-weight: 700;
}

section > p {
    margin: 14px 0 0;
    max-width: 65ch;
    color: var(--soft);
}

section > p strong { color: var(--off-white); font-weight: 600; }

.rows {
    margin: 20px 0 0;
    padding: 4px 20px;
    list-style: none;
    border-radius: 24px;
    border: 1px solid var(--glass-edge);
    background: var(--glass);
}

.rows li {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.rows li:last-child { border-bottom: 0; }

.rows p {
    margin: 4px 0 0;
    font-size: 15.5px;
    color: var(--soft);
}

.note {
    margin: 18px 0 0;
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(143, 211, 182, 0.35);
    background: rgba(143, 211, 182, 0.08);
    font-size: 15.5px;
    color: var(--off-white);
}

.contact {
    display: inline-block;
    margin-top: 16px;
    font-family: var(--rounded);
    font-size: 18px;
    font-weight: 600;
}

/* ----------------------------------------------------------------- footer */

.foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 20px;
    max-width: 760px;
    margin: 0 auto;
    padding: 28px var(--gutter) max(32px, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--faint);
}

.foot a { color: var(--soft); }

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

@media (max-width: 420px) {
    body { font-size: 16px; }
    .rows { padding: 2px 16px; }
}
