/* ============================================================
   IDoro — idoro.net marketing site
   Brand: navy #003366, gold #C5A059, warm paper #FDFCF8
   ============================================================ */

:root {
  --navy: #003366;
  --navy-deep: #002850;
  --ink: #16283d;
  --gold: #c5a059;
  --gold-soft: #e2cd9f;
  --paper: #fdfcf8;
  --paper-tint: #f5f2e9;
  --line: #e2ddd0;
  --muted: #5c6b7e;
  --muted-dark: #a9bdd4;

  --measure: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);

  --f-display: "Merriweather", Georgia, serif;
  --f-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.7vw, 2.5rem); max-width: 26ch; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.005em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.12em 0.4em;
  white-space: nowrap;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Nav ──────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 248, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 8px; }
.brand-word {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.brand-gold { color: var(--gold); }
.brand:hover { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.nav-links a:hover { color: var(--gold); }

@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--paper) !important;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms var(--ease), background 160ms var(--ease),
              border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 51, 102, 0.16);
}
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.9rem; }
.btn-lg { padding: 0.85rem 1.9rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; margin-top: auto; }

.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border-color: rgba(0, 51, 102, 0.28);
}
.btn-ghost:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold) !important;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(1100px 520px at 15% -12%, rgba(197, 160, 89, 0.16), transparent 62%),
    radial-gradient(900px 480px at 88% 0%, rgba(0, 51, 102, 0.09), transparent 60%),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 22%, var(--line) 78%, transparent);
}

.hero-inner { max-width: 900px; }

.tag {
  display: inline-block;
  margin: 0 0 1.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(197, 160, 89, 0.1);
  color: #8a6d2f;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lede {
  max-width: 62ch;
  margin-top: 1.6rem;
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
}
.lede-dark { color: var(--muted-dark); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.hero-note {
  margin-top: 1.9rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 58ch;
}

/* ── Proof band ───────────────────────────────────────────── */

.band {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.band-item { border-left: 2px solid var(--gold); padding-left: 1.1rem; }
.band-figure {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem);
  color: var(--gold);
  margin: 0 0 0.4rem;
  line-height: 1.1;
}
.band-label {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cbd8e6;
  margin: 0;
}
@media (max-width: 900px) { .band-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .band-grid { grid-template-columns: 1fr; } }

/* ── Sections ─────────────────────────────────────────────── */

.sec { padding: clamp(3.75rem, 8vw, 7rem) 0; }
.sec-tint { background: var(--paper-tint); }
.sec-dark { background: var(--navy); color: #cbd8e6; }
.sec-dark h2, .sec-dark h3 { color: var(--paper); }

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.sec-dark .eyebrow { color: var(--gold-soft); }

.rule {
  width: 132px;
  height: 2px;
  background: var(--gold);
  margin: 1.4rem 0 2.6rem;
}

.foot {
  margin-top: 2.2rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 74ch;
}
.sec-dark .foot { color: #9db2c9; }
.sec-dark code {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(197, 160, 89, 0.34);
  color: var(--gold-soft);
}

/* ── Grids / cards ────────────────────────────────────────── */

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  padding: 1.6rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease),
              border-color 200ms var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
  box-shadow: 0 14px 34px rgba(0, 51, 102, 0.08);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.card-plain { background: #fff; }
.sec-tint .card { background: #fff; }

.callout {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding: 1.35rem 1.6rem;
  border-left: 3px solid var(--gold);
  background: rgba(197, 160, 89, 0.09);
  border-radius: 0 12px 12px 0;
  font-size: 1.03rem;
  color: var(--ink);
  max-width: 78ch;
}
.callout strong { color: var(--navy); }

/* ── Steps ────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.steps li {
  padding-top: 1.35rem;
  border-top: 2px solid rgba(197, 160, 89, 0.4);
}
.step-n {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}
.steps h3 { margin-bottom: 0.55rem; }
.steps p { font-size: 0.95rem; color: #a9bdd4; margin: 0; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ── Pricing ──────────────────────────────────────────────── */

.tiers { align-items: stretch; }

.tier {
  display: flex;
  flex-direction: column;
  padding: 1.9rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.tier-feature {
  border-color: var(--gold);
  box-shadow: 0 18px 44px rgba(0, 51, 102, 0.1);
}

.badge {
  align-self: flex-start;
  margin: 0 0 0.9rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--navy);
  margin: 0.6rem 0 1.3rem;
  line-height: 1.1;
}
.price-unit {
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.tier ul {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.tier li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Standards chips ──────────────────────────────────────── */

.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.chips li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.chips strong {
  font-family: var(--f-display);
  font-size: 0.98rem;
  color: var(--navy);
}
.chips span { font-size: 0.9rem; color: var(--muted); }

/* ── Timeline ─────────────────────────────────────────────── */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
  border-left: 2px solid var(--line);
  display: grid;
  gap: 2rem;
}
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 8px);
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
}
.timeline li.done::before { background: var(--gold); border-color: var(--gold); }
.timeline li.now::before {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 0 0 5px rgba(0, 51, 102, 0.13);
}
.timeline h3 { margin-bottom: 0.35rem; }
.timeline p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ── Contact ──────────────────────────────────────────────── */

.contact .lede { margin-top: 0; }
.mail {
  margin-top: 2.2rem;
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1rem + 1.4vw, 1.9rem);
  font-weight: 700;
}
.mail a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid rgba(197, 160, 89, 0.4);
  padding-bottom: 2px;
  transition: border-color 180ms var(--ease);
}
.mail a:hover { border-bottom-color: var(--gold); }

/* ── Footer ───────────────────────────────────────────────── */

.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-tag {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
}
.footer-links a {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }

.footer-legal {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.footer-legal p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
