.portal { background: #f5f7fb; }
.portal h2 { font-size: clamp(1.65rem, 2.6vw, 2.4rem); line-height: 1.2; letter-spacing: -.035em; }
.portal-hero { padding: 52px 0 44px; background: linear-gradient(120deg, #061936, #103c72); color: #fff; }
.portal-hero h1 { max-width: 1100px; font-size: clamp(2.35rem, 4vw, 3.75rem); line-height: 1.1; }
.portal-hero h1 span { color: #f5cb79; }
.portal-lead { max-width: 740px; font-size: 1.15rem; line-height: 1.8; color: #d4e0f2; }
.portal-cta { width: auto; gap: 24px; margin: 8px 0 24px; }
.portal-benefits { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .85rem; color: #d4e0f2; }
.portal-benefits span::before { content: "✓"; margin-right: 8px; color: #9dbbea; }
.portal-directions { padding-top: 52px; padding-bottom: 56px; }
.portal-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.portal-section-heading h2 { margin-bottom: 0; }
.portal-section-heading > p { margin: 0; color: #58677d; }
.portal-kicker { font-size: .73rem; letter-spacing: .09em; font-weight: 750; color: #546985; margin-bottom: 14px; }
.direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; perspective: 1500px; }
.direction-card { display: flex; flex-direction: column; position: relative; padding: 30px; border: 1px solid #d6e1ef; border-radius: 12px; background: #fff; color: #202b40; text-decoration: none; box-shadow: 0 12px 30px -20px #17396555; }
.direction-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.direction-card__number { display: grid; place-items: center; width: 64px; height: 64px; font: 700 1.5rem/1 system-ui, sans-serif; background: #eaf1fb; color: #345d9c; border: 1px solid #d2e0f4; border-radius: 14px; }
.direction-card__arrow { font-size: 1.6rem; color: #60789a; }
.direction-card h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 16px; }
.direction-card__description { color: #58677d; font-size: .95rem; margin-bottom: 32px; }
.direction-card__link { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid #d8e2ef; color: #2455a0; font-weight: 650; font-size: .9rem; }
.portal-how { padding-top: 36px; padding-bottom: 48px; border-top: 1px solid #dde5ef; }
.portal-how > h2 { max-width: 640px; }
.portal-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 20px 0 0; list-style: none; counter-reset: step; }
.portal-steps li { counter-increment: step; }
.portal-steps li::before { content: "0" counter(step); display: block; margin-bottom: 16px; color: #5475a5; font-weight: 700; }
.portal-steps h3 { font-size: 1.1rem; margin-bottom: 10px; }
.portal-steps p { color: #58677d; font-size: .95rem; }
.portal-faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; padding-top: 40px; padding-bottom: 72px; border-top: 1px solid #dde5ef; }
.portal-faq .faq-item { border: 0; border-bottom: 1px solid #dde5ef; }
.portal-faq .faq-item summary { padding: 18px 0; font-size: 1rem; }
.portal-faq .faq-item .rich-text { padding: 0 0 20px; }
[data-design="modern"] .portal-hero { background: radial-gradient(ellipse at 95% 20%, #d9e7ff, transparent 55%), linear-gradient(120deg, #f9fafc, #ecf1f9); color: #202b40; }
[data-design="modern"] .portal-hero h1 span { color: #315fa9; }
[data-design="modern"] .portal-lead, [data-design="modern"] .portal-benefits { color: #53627a; }
[data-design="modern"] .direction-card { border-radius: 22px; background: linear-gradient(150deg, #fff 35%, #eaf1fd); box-shadow: 0 24px 40px -25px #284e814d, 0 3px 0 #d8e3f1; transition: transform 200ms ease, box-shadow 200ms ease; }
[data-design="modern"] .direction-card:nth-child(2) { background: linear-gradient(150deg, #fff 35%, #eaf4ee); }
[data-design="modern"] .direction-card:nth-child(3) { background: linear-gradient(150deg, #fff 35%, #f0edfb); }
[data-design="modern"] .direction-card__number { transform: rotate(-6deg); box-shadow: 4px 5px 0 #d1deef, 8px 12px 20px #24497918; }
[data-design="modern"] .direction-card:nth-child(2) .direction-card__number { background: #e9f3ec; color: #37644c; border-color: #cfdfd4; box-shadow: 4px 5px 0 #cfdfd4, 8px 12px 20px #24497918; }
[data-design="modern"] .direction-card:nth-child(3) .direction-card__number { background: #eeeaf8; color: #66528a; border-color: #ddd5ec; box-shadow: 4px 5px 0 #ddd5ec, 8px 12px 20px #24497918; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-design="modern"] .direction-card:hover { transform: translateY(-6px) rotateX(2deg); box-shadow: 0 28px 44px -20px #284e8150, 0 3px 0 #d8e3f1; }
}
@media (max-width: 1000px) {
  .direction-grid { gap: 16px; }
  .direction-card { padding: 24px; }
  .portal-section-heading { align-items: start; flex-direction: column; }
  .portal-faq { gap: 32px; }
}
@media (max-width: 700px) {
  .portal-hero { padding: 40px 0; }
  .portal-hero h1 { font-size: 2.65rem; }
  .portal-lead { font-size: 1rem; }
  .direction-grid, .portal-steps, .portal-faq { grid-template-columns: 1fr; }
  .direction-card__top { margin-bottom: 28px; }
  .portal-directions { padding-top: 32px; padding-bottom: 36px; }
  .portal-steps { gap: 24px; }
  .portal-faq { padding-bottom: 40px; gap: 12px; }
}

.portal-subtitle { font-size: 1.12rem; font-weight: 600; color: inherit; }
.portal .portal-lead { margin-bottom: 20px; }
.portal-section-heading > h2 { margin-bottom: 0; }
.portal-section-heading > .rich-text { max-width: 460px; color: var(--muted); }
.direction-card h3 { font-size: clamp(1.2rem, 1.7vw, 1.65rem); line-height: 1.35; }
.direction-card__number img { width: 40px; height: 40px; object-fit: contain; }
.direction-card__link { font-size: .85rem; }
.portal-how > .rich-text { max-width: none; }
.portal-how ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-left: 24px; }
.portal-how li::marker { color: #5475a5; font-weight: 700; }
.portal-how li h3 { font-size: 1.1rem; }
.portal-how li p { color: var(--muted); }
[data-design="classic"] .portal-hero { background: #eef1f5; color: #26354c; }
[data-design="classic"] .portal-lead,
[data-design="classic"] .portal-benefits { color: #53627a; }
[data-design="classic"] .direction-card { box-shadow: none; }
@media (max-width: 700px) { .portal-how ol { grid-template-columns: 1fr; gap: 20px; } }
