:root { color-scheme: light; background: #f7f8f4; }
body { margin: 0; font-synthesis: none; }
.ek-ui a { touch-action: manipulation; text-decoration: none; }
.ek-ui ::selection { background: var(--ek-blue-soft); }
.ek-ui p { line-height: 1.85; }
.ek-ui .skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 14px; background: var(--ek-ink); color: var(--ek-paper); border-radius: var(--ek-radius); }
.ek-ui .skip-link:focus { top: 12px; }
.portal-header, main, .portal-footer { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.portal-header { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.ek-ui .portal-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--ek-ink); font-size: 25px; font-weight: 750; letter-spacing: -1.2px; }
.ek-ui .portal-login-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; padding-inline: 8px; color: var(--ek-ink); font-size: 14px; }
.ek-ui .portal-login-link:hover { color: var(--ek-blue); }
.portal-hero { padding: 72px 0 58px; text-align: center; }
.portal-intro { color: var(--ek-muted); font-size: 13px; margin-bottom: 25px; }
.ek-ui h1 { font-size: clamp(44px, 6.2vw, 76px); letter-spacing: -.055em; font-weight: 550; line-height: 1.23; margin-bottom: 25px; }
.ek-ui h1 span { color: var(--ek-blue); }
.portal-lead { color: var(--ek-muted); font-size: 16px; margin-bottom: 30px; }
.portal-preview { width: min(100%, 960px); margin: 0 auto 88px; }
.portal-preview img, .portal-vocabulary-preview img { display: block; width: 100%; height: auto; background: var(--ek-paper); border: 1px solid var(--ek-line); border-radius: var(--ek-radius); }
.portal-preview figcaption, .portal-vocabulary-preview figcaption { padding-top: 13px; color: var(--ek-muted); font-size: 12px; text-align: center; }
.portal-method { padding-bottom: 72px; }
.portal-section-heading { margin-bottom: 32px; }
.ek-ui h2 { font-size: clamp(25px, 3vw, 32px); font-weight: 550; letter-spacing: -.035em; line-height: 1.45; margin-bottom: 13px; }
.portal-section-heading p, .portal-closing p, .portal-vocabulary-copy > p { color: var(--ek-muted); font-size: 14px; }
.portal-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.portal-steps li { border-top: 1px solid var(--ek-line); padding-top: 24px; }
.ek-ui h3 { font-size: 17px; font-weight: 550; line-height: 1.6; margin-bottom: 12px; }
.portal-steps p { color: var(--ek-muted); font-size: 13px; margin-bottom: 0; }
.portal-vocabulary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); align-items: center; gap: 100px; border-top: 1px solid var(--ek-line); padding: 64px 60px; }
.portal-vocabulary-copy { min-width: 0; }
.portal-vocabulary-copy .portal-intro { font-size: 12px; margin-bottom: 18px; }
.portal-vocabulary-copy h2 { margin-bottom: 24px; }
.portal-vocabulary-copy > p + p { margin-top: 16px; }
.portal-vocabulary-preview { width: 100%; margin: 0; }
.portal-closing { border-top: 1px solid var(--ek-line); text-align: center; padding: 70px 0 80px; }
.portal-closing p { margin-bottom: 25px; }
.portal-footer { display: flex; justify-content: space-between; align-items: center; min-height: 72px; border-top: 1px solid var(--ek-line); font-size: 12px; color: var(--ek-muted); }
.portal-footer span:first-child { color: var(--ek-ink); font-weight: 650; }
@media (max-width: 1000px) {
  .portal-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
  .portal-vocabulary { gap: 48px; padding-inline: 0; }
}
@media (max-width: 700px) {
  .portal-header, main, .portal-footer { width: calc(100% - 40px); }
  .portal-header { height: 82px; }
  .portal-hero { padding: 44px 0 40px; }
  .portal-intro { font-size: 12px; margin-bottom: 22px; }
  .portal-lead { font-size: 14px; }
  .portal-preview { margin-bottom: 52px; }
  .portal-preview figcaption, .portal-vocabulary-preview figcaption { font-size: 11px; }
  .portal-method { padding-bottom: 48px; }
  .portal-section-heading { margin-bottom: 25px; }
  .portal-steps { grid-template-columns: 1fr; gap: 24px; }
  .portal-steps li { padding-top: 20px; }
  .portal-steps p { font-size: 14px; }
  .portal-vocabulary { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .portal-vocabulary-preview { max-width: 390px; justify-self: center; }
  .portal-vocabulary-copy h2 br { display: none; }
  .portal-closing { padding: 45px 0 55px; }
  .portal-closing p { font-size: 14px; }
}
