:root {
  color-scheme: light;
  --ink: #103f50;
  --ink-soft: #55717b;
  --paper: #f5f7f6;
  --surface: #ffffff;
  --teal: #2f929d;
  --line: #cfdddf;
  --shadow: 0 18px 55px rgba(15, 63, 80, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { width: 100%; min-width: 320px; height: 100%; margin: 0; overflow: hidden; }

body { background: var(--paper); color: var(--ink); }

button, a { font: inherit; }

.presentation {
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr) 64px;
  width: 100%;
  height: 100dvh;
  padding: 0 18px;
}

.presentation__header,
.presentation__controls {
  display: flex;
  align-items: center;
  width: min(1520px, 100%);
  margin: auto;
}

.presentation__header { justify-content: space-between; gap: 18px; }

.task-tabs { display: flex; align-items: stretch; align-self: stretch; gap: 24px; }

.task-tab {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 2px 2px 0;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.task-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 99px 99px 0 0;
  background: var(--teal);
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

.task-tab[aria-selected="true"] { color: var(--ink); }
.task-tab[aria-selected="true"]::after { opacity: 1; transform: scaleX(1); }

.task-tab:focus-visible,
.explore-link:focus-visible,
.control:focus-visible { outline: 3px solid rgba(47, 146, 157, .3); outline-offset: 3px; }

.explore-link { color: var(--ink-soft); font-size: 13px; font-weight: 650; text-decoration: none; }
.explore-link:hover { color: var(--teal); }

.stage { display: grid; min-height: 0; place-items: stretch center; }

.site-frame {
  position: relative;
  width: min(1520px, 100%);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 208, 214, .9);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: width 350ms ease, border-radius 350ms ease;
}

.site-frame[data-viewport="mobile"] {
  width: min(430px, calc(100vw - 64px));
  max-height: 760px;
  align-self: center;
  border: 8px solid #173f4e;
  border-radius: 30px;
  overflow: visible;
  box-shadow: 0 18px 60px rgba(15, 63, 80, .22);
}

.site-frame[data-viewport="mobile"] .site-frame__document { border-radius: 22px; }

.site-frame__document { display: block; width: 100%; height: 100%; border: 0; background: white; }

.interaction-blocker,
.highlight-layer,
.cursor,
.annotation,
.loading-state { position: absolute; }

.interaction-blocker { z-index: 3; inset: 0; cursor: default; touch-action: none; }
.highlight-layer { z-index: 4; inset: 0; pointer-events: none; }

.tour-highlight {
  position: absolute;
  border: 2px solid rgba(47, 146, 157, .8);
  border-radius: 12px;
  background: rgba(47, 146, 157, .065);
  box-shadow: 0 0 0 4px rgba(47, 146, 157, .14), 0 7px 24px rgba(14, 73, 93, .16);
  transition: transform 260ms ease, width 260ms ease, height 260ms ease, opacity 180ms ease;
}

.cursor {
  z-index: 6;
  top: 0;
  left: 0;
  width: 30px;
  height: 38px;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .28));
  transform: translate3d(-80px, -80px, 0);
  transition: opacity 160ms ease;
  will-change: transform;
}

.cursor--hidden { opacity: 0; }
.cursor__arrow { display: block; width: 30px; height: 38px; }
.cursor__arrow path { fill: #fff; stroke: #103f50; stroke-width: 2.2; stroke-linejoin: round; }
.cursor__touch { display: none; width: 26px; height: 26px; border: 3px solid #fff; border-radius: 50%; background: rgba(16, 63, 80, .84); box-shadow: 0 0 0 2px rgba(16, 63, 80, .75); }
.cursor--touch { width: 28px; height: 28px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .2)); }
.cursor--touch .cursor__arrow { display: none; }
.cursor--touch .cursor__touch { display: block; }
.cursor--press { transform-origin: top left; }
.cursor--press .cursor__arrow,
.cursor--press .cursor__touch { transform: scale(.82); }

.cursor__ripple {
  position: absolute;
  top: 3px;
  left: 2px;
  width: 24px;
  height: 24px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.45);
}

.cursor--ripple .cursor__ripple { animation: cursor-ripple 450ms ease-out; }

@keyframes cursor-ripple {
  0% { opacity: .8; transform: scale(.45); }
  100% { opacity: 0; transform: scale(2); }
}

.annotation {
  z-index: 7;
  width: min(330px, calc(100% - 32px));
  padding: 17px 18px 18px;
  border: 1px solid rgba(47, 146, 157, .45);
  border-radius: 12px;
  background: rgba(252, 253, 253, .96);
  box-shadow: 0 16px 40px rgba(14, 73, 93, .16), 0 0 24px rgba(47, 146, 157, .18);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
  backdrop-filter: blur(10px);
}

.annotation--hidden { opacity: 0; transform: translateY(7px); }
.annotation__eyebrow { display: block; margin-bottom: 7px; color: var(--teal); font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.annotation__title { margin: 0 0 7px; color: var(--ink); font-family: Georgia, serif; font-size: 20px; line-height: 1.22; letter-spacing: -.015em; }
.annotation__body { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }

.loading-state {
  z-index: 8;
  inset: 0;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink-soft);
  font-size: 13px;
  transition: opacity 180ms ease;
}

.loading-state--hidden { opacity: 0; pointer-events: none; }

.presentation__controls { justify-content: flex-end; gap: 20px; }

.control {
  min-width: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

.control-group { display: flex; align-items: center; gap: 20px; }
.control--previous,
.control--next { text-align: left; }
.control:disabled { color: #9bacb2; cursor: default; }
.progress-label { margin: 0 auto 0 0; color: var(--ink-soft); font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 700px) {
  .presentation { grid-template-rows: 54px minmax(0, 1fr) 60px; padding: 0 10px; }
  .task-tabs { gap: 14px; }
  .task-tab { font-size: 13px; }
  .site-frame { border-radius: 9px; }
  .annotation { width: min(290px, calc(100% - 24px)); }
  .control-group { gap: 14px; }
  .progress-label { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
