/* SMAT Logistics — Exact Live Site Design Match
   Colors, typography, and styling extracted from https://www.smatlogistics.com/ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
  --teal: #37C0C8;
  /* Live site primary cyan */
  --teal-hover: #239291;
  /* Live site hover cyan */
  --teal-dark: #065E5D;
  /* Live site dark teal */
  --teal-deep: #0C3A3D;
  /* Live site deep forest teal */
  --navy: #0C3A3D;
  /* Deep dark accent */
  --navy2: #05434A;
  /* Deep navy text container */
  --ink: #05434A;
  /* Live site main text color */
  --muted: #5B7280;
  /* Secondary muted text */
  --line: #DCEEED;
  /* Soft border lines */
  --bg: #F1FAFB;
  /* Live site body background */
  --card: #FFFFFF;
  --mint-border: #94E387;
  /* Live site green photo border */
  --mint-light: #BBF5DD;
  /* Mint highlight */
  --cyan-light: #DFF8F7;
  /* Soft cyan pill/badge background */
  --gold: #FFB800;
  /* Star ratings */
  --green: #1A9E6B;
  --red: #C0392B;
  --amber: #B7791F;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(12, 58, 61, 0.09);
  --shadow-sm: 0 6px 18px rgba(12, 58, 61, 0.05);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--teal);
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.4em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.eyebrow.left {
  justify-content: flex-start;
}

.section {
  padding: 76px 0;
}

.section h2 {
  font-size: clamp(30px, 4vw, 42px);
  text-align: center;
}

.section .lede {
  text-align: center;
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 40px;
  font-size: 16.5px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  min-height: 46px;
  border-radius: 12px;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(55, 192, 200, 0.35);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--teal-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(55, 192, 200, 0.45);
}

.btn.ghost {
  background: transparent;
  color: var(--teal-deep);
  border: 1.5px solid var(--teal-dark);
  box-shadow: none;
}

.btn.ghost:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn.dark {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(12, 58, 61, 0.25);
}

.btn.dark:hover {
  background: var(--teal-dark);
}

.btn.small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
}

.btn.block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn:focus-visible {
  outline: 3px solid rgba(53, 169, 167, 0.55);
  outline-offset: 3px;
}

/* CARDS & GRIDS */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* TOP BAR + HEADER */
.topbar {
  background: var(--navy);
  color: #CFE3E8;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 24px;
  flex-wrap: wrap;
}

.topbar a {
  color: #fff;
}

.topbar a:hover {
  color: var(--teal);
}

.topbar .dot {
  color: #2DD4A7;
}

.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(12, 58, 61, 0.04);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--teal);
  border-radius: 2px;
}

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

.menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
}

/* HERO SECTION */
.hero {
  padding: 64px 0 54px;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--teal);
}

.hero .kicker {
  color: var(--teal);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 8px 18px 8px 12px;
  border-radius: 50px;
  margin-top: 24px;
}

.hero-stats-badge .avatars {
  display: flex;
}

.hero-stats-badge .avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  object-fit: cover;
}

.hero-stats-badge .avatars img:first-child {
  margin-left: 0;
}

.hero-stats-badge .counter-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  line-height: 1;
}

.hero-stats-badge .counter-lbl {
  font-size: 12.5px;
  color: var(--muted);
  display: block;
}

/* HERO CAROUSEL */
.hero-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(12, 58, 61, 0.16);
  background: var(--teal-deep);
  aspect-ratio: 4/3;
  max-height: 440px;
}

.hero-carousel .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-carousel .slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.hero-carousel-dot.active {
  background: var(--teal);
  width: 24px;
  border-radius: 8px;
}

.hero-media {
  position: relative;
}

.float-card {
  position: absolute;
  top: -16px;
  right: -16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(12, 58, 61, 0.14);
  padding: 16px 22px;
  border: 1px solid var(--line);
  z-index: 12;
}

.float-card b {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--teal-deep);
}

.float-card a {
  color: var(--teal);
  font-weight: 600;
  font-size: 13.5px;
  display: inline-block;
  margin-top: 4px;
}

.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  margin-left: 18px;
  vertical-align: middle;
}

.exp-badge b {
  font-size: 32px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--teal);
  line-height: 1;
}

.exp-badge span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.3;
}

.exp-badge span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--teal);
}

.exp-badge {
  border-left: 4px solid var(--teal);
  padding-left: 16px;
  margin: 28px 0;
}

.exp-badge b {
  font-size: 36px;
  font-family: var(--font-heading);
  color: var(--navy);
  display: block;
  line-height: 1;
}

.exp-badge span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

/* MISSION & VISION BANDS */
.band {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  align-items: stretch;
  margin: 56px 0;
}

.band .photo {
  position: relative;
  z-index: 2;
}

.band .photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 20px;
  border: 10px solid var(--mint-border);
  box-shadow: var(--shadow);
}

.band .copy {
  background: var(--teal-dark);
  color: #fff;
  border-radius: 0 20px 20px 0;
  padding: 44px 48px;
  margin: 24px 0 24px -36px;
  padding-left: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.band .copy h2 {
  color: #fff;
  text-align: left;
  font-size: 34px;
}

.band .copy p {
  color: #D7ECEC;
  font-size: 16px;
  line-height: 1.7;
}

/* .band.flip .copy {
  border-radius: 20px 0 0 20px;
  margin: 24px -36px 24px 0;
  padding-right: 64px;
  padding-left: 48px;
  order: -1;
}

.band.flip .photo {
  order: 0;
} */

/* SERVICES CARDS */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(12, 58, 61, 0.08);
  border-color: var(--teal);
}

.service-card .icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.center {
  text-align: center;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.stats-img img {
  border-radius: 20px;
  width: 100%;
  box-shadow: var(--shadow);
  background: var(--mint-light);
  padding: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat {
  background: var(--teal-dark);
  color: #fff;
  border-radius: 20px;
  padding: 30px 24px;
  min-height: 160px;
  box-shadow: 0 12px 28px rgba(6, 94, 93, 0.22);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(55, 192, 200, 0.15);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(6, 94, 93, 0.35);
}

.stat .stat-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
}

.stat b {
  font-family: var(--font-heading);
  font-size: 36px;
  display: block;
  line-height: 1.1;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.stat span.stat-title {
  font-size: 14.5px;
  color: #CFE3E8;
  display: block;
  margin-top: 6px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.stat-watermark {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 58px;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

/* CARRIER LEAD SECTION */
.carrier-lead-card {
  background: var(--teal-deep);
  border-radius: 28px;
  padding: 48px 44px;
  color: #fff;
  box-shadow: var(--shadow);
}

.carrier-lead-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  margin-top: 32px;
}

.carrier-lead-img {
  text-align: center;
}

.carrier-lead-img img {
  width: 100%;
  max-width: 380px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.carrier-lead-tagline {
  font-size: 16px;
  color: var(--teal);
  font-weight: 600;
  margin-top: 16px;
  font-family: var(--font-heading);
}

/* QUOTE / CONTACT 4-STEPS */
.quote-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.quote-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.quote-step:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
}

.quote-step .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}

.quote-step .step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: all 0.25s ease;
}

.social-btn svg {
  width: 17px;
  height: 17px;
  fill: #fff;
  transition: fill 0.25s ease;
}

.social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}

.social-btn:hover svg {
  fill: #fff;
}

/* FORMS */
label {
  display: block;
  font-weight: 600;
  font-size: 13.5px;
  margin: 0 0 6px;
  color: var(--ink);
}

label .req {
  color: var(--red);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(55, 192, 200, 0.2);
}

.field {
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hint {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 400;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  font-size: 14.5px;
  margin: 8px 0;
  cursor: pointer;
}

.check input {
  width: auto;
  margin-top: 3px;
  cursor: pointer;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.error {
  color: var(--red);
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

.field.invalid input,
.field.invalid select {
  border-color: var(--red);
}

.field.invalid .error {
  display: block;
}

/* ONBOARDING HERO */
.onboard-hero {
  background: linear-gradient(115deg, #06242B 0%, #0C3A3D 55%, #065E5D 100%);
  color: #fff;
  padding: 68px 0 76px;
}

.onboard-hero h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  color: #fff;
  font-weight: 800;
}

.onboard-hero h1 .accent {
  color: var(--teal);
}

.onboard-hero p {
  color: #CFE3E8;
  max-width: 580px;
  font-size: 16.5px;
}

.onboard-hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.checklist-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.checklist-card h3 {
  font-size: 20px;
}

.pill {
  display: inline-block;
  background: var(--cyan-light);
  color: var(--teal-dark);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.check-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.check-item:first-of-type {
  border-top: 0;
}

.check-item .tick {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--cyan-light);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.check-item b {
  display: block;
  font-size: 15px;
}

.check-item span {
  font-size: 13.5px;
  color: var(--muted);
}

.hero-points {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 14.5px;
  color: #CFE3E8;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
}

.wizard-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 36px;
  align-items: start;
}

.support-card {
  background: var(--navy);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  margin-top: 22px;
}

.support-card a {
  color: var(--teal);
  font-weight: 600;
}

.wizard-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 34px;
  border: 1px solid var(--line);
}

/* WIZARD PROGRESS STEPS */
.steps {
  display: flex;
  gap: 0;
  margin: 22px 0 32px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--muted);
  font-family: var(--font-heading);
}

.step::before {
  content: attr(data-n);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #EEF3F4;
  border: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.step::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

.step.active {
  color: var(--teal-dark);
}

.step.active::before {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.step.done::before {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  content: "✓";
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.saved {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

/* NOTICES */
.notice {
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 14.5px;
  margin: 18px 0;
  line-height: 1.5;
}

.notice.green {
  background: #EAFBF4;
  border: 1px solid #BEEBD6;
  color: #0C5E3D;
}

.notice.amber {
  background: #FFF9EB;
  border: 1px solid #F6DF9C;
  color: #8F5B00;
}

.notice.red {
  background: #FDF1EF;
  border: 1px solid #F5C6BE;
  color: #9C2E20;
}

.shipper-payment-security .payment-security-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}

.shipper-payment-security .payment-security-heading svg {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.shipper-payment-security p {
  margin: 0;
}

/* TABLES */
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
}

table.data th {
  text-align: left;
  background: #F4FAFA;
  padding: 12px 14px;
  border-bottom: 2px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.03em;
  font-family: var(--font-heading);
}

table.data td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

/* BADGES & TABS */
.badge {
  display: inline-block;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}

.badge.pending {
  background: #FFF3D6;
  color: #8A5A00;
}

.badge.approved,
.badge.paid,
.badge.delivered {
  background: #E2F5E9;
  color: #146C43;
}

.badge.rejected,
.badge.overdue {
  background: #FDE4E1;
  color: #8F2B22;
}

.badge.info {
  background: #E6F4F8;
  color: #0B5C6E;
}

.badge.draft {
  background: #EEF2F3;
  color: #5B7280;
}

.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tabs button {
  background: none;
  border: 0;
  padding: 10px 4px;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: var(--font-heading);
}

.tabs button.active {
  color: var(--teal-dark);
  border-color: var(--teal);
}

/* TESTIMONIALS */
.testi {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 28px;
  border: 1px solid var(--line);
}

.testi .who {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 18px;
}

/* FOOTER */
.site-footer {
  background: var(--teal-deep);
  color: #CFE3E8;
  margin-top: 0;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding: 60px 0 32px;
}

.site-footer h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 16px;
  font-family: var(--font-heading);
}

.site-footer a {
  color: #CFE3E8;
  display: block;
  margin: 8px 0;
  font-size: 14.5px;
}

.site-footer a:hover {
  color: var(--teal);
}

.site-footer .fine {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: #9DB8BF;
}

.footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
}

/* PORTALS */
.portal {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  min-height: 100vh;
  background: #f4f7fb;
}

.portal-side {
  background: var(--navy);
  color: #CFE3E8;
  padding: 24px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  box-shadow: 8px 0 30px rgba(13, 35, 54, .08);
}

.portal-side a {
  display: flex;
  gap: 10px;
  color: #CFE3E8;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  margin: 4px 0;
}

.portal-side a:hover,
.portal-side a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.portal-nav {
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin: 14px 0;
  padding-bottom: 12px;
}

.portal-nav a {
  font-size: 13.5px;
  margin: 2px 0;
  padding: 10px 12px;
}

.portal-home {
  border: 1px solid rgba(255, 255, 255, .13);
}

.portal-side a.notification-link {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  padding: 9px 12px;
}

.portal-side a.notification-link.unread {
  background: rgba(255, 255, 255, .08);
}

.portal-side a.notification-link small {
  color: #9db8bf;
  display: block;
  font-weight: 400;
  margin-top: 3px;
}

.portal-main {
  padding: 36px clamp(20px, 4vw, 64px) 64px;
  max-width: 1600px;
  width: 100%;
}

.dashboard-page {
  animation: dashboard-enter .18s ease-out;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 20px;
  align-items: start;
}

.settings-grid h2 {
  margin-top: 0;
}

.settings-grid hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.settings-security {
  position: sticky;
  top: 22px;
}

.settings-security p {
  line-height: 1.6;
}

.muted,
.field small {
  color: var(--muted);
}

.crud-create {
  border-bottom: 1px solid var(--line);
  margin: 12px 0 22px;
  padding-bottom: 16px;
}

.crud-create summary {
  cursor: pointer;
  list-style: none;
}

.crud-create summary::-webkit-details-marker {
  display: none;
}

.crud-form {
  background: #f7fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 14px;
  padding: 18px;
}

.crud-actions {
  min-width: 110px;
  white-space: nowrap;
}

.btn.danger {
  border: 1px solid #f0d7d4;
  background: #fff5f4;
  color: #a63c36;
  box-shadow: none;
}

.btn.danger:hover {
  border-color: #d7a29d;
  background: #a63c36;
  color: #fff;
  box-shadow: 0 8px 18px rgba(166, 60, 54, 0.18);
}

@keyframes dashboard-enter {
  from { opacity: .7; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 22px 0;
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.kpi b {
  font-family: var(--font-heading);
  font-size: 28px;
  display: block;
  color: var(--ink);
}

.kpi span {
  color: var(--muted);
  font-size: 13.5px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section-heading h3 {
  margin: 0;
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  z-index: 300;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.demo-box {
  background: var(--cyan-light);
  border: 1.5px dashed var(--teal);
  border-radius: 14px;
  padding: 18px;
  font-size: 14px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.role-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.role-pick label {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-heading);
  text-align: center;
  margin: 0;
  transition: all 0.2s ease;
}

.role-pick input {
  width: auto;
}

.role-pick label:has(input:checked) {
  border-color: var(--teal);
  background: #EEFAFA;
}

/* RESPONSIVE */
@media (max-width: 900px) {

  .grid3,
  .grid4,
  .grid2,
  .hero-grid,
  .onboard-hero .wrap,
  .wizard-layout,
  .stats,
  .auth-grid,
  .carrier-lead-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .quote-steps {
    grid-template-columns: 1fr 1fr;
  }

  .band {
    grid-template-columns: 1fr;
  }

  .band .copy {
    margin: -20px 12px 0;
    padding: 30px;
    border-radius: 18px;
  }

  .band.flip .copy {
    order: 0;
    margin: -20px 12px 0;
    padding: 30px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .header-actions .btn.ghost {
    display: none;
  }

  .portal {
    grid-template-columns: 1fr;
  }

  .portal-side {
    position: static;
    height: auto;
  }

  .portal-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .portal-main {
    padding: 24px 16px 42px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-security {
    position: static;
  }

  .kpis {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .cols {
    grid-template-columns: 1fr;
  }

  .float-card {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-media img,
  .hero-carousel {
    max-height: 320px;
    aspect-ratio: auto;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .quote-steps {
    grid-template-columns: 1fr;
  }

  .carrier-lead-card {
    padding: 32px 20px;
  }
}

/* DASHBOARD WORKSPACE */
.portal {
  grid-template-columns: 252px minmax(0, 1fr);
  background: #f5f8fb;
}

.portal-side {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 22px 16px 18px;
  background: #0c3039;
  box-shadow: 8px 0 28px rgba(13, 35, 54, .08);
}

.portal-side a {
  text-decoration: none;
}

.portal-side .portal-brand {
  display: grid;
  justify-items: start;
  gap: 15px;
  padding: 4px 10px 24px;
  margin: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.portal-side .portal-brand:hover {
  background: transparent;
}

.portal-brand img {
  width: 146px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.portal-brand span {
  color: #9dc5c9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.portal-side .portal-nav {
  display: grid;
  gap: 5px;
  border: 0;
  margin: 0;
  padding: 0;
}

.portal-side .portal-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #c4d6da;
  font-size: 13px;
  font-weight: 600;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.portal-side .portal-nav a:hover {
  background: rgba(255,255,255,.07);
  color: #fff;
}

.portal-side .portal-nav a.active {
  background: rgba(55,192,200,.14);
  border-color: rgba(55,192,200,.22);
  color: #fff;
}

.portal-side .portal-nav a.active::before {
  position: absolute;
  left: -1px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--teal);
  content: "";
}

.portal-side .portal-home {
  margin-bottom: 10px;
  border-color: rgba(255,255,255,.1);
}

.portal-updates {
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
}

.portal-updates summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  color: #c4d6da;
  font-size: 12px;
  font-weight: 700;
}

.portal-updates summary::-webkit-details-marker {
  display: none;
}

.portal-updates summary span {
  color: #fff;
  font-size: 11px;
  background: rgba(55,192,200,.2);
  border-radius: 20px;
  padding: 2px 8px;
}

.portal-update-list {
  display: grid;
  gap: 5px;
  margin-top: 9px;
}

.portal-side a.notification-link {
  margin: 0;
  border-radius: 8px;
  color: #e3eff0;
  font-size: 11px;
}

.portal-side a.notification-link small {
  color: #a4bdc1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.portal-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 20px 2px 12px;
}

.portal-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(55,192,200,.17);
  color: #d7ffff;
  font-size: 14px;
  font-weight: 700;
}

.portal-account-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.portal-account-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-account-copy small {
  overflow: hidden;
  color: #a4bdc1;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 12px;
}

.portal-side .portal-account-actions a,
.portal-side button.signout-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: transparent;
  color: #c4d6da;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.portal-side .portal-account-actions a:hover,
.portal-side .portal-account-actions a.active,
.portal-side button.signout-btn:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.portal-account-actions form {
  margin: 0;
}

.portal-main {
  max-width: 1680px;
  padding: 38px clamp(22px, 4vw, 58px) 60px;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin: 0 0 26px;
}

.dashboard-heading .eyebrow {
  margin-bottom: 9px;
  font-size: 10px;
  letter-spacing: .16em;
}

.dashboard-heading h1 {
  margin: 0;
  color: #123d48;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -.035em;
}

.dashboard-heading > div:first-child > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.dashboard-page {
  display: grid;
  gap: 18px;
}

.portal-main .card {
  min-width: 0;
  border-color: #e4edf1;
  border-radius: 14px;
  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: 0 4px 16px rgba(12,58,61,.045);
}

.portal-main .card h2,
.portal-main .card h3 {
  color: #153f4a;
}

.dashboard-card-spaced {
  margin-top: 0;
}

.dashboard-kpis {
  margin: 0 0 2px;
}

.portal-main .kpi {
  position: relative;
  overflow: hidden;
  border-color: #e4edf1;
  border-radius: 14px;
  padding: 19px 20px;
  box-shadow: 0 4px 16px rgba(12,58,61,.045);
}

.portal-main .kpi::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--teal);
  content: "";
}

.portal-main .kpi b {
  font-size: clamp(23px, 2vw, 29px);
  letter-spacing: -.035em;
}

.portal-main .kpi span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.portal-main table.data {
  margin-top: 14px;
}

.portal-main table.data th {
  color: #607884;
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.portal-main table.data td {
  color: #294d57;
  font-size: 13px;
}

.portal-main table.data tbody tr:hover {
  background: #f8fbfc;
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.portal-main table.data {
  display: table;
  width: 100%;
  min-width: 720px;
  max-width: none;
  white-space: normal;
}

.portal-main .dashboard-overview-grid table.data {
  min-width: 620px;
}

.record-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: start;
  gap: 16px;
}

.record-layout > .card {
  min-width: 0;
}

.record-layout h2 {
  margin: 0 0 14px;
  color: var(--workspace-ink);
  font-size: 17px;
}

.record-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.record-grid > div {
  min-width: 0;
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid #edf1f4;
}

.record-grid dt {
  margin-bottom: 5px;
  color: var(--workspace-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.record-grid dd {
  margin: 0;
  color: #294d57;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.record-form .field {
  margin-bottom: 12px;
}

.record-subheading,
.record-subsection {
  display: block;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e9eef2;
}

.record-subheading {
  margin-bottom: 4px;
  color: var(--workspace-ink);
  font-size: 14px;
}

.record-history {
  padding: 11px 0;
  border-bottom: 1px solid #edf1f4;
  color: #526974;
  font-size: 12px;
  line-height: 1.6;
}

.record-document-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.compliance-status {
  display: inline-flex;
  min-width: 68px;
  justify-content: center;
  border-radius: 20px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.compliance-status.complete {
  background: #e5f5ec;
  color: #176345;
}

.compliance-status.needed {
  background: #f0f3f5;
  color: #617681;
}

.empty-state {
  margin: 0;
  padding: 24px;
  border: 1px dashed #d4e2e7;
  border-radius: 10px;
  color: var(--muted);
  text-align: center;
}

.portal-main .field-row,
.portal-main .dashboard-search {
  align-items: end;
}

.dashboard-search {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: end;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #e4edf1;
  border-radius: 12px;
  background: #fff;
}

.dashboard-search .field {
  margin: 0;
}

.dashboard-search label {
  margin-bottom: 5px;
  font-size: 11px;
}

.portal-main .section-heading {
  margin-bottom: 12px;
}

.portal-main .notice {
  margin: 0;
}

.dashboard-guidance {
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.dashboard-guidance summary {
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 700;
}

.dashboard-guidance p {
  margin: 8px 0 0;
}

.portal-main .toast-success {
  display: block;
  background: #065e5d;
}

.portal-main .toast-error {
  display: block;
  background: #a52e37;
}

@media (max-width: 900px) {
  .portal {
    grid-template-columns: 1fr;
  }

  .portal-side {
    position: relative;
    height: auto;
    overflow: visible;
    padding: 14px 18px;
  }

  .portal-side .portal-brand {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    padding: 0 2px 12px;
    margin-bottom: 12px;
  }

  .portal-brand img {
    width: 128px;
    height: 34px;
  }

  .portal-side .portal-nav {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .portal-side .portal-nav a {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .portal-account {
    margin-top: 12px;
    padding: 12px 0 8px;
  }

  .portal-main {
    padding: 26px 18px 42px;
  }

  .portal-main .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .dashboard-heading {
    align-items: flex-start;
  }

  .dashboard-search {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-search .field {
    grid-column: 1 / -1;
  }

  .portal-main .card {
    padding: 17px;
  }

  .portal-main .kpis {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* Workspace refresh */
:root {
  --workspace-bg: #f3f6fa;
  --workspace-card: #fff;
  --workspace-border: #e4eaf0;
  --workspace-ink: #152e3b;
  --workspace-muted: #687d89;
}

.portal {
  grid-template-columns: 258px minmax(0, 1fr);
  background: var(--workspace-bg);
}

.portal-side {
  z-index: 5;
  padding: 22px 15px 16px;
  background: linear-gradient(180deg, #102f3a 0%, #0c2833 100%);
  box-shadow: 5px 0 24px rgba(10, 36, 48, .1);
}

.portal-side .portal-brand {
  gap: 13px;
  padding: 4px 11px 20px;
  margin-bottom: 16px;
}

.portal-brand img {
  width: 150px;
  height: 38px;
}

.portal-brand span {
  color: #89adb3;
  font-size: 9px;
  letter-spacing: .19em;
}

.portal-side .portal-nav {
  gap: 4px;
}

.portal-side .portal-nav a {
  min-height: 40px;
  border-radius: 8px;
  color: #b6c8ce;
  font-size: 12.5px;
}

.portal-side .portal-nav a.active {
  background: #1b4651;
  border-color: #285762;
  color: #fff;
}

.portal-side .portal-home {
  margin-bottom: 8px;
  background: rgba(255,255,255,.035);
}

.portal-side .portal-account {
  padding: 15px 3px 11px;
}

.portal-account-actions {
  gap: 7px;
}

.portal-main {
  min-width: 0;
  max-width: none;
  padding: 0 clamp(20px, 4vw, 58px) 56px;
}

.workspace-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  margin: 0 calc(clamp(20px, 4vw, 58px) * -1) 34px;
  padding: 0 clamp(20px, 4vw, 58px);
  border-bottom: 1px solid #e6ebf0;
  background: rgba(255,255,255,.92);
}

.workspace-context {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6b7e88;
  font-size: 11px;
  font-weight: 600;
}

.workspace-context-mark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #23a987;
  box-shadow: 0 0 0 3px #e3f5ef;
}

.workspace-context i {
  padding: 0 4px;
  color: #b2bec6;
  font-style: normal;
}

.workspace-date {
  color: #80919a;
  font-size: 11px;
}

.dashboard-heading {
  align-items: flex-end;
  margin-bottom: 25px;
}

.dashboard-heading .eyebrow {
  margin-bottom: 8px;
  color: #36999a;
  font-size: 9px;
}

.dashboard-heading .eyebrow::before {
  width: 16px;
  background: #36999a;
}

.dashboard-heading h1 {
  color: var(--workspace-ink);
  font-size: clamp(27px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -.045em;
}

.dashboard-heading > div:first-child > p:last-child {
  max-width: 680px;
  margin-top: 7px;
  color: var(--workspace-muted);
  font-size: 13px;
}

.dashboard-page {
  gap: 16px;
}

.portal-main .card,
.portal-main .kpi {
  border: 1px solid var(--workspace-border);
  border-radius: 12px;
  background: var(--workspace-card);
  box-shadow: 0 2px 6px rgba(21,46,59,.025), 0 9px 24px rgba(21,46,59,.025);
}

.portal-main .card {
  padding: clamp(18px, 2.1vw, 24px);
}

.portal-main .card h2,
.portal-main .card h3 {
  margin: 0;
  color: var(--workspace-ink);
  font-size: 16px;
  letter-spacing: -.018em;
}

.portal-main .card h3 + p,
.portal-main .card h2 + p {
  margin-top: 10px;
}

.dashboard-section-kicker {
  margin: 0 0 4px;
  color: #82929b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dashboard-section-title {
  margin-bottom: 17px;
}

.dashboard-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, .85fr);
  align-items: start;
  gap: 16px;
}

.dashboard-overview-grid > .card {
  min-width: 0;
}

.portal-main .dashboard-overview-grid .section-heading {
  align-items: center;
  margin-bottom: 10px;
}

.dashboard-overview-grid .section-heading > div {
  min-width: 0;
}

.portal-main .dashboard-overview-grid .section-heading .btn {
  flex: 0 0 auto;
}

.dashboard-activity {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dashboard-activity .dashboard-section-title {
  margin-bottom: 9px;
}

.activity-item {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 9px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f4;
}

.activity-item:last-of-type {
  border-bottom: 0;
}

.activity-dot {
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border: 2px solid #b5e5dc;
  border-radius: 50%;
  background: #329f8f;
  box-sizing: content-box;
}

.activity-item p {
  margin: 0;
  color: #364f5b;
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.activity-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.activity-item small {
  display: block;
  margin-top: 4px;
  color: #8b9aa2;
  font-size: 9px;
}

.dashboard-text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 12px;
  color: #16817e;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-text-link:hover {
  color: #0c5d5a;
}

.portal-main .kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
}

.portal-main .kpi {
  min-width: 0;
  padding: 17px 18px;
}

.portal-main .kpi::before {
  width: 2px;
  background: #55b8ad;
}

.portal-main .kpi b {
  color: #193d4a;
  font-size: clamp(21px, 2.3vw, 27px);
}

.portal-main .kpi span {
  color: #71838d;
  font-size: 10px;
  line-height: 1.4;
}

.dashboard-search {
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin: -7px 0 16px;
  border-color: var(--workspace-border);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  box-shadow: 0 2px 6px rgba(21,46,59,.025);
}

.portal-main .field-row {
  gap: 12px;
}

.portal-main form.field-row > .btn {
  justify-self: start;
  width: auto;
}

.portal-main .field {
  margin-bottom: 12px;
}

.portal-main .field label {
  color: #506773;
  font-size: 11px;
  font-weight: 700;
}

.portal-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.portal-main select,
.portal-main textarea {
  border-color: #dce5eb;
  border-radius: 8px;
  background-color: #fff;
  color: #243f4b;
  font-family: var(--font);
  font-size: 12px;
  box-shadow: none;
}

.portal-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.portal-main select:focus,
.portal-main textarea:focus {
  border-color: #5bbab1;
  outline: 3px solid rgba(55,192,200,.12);
}

.portal-main .btn {
  min-height: 46px;
  border-radius: 12px;
  padding: 12px 20px;
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(55, 192, 200, 0.35);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
}

.portal-main .btn:hover {
  transform: translateY(-2px);
  background: var(--teal-hover);
  box-shadow: 0 14px 28px rgba(55, 192, 200, 0.45);
}

.portal-main .btn.small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
}

.portal-main .btn.ghost {
  border: 1.5px solid var(--teal-dark);
  background: transparent;
  color: var(--teal-deep);
  box-shadow: none;
}

.portal-main .btn.ghost:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.portal-main .btn.danger {
  border: 1px solid #f0d7d4;
  background: #fff5f4;
  color: #a63c36;
  box-shadow: none;
}

.portal-main .btn.danger:hover {
  border-color: #d7a29d;
  background: #a63c36;
  color: #fff;
  box-shadow: 0 8px 18px rgba(166, 60, 54, 0.18);
}

.portal-main .section-heading {
  align-items: flex-end;
}

.portal-main .section-heading h2 {
  margin: 0;
}

.portal-main table.data {
  margin-top: 13px;
  border: 1px solid #e8edf1;
  border-radius: 9px;
  border-spacing: 0;
  background: #fff;
}

.portal-main table.data th {
  padding: 11px 12px;
  border-bottom: 1px solid #e6edf1;
  background: #f7f9fb;
  color: #788a94;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}

.portal-main table.data td {
  padding: 11px 12px;
  border-bottom: 1px solid #edf1f4;
  color: #334d59;
  font-size: 11px;
  line-height: 1.55;
}

.portal-main table.data tbody tr:last-child td {
  border-bottom: 0;
}

.portal-main table.data td small {
  color: #7e9099;
  font-size: 10px;
}

.portal-main .badge {
  padding: 4px 9px;
  font-size: 9px;
  letter-spacing: .01em;
}

.portal-main .notice {
  border-radius: 9px;
  font-size: 12px;
}

.dashboard-description {
  margin: 7px 0 14px;
  color: var(--workspace-muted);
  font-size: 11px;
  line-height: 1.6;
}

.application-reference {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #526b76;
  font-size: 12px;
}

.review-history {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #ebf0f3;
}

.review-history summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3a6470;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  list-style: none;
}

.review-history summary::-webkit-details-marker {
  display: none;
}

.review-history summary span {
  border-radius: 15px;
  background: #eef4f6;
  padding: 2px 7px;
  color: #607983;
  font-size: 9px;
}

.review-history p {
  margin: 10px 0 0;
  padding-left: 10px;
  border-left: 2px solid #d5e9e7;
}

.compliance-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.compliance-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e9eef1;
  border-radius: 9px;
  background: #fbfcfd;
}

.compliance-item > span:last-child {
  display: grid;
  gap: 3px;
}

.compliance-item b {
  color: #314f5a;
  font-size: 10px;
}

.compliance-item small {
  color: #81919a;
  font-size: 9px;
  line-height: 1.45;
}

.compliance-status {
  flex: 0 0 auto;
  min-width: 60px;
  padding: 3px 6px;
  font-size: 8px;
}

.carrier-overview-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
}

.shipper-overview-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
}

.shipper-actions-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.shipper-actions-card .dashboard-guidance {
  width: 100%;
  margin-top: 8px;
}

.workflow-create {
  margin: 0;
}

.workflow-create > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}

.workflow-create > summary::-webkit-details-marker {
  display: none;
}

.workflow-create > summary > span:first-child {
  display: grid;
  gap: 3px;
}

.workflow-create > summary b {
  color: #294a56;
  font-size: 12px;
}

.workflow-create > summary small {
  color: #80919a;
  font-size: 10px;
}

.workflow-create-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #d4e5e5;
  border-radius: 8px;
  background: #f5fbfa;
  color: #197c78;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.workflow-create[open] > summary {
  padding-bottom: 14px;
  border-bottom: 1px solid #e8eef1;
}

.workflow-create > form,
.workflow-create > p,
.workflow-create > h3 {
  margin-top: 16px;
}

.workflow-create-inline {
  min-width: min(100%, 300px);
}

.workflow-create-inline[open] {
  position: absolute;
  z-index: 4;
  top: calc(100% + 8px);
  right: 0;
  width: min(560px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid var(--workspace-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(16, 47, 58, .16);
}

.workflow-create-inline[open] > summary {
  padding-bottom: 10px;
}

.support-case-header {
  position: relative;
}

.document-list-heading,
.support-history-heading {
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid #ebf0f3;
}

.dashboard-guidance {
  font-size: 10px;
}

.portal-main .empty-state {
  border-color: #e0e8ed;
  background: #fafcfd;
  font-size: 11px;
}

.portal-main .settings-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .75fr);
}

.portal-main .settings-security {
  top: 18px;
}

.portal-main .toast {
  left: auto;
  right: 28px;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 40px));
  border-radius: 10px;
  transform: none;
  font-family: var(--font);
  font-size: 12px;
}

@media (max-width: 1050px) {
  .portal {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .dashboard-overview-grid,
  .carrier-overview-grid,
  .shipper-overview-grid {
    grid-template-columns: 1fr;
  }

  .record-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .portal {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-side {
    position: static;
    height: auto;
    overflow: visible;
    padding: 13px 16px;
  }

  .portal-side .portal-nav {
    display: flex;
    overflow-x: auto;
    padding: 2px 0 6px;
    scrollbar-width: thin;
  }

  .portal-side .portal-nav a {
    flex: 0 0 auto;
    min-height: 36px;
    white-space: nowrap;
  }

  .portal-side .portal-home {
    margin-bottom: 0;
  }

  .portal-updates {
    margin-top: 9px;
    padding-top: 9px;
  }

  .portal-account {
    margin-top: 9px;
  }

  .portal-main {
    width: 100%;
    min-width: 0;
    padding: 0 20px 40px;
  }

  .workspace-bar {
    min-height: 48px;
    margin: 0 -20px 27px;
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .workspace-date {
    display: none;
  }

  .portal-main .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-heading {
    margin-bottom: 19px;
  }

  .dashboard-heading h1 {
    font-size: 27px;
  }

  .portal-main {
    padding: 0 14px 32px;
  }

  .workspace-bar {
    margin: 0 -14px 22px;
    padding: 0 14px;
  }

  .portal-main .card {
    padding: 16px;
  }

  .record-grid {
    grid-template-columns: 1fr;
  }

  .portal-main .kpis {
    gap: 9px;
  }

  .portal-main .kpi {
    padding: 13px;
  }

  .portal-main .kpi b {
    font-size: 20px;
  }

  .dashboard-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .dashboard-search .btn.ghost {
    display: none;
  }

  .compliance-list {
    grid-template-columns: 1fr;
  }

  .portal-main .settings-grid {
    grid-template-columns: 1fr;
  }

  .portal-main .toast {
    right: 12px;
    bottom: 12px;
  }
}

.portal-header {
  display: contents;
}

.portal-menu-toggle {
  display: none;
}

.portal-menu {
  display: contents;
}

@media (max-width: 900px) {
  .portal-side {
    padding: 10px 16px;
  }

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

  .portal-side .portal-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    flex: 1;
    gap: 14px;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
  }

  .portal-brand img {
    width: 128px;
    height: 34px;
  }

  .portal-menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
  }

  .portal-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #e6f0f2;
  }

  .portal-menu-toggle:hover,
  .portal-menu-toggle:focus-visible {
    background: rgba(255, 255, 255, .14);
    outline: 2px solid #8ccbd0;
    outline-offset: 2px;
  }

  .portal-menu {
    display: none;
    padding-top: 12px;
  }

  .portal-side.is-open .portal-menu {
    display: block;
  }

  .portal-side .portal-nav {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    margin: 0;
    padding: 0 0 10px;
  }

  .portal-side .portal-nav a {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .portal-side .portal-home {
    margin-bottom: 2px;
  }

  .portal-side .portal-updates {
    margin-top: 8px;
  }

  .portal-side .portal-account {
    margin-top: 8px;
  }
}

.portal-main {
  color: #29414d;
  font-size: 15px;
  line-height: 1.65;
}

.portal-main p,
.portal-main li {
  font-size: 15px;
}

.portal-main .workspace-context {
  font-size: 13px;
}

.portal-main .workspace-date {
  color: #637985;
  font-size: 12px;
}

.portal-side .portal-brand span {
  font-size: 11px;
}

.portal-side .portal-nav a {
  font-size: 14px;
}

.portal-side .portal-updates summary {
  font-size: 13px;
}

.portal-side a.notification-link {
  font-size: 13px;
}

.portal-side a.notification-link small,
.portal-account-copy small {
  color: #c1d2d6;
  font-size: 12px;
}

.portal-account-copy strong {
  font-size: 14px;
}

.portal-side .portal-account-actions a,
.portal-side button.signout-btn {
  min-height: 40px;
  font-size: 13px;
}

.dashboard-heading .eyebrow {
  font-size: 11px;
}

.dashboard-heading > div:first-child > p:last-child {
  color: #5b707c;
  font-size: 15px;
}

.portal-main .card h2,
.portal-main .card h3 {
  font-size: 18px;
}

.dashboard-heading {
  flex-wrap: wrap;
}

.dashboard-heading > .btn {
  white-space: nowrap;
}

.record-layout h2 {
  font-size: 19px;
}

.record-grid dt {
  color: #536b76;
  font-size: 12px;
}

.record-grid dd {
  color: #294653;
  font-size: 15px;
  line-height: 1.55;
}

.dashboard-section-kicker {
  color: #617680;
  font-size: 11px;
}

.activity-item p,
.dashboard-description,
.portal-main .empty-state {
  color: #405965;
  font-size: 14px;
}

.activity-item small,
.dashboard-guidance,
.workflow-create > summary small {
  color: #637883;
  font-size: 12px;
}

.dashboard-text-link {
  font-size: 14px;
}

.portal-main .kpi span {
  color: #536b77;
  font-size: 13px;
}

.portal-main .field label {
  color: #3f5864;
  font-size: 13px;
}

.portal-main input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.portal-main select,
.portal-main textarea {
  min-height: 44px;
  color: #243f4b;
  font-size: 15px;
}

.portal-main textarea {
  min-height: 110px;
}

.portal-main .btn {
  min-height: 46px;
}

.portal-main .btn.small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
}

.portal-main .btn:focus-visible,
.portal-main input:focus-visible,
.portal-main select:focus-visible,
.portal-main textarea:focus-visible,
.portal-side a:focus-visible,
.portal-side button:focus-visible {
  outline: 3px solid #55b8ad;
  outline-offset: 2px;
}

.portal-main table.data th {
  color: #526a76;
  font-size: 12px;
  letter-spacing: .045em;
}

.portal-main table.data td {
  color: #294653;
  font-size: 14px;
}

.portal-main table.data td small {
  color: #5c737f;
  font-size: 12px;
}

.portal-main .badge {
  font-size: 11px;
}

.review-history summary,
.workflow-create > summary b {
  font-size: 13px;
}

.review-history summary span {
  font-size: 12px;
}

.compliance-item b,
.workflow-create-action {
  font-size: 13px;
}

.compliance-item small {
  color: #5e7580;
  font-size: 12px;
}

.compliance-status {
  font-size: 10px;
}

.application-reference {
  font-size: 14px;
}

@media (max-width: 600px) {
  .portal-main {
    font-size: 15px;
  }

  .portal-side .portal-nav a {
    min-height: 44px;
    font-size: 15px;
  }

  .portal-main .dashboard-heading h1 {
    font-size: 29px;
  }

  .portal-main .card h2,
  .portal-main .card h3 {
    font-size: 18px;
  }

  .portal-main .btn {
    min-height: 44px;
  }
}

/* Public website */
.public-site {
  background: #f7fafb;
  color: #173a45;
}

.public-site main {
  min-height: 60vh;
}

.public-site .topbar {
  background: #0c3039;
  color: #d7e5e8;
  font-size: 13px;
}

.public-site .topbar .wrap {
  align-items: center;
  max-width: 1280px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.topbar-contact,
.footer-contact,
.public-contact-line {
  display: flex;
  align-items: center;
  gap: 9px;
}

.topbar-contact svg,
.footer-contact svg,
.public-contact-line > svg,
.public-contact-line svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.public-site .site-header {
  border-bottom-color: #e5edef;
  box-shadow: 0 6px 22px rgba(13, 48, 57, .06);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}

.public-site .site-header .wrap {
  max-width: 1280px;
  gap: 22px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.public-site .logo img {
  height: 48px;
}

.public-site .main-nav {
  gap: clamp(14px, 1.7vw, 24px);
}

.public-site .main-nav a {
  color: #24434d;
  font-size: 14px;
}

.public-site .header-actions {
  gap: 9px;
}

.public-site .header-actions .btn {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.public-site .btn:focus-visible,
.public-site .menu-btn:focus-visible,
.public-site a:focus-visible,
.public-site button:focus-visible,
.public-site input:focus-visible,
.public-site select:focus-visible,
.public-site textarea:focus-visible {
  outline: 3px solid #35a9a7;
  outline-offset: 3px;
}

.public-site .hero {
  padding: clamp(52px, 7vw, 88px) 0 62px;
  background:
    radial-gradient(ellipse at 92% 10%, rgba(55, 192, 200, .12), transparent 34%),
    linear-gradient(180deg, #f8fcfc 0%, #f1f8f8 100%);
}

.public-site .hero-grid {
  max-width: 1280px;
  gap: clamp(36px, 6vw, 84px);
}

.public-site .hero-grid > div:first-child > p:not(.kicker) {
  max-width: 560px !important;
  color: #526b76 !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

.public-site .hero h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  letter-spacing: -.045em;
}

.public-site .hero .kicker {
  color: #167f7e;
  font-size: 13px;
  letter-spacing: .14em;
}

.public-site .hero-media {
  padding: 10px 14px 0 0;
}

.public-site .hero-carousel {
  aspect-ratio: 1.12 / 1;
  max-height: 500px;
  border: 7px solid #fff;
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(12, 58, 61, .18);
}

.public-site .hero-carousel-dot {
  width: 12px;
  height: 12px;
}

.public-site .hero-carousel-dot.active {
  width: 28px;
}

.public-site .float-card {
  top: auto;
  right: -14px;
  bottom: 28px;
  min-width: 185px;
  border: 1px solid #e6eeee;
  border-radius: 16px;
  padding: 17px 20px;
}

.public-site .float-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.public-site .hero-stats-badge {
  margin-top: 26px;
  padding: 10px 18px 10px 12px;
  border-color: #e2ecee;
}

.public-site .hero-stats-badge .counter-num {
  font-size: 20px;
}

.public-site .hero-stats-badge .counter-lbl {
  color: #536d77;
  font-size: 13px;
}

.public-site .exp-badge b {
  font-size: 38px;
}

.public-site .exp-badge span {
  color: #506975;
  font-size: 14px;
  font-weight: 600;
}

.public-site .section {
  padding: clamp(54px, 7vw, 82px) 0;
}

.public-site .section h2 {
  color: #153a45;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -.035em;
}

.public-site .section .lede {
  color: #5a717b;
  font-size: 17px;
  line-height: 1.7;
}

.public-site .eyebrow {
  color: #137b79;
  font-size: 12px;
  letter-spacing: .14em;
}

.public-site .grid3,
.public-site .grid4,
.public-site .grid2 {
  gap: 22px;
}

.public-site .card,
.public-site .service-card,
.public-site .quote-step,
.public-site .checklist-card,
.public-site .wizard-card {
  border-color: #e2eaed;
  box-shadow: 0 10px 30px rgba(18, 54, 65, .055);
}

.public-site .service-card {
  min-height: 100%;
  padding: 26px;
  border-radius: 18px;
}

.public-site .service-card:hover {
  transform: translateY(-5px);
  border-color: #81c9c4;
  box-shadow: 0 18px 38px rgba(18, 54, 65, .11);
}

.public-site .service-card .icon,
.public-feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 17px;
  border: 1px solid #d5efec;
  border-radius: 15px;
  background: linear-gradient(145deg, #eaf9f7, #f2fbfa);
  color: #087a78;
}

.public-site .service-card .icon svg,
.public-feature-icon svg {
  width: 29px;
  height: 29px;
}

.public-site .service-card h3 {
  color: #153a45;
  font-size: 20px;
  line-height: 1.35;
}

.public-site .service-card p {
  color: #5a717b;
  font-size: 15px;
  line-height: 1.7;
}

.public-site .band {
  grid-template-columns: minmax(280px, .85fr) 1.15fr;
  margin: 60px 0;
}

.public-site .band.flip .photo {
  order: 2;
}

.public-site .band.flip .copy {
  order: 1;
  margin: 24px -36px 24px 0;
  padding: 44px 64px 44px 48px;
  border-radius: 20px 0 0 20px;
}

.public-site .band .photo img {
  min-height: 300px;
  border: 7px solid #d3f0e2;
  border-radius: 22px;
}

.public-site .band .copy {
  border-radius: 0 22px 22px 0;
  background: linear-gradient(135deg, #0d5558, #0a3e48);
  box-shadow: 0 18px 38px rgba(12, 58, 61, .13);
}

.public-site .band .copy h2 {
  font-size: clamp(30px, 4vw, 40px);
}

.public-site .band .copy p {
  color: #e0eff0;
  font-size: 17px;
  line-height: 1.75;
}

.public-site .stat-grid {
  gap: 16px;
}

.public-site .stat {
  min-height: 175px;
  border-radius: 18px;
  background: linear-gradient(145deg, #0c5d5c, #0d3d47);
}

.public-site .stat .stat-icon {
  width: 42px;
  height: 42px;
}

.public-site .carrier-lead-card {
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    radial-gradient(ellipse at 90% 15%, rgba(55, 192, 200, .18), transparent 35%),
    linear-gradient(135deg, #0b343d, #0c5556);
}

.public-site .onboard-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 84px) 0;
  background:
    radial-gradient(ellipse at 87% 20%, rgba(55, 192, 200, .22), transparent 34%),
    linear-gradient(120deg, #082b35 0%, #0c3a3d 58%, #086a68 100%);
}

.public-site .onboard-hero .wrap {
  max-width: 1240px;
  align-items: center;
  gap: 52px;
}

.public-site .onboard-hero-art {
  position: relative;
  min-width: 0;
  padding: 8px 8px 26px 0;
}

.public-site .onboard-hero-art > img {
  width: 100%;
  height: clamp(280px, 30vw, 390px);
  border: 6px solid rgba(255,255,255,.92);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(0,0,0,.24);
}

.public-site .onboard-hero-art-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 28px);
  padding: 14px 18px;
  border: 1px solid #e1ecee;
  border-radius: 14px;
  background: #fff;
  color: #173a45;
  box-shadow: 0 14px 35px rgba(3, 32, 40, .18);
}

.public-site .onboard-hero-art-caption svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: #087a78;
}

.public-site .onboard-hero-art-caption span {
  display: grid;
  gap: 3px;
}

.public-site .onboard-hero-art-caption b {
  font-size: 13px;
}

.public-site .onboard-hero-art-caption small {
  color: #607680;
  font-size: 12px;
}

.public-site .onboard-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.public-site .onboard-hero p {
  color: #d4e5e8;
  font-size: 17px;
  line-height: 1.75;
}

.public-site .onboard-hero .btn {
  min-height: 46px;
}

.public-site .onboard-hero .btn.ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .55) !important;
  background: rgba(255, 255, 255, .06);
}

.public-site .hero-points {
  gap: 12px 20px;
  font-size: 14px;
}

.public-site .hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.public-site .checklist-card {
  border-radius: 20px;
  padding: clamp(22px, 3vw, 32px);
}

.public-site .checklist-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 19px;
}

.public-site .checklist-card .data th {
  color: #35545e;
}

.public-site .checklist-card .data td {
  color: #526d77;
  line-height: 1.65;
}

.public-site .pill {
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: 10px;
}

.public-site .wizard-layout {
  max-width: 1240px;
  grid-template-columns: minmax(270px, .8fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 50px);
}

.public-site .wizard-card {
  border-radius: 20px;
  padding: clamp(20px, 3.2vw, 36px);
}

.public-site .wizard-card h2,
.public-site .wizard-card h3,
.public-site .wizard-card h4 {
  color: #173a45;
}

.public-site .wizard-card p,
.public-site .wizard-layout > div:first-child > p:not(.eyebrow) {
  color: #566f79;
  font-size: 15px;
  line-height: 1.7;
}

.public-site .support-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: linear-gradient(145deg, #0b3e48, #0c3039);
  box-shadow: 0 14px 32px rgba(12, 58, 61, .12);
}

.public-site .support-card p {
  color: #d9e8ea;
  line-height: 1.75;
}

.public-site .public-contact-line {
  margin: 8px 0;
}

.public-site .public-contact-line svg {
  color: #37c0c8;
}

.public-site .public-feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 9px;
}

.public-site .public-feature-icon svg {
  width: 25px;
  height: 25px;
}

.public-site .field label {
  color: #294d58;
  font-size: 14px;
}

.public-site input,
.public-site select,
.public-site textarea {
  min-height: 48px;
  border-color: #d5e2e6;
  border-radius: 10px;
  font-size: 15px;
}

.public-site textarea {
  min-height: 110px;
}

.public-site .field-row {
  gap: 14px 16px;
}

.public-site .steps {
  gap: 3px;
}

.public-site .wizard-form-card {
  --wizard-card-pad: clamp(24px, 3.2vw, 40px);
  position: relative;
  border: 1px solid #dce8eb;
  border-radius: 24px;
  padding: var(--wizard-card-pad);
  box-shadow: 0 22px 60px rgba(13, 48, 57, .1);
}

.public-site .wizard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.public-site .wizard-kicker {
  margin: 0 0 8px;
  color: #16848b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.public-site .wizard-heading h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 29px);
  line-height: 1.2;
}

.public-site .wizard-heading .wizard-heading-copy {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.public-site .wizard-step-count {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 3px;
  padding: 9px 13px;
  border: 1px solid #d8ebec;
  border-radius: 14px;
  background: #f3fbfb;
}

.public-site .wizard-step-number {
  color: #0c5961;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.public-site .wizard-step-number small {
  margin-left: 3px;
  color: #748991;
  font-size: 12px;
  font-weight: 600;
}

.public-site .wizard-step-name {
  color: #607880;
  font-size: 11px;
  font-weight: 700;
}

.public-site .wizard-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8f0f2;
}

.public-site .wizard-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #20a6a8, #54c9c4);
  transition: width .25s ease;
}

.public-site .step {
  min-width: 0;
  padding-top: 16px;
  color: #71858c;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.public-site .step::before {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border: 2px solid #dce6e9;
  background: #fff;
  color: #70858d;
  font-size: 12px;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.public-site .step::after {
  top: 32px;
  height: 2px;
  background: #e4ecee;
}

.public-site .step.active {
  color: #096b72;
  font-weight: 800;
}

.public-site .step.active::before {
  border-color: #168b90;
  background: #168b90;
  box-shadow: 0 0 0 4px rgba(22, 139, 144, .12);
  color: #fff;
}

.public-site .step.done {
  color: #17815f;
}

.public-site .step.done::before {
  border-color: #209a71;
  background: #209a71;
  color: #fff;
}

.public-site .wizard-form-card .wstep {
  min-height: 275px;
  padding: 25px 0 2px;
  border-top: 1px solid #edf2f3;
  animation: wizard-step-in .22s ease-out;
}

.public-site .wizard-form-card .wstep > h3 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.3;
}

.public-site .wizard-form-card .wstep > p:first-of-type {
  margin: 0 0 22px;
  font-size: 14px;
}

.public-site .wizard-form-card .field {
  margin-bottom: 18px;
}

.public-site .wizard-form-card .field-row {
  gap: 2px 18px;
}

.public-site .wizard-form-card .field label {
  display: block;
  margin-bottom: 7px;
  color: #294d58;
  font-size: 13px;
  font-weight: 700;
}

.public-site .wizard-form-card .field input:not([type="checkbox"]):not([type="radio"]),
.public-site .wizard-form-card .field select,
.public-site .wizard-form-card .field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 14px;
  border: 1px solid #d7e3e7;
  border-radius: 11px;
  background-color: #fff;
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.public-site .wizard-form-card .field textarea {
  min-height: 112px;
  resize: vertical;
}

.public-site .wizard-form-card .field input:focus,
.public-site .wizard-form-card .field select:focus,
.public-site .wizard-form-card .field textarea:focus {
  border-color: #1a9ba0;
  box-shadow: 0 0 0 4px rgba(26, 155, 160, .12);
  outline: none;
}

.public-site .wizard-form-card .field input[type="file"] {
  min-height: 0;
  padding: 10px;
  background: #f8fbfc;
  font-size: 13px;
}

.public-site .wizard-form-card .field input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  background: #e7f4f4;
  color: #12646b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.public-site .wizard-form-card .field .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #e1eaec;
  border-radius: 11px;
  background: #f8fbfc;
  color: #405c65;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.public-site .wizard-form-card .field .check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #168b90;
}

.public-site .wizard-form-card input[type="checkbox"] {
  display: grid;
  flex: 0 0 20px;
  place-content: center;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  appearance: none;
  border: 1.5px solid #91a8b0;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.public-site .wizard-form-card input[type="checkbox"]::before {
  width: 9px;
  height: 5px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  content: "";
  transform: rotate(-45deg) scale(0);
  transition: transform .12s ease;
}

.public-site .wizard-form-card input[type="checkbox"]:checked {
  border-color: #117e83;
  background: #168b90;
}

.public-site .wizard-form-card input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

.public-site .wizard-form-card input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(22, 139, 144, .28);
  outline-offset: 2px;
}

@media (forced-colors: active) {
  .public-site .wizard-form-card input[type="checkbox"] {
    appearance: auto;
  }
}

.public-site .wizard-form-card .field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
}

.public-site .wizard-form-card .field-label-row > label:first-child {
  margin: 0;
}

.public-site .wizard-form-card .field-label-row .check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #526c75;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.public-site .wizard-form-card .field-label-row .check input {
  margin: 0;
}

.public-site .wizard-form-card .field-row .field:has(input[type="checkbox"]),
.public-site .wizard-form-card .field:has(> label.check) {
  margin-bottom: 10px;
}

.public-site .wizard-form-card .field-row .field:has(input[type="checkbox"]) label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #e1eaec;
  border-radius: 10px;
  background: #f8fbfc;
  cursor: pointer;
}

.public-site .wizard-form-card .field-row .field:has(input[type="checkbox"]) input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
}

.public-site .wizard-form-card .notice {
  border-radius: 12px;
}

.public-site .wizard-form-card .wizard-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  justify-content: space-between;
  margin: 10px calc(0px - var(--wizard-card-pad)) calc(0px - var(--wizard-card-pad));
  padding: 16px var(--wizard-card-pad);
  border-top: 1px solid #e5edef;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
}

.public-site .wizard-form-card .wizard-actions .btn {
  min-width: 132px;
  min-height: 48px;
}

.public-site .wizard-form-card #submitBtn,
.public-site .wizard-form-card #sSubmitBtn {
  margin-left: auto;
}

.public-site .wizard-form-card #nextBtn,
.public-site .wizard-form-card #sNextBtn {
  margin-left: auto;
}

@keyframes wizard-step-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .public-site .wizard-progress-fill,
  .public-site .wizard-form-card .wstep {
    animation: none;
    transition: none;
  }
}

.public-site .quote-step {
  border-radius: 16px;
  padding: 24px 18px;
}

.public-site .quote-step .num {
  color: #0a8582;
  font-size: 34px;
}

.public-site .quote-step .step-title {
  font-size: 16px;
}

.public-site .quote-step p {
  color: #5d737d !important;
  font-size: 14px !important;
  line-height: 1.6;
}

.public-site .site-footer {
  background: linear-gradient(145deg, #092e37, #0b3c44);
}

.public-site .site-footer .cols {
  gap: 46px;
}

.public-site .site-footer .cols > div > a {
  width: fit-content;
  margin: 6px 0;
  color: #d2e2e5;
}

.public-site .site-footer .cols > div > a:hover,
.public-site .site-footer a:hover {
  color: #65d6d4;
}

.public-site .site-footer p {
  color: #c4d7db;
  font-size: 14px;
}

.public-site .footer-contact {
  align-items: flex-start;
  gap: 10px;
}

.public-site .footer-contact svg {
  margin-top: 3px;
  color: #53c6c3;
}

.public-site .fine {
  color: #a9c2c7;
}

.public-site .social-btn {
  width: 42px;
  height: 42px;
}

.public-site .social-btn svg {
  width: 18px;
  height: 18px;
}

.public-site .notice {
  border-radius: 14px;
  line-height: 1.7;
}

.public-site .wrap > .card h3 {
  margin-top: 22px;
  color: #183c47;
}

.public-site .wrap > .card h3:first-child {
  margin-top: 0;
}

.public-site .legal-title {
  margin: 0 0 14px;
  color: #153a45;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -.035em;
}

.public-site .wrap > .card p {
  color: #536d77;
  line-height: 1.75;
}

@media (max-width: 1050px) {
  .public-site .site-header .wrap {
    gap: 14px;
  }

  .public-site .main-nav {
    gap: 12px;
  }

  .public-site .main-nav a {
    font-size: 13px;
  }

  .public-site .header-actions {
    gap: 6px;
  }

  .public-site .header-actions .btn {
    padding: 9px 14px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .public-site .topbar .wrap {
    justify-content: center;
    text-align: center;
  }

  .public-site .site-header .wrap {
    position: relative;
    gap: 12px;
    padding: 10px 18px;
  }

  .public-site .logo img {
    height: 44px;
  }

  .public-site .menu-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #d8e6e9;
    border-radius: 12px;
    background: #f6fbfb;
    color: #123b45;
  }

  .public-site .menu-btn svg {
    width: 23px;
    height: 23px;
  }

  .public-site .main-nav {
    left: 0;
    right: 0;
    gap: 0;
    padding: 10px 18px 16px;
    border-top: 1px solid #eaf0f1;
    background: #fff;
  }

  .public-site .main-nav a {
    width: 100%;
    padding: 12px 8px;
    border-bottom: 1px solid #edf2f3;
    font-size: 15px;
  }

  .public-site .main-nav a:last-child {
    border-bottom: 0;
  }

  .public-site .header-actions .btn {
    min-height: 42px;
  }

  .public-site .hero {
    padding: 54px 0 48px;
  }

  .public-site .hero-grid {
    gap: 32px;
  }

  .public-site .hero-media {
    padding-right: 0;
  }

  .public-site .float-card {
    right: 12px;
    bottom: 18px;
  }

  .public-site .onboard-hero .wrap,
  .public-site .wizard-layout {
    grid-template-columns: 1fr;
  }

  .public-site .onboard-hero-art {
    max-width: 640px;
    padding-right: 0;
  }

  .public-site .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-site .grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-site .band {
    grid-template-columns: 1fr;
    margin: 42px 0;
  }

  .public-site .band .photo img {
    min-height: 240px;
  }

  .public-site .band .copy,
  .public-site .band.flip .copy {
    order: 0;
    margin: -20px 12px 0;
    padding: 30px;
    border-radius: 18px;
  }

  .public-site .band.flip .photo {
    order: 0;
  }

  .public-site .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .public-site .topbar {
    font-size: 11px;
  }

  .public-site .topbar .wrap {
    gap: 3px 14px;
    padding: 7px 14px;
  }

  .public-site .topbar-contact {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 8px;
  }

  .public-site .topbar-contact svg {
    width: 14px;
    height: 14px;
  }

  .public-site .site-header .wrap {
    padding: 9px 14px;
  }

  .public-site .logo img {
    height: 40px;
  }

  .public-site .header-actions .btn {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .public-site .hero {
    padding: 42px 0;
  }

  .public-site .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .public-site .hero-grid > div:first-child > p:not(.kicker) {
    font-size: 16px !important;
  }

  .public-site .hero-media {
    padding: 0;
  }

  .public-site .hero-carousel {
    aspect-ratio: 1.15 / 1;
    max-height: 330px;
    border-width: 5px;
    border-radius: 19px;
  }

  .public-site .float-card {
    min-width: 0;
    padding: 13px 15px;
  }

  .public-site .float-card b {
    font-size: 14px;
  }

  .public-site .hero-stats-badge {
    margin-top: 18px;
  }

  .public-site .exp-badge b {
    font-size: 32px;
  }

  .public-site .section {
    padding: 48px 0;
  }

  .public-site .grid3,
  .public-site .grid4,
  .public-site .grid2,
  .public-site .stat-grid {
    grid-template-columns: 1fr;
  }

  .public-site .service-card {
    padding: 22px;
  }

  .public-site .band .copy,
  .public-site .band.flip .copy {
    padding: 24px;
  }

  .public-site .band .copy p {
    font-size: 15px;
  }

  .public-site .onboard-hero {
    padding: 46px 0;
  }

  .public-site .onboard-hero-art > img {
    height: 250px;
    border-radius: 18px;
  }

  .public-site .onboard-hero h1 {
    font-size: clamp(34px, 9.5vw, 46px);
  }

  .public-site .onboard-hero p {
    font-size: 15px;
  }

  .public-site .onboard-hero .btn {
    margin: 3px 0;
  }

  .public-site .checklist-card h3 {
    align-items: flex-start;
    flex-direction: column;
  }

  .public-site .wizard-card {
    padding: 20px 16px;
  }

  .public-site .wizard-form-card {
    --wizard-card-pad: 16px;
    padding: 22px var(--wizard-card-pad) 0;
    border-radius: 19px;
  }

  .public-site .wizard-heading {
    gap: 10px;
  }

  .public-site .wizard-heading h3 {
    font-size: 21px;
  }

  .public-site .wizard-heading .wizard-heading-copy {
    font-size: 13px;
  }

  .public-site .wizard-step-count {
    padding: 8px 9px;
  }

  .public-site .steps {
    margin: 18px 0 24px;
  }

  .public-site .step-name {
    display: none;
  }

  .public-site .step {
    padding-top: 12px;
    font-size: 0;
    letter-spacing: 0;
  }

  .public-site .step::before {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
    font-size: 12px;
  }

  .public-site .step::after {
    top: 28px;
  }

  .public-site .wizard-form-card .wstep {
    min-height: 0;
    padding-top: 22px;
  }

  .public-site .wizard-form-card .wstep > h3 {
    font-size: 18px;
  }

  .public-site .wizard-form-card .wizard-actions {
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .public-site .wizard-form-card .wizard-actions .btn {
    min-width: 0;
    padding: 11px 15px;
  }

  .public-site .site-footer .cols {
    gap: 30px;
  }
}

.public-site .site-header {
  border-bottom: 1px solid #e4edef;
  box-shadow: 0 8px 26px rgba(13, 48, 57, .07);
}

.public-site .site-header .wrap {
  min-height: 78px;
}

.public-site .logo {
  flex: 0 0 auto;
  gap: 11px;
}

.public-site .logo img {
  width: 48px;
  height: 48px;
}

.public-site .logo-copy {
  display: grid;
  gap: 2px;
  color: #123b45;
  line-height: 1.2;
}

.public-site .logo-copy strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.public-site .logo-copy small {
  color: #647d86;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .035em;
}

.public-site .main-nav {
  gap: clamp(12px, 1.55vw, 22px);
}

.public-site .main-nav a {
  white-space: nowrap;
}

.public-site .header-actions .header-signin,
.public-site .header-actions .header-dashboard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid #bfd5d9;
  border-radius: 12px;
  background: #fff;
  color: #174751;
  font-size: 13px;
  font-weight: 700;
}

.public-site .header-actions .header-signin:hover,
.public-site .header-actions .header-dashboard:hover {
  border-color: #168783;
  background: #f0faf9;
  color: #0e6f6c;
}

.public-site .header-actions .header-signout {
  min-height: 40px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 13px;
}

.public-site .social-icons {
  align-items: center;
  gap: 10px;
}

.public-site .social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(208, 235, 237, .3);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #f3ffff;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.public-site .social-btn svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.public-site .social-btn:hover {
  transform: translateY(-2px);
  border-color: #37c0c8;
  background: #168783;
  color: #fff;
}

.public-site .social-btn:focus-visible {
  outline-color: #63d5d0;
}

@media (max-width: 900px) {
  .public-site .site-header .wrap {
    display: flex;
    min-height: 66px;
    gap: 10px;
    padding: 9px 18px;
  }

  .public-site .logo {
    order: 1;
    min-width: 0;
    gap: 8px;
  }

  .public-site .logo img {
    width: 42px;
    height: 42px;
  }

  .public-site .logo-copy strong {
    font-size: 14px;
  }

  .public-site .logo-copy small {
    font-size: 9px;
  }

  .public-site .header-actions {
    order: 2;
    gap: 7px;
    margin-left: auto;
  }

  .public-site .header-actions .header-signin,
  .public-site .header-actions .header-dashboard {
    display: inline-flex;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .public-site .header-actions .header-signout {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .public-site .menu-btn {
    order: 3;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: 0;
  }

  .public-site .main-nav {
    order: 4;
  }
}

@media (max-width: 420px) {
  .public-site .site-header .wrap {
    gap: 7px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .public-site .logo-copy strong {
    font-size: 12px;
  }

  .public-site .logo-copy small {
    display: none;
  }

  .public-site .header-actions {
    gap: 5px;
  }

  .public-site .header-actions .header-signin,
  .public-site .header-actions .header-dashboard {
    min-height: 40px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .public-site .header-actions .header-signout {
    min-height: 40px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .public-site .menu-btn {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 360px) {
  .public-site .logo-copy {
    display: none;
  }
}

.auth-page {
  min-height: calc(100vh - 180px);
  padding: clamp(42px, 6vw, 78px) 0;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(55, 192, 200, .12), transparent 34%),
    linear-gradient(135deg, #f7fbfb 0%, #edf6f6 100%);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  max-width: 1120px;
}

.auth-intro {
  padding: 18px 0;
}

.auth-intro h1 {
  max-width: 510px;
  margin: 0 0 18px;
  color: #123b45;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -.045em;
  line-height: 1.12;
}

.auth-intro h1 span {
  color: #168783;
}

.auth-intro > p:not(.eyebrow) {
  max-width: 470px;
  color: #5b7280;
  font-size: 17px;
  line-height: 1.75;
}

.auth-trust-points {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.auth-trust-points > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.auth-trust-points > div > svg {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 10px;
  border: 1px solid #cfe7e5;
  border-radius: 14px;
  background: #fff;
  color: #168783;
}

.auth-trust-points span {
  display: grid;
  gap: 3px;
  padding-top: 2px;
}

.auth-trust-points b {
  color: #173f49;
  font-size: 15px;
}

.auth-trust-points small {
  max-width: 330px;
  color: #647d86;
  font-size: 13px;
  line-height: 1.55;
}

.auth-help {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 40px;
  color: #647d86;
  font-size: 13px;
}

.auth-help a,
.auth-text-button {
  color: #137b78;
  font-weight: 700;
}

.auth-panel {
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid #e0ebed;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(12, 58, 61, .12);
}

.auth-panel-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auth-panel-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  background: #e7f7f6;
  color: #137b78;
}

.auth-panel-mark svg {
  width: 23px;
  height: 23px;
}

.auth-panel-heading .eyebrow {
  margin-bottom: 4px;
  font-size: 10px;
}

.auth-panel-heading h2 {
  margin: 0;
  color: #123b45;
  font-size: clamp(21px, 2vw, 27px);
  letter-spacing: -.025em;
  text-align: left;
}

.auth-intro-copy {
  margin: 14px 0 22px;
  color: #657b84;
  font-size: 14px;
  line-height: 1.6;
}

.auth-message {
  margin: 0 0 18px;
  padding: 12px 15px;
  font-size: 13px;
}

.auth-message ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid #e2ecee;
  border-radius: 13px;
  background: #f5f9f9;
}

.auth-draft-chooser {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.auth-draft-chooser a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #dce8ea;
  border-radius: 13px;
  background: #fbfdfd;
  color: #355660;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.auth-draft-chooser a:hover,
.auth-draft-chooser a.active {
  border-color: #54aaa7;
  background: #f0faf9;
  box-shadow: 0 4px 14px rgba(17, 103, 105, .08);
}

.auth-draft-chooser a:focus-visible {
  outline: 3px solid rgba(53, 169, 167, .4);
  outline-offset: 2px;
}

.auth-draft-chooser a > svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 11px;
  background: #e7f5f4;
  color: #147c79;
}

.auth-draft-chooser a > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.auth-draft-chooser b {
  color: #173f49;
  font: 700 14px var(--font-heading);
}

.auth-draft-chooser small {
  color: #6a8087;
  font-size: 12px;
}

.auth-draft-arrow {
  color: #168783;
  font-size: 18px;
  font-weight: 700;
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #59717a;
  font: 600 14px var(--font-heading);
  cursor: pointer;
  transition: background-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.auth-tabs button.active {
  background: #fff;
  color: #123b45;
  box-shadow: 0 2px 8px rgba(12, 58, 61, .1);
}

.auth-tabs button:focus-visible,
.auth-text-button:focus-visible {
  outline: 3px solid rgba(53, 169, 167, .45);
  outline-offset: 2px;
}

.auth-panel .field {
  margin-bottom: 16px;
}

.auth-panel .field label {
  display: block;
  margin-bottom: 7px;
  color: #294b55;
  font-size: 13px;
  font-weight: 700;
}

.auth-panel .field input:not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  min-height: 47px;
  border: 1px solid #d5e2e5;
  border-radius: 11px;
  background: #fbfdfd;
  color: #173f49;
  font: 14px var(--font);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.auth-panel .field input:not([type="checkbox"]):not([type="radio"]):focus {
  border-color: #42aaa6;
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(55, 192, 200, .14);
}

.auth-panel .auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-label-row label {
  margin-bottom: 7px !important;
}

.auth-text-button {
  margin: 0 0 7px;
  padding: 0;
  border: 0;
  background: none;
  font: 600 12px var(--font);
  cursor: pointer;
}

.auth-text-button:hover,
.auth-help a:hover {
  color: #0c5e5d;
  text-decoration: underline;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 0 20px;
  color: #536d76;
  font-size: 13px;
  cursor: pointer;
}

.auth-remember input,
.role-pick input {
  accent-color: #168783;
}

.auth-remember input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 17px;
  max-height: 17px;
  flex: 0 0 17px;
  margin: 0;
  padding: 0;
  border: 1px solid #bdcdd1;
  border-radius: 4px;
  box-shadow: none;
}

.auth-panel .auth-submit {
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
}

.auth-forgot {
  margin: 16px 0 20px;
  padding: 16px;
  border: 1px solid #dcebea;
  border-radius: 14px;
  background: #f5fbfa;
}

.auth-forgot[hidden] {
  display: none;
}

.auth-forgot p {
  margin: 0 0 12px;
  color: #5b7280;
  font-size: 13px;
  line-height: 1.55;
}

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

.role-pick label {
  display: grid;
  grid-template-columns: 18px 24px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid #d9e6e8;
  border-radius: 12px;
  background: #fbfdfd;
  color: #355660;
  font: 600 13px var(--font);
  text-align: left;
  transition: border-color .18s ease, background-color .18s ease;
}

.role-pick label:has(input:checked) {
  border-color: #50aaa7;
  background: #effafa;
  color: #0e6f6c;
}

.role-pick input {
  margin: 0;
}

.role-pick svg {
  width: 22px;
  height: 22px;
}

.auth-role-notice {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid #bfe7d5;
  border-radius: 11px;
  background: #effaf4;
  color: #176345;
  font-size: 14px;
}

.auth-role-notice span {
  font-size: 12px;
}

.auth-panel .field-row {
  gap: 12px;
}

.auth-panel .hint {
  margin: 6px 0 0;
  color: #70848b;
  font-size: 11px;
}

.auth-terms {
  margin: 14px 0 0;
  color: #70848b;
  font-size: 11px;
  line-height: 1.55;
}

.auth-panel-footer {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e8eff0;
  color: #70848b;
  font-size: 11px;
  line-height: 1.5;
}

.auth-panel-footer svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: #17847f;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    max-width: 620px;
  }

  .auth-intro {
    padding: 0;
  }

  .auth-intro h1 {
    max-width: 600px;
    font-size: clamp(32px, 7vw, 44px);
  }

  .auth-intro > p:not(.eyebrow) {
    margin-bottom: 0;
    font-size: 15px;
  }

  .auth-trust-points {
    display: none;
  }

  .auth-help {
    margin-top: 14px;
  }
}

@media (max-width: 600px) {
  .auth-page {
    padding: 34px 0 44px;
  }

  .auth-panel {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .auth-intro h1 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .auth-intro > p:not(.eyebrow) {
    font-size: 14px;
  }

  .auth-panel .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

.website-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
  gap: 22px;
  align-items: start;
}

.website-settings-card {
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
}

.website-settings-card .section-heading {
  margin-bottom: 20px;
}

.website-settings-card .section-heading h2 {
  margin: 0;
  color: #153a45;
  font-size: 19px;
}

.website-settings-divider {
  height: 1px;
  margin: 10px 0 24px;
  background: #e4edef;
}

.website-settings-card .muted {
  margin: -8px 0 18px;
  color: #647d86;
  font-size: 13px;
}

.website-settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid #e8eff0;
}

.website-settings-note {
  padding: 24px;
}

.website-settings-note-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid #d5efec;
  border-radius: 14px;
  background: #effafa;
  color: #087a78;
}

.website-settings-note-icon svg {
  width: 24px;
  height: 24px;
}

.website-settings-note h2 {
  margin-bottom: 10px;
  color: #153a45;
  font-size: 19px;
}

.website-settings-note > p {
  color: #5b7280;
  font-size: 14px;
  line-height: 1.65;
}

.website-settings-note .notice {
  padding: 13px 15px;
  font-size: 12px;
}

.website-settings-card .field small {
  display: block;
  margin-top: 6px;
  color: #647d86;
  font-size: 12px;
  line-height: 1.5;
}

.website-settings-card .field .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  color: #304c58;
  font-size: 14px;
  line-height: 1.5;
}

.website-settings-card .field .checkbox-label input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #087a78;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .website-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}