:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --ink: #16213a;
  --ink-soft: #4e5a73;
  --line: #dde3ee;
  --brand: #1a5fd6;
  --brand-dark: #144aa8;
  --brand-soft: #e8f0fd;
  --ok: #1f8a4c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 33, 58, 0.10);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
.h-small { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-soft); }
.tiny { font-size: .8rem; color: var(--ink-soft); margin: 1rem 0 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .6rem;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.center { text-align: center; margin-top: 2rem; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 760px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand__mark { width: 32px; height: 32px; display: block; }
.brand__name { font-size: 1.12rem; }
.brand__name span { color: #1f9d55; }
.site-nav { display: flex; gap: 1.1rem; font-size: .92rem; }
.site-nav a { color: var(--ink-soft); text-decoration: none; }
.site-nav a:hover { color: var(--brand); }

/* hero */
.hero { background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); padding: 48px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .45rem; color: var(--ink-soft); }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--ok);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.3-4.3 4.3a1 1 0 0 1-1.4 0L4.3 8.9a1 1 0 1 1 1.4-1.4l1 1 3.6-3.6a1 1 0 0 1 1.4 1.4z"/></svg>') center / contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.3-4.3 4.3a1 1 0 0 1-1.4 0L4.3 8.9a1 1 0 1 1 1.4-1.4l1 1 3.6-3.6a1 1 0 0 1 1.4 1.4z"/></svg>') center / contain no-repeat;
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.card__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .4rem; }
.quiz h2 { font-size: 1.5rem; }
.quiz__actions { display: grid; gap: .75rem; margin-top: 1.2rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 1.4rem; border-radius: 10px; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; border: 2px solid transparent; transition: background .15s, border-color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand-soft); }
.btn--wide { min-width: 260px; }

/* sections */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--disclosure { padding: 32px 0 48px; font-size: .92rem; color: var(--ink-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding: 20px 20px 20px 64px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.steps__num {
  position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: 0; color: var(--brand); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin: .7rem 0 0; color: var(--ink-soft); }

.legal h1 { margin-bottom: .3em; }
.legal h2 { font-size: 1.2rem; margin-top: 1.8rem; }
.legal code { background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; font-size: .9em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 40px 0 28px; font-size: .9rem; color: var(--ink-soft); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.site-footer__brand, .site-footer__heading { font-weight: 700; color: var(--ink); }
.site-footer a { color: var(--ink-soft); }
.site-footer__fine { margin-top: 1.5rem; font-size: .82rem; }
.site-footer__copy { margin: 1rem 0 0; font-size: .82rem; }

@media (max-width: 860px) {
  .hero { padding: 32px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .steps, .benefits { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}

/* legal pages: tables and sub-headings */
.legal h3 { font-size: 1.02rem; margin: 1.2rem 0 .4rem; }
.legal table { width: 100%; border-collapse: collapse; margin: .8rem 0 1.2rem; font-size: .93rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
.legal th { background: var(--bg-alt); font-weight: 700; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .35rem; }
@media (max-width: 600px) {
  .legal table, .legal thead, .legal tbody, .legal th, .legal td, .legal tr { display: block; }
  .legal thead { display: none; }
  .legal td { border: 0; padding: .25rem 0; }
  .legal tr { border-bottom: 1px solid var(--line); padding: .6rem 0; }
}

/* home page */
.hero--home { padding-bottom: 56px; }
.hero__copy--center { max-width: 760px; margin: 0 auto; text-align: center; }
.hero__copy--center .lead { margin-bottom: 0; }
.catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 860px; margin: 36px auto 0; }
.catalog__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; }
.catalog__card h2 { font-size: 1.35rem; }
.catalog__card p { color: var(--ink-soft); flex: 1; }
.catalog__card .btn { align-self: flex-start; }
@media (max-width: 700px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog__card .btn { align-self: stretch; }
}
