:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #102f38;
  background: #e9f3f5;
  font-synthesis: none;
  --ink: #102f38;
  --muted: #5f7880;
  --paper: #e9f3f5;
  --white: #f9fcfc;
  --cyan: #069bd0;
  --line: #b9cfd4;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: var(--paper); }
body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, transparent 49.94%, rgba(16, 47, 56, 0.055) 50%, transparent 50.06%),
    linear-gradient(var(--paper), #edf6f7);
}

.page {
  position: relative;
  display: grid;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(26px, 5vw, 78px);
  grid-template-rows: 92px 1fr auto 62px;
}

.page::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(26px, 5vw, 78px);
  width: 1px;
  content: "";
  background: rgba(16, 47, 56, 0.1);
}

.header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 47, 56, 0.14);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #087fa9;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.wordmark img { width: 48px; height: 36px; object-fit: contain; }
.wordmark strong { color: var(--ink); font-weight: inherit; }

.release-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #45636b;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-chip i {
  width: 8px;
  height: 8px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

.hero {
  display: grid;
  min-height: 600px;
  align-items: center;
  gap: clamp(50px, 6vw, 100px);
  grid-template-columns: minmax(440px, 0.92fr) minmax(500px, 1.08fr);
  padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 86px);
}

.copy { position: relative; z-index: 2; padding-left: clamp(22px, 3vw, 42px); }

.kicker {
  display: flex;
  margin: 0 0 26px;
  align-items: center;
  gap: 13px;
  color: #237a94;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker::before { width: 36px; height: 2px; content: ""; background: var(--cyan); }

h1 {
  margin: 0;
  color: var(--ink);
  font-family: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(54px, 5.25vw, 82px);
  font-stretch: condensed;
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

h1 em { color: var(--cyan); font-style: normal; font-weight: 400; }

.intro {
  max-width: 520px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.connection { position: relative; min-height: 500px; }
.screen { position: absolute; border: 2px solid var(--ink); background: var(--white); }

.screen-back {
  top: 2%;
  right: 2%;
  width: 65%;
  height: 52%;
  border-color: #86a9b2;
  background: transparent;
}

.screen-back::after {
  position: absolute;
  right: 15%;
  bottom: -35px;
  width: 22%;
  height: 34px;
  border-right: 2px solid #86a9b2;
  border-bottom: 2px solid #86a9b2;
  border-left: 2px solid #86a9b2;
  content: "";
}

.screen-label, .screen-corner {
  position: absolute;
  top: 16px;
  color: #65858e;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.screen-label { left: 18px; }
.screen-corner { right: 18px; }

.screen-front {
  right: 18%;
  bottom: 1%;
  z-index: 2;
  display: grid;
  width: 67%;
  height: 58%;
  place-items: center;
  overflow: hidden;
  box-shadow: 18px 18px 0 #c7e0e4;
}

.screen-front::before {
  position: absolute;
  inset: 28px 0 0;
  content: "";
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(16, 47, 56, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 47, 56, 0.075) 1px, transparent 1px);
  background-size: 28px 28px;
}

.screen-front img {
  position: relative;
  z-index: 1;
  width: min(46%, 178px);
  height: auto;
  filter: drop-shadow(0 12px 14px rgba(0, 115, 155, 0.16));
}

.screen-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: 29px;
  align-items: center;
  gap: 5px;
  padding-left: 12px;
  border-bottom: 1px solid rgba(16, 47, 56, 0.18);
}

.screen-bar span { width: 5px; height: 5px; border: 1px solid #64838c; border-radius: 50%; }

.screen-caption {
  position: absolute;
  right: 17px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  gap: 5px;
  color: #66818a;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.screen-caption strong { color: #078bb8; font-weight: 700; }

.route {
  position: absolute;
  top: 42%;
  right: 6%;
  left: 0;
  z-index: 3;
  height: 2px;
  transform: rotate(-12deg);
  transform-origin: center;
}

.route-line {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 8px, transparent 8px 15px);
}

.route-pulse {
  position: absolute;
  top: -5px;
  left: 52%;
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan);
}

.endpoint {
  position: absolute;
  z-index: 4;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: var(--paper);
}

.endpoint-a { top: 49%; left: -5px; }
.endpoint-b { top: 33%; right: 4.5%; }

.notice {
  display: grid;
  min-height: 108px;
  align-items: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid rgba(16, 47, 56, 0.2);
  grid-template-columns: 72px 1fr auto;
}

.notice-index {
  color: var(--cyan);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 12px;
}

.notice strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 16px; font-weight: 650; }
.notice p { margin: 0; color: var(--muted); font-size: 13px; }

.notice-state {
  padding: 10px 14px;
  border: 1px solid var(--cyan);
  color: #087da6;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #718990;
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .page { grid-template-rows: 82px auto auto 76px; }
  .hero { min-height: auto; gap: 32px; grid-template-columns: 1fr; padding: 62px 0 50px; }
  .copy { padding-left: 22px; }
  h1 { font-size: clamp(54px, 9.5vw, 78px); }
  .connection { width: min(680px, 92%); min-height: 440px; margin: 0 0 0 auto; }
}

@media (max-width: 600px) {
  .page { padding: 0 19px; }
  .page::before { left: 19px; }
  .wordmark { font-size: 21px; }
  .wordmark img { width: 40px; }
  .release-chip { font-size: 9px; }
  .hero { padding-top: 44px; }
  .copy { padding-left: 16px; }
  .kicker { font-size: 9px; }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  .intro { margin-top: 24px; font-size: 16px; }
  .connection { width: 100%; min-height: 330px; }
  .screen-front { right: 10%; width: 78%; height: 58%; box-shadow: 11px 11px 0 #c7e0e4; }
  .screen-back { right: 0; width: 72%; }
  .notice { padding: 22px 0; gap: 12px 0; grid-template-columns: 42px 1fr; }
  .notice-state { grid-column: 2; justify-self: start; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
}

@media (prefers-reduced-motion: no-preference) {
  .route-pulse { animation: travel 3.8s ease-in-out infinite alternate; }
  @keyframes travel { from { left: 22%; } to { left: 78%; } }
}
