/* Shared styles for the public site. Tokens mirror constants/theme.ts in the app. */
:root {
  --primary: #00335A;
  --primary-mid: #0966AE;
  --primary-light: #2189D8;
  --primary-ghost: #A8D9FE;
  --text-dark: #101C26;
  --text-mid: #374956;
  --text-light: #91A0AC;
  --border: #C0CCD6;
  --bg: #EFF3F6;
  --white: #fff;
  --success: #31CE20;
  --success-dark: #0A6600;
  --error: #CD2424;
  --warning: #C9571E;
  --pnp-red: #E2001A;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(16,28,38,.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-mid); }

/* ── Header ── */
.site-head {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  padding: 14px 20px;
}
.site-head-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
}
.site-head img.logo { height: 38px; }
.site-head .titles { flex: 1; text-align: right; line-height: 1.25; }
.site-head .titles strong { display: block; font-size: 13px; color: var(--primary); }
.site-head .titles span { font-size: 11px; color: var(--text-light); }
.site-head img.mango { height: 38px; }

/* ── Layout ── */
.wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); margin-bottom: 20px;
}

h1 { font-size: 27px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.3px; }
h2 { font-size: 18px; font-weight: 700; margin: 30px 0 8px; color: var(--primary); }
h3 { font-size: 15px; font-weight: 700; margin: 20px 0 6px; }
p  { margin: 0 0 14px; color: var(--text-mid); }
ul { color: var(--text-mid); padding-left: 20px; }
li { margin-bottom: 7px; }
.lead { font-size: 16px; color: var(--text-mid); }
.muted { color: var(--text-light); font-size: 13px; }

/* ── Hero ── */
.hero {
  background: var(--primary); color: var(--white);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; margin-bottom: 22px;
}
.hero img { width: 150px; margin-bottom: 14px; }
.hero h1 { color: var(--white); }
.hero p { color: var(--primary-ghost); margin-bottom: 0; }

.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.step { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.step .num {
  width: 30px; height: 30px; border-radius: 15px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; margin-bottom: 10px;
}
.step h3 { margin-top: 0; }
.step p { margin-bottom: 0; font-size: 14px; }

/* ── Forms & buttons ── */
label { display: block; font-size: 13px; font-weight: 600; color: var(--text-mid); margin: 16px 0 6px; }
input {
  width: 100%; padding: 13px 14px; font-family: inherit; font-size: 15px;
  border: 1.5px solid var(--border); border-radius: 10px; background: var(--white);
}
input:focus { outline: none; border-color: var(--primary-light); }

.btn {
  display: inline-block; width: 100%; text-align: center;
  background: var(--primary); color: #fff; border: 0; border-radius: 10px;
  padding: 14px 20px; font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; margin-top: 18px; text-decoration: none;
}
.btn:hover { background: var(--primary-mid); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn.ghost { background: none; color: var(--primary); border: 1.5px solid var(--primary); }

/* ── Status blocks ── */
.note { border-radius: 10px; padding: 14px 16px; margin: 16px 0; font-size: 14px; border-left: 3px solid; }
.note.ok   { background: #E7F9E5; border-color: var(--success); color: var(--success-dark); }
.note.err  { background: #FDEAEA; border-color: var(--error); color: #6B0404; }
.note.warn { background: #FFF8E1; border-color: var(--warning); color: #6B2705; }

.center { text-align: center; }
.icon-circle {
  width: 68px; height: 68px; border-radius: 34px; background: var(--bg);
  display: grid; place-items: center; margin: 0 auto 16px; font-size: 30px;
}

/* ── Footer ── */
.site-foot {
  border-top: 1px solid var(--border); margin-top: 20px;
  padding: 24px 20px 40px; text-align: center;
}
.site-foot a { margin: 0 9px; font-size: 13px; font-weight: 600; text-decoration: none; }
.site-foot p { font-size: 12px; color: var(--text-light); margin-top: 12px; }

.toc a { display: block; padding: 3px 0; font-size: 14px; }
