:root {
  --bg: #0b1220;
  --surface: #151e31;
  --border: #24304a;
  --text: #f4f6fa;
  --muted: #a3aec4;
  --subtle: #6f7a92;
  --gold: #f2b544;
  --gold-tint: rgba(242, 181, 68, 0.12);
  --radius: 20px;
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1.125rem;
  margin: 1.75rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.4rem;
}

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

strong {
  color: var(--text);
}

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

/* Header on inner pages */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

main {
  padding: 40px 0 64px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Landing page */
.hero {
  text-align: center;
  padding: 56px 0 24px;
}

.hero-icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 0 0 1px var(--border), 0 18px 60px rgba(242, 181, 68, 0.18);
  margin-bottom: 28px;
}

.tagline {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.lede {
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 26px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: var(--gold-tint);
  color: var(--text);
  line-height: 1.25;
}

.badge small {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge span {
  font-size: 1.15rem;
  font-weight: 700;
}

.features {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  gap: 14px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold-tint);
  color: var(--gold);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 0 0 4px;
}

.feature p {
  margin: 0;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }

  .features .feature:last-child {
    grid-column: 1 / -1;
  }
}

/* Cards and callouts */
.card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}

.card h3 {
  margin-top: 0;
}

.card p:last-child,
.card ol:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.crisis {
  border-color: var(--gold);
  background: var(--gold-tint);
}

.crisis-lines {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.crisis-line {
  display: block;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.crisis-line > span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.95rem;
}

@media (min-width: 600px) {
  .crisis-lines {
    grid-template-columns: 1fr 1fr;
  }
}

.notice {
  padding: 16px 20px;
  border: 1px dashed var(--gold);
  border-radius: 14px;
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 0.95rem;
  color: var(--subtle);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 12px;
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
}

.site-footer nav a:hover,
.site-footer nav a[aria-current='page'] {
  color: var(--gold);
}

.nowrap {
  white-space: nowrap;
}

/* Privacy policy table: scrolls sideways on narrow phones instead of squeezing. */
.table-scroll {
  overflow-x: auto;
  margin: 0 0 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--text);
  background: var(--surface);
}

tr:last-child td {
  border-bottom: none;
}
