/* VerifySG — shared design system (gov-fintech, Singpass feel)
   Single source of truth. Served at /styles.css, <link>ed by every page. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #ffffff;
  --tint:  #f6f7f9;
  --tint2: #eef1f5;
  --ink:   #16181d;
  --muted: #5b6470;
  --faint: #8b93a1;
  --line:  #e3e6eb;
  --navy:  #1b2a4a;
  --navy-700: #14213a;
  --navy-tint: #eef1f7;
  --red:   #f4333d;
  --red-tint: #fdecec;
  --green: #1f9d57;
  --radius: 10px;
  --maxw: 1080px;
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.display {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.section-title { font-size: clamp(24px, 3vw, 32px); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-weight: 800; font-size: 20px; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.wordmark span { color: var(--navy); }
.wordmark b { color: var(--red); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff;
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--navy);
  cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--navy-700); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--ink);
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid var(--line);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.btn-outline:hover { border-color: var(--ink); background: var(--tint); text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.tint { background: var(--tint); }
.divider-top { border-top: 1px solid var(--line); }

/* ---- Surfaces (hairline, not shadow) ---- */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 32px;
}
.callout {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--red); border-radius: 12px; padding: 32px;
}

/* ---- Numbered step rows ---- */
.steps { border-top: 1px solid var(--line); }
.step-row {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--navy); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.step-row h3 { font-size: 17px; margin-bottom: 4px; }
.step-row p { color: var(--muted); font-size: 15px; }

/* ---- Status strip ---- */
.status-strip {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-size: 14px; color: var(--muted); background: var(--paper);
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); flex: none; }

/* ---- Pricing ---- */
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 36px; max-width: 460px;
}
.price-card .price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.price-card .per { color: var(--muted); font-size: 15px; }
.price-list { list-style: none; margin-top: 22px; }
.price-list li {
  padding: 9px 0; font-size: 15px; color: var(--ink);
  border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: baseline;
}
.price-list li::before { content: "\2713"; color: var(--green); font-weight: 700; }

/* ---- Forms ---- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.input, input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: inherit;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s;
}
.input:focus, input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-tint);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--tint); border-top: 1px solid var(--line);
  padding: 40px 0; color: var(--muted); font-size: 14px;
}
.site-footer a { color: var(--navy); }
.site-footer .foot-links { margin-top: 12px; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- Utility ---- */
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Responsive ---- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 48px 0; }
  .card, .callout, .price-card { padding: 24px; }
  .btn-row .btn, .btn-row .btn-outline { flex: 1 1 auto; }
}
