/**
 * Swappable brand font — change --font-family (and @font-face below) in ONE place.
 *
 * Current: Wanted Sans Variable v1.0.3 (Wanted Lab) — SIL Open Font License 1.1
 * Source: https://github.com/wanteddev/wanted-sans/releases/tag/v1.0.3
 * Self-hosted: /fonts/wanted-sans/WantedSansVariable.woff2 (+ OFL.txt)
 * Single variable file (~1.3MB complete) avoids multi-weight preload bursts;
 * font-display:swap keeps text visible while loading.
 */
@font-face {
  font-family: 'Wanted Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400 1000;
  src: url('/fonts/wanted-sans/WantedSansVariable.woff2') format('woff2-variations'),
       url('/fonts/wanted-sans/WantedSansVariable.woff2') format('woff2');
}

:root {
  --font-family: 'Wanted Sans', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --font-family-display: var(--font-family);
  --font-family-body: var(--font-family);
}

html {
  font-family: var(--font-family-body);
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

body {
  font-family: var(--font-family-body);
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-sub-headline,
.pricing-title,
.pricing-price,
.motto-text,
.blue-banner h2,
.newsletter-section h2 {
  font-family: var(--font-family-display);
  text-wrap: balance;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
}

p, li, td, th, label, .hero-description, .section-subtitle,
.pricing-note, .pricing-disclaimer, .faq-answer-content,
.feature-card p, .step-content p, .philosophy-content p,
.mission-content p, .opt-desc, .footer-desc, .contact-card-sub,
.legal p, .legal li, .legal td, .legal th, .legal code, a {
  text-wrap: pretty;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: anywhere;
}

/* Short compound units only — never on long hero phrases */
.nobr,
.dot-join {
  white-space: nowrap;
}

/* Email: break only at <wbr> after @; keep domain as one unit */
.email-safe {
  word-break: normal;
  overflow-wrap: normal;
  line-break: auto;
  font-size: clamp(12px, 3.2vw, 1em);
}
.email-safe .email-domain {
  white-space: nowrap;
}
