:root {
  color-scheme: light;
  --navy: #153e4b;
  --navy-deep: #102f3c;
  --teal: #268d88;
  --teal-light: #d9efea;
  --coral: #ee926e;
  --blue: #62a6c7;
  --paper: #f5f8f4;
  --ink: #25424b;
  --muted: #617980;
  --line: #dbe5df;
  --error: #ad423b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.page-shell { max-width: 1220px; margin: 0 auto; padding: 30px 42px 22px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); font-weight: 650; font-size: 17px; line-height: 1.3; letter-spacing: -.025em; }
.brand-mark { display: flex; align-items: flex-end; gap: 4px; height: 33px; width: 34px; }
.brand-mark span { width: 8px; border-radius: 2px 2px 0 0; }
.brand-mark span:nth-child(1) { height: 24px; background: var(--blue); }
.brand-mark span:nth-child(2) { height: 33px; background: var(--coral); }
.brand-mark span:nth-child(3) { height: 20px; background: var(--teal); }
.brief-link { font-size: 13px; font-weight: 550; text-decoration: none; display: inline-flex; gap: 9px; align-items: center; padding: 10px 0; }
.brief-link:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.welcome-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(345px, 1fr); gap: 66px; align-items: center; padding: 62px 0 45px; }
.hero { min-width: 0; }
.eyebrow { margin: 0 0 15px; color: var(--teal); font-size: 12px; line-height: 1.5; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--navy-deep); font-size: clamp(36px, 4.2vw, 51px); line-height: 1.1; letter-spacing: -.045em; font-weight: 650; }
.hero-copy { max-width: 455px; font-size: 15px; line-height: 1.75; color: var(--muted); margin: 19px 0 0; }
.architecture { margin: 23px -12px 0 -35px; }
.architecture svg { display: block; width: 100%; height: auto; }
.architecture .diagram-label { fill: var(--navy); font-family: inherit; }
.diagram-caption { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: -13px 0 0 34px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.diagram-caption span { display: inline-flex; align-items: center; gap: 7px; }
.diagram-caption i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.diagram-caption span:nth-child(2) i { background: var(--teal); }
.checkin-panel { position: relative; background: #ffffff; border: 1px solid var(--line); border-radius: 26px; padding: 33px; box-shadow: 0 16px 55px rgba(19, 62, 59, .065); }
.panel-accent { display: flex; gap: 4px; margin-bottom: 25px; }
.panel-accent span { width: 27px; height: 4px; border-radius: 4px; background: var(--blue); }
.panel-accent span:nth-child(2) { background: var(--coral); width: 42px; }
.panel-accent span:nth-child(3) { background: var(--teal); width: 23px; }
.checkin-panel h2 { font-size: 25px; line-height: 1.2; font-weight: 650; letter-spacing: -.035em; color: var(--navy); margin: 0 0 9px; }
.panel-copy { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 25px; }
.checkin-form { display: flex; flex-direction: column; gap: 17px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--navy); }
.field input { width: 100%; height: 48px; padding: 11px 13px; border: 1px solid #cedbd6; border-radius: 9px; background: #fbfcfa; color: var(--navy); font-size: 16px; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--teal); background: #ffffff; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; font-size: 12px; line-height: 1.5; color: var(--error); }
.enter-button { border: 0; border-radius: 10px; width: 100%; min-height: 50px; margin-top: 4px; padding: 12px 17px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: var(--navy); color: #ffffff; font-size: 15px; font-weight: 600; transition: background .15s; }
.enter-button:hover:not(:disabled) { background: var(--teal); }
.enter-button:disabled { opacity: .65; cursor: wait; }
.button-arrow { font-size: 22px; font-weight: 400; line-height: 1; }
.privacy-copy { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 1px 0 0; }
.form-status { min-height: 18px; font-size: 12px; line-height: 1.6; margin: -5px 0 0; color: var(--teal); }
.form-error { border-left: 3px solid var(--error); background: #fff4ef; color: var(--error); font-size: 13px; line-height: 1.65; padding: 9px 12px; margin: 0; }
.return-notice { margin: 0 0 18px; padding: 10px 12px; background: var(--teal-light); border-radius: 8px; color: var(--navy); font-size: 13px; line-height: 1.6; }
.no-script { display: block; padding: 11px 13px; background: #fff4ef; color: var(--error); font-size: 13px; line-height: 1.6; margin-top: 14px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; line-height: 1.6; }
[hidden] { display: none !important; }
@media (max-width: 1000px) {
  .page-shell { padding: 25px 28px 20px; }
  .welcome-layout { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(325px, 1fr); }
  .checkin-panel { padding: 27px; }
  .hero h1 { font-size: 39px; }
}
@media (max-width: 760px) {
  .page-shell { padding: 22px 20px 18px; max-width: 560px; }
  .brand { font-size: 15px; gap: 11px; }
  .brief-link { font-size: 12px; }
  .welcome-layout { display: flex; flex-direction: column; gap: 35px; padding: 30px 0 31px; }
  .checkin-panel { order: 1; width: 100%; padding: 27px; border-radius: 22px; }
  .hero { order: 2; width: 100%; }
  .hero h1 { font-size: 36px; }
  .hero-copy { font-size: 14px; }
  .architecture { margin: 9px -10px 0 -20px; }
  .diagram-caption { margin: -6px 0 0; gap: 9px 15px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 370px) {
  .page-shell { padding-inline: 16px; }
  .checkin-panel { padding: 23px; }
  .brief-link { max-width: 80px; text-align: right; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
