:root {
  --navy: #13294b;
  --navy-deep: #0b1a30;
  --teal: #12898f;
  --teal-soft: #e3f4f4;
  --orange: #f7931e;
  --orange-soft: #fff1df;
  --ink: #142033;
  --muted: #5b6678;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; border: 0; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--orange); color: #1d1206; box-shadow: 0 6px 18px -6px rgba(247, 147, 30, .6); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(247, 147, 30, .7); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px #c9d2de; }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(18, 137, 143, .45); outline-offset: 2px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { width: 172px; }
.top-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.top-nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.top-nav a:not(.btn):hover { color: var(--navy); }
.top-nav .signin { color: var(--navy) !important; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: radial-gradient(1000px 500px at 85% -10%, var(--teal-soft), transparent 60%), radial-gradient(700px 400px at -10% 110%, var(--orange-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 800; color: var(--navy); }
.hero h1 span { display: block; color: var(--teal); }
.lead { margin: 20px 0 30px; max-width: 34em; font-size: 18px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 600; color: var(--navy); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }
.ticks.light { color: #e6edf5; flex-direction: column; }
.ticks.light li::before { background-color: var(--orange); }

/* Dashboard mock */
.mock { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(19, 41, 75, .35), 0 8px 20px -12px rgba(19, 41, 75, .2); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d3d9e2; }
.mock-bar b { margin-left: 10px; font-size: 11px; font-weight: 600; color: #8a94a5; }
.mock-body { padding: 16px; display: grid; gap: 12px; background: #fafbfd; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi, .panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi small, .panel small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; }
.kpi strong { display: block; font-size: 18px; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
.kpi i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.kpi i.up { color: #15803d; font-weight: 700; }
.kpi.alert { border-left: 3px solid #dc2626; }
.mock-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.chart { width: 100%; height: auto; margin-top: 6px; }
.chart .area { fill: var(--teal); opacity: .14; }
.chart .line { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linejoin: round; }
.donut-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.donut { width: 74px; height: 74px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 6; }
.d-base { stroke: var(--orange); }
.d-a { stroke: #3b82f6; }
.d-b { stroke: var(--teal); }
.donut-row ul { list-style: none; margin: 0; padding: 0; font-size: 11px; display: grid; gap: 4px; }
.donut-row li { display: flex; align-items: center; gap: 6px; }
.donut-row b { margin-left: auto; padding-left: 8px; color: var(--navy); }
.donut-row em { width: 8px; height: 8px; border-radius: 2px; }
.c-a { background: #3b82f6; } .c-b { background: var(--teal); } .c-c { background: var(--orange); }
.vessel > div:first-child { display: flex; justify-content: space-between; align-items: baseline; }
.vessel strong { font-size: 12px; color: var(--navy); }
.bar { height: 8px; margin: 8px 0 6px; border-radius: 99px; background: #e8edf3; overflow: hidden; }
.bar span { display: block; width: 53%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), #22b5bd); }
.muted { color: var(--muted); }
.mock figcaption { padding: 8px 16px; font-size: 11px; color: #8a94a5; border-top: 1px solid var(--line); text-align: right; }

/* Roles strip */
.roles { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.roles-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; font-weight: 700; color: #7b8698; }

/* Features */
.features { padding: 96px 0; }
.features h2, .how h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--navy); max-width: 20em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.card:hover { border-color: #cdd6e1; box-shadow: 0 16px 30px -22px rgba(19, 41, 75, .35); transform: translateY(-2px); }
.card h3 { margin: 16px 0 8px; font-size: 17px; color: var(--navy); }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-navy { background: #e8edf5; } .i-navy svg { stroke: var(--navy); }
.i-orange { background: var(--orange-soft); } .i-orange svg { stroke: #c96d00; }
.i-teal { background: var(--teal-soft); } .i-teal svg { stroke: var(--teal); }

/* Split */
.split { padding: 88px 0; background: var(--navy); color: #dbe4ef; }
.split h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }
.split .eyebrow { color: #5fd0d6; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { margin: 0; font-size: 17px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts li { padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.facts b { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.facts span { font-size: 14px; color: #b9c6d6; }

/* How */
.how { padding: 96px 0; }
.steps { list-style: none; counter-reset: step; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--bg-soft); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.steps b { display: block; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15px; }

/* Demo form */
.demo { padding: 96px 0; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #dbe4ef; }
.demo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.demo h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.demo .eyebrow { color: #5fd0d6; }
.demo-copy p { font-size: 17px; margin: 0; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.opt { font-weight: 500; color: #8a94a5; }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid #d5dce6; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(18, 137, 143, .18); }
.form [aria-invalid="true"] { border-color: #dc2626; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 0; min-height: 1.4em; font-size: 14px; font-weight: 600; }
.form-note.err { color: #b91c1c; }
.form.done { place-items: center; text-align: center; padding: 56px 28px; }
.done-title { margin: 0; font-size: 24px; font-weight: 800; color: var(--navy); }
.done-text { margin: 0; color: var(--muted); }

/* Footer */
.foot { background: var(--navy-deep); color: #8fa0b6; padding: 34px 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.foot a { text-decoration: none; color: #c4d0de; }
.foot a:hover { color: #fff; }

@media (max-width: 1000px) {
  .hero-grid, .split-grid, .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .top-nav a:not(.btn):not(.signin) { display: none; }
  .top-nav { gap: 14px; }
  .brand img { width: 140px; }
  .hero { padding: 44px 0 56px; }
  .lead { font-size: 16.5px; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-row { grid-template-columns: 1fr; }
  .grid, .steps, .facts, .row2 { grid-template-columns: 1fr; }
  .features, .how, .demo, .split { padding: 64px 0; }
  .form { padding: 20px; }
}
@media (max-width: 420px) {
  /* The demo button matters more than sign-in here; sign-in stays in the footer. */
  .top-nav .signin { display: none; }
  .brand img { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
