:root {
  --ink: #16221f;
  --muted: #5e6f6a;
  --paper: #f4f1e8;
  --paper-2: #e8e3d3;
  --teal: #0d6f73;
  --teal-dark: #083f45;
  --safety: #f4b44f;
  --coral: #d95f43;
  --steel: #7590a0;
  --line: rgba(22, 34, 31, 0.16);
  --shadow: 0 24px 80px rgba(18, 34, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 180, 79, 0.2), transparent 28rem),
    linear-gradient(125deg, #fbf8ee 0%, var(--paper) 42%, #d8e5df 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 111, 115, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 111, 115, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 72%);
  z-index: -2;
}

.grid-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  appearance: none;
}

a,
button {
  touch-action: manipulation;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(244, 241, 232, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(145deg, var(--teal-dark), var(--teal));
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(8, 63, 69, 0.22);
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.05;
}

.brand em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
}

.nav-links a:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px) 30px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.demo-label {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.3vw, 86px);
  line-height: 1.03;
}

.lead {
  max-width: 660px;
  color: #42544f;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 700;
}

.primary-action {
  color: #fff;
  background: var(--teal-dark);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.hero-panel {
  min-width: 0;
}

.radar-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: #103034;
  box-shadow: var(--shadow);
}

.radar-head,
.signal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  padding: 16px;
  font-size: 13px;
}

.radar-head strong {
  color: var(--safety);
}

.ocean-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 35% 38%, rgba(244, 180, 79, 0.18), transparent 16rem),
    linear-gradient(145deg, #082529, #123e45 60%, #1d5960);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.ocean-map::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.route,
.current,
.port,
.ship {
  position: absolute;
  display: block;
}

.route {
  height: 3px;
  transform-origin: left center;
  background: repeating-linear-gradient(90deg, var(--safety), var(--safety) 10px, transparent 10px, transparent 20px);
  opacity: 0.85;
}

.route-a {
  width: 72%;
  top: 35%;
  left: 14%;
  rotate: 17deg;
}

.route-b {
  width: 54%;
  top: 64%;
  left: 18%;
  rotate: -24deg;
}

.ship {
  width: 26px;
  height: 48px;
  clip-path: polygon(50% 0, 92% 72%, 50% 100%, 8% 72%);
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.ship-a {
  top: 40%;
  left: 58%;
  rotate: 106deg;
  animation: drift 5s ease-in-out infinite;
}

.ship-b {
  top: 56%;
  left: 36%;
  rotate: 64deg;
  animation: drift 6s ease-in-out infinite reverse;
}

.port {
  width: 16px;
  height: 16px;
  border: 3px solid var(--safety);
  border-radius: 50%;
}

.port-a {
  top: 28%;
  left: 11%;
}

.port-b {
  right: 11%;
  bottom: 24%;
}

.current {
  width: 190px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.current-a {
  top: 18%;
  right: 12%;
  rotate: -18deg;
}

.current-b {
  bottom: 14%;
  left: 10%;
  rotate: 24deg;
}

.signal-strip {
  background: rgba(255, 255, 255, 0.05);
}

.signal-strip span {
  white-space: nowrap;
}

.signal-strip b {
  color: #fff;
  margin-right: 4px;
}

.signal-strip span:last-child b {
  margin-right: 6px;
}

.metrics-band,
.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics-band article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.5);
}

.metrics-band strong {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--teal-dark);
}

.metrics-band span {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 10vw, 126px) 0 0;
  scroll-margin-top: 96px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 56px);
  line-height: 1.12;
}

.section-heading p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.business-grid,
.opportunity-grid {
  display: grid;
  gap: 16px;
}

.business-grid {
  grid-template-columns: repeat(3, 1fr);
}

.business-card,
.opportunity-card,
.timeline article,
.source-box,
.detail-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 50px rgba(18, 34, 32, 0.08);
}

.business-card {
  min-height: 244px;
  padding: 24px;
}

.business-card.wide {
  grid-column: span 2;
}

.card-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: #fff;
  font-weight: 800;
  background: var(--teal);
  border-radius: 5px;
}

.business-card h3,
.opportunity-card h3,
.timeline h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.business-card p,
.opportunity-card p,
.timeline p,
.source-box p,
.detail-grid p {
  color: var(--muted);
  line-height: 1.72;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal-dark);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.56);
}

.opportunity-grid {
  grid-template-columns: repeat(3, 1fr);
}

.opportunity-card {
  min-height: 430px;
  padding: 26px;
}

.opportunity-card[data-link]:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(18, 34, 32, 0.14);
}

.opportunity-card[data-link] {
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.opportunity-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 68px;
  color: var(--teal-dark);
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.opportunity-card dl {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.opportunity-card div {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.opportunity-card dt {
  color: var(--teal-dark);
  font-weight: 800;
}

.opportunity-card dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.proposal-page {
  scroll-margin-top: 92px;
}

.proposal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.proposal-head h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.05;
}

.proposal-head p {
  max-width: 880px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--teal-dark);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.52);
}

.proposal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.proposal-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 50px rgba(18, 34, 32, 0.07);
}

.proposal-grid h3 {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 19px;
}

.proposal-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.interactive-demo {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  border: 1px solid rgba(8, 63, 69, 0.18);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 240, 0.46)),
    rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
}

.demo-controls {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.demo-controls h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.demo-controls label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.demo-controls select,
.demo-controls input[type="range"] {
  width: 100%;
}

.demo-controls select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--ink);
  background: #fffaf0;
}

.demo-controls input[type="range"] {
  accent-color: var(--teal);
}

.simulate-btn {
  cursor: pointer;
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  background: var(--teal-dark);
}

.demo-output {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #102e32;
  color: #fff;
}

.demo-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.demo-tabs {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
}

.demo-tab {
  cursor: pointer;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.45);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.demo-tab:hover,
.demo-tab.active {
  border-color: rgba(13, 111, 115, 0.45);
  background: #fffaf0;
  transform: translateX(4px);
}

.demo-tab span,
.demo-tab strong,
.demo-tab em {
  display: block;
}

.demo-tab span {
  color: var(--coral);
  font-weight: 800;
}

.demo-tab strong {
  margin: 12px 0 4px;
  font-size: 17px;
}

.demo-tab em {
  color: var(--muted);
  font-style: normal;
}

.demo-stage {
  min-width: 0;
}

.demo-panel {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.demo-panel.active {
  display: block;
  animation: panelIn 260ms ease both;
}

.demo-copy {
  max-width: 820px;
}

.demo-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
}

.demo-copy p:not(.demo-label) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.mock-product {
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid rgba(8, 63, 69, 0.18);
  border-radius: 8px;
  background: #102e32;
  color: #fff;
}

.mock-top,
.voyage-board {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-top strong,
.voyage-board strong {
  color: var(--safety);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.quote-card {
  cursor: pointer;
  text-align: left;
  color: #fff;
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
}

.quote-card.best {
  border-color: rgba(244, 180, 79, 0.7);
  background: rgba(244, 180, 79, 0.14);
}

.quote-card.alert {
  border-color: rgba(217, 95, 67, 0.7);
}

.quote-card.selected,
.doc-card.selected {
  box-shadow: inset 0 0 0 2px rgba(244, 180, 79, 0.5);
}

.quote-card b,
.quote-card strong,
.quote-card span {
  display: block;
}

.quote-card strong {
  margin: 18px 0 10px;
  font-size: 26px;
}

.quote-card span,
.recommendation p,
.energy-note p,
.doc-card span,
.doc-insight p {
  color: rgba(255, 255, 255, 0.68);
}

.recommendation,
.energy-note,
.doc-insight {
  margin: 0 18px 18px;
  padding: 16px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.roi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.1);
}

.roi-strip span {
  min-height: 76px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}

.roi-strip b {
  display: block;
  margin-bottom: 4px;
  color: var(--safety);
  font-size: 21px;
}

.voyage-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.voyage-board span,
.voyage-board strong {
  display: block;
}

.voyage-board span {
  margin-bottom: 8px;
}

.carbon-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 260px;
  padding: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 100% 25%,
    radial-gradient(circle at 70% 25%, rgba(244, 180, 79, 0.16), transparent 18rem);
}

.carbon-chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--safety), #38a5a3);
  animation: growBar 780ms ease both;
}

.docs-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 18px;
}

.doc-stack {
  display: grid;
  gap: 12px;
  padding-right: 18px;
}

.doc-card {
  cursor: pointer;
  text-align: left;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.doc-card.selected {
  border-color: rgba(244, 180, 79, 0.7);
}

.doc-card.alert {
  border-color: rgba(217, 95, 67, 0.7);
}

.doc-card b,
.doc-card span {
  display: block;
}

.doc-card span {
  margin-top: 8px;
}

.doc-insight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.doc-insight strong {
  color: var(--safety);
  font-size: 22px;
}

.doc-insight button {
  align-self: flex-start;
  border: 0;
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--teal-dark);
  font-weight: 800;
  background: var(--safety);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.detail-grid article {
  padding: 22px;
}

.detail-grid h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.strategy-section {
  padding-bottom: 84px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline article {
  min-height: 288px;
  padding: 22px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 46px;
  border: 1px solid rgba(217, 95, 67, 0.3);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  background: rgba(217, 95, 67, 0.08);
}

.source-box {
  margin-top: 16px;
  padding: 24px;
  background: rgba(8, 63, 69, 0.08);
}

.source-box h3 {
  margin-bottom: 8px;
}

.source-box a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.journey-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  background: var(--line);
}

.journey-strip article {
  min-height: 230px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.58);
}

.journey-strip span {
  display: inline-flex;
  margin-bottom: 42px;
  border: 1px solid rgba(13, 111, 115, 0.22);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(13, 111, 115, 0.08);
}

.journey-strip h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.journey-strip p {
  color: var(--muted);
  line-height: 1.62;
}

.demo-gateway {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.demo-gateway-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 50px rgba(18, 34, 32, 0.08);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.demo-gateway-card:hover {
  transform: translateY(-5px);
  background: #fffaf0;
  box-shadow: 0 24px 70px rgba(18, 34, 32, 0.14);
}

.demo-gateway-card .opportunity-number {
  margin: 0;
}

.demo-gateway-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.demo-gateway-card p:not(.demo-label) {
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.demo-page {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.demo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: end;
  padding: clamp(44px, 7vw, 86px) 0 28px;
}

.demo-hero h1 {
  margin-bottom: 18px;
}

.demo-brief,
.operation-card,
.operator-panel,
.outcome-panel,
.worklist,
.document-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 50px rgba(18, 34, 32, 0.08);
}

.demo-brief {
  padding: 22px;
}

.demo-brief h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.demo-brief p {
  color: var(--muted);
  line-height: 1.58;
}

.workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

.worklist {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.worklist-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.worklist-head strong {
  color: var(--teal-dark);
}

.case-card {
  cursor: pointer;
  display: grid;
  gap: 8px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.16);
}

.case-card:last-child {
  border-bottom: 0;
}

.case-card.active,
.case-card:hover {
  background: #fffaf0;
}

.case-card b,
.case-card em {
  display: block;
}

.case-card em {
  color: var(--muted);
  font-style: normal;
}

.status {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  background: rgba(13, 111, 115, 0.12);
}

.status.urgent {
  color: #7a291d;
  background: rgba(217, 95, 67, 0.18);
}

.status.watch {
  color: #755318;
  background: rgba(244, 180, 79, 0.2);
}

.status.normal {
  color: var(--teal-dark);
  background: rgba(13, 111, 115, 0.14);
}

.operator-panel,
.outcome-panel {
  padding: 18px;
}

.operator-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.operator-topline h2,
.outcome-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3.4vw, 46px);
}

.operator-topline p,
.outcome-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.risk-meter {
  min-width: 128px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  text-align: right;
  background: rgba(255, 255, 255, 0.6);
}

.risk-meter span,
.risk-meter strong {
  display: block;
}

.risk-meter span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.risk-meter strong {
  color: var(--coral);
  font-size: 24px;
}

.operation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.operation-card {
  padding: 18px;
}

.operation-card h3 {
  margin-bottom: 12px;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.fact-list dt {
  color: var(--muted);
}

.fact-list dd {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
  text-align: right;
}

.quote-table,
.decision-panel,
.voyage-map-panel,
.document-workbench {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.48);
}

.supplier-row {
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 140px;
  gap: 16px;
  align-items: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--ink);
  text-align: left;
  background: transparent;
}

.supplier-row:last-child {
  border-bottom: 0;
}

.supplier-row.selected,
.supplier-row:hover {
  background: #fffaf0;
}

.supplier-row.alert {
  color: #7a291d;
}

.supplier-row b,
.supplier-row em {
  display: block;
}

.supplier-row em {
  color: var(--muted);
  font-style: normal;
}

.decision-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-row.vertical {
  display: grid;
}

.choice-row label,
.toggle-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--teal-dark);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.62);
}

.toggle-line {
  width: 100%;
  margin-top: 8px;
  border-radius: 7px;
}

.outcome-panel {
  position: sticky;
  top: 92px;
}

.outcome-metrics {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.outcome-metrics span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.58);
}

.outcome-metrics b {
  display: block;
  color: var(--teal-dark);
  font-size: 24px;
}

.generated-box {
  border-radius: 8px;
  padding: 16px;
  color: #fff;
  background: #102e32;
}

.wide-generated {
  margin-top: 14px;
}

.generated-box h3 {
  color: var(--safety);
}

.generated-box p,
.generated-box li {
  color: rgba(255, 255, 255, 0.72);
}

.generated-content {
  display: grid;
  gap: 14px;
}

.generated-section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.generated-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.generated-section h4 {
  margin: 0 0 8px;
  color: var(--safety);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.generated-section p {
  margin-bottom: 8px;
}

.generated-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.ai-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ai-impact-grid span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  padding: 10px;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.06);
}

.ai-impact-grid b {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 18px;
}

.voyage-map-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}

.mini-map {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(145deg, #09272b, #174c52);
  background-size: 34px 34px;
}

.map-port,
.map-route,
.map-ship {
  position: absolute;
  display: block;
}

.map-port {
  width: 15px;
  height: 15px;
  border: 3px solid var(--safety);
  border-radius: 50%;
}

.map-port.start {
  left: 14%;
  top: 70%;
}

.map-port.end {
  right: 15%;
  top: 24%;
}

.map-route {
  width: 78%;
  height: 3px;
  left: 14%;
  top: 64%;
  rotate: -27deg;
  transform-origin: left center;
  background: rgba(255, 255, 255, 0.28);
}

.map-route.optimized {
  top: 58%;
  rotate: -18deg;
  background: repeating-linear-gradient(90deg, var(--safety), var(--safety) 9px, transparent 9px, transparent 18px);
}

.map-ship {
  width: 26px;
  height: 44px;
  left: 48%;
  top: 43%;
  rotate: 62deg;
  clip-path: polygon(50% 0, 92% 72%, 50% 100%, 8% 72%);
  background: #fff;
}

.energy-plan {
  padding: 20px;
}

.energy-plan p {
  color: var(--muted);
  line-height: 1.7;
}

.document-workbench {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
}

.evidence-list {
  display: grid;
  border-right: 1px solid var(--line);
}

.evidence-item {
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 16px;
  color: var(--ink);
  text-align: left;
  background: transparent;
}

.evidence-item:last-child {
  border-bottom: 0;
}

.evidence-item.selected,
.evidence-item:hover {
  background: #fffaf0;
}

.evidence-item.alert {
  color: #7a291d;
}

.evidence-item b,
.evidence-item span {
  display: block;
}

.evidence-item span {
  margin-top: 8px;
  color: var(--muted);
}

.document-preview {
  border: 0;
  border-radius: 0;
  padding: 20px;
  box-shadow: none;
}

.document-preview p {
  color: var(--muted);
  line-height: 1.72;
}

.citation-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.citation-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  background: rgba(13, 111, 115, 0.08);
}

.tech-page {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 84px;
}

.tech-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: end;
  padding: clamp(54px, 8vw, 104px) 0 26px;
}

.tech-hero h1 {
  max-width: 940px;
}

.tech-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 50px rgba(18, 34, 32, 0.08);
}

.tech-summary h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.tech-summary p {
  color: var(--muted);
  line-height: 1.7;
}

.tech-section {
  width: 100%;
}

.architecture-stack {
  display: grid;
  gap: 12px;
}

.architecture-stack article {
  display: grid;
  grid-template-columns: 210px 280px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
}

.architecture-stack span,
.ai-role-grid span,
.roadmap-grid span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.architecture-stack h3,
.ai-role-grid h3,
.data-product-grid h3,
.governance-grid h3,
.roadmap-grid h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.architecture-stack p,
.ai-role-grid p,
.data-product-grid p,
.governance-grid p,
.roadmap-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tech-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.tech-row {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr 1.35fr 1.2fr;
  gap: 1px;
  border-bottom: 1px solid var(--line);
}

.tech-row:last-child {
  border-bottom: 0;
}

.tech-row span {
  padding: 15px;
  color: var(--muted);
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.4);
}

.tech-row span:first-child {
  color: var(--teal-dark);
  font-weight: 800;
}

.tech-row.head span {
  color: #fff;
  font-weight: 800;
  background: var(--teal-dark);
}

.data-product-grid,
.ai-role-grid,
.governance-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.data-product-grid article,
.ai-role-grid article,
.governance-grid article,
.roadmap-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 50px rgba(18, 34, 32, 0.07);
}

.roadmap-grid {
  grid-template-columns: repeat(4, 1fr);
}

.reveal {
  animation: rise 680ms ease both;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 240ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  50% {
    transform: translate(8px, -6px);
  }
}

@keyframes growBar {
  from {
    transform: scaleY(0.25);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .demo-shell,
  .proposal-head,
  .interactive-demo,
  .demo-hero,
  .workspace,
  .tech-hero {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .business-grid,
  .opportunity-grid,
  .proposal-grid,
  .journey-strip,
  .demo-gateway,
  .data-product-grid,
  .ai-role-grid,
  .governance-grid,
  .roadmap-grid,
  .timeline,
  .metrics-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .architecture-stack article,
  .tech-row {
    grid-template-columns: 1fr;
  }

  .business-card.wide {
    grid-column: span 2;
  }

  .demo-tabs {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .demo-tab:hover,
  .demo-tab.active {
    transform: translateY(-3px);
  }

  .worklist,
  .outcome-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .topbar {
    padding: 12px 16px;
  }

  .hero {
    padding-inline: 16px;
  }

  .metrics-band,
  .section {
    width: calc(100% - 32px);
  }

  .business-grid,
  .opportunity-grid,
  .proposal-grid,
  .journey-strip,
  .demo-gateway,
  .data-product-grid,
  .ai-role-grid,
  .governance-grid,
  .roadmap-grid,
  .timeline,
  .metrics-band,
  .operation-grid,
  .quote-grid,
  .roi-strip,
  .detail-grid,
  .voyage-board,
  .voyage-map-panel,
  .document-workbench,
  .docs-mock,
  .demo-tabs {
    grid-template-columns: 1fr;
  }

  .business-card.wide {
    grid-column: span 1;
  }

  .ocean-map {
    min-height: 320px;
  }

  .opportunity-card {
    min-height: 0;
  }

  .opportunity-number {
    margin-bottom: 32px;
  }

  .mock-top,
  .footer {
    flex-direction: column;
  }

  .doc-stack {
    padding-right: 0;
    padding-bottom: 12px;
  }

  .proposal-head h2 {
    font-size: 34px;
  }

  .interactive-demo {
    padding: 10px;
  }

  .demo-page {
    width: calc(100% - 24px);
  }

  .operator-topline,
  .decision-panel {
    display: grid;
  }

  .supplier-row {
    grid-template-columns: 1fr;
  }

  .evidence-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .choice-row {
    display: grid;
  }

  .demo-gateway-card {
    grid-template-columns: 1fr;
  }

  .ai-impact-grid {
    grid-template-columns: 1fr;
  }

  .tech-page {
    width: calc(100% - 24px);
  }
}
