/* Navo Credit — gold standard certificate world */
:root {
  --gold: #FFC400;
  --gold-deep: #C97F07;
  --gold-pale: #FFE9A8;
  --cream: #FFF6DE;
  --paper: #FFFBF0;
  --ink: #26241C;
  --ink-soft: #6B6555;
  --line: rgba(38, 36, 28, 0.16);
  --line-strong: rgba(38, 36, 28, 0.55);
  --radius: 14px;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-text: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    repeating-radial-gradient(circle at 85% -10%, rgba(201, 127, 7, 0.035) 0 1px, transparent 1px 26px),
    repeating-radial-gradient(circle at 0% 110%, rgba(201, 127, 7, 0.03) 0 1px, transparent 1px 30px),
    var(--cream);
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 640; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
img { max-width: 100%; height: auto; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 18px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--ink);
  color: var(--gold);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2.5px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn__arrow { font-size: 1.05em; }
.btn--primary, .btn--gold, .btn--nav { background: var(--gold); color: var(--ink); }
.btn--primary:hover, .btn--gold:hover, .btn--nav:hover { background: var(--gold-deep); color: var(--paper); }
.btn--ghost { border: 1.5px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(38, 36, 28, 0.05); }
.btn:active { transform: translateY(1px); }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 13px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; border-radius: 9px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-size: 15.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav__links a:hover:not(.btn) { color: var(--gold-deep); }
.nav__links a.is-active:not(.btn) { font-weight: 600; box-shadow: 0 2px 0 0 var(--gold); }
.nav__links .btn--nav { font-size: 15px; padding: 11px 20px; }
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 10px 11px;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform 0.2s ease; }
.menu-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(38, 36, 28, 0.4);
}

/* ── Hero ────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) 28px 0;
}
.hero__title {
  font-size: clamp(42px, 6.6vw, 86px);
  max-width: 11ch;
}
.hero__title em { font-style: normal; color: var(--gold-deep); }
.hero__lead {
  max-width: 54ch;
  margin-top: 24px;
  font-size: 18.5px;
  color: var(--ink-soft);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__disc {
  position: absolute;
  z-index: 1;
  right: -140px;
  top: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, var(--gold-pale), var(--gold) 52%, var(--gold-deep));
  box-shadow: 0 40px 90px -30px rgba(201, 127, 7, 0.45);
}
.hero__disc::after {
  content: "";
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 251, 240, 0.75);
}

/* ── Trust strip ─────────────────────────────────────── */
.trust {
  position: relative;
  z-index: 2;
  list-style: none;
  max-width: 1180px;
  margin: clamp(48px, 7vw, 88px) auto 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust__item {
  padding: 22px 28px 26px;
  border-top: 2px solid var(--ink);
  position: relative;
}
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.trust__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trust__item span { font-size: 14.5px; color: var(--ink-soft); }

/* ── Sections ────────────────────────────────────────── */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 28px 0;
}
.section__head { max-width: 680px; }
.section__head h2 { font-size: clamp(30px, 4vw, 48px); }
.section__lead { margin-top: 18px; font-size: 17.5px; color: var(--ink-soft); max-width: 56ch; }

.section--gold {
  max-width: none;
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(72px, 9vw, 110px) 0 clamp(64px, 8vw, 96px);
  background:
    repeating-radial-gradient(circle at 12% 20%, rgba(38, 36, 28, 0.05) 0 1px, transparent 1px 24px),
    linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 130%);
}
.section--gold .section__head,
.section--gold .grid--two,
.section--gold .grid { margin-left: auto; margin-right: auto; max-width: 1180px; padding-left: 28px; padding-right: 28px; }
.section--gold .eyebrow { color: var(--ink); opacity: 0.75; }
.section--gold .section__lead { color: rgba(38, 36, 28, 0.78); }
.section--gold .section__head h2 { color: var(--ink); }

/* ── Certificate cards ───────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.cert {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 30px 30px 34px;
  grid-column: span 4;
  box-shadow: 0 18px 40px -28px rgba(38, 36, 28, 0.35);
}
.cert::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  pointer-events: none;
}
.cert--wide { grid-column: span 6; }
.cert--tall { grid-column: span 6; display: flex; flex-direction: column; }
.cert--step { grid-column: span 4; padding-top: 34px; }
.cert h3 { font-size: 24px; margin-top: 14px; }
.cert p { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; max-width: 46ch; }
.cert__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 5px;
  border-bottom: 2px solid var(--gold);
}
.cert__num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-deep);
}
.cert__seal {
  width: 96px;
  margin-top: auto;
  align-self: flex-end;
  color: var(--gold-deep);
}
.cert--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.cert--ink::before { border-color: rgba(255, 246, 222, 0.2); }
.cert--ink h3 { color: var(--paper); }
.cert--ink p { color: rgba(255, 246, 222, 0.75); }
.cert__tag--gold { color: var(--gold); border-bottom-color: var(--gold); }
.cert--ink .btn--gold { margin-top: 22px; }

.grid--two { grid-template-columns: 1fr 1fr; display: grid; gap: 22px; margin-top: 44px; }
.grid--two .cert { grid-column: auto; }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  margin-top: clamp(80px, 10vw, 130px);
  background: var(--ink);
  color: var(--cream);
  border-top: 4px solid var(--gold);
}
.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 28px 52px;
  display: grid;
  gap: 26px;
  justify-items: start;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--paper);
}
.footer__mark { width: 38px; height: 38px; border-radius: 9px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a { color: var(--cream); font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(255, 246, 222, 0.35); padding-bottom: 2px; }
.footer__links a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer__legal { font-size: 13.5px; color: rgba(255, 246, 222, 0.6); max-width: 72ch; }

/* ── Reveal motion ───────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-reveal].in-view { opacity: 1; transform: none; }
.static [data-reveal] { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cert--wide, .cert--tall, .cert--step { grid-column: span 2; }
  .grid--two { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: fixed;
    z-index: 45;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 88px 30px 40px;
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px -30px rgba(38, 36, 28, 0.5);
  }
  .menu-open .nav__links { display: flex; }
  .nav__links a { font-size: 18px; }
  .hero__disc { width: 380px; height: 380px; right: -120px; top: -120px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__inner { padding: 12px 18px; }
  .hero__inner { padding-left: 18px; padding-right: 18px; }
  .trust { padding-left: 18px; padding-right: 18px; }
  .trust__item { padding: 18px 18px 20px; }
  .section { padding-left: 18px; padding-right: 18px; }
  .section--gold .section__head, .section--gold .grid--two { padding-left: 18px; padding-right: 18px; }
  .cert { padding: 24px 22px 28px; }
  .cert h3 { font-size: 21px; }
  .cta-row .btn { width: 100%; justify-content: center; }
}

/* ── Subpages (company / privacy) ────────────────────── */
.page-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 28px 0;
}
.page-head h1 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; }
.page-head .section__lead { margin-top: 20px; max-width: 62ch; }

.page-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) 28px 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 44px;
}
.facts-grid .cert { grid-column: auto; }
.facts-grid dt, .fact-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.facts-grid dd { margin: 8px 0 0; font-size: 16.5px; }
.facts-grid .cert p { margin-top: 10px; }

.facts-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 44px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts-table th, .facts-table td {
  text-align: left;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  vertical-align: top;
}
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-table th {
  font-weight: 600;
  width: 34%;
  color: var(--ink);
  background: rgba(255, 201, 0, 0.14);
}

.expect { list-style: none; margin: 44px 0 0; padding: 0; }
.expect li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 6px;
  border-top: 1px solid var(--line);
}
.expect li:last-child { border-bottom: 1px solid var(--line); }
.expect .n { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--gold-deep); }

.policy {
  max-width: 760px;
}
.policy h2 {
  font-size: 24px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}
.policy h2 span { color: var(--gold-deep); margin-right: 10px; }
.policy p { margin-top: 14px; color: var(--ink-soft); }
.policy ul { margin: 14px 0 0; padding-left: 22px; color: var(--ink-soft); }
.policy ul li { margin-top: 8px; }
.policy a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }

.toc {
  max-width: 760px;
  margin-top: 44px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px 30px;
  position: relative;
}
.toc::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--line); border-radius: 9px; pointer-events: none; }
.toc strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 12px;
}
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 36px; }
.toc li { margin-top: 8px; break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.toc a:hover { color: var(--gold-deep); }

@media (max-width: 720px) {
  .facts-grid { grid-template-columns: 1fr; }
  .facts-table { display: block; overflow-x: auto; }
  .toc ul { columns: 1; }
  .page-head, .page-body { padding-left: 18px; padding-right: 18px; }
}
