:root {
  --nav: #061d35;
  --nav-dark: #02111f;
  --page: #f7faff;
  --panel: #ffffff;
  --ink: #102033;
  --muted: #65758a;
  --line: #dce6f2;
  --blue: #1466df;
  --cyan: #10b8cf;
  --green: #23ad6b;
  --amber: #f3a63b;
  --red: #ef4056;
  --shadow: 0 18px 46px rgba(16, 32, 51, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.auth-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
  background: var(--page);
}

.auth-brand-panel {
  min-height: 100vh;
  padding: 42px;
  background: var(--nav);
  color: white;
  display: grid;
  align-content: space-between;
}

.auth-logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.auth-logo em {
  display: block;
  color: #b7cae2;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.auth-brand-copy {
  max-width: 520px;
  display: grid;
  gap: 14px;
}

.auth-brand-copy p,
.auth-card-head p {
  margin: 0;
  color: #5ad7ee;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-brand-copy h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
}

.auth-brand-copy span {
  color: #d8e8f8;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.55;
}

.auth-panel {
  min-height: 100vh;
  padding: 42px;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(100%, 460px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.auth-card-head {
  margin-bottom: 22px;
}

.auth-card-head h2 {
  margin: 8px 0;
  font-size: 30px;
}

.auth-card-head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.auth-status {
  margin-bottom: 14px;
  border: 1px solid #b8ebcc;
  border-radius: 8px;
  padding: 11px 12px;
  color: #0d7d47;
  background: #ecfbf2;
  font-size: 12px;
  font-weight: 850;
}

.auth-footnote {
  margin-top: 18px;
  text-align: center;
}

.auth-footnote a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.public-page {
  width: min(1488px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 42px;
}

.public-nav {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--nav);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 8px;
  background: linear-gradient(145deg, #59a7ff, #1e64d9);
  font-size: 22px;
  font-weight: 900;
}

.public-brand strong {
  display: block;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}

.public-brand em {
  display: block;
  margin-top: 3px;
  color: #46637f;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.public-nav nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.public-nav nav a,
.ghost-link,
.solid-link,
.outline-link {
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.public-nav nav a {
  color: #28415c;
}

.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-link,
.outline-link,
.solid-link {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost-link {
  color: #112a45;
  background: white;
  border: 1px solid #dce6f2;
}

.solid-link {
  color: white;
  background: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: 0 12px 24px rgba(20, 102, 223, .18);
}

.outline-link {
  color: #12365d;
  background: white;
  border: 1px solid #cfdbea;
}

.hero-section {
  padding: 58px 0 26px;
  display: grid;
  grid-template-columns: minmax(390px, .78fr) minmax(820px, 1.22fr);
  gap: 42px;
  align-items: center;
}

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

.eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  border-radius: 999px;
  padding: 7px 11px;
  background: #eef5ff;
  color: #0b5bc7;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 520px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy > span {
  display: block;
  max-width: 520px;
  margin-top: 18px;
  color: #4d6279;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 650;
}

.hero-actions {
  margin-top: 24px;
}

.trust-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4d6279;
  font-size: 11px;
  font-weight: 800;
}

.trust-row i {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero-preview {
  min-width: 0;
  display: grid;
  grid-template-columns: 155px minmax(420px, 1fr);
  gap: 14px;
  align-items: center;
}

.mini-sidebar {
  position: relative;
  z-index: 2;
  width: 155px;
  min-height: 360px;
  padding: 16px 12px;
  border-radius: 8px;
  color: #d9e7f8;
  background: linear-gradient(180deg, var(--nav), var(--nav-dark));
  box-shadow: 0 22px 45px rgba(6, 29, 53, .18);
  display: grid;
  align-content: start;
  gap: 8px;
}

.mini-logo {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #2d7ff9;
  color: white;
  font-size: 17px;
  font-weight: 900;
}

.mini-sidebar > span {
  margin-bottom: 8px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-sidebar a {
  min-height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  color: #d7e5f8;
  font-size: 10px;
  font-weight: 800;
}

.mini-sidebar a.active {
  background: #135fc8;
  color: white;
}

.mini-sidebar i {
  width: 14px;
  height: 14px;
}

.mini-dashboard {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5edf7;
}

.mini-top strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.08;
}

.mini-top span {
  display: block;
  margin-top: 0;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.platform-badge {
  min-width: 54px;
  min-height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #eef5ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.platform-modules {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-modules div {
  min-width: 0;
  min-height: 92px;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  padding: 13px;
  background: #f8fbff;
}

.platform-modules i {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.platform-modules strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.platform-modules span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.mini-user {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: #08294e;
  font-size: 11px;
  font-weight: 900;
}

.mini-kpis {
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mini-kpis div,
.mini-route,
.login-widget,
.feature-strip article,
.workflow article,
.support-card,
.metrics-footer div {
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  background: white;
}

.mini-kpis div {
  padding: 11px;
}

.mini-kpis strong {
  display: block;
  font-size: 18px;
}

.mini-kpis span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.mini-route {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.mini-route span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.mini-route strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.mini-route b {
  color: var(--green);
  border-radius: 999px;
  padding: 7px 10px;
  background: #e6f8ef;
  font-size: 12px;
}

.mini-map {
  position: relative;
  height: 190px;
  margin: 12px 0 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dce6f2;
  background:
    linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.28)),
    url("https://upload.wikimedia.org/wikipedia/commons/8/83/Equirectangular_projection_SW.jpg") center / cover;
}

.map-route {
  position: absolute;
  left: 15%;
  right: 11%;
  top: 48%;
  height: 56px;
  border-top: 3px dashed rgba(20, 102, 223, .82);
  border-radius: 50% 50% 0 0;
  transform: rotate(-7deg);
}

.map-pin {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 4px solid #2d7ff9;
  background: white;
}

.map-pin.start {
  left: 18%;
  top: 60%;
}

.map-pin.end {
  right: 12%;
  top: 36%;
}

.map-ship {
  position: absolute;
  left: 51%;
  top: 42%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: white;
  box-shadow: 0 12px 24px rgba(20, 102, 223, .16);
}

.platform-footer {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.platform-footer div {
  min-height: 58px;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  padding: 10px;
  background: white;
}

.platform-footer strong {
  display: block;
  color: #0b4aa0;
  font-size: 17px;
}

.platform-footer span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.login-widget {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
}

.login-widget:target,
.login-widget.is-open {
  display: grid;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 29, 53, .46);
  backdrop-filter: blur(8px);
}

.login-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  background: white;
  box-shadow: 0 28px 80px rgba(6, 29, 53, .28);
}

.close-login {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  color: #24425f;
  background: white;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.auth-card-head {
  margin-bottom: 18px;
}

.auth-card-head p {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-card-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
}

.auth-card-head span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #26374b;
  font-size: 12px;
  font-weight: 850;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfdbea;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 102, 223, .14);
}

.auth-form small {
  color: var(--red);
  font-size: 11px;
  font-weight: 750;
}

.captcha-box {
  min-height: 70px;
  border: 1px solid #cfdbea;
  border-radius: 8px;
  background: #f7fbff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  overflow: hidden;
}

.captcha-box img {
  width: 100%;
  height: 70px;
  display: block;
  object-fit: cover;
}

.captcha-box button {
  width: 44px;
  height: 70px;
  min-height: 70px;
  border: 0;
  border-left: 1px solid #cfdbea;
  border-radius: 0;
  background: #eef6ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.form-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.remember {
  display: flex !important;
  align-items: center;
  gap: 8px !important;
  color: var(--muted) !important;
}

.remember input {
  width: 16px;
  min-height: 16px;
}

.form-line a,
.auth-switch a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.auth-form button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #07264a;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(7, 38, 74, .18);
}

.auth-form .captcha-box button {
  width: 44px;
  height: 70px;
  min-height: 70px;
  border: 0;
  border-left: 1px solid #cfdbea;
  border-radius: 0;
  background: #eef6ff;
  color: var(--blue);
  padding: 0;
  box-shadow: none;
}

.demo-users {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #f8fbff;
  display: grid;
  gap: 5px;
}

.demo-users strong {
  font-size: 12px;
}

.demo-users span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.feature-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-strip article,
.workflow article {
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(16, 32, 51, .04);
}

.feature-strip i,
.workflow i {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.feature-strip strong,
.workflow strong {
  display: block;
  margin-top: 10px;
  font-size: 13px;
}

.feature-strip span,
.workflow span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 650;
}

.executive-section {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.executive-heading {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 25px rgba(16, 32, 51, .04);
}

.executive-heading p,
.services-panel > div > p,
.solution-copy p {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.executive-heading h2 {
  margin: 0;
  max-width: 820px;
  font-size: 30px;
  line-height: 1.1;
}

.executive-heading span {
  display: block;
  max-width: 880px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 650;
}

.executive-grid {
  display: grid;
  grid-template-columns: 1.18fr .91fr .91fr;
  gap: 18px;
}

.executive-card,
.services-panel,
.solution-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 25px rgba(16, 32, 51, .04);
}

.executive-card {
  padding: 24px;
}

.executive-card i {
  width: 34px;
  height: 34px;
  color: var(--blue);
}

.executive-card h3,
.services-panel h3,
.solution-copy h3 {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 1.18;
}

.executive-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 650;
}

.problem-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.services-panel {
  padding: 26px;
  display: grid;
  grid-template-columns: .74fr 1.26fr;
  gap: 26px;
  align-items: start;
}

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

.services-list span {
  min-height: 46px;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #263c55;
  background: #f8fbff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.services-list i {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: 0 0 auto;
}

.solution-panel {
  padding: 28px;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 26px;
  align-items: start;
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 102, 223, .08), transparent 30%),
    white;
}

.solution-copy span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 650;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.solution-list span {
  position: relative;
  min-height: 44px;
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  padding: 11px 12px 11px 34px;
  color: #263c55;
  background: #ffffff;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.solution-list span::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.workflow-section {
  padding: 44px 0 22px;
  text-align: center;
}

.workflow-section h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

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

.support-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 18px;
}

.support-card {
  min-height: 240px;
  padding: 28px;
}

.support-card p,
.ocean-section p {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.support-card h2,
.ocean-section h2 {
  margin: 0;
  max-width: 410px;
  font-size: 27px;
  line-height: 1.08;
}

.support-card span {
  display: block;
  max-width: 440px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
}

.support-card .outline-link {
  margin-top: 20px;
}

.dark-card {
  color: white;
  background:
    radial-gradient(circle at 80% 18%, rgba(45, 127, 249, .35), transparent 34%),
    linear-gradient(160deg, #071c35, #0b3561);
}

.dark-card p {
  color: #77d9e8;
}

.dark-card span {
  color: #c8daec;
}

.supplier-card {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.76)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1200&q=80") center / cover;
}

.ocean-section {
  margin-top: 20px;
  min-height: 292px;
  border-radius: 8px;
  padding: 30px;
  color: white;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: end;
  gap: 22px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 23, 43, .94), rgba(4, 23, 43, .55)),
    url("https://images.unsplash.com/photo-1494412685616-a5d310fbb07d?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.ocean-section p {
  color: #77d9e8;
}

.ocean-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ocean-tools article {
  min-height: 82px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.ocean-tools i {
  width: 22px;
  height: 22px;
  color: #77d9e8;
}

.ocean-tools strong {
  display: block;
  margin-top: 8px;
  font-size: 13px;
}

.ocean-tools span {
  display: block;
  margin-top: 4px;
  color: #c7d9ec;
  font-size: 11px;
  line-height: 1.35;
}

.metrics-footer {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metrics-footer div {
  padding: 18px;
  text-align: center;
}

.metrics-footer strong {
  display: block;
  color: #0b4aa0;
  font-size: 20px;
}

.metrics-footer span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
}

.auth-brand {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  color: white;
  background:
    radial-gradient(circle at 16% 16%, rgba(45, 127, 249, .36), transparent 30%),
    linear-gradient(180deg, var(--nav), var(--nav-dark));
}

.auth-brand-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.auth-brand-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px;
  border: 1px solid rgba(216, 230, 247, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.auth-brand-controls .theme-toggle,
.auth-brand-controls .language-switch {
  height: 42px;
  min-height: 42px;
  border-color: rgba(216, 230, 247, .24);
  box-shadow: none;
}

.auth-brand-controls .theme-toggle {
  width: 42px;
}

.auth-brand-controls .language-switch {
  padding: 4px;
}

.auth-brand-controls .language-switch button {
  min-width: 36px;
  min-height: 32px;
}

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

.brand-copy {
  max-width: 520px;
}

.brand-copy p {
  margin: 0 0 12px;
  color: #77d9e8;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.brand-copy h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: 0;
}

.brand-copy span {
  display: block;
  margin-top: 18px;
  color: #c9d9eb;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.auth-highlights {
  display: grid;
  gap: 12px;
}

.auth-highlights div {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d8e6f7;
  font-size: 13px;
  font-weight: 800;
}

.auth-highlights i {
  width: 28px;
  height: 28px;
  color: #77d9e8;
}

.auth-panel {
  padding: 32px;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.auth-switch {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1060px) {
  .public-nav {
    grid-template-columns: auto auto;
  }

  .public-nav nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .executive-grid,
  .workflow,
  .metrics-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-panel,
  .solution-panel {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 860px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    min-height: 340px;
    padding: 28px;
  }

  .auth-brand-top {
    align-items: center;
  }

  .brand-copy h1 {
    font-size: 34px;
  }

  .support-grid,
  .ocean-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .public-page {
    width: min(100% - 24px, 1180px);
    padding-top: 14px;
  }

  .public-nav {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .nav-actions {
    justify-content: stretch;
  }

  .nav-actions a,
  .hero-actions a {
    flex: 1;
  }

  .hero-section {
    padding-top: 26px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-preview {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .mini-sidebar {
    display: none;
  }

  .mini-dashboard,
  .mini-top,
  .mini-kpis,
  .mini-route,
  .mini-map {
    margin-left: 0;
  }

  .mini-dashboard {
    position: static;
    width: 100%;
  }

  .mini-kpis,
  .feature-strip,
  .executive-grid,
  .services-list,
  .solution-list,
  .workflow,
  .metrics-footer,
  .ocean-tools {
    grid-template-columns: 1fr;
  }

  .support-card,
  .ocean-section {
    padding: 22px;
  }
}

.legal-check {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
  padding: 12px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #f8fbff;
  color: var(--muted) !important;
  line-height: 1.45;
}

.legal-check input {
  width: 16px;
  min-height: 16px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.legal-check a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.legal-page {
  min-height: 100vh;
  padding: 36px 18px;
  background: var(--page);
  display: grid;
  place-items: start center;
}

.legal-document {
  width: min(860px, 100%);
  border: 1px solid #dce6f2;
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow);
  padding: 34px;
}

.legal-brand {
  width: fit-content;
  margin-bottom: 28px;
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-document h1 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 34px;
  letter-spacing: 0;
}

.legal-document h2 {
  margin: 24px 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.legal-document p {
  margin: 0 0 12px;
  color: #475a73;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.7;
}

.legal-action {
  margin-top: 18px;
}

.single-auth {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(20, 102, 223, .12), transparent 30%),
    var(--page);
  padding: 28px;
}

.verify-panel {
  width: min(520px, 100%);
  padding: 0;
}

.verify-card {
  width: 100%;
}

.verify-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: #f8fbff;
}

.verify-note i {
  color: var(--blue);
}

.verify-note strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.verify-note span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.logout-inline {
  margin-top: 12px;
}

.logout-inline button {
  width: 100%;
  min-height: 42px;
  border: 1px solid #dce6f2;
  border-radius: 8px;
  background: white;
  color: #24425f;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

@media(max-width:680px) {
  .legal-document {
    padding: 22px;
  }

  .legal-document h1 {
    font-size: 28px;
  }
}

@media (max-width: 920px) {
  .public-page,
  .auth-page {
    min-width: 0;
    overflow-x: hidden;
  }

  .public-nav {
    padding: 18px 16px;
    gap: 12px;
  }

  .public-nav nav {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .public-actions {
    margin-left: auto;
    gap: 8px;
  }

  .hero-section,
  .auth-split {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 40px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    max-width: 720px;
    font-size: 48px;
    line-height: 1.04;
  }

  .portal-preview,
  .login-dialog,
  .mini-dashboard,
  .platform-section,
  .feature-strip,
  .workflow,
  .metrics-footer,
  .auth-panel,
  .auth-card {
    max-width: 100%;
  }

  .portal-preview {
    margin: 0 auto;
  }

  .login-dialog {
    position: fixed;
    inset: 18px;
    width: auto;
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
    overflow: auto;
  }

  .auth-split {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .auth-brand-panel {
    min-height: auto;
    padding: 28px;
  }
}

@media (max-width: 620px) {
  .public-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-brand {
    justify-self: start;
  }

  .public-actions {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
  }

  .public-actions > a,
  .public-actions > button:not(.theme-toggle) {
    min-height: 42px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-section {
    padding-top: 22px;
  }

  .hero-copy > span {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: 38px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions,
  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
    justify-content: center;
  }

  .mini-dashboard {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .mini-sidebar {
    display: none;
  }

  .mini-kpis,
  .feature-strip,
  .workflow,
  .metrics-footer,
  .platform-modules,
  .solution-grid,
  .support-grid {
    grid-template-columns: 1fr !important;
  }

  .mini-map {
    min-height: 180px;
  }

  .login-dialog {
    inset: 10px;
    padding: 20px;
    max-height: calc(100dvh - 20px);
  }

  .auth-brand-panel,
  .auth-card {
    padding: 22px;
  }

  .auth-brand-copy h1,
  .auth-card-head h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .auth-form,
  .auth-card form {
    min-width: 0;
  }

  .captcha-box {
    grid-template-columns: 1fr;
  }

  .public-nav nav,
  .public-actions,
  .hero-copy,
  .portal-preview,
  .auth-card,
  .auth-brand-panel {
    min-width: 0;
  }

  .public-nav nav a,
  .public-actions a,
  .public-actions button,
  .auth-card p,
  .auth-card span,
  .hero-copy p {
    overflow-wrap: anywhere;
  }
}
