@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700;800&family=IBM+Plex+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f3f7fb;
  --bg-deep: #e9f0f7;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --panel-soft: #f8fbfe;
  --text: #132131;
  --muted: #5c6876;
  --brand: #274e70;
  --brand-2: #395f81;
  --accent: #0f766e;
  --accent-2: #5d4ae3;
  --accent-soft: #e7f5f3;
  --line: #d7e2ec;
  --shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --radius-sm: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.10), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(15, 118, 110, 0.10), transparent 20%),
    radial-gradient(circle at 50% 120%, rgba(93, 74, 227, 0.08), transparent 25%),
    linear-gradient(180deg, #eef4f9 0%, var(--bg) 240px);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 65%);
}
h1, h2, h3, .summary-title, .brand { font-family: 'Fraunces', Georgia, serif; letter-spacing: -0.03em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 247, 251, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(19, 33, 49, 0.08);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 800; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 14px; height: 14px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), #51c2ad); box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12); }
.nav { display: flex; flex-wrap: wrap; gap: 8px; }
.nav a { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; color: var(--text); font-size: 0.95rem; font-weight: 700; }
.nav a:hover { background: rgba(39, 78, 112, 0.08); text-decoration: none; }
.hero {
  position: relative; overflow: hidden; color: white; padding: 72px 0 56px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.16), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.12), transparent 24%),
    linear-gradient(135deg, #1f3448 0%, #355f80 100%);
}
.hero::after {
  content: ''; position: absolute; inset: auto -18% -40% auto; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), rgba(255,255,255,0) 65%);
  filter: blur(8px); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 24px; align-items: start; }
.hero h1 { margin: 0 0 16px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 0.98; }
.lead { margin: 0 0 24px; max-width: 62ch; font-size: clamp(1.05rem, 2vw, 1.18rem); color: rgba(235, 243, 250, 0.96); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; margin-bottom: 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #d8e8f7; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 800; text-decoration: none; transition: transform 0.16s ease, opacity 0.16s ease, background 0.16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); opacity: 0.96; }
.btn.primary { background: #ffffff; color: #173149; }
.btn.secondary { background: transparent; color: white; border-color: rgba(255, 255, 255, 0.2); }
.hero-card { position: relative; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); overflow: hidden; }
.hero-card::after { content: ''; position: absolute; inset: auto -20px -20px auto; width: 180px; height: 180px; border-radius: 999px; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 68%); pointer-events: none; }
.hero-card h2, .hero-card h3 { margin-top: 0; }
.hero-card ul { margin: 14px 0 0; padding-left: 18px; }
.hero-card li + li { margin-top: 10px; }
main { padding: 32px 0 56px; }
.section { position: relative; margin-top: 24px; padding: 28px; background: var(--panel); border: 1px solid rgba(19, 33, 49, 0.08); border-radius: var(--radius); box-shadow: var(--shadow); }
.section h2 { margin: 0 0 12px; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.section .intro { margin: 0 0 18px; max-width: 78ch; color: var(--muted); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--panel-soft); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--muted); }
.link { display: inline-flex; margin-top: 12px; color: var(--accent); font-weight: 800; }
.link:hover { text-decoration: underline; }
.tier { display: block; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.tier:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12); text-decoration: none; }
.tier-label { display: inline-flex; margin-bottom: 10px; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.tier-light { border-top: 4px solid #7bb3d8; }
.tier-medium { border-top: 4px solid #2f8e7f; }
.tier-full { border-top: 4px solid var(--accent-2); }
.accordion-grid { display: grid; gap: 12px; }
.accordion-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fbfdff, #f6fafc); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px;
  border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 800; cursor: pointer;
}
.accordion-trigger::after { content: '+'; font-size: 1.3rem; color: var(--accent); }
.accordion-panel { display: none; padding: 0 20px 18px; color: var(--muted); }
.accordion-panel[data-open] { display: block; }
.guide { overflow: hidden; margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #fbfdff, #f7fbfd); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.guide > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer; font-weight: 800; color: var(--text); }
.guide > summary::-webkit-details-marker { display: none; }
.guide > summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.guide[open] > summary { background: #eef8f7; border-bottom: 1px solid var(--line); }
.guide[open] > summary::after { content: '−'; }
.guide .panel { padding: 18px 20px 20px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding-left: 0; }
.steps li { position: relative; padding: 16px 16px 16px 54px; border: 1px solid var(--line); border-radius: 16px; background: #fbfdff; }
.steps li + li { margin-top: 10px; }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 900; font-size: 0.9rem;
}
.steps.compact li { padding: 14px 14px 14px 50px; }
.note { margin-top: 14px; padding: 16px 18px; border-left: 4px solid var(--accent); border-radius: 14px; background: linear-gradient(180deg, #f4fbf9, #eefaf7); color: #294642; }
.callout { padding: 18px 20px; border-left: 4px solid var(--accent-2); border-radius: 14px; background: linear-gradient(180deg, #f2f0ff, #f7f5ff); }
.clean-list { margin: 0; padding-left: 18px; }
.clean-list li + li { margin-top: 10px; }
.split { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; align-items: start; }
.sticky-note { position: sticky; top: 82px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, #f0f6ff, #f7fbff); }
.sticky-note h3 { margin-top: 0; }
.resource { display: block; height: 100%; }
.resource:hover { text-decoration: none; }
.resource p { margin-top: 8px; }
.footer { padding: 30px 0 46px; text-align: center; color: var(--muted); }
.footer strong { color: var(--text); }
.footer a { color: var(--brand); }
.home-section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.page-hero { padding: 46px 0 34px; }
.page-hero .hero-grid { grid-template-columns: 1.35fr 0.65fr; }
.page-hero .hero-card { background: rgba(255, 255, 255, 0.1); }
.hero-inline { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.chip { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.11); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.95); font-size: 0.85rem; font-weight: 700; }
.path-figure { display: grid; gap: 10px; margin-top: 8px; }
.path-step { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.10); }
.path-step strong { display: block; }
.path-step small { display: block; color: rgba(235,243,250,0.84); }
.path-step-label { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,0.12); font-weight: 900; }
.path-step-light .path-step-label { background: rgba(123,179,216,0.25); }
.path-step-medium .path-step-label { background: rgba(47,142,127,0.25); }
.path-step-full .path-step-label { background: rgba(93,74,227,0.25); }
.path-connector { width: 2px; height: 18px; margin-left: 15px; background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0.2)); }
.hero-note { margin: 12px 0 0; color: rgba(235,243,250,0.88); font-size: 0.94rem; }
@media (max-width: 960px) {
  .hero-grid, .grid.two, .grid.three, .split, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .sticky-note { position: static; }
}
@media (max-width: 640px) {
  .wrap { width: min(1160px, calc(100% - 24px)); }
  .hero { padding: 56px 0 44px; }
  .section, .hero-card { padding: 20px; }
  .nav a, .btn { width: 100%; }
  .actions { display: grid; }
  .steps li { padding-left: 48px; }
}
