:root { --canvas: #f3f6fa; --ink: #172033; --blue: #2466a8; --muted: #596a80; --line: #c4d6eb; --feedback-duration: 140ms; --feedback-ease: cubic-bezier(.2,0,0,1); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
.page { width: min(1180px, calc(100% - 80px)); min-height: 100svh; margin: auto; display: flex; flex-direction: column; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 80px; border-bottom: 1px solid var(--line); }
a { color: inherit; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 650; letter-spacing: -.045em; }
.brand img { display: block; }
.sign-in { display: flex; align-items: center; gap: 10px; min-height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font-size: 13px; transition: background var(--feedback-duration) var(--feedback-ease); }
.sign-in:hover { background: #e8eff7; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
main { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(32px, 6vw, 96px); flex: 1; padding: 56px 0 72px; }
h1 { margin: 0; font-size: clamp(76px, 8.5vw, 124px); font-weight: 600; line-height: .98; letter-spacing: -.075em; }
h1 span { display: block; color: var(--blue); margin-top: .08em; }
.waiting-scene { margin: 0; min-width: 0; }
.stage { position: relative; border-bottom: 1px solid #b4cbe5; }
.mascot-scene { width: 88%; margin-left: -10%; }
.mascot-scene svg { display: block; width: 100%; height: auto; margin-bottom: -6.25%; overflow: visible; }
.flag { position: absolute; right: 0; bottom: 0; width: 29%; height: 106px; border-left: 1px solid #b4cbe5; }
.flag span { display: flex; align-items: center; justify-content: center; width: 100%; height: 62px; margin-top: 4px; border: 1px solid #b4cbe5; background: var(--canvas); color: var(--blue); text-transform: uppercase; text-align: center; font: 11px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .035em; transform: rotate(-5deg); transform-origin: left center; }
figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; color: var(--muted); font: 11px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.smile { color: var(--blue); }
.bottom-rule { border-top: 1px solid var(--line); margin-bottom: 24px; }
@media (max-width: 700px) {
  .page { width: calc(100% - 40px); }
  .site-header { min-height: 64px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 24px; height: 24px; }
  .sign-in { min-height: 44px; }
  main { grid-template-columns: 1fr; align-content: center; gap: 16px; padding: 40px 0 44px; }
  h1 { font-size: clamp(58px, 15vw, 88px); line-height: 1; }
  h1 span { display: inline; margin: 0; }
  .waiting-scene { width: min(100%, 460px); justify-self: center; }
  .mascot-scene { width: 90%; margin-left: -9%; }
  .flag { height: 82px; width: 31%; }
  .flag span { height: 53px; font-size: 9px; }
  figcaption { font-size: 10px; padding-top: 18px; }
  .bottom-rule { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .sign-in { transition: none; } }
