@font-face {
  font-family: SoundDisplay;
  src: url('./sound-display.woff2') format('woff2');
  font-weight: 100 950;
  font-display: swap;
}
:root {
  --paper: #f8f6ef;
  --ink: #142f31;
  --muted: #47605c;
  --line: #c9d1c7;
  --orange: #ffa469;
  --deck: #102d30;
  --sans: "Avenir Next", Avenir, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --display: SoundDisplay, Impact, sans-serif;
  --gutter: clamp(20px, 5.4vw, 80px);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #cd6428; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 5; background: var(--paper); padding: 10px 16px; }
.wrap { width: min(100%, 1380px); margin-inline: auto; padding-inline: var(--gutter); }
#leaderboard, #platform, #access { scroll-margin-top: 16px; }
.masthead { background: var(--paper); }
.mast-inner, .brand, .main-nav, .rail-inner, .game-tools, .location, .nav-button, .cover-actions,
.signal, .instrument, .desk-title, .guide-rows > div, .eyebrow, .estimate-title, .footer-inner,
.orders, .dialog-top, .action-row, .helm-bar, .helm-caption, .helm-keys { display: flex; align-items: center; }
.mast-inner { min-height: 76px; gap: clamp(16px, 3.2vw, 48px); }
.brand { gap: 15px; text-decoration: none; margin-right: auto; }
.brand img { width: 127px; height: auto; }
.brand span { border-left: 1px solid #aebdb2; padding-left: 15px; color: #a54723; font: 700 .73rem/1.65 var(--mono); text-transform: uppercase; letter-spacing: .13em; }
.main-nav { gap: clamp(16px, 2.6vw, 38px); }
.main-nav a, .header-cta, .footer-inner a { text-decoration: none; font-size: .86rem; font-weight: 650; }
.main-nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.header-cta { background: var(--deck); color: var(--paper); border-radius: 3px; padding: 10px 17px; }
.header-cta:hover { background: #285457; }

.cabinet { background: var(--deck); color: #faf2de; }
.rail { background: #122f31; border-bottom: 1px solid #75968b4a; }
.rail-inner { justify-content: space-between; min-height: 41px; }
.location, .signal, .instrument span, .section-meta, th, .eyebrow, .estimate-title > span, .helm-caption {
  font: 600 .71rem/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase;
}
.location { gap: 9px; color: #e1e9d9; }
.location canvas, .nav-button canvas, .instrument canvas, .icon-well canvas, .dialog-top canvas, .helm-caption canvas { image-rendering: pixelated; height: auto; }
.location canvas { width: 16px; }
.location-detail, .rail-slash { color: #b8d0c7; }
.rail-slash { opacity: .6; }
.game-tools { gap: 14px; }
.nav-button { gap: 6px; padding: 7px 0; border: 0; color: #dfebe2; background: transparent; font: 550 .75rem/1.3 var(--mono); }
.nav-button canvas { width: 16px; }
.nav-button:hover { color: var(--orange); }
.cover { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(405px, 33vw, 560px); background: #0c3434 url('./harbor.png') center 57% / cover no-repeat; }
.cover::before { position: absolute; z-index: -1; content: ''; inset: 0; background: linear-gradient(90deg, #072f2feb 0%, #0a3433ac 21%, #123c3522 48%, transparent 61%); }
.cover-layout { padding-block: 36px; }
.cover-copy { max-width: 415px; }
.cover h1 { font: 700 clamp(4.4rem, 6.4vw, 6.6rem)/1.02 var(--display); letter-spacing: -.035em; text-transform: uppercase; text-shadow: .045em .055em #0c2b2d; }
.cover h1 span { display: block; }
.cover h1 span + span { color: var(--orange); }
.cover p { margin-top: 19px; max-width: 340px; font-size: clamp(.98rem, 1.25vw, 1.12rem); line-height: 1.45; font-weight: 550; text-shadow: 0 1px 4px #0d282b; }
.cover .challenge-intro { color: #ffdd9e; }
.cover[data-challenge] #cover-intro { display: none; }
.cover-actions { gap: 24px; margin-top: 22px; }
.primary, .request-button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 44px; border: 1px solid #ffbf8d; border-radius: 3px; color: #142d2d; background: var(--orange); padding: 11px 22px; font-weight: 750; }
.primary:hover, .request-button:hover { background: #ffba89; }
.play-icon { width: 0; height: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; }
.guide-trigger { padding: 8px 0; background: transparent; color: #fff4dd; border: 0; text-decoration: underline; text-underline-offset: .3em; text-decoration-color: #b5c9b6; font-size: .92rem; font-weight: 650; }
.instrument-bar { border-block: 1px solid #66877e70; background: #142f31; }
.telemetry { display: grid; grid-template-columns: 1.25fr 1.1fr 1fr 1fr 1fr; padding-block: 18px; }
.signal { gap: 10px; color: #c8d8ce; font-size: .67rem; }
.signal i { flex: 0 0 7px; height: 7px; background: #8bdcaa; box-shadow: 0 0 8px #8bdcaa38; }
.instrument { gap: clamp(8px, 1.2vw, 18px); border-left: 1px solid #58716b; padding-left: clamp(13px, 2vw, 32px); }
.instrument canvas { width: clamp(19px, 2vw, 27px); }
.instrument span, .instrument strong { display: block; }
.instrument span { margin-bottom: 4px; color: #b7cdc2; font-size: .64rem; }
.instrument strong { font: 650 clamp(.96rem, 1.4vw, 1.38rem)/1.1 var(--display); letter-spacing: .035em; }
#time.urgent { color: var(--orange); }

.game-desk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); padding-block: clamp(35px, 4.6vw, 68px); }
.score-panel, .guide-panel { min-width: 0; }
.desk-title { justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.desk-title h2 { font: 500 clamp(1.95rem, 2.7vw, 2.6rem)/1.05 var(--serif); letter-spacing: -.045em; }
.section-meta { color: var(--muted); font-size: .65rem; white-space: nowrap; }
table { width: 100%; border-collapse: collapse; text-align: left; border-top: 1px solid #80968c; }
th, td { padding: 8px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .64rem; }
td { font: 500 .88rem/1.4 var(--mono); }
td:first-child { color: var(--muted); }
th:first-child { width: 21%; }
th:last-child, td:last-child { text-align: right; }
td:last-child { font-weight: 700; }
tbody tr:first-child td:last-child { color: #8f421c; }
.board-message { margin-top: 16px; color: var(--muted); font-size: .92rem; }
.board-message b { display: block; color: var(--ink); }
.rechallenge, .product-link { color: #255e53; font-weight: 650; text-underline-offset: .3em; }
.rechallenge { background: transparent; border: 0; padding: 5px 0; text-decoration: underline; margin-top: 8px; font-size: .85rem; }
.guide-rows > div { gap: 13px; align-items: flex-start; }
.guide-rows > div + div { margin-top: 13px; }
.icon-well { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; background: #193b3c; border-radius: 4px; }
.icon-well canvas { width: 24px; }
.guide-rows p { font-size: .9rem; line-height: 1.45; }
.guide-rows b, .guide-rows p span { display: block; }
.guide-rows b { font-weight: 720; }
.guide-rows p span { color: var(--muted); }

.platform-section { background: #e6ece3; border-block: 1px solid #cad5c9; }
.platform-grid, .access-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(45px, 7vw, 110px); align-items: center; }
.platform-inner { padding-block: clamp(48px, 5.3vw, 82px); }
.eyebrow { margin: 0 0 22px; gap: 11px; color: #375c52; }
.rule-mark { width: 23px; height: 3px; background: #b85830; }
.platform-copy h2, .access-copy h2 { font: 500 clamp(2.7rem, 4.4vw, 4.6rem)/.99 var(--serif); letter-spacing: -.055em; }
.desk-story p, .access-copy > p:not(.eyebrow) { max-width: 435px; font-size: 1.05rem; line-height: 1.6; margin-top: 22px; color: #3d5852; }
.product-link { display: inline-block; margin-top: 24px; font-size: .95rem; }

.voyage-example { overflow: hidden; border-radius: 4px; background: var(--paper); border: 1px solid #becfc0; }
.tanker-photo { display: block; width: 100%; height: auto; aspect-ratio: 2.75; object-fit: cover; object-position: 50% 54%; }
.estimate { padding: 19px clamp(18px, 2.3vw, 32px) 18px; }
.estimate-title { gap: 12px; justify-content: space-between; margin-bottom: 14px; }
.estimate-title h3 { font: 650 1.05rem/1.3 var(--sans); }
.estimate-title > span { color: var(--muted); font-size: .67rem; }
.switcher { margin: 0; border: 1px solid #9aada1; border-radius: 3px; padding: 2px; display: inline-flex; max-width: 100%; background: #edf0e9; }
.switcher label { position: relative; cursor: pointer; text-align: center; }
.switcher input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.switcher span { display: block; padding: 5px 11px; border-radius: 2px; font-size: .80rem; font-weight: 650; }
.switcher input:checked + span { color: var(--paper); background: #234c47; }
.switcher input:focus-visible + span { outline: 3px solid #d6733b; outline-offset: 2px; }
.estimate-result { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-top: 14px; }
.estimate-result > span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.estimate-result strong { font: 600 clamp(1.55rem, 2.25vw, 2.1rem)/1.2 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.estimate-result small { font: 550 .76rem/1 var(--sans); color: var(--muted); letter-spacing: 0; }
#estimate-note, .estimate details { color: var(--muted); font-size: .77rem; margin-top: 4px; }
.estimate details { border-top: 1px solid var(--line); padding-top: 9px; margin-top: 12px; }
.estimate summary { cursor: pointer; width: fit-content; color: #34564c; }
.estimate details p { margin-top: 6px; }
.access-section { background: #113437; color: var(--paper); }
.access-grid { padding-block: clamp(52px, 6vw, 88px); }
.access-copy .eyebrow { color: #bad2c7; }
.access-copy .rule-mark { background: var(--orange); }
.access-copy h2 { font-size: clamp(2.55rem, 3.8vw, 4rem); }
.access-copy > p:not(.eyebrow) { color: #c7d9ce; margin-top: 16px; }
.access-form { max-width: 550px; width: 100%; }
.email-label { font-size: .95rem; font-weight: 650; display: block; margin-bottom: 8px; }
.email-row { display: flex; flex-wrap: wrap; gap: 7px; }
.email-row input { flex: 1 1 170px; min-width: 0; background: #faf9f2; border: 1px solid #bed1c4; color: var(--ink); border-radius: 3px; padding: 12px 14px; }
.email-row input::placeholder { color: #687972; }
.request-button { padding-inline: 16px; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; color: #e1e9df; font-size: .84rem; cursor: pointer; }
.consent input { flex-shrink: 0; width: 16px; height: 16px; margin: 2px 0 0; accent-color: #ffb783; }
.access-status { color: #ffdbab; font-weight: 550; margin-top: 11px; }
.access-status:empty { display: none; }
.footer-inner { min-height: 78px; gap: 18px; }
.footer-inner img { width: 102px; height: auto; }
.footer-inner > span { color: var(--muted); border-left: 1px solid var(--line); padding-left: 18px; font-size: .8rem; }
.footer-inner a { margin-left: auto; }

.live { background: #0e292c; }
.live-inner { max-width: 1150px; }
.orders { min-height: 49px; gap: 12px; justify-content: space-between; }
.orders-text { display: grid; gap: 2px; }
#objective { color: #f6d8a4; font: 600 .85rem/1.3 var(--mono); }
#live-target { font: 530 .76rem/1.3 var(--mono); color: #c2d8cd; }
.small-button { min-height: 35px; padding: 7px 12px; border: 1px solid #6e8b80; border-radius: 3px; color: #f5efdf; background: #203d3e; font-size: .84rem; font-weight: 600; }
.small-button:hover { background: #355756; }
.chart-wrap { position: relative; background: #102b2d; }
#sea { display: block; width: 100%; height: min(54svh, 565px); min-height: 240px; touch-action: none; image-rendering: pixelated; outline-offset: -4px; }
.away-pause { position: absolute; inset: 0; display: grid; place-items: center; background: #082429b8; }
.helm-bar { gap: 15px; justify-content: center; padding-block: 8px; }
.helm-caption { gap: 7px; color: #c9d9ce; }
.helm-caption canvas { width: 21px; }
.helm-keys { gap: 5px; }
.helm-keys button { height: 39px; width: 46px; border: 1px solid #769084; border-bottom-width: 3px; border-radius: 3px; background: #264746; color: var(--paper); font: 700 1.2rem/1 var(--mono); user-select: none; }
.helm-keys button[aria-pressed="true"] { background: var(--orange); color: var(--ink); border-color: #ffd1a4; }
.helm-keys button:active { background: #466862; border-bottom-width: 1px; }
dialog { width: min(450px, calc(100% - 26px)); max-height: 91svh; padding: 0; margin: auto; border: 1px solid #799488; border-radius: 6px; color: #f8f1df; background: #193637; box-shadow: 0 18px 60px #061e2399; }
dialog::backdrop { background: #081e21b8; backdrop-filter: blur(3px); }
.dialog-inner { padding: 22px 26px 25px; }
.dialog-top { justify-content: space-between; }
.dialog-top canvas { width: 40px; }
dialog h2 { margin: 14px 0 12px; font: 500 2.2rem/1.05 var(--serif); letter-spacing: -.04em; }
dialog p, dialog .guide-rows p span { color: #c7d6cb; }
dialog .guide-rows b { color: var(--paper); }
dialog .guide-rows { margin: 17px 0; }
dialog .icon-well { background: #254849; }
.action-row { gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.action-row button { padding-inline: 12px; min-height: 42px; }
.score-large { color: var(--orange); font: 700 2rem/1.35 var(--display); }
.score-summary { margin-bottom: 15px; }
dialog label { display: block; font-size: .93rem; font-weight: 650; margin: 14px 0 6px; }
#skipper, .url-field { max-width: 100%; padding: 9px 12px; border-radius: 3px; border: 1px solid #8ba39a; color: var(--paper); background: #102729; }
.field-hint { font-size: .8rem; margin-top: 4px; }
dialog .feedback, .challenge-feedback { color: #f7d5a1; font-size: .89rem; margin-top: 10px; }
dialog a { color: #c4e2cf; }
.result-platform-link { display: inline-block; font-size: .87rem; margin-top: 14px; }
#share-notice { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 30px); z-index: 3; padding: 11px 17px; color: var(--paper); background: #193c3e; border: 1px solid #799889; border-radius: 4px; font-size: .89rem; }
.url-field { width: 100%; font: .8rem var(--mono); }


.platform-inner > .eyebrow { margin-bottom: 14px; }
.desk-picker { display: flex; flex-wrap: wrap; gap: 4px; border: 0; padding: 0; margin: 0 0 26px; }
.desk-picker legend { font: 600 .85rem/1.4 var(--sans); color: var(--muted); margin: 0 0 7px; padding: 0; }
.desk-picker label { position: relative; flex: 0 1 auto; }
.desk-picker input { position: absolute; inset: 0; opacity: 0; height: 100%; width: 100%; margin: 0; cursor: pointer; }
.desk-picker span { display: block; color: #284c45; padding: 8px 13px; border: 1px solid #9bafa1; border-radius: 3px; font-size: .89rem; font-weight: 650; }
.desk-picker input:checked + span { color: var(--paper); border-color: #234c47; background: #234c47; }
.desk-picker input:focus-visible + span { outline: 3px solid #c46832; outline-offset: 2px; }
.platform-copy .desk-story p + p { margin-top: 10px; }
.example-subtitle { font-size: .83rem; color: var(--muted); margin: -5px 0 12px; }
.offer-table { font-variant-numeric: tabular-nums; }
.offer-table thead th { width: auto; }
.offer-table tbody th, .offer-table td { font: 500 .85rem/1.3 var(--sans); letter-spacing: normal; text-transform: none; color: var(--ink); }
.offer-table tbody th { font-weight: 650; }
.offer-table td:last-child { font-weight: 550; }
.offer-table tbody tr:first-child td:last-child { color: var(--ink); }
.offer-table td[colspan] { color: var(--muted); text-align: left; }
.example-insight { margin-top: 14px; font-size: .9rem; line-height: 1.5; }
.example-insight strong { font-weight: 720; }
.time-ledger { margin: 0; border-top: 1px solid var(--line); }
.time-ledger div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-block: 7px; font-size: .87rem; }
.time-ledger dd { margin: 0; font-family: var(--mono); font-weight: 650; white-space: nowrap; }
.priority-label { display: block; margin: 15px 0 6px; font-size: .9rem; font-weight: 650; }
.priority-label span { font-size: .8rem; font-weight: 450; color: #c7d9ce; }
#access-priority { width: 100%; max-width: 100%; min-height: 44px; font: 500 .95rem/1.4 var(--sans); color: var(--ink); background: var(--paper); padding: 8px 9px; border: 1px solid #bed1c4; border-radius: 3px; }
.access-form .request-button { margin-top: 16px; }
@media (max-width: 440px) {
  .desk-picker { gap: 4px; margin-bottom: 20px; }
  .desk-picker span { padding: 8px 7px; font-size: .8rem; }
  .offer-table thead th { font-size: .58rem; }
}

@media (max-width: 850px) {
  .mast-inner { min-height: 66px; gap: 19px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .8rem; }
  .platform-grid, .access-grid { gap: 32px; }
  .cover { background-position: 59% 55%; }
  .game-desk { gap: 35px; }
  .signal { font-size: .6rem; }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .brand { gap: 10px; }
  .brand img { width: 108px; }
  .brand span { padding-left: 10px; font-size: .66rem; }
  .header-cta { font-size: .8rem; padding: 9px 12px; }
  .location { gap: 5px; font-size: .62rem; }
  .location-detail, .rail-slash { display: none; }
  .game-tools { gap: 14px; }
  .cover { align-items: start; min-height: clamp(400px, 95vw, 490px); background-color: #123f3f; background-size: auto 74%; background-position: 95% bottom; }
  .cover::before { background: linear-gradient(180deg, #123f3f 0%, #123f3f 25%, #123f3fc4 35%, transparent 61%); }
  .cover-layout { padding-top: 27px; padding-bottom: 0; }
  .cover-copy { max-width: none; }
  .cover h1 { font-size: clamp(2.55rem, 8.5vw, 3.8rem); line-height: 1.05; white-space: nowrap; }
  .cover h1 span { display: inline; }
  .cover p { max-width: 315px; font-size: .94rem; margin-top: 10px; }
  .cover-actions { margin-top: 14px; gap: 20px; }
  .primary { min-height: 42px; padding: 8px 16px; }
  .telemetry { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 14px; }
  .telemetry .signal { display: none; }
  .instrument { padding-left: 10px; gap: 6px; }
  .instrument:nth-child(2) { border-left: 0; padding-left: 0; }
  .instrument canvas { display: none; }
  .instrument span { font-size: .59rem; letter-spacing: .07em; }
  .instrument strong { font-size: clamp(.81rem, 2.6vw, 1.04rem); }
  .game-desk, .platform-grid, .access-grid { grid-template-columns: 1fr; }
  .game-desk { gap: 34px; padding-block: 34px 42px; }
  .platform-inner { padding-block: 42px; }
  .platform-grid { gap: 24px; }
  .platform-copy h2, .access-copy h2 { font-size: clamp(2.6rem, 9vw, 3.5rem); }
  .desk-story p, .access-copy > p:not(.eyebrow) { margin-top: 15px; font-size: 1rem; }
  .product-link { margin-top: 12px; }
  .eyebrow { margin-bottom: 15px; }
  .access-grid { padding-block: 44px; gap: 24px; }
  .live-inner { padding-inline: 0; }
  .orders { padding-inline: 12px; }
  #sea { min-height: 0; height: auto; aspect-ratio: 3/2; }
  .helm-keys button { min-height: 44px; }
  .footer-inner { min-height: 66px; gap: 11px; }
  .footer-inner > span { padding-left: 11px; }
  .footer-inner img { width: 83px; }
  .footer-inner a { font-size: .76rem; }
}
@media (max-width: 359px) {
  .brand img { width: 90px; }
  .mast-inner { gap: 8px; }
  .email-row { flex-direction: column; }
  .email-row input { flex-basis: auto; }
  .cover h1 { font-size: 2.15rem; }
}
@media (max-height: 530px) and (orientation: landscape) {
  #sea { min-height: 150px; height: 58svh; }
  .helm-bar { padding-block: 3px; }
  .helm-keys button { min-height: 32px; height: 32px; }
}
.footer-inner a + a { margin-left: 0; }
