/* Saboot – colours taken from the logo: ink #181816, gold #BE9038, green #3F9D49 */
:root {
  --ink: #181816;
  --ink-2: #2b2a26;
  --text: #1d1c22;
  --muted: #5d5e66;
  --bg: #fbfaf6;
  --bg-2: #f4f1e8;
  --card: #ffffff;
  --border: #e6e2d6;

  --gold: #be9038;
  --gold-dark: #8a6623;   /* gold for text on light backgrounds (AA contrast) */
  --gold-soft: #f6eedc;
  --green: #3f9d49;
  --green-dark: #2c7534;  /* green for text on light backgrounds (AA contrast) */
  --green-soft: #e7f3e8;

  --ok: var(--green-dark);
  --ok-soft: var(--green-soft);
  --err: #b42318;
  --err-soft: #fdeceb;
  --wa: #25d366;

  --radius: 16px;
  --shadow: 0 1px 2px rgba(24, 24, 22, .04), 0 12px 32px rgba(24, 24, 22, .07);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold-dark); }
h1, h2, h3 { line-height: 1.2; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.hidden { display: none !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 246, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 42px; width: auto; }
.brand-name { font-size: 1.25rem; font-weight: 500; letter-spacing: .32em; line-height: 1; }
.brand-name small { display: block; font-size: .62rem; letter-spacing: .2em; color: var(--gold-dark); font-weight: 600; margin-top: 5px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--gold-dark); }
.site-nav .btn { color: #fff; }
@media (max-width: 860px) { .site-nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font: 600 1rem var(--sans); cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s, opacity .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 8px 20px rgba(24, 24, 22, .2); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #c99d47; box-shadow: 0 8px 20px rgba(190, 144, 56, .3); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.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: .5; cursor: not-allowed; transform: none; box-shadow: 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: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--ink); color: #e9e7e1; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--gold) 50%, var(--green) 50%); }
.section-dark .eyebrow { color: var(--gold); }
.section-head h2, .h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin: 0 0 16px; color: var(--ink); }
.section-dark .section-head h2 { color: #fff; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: #b9b6ad; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; background:
  radial-gradient(900px 420px at 85% 10%, rgba(63, 157, 73, .09), transparent 60%),
  radial-gradient(800px 420px at 10% 90%, rgba(190, 144, 56, .12), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; margin: 0 0 22px; color: var(--ink); letter-spacing: -.01em; }
.hero h1 .gold { color: var(--gold-dark); font-style: italic; }
.hero h1 .green { color: var(--green-dark); font-style: italic; }
.hero .lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 32px; max-width: 580px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row span::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; background: var(--green-soft); color: var(--green-dark); }

/* Sample report card in hero */
.report { background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 60px rgba(24, 24, 22, .12); padding: 26px; position: relative; }
.report::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--gold) 50%, var(--green) 50%); }
.report-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed var(--border); margin-bottom: 14px; }
.report-head img { width: 54px; }
.report-head .t { font-weight: 700; color: var(--ink); }
.report-head .s { font-size: .82rem; color: var(--muted); }
.report-tag { margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.report-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; font-size: .93rem; border-bottom: 1px solid #f1eee6; }
.report-row:last-of-type { border-bottom: 0; }
.pill { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: var(--green-soft); color: var(--green-dark); }
.pill-warn { background: var(--gold-soft); color: var(--gold-dark); }
.pill-bad { background: var(--err-soft); color: var(--err); }
.verdict { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .92rem; }
.verdict b { color: var(--gold); letter-spacing: .04em; }

/* Ticker band */
.band { background: var(--ink); color: #fff; padding: 22px 0; }
.band .container { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 40px; font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.35rem); font-style: italic; }
.band span:nth-child(odd) { color: var(--gold); }
.band span:nth-child(even) { color: #8fd197; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dcd3bd; }
.tile h3 { margin: 0 0 8px; font-size: 1.12rem; color: var(--ink); }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }
.tile ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.tile li { margin: 4px 0; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; background: var(--gold-soft); }
.icon.green { background: var(--green-soft); }
.icon.ink { background: var(--ink); }
.tile-feature { border-top: 4px solid var(--gold); }
.tile-feature.green { border-top-color: var(--green); }
.tile-feature.ink { border-top-color: var(--ink); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.step:nth-child(even)::before { color: var(--green); }
.step h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

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

/* Legal section */
.legal-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-grid h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: #fff; margin: 0 0 18px; }
.legal-grid > div > p { color: #b9b6ad; font-size: 1.05rem; }
.legal-list { display: grid; gap: 14px; }
.legal-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.legal-item .n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--gold); color: var(--ink); }
.legal-item:nth-child(even) .n { background: var(--green); color: #fff; }
.legal-item h3 { margin: 0 0 4px; font-size: 1.02rem; color: #fff; }
.legal-item p { margin: 0; color: #b9b6ad; font-size: .92rem; }
.helpline { margin-top: 26px; padding: 16px 18px; border-radius: 12px; border: 1px dashed rgba(190, 144, 56, .6); color: #e9e7e1; font-size: .93rem; }
.helpline b { color: var(--gold); }
.helpline a { color: #8fd197; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; 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.4rem; color: var(--gold-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* CTA band */
.cta { padding: 80px 0; }
.cta-box { border-radius: 24px; padding: 56px 40px; text-align: center; color: #fff; background:
  radial-gradient(500px 240px at 0% 0%, rgba(190, 144, 56, .35), transparent 70%),
  radial-gradient(500px 240px at 100% 100%, rgba(63, 157, 73, .35), transparent 70%), var(--ink); }
.cta-box h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 12px; }
.cta-box p { color: #cfccc3; max-width: 600px; margin: 0 auto 28px; font-size: 1.05rem; }

/* Footer */
.site-footer { background: var(--ink); color: #b9b6ad; padding: 64px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid img { width: 150px; margin-bottom: 14px; }
.footer-grid h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid a { color: #b9b6ad; text-decoration: none; display: block; padding: 3px 0; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8b887f; }
.disclaimer { max-width: 760px; }

/* ---------- Apply page ---------- */
.page-head { padding: 48px 0 88px; background:
  radial-gradient(700px 300px at 90% 0%, rgba(63, 157, 73, .14), transparent 60%),
  radial-gradient(700px 300px at 0% 100%, rgba(190, 144, 56, .18), transparent 60%), var(--ink); color: #fff; }
.page-head h1 { font-family: var(--serif); margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-head p { margin: 0; color: #cfccc3; max-width: 640px; }

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

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 28px; }
.card + .card { margin-top: 18px; }
.card h2 { margin: 0 0 4px; font-size: 1.18rem; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.card .sub { color: var(--muted); margin: 0 0 20px; font-size: .93rem; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); border: 1.5px solid var(--gold); display: grid; place-items: center; font-size: .88rem; font-weight: 800; flex-shrink: 0; }
.step-num.done { background: var(--green); border-color: var(--green); color: #fff; }

.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: .9rem; color: var(--ink); }
.field .hint { color: var(--muted); font-size: .82rem; font-weight: 400; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(190, 144, 56, .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); border-color: var(--border); color: var(--muted); }

.dropzone { border: 2px dashed #d3cbb6; border-radius: var(--radius); padding: 38px 20px; text-align: center; cursor: pointer; transition: background .2s, border-color .2s; background: #fdfcf8; }
.dropzone:hover, .dropzone.drag { border-color: var(--gold); background: var(--gold-soft); }
.dropzone .icon { margin: 0 auto 10px; }
.dropzone strong { color: var(--ink); }
.dropzone p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }

.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: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: #fff; }
.file-item .thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; display: grid; place-items: center; font-size: .68rem; font-weight: 800; color: #fff; }
.thumb.pdf { background: #b42318; }
.thumb.doc { background: #2f5fb3; }
.file-item .meta { flex: 1; min-width: 0; }
.file-item .name { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-item .size { color: var(--muted); font-size: .8rem; }
.file-item .remove { background: none; border: 0; font-size: 1.3rem; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.file-item .remove:hover { background: var(--err-soft); color: var(--err); }
.file-total { margin-top: 10px; font-size: .85rem; 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: 700; 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: .88rem; color: var(--muted); flex-wrap: wrap; gap: 8px; }
.link-btn { background: none; border: 0; color: var(--gold-dark); font-weight: 600; cursor: pointer; padding: 0; font: inherit; 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(--green-soft); color: var(--green-dark); font-weight: 600; padding: 8px 14px; border-radius: 999px; font-size: .9rem; }

.alert { border-radius: 12px; padding: 12px 14px; font-size: .92rem; 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(--gold-soft); color: #6b4f1b; }

.summary { position: sticky; top: 92px; }
.summary h3 { margin: 0 0 14px; font-size: 1.05rem; color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 30px; font-size: .9rem; color: var(--muted); }
.timeline li b { display: block; color: var(--ink); font-size: .93rem; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.timeline li:nth-child(even)::before { background: var(--green); }
.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: .92rem; color: var(--muted); }
.checklist li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; }
.checklist li.done { color: var(--text); }
.checklist li.done::before { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.secure-note { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: .85rem; color: var(--muted); }

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

.mini-footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 0 0 40px; }
@media (max-width: 480px) {
  .report { padding: 20px 16px; }
  .report-head img { width: 42px; }
  .verdict { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
}
