@font-face {
  font-family: 'SUIT Variable';
  src: url('/fonts/suit/SUIT-Variable-v2.0.5.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'SB Aggro';
  src: url('/fonts/aggro/SB_Aggro_B.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-reading: 'SUIT Variable', 'Apple SD Gothic Neo', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html[lang='ja'] {
  --font-reading: 'Noto Sans JP', 'Noto Sans KR', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, system-ui, sans-serif;
}

body {
  font-family: var(--font-reading);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

html[lang='ko'] body {
  word-break: keep-all;
}

button, input, select {
  font-family: inherit;
}

.skip {
  top: 0;
  max-width: calc(100% - 16px);
  transform: translateY(-200%);
}

.skip:focus {
  transform: translateY(0);
}

h1, html[lang='en'] h1, html[lang='ja'] h1 {
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.35;
}

.question h2, .results-header h2, .pass-guide h2,
.guide-catalog h2, .related-guides h2 {
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.45;
}

.guide-hero h1 {
  line-height: 1.5;
}

html[lang='ko'] .intro-copy h1 > span,
html[lang='ko'] .results-header h2 {
  font-family: 'SB Aggro', var(--font-reading);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.5;
}

.guide-cards article, .guide-cards h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

html[lang='ja'] h1, html[lang='ja'] h2,
html[lang='ja'] h3, html[lang='ja'] h4 {
  letter-spacing: 0;
}

.pass-name h4, .pass-card-head h3, .guide-pass h3,
.guide-cards h3, .guide-points h2, .guide-answer h2 {
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.5;
}

.lede {
  letter-spacing: 0;
  line-height: 1.85;
}

.question .hint, .choice small, .callout, .why p,
.price-empty, .reference-price p, .need-note p,
.guide-lede, .guide-page .guide-points p, .guide-answer p,
.guide-page .guide-checks p, .guide-checks li, .guide-faq p {
  font-size: 15px;
  line-height: 1.85;
}

.ride-content > strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.guide-faq .studio-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ride-content p {
  font-size: 14px;
  line-height: 1.75;
}

.ride-meta, .ride-limit, .family-fields label, .school-label,
.composition, .composition li, .composition li span,
.composition .choice-group small, .family-summary,
.benefit, .match-list small {
  font-size: 14px;
  line-height: 1.75;
}

.small, .intro-note, .pass-info > .small, .vendor-note,
.quote-date, .price-diff, .reference-price, .reference-price span,
.affiliate-disclosure, .guide-source, .guide-photo figcaption,
.ride-guide-link > span, .price-heading > span,
.optional summary span, .quick span, footer, footer a {
  font-size: 13px;
  line-height: 1.8;
}

.pass-info > .small, .vendor-note {
  font-size: 14px;
}

.button, .text-button {
  font-weight: 700;
  letter-spacing: 0;
}

.vendor-card .button, .ride-filters .ride-filter {
  font-size: 14px;
  line-height: 1.5;
}

.language-switch {
  font-size: 13px;
}

.vendor-price {
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.date-input, .family-fields input, .fx-bar b {
  font-variant-numeric: tabular-nums;
}

.sticky span {
  font-size: 12px;
  letter-spacing: 0;
}

.sticky strong {
  font-size: 13px;
}

.sticky .button {
  font-size: 14px;
}

@media (max-width: 700px) {
  .question h2 {
    font-size: clamp(24px, 6.4vw, 28px);
  }

  .results-header h2 {
    font-size: clamp(26px, 7vw, 30px);
  }

  .ride-content > strong {
    font-size: 15px;
  }

  .choice strong {
    font-size: 16px;
  }

  .pass-name h4 {
    font-size: 25px;
  }
}
