/* Shared styles for /privacy/, /terms/ and /sms/. Tokens match website/index.html. */
:root {
  --sun-yellow: #FFD966;
  --royal-blue: #2E42C7;
  --royal-blue-deep: #23339E;
  --deep-navy: #1B2B3A;
  --bright-canvas: #FFFDF7;
  --paper-raised: #FFFFFF;
  --soft-card: #FBF6E4;
  --slate-secondary: #4A5560;
  --slate-faint: #7C8894;
  --inactive-dot: #E5E1D3;
  --shadow-sm: 0 1px 2px rgba(27, 43, 58, 0.05), 0 2px 6px rgba(27, 43, 58, 0.04);
  --shadow-md: 0 4px 10px rgba(27, 43, 58, 0.05), 0 14px 32px rgba(27, 43, 58, 0.07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bright-canvas);
  color: var(--deep-navy);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.topnav { border-bottom: 1px solid var(--inactive-dot); background: var(--bright-canvas); }
.topnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--deep-navy); text-decoration: none;
  font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 22px;
}
.logo-mark { width: 30px; height: 30px; }
.nav-link { color: var(--slate-secondary); text-decoration: none; font-size: 15px; }
.nav-link:hover { color: var(--royal-blue); }

main { padding: 48px 0 72px; }

h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600; font-size: 40px; line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 28px;
}
h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600; font-size: 24px; line-height: 1.25;
  margin: 44px 0 12px; scroll-margin-top: 16px;
}
h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }

p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 6px; }
li > ul { margin-top: 6px; margin-bottom: 6px; }
a { color: var(--royal-blue); text-underline-offset: 2px; }
a:hover { color: var(--royal-blue-deep); }
strong { font-weight: 700; }

.lead { font-size: 18px; color: var(--slate-secondary); margin-bottom: 8px; }

/* SMS page */
.facts {
  display: grid; grid-template-columns: max-content 1fr; gap: 0;
  background: var(--paper-raised); border: 1px solid var(--inactive-dot);
  border-radius: 14px; box-shadow: var(--shadow-sm); margin: 0 0 8px; overflow: hidden;
}
.facts dt, .facts dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--inactive-dot); }
.facts dt { font-weight: 700; padding-right: 28px; background: var(--soft-card); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
.steps li { margin-bottom: 10px; }

blockquote {
  margin: 0 0 16px; padding: 16px 20px;
  background: var(--soft-card); border-left: 4px solid var(--sun-yellow);
  border-radius: 0 12px 12px 0;
}
blockquote.sms { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14.5px; }

.phone-figure { margin: 8px 0 8px; display: flex; flex-direction: column; align-items: center; }
.phone-figure figcaption { color: var(--slate-faint); font-size: 13.5px; margin-top: 12px; text-align: center; }
.phone-mock {
  width: 300px; padding: 26px 22px 24px;
  background: var(--bright-canvas); border: 8px solid var(--deep-navy);
  border-radius: 36px; box-shadow: var(--shadow-md);
}
.pm-back { font-size: 30px; line-height: 1; color: var(--deep-navy); margin-bottom: 14px; }
.pm-title { font-weight: 700; font-size: 22px; margin-bottom: 6px; }
.pm-sub { font-size: 13px; color: var(--slate-secondary); line-height: 1.45; margin-bottom: 16px; }
.pm-input {
  border: 1.5px solid var(--inactive-dot); border-radius: 12px; background: #fff;
  padding: 13px 14px; font-size: 16px; color: var(--deep-navy);
}
.pm-btn {
  margin-top: 16px; background: var(--sun-yellow); color: var(--deep-navy);
  text-align: center; font-weight: 700; padding: 14px; border-radius: 12px;
}
.pm-consent { margin-top: 12px; font-size: 11.5px; line-height: 1.45; color: var(--slate-secondary); text-align: center; }
.pm-consent u { color: var(--royal-blue); }

footer { border-top: 1px solid var(--inactive-dot); padding: 28px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .copy { color: var(--slate-faint); font-size: 13.5px; }
footer .foot-links a { color: var(--slate-secondary); text-decoration: none; font-size: 13.5px; margin-left: 18px; }
footer .foot-links a:hover { color: var(--royal-blue); }

@media (max-width: 560px) {
  h1 { font-size: 32px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 4px; }
  .facts dd { padding-top: 4px; }
  footer .foot-links a { margin: 0 14px 0 0; }
}

/* Print / PDF: drop site chrome, keep the document. */
@media print {
  .topnav, footer { display: none; }
  main { padding: 0; }
  body { background: #fff; font-size: 11pt; line-height: 1.5; }
  h1 { font-size: 26pt; }
  h2 { font-size: 15pt; margin-top: 22px; break-after: avoid; }
  h3 { break-after: avoid; }
  li, p { orphans: 3; widows: 3; }
  a { color: inherit; text-decoration: none; }
}
