:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-strong: #0d1b2a;
  --text: #172033;
  --muted: #667085;
  --line: #d9e2ef;
  --primary: #1155cc;
  --primary-dark: #0b3d91;
  --accent: #00a676;
  --warning: #f59e0b;
  --shadow: 0 24px 70px rgba(15, 31, 56, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(17, 85, 204, 0.14), transparent 32rem),
    linear-gradient(180deg, #eef4ff 0%, var(--bg) 38%, #ffffff 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(217, 226, 239, 0.7);
  background: rgba(245, 247, 251, 0.82);
  backdrop-filter: blur(18px);
}

.partner-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(90deg, #063f9f, var(--primary), #063f9f);
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
}

.partner-strip span:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.partner-badge {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav,
.section,
.footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-strong);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand small,
.trust-card small,
.shipment-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #344054;
  font-weight: 600;
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.section {
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 460px;
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 76px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  color: #0b1220;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  color: #101828;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  color: #101828;
  font-size: 1.22rem;
}

.hero-copy {
  max-width: 650px;
  color: #475467;
  font-size: 1.13rem;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(17, 85, 204, 0.25);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: #172033;
}

.button-text {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  padding: 14px 16px;
  box-shadow: 0 10px 32px rgba(15, 31, 56, 0.06);
}

.trust-card-highlight {
  border: 2px solid rgba(17, 85, 204, 0.5);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 85, 204, 0.16);
}

.trust-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #e8f0ff;
  color: var(--primary);
  font-weight: 900;
}

.shipment-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    var(--surface-strong);
  color: #ffffff;
  padding: 30px;
  box-shadow: var(--shadow);
}

.access-card {
  border: 1px solid rgba(17, 85, 204, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(17, 85, 204, 0.12), rgba(255, 255, 255, 0)),
    #ffffff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.access-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #0d1b2a;
  color: #ffffff;
  margin-bottom: 14px;
  padding: 16px;
}

.access-card-header small {
  display: block;
  color: #b9c7dd;
  font-size: 0.82rem;
}

.partner-seal {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
}

.shipment-card::before {
  position: absolute;
  inset: auto -70px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(0, 166, 118, 0.25);
  content: "";
}

.shipment-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
  color: #d7e3f8;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(0, 166, 118, 0.16);
}

.route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.route strong {
  display: block;
  margin-top: 6px;
  font-size: 1.35rem;
}

.route-line {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, #8fb7ff, var(--accent));
}

.shipment-stats,
.order-details {
  display: grid;
  gap: 14px;
  margin: 0;
}

.shipment-stats {
  grid-template-columns: repeat(3, 1fr);
}

.shipment-stats div,
.order-details div {
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shipment-stats dt {
  color: #9fb0ca;
}

dd {
  margin: 6px 0 0;
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.security-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.grid {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 26px;
  box-shadow: 0 16px 46px rgba(15, 31, 56, 0.06);
}

.card p {
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--primary);
  font-weight: 900;
}

.security-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 34px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: #0d1b2a;
  color: #ffffff;
  padding: 48px;
}

.security-panel h2 {
  color: #ffffff;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  padding: 16px 18px;
}

.check-list li::before {
  margin-right: 10px;
  color: var(--accent);
  content: "\2713";
  font-weight: 900;
}

.order-section {
  padding-bottom: 110px;
}

.portal {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: start;
}

.portal-form,
.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow);
}

.portal-form-compact {
  border: 0;
  border-radius: 22px;
  box-shadow: none;
}

.portal-form-compact h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.form-intro {
  color: var(--muted);
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  color: #344054;
  font-weight: 800;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

input:focus {
  border-color: rgba(17, 85, 204, 0.68);
  box-shadow: 0 0 0 4px rgba(17, 85, 204, 0.12);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.consent input {
  margin-top: 4px;
}

.portal-form .button {
  width: 100%;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-card {
  min-height: 100%;
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  border-radius: 999px;
  background: #e6f8f2;
  color: #007a57;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.order-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-details div {
  background: #f7f9fc;
}

.portal-message {
  min-height: 26px;
  margin: 18px 0 0;
  color: var(--primary);
  font-weight: 800;
}

.portal-message.error {
  color: #b42318;
}

.hidden {
  display: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}

.footer p {
  max-width: 520px;
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  text-align: right;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .partner-strip {
    flex-wrap: wrap;
  }

  .hero,
  .security-panel,
  .portal,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 58px 0;
  }

  .security-panel {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .nav,
  .section,
  .footer {
    width: min(100% - 28px, 1160px);
  }

  h1 {
    font-size: 3rem;
  }

  .trust-card,
  .hero-actions .button {
    width: 100%;
  }

  .shipment-stats,
  .order-details {
    grid-template-columns: 1fr;
  }

  .route {
    grid-template-columns: 1fr;
  }

  .route-line {
    width: 2px;
    height: 42px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    text-align: left;
  }
}
