:root {
  color-scheme: light;
  --ink: #252331;
  --muted: #62616c;
  --purple: #6c4099;
  --line: #e9e6ee;
  font-family: "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
.brand-rule { height: 3px; background: var(--purple); }
.site-shell {
  max-width: 1560px;
  height: calc(100vh - 3px);
  height: calc(100dvh - 3px);
  margin: 0 auto;
  padding-inline: 6.25%;
  display: grid;
  grid-template-rows: clamp(64px, 12dvh, 104px) minmax(0, 1fr) clamp(44px, 8dvh, 68px);
}
.skip-link { position: fixed; left: 20px; top: -70px; z-index: 20; background: var(--ink); color: #fff; padding: 14px 20px; text-decoration: none; }
.skip-link:focus { top: 16px; }
.site-header { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { flex-shrink: 0; line-height: 0; }
.brand svg { display: block; width: clamp(230px, 20vw, 280px); max-width: 100%; height: auto; }
.header-notice { display: inline-flex; align-items: center; gap: 9px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; letter-spacing: .12em; color: #7b7586; }
.header-mark { display: block; width: 5px; height: 5px; background: #ad9cc5; }
.main { min-height: 0; min-width: 0; display: grid; align-items: center; padding-block: clamp(12px, 4dvh, 42px); outline: none; }
.maintenance { width: 100%; height: 100%; max-height: 530px; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3%; align-items: center; }
.maintenance-copy { min-width: 0; position: relative; z-index: 1; }
.notice-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(15px, 3dvh, 26px); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 9px; line-height: 1.5; letter-spacing: .13em; color: #706779; }
.notice-dot { width: 6px; height: 6px; border-radius: 1px; background: #a27a32; flex-shrink: 0; }
h1 { font-size: clamp(34px, min(4.55vw, 7.8dvh), 66px); line-height: 1.12; letter-spacing: -.048em; font-weight: 600; margin: 0 0 clamp(16px, 2.9dvh, 26px); }
h1 > span { display: block; }
.heading-accent { color: var(--purple); }
.description { max-width: 390px; margin: 0; color: #5e5d68; font-size: 15px; line-height: 1.8; }
.appreciation { max-width: 390px; margin: 15px 0 0; color: #77717f; font-size: 13px; line-height: 1.8; }
.actions { margin-top: clamp(18px, 3.5dvh, 30px); }
.refresh-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding: 0 21px; background: #33263f; color: #fff; border: 1px solid #33263f; border-radius: 4px; font-size: 12px; font-weight: 500; transition: background .15s, border-color .15s; }
.refresh-button:hover { background: #5b3782; border-color: #5b3782; }
.refresh-button:active { background: #3f2a57; }
.refresh-button:disabled { opacity: .75; cursor: wait; }
.technology-visual { min-width: 0; min-height: 0; width: 100%; height: 100%; max-height: 520px; position: relative; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) 32px; }
.technology-svg { display: block; min-height: 0; width: 100%; height: 100%; }
.signal { stroke-dasharray: 8 100; stroke-dashoffset: 8; }
.core-arrival-glow, .core-arrival-outline { pointer-events: none; }
.visual-controls { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding-right: 4%; min-height: 0; }
.visual-rule { height: 1px; width: 26px; background: #d4c9e1; }
.motion-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 32px; padding: 0 4px; border: 0; background: transparent; font-size: 9px; color: #766b80; border-radius: 3px; }
.motion-button:hover { color: var(--purple); }
.technology-visual[data-motion="playing"] .play-icon, .technology-visual[data-motion="paused"] .pause-icon { display: none; }
.site-footer { min-width: 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #7e7786; font-size: 10px; line-height: 1.6; }
.site-footer p { margin: 0; }
.footer-descriptor { letter-spacing: .015em; }
@media (max-width: 1050px) {
  .site-shell { padding-inline: 5.5%; }
  .description { font-size: 14px; max-width: 350px; }
  .appreciation { font-size: 12px; }
  .notice-label { font-size: 8px; }
}
@media (max-width: 700px) {
  .site-shell { padding-inline: 7%; grid-template-rows: clamp(58px, 10dvh, 78px) minmax(0, 1fr) clamp(46px, 7dvh, 58px); }
  .brand svg { width: clamp(195px, 53vw, 235px); }
  .header-notice { display: none; }
  .main { padding-block: clamp(10px, 2.2dvh, 20px); }
  .maintenance { max-height: none; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; }
  .notice-label { font-size: 8px; margin-bottom: 14px; }
  h1 { font-size: clamp(32px, min(9.1vw, 6.8dvh), 46px); margin-bottom: 17px; }
  .description { max-width: 405px; font-size: 13px; line-height: 1.7; }
  .appreciation { margin-top: 11px; font-size: 11px; line-height: 1.7; }
  .actions { margin-top: 18px; }
  .refresh-button { min-height: 42px; font-size: 11px; }
  .technology-visual { max-width: 430px; max-height: none; justify-self: center; grid-template-rows: minmax(0, 1fr) 28px; }
  .motion-button { min-height: 28px; }
  .site-footer { flex-direction: column; justify-content: center; gap: 3px; text-align: center; font-size: 9px; }
}
@media (max-height: 620px) and (min-width: 701px) {
  .main { padding-block: 12px; }
  .notice-label { margin-bottom: 13px; font-size: 8px; }
  h1 { font-size: clamp(29px, 7.3dvh, 43px); margin-bottom: 16px; }
  .description { font-size: 13px; line-height: 1.65; }
  .appreciation { font-size: 11px; line-height: 1.6; margin-top: 10px; }
  .actions { margin-top: 16px; }
  .refresh-button { min-height: 40px; font-size: 11px; }
}
@media (max-height: 580px) and (max-width: 700px) {
  .site-shell { grid-template-rows: 56px minmax(0, 1fr) 44px; }
  .main { padding-block: 9px; }
  .notice-label { font-size: 7px; margin-bottom: 10px; }
  h1 { font-size: 32px; margin-bottom: 12px; }
  .description { font-size: 12px; line-height: 1.6; }
  .appreciation { font-size: 10px; margin-top: 8px; }
  .actions { margin-top: 12px; }
  .refresh-button { min-height: 38px; font-size: 10px; }
  .maintenance { gap: 5px; }
}
@media (max-height: 450px) and (min-aspect-ratio: 1/1) {
  .site-shell { grid-template-rows: 54px minmax(0, 1fr) 36px; }
  .brand svg { width: 200px; }
  .main { padding-block: 9px; }
  .maintenance { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 3%; }
  .notice-label { font-size: 7px; margin-bottom: 9px; }
  h1 { font-size: clamp(25px, 7.5dvh, 32px); margin-bottom: 10px; }
  .description { font-size: 11px; line-height: 1.5; }
  .appreciation { display: none; }
  .actions { margin-top: 12px; }
  .refresh-button { min-height: 35px; font-size: 10px; }
  .site-footer { flex-direction: row; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
