:root {
  --bg: #08111f;
  --bg-soft: #0d1a2f;
  --panel: rgba(12, 22, 41, 0.74);
  --panel-strong: rgba(15, 28, 49, 0.9);
  --ink: #edf4ff;
  --muted: #9eb0cd;
  --line: rgba(173, 201, 255, 0.12);
  --brand: #53c6ff;
  --brand-strong: #87dcff;
  --brand-soft: rgba(83, 198, 255, 0.14);
  --accent: #ff8c69;
  --shadow: 0 24px 80px rgba(1, 8, 20, 0.46);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top left,
      rgba(83, 198, 255, 0.18),
      transparent 25%
    ),
    radial-gradient(
      circle at 84% 14%,
      rgba(255, 140, 105, 0.16),
      transparent 18%
    ),
    radial-gradient(
      circle at 50% 120%,
      rgba(55, 110, 255, 0.15),
      transparent 34%
    ),
    linear-gradient(180deg, #06101d 0%, #091628 34%, #0a1730 62%, #07111f 100%);
  background-attachment: fixed;
}

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

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 220, 255, 0.2);
  background: rgba(13, 28, 49, 0.68);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, 0.72);
  border-bottom: 1px solid rgba(173, 201, 255, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 73px;
  height: 65px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 8px 18px rgba(3, 10, 24, 0.24));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1.05rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.nav-cta,
.button-primary {
  color: #05111c;
  background: linear-gradient(135deg, var(--brand), #92e2ff);
  box-shadow: 0 16px 34px rgba(83, 198, 255, 0.18);
}

.button-primary:disabled,
.nav-cta:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.nav-cta:hover,
.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--ink);
  background: rgba(12, 25, 46, 0.72);
  border: 1px solid rgba(173, 201, 255, 0.14);
}

.hero {
  padding: 54px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.hero-copy {
  padding: 38px 0 8px;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  display: block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.03em;
  color: var(--brand-strong);
  margin: -0.04em 0 -0.12em;
  transform: translateY(0.06em);
}

.hero p {
  margin: 0 0 30px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  justify-content: center;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  justify-content: center;
}

.hero-notes span::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
}

.hero-panel,
.panel,
.service-card,
.signal-card,
.faq-item,
.quote-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 100%;
  width: 100%;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(17, 31, 56, 0.82), rgba(8, 16, 32, 0.82)),
    var(--panel);
}

.hero-support {
  margin-top: 6px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -60px -30px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(83, 198, 255, 0.24),
    transparent 68%
  );
}

.hero-panel .panel-label,
.hero-panel .hero-visual-copy {
  position: relative;
  z-index: 1;
}

.hero-panel .panel-label {
  margin-bottom: 16px;
}

.hero-visual-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero-visual-copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.slipway-hero {
  position: relative;
  margin-top: 28px;
  min-height: 250px;
  border-radius: 24px;
  border: 1px solid rgba(173, 201, 255, 0.08);
  background:
    radial-gradient(
      circle at 26% 12%,
      rgba(83, 198, 255, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, rgba(17, 32, 58, 0.88), rgba(7, 15, 31, 0.92));
  overflow: hidden;
}

.slipway-hero::before {
  content: "";
  position: absolute;
  inset: auto 10% 34px 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(173, 201, 255, 0.5),
    transparent
  );
}

.slipway-track {
  position: absolute;
  height: 4px;
  width: 62%;
  left: 15%;
  z-index: 1;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.14),
    rgba(173, 201, 255, 0.42)
  );
  transform-origin: left center;
  box-shadow: 0 0 0 1px rgba(173, 201, 255, 0.06);
}

.slipway-track.track-one {
  top: 119px;
  transform: rotate(21deg);
}

.slipway-track.track-two {
  top: 156px;
  transform: rotate(19deg);
}

.hero-ship {
  position: absolute;
  z-index: 3;
  width: 198px;
  left: 16%;
  top: 36px;
  transform-origin: 50% 68%;
  animation: slip-launch 14s linear infinite;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.45));
}

.slipway-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86px;
  z-index: 2;
  overflow: hidden;
}

.slipway-water svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wave-back {
  fill: rgba(31, 88, 140, 0.78);
}

.wave-front {
  fill: url(#hero-water-fill);
}

.wave-sheen {
  fill: none;
  stroke: rgba(196, 241, 255, 0.42);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.ship-part {
  transform-box: fill-box;
  transform-origin: center;
}

.panel-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 800;
}

.panel-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.readiness-score {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0 26px;
  border-bottom: 1px solid var(--line);
}

.score-ring {
  width: 160px;
  text-align: center;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at center,
      rgba(8, 17, 31, 0.98) 51%,
      transparent 52%
    ),
    conic-gradient(
      var(--brand) 0 228deg,
      rgba(173, 201, 255, 0.12) 228deg 360deg
    );
  box-shadow: inset 0 0 0 1px rgba(173, 201, 255, 0.1);
}

.score-ring strong {
  font-size: 2.8rem;
  letter-spacing: -0.06em;
}

.score-ring span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

.score-copy h2 {
  margin: 0 0 10px;
  font-size: 1.75rem;
  letter-spacing: -0.05em;
}

.score-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.issue-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding-top: 24px;
}

.issue {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(173, 201, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.96rem;
}

.issue strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffb39b;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 10px;
}

.readiness-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: stretch;
}

.readiness-copy {
  position: relative;
  overflow: hidden;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(83, 198, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15, 26, 46, 0.94), rgba(9, 18, 34, 0.94));
}

.readiness-copy::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(83, 198, 255, 0.12),
    transparent 68%
  );
  pointer-events: none;
}

.readiness-copy h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
  max-width: 14ch;
}

.readiness-copy p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
  max-width: 32ch;
  font-size: 1rem;
}

.readiness-points {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: auto;
}

.readiness-point {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(173, 201, 255, 0.1);
}

.readiness-point strong {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.readiness-point span {
  color: var(--ink);
  line-height: 1.5;
}

.metric {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(173, 201, 255, 0.1);
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.08em;
}

.metric span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

section {
  padding: 52px 0;
}

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

.section-head h2 {
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.signal-card {
  padding: 26px;
}

.signal-card h3,
.service-card h3,
.quote-card h3,
.contact-card h3,
.faq-item h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.signal-card p,
.service-card p,
.quote-card p,
.contact-card p,
.faq-item p,
.service-list li,
.process-step p {
  color: var(--muted);
  line-height: 1.72;
}

.signal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.signal-index {
  font-size: 2.4rem;
  letter-spacing: -0.09em;
  color: rgba(173, 201, 255, 0.18);
  font-weight: 800;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  min-height: 100%;
}

.service-card.featured {
  background: linear-gradient(
    180deg,
    rgba(22, 40, 70, 0.98),
    rgba(8, 19, 35, 0.96)
  );
  transform: translateY(-8px);
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-type {
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.service-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.service-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  flex: 0 0 auto;
}

.service-foot {
  margin-top: auto;
  padding-top: 6px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.panel {
  padding: 30px;
}

.process-steps {
  display: grid;
  gap: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(173, 201, 255, 0.08);
}

.process-step > div:last-child {
  display: grid;
  gap: 10px;
}

.process-step h3 {
  margin: 0;
}

.process-step p {
  margin: 0;
}

.process-step:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  align-self: center;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(83, 198, 255, 0.16),
    rgba(255, 140, 105, 0.16)
  );
  color: var(--brand-strong);
  font-size: 1rem;
  font-weight: 800;
}

.journey-map {
  position: relative;
  min-height: 470px;
  padding-top: 60px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(83, 198, 255, 0.12),
      transparent 23%
    ),
    radial-gradient(
      circle at 82% 78%,
      rgba(255, 140, 105, 0.14),
      transparent 25%
    ),
    linear-gradient(180deg, rgba(9, 19, 35, 0.96), rgba(6, 12, 24, 0.96));
}

.journey-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(173, 201, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(173, 201, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 95%);
  pointer-events: none;
}

.journey-node {
  position: absolute;
  z-index: 3;
  width: 164px;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  background: rgba(15, 28, 49, 0.86);
  border: 1px solid rgba(173, 201, 255, 0.12);
  box-shadow: 0 18px 30px rgba(2, 8, 20, 0.4);
}

.journey-node::before,
.journey-node::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.journey-node::before {
  width: 54px;
  height: 54px;
  border: 1px dashed rgba(83, 198, 255, 0.22);
  opacity: 0.6;
}

.journey-node::after {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 35%, #ffffff, var(--brand));
  box-shadow:
    0 0 0 10px rgba(83, 198, 255, 0.08),
    0 0 26px rgba(83, 198, 255, 0.3);
}

.journey-node strong {
  display: block;
  font-size: 0.75rem;
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.journey-node span {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.journey-node.idea {
  top: 54px;
  left: 28px;
}

.journey-node.idea::before {
  right: -38px;
  top: 26px;
}

.journey-node.idea::after {
  right: -18px;
  top: 46px;
}

.journey-node.audit {
  top: 180px;
  left: 186px;
}

.journey-node.audit::before {
  left: 18px;
  top: -38px;
}

.journey-node.audit::after {
  left: 38px;
  top: -18px;
}

.journey-node.rebuild {
  top: 70px;
  right: 38px;
}

.journey-node.rebuild::before {
  left: -28px;
  top: 48px;
}

.journey-node.rebuild::after {
  left: -8px;
  top: 68px;
}

.journey-node.launch {
  bottom: 34px;
  right: 54px;
}

.journey-node.launch::before {
  left: -38px;
  top: 26px;
}

.journey-node.launch::after {
  left: -18px;
  top: 46px;
}

.journey-node.ops {
  bottom: 84px;
  left: 40px;
}

.journey-node.ops::before {
  right: -38px;
  top: 10px;
}

.journey-node.ops::after {
  right: -18px;
  top: 30px;
}

.slipway-rail {
  position: absolute;
  z-index: 1;
  height: 4px;
  width: 60%;
  left: 16%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1),
    rgba(173, 201, 255, 0.4)
  );
  transform-origin: left center;
  box-shadow: 0 0 0 1px rgba(173, 201, 255, 0.06);
}

.slipway-rail.one {
  top: 210px;
  transform: rotate(23deg);
}

.slipway-rail.two {
  top: 242px;
  transform: rotate(23deg);
}

.ship {
  position: absolute;
  z-index: 2;
  width: 126px;
  left: 37%;
  top: 184px;
  transform-origin: center;
  animation: journey-glide 11s ease-in-out infinite;
  filter: drop-shadow(0 20px 24px rgba(1, 8, 20, 0.45));
}

.ship path:last-child {
  display: none;
}

.journey-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.authority-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.quote-card,
.contact-card {
  padding: 32px;
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.quote-card blockquote em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand-strong);
}

.quote-meta {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(173, 201, 255, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.authority-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.authority-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  line-height: 1.64;
}

.authority-list li::before {
  content: "↗";
  color: var(--accent);
  font-weight: 800;
}

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 24px 26px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(83, 198, 255, 0.16),
      transparent 34%
    ),
    linear-gradient(180deg, rgba(12, 22, 41, 0.97), rgba(8, 16, 32, 0.94));
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 140, 105, 0.16),
    transparent 68%
  );
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.contact-copy p {
  margin: 0 0 22px;
}

.contact-points {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.contact-points strong {
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(173, 201, 255, 0.14);
  border-radius: 18px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  resize: vertical;
  min-height: 56px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(158, 176, 205, 0.72);
}

textarea {
  min-height: 144px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(83, 198, 255, 0.18);
  border-color: rgba(83, 198, 255, 0.32);
}

.form-note {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: -2px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-status[data-state="success"] {
  color: var(--brand-strong);
}

.form-status[data-state="error"] {
  color: #ffbea6;
}

footer {
  padding: 34px 0 48px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid rgba(173, 201, 255, 0.08);
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

@keyframes journey-glide {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(23deg);
  }
  35% {
    transform: translate3d(22px, 8px, 0) rotate(23deg);
  }
  70% {
    transform: translate3d(54px, 24px, 0) rotate(18deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(23deg);
  }
}

@keyframes slip-launch {
  0% {
    transform: translate3d(0, 0, 0) rotate(23deg);
  }
  16% {
    transform: translate3d(40px, 18px, 0) rotate(23deg);
  }
  32% {
    transform: translate3d(102px, 38px, 0) rotate(15deg);
  }
  44% {
    transform: translate3d(154px, 48px, 0) rotate(9deg);
  }
  54% {
    transform: translate3d(220px, 46px, 0) rotate(4deg);
  }
  62% {
    transform: translate3d(278px, 44px, 0) rotate(1deg);
  }
  70% {
    transform: translate3d(338px, 48px, 0) rotate(-2deg);
  }
  78% {
    transform: translate3d(398px, 43px, 0) rotate(1deg);
  }
  86% {
    transform: translate3d(456px, 47px, 0) rotate(-1.5deg);
  }
  94% {
    transform: translate3d(516px, 44px, 0) rotate(1.25deg);
  }
  100% {
    transform: translate3d(560px, 46px, 0) rotate(0deg);
  }
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-link-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-link-button:hover {
  color: var(--ink);
}

.button-small {
  padding: 12px 18px;
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  gap: 18px;
  width: min(100% - 32px, 460px);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(173, 201, 255, 0.16);
  background: rgba(8, 17, 31, 0.94);
  box-shadow: 0 24px 60px rgba(1, 8, 20, 0.45);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__copy {
  display: grid;
  gap: 8px;
}

.cookie-banner__copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.cookie-banner__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-page {
  padding: 54px 0 80px;
}

.legal-shell {
  display: grid;
  gap: 24px;
}

.legal-card {
  padding: 34px;
}

.legal-header {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.legal-header p {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.72;
}

.legal-note {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 140, 105, 0.2);
  background: rgba(255, 140, 105, 0.08);
  color: #ffd5c7;
  line-height: 1.6;
}

.legal-prose {
  display: grid;
  gap: 26px;
}

.legal-section {
  display: grid;
  gap: 12px;
}

.legal-section h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.legal-section p,
.legal-section li {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.legal-fields {
  display: grid;
  gap: 12px;
}

.legal-field {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(173, 201, 255, 0.1);
}

.legal-field strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.legal-field span {
  color: var(--muted);
  line-height: 1.65;
}

.legal-back {
  color: var(--brand-strong);
  font-weight: 700;
}

.legal-back:hover {
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) {
  .hero-grid,
  .process-grid,
  .authority-block,
  .contact-layout,
  .section-head,
  .readiness-showcase {
    grid-template-columns: 1fr;
  }

  .metrics,
  .signals,
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-node {
    width: 152px;
  }
}

@media (max-width: 800px) {
  .site-header {
    position: static;
  }

  .nav {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero h1 {
    max-width: none;
  }

  .readiness-score {
    grid-template-columns: 1fr;
  }

  .score-ring {
    width: 140px;
  }

  .metrics,
  .signals,
  .services {
    grid-template-columns: 1fr;
  }

  .journey-map {
    min-height: 600px;
  }

  .slipway-hero {
    min-height: 220px;
  }

  .hero-ship {
    width: 164px;
  }

  .journey-node {
    width: auto;
    max-width: 190px;
  }

  .journey-node.idea {
    top: 20px;
    left: 18px;
  }

  .journey-node.audit {
    top: 146px;
    left: 26px;
  }

  .journey-node.rebuild {
    top: 262px;
    right: 22px;
  }

  .journey-node.ops {
    bottom: 156px;
    left: 18px;
  }

  .journey-node.launch {
    bottom: 28px;
    right: 22px;
  }

  .ship {
    width: 118px;
    left: 28%;
    top: 222px;
    animation-duration: 16s;
  }

  .journey-caption {
    position: static;
    margin-top: 420px;
    flex-direction: column;
  }

  .signal-card,
  .service-card,
  .quote-card,
  .contact-card,
  .panel,
  .hero-panel {
    padding: 24px;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }

  .legal-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-cta,
  .button-primary,
  .button-secondary,
  .hero-ship,
  .ship,
  .ship-part {
    transition: none;
    animation: none;
  }
}
