/* SupremeTruth – "Graphite Verified": graphite #1D1D1F, emerald #0B7A55, signal #2BBF85, white, cloud #F5F5F7 */
:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --border: #e5e5ea;
  --line: #ececf0;

  --accent: #0b7a55;        /* emerald: buttons, links, accents (5.4:1 on white) */
  --accent-hover: #086646;
  --accent-soft: #dff3ea;
  --signal: #2bbf85;        /* bright emerald: on dark backgrounds only */

  --warn: #9a5b00;
  --warn-soft: #fbefd9;
  --err: #c4261d;
  --err-soft: #fde9e7;
  --ok: var(--accent);
  --ok-soft: var(--accent-soft);
  --wa: #25d366;

  --radius: 18px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(29, 29, 31, .04), 0 12px 32px rgba(29, 29, 31, .08);
  --shadow-lg: 0 1px 2px rgba(29, 29, 31, .05), 0 24px 56px rgba(29, 29, 31, .12);
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --spring: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.hidden { display: none !important; }
.ico { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; }
:focus-visible { outline: 3px solid rgba(11, 122, 85, .45); outline-offset: 2px; }

/* ---------- Header: translucent material, content scrolls under ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(29, 29, 31, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { height: 32px; width: 32px; }
.brand-name { font-size: 1.2rem; font-weight: 400; letter-spacing: -.02em; line-height: 1; }
.brand-name b { font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .875rem; font-weight: 500; transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.site-nav .btn { color: #fff; }
@media (max-width: 860px) { .site-nav a:not(.btn) { display: none; } }

/* ---------- Buttons: pill, instant press feedback ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 980px; padding: 14px 26px; font: 600 1.0625rem/1.2 var(--sans); letter-spacing: -.01em; cursor: pointer; text-decoration: none; transition: transform .1s ease-out, background .2s, color .2s, opacity .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-gold { background: var(--accent); color: #fff; }
.btn-gold:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--accent); padding-inline: 8px; }
.btn-outline::after { content: "›"; font-size: 1.25em; line-height: 1; }
.btn-outline:hover { text-decoration: underline; }
.btn-light { background: #fff; color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(.95); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--ink); color: #f5f5f7; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.eyebrow { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; color: var(--accent); margin: 0 0 12px; }
.section-dark .eyebrow { color: var(--signal); }
.section-head h2, .h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 16px; color: var(--ink); }
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-dark .section-head h2 { color: #fff; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1875rem; line-height: 1.5; }
.section-head p.eyebrow { margin: 0 0 12px; font-size: 1rem; color: var(--accent); }
.section-dark .section-head p.eyebrow { color: var(--signal); }
.section-dark .section-head p { color: #a1a1a6; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 104px; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 24px; color: var(--ink); }
.hero .lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); margin: 0 0 32px; max-width: 560px; line-height: 1.5; }
.hero-cta { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: .9375rem; color: var(--ink-2); font-weight: 500; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Sample report card in hero */
.report { background: var(--bg-2); border-radius: var(--radius-lg); padding: 24px; position: relative; }
.report-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.report-head img { width: 40px; height: 40px; }
.report-head .t { font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.report-head .s { font-size: .8125rem; color: var(--muted); }
.report-tag { margin-left: auto; font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: #fff; padding: 4px 10px; border-radius: 980px; white-space: nowrap; }
.report-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; font-size: .9375rem; border-bottom: 1px solid #e8e8ed; }
.report-row:last-of-type { border-bottom: 0; }
.pill { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 980px; white-space: nowrap; }
.pill-ok { background: var(--accent-soft); color: var(--accent); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-bad { background: var(--err-soft); color: var(--err); }
.verdict { margin-top: 12px; padding: 15px 18px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .875rem; }
.verdict b { color: #ff8a80; letter-spacing: .01em; }

/* Statement band */
.band { background: var(--ink); color: #fff; padding: 28px 0; }
.band .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 44px; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; }
.band span:nth-child(odd) { color: #fff; }
.band span:nth-child(even) { color: var(--signal); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tile { background: var(--bg-2); border-radius: var(--radius-lg); padding: 32px 28px; transition: transform .4s var(--spring), box-shadow .4s var(--spring); }
.section-alt .tile { background: var(--card); }
.tile:hover { transform: scale(1.015); box-shadow: var(--shadow); }
.tile h3 { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 600; color: var(--ink); }
.tile p { margin: 0; color: var(--muted); font-size: .9688rem; }
.tile ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .9375rem; }
.tile li { margin: 4px 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 24px; height: 24px; }
.icon.green { background: var(--accent-soft); color: var(--accent); }
.icon.ink { background: var(--ink); color: #fff; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; background: var(--card); border-radius: var(--radius-lg); }
.step::before { counter-increment: step; content: counter(step); font-size: 1rem; font-weight: 700; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 20px; }
.step:last-child::before { background: var(--accent); }
.step h3 { margin: 0 0 8px; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: .9375rem; }

/* Red flags */
.flags { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 20px; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; }
.flags li { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border-radius: var(--radius); padding: 18px 20px; }
.flags li::before { content: "!"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .875rem; background: var(--warn-soft); color: var(--warn); }
.flags b { display: block; color: var(--ink); font-weight: 600; }
.flags span { color: var(--muted); font-size: .9375rem; }

/* Legal section (dark) */
.legal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-grid h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; color: #fff; margin: 0 0 18px; }
.legal-grid > div > p { color: #a1a1a6; font-size: 1.125rem; }
.legal-list { display: grid; gap: 12px; }
.legal-item { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.legal-item .n { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9375rem; background: var(--signal); color: var(--ink); }
.legal-item h3 { margin: 0 0 4px; font-size: 1.0625rem; font-weight: 600; color: #fff; }
.legal-item p { margin: 0; color: #a1a1a6; font-size: .9375rem; }
.helpline { margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: rgba(43, 191, 133, .1); color: #f5f5f7; font-size: .9375rem; }
.helpline b { color: var(--signal); }
.helpline a { color: var(--signal); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 0 4px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 700px; }

/* CTA */
.cta { padding: 88px 0; }
.cta-box { border-radius: 28px; padding: 72px 40px; text-align: center; color: #fff; background: var(--ink); }
.cta-box h2 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -.03em; margin: 0 0 12px; }
.cta-box p { color: #a1a1a6; max-width: 600px; margin: 0 auto 32px; font-size: 1.1875rem; }

/* Footer */
.site-footer { background: var(--bg-2); color: var(--muted); padding: 64px 0 28px; font-size: .875rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand b { font-weight: 700; }
.footer-grid p { margin: 0; max-width: 380px; }
.footer-grid h4 { color: var(--ink); margin: 0 0 12px; font-size: .875rem; font-weight: 600; }
.footer-grid a { color: var(--ink-2); text-decoration: none; display: block; padding: 4px 0; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid #d2d2d7; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .75rem; color: var(--muted); }
.disclaimer { max-width: 760px; }

/* ---------- Apply page ---------- */
.page-head { padding: 56px 0 96px; background: var(--ink); color: #fff; }
.page-head h1 { margin: 0 0 10px; font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; letter-spacing: -.03em; }
.page-head p { margin: 0; color: #a1a1a6; max-width: 640px; font-size: 1.125rem; }

.layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; margin-top: -56px; padding-bottom: 72px; align-items: start; }
@media (max-width: 920px) { .layout { grid-template-columns: 1fr; } }

.card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.card + .card { margin-top: 18px; }
.card h2 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.card .sub { color: var(--muted); margin: 0 0 20px; font-size: .9375rem; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .875rem; font-weight: 700; flex-shrink: 0; transition: background .3s; }
.step-num.done { background: var(--accent); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .875rem; color: var(--ink); }
.field .hint { color: var(--muted); font-size: .8125rem; font-weight: 400; }
input, select, textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fff; color: var(--text); width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(11, 122, 85, .16); }
input.invalid, select.invalid { border-color: var(--err); }
textarea { resize: vertical; min-height: 110px; }
.phone-row { display: grid; grid-template-columns: 124px 1fr; gap: 8px; }

/* Documents section is locked until the WhatsApp number is verified */
.card.locked .dropzone { opacity: .45; cursor: not-allowed; pointer-events: none; }
.card.locked .step-num { background: var(--bg-2); color: var(--muted); }

.dropzone { border: 1.5px dashed #c7c7cc; border-radius: var(--radius); padding: 40px 20px; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; background: var(--bg-2); }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone .icon { margin: 0 auto 12px; }
.dropzone strong { color: var(--ink); font-weight: 600; }
.dropzone p { margin: 6px 0 0; color: var(--muted); font-size: .875rem; }

.file-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.file-item { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 10px 12px; background: var(--bg-2); }
.file-item .thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; display: grid; place-items: center; font-size: .6875rem; font-weight: 700; color: #fff; }
.thumb.pdf { background: #c4261d; }
.thumb.doc { background: #2f5fb3; }
.file-item .meta { flex: 1; min-width: 0; }
.file-item .name { font-weight: 600; font-size: .9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item .size { color: var(--muted); font-size: .8125rem; }
.file-item .remove { background: none; border: 0; font-size: 1.3rem; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.file-item .remove:hover { background: var(--err-soft); color: var(--err); }
.file-total { margin-top: 10px; font-size: .875rem; color: var(--muted); display: flex; justify-content: space-between; }

.otp-inputs { display: flex; gap: 10px; margin: 8px 0 12px; }
.otp-inputs input { width: 50px; height: 58px; text-align: center; font-size: 1.4rem; font-weight: 600; padding: 0; }
@media (max-width: 420px) { .otp-inputs input { width: 40px; height: 50px; } }
.otp-meta { display: flex; justify-content: space-between; align-items: center; font-size: .875rem; color: var(--muted); flex-wrap: wrap; gap: 8px; }
.link-btn { background: none; border: 0; color: var(--accent); font-weight: 600; cursor: pointer; padding: 0; font: inherit; }
.link-btn:hover { text-decoration: underline; }
.link-btn[disabled] { color: var(--muted); text-decoration: none; cursor: default; }
.verified-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 600; padding: 8px 14px; border-radius: 980px; font-size: .875rem; }

.alert { display: flex; gap: 8px; align-items: baseline; border-radius: 12px; padding: 12px 14px; font-size: .9375rem; margin-bottom: 16px; }
.alert-error { background: var(--err-soft); color: var(--err); }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-info { background: var(--bg-2); color: var(--ink-2); }

.summary { position: sticky; top: 88px; }
.summary h3 { margin: 0 0 14px; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 28px; font-size: .875rem; color: var(--muted); }
.timeline li b { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.timeline li:last-child::before { background: var(--accent); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--border); }
.checklist { list-style: none; padding: 16px 0 0; margin: 8px 0 0; border-top: 1px solid var(--border); }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .9375rem; color: var(--muted); }
.checklist li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d2d2d7; flex-shrink: 0; transition: background .25s, border-color .25s; }
.checklist li.done { color: var(--text); }
.checklist li.done::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fff; }
.secure-note { display: flex; gap: 8px; align-items: baseline; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: .8125rem; color: var(--muted); }

.success { text-align: center; padding: 52px 28px; }
.success .check { width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 16px; }
.success .app-id { display: inline-block; font-family: ui-monospace, SFMono-Regular, monospace; background: var(--bg-2); color: var(--ink); padding: 6px 14px; border-radius: 8px; font-weight: 600; margin: 8px 0 20px; }

.mini-footer { text-align: center; color: var(--muted); font-size: .8125rem; padding: 0 0 40px; }

@media (max-width: 480px) {
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 72px; }
  .report { padding: 20px 16px; }
  .verdict { flex-direction: column; align-items: flex-start; }
  .site-nav .btn { white-space: nowrap; padding: 9px 16px; font-size: .875rem; }
  .cta-box { padding: 56px 24px; }
}

/* ---------- Accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .tile:hover, .btn:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #48484a; --border: #8e8e93; }
  .tile, .step, .flags li, .report { border: 1px solid var(--border); }
}
