:root {
  --bg: #f6f8fb;
  --bg-soft: #eef1f6;
  --surface: #ffffff;
  --surface-hover: #f6fafd;
  --border: #e2e8f0;
  --text: #131a26;
  --text-dim: #5c6878;
  --accent: #0d9488;
  --accent-soft: rgba(13, 148, 136, 0.09);
  --accent-2: #4f6ef7;
  --radius: 16px;
  --max-width: 960px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(13, 148, 136, 0.07), transparent 60%),
    radial-gradient(1000px 600px at 100% 10%, rgba(79, 110, 247, 0.06), transparent 55%),
    var(--bg);
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

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

/* ---------- Top bar ---------- */

header.topbar {
  padding: 28px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand .logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: block;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--text);
}

/* ---------- Hero / chooser ---------- */

main {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero {
  padding: 64px 0 80px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.subtitle {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ---------- Path cards ---------- */

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: left;
}

@media (max-width: 760px) {
  .path-grid {
    grid-template-columns: 1fr;
  }
}

.path-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(19, 26, 38, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.4);
  background: var(--surface-hover);
  box-shadow: 0 12px 28px rgba(19, 26, 38, 0.08);
}

.path-card .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.path-card .icon svg {
  width: 22px;
  height: 22px;
}

.path-card h2 {
  font-size: 1.1rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.path-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
}

.path-card .go {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.path-card .go svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.path-card:hover .go svg {
  transform: translateX(3px);
}

/* ---------- Content pages ---------- */

.page {
  padding-top: 48px;
  padding-bottom: 80px;
}

.page-header {
  margin-bottom: 40px;
}

.page-header .eyebrow {
  margin-bottom: 16px;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header .lead {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 640px;
}

.section {
  margin-bottom: 36px;
}

.section h2 {
  font-size: 1.15rem;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(19, 26, 38, 0.05);
}

.card + .card {
  margin-top: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.card p + p {
  margin-top: 10px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.steps li:last-child {
  margin-bottom: 0;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

/* ---------- Footer ---------- */

footer {
  padding: 28px 0 40px;
  color: var(--text-dim);
  font-size: 0.82rem;
  text-align: center;
}

footer a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

footer a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-note {
  margin: 0;
}

/* ---------- Legal pages ---------- */

.card a {
  color: var(--accent);
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}
