:root {
  color-scheme: light;
  --navy: #071d2b;
  --blue: #0b5c7a;
  --cyan: #69d2e7;
  --sand: #f6efe3;
  --card: rgba(255, 255, 255, 0.88);
  --line: rgba(7, 29, 43, 0.14);
  --red: #d94b4b;
  --yellow: #e5ac26;
  --green: #2e9d68;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(180deg, #eef9fb 0%, var(--sand) 60%, #fff 100%); color: var(--navy); }
a { color: inherit; text-decoration: none; }
.hero { min-height: 720px; padding: 24px clamp(20px, 5vw, 72px) 72px; background: radial-gradient(circle at 78% 12%, rgba(105, 210, 231, 0.38), transparent 32%), linear-gradient(135deg, #062033, #0b5c7a 55%, #69d2e7); color: white; }
.nav { display: flex; align-items: center; gap: 28px; max-width: 1180px; margin: 0 auto; }
.nav a { opacity: 0.86; font-weight: 700; }
.brand { margin-right: auto; display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.15); }
.hero-grid { max-width: 1180px; margin: 110px auto 0; display: grid; grid-template-columns: minmax(0, 1.1fr) 380px; gap: 44px; align-items: center; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--cyan); }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h1 { font-size: clamp(3.1rem, 8vw, 6.8rem); letter-spacing: -.07em; max-width: 860px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; }
p { line-height: 1.7; }
.hero-copy { max-width: 640px; font-size: 1.15rem; color: rgba(255,255,255,.82); }
.hero-actions, .compliance-grid { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button { border: 0; border-radius: 999px; padding: 14px 20px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.button.primary { background: var(--cyan); color: var(--navy); }
.button.secondary { background: rgba(255,255,255,.14); color: white; border: 1px solid rgba(255,255,255,.24); }
.button.small { padding: 10px 14px; }
.status-card, .component-card, .feature-card, .task, .compliance { background: var(--card); color: var(--navy); border: 1px solid rgba(255,255,255,.24); border-radius: 30px; padding: 26px; box-shadow: 0 24px 70px rgba(6,32,51,.18); backdrop-filter: blur(16px); }
.status-pill { display: inline-flex; margin: 0 8px 10px 0; padding: 8px 12px; border-radius: 999px; color: white; font-weight: 800; font-size: .82rem; }
.red, .hotspot.red { background: var(--red); fill: var(--red); }
.yellow, .hotspot.yellow { background: var(--yellow); fill: var(--yellow); }
.green, .hotspot.green { background: var(--green); fill: var(--green); }
.text-red { color: var(--red); }
.section { max-width: 1180px; margin: 0 auto; padding: 82px clamp(20px, 4vw, 36px); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.layout-shell { background: rgba(255,255,255,.64); border: 1px solid var(--line); border-radius: 36px; padding: 18px; box-shadow: 0 30px 80px rgba(7,29,43,.10); }
.layer-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.layer-tab { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: white; color: var(--navy); font-weight: 800; cursor: pointer; }
.layer-tab.active { background: var(--navy); color: white; }
.boat-panel { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: stretch; }
.boat-svg { width: 100%; min-height: 360px; background: linear-gradient(180deg, #f8fdff, #e8f4f6); border-radius: 28px; border: 1px solid var(--line); }
.layer-art { display: none; }
.layer-art.active { display: block; }
.hull, .deck, .interior, .systems { fill: #dfe8e7; stroke: var(--blue); stroke-width: 5; }
.mast, .boom { stroke: var(--navy); stroke-width: 8; stroke-linecap: round; }
.sail { fill: rgba(105,210,231,.34); stroke: var(--blue); stroke-width: 4; }
.sail.soft { fill: rgba(255,255,255,.58); }
.cabin, .cockpit, .room { fill: white; stroke: var(--blue); stroke-width: 4; }
.portlight { fill: var(--cyan); }
.pipe { fill: none; stroke: var(--blue); stroke-width: 9; stroke-linecap: round; }
.wire { fill: none; stroke: var(--yellow); stroke-width: 6; stroke-dasharray: 12 10; }
.hotspot { stroke: white; stroke-width: 5; cursor: pointer; filter: drop-shadow(0 8px 12px rgba(7,29,43,.24)); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.task { margin-bottom: 14px; border-left: 8px solid var(--green); }
.task.overdue { border-left-color: var(--red); }
.task.due { border-left-color: var(--yellow); }
.task span { font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 210px; }
.compliance { margin-bottom: 80px; }
.compliance-grid > div { flex: 1 1 240px; background: white; border-radius: 22px; padding: 20px; border: 1px solid var(--line); }
.compliance-grid strong, .compliance-grid span { display: block; }
.compliance-grid span { margin-top: 8px; color: #496270; }
@media (max-width: 860px) {
  .hero-grid, .boat-panel, .split, .cards { grid-template-columns: 1fr; }
  .layer-tabs { grid-template-columns: 1fr 1fr; }
  .nav { flex-wrap: wrap; }
}
