@import url('/assets/fonts/inter/font.css');

:root {
  --ink: #191c18;
  --muted: #5c625c;
  --cream: #fffaf0;
  --paper: #ffffff;
  --line: #191c18;
  --blue: #315ea8;
  --mint: #dcefe5;
  --yellow: #ffe48a;
  --soft-blue: #dfe8fb;
  --soft-coral: #f7ddd5;
  --max: 1420px;
  --hub-color: var(--soft-blue);
  --hub-accent: var(--blue);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: Inter, Arial, sans-serif; }
a { color: inherit; }
.site-nav { display: flex; width: min(var(--max), calc(100% - 48px)); min-height: 80px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 28px; padding: 16px 0; }
.site-nav nav { display: flex; align-items: center; gap: 24px; }
.page-width { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.eyebrow, .card-eyebrow, .status-label { display: block; font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }

.channel-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 70px; align-items: end; padding: 64px 0 58px; border-bottom: 2px solid var(--line); }
.channel-hero-copy { position: relative; z-index: 1; min-width: 0; }
.channel-hero h1 { max-width: 920px; margin: 16px 0 22px; font-size: clamp(3.75rem, 7.35vw, 7.25rem); line-height: .88; letter-spacing: -.065em; text-wrap: balance; }
.channel-hero-description { max-width: 790px; margin: 0; color: #414841; font-size: clamp(1.15rem, 1.7vw, 1.42rem); line-height: 1.55; }
.channel-hero-support { margin: 17px 0 0; font-size: 1rem; font-weight: 850; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.primary-action, .secondary-action { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 19px; border: 2px solid var(--line); font-weight: 900; text-decoration: none; }
.primary-action { background: #315ea8; color: #fff; box-shadow: 6px 6px 0 var(--line); }
.secondary-action { background: #fff; }

.hero-note { display: flex; gap: 16px; padding: 28px; border: 2px solid var(--line); background: #fff; box-shadow: 8px 8px 0 var(--line); }
.hero-note p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.maker-mark { display: grid; flex: 0 0 48px; width: 48px; height: 45px; place-items: center; border: 2px solid var(--line); border-radius: 52% 48% 43% 57%; background: var(--yellow); box-shadow: 3px 3px 0 var(--line); font-weight: 950; transform: rotate(-6deg); }

.content-section { padding: clamp(62px, 7vw, 100px) 0; }
.content-section + .content-section { border-top: 2px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 48px; align-items: end; margin-bottom: 36px; }
.section-heading h2, .faq-section h2 { max-width: 960px; margin: 13px 0 0; font-size: clamp(2.7rem, 5.2vw, 5rem); line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.6; }

.direction-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.direction-card { display: flex; min-height: 460px; flex-direction: column; padding: clamp(26px, 3vw, 42px); border: 2px solid var(--line); background: var(--card-color); box-shadow: 9px 9px 0 var(--line); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.direction-card:hover { transform: translate(-3px, -3px); box-shadow: 12px 12px 0 var(--line); }
.direction-card-top, .system-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.number-badge { display: grid; width: 54px; height: 51px; flex: 0 0 auto; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: #fff; font-size: .8rem; font-weight: 950; }
.status-label { color: var(--card-accent, var(--hub-accent)); }
.direction-card .card-eyebrow { max-width: 620px; margin-top: auto; padding-top: 70px; color: #475047; line-height: 1.45; }
.direction-card h3 { margin: 12px 0 16px; font-size: clamp(2.6rem, 4.4vw, 4.8rem); line-height: .91; letter-spacing: -.06em; }
.direction-card p { max-width: 650px; margin: 0 0 34px; color: #414841; font-size: 1.05rem; line-height: 1.58; }
.direction-card strong { margin-top: auto; font-size: 1rem; }

.featured-section { background: #fff; }
.system-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.system-card { display: flex; min-height: 380px; flex-direction: column; padding: 26px; border: 2px solid var(--line); background: #fff; box-shadow: 7px 7px 0 var(--line); text-decoration: none; }
.system-card:nth-child(4n + 1) { background: #eef5ff; }
.system-card:nth-child(4n + 2) { background: #fff2d2; }
.system-card:nth-child(4n + 3) { background: #e5f3e9; }
.system-card:nth-child(4n + 4) { background: #f8e4df; }
.system-card .card-eyebrow { margin-top: 54px; color: var(--muted); line-height: 1.4; }
.system-card h3 { margin: 10px 0 13px; font-size: clamp(1.65rem, 2.1vw, 2.35rem); line-height: .98; letter-spacing: -.045em; }
.system-card p { margin: 0 0 30px; color: #4b524c; line-height: 1.55; }
.planned-note, .text-link { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(25, 28, 24, .35); font-size: .87rem; font-weight: 850; }

.benefit-section { background: var(--cream); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--line); background: #fff; }
.benefit-card { min-height: 250px; padding: 30px; }
.benefit-card + .benefit-card { border-left: 1px solid var(--line); }
.benefit-number { color: var(--hub-accent, var(--blue)); font-weight: 950; }
.benefit-card h3 { margin: 38px 0 10px; font-size: 1.45rem; letter-spacing: -.025em; }
.benefit-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.steps-grid { margin: 0; padding: 0; list-style: none; }
.step-row { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.step-row:last-child { border-bottom: 1px solid var(--line); }
.step-number { font-size: 2rem; font-weight: 950; }
.step-row h3 { margin: 2px 0 8px; font-size: 1.55rem; }
.step-row p { max-width: 800px; margin: 0; color: var(--muted); line-height: 1.6; }

.faq-section { padding-bottom: clamp(74px, 9vw, 130px); }
.faq-list { max-width: 980px; margin-top: 35px; border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); background: #fff; }
.faq-item summary { padding: 24px 4px; font-size: 1.1rem; font-weight: 900; cursor: pointer; }
.faq-item summary::marker { color: var(--hub-accent, var(--blue)); }
.faq-item p { max-width: 820px; margin: 0; padding: 0 4px 26px 24px; color: var(--muted); line-height: 1.65; }

.hub-intro { display: inline-flex; margin-top: 27px; padding: 10px 14px; border: 2px solid var(--line); background: #fff; font-size: .85rem; font-weight: 850; }
.hub-system-section { background: #fff; }
.hub-system-section .system-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-system-section .system-card { min-height: 410px; }

:focus-visible { outline: 3px solid #2457f5; outline-offset: 4px; }

@media (max-width: 1080px) {
  .channel-hero { grid-template-columns: 1fr; gap: 40px; }
  .system-grid, .hub-system-section .system-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: 390px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }
  .benefit-card + .benefit-card { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 620px) {
  .site-nav, .page-width { width: calc(100% - 24px); }
  .site-nav { min-height: 68px; gap: 12px; padding-block: 12px; }
  .site-nav nav { gap: 9px; }
  .site-nav nav a:not(.nav-pill) { display: none; }
  .channel-hero { padding: 54px 0 48px; }
  .channel-hero h1 { font-size: clamp(3.15rem, 15vw, 4.25rem); }
  .channel-hero-description { font-size: 1.05rem; }
  .hero-actions a { width: 100%; }
  .content-section { padding-block: 54px; }
  .section-heading h2, .faq-section h2 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
  .direction-card { min-height: 365px; padding: 23px; box-shadow: 6px 6px 0 var(--line); }
  .direction-card .card-eyebrow { padding-top: 48px; }
  .direction-card h3 { font-size: 2.7rem; }
  .system-grid, .hub-system-section .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 330px; padding: 23px; box-shadow: 5px 5px 0 var(--line); }
  .system-card .card-eyebrow { margin-top: 44px; }
  .step-row { grid-template-columns: 58px 1fr; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .direction-card { transition: none; }
}
