/* Never Hidden — neverhidden.com
   Self-contained static styles. No frameworks, no CDNs, no external requests.
   Palette and type are ported from the app's design tokens (resources/css/relay.css). */

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/instrument-sans-latin.woff2') format('woff2');
}
@font-face {
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/geist-mono-latin.woff2') format('woff2');
}

:root {
    --bg: #F6F5F2;
    --surface: #FFFFFF;
    --surface2: #F0EEE9;
    --border: #E5E2DB;
    --border2: #D6D2C9;
    --text: #1D1C19;
    --text2: #5F5C55;
    --text3: #98948B;
    --accent: #0E7A72;
    --on-accent: #FFFFFF;
    --accent-soft: #EAF2F1;
    --green: #1A7F4B;
    --amber: #A85B0A;
    --amber-soft: #FAF0DD;
    --red: #C23A32;
    --shadow: 0 1px 2px rgba(30, 27, 21, .05), 0 6px 20px rgba(30, 27, 21, .06);

    --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

    --maxw: 1080px;
    --gut: 32px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #131210;
        --surface: #1B1A17;
        --surface2: #242320;
        --border: #2A2926;
        --border2: #3B3934;
        --text: #EDEBE5;
        --text2: #A6A299;
        --text3: #6E6B63;
        --accent: #14958B;
        --accent-soft: #16302E;
        --green: #3FBF7F;
        --amber: #E0A24A;
        --amber-soft: #33270F;
        --red: #E06158;
        --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
    }
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- glyph + wordmark ---------- */

.glyph {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 9px;
    background: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.glyph svg { display: block; }
.glyph--lg { width: 52px; height: 52px; border-radius: 14px; }

.lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.wordmark {
    font-weight: 700;
    letter-spacing: -0.015em;
    font-size: 19px;
    color: var(--text);
    white-space: nowrap;
}
.wordmark--lg { font-size: 26px; }

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

.site-head {
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.site-head .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 76px;
}
.site-head nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14.5px;
}
.site-head nav a { color: var(--text2); white-space: nowrap; }
.site-head nav a:hover { color: var(--text); }

/* ---------- hero ---------- */

.hero { padding: 92px 0 78px; }

h1, h2, h3 { text-wrap: balance; }

.hero h1 {
    font-size: 54px;
    line-height: 1.08;
    letter-spacing: -0.028em;
    font-weight: 700;
    margin: 30px 0 0;
    max-width: 15ch;
    text-wrap: pretty;
}
.hero .lede {
    font-size: 20px;
    line-height: 1.55;
    color: var(--text2);
    max-width: 60ch;
    margin: 24px 0 0;
}

.channels {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text3);
    margin: 40px 0 0;
}
.channels span { white-space: nowrap; }
.channels i { font-style: normal; color: var(--border2); padding: 0 10px; }

.cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 22px;
    margin: 36px 0 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--on-accent);
    border-radius: 10px;
    padding: 13px 22px;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -0.005em;
    border: 1px solid var(--accent);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }

.quiet {
    font-size: 14.5px;
    color: var(--text3);
}

/* ---------- generic section ---------- */

.section {
    padding: 74px 0;
    border-top: 1px solid var(--border);
}
.eyebrow {
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 26px;
}
.section h2 {
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -0.018em;
    font-weight: 700;
    margin: 0 0 34px;
    max-width: 30ch;
}

/* ---------- pillars ---------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.pillar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 28px 26px 30px;
}
.pillar h3 {
    font-size: 18.5px;
    line-height: 1.3;
    letter-spacing: -0.012em;
    font-weight: 700;
    margin: 0 0 14px;
}
.pillar p {
    margin: 0 0 12px;
    font-size: 15.5px;
    line-height: 1.62;
    color: var(--text2);
}
.pillar p:last-child { margin-bottom: 0; }

.tag {
    font-family: var(--mono);
    font-size: 12.5px;
    padding: 2px 7px;
    border-radius: 5px;
    white-space: nowrap;
}
.tag--amber { background: var(--amber-soft); color: var(--amber); }

/* ---------- how it works ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.step {
    padding: 26px 24px 28px;
    border-right: 1px solid var(--border);
}
.step:last-child { border-right: 0; }
.step .num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text3);
    display: block;
    margin-bottom: 10px;
}
.step h3 {
    font-size: 16px;
    letter-spacing: -0.01em;
    font-weight: 700;
    margin: 0 0 8px;
}
.step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text2);
}

.note {
    margin: 26px 0 0;
    font-size: 15.5px;
    color: var(--text2);
    border-left: 2px solid var(--accent);
    padding-left: 16px;
    max-width: 68ch;
}

/* ---------- prose (privacy / terms) ---------- */

.doc { padding: 60px 0 30px; }
.doc-head { max-width: 74ch; }
.doc-head h1 {
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.024em;
    font-weight: 700;
    margin: 0 0 12px;
}
.meta {
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--text3);
    margin: 0;
}

.prose {
    max-width: 74ch;
    padding-bottom: 70px;
}
.prose h2 {
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -0.015em;
    font-weight: 700;
    margin: 46px 0 14px;
}
.prose h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin: 28px 0 8px;
}
.prose p, .prose li {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text2);
}
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 0 0 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code {
    font-family: var(--mono);
    font-size: 13.5px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 5px;
}

.callout {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    padding: 22px 24px;
    margin: 22px 0 26px;
    box-shadow: var(--shadow);
}
.callout p:last-child { margin-bottom: 0; }
.callout .disclosure {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    font-weight: 600;
}

.review-note {
    background: var(--amber-soft);
    border: 1px solid var(--border);
    border-left: 3px solid var(--amber);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 28px 0 8px;
    max-width: 74ch;
}
.review-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
}
.review-note strong { font-weight: 700; }

.table-wrap { overflow-x: auto; margin: 0 0 18px; }
table {
    border-collapse: collapse;
    width: 100%;
    min-width: 520px;
    font-size: 15px;
}
th, td {
    text-align: left;
    vertical-align: top;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text2);
    line-height: 1.5;
}
th {
    color: var(--text);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border2);
}
td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }

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

.site-foot {
    border-top: 1px solid var(--border);
    padding: 30px 0 44px;
}
.site-foot .wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 14px;
    color: var(--text3);
}
.site-foot a { color: var(--text2); }
.site-foot .sep { color: var(--border2); }
.site-foot .eu { margin-left: auto; }

/* ---------- responsive ---------- */

@media (max-width: 880px) {
    .pillars { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step:nth-child(odd) { border-right: 1px solid var(--border); }
    .step:nth-child(even) { border-right: 0; }
    .step:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 620px) {
    :root { --gut: 20px; }
    body { font-size: 16px; }
    .site-head .wrap { height: 66px; }
    .site-head nav { gap: 18px; font-size: 14px; }
    /* the hero CTA and the footer both carry the contact link on small screens */
    .site-head nav a[href^="mailto:"] { display: none; }
    .hero { padding: 54px 0 48px; }
    .hero h1 { font-size: 36px; letter-spacing: -0.022em; max-width: none; }
    .hero .lede { font-size: 17.5px; }
    .channels { font-size: 11px; }
    .channels i { padding: 0 6px; }
    .section { padding: 52px 0; }
    .section h2 { font-size: 23px; }
    .steps { grid-template-columns: 1fr; }
    .step { border-right: 0 !important; border-bottom: 1px solid var(--border); }
    .step:last-child { border-bottom: 0; }
    .doc-head h1 { font-size: 30px; }
    .btn { width: 100%; justify-content: center; }
    .site-foot .eu { margin-left: 0; width: 100%; }
}
