/* Eirene website: layout A "Signal" (chosen 2026-11-23). Colours = the Eirene design package:
   ink #0F1B33, signal #FF6B3D (shapes only: it is too light for text on white), paper #F5F6F8,
   border #E1E5EC / #D7DCE4, muted text #4B5563. Most layout lives in the page's own style attributes. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: #0F1B33; font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif; }
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; } /* Korean breaks between words, never inside one */
a { color: #0F1B33; text-decoration: none; }
a:hover { color: #4B5563; }
a:focus-visible { outline: 3px solid #FF6B3D; outline-offset: 3px; border-radius: 6px; }
.dark a { color: #FFFFFF; }
.dark a:hover { color: #D7DCE4; }
.skip { position: absolute; left: -9999px; top: 8px; background: #FFFFFF; padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }
@media (max-width: 760px) {
  .cols { grid-template-columns: 1fr !important; }
  .hide-s { display: none !important; }
  .h1 { font-size: 44px !important; line-height: 50px !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Motion (2026-11-23, his pick "scroll reveal"): CSS only, no script. Cards and buttons lift on hover; headings,
   cards and plan steps rise in as they scroll into view (browsers without scroll timelines just show them);
   nothing moves for people who turn motion off. */
.lift, .btn { transition: transform .22s ease, box-shadow .22s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15, 27, 51, .12); }
.btn { display: inline-block; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: rise .7s ease-out both; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@media (prefers-reduced-motion: reduce) { .lift, .btn { transition: none; } .lift:hover, .btn:hover { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
