:root {
  --cream: #f4f1ee;
  --cream-2: #efe9e4;
  --white: #ffffff;
  --paper: #f7f5f3;
  --panel: #f2f0ef;

  --ink: #111111;
  --ink-soft: #1f1f1f;
  --muted: #5f5d61;
  --muted-dark: #443f44;

  --bg-soft: #dfe1e6;
  --bg-surface: #ece8e5;

  --royal-bg: #181b1f;
  --royal-bg-2: #2b2f36;
  --royal-bg-3: #404b5c;
  --royal-surface: rgba(17, 17, 17, 0.8);
  --royal-soft: #edf4ff;
  --royal-glow: #9ec7ff;
  --royal-gold: #f8d7a0;

  --orange: #ea5a2d;
  --orange-dark: #d24a20;
  --orange-light: #fff2ec;

  --nav-blue: #3b4e74;
  --nav-blue-dark: #2b3d5f;
  --nav-pink: #e64e9a;
  --nav-pink-dark: #c73d7f;

  --teal: #2c7067;
  --teal-dark: #1e564f;
  --teal-light: #eaf5f3;

  --yellow: #f4d06f;
  --green: #3a9b73;

  --border: #e4dfdb;
  --border-light: #f1eeeb;

  --shadow-sm: 0 10px 30px rgba(17, 17, 17, 0.06);
  --shadow: 0 22px 60px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 32px 90px rgba(17, 17, 17, 0.12);

  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;

  --font-display: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-serif: "Newsreader", serif;

  --container: 1180px;
  --header-height: 76px;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-wrap: break-word;

  color: var(--ink);

  font-family: var(--font-body);
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

dialog.contact-dialog {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 100px rgba(34, 28, 36, 0.24);
}

.contact-dialog::backdrop {
  background: rgba(34, 28, 36, 0.36);
  backdrop-filter: blur(4px);
}

.contact-dialog-inner {
  position: relative;
  padding: 42px;
}

.contact-dialog h2 {
  max-width: 380px;
  margin: 7px 0 12px;
}

.contact-dialog p:not(.kicker):not(.dialog-note) {
  margin: 0;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  font-size: 24px;
  line-height: 1;
}

.contact-detail-list {
  display: grid;
  gap: 9px;
  margin: 28px 0;
}

.contact-detail-list a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--border-light);
  border-radius: 13px;
  background: var(--cream);
}

.contact-detail-list a > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--orange);
  background: var(--orange-light);
}

.contact-detail-list a > span:last-child {
  display: grid;
  gap: 1px;
}

.contact-detail-list small {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.dialog-note {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.status-page {
  min-height: 100vh;
  background: var(--cream);
}

.status-shell {
  padding: 90px 0 120px;
}

.status-shell h1 {
  max-width: 680px;
  margin: 10px 0 14px;
}

.status-lede {
  max-width: 560px;
  color: var(--muted);
}

.route-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 42px 0 18px;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.route-summary small,
.route-summary strong {
  display: block;
}

.route-summary small {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.route-summary strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.status-badge {
  padding: 8px 11px;
  color: var(--teal);
  background: var(--teal-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.status-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.status-panel {
  padding: 30px;
  border: 1px solid var(--border);
  background: var(--white);
}

.status-panel h2 {
  margin: 8px 0 25px;
}

.journey-status-timeline {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.journey-status-timeline li {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 18px;
}

.journey-status-timeline li span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-left: -31px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  font-size: 11px;
}

.journey-status-timeline li.complete {
  color: var(--ink);
  font-weight: 600;
}

.journey-status-timeline li.complete span {
  border-color: var(--teal);
  color: var(--white);
  background: var(--teal);
}

.status-panel dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.status-panel dt {
  color: var(--muted);
  font-size: 11px;
}

.status-panel dd {
  margin: -8px 0 0;
  font-weight: 600;
}

.status-error {
  max-width: 620px;
  padding: 34px;
  border: 1px solid var(--border);
  background: var(--white);
}

.status-error p {
  margin: 10px 0 24px;
  color: var(--muted);
}

@media (max-width: 700px) {
  .contact-dialog-inner { padding: 34px 24px 28px; }
  .route-summary { grid-template-columns: 1fr auto; gap: 16px; }
  .route-summary .status-badge { grid-column: 1 / -1; width: max-content; }
  .status-grid { grid-template-columns: 1fr; }
  .status-shell { padding-top: 55px; }
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(236, 83, 27, 0.25);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--orange);
}

.wrap {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {

  top: 0;

  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);

}

.bar {
  min-height: var(--header-height);

  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  flex: 0 0 auto;

  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.04em;

  white-space: nowrap;
  perspective: 800px;
}

.brand b {
  color: var(--nav-pink);
}

.mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;

  transform-box: fill-box;
  transform-origin: center;
  transform-style: preserve-3d;
  animation: carefly-globe-rotate 10s ease-in-out infinite;
}

@keyframes carefly-globe-rotate {
  0%, 100% { transform: rotateY(-12deg) rotateX(3deg); }
  50% { transform: rotateY(180deg) rotateX(-3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .mark { animation: none; }
}

.links {
  display: flex;
  align-items: center;
  gap: 25px;

  margin-left: auto;
}

.links > a:not(.btn) {
  position: relative;

  color: #424ba0;

  font-size: 13px;
  font-weight: 600;

  transition:
    color 0.25s ease,
    transform 0.25s ease,
    text-shadow 0.25s ease;
  animation: navFloat 6s ease-in-out infinite alternate;
}

.links > a:not(.btn)::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;

  height: 2px;

  background: linear-gradient(90deg, var(--nav-blue), var(--nav-pink));

  border-radius: 999px;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.25s ease;
}

.links > a:not(.btn):hover {
  color: var(--black);
  transform: translateY(-2px);
  text-shadow: 0 0 18px rgba(76, 116, 239, 0.2);
}

.links > a:not(.btn):hover::after {
  transform: scaleX(1);
}

.mobile-nav-cta { display: none !important; }

.mobile-menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  flex: 0 0 auto;

  padding: 9px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background: var(--white);

  position: relative;
}

.mobile-menu-toggle span {
  display: block;

  width: 20px;
  height: 2px;

  margin: 4px auto;

  background: var(--ink);

  border-radius: 10px;

  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 12px 20px;

  border: 0;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;

  white-space: nowrap;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #111111 0%, #e54a98 50%, #e06d32 100%);

  box-shadow:
    0 16px 30px rgba(17, 17, 17, 0.18),
    0 10px 24px rgba(229, 74, 152, 0.18);
}

.btn-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #1a1a1a 0%, #d53d8a 50%, #d96535 100%);

  box-shadow:
    0 18px 36px rgba(17, 17, 17, 0.2),
    0 12px 26px rgba(229, 74, 152, 0.2);
}

.btn-teal {
  color: #fff;
  background: linear-gradient(135deg, var(--nav-blue), var(--nav-pink));

  box-shadow:
    0 12px 30px rgba(76, 116, 239, 0.20);
}

.btn-teal:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--nav-blue-dark), var(--nav-pink-dark));
}

.btn-ghost {
  color: var(--ink);
  background: var(--white);

  border: 1px solid var(--border);
}

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

.btn-large {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 14px;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;

}

.hero .title,
.hero .lede,
.hero .hero-badge,
.hero .stat span,
.hero .eyebrow,
.hero .hero-pill {
  color: var(--ink);
}

.hero .eyebrow,
.hero .hero-pill {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.hero .hero-badge {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.hero .title .em {
  color: #d43b7e;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(10px);
}

.hero::before {
  width: 460px;
  height: 460px;
  right: -140px;
  top: -180px;

}

.hero::after {
  width: 360px;
  height: 360px;
  left: -110px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(236, 83, 27, 0.12), rgba(236, 83, 27, 0) 60%);
  animation: floatOrb 14s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;

  min-width: 0;
}

.eyebrow,
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  color: var(--teal);
}

.hero-pill {
  margin-top: 12px;
  padding: 6px 12px;

  color: #645b60;

  background: rgba(255, 255, 255, 0.65);

  border: 1px solid rgba(231, 221, 211, 0.9);

  box-shadow: 0 5px 20px rgba(34, 28, 36, 0.03);
}

.dot {
  width: 7px;
  height: 7px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--orange);

  box-shadow:
    0 0 0 5px rgba(236, 83, 27, 0.1);
}

.title {
  max-width: 850px;

  margin: 14px 0 14px;

  font-family: var(--font-display);

  font-size: clamp(38px, 4.5vw, 62px);

  line-height: 1.02;
  letter-spacing: -0.04em;
}

.title .em {
  color: var(--orange);

  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.lede {
  max-width: 620px;

  margin: 0;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 16px;
}

.hero-badge {
  padding: 6px 10px;

  color: #5f585d;

  background: rgba(255, 255, 255, 0.62);

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: 11px;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  gap: 32px;

  margin-top: 22px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat b {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.stat span {
  margin-top: 4px;

  color: var(--muted);

  font-size: 11px;
}

.u {
  color: var(--orange);
}

/* =========================================================
   GLOBE
========================================================= */

.globe {
  position: relative;

  width: min(380px, 100%);
  aspect-ratio: 1;

  margin-inline: auto;

  filter:
    drop-shadow(
      0 20px 40px rgba(15, 94, 88, 0.1)
    );

  animation:
    globeFloat 7s ease-in-out infinite;
}

.globe svg {
  width: 100%;
  height: 100%;
}

.g-ring {
  fill: none;

  stroke: rgba(15, 94, 88, 0.17);
  stroke-width: 1;
}

.arc {
  fill: none;

  stroke: var(--orange);
  stroke-width: 2;

  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);

  animation:
    drawArc 3s ease forwards;
}

.arc.b {
  stroke: var(--teal);
  animation-delay: 0.7s;
}

.arc.c {
  stroke: var(--yellow);
  animation-delay: 1.2s;
}

.node {
  fill: var(--teal);

  filter:
    drop-shadow(
      0 4px 8px rgba(15, 94, 88, 0.3)
    );
}

.node.pulse {
  transform-box: fill-box;
  transform-origin: center;

  animation:
    nodePulse 2s ease-in-out infinite;
}

.plane {
  fill: var(--orange);
}

/* =========================================================
   SECTIONS
========================================================= */

section {
  padding: 48px 0;
}

section[id] {
  scroll-margin-top: 85px;
}

/* =========================================================
   RESPONSIVE
   Mobile-first adjustments for header, grids, forms.
========================================================= */

@media (max-width: 900px) {
  .bar {
    padding: 10px 0;
    gap: 12px;
  }

  .links {
    display: none;
    position: absolute;
    right: 16px;
    top: var(--header-height);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 12px;
    width: min(320px, calc(100% - 40px));
    flex-direction: column;
    gap: 8px;
  }

  .links.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .links > a:not(.btn) {
    display: block;
    padding: 8px 6px;
    border-radius: 8px;
  }

  .mobile-nav-cta { display: inline-flex !important; }

  .title {
    font-size: clamp(34px, 8vw, 56px);
  }

  .hero-stats { gap: 20px; }

  .app {
    border-radius: 18px;
  }

  .wrap { width: calc(100% - 32px); }

  .btn-large { width: 100%; }
}

/* Final hero readability contract. */

.hero-content .title .em {
  color: #f06a9f !important;
}

.hero-content .eyebrow,
.hero-content .hero-pill,
.hero-content .hero-badge {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}

.hero-content .hero-cta .btn-ghost {
  color: var(--nav-blue) !important;
  background: #fff !important;
  border: 2px solid var(--nav-blue) !important;
}

.hero-content .hero-cta .btn-ghost:hover {
  color: #fff !important;
  background: linear-gradient(135deg, var(--nav-blue) 0%, var(--nav-blue-dark) 100%) !important;
  border-color: transparent !important;
}

.hero-care-story,
.hero-care-story h2,
.hero-care-story p,
.hero-care-story .hero-care-closing {
  color: #fff !important;
}

@media (max-width: 480px) {

  .title {

    line-height: 1.05;
  }

  .hero { padding: 40px 0 48px; }

  .g-ring { stroke-width: 0.8; }

  .steps { gap: 12px; }

  .btn { padding: 10px 14px; font-size: 14px; }

  .btn-primary, .btn-teal, .btn-ghost { width: 100%; display: inline-flex; }

  .row { display: block; }

  .row .field { margin-bottom: 12px; }

  .language-picker { width: 100%; }

  .app-top { flex-direction: column; align-items: flex-start; gap: 12px; }

  .progress { width: 100%; }
}

.sec-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.sec-head.text-center {
  text-align: center;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kicker,
.step-kicker {
  color: var(--orange);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sec-head h2 {
  margin: 8px 0 10px;

  font-family: var(--font-display);

  line-height: 1.08;

  color: var(--ink-soft);
}

.sec-head p {
  margin: 0;

  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
}

/* =========================================================
   FLOW TOGGLE (LOOKING VS OFFERING)
========================================================= */

.flow-toggle-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 20px auto 4px !important;
}

.flow-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px !important;
  background: #e1ebf2 !important;
  border: 1px solid rgba(16, 43, 70, 0.12) !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 16px rgba(16, 43, 70, 0.06), inset 0 2px 4px rgba(0, 0, 0, 0.03) !important;
  max-width: 100% !important;
}

.flow-toggle-btn {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 24px !important;
  border: none !important;
  outline: none !important;
  border-radius: 999px !important;
  color: #1a3550 !important;
  background: transparent !important;
  font-family: var(--font-body, "Inter", sans-serif) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.flow-toggle-btn:hover {
  color: #0c2033 !important;
  background: rgba(255, 255, 255, 0.75) !important;
}

.flow-toggle-btn.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #102b46 0%, #1f4268 100%) !important;
  box-shadow: 0 6px 18px rgba(16, 43, 70, 0.25) !important;
}

.flow-toggle-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: rgba(16, 43, 70, 0.08) !important;
  font-size: 12px !important;
}

.flow-toggle-btn.active .flow-toggle-icon {
  background: var(--orange, #ea5a2d) !important;
  color: #ffffff !important;
}

@media (max-width: 680px) {
  .flow-toggle {
    flex-direction: column !important;
    border-radius: 18px !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .flow-toggle-btn {
    width: 100% !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

/* =========================================================
   HOW IT WORKS
========================================================= */
#how {
  background-color: rgb(225, 235, 230);
}


.steps {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 14px;
}

.step {
  display: grid;

  grid-template-columns: 42px minmax(0, 1fr);

  gap: 14px;

  min-width: 0;

  padding: 22px;

  background: rgba(255, 255, 255, 0.7);

  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: var(--radius);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);

  border-color: rgba(236, 83, 27, 0.3);

  box-shadow: var(--shadow);
}

.step-number {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: #fff;
  background: var(--teal);

  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.step h3 {
  margin: 0 0 5px;

  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
}

.step p {
  margin: 0;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* =========================================================
   MATCHER
========================================================= */

.matcher-section {

  padding: 44px 0 56px;
}

.app {
  max-width: 820px;
  margin-inline: auto;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);

  box-shadow: 0 16px 45px rgba(17, 17, 17, 0.07);
}

.app-top {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 22px;

  background:
    linear-gradient(
      135deg,
      #fff 0%,
      #faf5ef 100%
    );

  border-bottom: 1px solid var(--border);
}

.app-top-icon {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 12px;

  color: #fff;
  background: var(--orange);

  box-shadow:
    0 8px 20px rgba(236, 83, 27, 0.22);
  font-size: 18px;
}

.lead {
  min-width: 0;

  font-family: var(--font-display);
  font-weight: 700;
}

.lead small {
  display: block;

  color: var(--muted);

  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
}

.progress {
  width: 240px;
  flex: 0 1 240px;

  margin-left: auto;
}

.progress-label {
  display: flex;
  justify-content: space-between;

  margin-bottom: 5px;

  color: var(--muted);

  font-size: 11px;
  font-weight: 700;
}

.track {
  height: 6px;

  overflow: hidden;

  background: #eee5dc;

  border-radius: 999px;
}

.track i {
  display: block;

  width: 25%;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--orange),
      #ff8a56
    );

  border-radius: inherit;

  transition:
    width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pct {
  margin-top: 3px;

  color: var(--orange);

  text-align: right;

  font-size: 10px;
  font-weight: 800;
}

.app-body {
  padding: 28px 32px;
}

/* =========================================================
   FORM STEPS
========================================================= */

.form-step,
.become-step {
  display: none;

  animation:
    stepIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.form-step.active,
.become-step.active {
  display: block;
}

.step-heading {
  margin-bottom: 20px;
}

.step-heading h3 {
  margin: 5px 0 6px;

  font-family: var(--font-display);

  font-size: 26px;
  line-height: 1.1;

  letter-spacing: -0.03em;
}

.step-heading p {
  max-width: 650px;

  margin: 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.5;
}

/* =========================================================
   FORM FIELDS
========================================================= */

.field {
  position: relative;
  min-width: 0;

  margin-bottom: 16px;
}

.field label {
  display: block;

  margin-bottom: 6px;

  color: #1d3249;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;

  border: 1px solid #d9d3cf;
  border-radius: 13px;

  padding: 12px 14px;

  color: var(--ink);
  background: #fff;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.field input,
.field select {
  min-height: 46px;
}

.field textarea {
  min-height: 100px;

  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aaa0a5;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cfc2b7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(17, 17, 17, 0.22);

  box-shadow:
    0 0 0 4px rgba(17, 17, 17, 0.04),
    0 10px 20px rgba(17, 17, 17, 0.04);

  background: linear-gradient(180deg, #fff, #f9f9f8);
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  background: #f5f1ed;
}

.field-help {
  margin-top: 7px;

  color: #93898e;

  font-size: 11px;
}

.optional {
  margin-left: 4px;

  color: #a79da2;

  font-weight: 500;
}

.row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.field-error {
  min-height: 0;

  margin-top: 5px;

  color: #c9362e;

  font-size: 11px;
}

/* =========================================================
   JOURNEY
========================================================= */

.journey-card {
  position: relative;

  margin-bottom: 24px;
  padding: 25px;

  background:
    linear-gradient(
      135deg,
      #f4fbf9,
      #fff9f4
    );

  border: 1px solid #dcebe6;
  border-radius: 22px;
}

.journey-point {
  display: grid;

  grid-template-columns: 18px minmax(0, 1fr);

  gap: 15px;
}

.journey-dot {
  width: 13px;
  height: 13px;

  margin-top: 34px;

  border-radius: 50%;

  background: var(--teal);

  box-shadow:
    0 0 0 5px rgba(15, 94, 88, 0.1);
}

.journey-dot.arrival {
  background: var(--orange);

  box-shadow:
    0 0 0 5px rgba(236, 83, 27, 0.1);
}

.journey-line {
  position: relative;

  height: 22px;

  margin-left: 5px;
}

.journey-line::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 2px;
  height: 100%;

  background:
    repeating-linear-gradient(
      to bottom,
      #c8bdb4 0 4px,
      transparent 4px 8px
    );
}

/* =========================================================
   AUTOCOMPLETE
========================================================= */

.autocomplete {
  position: relative;
}

.location-list {
  position: absolute;

  z-index: 50;

  left: 0;
  right: 0;
  top: calc(100% + 7px);

  overflow-x: hidden;
  overflow-y: auto;

  background: #fff;

  border: 1px solid var(--border);
  border-radius: 16px;

  box-shadow:
    0 18px 50px rgba(34, 28, 36, 0.13);

  overscroll-behavior: contain;
}

.location-option {
  width: 100%;

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 13px 15px;

  text-align: left;

  border: 0;
  border-bottom: 1px solid #f1eae3;

  background: #fff;

  transition:
    background 0.2s ease,
    padding-left 0.2s ease;
}

.location-option:last-child {
  border-bottom: 0;
}

.location-option:hover,
.location-option:focus-visible {
  background: #fff6f1;

  padding-left: 19px;
}

.location-icon {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 10px;

  color: var(--orange);
  background: #fff0e9;
}

.location-option span:last-child {
  display: flex;
  flex-direction: column;

  min-width: 0;
}

.location-option strong {
  overflow: hidden;

  color: var(--ink);

  font-size: 13px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-option small {
  overflow: hidden;

  color: var(--muted);

  font-size: 11px;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 600;
}

.check-row input,
.flexibility-options input {
  accent-color: var(--teal);
}

.flexibility-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  color: var(--muted-dark);
  font-size: 12px;
}

.flexibility-options[hidden] {
  display: none;
}

.flexibility-options label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.location-loading,
.location-empty,
.location-error {
  padding: 15px;

  color: var(--muted);

  font-size: 12px;
}

.location-loading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.location-loading span {
  width: 13px;
  height: 13px;

  flex: 0 0 auto;

  border: 2px solid #eadfd5;
  border-top-color: var(--orange);

  border-radius: 50%;

  animation:
    spin 0.7s linear infinite;
}

/* =========================================================
   ASSISTANCE
========================================================= */

.assistance-options {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
}

.assistance-chip {
  position: relative;

  cursor: pointer;
}

.assistance-chip input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

.assistance-chip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 11px 14px;

  color: #5e555b;
  background: #fff;

  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.assistance-chip span b {
  color: var(--orange);
}

.assistance-chip:hover span {
  transform: translateY(-2px);

  border-color:
    rgba(236, 83, 27, 0.4);
}

.assistance-chip input:focus-visible + span {
  outline: 3px solid rgba(236, 83, 27, 0.2);
  outline-offset: 3px;
}

.assistance-chip input:checked + span {
  color: #fff;

  background: var(--orange);

  border-color: var(--orange);

  box-shadow:
    0 8px 20px rgba(236, 83, 27, 0.2);
}

.assistance-chip input:checked + span b {
  color: #fff;
}

/* =========================================================
   LANGUAGE SEARCH
========================================================= */

.language-picker {
  position: relative;
}

.language-search {
  margin-bottom: 9px;
}

.language-selected {
  min-height: 49px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 7px;

  padding: 7px 10px;

  background: #fff;

  border: 1px solid var(--border);
  border-radius: 14px;
}

.language-placeholder {
  padding: 4px;

  color: #a79da2;

  font-size: 12px;
}

.language-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 6px 9px;

  color: var(--teal);
  background: var(--teal-light);

  border-radius: 999px;

  font-size: 11px;
  font-weight: 800;

  animation:
    chipIn 0.25s ease;
}

.language-chip button {
  width: 18px;
  height: 18px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 0;

  color: var(--teal);
  background: transparent;

  font-weight: 900;
}

.language-check-list {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 7px;

  max-height: 180px;

  margin-top: 9px;
  padding: 8px;

  overflow-y: auto;

  background: #faf7f3;

  border: 1px solid var(--border);
  border-radius: 14px;
}

.language-option {
  display: flex;
  align-items: center;

  gap: 8px;

  padding: 9px;

  cursor: pointer;

  border-radius: 9px;

  font-size: 12px;
  font-weight: 600;

  transition:
    background 0.15s ease;
}

.language-option:hover {
  background: #fff;
}

.language-option input {
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;

  accent-color: var(--orange);
}

.language-native-select {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;

  opacity: 0 !important;
  pointer-events: none !important;
}

.language-empty {
  grid-column: 1 / -1;

  padding: 15px;

  color: var(--muted);

  text-align: center;

  font-size: 12px;
}

/* =========================================================
   REVIEW
========================================================= */

.review-card {
  overflow: hidden;

  margin-bottom: 22px;

  background: #fff;

  border: 1px solid var(--border);
  border-radius: 20px;
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 16px 18px;

  background: #faf5ef;

  border-bottom: 1px solid var(--border);

  color: #645c61;

  font-size: 12px;
  font-weight: 800;
}

.text-button {
  padding: 4px;

  border: 0;

  color: var(--orange);
  background: transparent;

  font-size: 12px;
  font-weight: 800;
}

.text-button:hover {
  text-decoration: underline;
}

.review-row {
  display: grid;

  grid-template-columns: 130px minmax(0, 1fr);

  gap: 20px;

  padding: 15px 18px;

  border-bottom: 1px solid #f1eae4;
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row span {
  color: var(--muted);
  font-size: 12px;
}

.review-row strong {
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}

/* =========================================================
   STEP TIP
========================================================= */

.step-tip {
  display: flex;

  gap: 12px;

  margin-top: 25px;
  padding: 16px;

  background:
    linear-gradient(
      135deg,
      #fff7f2,
      #f2faf8
    );

  border: 1px solid #eee0d5;
  border-radius: 16px;
}

.step-tip-icon {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  color: var(--orange);

  background: #fff;

  border-radius: 10px;
}

.step-tip strong {
  display: block;

  font-size: 12px;
}

.step-tip p {
  margin: 3px 0 0;

  color: var(--muted);

  font-size: 11px;
}

/* =========================================================
   ACTIONS
========================================================= */

.step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;

  margin-top: 30px;
}

.split-actions {
  justify-content: space-between;
}

.flight-booking-field {
  min-width: 0;
}

.flight-number-field {
  margin-top: 14px;
}

.flight-number-field label {
  margin-top: 0;
}

/* =========================================================
   MESSAGES
========================================================= */

.form-message-container:empty {
  display: none;
}

.app-toast {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 43, 70, .42);
  backdrop-filter: blur(4px);
  animation: toastIn 0.2s ease;
}

.app-toast.is-hiding {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.22s ease;
}

.app-toast strong {
  font-size: 12px;
}

.app-toast span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.success-popup {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(420px, 100%);
  padding: 32px 28px 26px;
  border: 1px solid rgba(15, 94, 88, .16);
  border-radius: 18px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 25, 43, .28);
  text-align: center;
}

.success-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #496273;
  background: #eef4f6;
  font-size: 24px;
  line-height: 1;
}

.success-popup-close:hover {
  color: var(--navy);
  background: #e1ebef;
}

.success-popup-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 26px;
  font-weight: 800;
}

.success-popup strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.success-popup span {
  max-width: 320px;
  color: #496273;
}

.success-popup-ok {
  min-width: 112px;
  margin-top: 6px;
}

.form-message {
  margin-bottom: 20px;
  padding: 14px 16px;

  border-radius: 14px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;

  box-shadow:
    0 12px 26px rgba(34, 28, 36, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);

  animation: messageIn 0.3s ease;
}

.form-message a {
  display: inline-block;
  margin-top: 6px;
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-message.error {
  color: #7e2635;

  background: linear-gradient(135deg, rgba(255, 235, 238, 0.96), rgba(255, 246, 247, 0.96));

  border: 1px solid rgba(214, 92, 118, 0.24);
}

.form-message.success {
  color: #1d2d5b;

  background: linear-gradient(135deg, rgba(76, 116, 239, 0.10), rgba(240, 98, 182, 0.08));

  border: 1px solid rgba(76, 116, 239, 0.18);
}

.form-message.info {
  color: #214a70;

  background: linear-gradient(135deg, rgba(76, 116, 239, 0.07), rgba(255, 255, 255, 0.9));

  border: 1px solid rgba(76, 116, 239, 0.12);
}

/* =========================================================
   CORRIDORS
========================================================= */

.pops {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 14px;
}

.community-board {
  display: grid;
  gap: 38px;
}

.community-board-section {
  padding-top: 24px;
  border-top: 1px solid rgba(16, 43, 70, 0.14);
}

.community-board-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.community-board-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.community-board-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.community-board-heading a {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.community-board-heading a:hover { color: var(--ink); }

.community-board-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.community-board-dot--request { background: var(--orange); }

.community-board-intro {
  max-width: 620px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.pop {
  min-width: 0;

  text-align: left;

  color: var(--ink);

  border: 1px solid var(--border);
  border-radius: 18px;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pop:hover {
  transform: translateY(-5px);

  border-color:
    rgba(236, 83, 27, 0.35);

  box-shadow: var(--shadow);
}

.pop strong {
  display: block;

  font-family: var(--font-display);
  font-size: 17px;

  overflow-wrap: anywhere;
}

.pop span {
  display: block;

  margin-top: 7px;

  color: var(--muted);

  font-size: 11px;
}

.pop {
  position: relative;
  min-height: 205px;
  padding: 22px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f6f8 100%);
}

.pop-label {
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  color: var(--teal) !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pop-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-light);
}

.pop-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.pop-route > span {
  display: grid;
  gap: 2px;
  margin: 0;
}

.pop-route > span:last-child {
  text-align: right;
}

.pop-route b {
  color: var(--navy);
  font: 800 30px/1 var(--font-display);
  letter-spacing: .02em;
}

.pop-route small {
  color: var(--muted);
  font-size: 11px;
}

.pop-route > i {
  height: 2px;
  flex: 1;
  border-top: 2px dashed var(--teal);
}

.pop .pop-meta {
  margin-top: 25px;
  color: var(--muted-dark);
  font-size: 11px;
}

.pop .pop-action {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.pop .pop-action b {
  font-size: 17px;
}

.companion-form {
  border-color: #cbd8e0;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 43, 70, .12);
}

.companion-form .app-body {
  padding: 32px;
}

.companion-form .field {
  margin-bottom: 18px;
}

.companion-form .field input,
.companion-form .field select,
.companion-form .field textarea {
  border-color: #d4dfe5;
  background: #fbfcfd;
}

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

@media (max-width: 560px) {
  .pops { grid-template-columns: 1fr; }
  .community-board-heading { align-items: flex-start; }
  .community-board-heading a { flex: 0 0 auto; }
  .companion-form .app-body { padding: 20px 16px; }
}

/* =========================================================
   COMPANIONS
========================================================= */

.companions-section {
  background: #f6efe8;
}

.matches {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 15px;
}

.match {
  display: grid;

  grid-template-columns:
    52px minmax(0, 1fr) auto;

  align-items: center;

  gap: 15px;

  min-width: 0;

  padding: 20px;

  background: #fff;

  border: 1px solid var(--border);
  border-radius: 20px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.match:hover {
  transform: translateY(-4px);

  border-color: rgba(236, 83, 27, 0.15);

  box-shadow:
    0 20px 50px rgba(34, 28, 36, 0.08);
}

.avatar {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 16px;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      var(--teal),
      #3b958c
    );

  font-family: var(--font-display);
  font-weight: 800;
}

.who {
  font-family: var(--font-display);
  font-weight: 800;

  overflow-wrap: anywhere;
}

.badge {
  display: inline-block;

  margin-left: 5px;
  padding: 4px 7px;

  color: var(--teal);
  background: var(--teal-light);

  border-radius: 999px;

  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;

  vertical-align: middle;
}

.meta {
  margin-top: 4px;

  color: var(--muted);

  font-size: 11px;
}

.tagrow {
  display: flex;
  flex-wrap: wrap;

  gap: 5px;

  margin-top: 7px;
}

.tag {
  padding: 4px 7px;

  color: #665d62;
  background: #f5f0eb;

  border-radius: 999px;

  font-size: 9px;
}

.score {
  min-width: 48px;

  text-align: center;
}

.score .num {
  color: var(--teal);

  font-family: var(--font-display);

  font-size: 23px;
  font-weight: 800;
}

.score small {
  color: var(--muted);

  font-size: 9px;
}

.score.best .num {
  color: var(--orange);
}

.become-heading {
  margin-top: 100px;
  margin-bottom: 34px;
}

.become-heading h2 {
  max-width: 760px;
  color: #16314d;
  font-size: clamp(35px, 4.8vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.become-heading p {
  max-width: 650px;
  color: #4d5c68;
  font-size: clamp(18px, 1.9vw, 30px);
  line-height: 1.18;
}

/* =========================================================
   PROGRESSIVE BECOME FORM
========================================================= */

.companion-form {
  overflow: visible;
}

.progressive-field {
  opacity: 0.28;

  transform:
    translateY(14px)
    scale(0.985);

  filter: blur(0.5px);

  pointer-events: none;

  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    filter 0.45s ease;
}

.progressive-field.revealed {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  filter: none;

  pointer-events: auto;
}

.companion-form .progressive-field {
  margin-bottom: 10px;
}

.companion-form .progressive-field:last-of-type {
  margin-bottom: 0;
}

.progressive-field.revealed .field {
  animation:
    fieldReveal 0.5s ease both;
}

.become-step .step-actions {
  margin-top: 26px;
}

/* =========================================================
   CONTACT
========================================================= */

.split {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

}

.panel {
  min-width: 0;

  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,249,255,0.95));

  border: 1px solid rgba(76, 116, 239, 0.08);
  border-radius: 22px;

  box-shadow:
    0 18px 50px rgba(34, 28, 36, 0.05),
    0 0 0 1px rgba(255,255,255,0.8) inset;
}

.panel-icon {
  width: 45px;
  height: 45px;

  display: grid;
  place-items: center;

  margin-bottom: 18px;

  color: #fff;
  background: linear-gradient(135deg, var(--nav-blue), var(--nav-pink));

  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(76, 116, 239, 0.18);
}

.panel-icon.teal {
  background: linear-gradient(135deg, var(--nav-blue), var(--orange));
}

.panel h3 {
  margin: 0 0 7px;

  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.2;
}

.panel > p {
  margin: 0 0 25px;

  color: var(--muted);

  font-size: 13px;
}

.app-foot {
  display: flex;
  justify-content: flex-end;

  margin-top: 20px;
}

/* =========================================================
   FOOTER
========================================================= */

.site .brand {
  color: #fff;
}

.footer-tagline {
  margin: 12px 0 0;

  color: #aaa0a6;

  font-size: 10px;
}

.note {
  margin: 0;

  color: #a69ca2;

  font-size: 11px;

  line-height: 1.7;
}

/* =========================================================
   CALLOUT
========================================================= */

.callout {
  padding: 25px;

  color: var(--muted);

  background: #fff;

  border: 1px solid var(--border);
  border-radius: 18px;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes stepIn {
  from {
    opacity: 0;

    transform:
      translateX(25px)
      scale(0.985);
  }

  to {
    opacity: 1;

    transform:
      translateX(0)
      scale(1);
  }
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fieldReveal {
  from {
    opacity: 0;

    transform:
      translateY(15px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drawArc {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.55);
    opacity: 0.65;
  }
}

@keyframes globeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-20px, 20px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   LARGE TABLETS
========================================================= */

@media (max-width: 1050px) {
  .wrap {
    width: min(100% - 36px, var(--container));
  }

  .links {
    gap: 17px;
  }

  .links > a:not(.btn) {
    font-size: 12px;
  }

  .hero-grid {
    gap: 45px;
  }

  .globe {
    width: min(390px, 100%);
  }
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 950px) {
  :root {
    --header-height: 70px;
  }

  .hero {
    padding: 75px 0 90px;
  }

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

    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lede {
    max-width: 680px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .globe {
    width: min(410px, 80vw);

    margin-top: 10px;
  }

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

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

  .match {
    grid-template-columns:
      52px minmax(0, 1fr) auto;
  }
}

/* =========================================================
   MOBILE NAV + TABLET
========================================================= */

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, 680px);
  }

  .site-header {
    z-index: 2000;
  }

/* Desktop */
.header-cta { display: inline-flex; }

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

  .links {
    position: fixed;

    z-index: 1900;

    top: calc(var(--header-height) + 8px);
    left: 14px;
    right: 14px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 4px;

    margin-left: 0;
    padding: 12px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow:
      0 25px 60px rgba(34, 28, 36, 0.18);

    opacity: 0;
    visibility: hidden;

    transform:
      translateY(-12px)
      scale(0.98);

    transform-origin: top center;

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .links.open {
    opacity: 1;
    visibility: visible;

    transform:
      translateY(0)
      scale(1);
  }

  .links > a:not(.btn) {
    display: block;

    padding: 12px;

    border-radius: 10px;

    font-size: 14px;
  }

  .links > a:not(.btn)::after {
    display: none;
  }

  .links > a:not(.btn):hover {
    background: #fff5ef;

    transform: none;
  }

 /* ========================================= MOBILE NAVIGATION ========================================= */
  @media (max-width: 768px) { /* Hide desktop header button */
    .header-cta { display: none !important; }
    /* Show Get Started inside mobile menu */
    .mobile-nav-cta { display: inline-flex !important; width: 100%; justify-content: center; align-items: center; margin-top: 14px; } }

  .hero {
    padding: 65px 0 75px;
  }

  .title {
    font-size:
      clamp(
        48px,
        15vw,
        72px
      );
  }

  .lede {
    font-size: 16px;
  }

  .hero-stats {
    gap: 30px;
  }

  .globe {
    width: min(330px, 78vw);
  }

  section {
    padding: 70px 0;
  }

  .sec-head {
    margin-bottom: 30px;
  }

  .sec-head h2 {
    font-size:
      clamp(34px, 8vw, 48px);
  }

  .app {
    border-radius: 22px;
  }

  .app-top {
    align-items: flex-start;

    flex-wrap: wrap;

    padding: 18px;
  }

  .progress {
    width: 100%;

    flex: 1 0 100%;

    order: 3;

    margin: 5px 0 0;
  }

  .app-body {
    padding: 28px 20px;
  }

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

  .journey-card {
    padding: 17px;
  }

  .journey-fields {
    min-width: 0;
  }

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

  .review-row {
    grid-template-columns: 1fr;

    gap: 4px;
  }

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

  .panel {
    padding: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .match {
    grid-template-columns:
      46px minmax(0, 1fr);
  }

  .match .score {
    display: none;
  }

  .become-heading {
    margin-top: 70px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 22px, 680px);
  }

  .brand {
    font-size: 21px;
  }

  .mark {
    width: 29px;
    height: 29px;
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 65px;
  }

  .hero::before {
    width: 300px;
    height: 300px;

    right: -180px;
    top: -100px;
  }

  .eyebrow,
  .hero-pill {
    font-size: 11px;
  }

  .hero-pill {
    max-width: 100%;

    text-align: center;
  }

  .title {
    margin-top: 18px;

    font-size:
      clamp(
        44px,
        14vw,
        64px
      );
  }

  .lede {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-cta {
    width: 100%;

    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-badges {
    display: grid;

    grid-template-columns: 1fr;

    width: 100%;
  }

  .hero-badge {
    text-align: center;
  }

  .hero-stats {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    width: 100%;

    gap: 15px;
  }

  .stat {
    padding: 14px;

    background: rgba(255, 255, 255, 0.5);

    border: 1px solid rgba(231, 221, 211, 0.8);
    border-radius: 14px;
  }

  .stat b {
    font-size: 25px;
  }

  .globe {
    width: min(280px, 78vw);
  }

  section {
    padding: 58px 0;
  }

  .sec-head h2 {
    font-size: 34px;
  }

  .step {
    grid-template-columns:
      40px minmax(0, 1fr);

    gap: 14px;

    padding: 20px;
  }

  .step-number {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    font-size: 18px;
  }

  .step-heading h3 {
    font-size: 27px;
  }

  .step-tip {
    align-items: flex-start;
  }

  .split-actions {
    flex-direction: column-reverse;

    gap: 10px;
  }

  .split-actions .btn {
    width: 100%;
  }

  .app-top {
    padding: 15px;
  }

  .app-top-icon {
    width: 40px;
    height: 40px;
  }

  .app-body {
    padding: 22px 15px;
  }

  .journey-card {
    padding: 14px;
  }

  .journey-point {
    grid-template-columns: 14px minmax(0, 1fr);

    gap: 12px;
  }

  .journey-dot {
    width: 11px;
    height: 11px;

    margin-top: 34px;
  }

  .assistance-options {
    gap: 7px;
  }

  .assistance-chip span {
    padding: 10px 11px;
  }

  .panel {
    padding: 22px;
  }

  .panel h3 {
    font-size: 21px;
  }

  .app-foot {
    justify-content: stretch;
  }

  .app-foot .btn {
    width: 100%;
  }

  .match {
    grid-template-columns:
      42px minmax(0, 1fr);

    gap: 12px;

    padding: 16px;
  }

  .avatar {
    width: 42px;
    height: 42px;

    border-radius: 13px;
  }

  .badge {
    display: table;

    margin: 5px 0 0;
  }

  .tagrow {
    gap: 4px;
  }

  .tag {
    font-size: 8px;
  }

  .footer-grid {
    gap: 18px;
  }
}

  .guide-section {
    padding: 110px 0;
    background: var(--white);
  }

  .guide-head {
    max-width: 690px;
  }

  .journey-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    margin-top: 44px;
    border: 1px solid var(--border);
    background: var(--border);
  }

  .journey-timeline article {
    min-height: 170px;
    padding: 22px;
    background: var(--cream);
  }

  .journey-timeline article > span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--white);
    background: var(--teal);
    font-family: var(--font-display);
    font-weight: 700;
  }

  .journey-timeline h3 {
    margin: 0 0 7px;
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.15;
  }

  .journey-timeline p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
  }

  .caregiver-section {
    padding: 72px 0;
    color: var(--white);
    background: var(--teal);
  }

  .caregiver-inner {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 70px;
    align-items: center;
  }

  .caregiver-inner h2 {
    max-width: 550px;
    margin: 12px 0 0;
    color: var(--white);
  }

  .caregiver-inner p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.76);
  }

  .caregiver-inner .kicker {
    color: #a9d8d2;
  }

  @media (max-width: 900px) {
    .journey-timeline {
      grid-template-columns: repeat(2, 1fr);
    }

    .caregiver-inner {
      grid-template-columns: 1fr;
      gap: 22px;
    }
  }

  @media (max-width: 520px) {
    .guide-section {
      padding: 76px 0;
    }

    .journey-timeline {
      grid-template-columns: 1fr;
    }
  }

  @media (prefers-reduced-motion: reduce) {

  }

/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 18px);
  }

  .brand {
    font-size: 19px;
  }

  .mark {
    width: 27px;
    height: 27px;
  }

  .title {
    font-size: 43px;
  }

  .app-body {
    padding-inline: 12px;
  }

  .step {
    padding: 17px;
  }

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

  .hero-stats .stat {
    text-align: center;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.hero-visual {
  position: relative;

  place-items: center;

}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 10% 8% 10% 6%;
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::before {
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.02), rgba(16, 43, 70, 0.24));
  border: 0;
  animation: none;
}

.hero-visual::after {
  display: none;
}

.journey-halo {
  position: absolute;
  inset: 14% 10% 10% 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(15, 94, 88, 0.08), rgba(15, 94, 88, 0) 52%),
    radial-gradient(circle at 62% 32%, rgba(236, 83, 27, 0.12), rgba(236, 83, 27, 0) 50%);
  filter: blur(12px);
  animation: haloFloat 9s ease-in-out infinite alternate;
  display: none;
}

.match-card {
  position: relative;
  width: min(100%, 560px);
  padding: 18px;
  border: 1px solid rgba(15, 94, 88, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 80px rgba(34, 28, 36, 0.08);
  backdrop-filter: blur(16px);
  transform: rotate(1deg) translateY(10px);
}

.match-card-shell {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 94, 88, 0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,250,249,0.82));
}

.route-card {
  padding: 16px 16px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(34, 28, 36, 0.02);
}

.route-card--empty {
  padding-bottom: 16px;
}

.match-card-shell::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(15, 94, 88, 0.1), transparent 65%);
  pointer-events: none;
}

.match-card-header,
.match-person,
.match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.match-card-header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(34, 28, 36, 0.06);
}

.route-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin: 28px 12px 18px;
  padding: 0 12px;
}

.route-progress::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(15, 94, 88, 0.42), rgba(15, 94, 88, 0.18), rgba(236, 83, 27, 0.42));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(15, 94, 88, 0.12);
}

.route-node {

  margin: 0 auto;

}

.route-node--mid {
  border-color: rgba(15, 94, 88, 0.8);
  box-shadow: 0 0 0 4px rgba(15, 94, 88, 0.12), 0 0 0 1px rgba(15, 94, 88, 0.35);
}

.route-node--end {
  border-color: rgba(236, 83, 27, 0.8);
}

.route-stops {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin-top: 4px;
  padding: 0 4px;
}

.route-stops--placeholder {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stop span {
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(34, 28, 36, 0.06);
}

.route-meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 94, 88, 0.08);
  border-radius: 999px;
  background: rgba(15, 94, 88, 0.03);
  color: var(--teal-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-live,
.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.match-live i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(236, 83, 27, 0.12);
  animation: liveBlink 1.8s ease-in-out infinite;
}

.match-pill {
  color: var(--orange);
  background: rgba(236, 83, 27, 0.08);
  border: 1px solid rgba(236, 83, 27, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  letter-spacing: 0.06em;
}

.match-route {
  position: relative;
  margin: 28px 18px 16px;
  z-index: 1;
}

.match-route-rail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 12px;
}

.match-route-rail::before {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(15, 94, 88, 0.4), rgba(15, 94, 88, 0.12), rgba(15, 94, 88, 0.4));
  border-radius: 999px;
  content: "";
  box-shadow: 0 0 18px rgba(15, 94, 88, 0.15);
}

.route-node {
  position: relative;
  z-index: 1;
  display: block;
  width: 16px;
  height: 16px;
  margin-inline: auto;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(236, 83, 27, 0.4), 0 0 18px rgba(236, 83, 27, 0.2);
  animation: routePulse 2.8s ease-in-out infinite;
}

.route-node.middle {
  background: var(--teal);
  box-shadow: 0 0 0 1px rgba(15, 94, 88, 0.42), 0 0 18px rgba(15, 94, 88, 0.22);
  animation-delay: 0.9s;
}

.route-node.end {
  animation-delay: 1.8s;
}

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

.stop {
  display: grid;
  gap: 4px;
  text-align: center;
}

.stop strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 31px);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--ink);
}

.stop small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.match-person {
  margin-top: 18px;
  padding: 14px 10px;
  border-top: 1px solid rgba(34, 28, 36, 0.06);
  border-bottom: 1px solid rgba(34, 28, 36, 0.06);
}

.person-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar-mini {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--orange);
  background: linear-gradient(135deg, rgba(236, 83, 27, 0.12), rgba(15, 94, 88, 0.08));
  font-weight: 800;
  font-size: 14px;
}

.person-meta strong,
.person-score strong {
  display: block;
  color: var(--ink);
}

.person-meta strong {
  font-size: 15px;
  line-height: 1.3;
}

.person-meta small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.person-score {
  text-align: right;
}

.person-score strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.06em;
}

.person-score span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-footer {
  align-items: flex-start;
  padding-top: 14px;
}

.match-detail {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.match-detail.compact {
  justify-items: end;
}

.label {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.match-detail strong {
  color: var(--ink);
  font-size: 14px;
}

.match-detail ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.match-detail li {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid rgba(15, 94, 88, 0.1);
  border-radius: 999px;
  background: rgba(15, 94, 88, 0.04);
  color: var(--teal-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.match-card-empty {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(34, 28, 36, 0.08);
}

.match-card-empty h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.match-card-empty p {
  margin: 0;
  color: var(--muted);
}

.match-status {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 94, 88, 0.06);
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@keyframes routePulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(236, 83, 27, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(236, 83, 27, 0.12); }
}

@keyframes navFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}

@keyframes headerGlow {
  0% { box-shadow: 0 8px 24px rgba(76, 116, 239, 0.04); }
  100% { box-shadow: 0 12px 32px rgba(240, 98, 182, 0.06); }
}

@keyframes holoFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

@keyframes haloFloat {
  0% { transform: scale(0.96); opacity: 0.8; }
  100% { transform: scale(1.04); opacity: 1; }
}

@media (max-width: 600px) {
  .hero { min-height: auto; padding-top: 64px; }
  .hero-visual { min-height: 380px; }
  .match-card { transform: none; }
  .match-person,
  .match-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .person-score {
    text-align: left;
  }
  .match-detail.compact {
    justify-items: flex-start;
  }
  .match-detail ul {
    justify-content: flex-start;
  }
}

/* Final responsive pass: keep the form controls legible and touch-friendly. */
:root {
  --navy: #102b46;
  --navy-soft: #eaf0f5;
}

.site-header {
  border-bottom-color: rgba(16, 43, 70, .14);
}

.matcher-section .app-top {
  color: var(--white);
  background: var(--navy);
  border-bottom-color: rgba(255, 255, 255, .15);
}

.matcher-section .app-top small,
.matcher-section .progress-label {
  color: rgba(255, 255, 255, .72);
}

.matcher-section .track {
  background: rgba(255, 255, 255, .22);
}

.matcher-section .progress i {
  background: var(--orange);
}

.sec-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.035em;
}

.field .check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  margin: 14px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
  font-weight: 600;
}

/* Travel atmosphere: airy sky, route-grid texture, and a warm horizon. */
body {

  background-size: 72px 72px, 72px 72px, auto;
}

.hero {

  background-size: auto, 72px 72px, 72px 72px;
}

.field .check-row input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--teal);
}

.field .flexibility-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid #c9dfdc;
  border-radius: 13px;
  background: var(--teal-light);
  font-size: 12px;
}

.field .flexibility-options[hidden] {
  display: none;
}

.field .flexibility-options label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.field .flexibility-options input[type="radio"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
}

.location-list {
  max-height: 240px;
}

@media (max-width: 600px) {
  .field .flexibility-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .field .flexibility-options .field-help {
    margin-top: 0;
  }
}

/* Public visual system: modern balanced theme with compact, responsive layout */


#corridors,
.companions-section,
#contact,
.guide-section,
.trust-section,
.faq-section {
  padding: 44px 0;
}

.trust-section {
  background: #fff;
}

.trust-head {
  max-width: 690px;
}

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

.trust-card {
  padding: 20px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: #fbfaf9;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border-radius: 16px;
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
}

.trust-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #102b46 0%, #e64e9a 100%);
  font-weight: 800;
}

.trust-icon.teal {
  background: linear-gradient(135deg, #2c7067 0%, #3b4e74 100%);
}

.trust-icon.navy {
  background: linear-gradient(135deg, #3b4e74 0%, #e06d32 100%);
}

.trust-icon.orange {
  color: var(--orange);
  background: var(--orange-light);
}

.trust-card h3 {
  margin: 0 0 6px;
  font: 700 16px/1.2 var(--font-display);
  color: var(--ink-soft);
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.faq-section {
  background: #f3f6f7;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font: 700 15px/1.3 var(--font-display);
  color: var(--ink-soft);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--orange);
  font-size: 20px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 620px;
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.final-cta-section {
  padding: 48px 0;
  color: #fff;
  background: var(--navy);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.final-cta-inner h2 {
  margin: 6px 0 6px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
}

.final-cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.final-cta-inner .kicker {
  color: #9ed2cb;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.final-cta-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1200;
  display: grid;
  gap: 9px;
}

.floating-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 10px;
  border: 1px solid rgba(16, 43, 70, 0.12);
  border-radius: 999px;
  color: #14304a;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(16, 43, 70, 0.12);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(16, 43, 70, 0.18);
  background: #fff;
}

.floating-contact-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #183a59;
  font-size: 11px;
  font-weight: 900;
}

.site {
  padding: 36px 0 24px;

  color: var(--white);
}

.site .footer-tagline,
.site .note {
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 28px;
  align-items: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-links div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-links strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-grid .note {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.panel {
  padding: 24px 26px;
}

.split {
  gap: 16px;
}

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

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

@media (max-width: 600px) {
  section {
    padding: 34px 0;
  }

  .hero {
    padding: 28px 0 34px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .step {
    padding: 16px;
  }

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

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

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

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

  .app-body {
    padding: 20px 16px;
  }

  .journey-card {
    padding: 14px 12px;
  }
}

dialog.contact-dialog#termsDialog {
  width: min(700px, calc(100% - 28px));
  max-height: min(820px, calc(100vh - 32px));
  overflow: hidden;
  border: 1px solid rgba(15, 94, 88, 0.14);
  border-radius: 20px;
}

.terms-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: min(820px, calc(100vh - 32px));
  padding: 30px 34px 26px;
}

.terms-dialog-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.terms-dialog-badge {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: #fff;
  background: var(--teal);
  font-size: 18px;
  font-weight: 800;
}

.terms-dialog-meta {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.terms-dialog-inner h2 {
  max-width: 540px;
  margin: 8px 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
}

.terms-dialog-intro {
  max-width: 590px;
  margin: 0 0 20px !important;
  color: var(--muted);
  font-size: 13px;
}

.terms-copy {
  min-height: 0;
  overflow-y: auto;
  padding: 2px 10px 4px 0;
  scrollbar-color: rgba(15, 94, 88, 0.35) transparent;
}

.terms-section {
  margin: 0 0 10px;
  padding: 14px 16px 13px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: #fff;
}

.terms-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.3;
}

.terms-section h3 span {
  font-size: 16px;
}

.terms-section ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-section li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.terms-section li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 800;
}

.terms-excluded {
  border-color: rgba(236, 83, 27, 0.2);
  background: #fff9f5;
}

.terms-excluded li::before {
  color: var(--orange);
  content: "!";
}

.terms-responsibility {
  margin: 2px 0 0 !important;
  padding: 11px 13px;
  border-left: 3px solid var(--orange);
  color: var(--ink) !important;
  background: #fff6ef;
  font-size: 12px;
  line-height: 1.45;
}

.terms-dialog-footer {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--border-light);
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.terms-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--teal);
}

.terms-submit {
  width: 100%;
  justify-content: center;
}

.journey-board {
  margin-top: 30px;
}

.journey-board-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.journey-board-heading h3 {
  margin: 4px 0 0;
  font-size: 19px;
}

.journey-board-heading p {
  max-width: 520px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.home-data-status {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--teal-light);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.home-data-status--warm {
  color: var(--orange);
  background: var(--orange-light);
}

.journey-request-list { display: grid; gap: 12px; }

.journey-request-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  min-height: 128px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.journey-request-rail {
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.journey-request-route {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(140px, 1.4fr) minmax(90px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
}

.journey-request-route > div > span {
  display: block;
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.journey-request-route > div { min-width: 0; }
.journey-request-route b { display: block; margin-top: 4px; color: var(--ink); font-size: 23px; line-height: 1; }
.journey-request-route strong { display: block; margin-top: 4px; color: var(--ink); font-size: 23px; }
.journey-request-route > div:last-child { text-align: right; }
.journey-request-flight { text-align: center; }
.journey-request-flight time { display: block; color: var(--ink); font-size: 11px; font-weight: 800; }
.journey-request-flight i { display: block; margin-top: 12px; border-top: 1px dashed var(--orange); }

.journey-request-meta {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 165px;
  padding: 20px;
  border-left: 1px dashed var(--border);
}

.journey-request-meta > span { color: var(--muted); font-size: 11px; }
.journey-request-meta a { color: var(--orange); font-size: 12px; font-weight: 800; text-decoration: none; }
.journey-request-meta a:hover { color: var(--ink); }
.journey-request-empty { padding: 26px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); background: rgba(255, 255, 255, 0.6); font-size: 13px; }

.show-all-requests {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(236, 83, 27, .35);
  border-radius: 8px;
  color: var(--orange);
  background: #fff8f2;
  cursor: pointer;
  font: 800 12px var(--font-body);
}

.show-all-requests span { color: var(--muted); font-weight: 600; }
.show-all-requests i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.show-all-requests.is-expanded i { transform: rotate(225deg) translateY(-2px); }
.show-all-requests:hover { color: var(--ink); background: #fff; }

.mobile-sticky-cta { display: none; }

@media (max-width: 760px) {
  .mobile-sticky-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1190;

    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    color: #fff;
    background: var(--orange);
    box-shadow: 0 10px 24px rgba(236, 83, 27, .26);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
  }
}

/* Aviation palette and section rhythm. */

#corridors,
.faq-section { background: #e6f3f8; }
#corridors { padding-bottom: 24px; }
.faq-section { padding-top: 34px; }

.home-data-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.home-data-action:hover { color: var(--ink); }

/* Companion identities and availability are private admin matching data. */
.companions-section > .wrap > .sec-head,
.companions-section #companionCards,
.companions-section .home-data-panel:first-child { display: none; }

@media (max-width: 760px) {
  .journey-board-heading { display: block; }
  .journey-board-heading .home-data-action { margin-top: 14px; }
  .journey-request-card { grid-template-columns: 32px minmax(0, 1fr); }
  .journey-request-route { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .journey-request-route > div:last-child, .journey-request-flight { text-align: left; }
  .journey-request-flight .route-transit-name { margin-left: 0; text-align: left !important; }
  .journey-request-flight i { margin-top: 8px; }
  .journey-request-meta { grid-column: 2; grid-template-columns: 1fr auto; align-items: center; min-width: 0; padding: 0 18px 18px; border-left: 0; }
}

.hero-reference-banner {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(16, 43, 70, 0.12);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(16, 43, 70, 0.18);
  animation: banner-arrive 0.8s ease both;
}

.hero-care-story {

  z-index: 4;

  border: 1px solid rgba(255, 255, 255, 0.22);

  backdrop-filter: blur(10px);
  animation: banner-arrive 0.8s 0.12s ease both;
}

.hero-care-heart {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 11px;
  color: #fff;
  background: var(--orange);
  font-size: 17px;
}

.hero-care-story h2 {
  margin: 0 0 12px;

  line-height: 1.12;
}

.hero-care-story p {
  margin: 0 0 9px;

}

.hero-care-story .hero-care-closing {
  margin-top: 14px;

  font-size: 13px;
  font-weight: 800;
}

.hero-care-story .btn {
  min-height: 40px;
  margin-top: 8px;
  padding: 10px 16px;
  font-size: 12px;
}

.hero-visual .match-card {
  display: none;
}

@keyframes banner-arrive {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Full-frame travel banner with readable content layered over the image. */
.hero {

  align-items: center;

}

.hero .title,
.hero .lede,
.hero .stat span,
.hero .eyebrow,
.hero .hero-pill,
.hero .hero-badge {
  color: #102b46;
}

.hero .eyebrow,
.hero .hero-pill,
.hero .hero-badge {
  background: rgba(231, 246, 244, 0.82);
  border-color: rgba(15, 94, 88, 0.14);
}

.hero .hero-cta .btn-ghost {
  color: var(--nav-blue);
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--nav-blue);
}

.hero .hero-cta .btn-ghost:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--nav-blue) 0%, var(--nav-blue-dark) 100%);
  border-color: transparent;
}

.hero-visual {

  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 900px) {

  .hero-content {
    padding: 24px;
  }
}

/* Final palette: a clear morning-sky canvas with a warm departure horizon. */

/* Final hero composition override: keep the real image visible and the two content columns aligned. */

.hero-visual::before,
.hero-visual::after {
  display: none;
}

.hero-care-story {

  max-width: 410px;
  margin-inline: auto;
}

.hero-care-story h2 { color: #fff; }
.hero-care-story p { color: rgba(255, 255, 255, 0.84); }
.hero-care-story .hero-care-closing { color: #fff; }

/* Final card composition: aligned, stable, and readable over the airport image. */

.hero-care-story {

  border-radius: 20px;

}

.hero-care-story h2 {
  font-size: clamp(22px, 2.2vw, 29px);
}

.hero-care-story p {
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid {

    gap: 24px;

  }
  .hero-content,
  .hero-care-story {
    width: 100%;

  }
}

/* Community listing board: the public offering and request rows share a route-first layout. */
.community-board .pops {
  grid-template-columns: 1fr;
  gap: 12px;
}

.offer-route-card {
  display: grid;
  grid-template-columns: 38px minmax(150px, .72fr) minmax(300px, 1.5fr) auto;
  min-height: 126px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
}

.offer-route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 83, 27, .45);
}

.offer-route-rail {
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  color: #fff !important;
  background: var(--teal);
  font-size: 9px !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.offer-route-provider {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px;
  border-right: 1px dashed rgba(16, 43, 70, .16);
}

.offer-route-provider span { color: var(--teal) !important; font-size: 10px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.offer-route-provider small { color: var(--muted); font-size: 11px; line-height: 1.45; }

.offer-route {
  display: grid;
  grid-template-columns: minmax(70px, 1fr) minmax(140px, 1.4fr) minmax(70px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}

.offer-route > span { display: grid !important; gap: 3px; margin: 0 !important; }
.offer-route > span:last-child { text-align: right; }
.offer-route small { color: var(--orange) !important; font-size: 9px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.offer-route b { color: var(--navy) !important; font: 800 24px/1 var(--font-display) !important; }
.offer-route em { color: var(--muted); font-size: 11px; font-style: normal; }
.offer-route > div { text-align: center; }
.offer-route time { display: block; margin-top: 6px; color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1.3; }
.offer-route .route-via,
.offer-route .route-flight,
.journey-request-flight .route-via,
.journey-request-flight .route-flight { display: block; margin: 0 0 5px; color: var(--orange) !important; font-size: 9px !important; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.route-airport-name { display: block !important; max-width: 170px; margin-top: 3px; overflow-wrap: anywhere; color: var(--muted) !important; font-size: 9px !important; font-weight: 600 !important; letter-spacing: 0 !important; line-height: 1.2; text-transform: none !important; }
.journey-request-route > div:last-child .route-airport-name,
.offer-route > span:last-child .route-airport-name { margin-left: auto; text-align: right; }
.route-transit-name { margin-bottom: 5px; color: var(--ink) !important; }
.offer-route > div .route-transit-name,
.journey-request-flight .route-transit-name { width: 100%; max-width: none; margin-right: auto; margin-left: auto; text-align: center !important; }
.offer-route > div i { width: 100%; }
.offer-route i { display: block; margin-top: 12px; border-top: 1px dashed var(--orange); }

.offer-route-action {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 145px;
  margin: 0 !important;
  padding: 20px;
  color: var(--orange) !important;
  border-left: 1px dashed rgba(16, 43, 70, .16);
  font-size: 12px !important;
  font-weight: 800;
}

.offer-route-action b { margin: 0; font-size: 17px; }

.corridor-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.corridor-page-button {
  padding: 8px 14px;
  color: var(--teal);
  background: #fff;
  border: 1px solid rgba(16, 43, 70, .18);
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.corridor-page-button:hover:not(:disabled) {
  border-color: var(--teal);
}

.corridor-page-button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

@media (max-width: 760px) {
  .journey-request-card,
  .offer-route-card { min-height: 220px; height: 220px; }
  .offer-route-rail { grid-row: 1 / span 2; align-self: stretch; }
  .offer-route-card { grid-template-columns: 32px minmax(0, 1fr); }
  .offer-route-card { min-height: 220px; }
  .offer-route-provider { grid-column: 2; padding: 5px 12px 0; border-right: 0; line-height: 1.2; }
  .offer-route-provider span { font-size: 9px !important; }
  .offer-route-provider small { font-size: 9px; line-height: 1.2; }
  .offer-route { grid-column: 2; grid-template-columns: 1fr 1fr; gap: 3px 8px; padding: 5px 12px; }
  .offer-route b { font-size: 22px !important; }
  .offer-route .route-airport-name { font-size: 8px !important; line-height: 1.1; }
  .offer-route .route-via, .offer-route .route-flight { margin-bottom: 2px; font-size: 8px !important; }
  .offer-route time { margin-top: 2px; font-size: 10px; }
  .offer-route > span:last-child { text-align: right; }
  .offer-route > div { grid-column: 1 / -1; grid-row: 2; justify-items: start; text-align: left; }
  .offer-route > div .route-transit-name { margin-left: 0; text-align: left !important; }
  .offer-route i { margin-top: 6px; }
  .offer-route-action { display: flex !important; align-items: center; gap: 6px; grid-column: 2; min-width: 0; padding: 0 12px 4px; border-left: 0; font-size: 11px !important; }
  .offer-route-action b { display: inline; margin: 0; }
}

/* Wide travel banner: a calm, uncluttered introduction to CareFly. */

.hero-brand-lockup i {
  width: 1px;
  height: 24px;
  background: rgba(16, 43, 70, .35);
}

.hero-brand-lockup small {
  color: #496273;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-pill,
.hero-badges,
.hero-stats { display: none; }

@media (max-width: 760px) {
  .hero {

    background:
      linear-gradient(180deg, rgba(255, 253, 249, .98) 0%, rgba(255, 253, 249, .94) 72%, rgba(255, 253, 249, .6) 100%),
      url("../images/backgroundbanner.jpeg") 66% center / cover no-repeat;
  }

  .hero-brand-lockup { gap: 9px;  }
  .hero-brand-lockup small { font-size: 9px; }

}

/* Final aviation shell: midnight cockpit blue, sky-blue surfaces, runway-orange actions. */
body { background: #eaf5fa; }

.site-header {

  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 8px 20px rgba(7, 25, 43, .18);
}

.site-header .brand {

  border-color: rgba(255, 255, 255, .18);

}

.site-header .links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  visibility: visible;
  opacity: 1;
  transform: none;
}

.site-header .links > a:not(.btn) { color: rgba(255, 255, 255, .84); font-size: 12px; }
.site-header .links > a:not(.btn):hover { color: #fff; }
.site-header .header-cta { display: inline-flex; }


#corridors,
.guide-section,
.faq-section { background: #e4f2f8; }

.matcher-section { background: linear-gradient(135deg, #d7ebf4 0%, #f5fafc 54%, #e8f3f7 100%); }
.trust-section,
.companions-section,
#contact { background: #f5fafc; }
.site { background: #102b46; }

@media (max-width: 900px) {
  .site-header .header-cta { display: none; }
  .site-header .mobile-menu-toggle { display: block; margin-left: auto; }
  .site-header .links {
    display: flex;
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 14px;
    left: 14px;
    z-index: 1900;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 20px 46px rgba(7, 25, 43, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
  }
  .site-header .links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-header .links > a:not(.btn) { color: var(--ink); padding: 11px; }
  .site-header .mobile-nav-cta { display: inline-flex !important; justify-content: center; margin-top: 6px; }
}

@media (min-width: 901px) {
  .site-header { background: #102b46 !important; }
  .site-header .links { display: flex !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
  .site-header .links > a:not(.btn) { display: inline-flex !important; color: rgba(255, 255, 255, .84) !important; }
  .site-header .header-cta { display: inline-flex !important; }
  .site-header .mobile-menu-toggle { display: none !important; }
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;

  font-family: var(--font-display);

  font-weight: 800;
}

.hero-brand-lockup strong span { color: #f06a9f; }

.hero-brand-heart {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--orange);
  font-size: 16px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 42px 20px 50px;
  }

  .hero-content,
  .hero-care-story {
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .hero-care-story {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;

  }
}

/* Final brand visibility pass for the photo hero and small screens. */
.site-header {
  position: sticky;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
}

.site-header .brand {
  position: relative;
  z-index: 2;
  min-height: 42px;
  padding: 4px 9px 4px 5px;
  border: 1px solid rgba(16, 43, 70, 0.12);
  border-radius: 14px;
  color: #102b46;
  background: #fff;
  box-shadow: 0 5px 16px rgba(16, 43, 70, 0.08);
}

.site-header .brand .mark {
  width: 30px;
  height: 30px;
}

.hero-brand-lockup {
  position: relative;
  z-index: 2;
  width: max-content;

}

@media (max-width: 760px) {
  .bar {
    min-height: 64px;
    gap: 12px;
  }

  .site-header .brand {
    min-height: 38px;
    padding-right: 7px;
    font-size: 20px;
  }

  .site-header .brand .mark {
    width: 27px;
    height: 27px;
  }

  .hero-content {
    padding: 20px 18px 22px;
    border-radius: 20px;
  }

  .hero-brand-lockup {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .hero-care-story {
    margin-top: 18px;
    padding: 18px 18px 20px;
    border-radius: 18px;
  }
}

/* Single authoritative hero composition. Keep this block last. */

.hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, 0.78fr);
  align-items: center;
  gap: 56px;

}

.hero-content {

  color: #fff;

}

.hero-care-story {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(100%, 390px);
  margin: 0 auto;
  padding: 26px 26px 28px;
  color: #fff;
  background: linear-gradient(145deg, rgba(16, 43, 70, 0.96), rgba(15, 94, 88, 0.92));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26);
}

.hero-visual {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

/* Authoritative wide-banner composition. */
.hero {
  display: block;
  min-height: 360px;
  padding: 0;
  background:
    linear-gradient(90deg, rgba(255, 252, 247, .98) 0%, rgba(255, 252, 247, .88) 33%, rgba(255, 252, 247, .28) 62%, rgba(255, 252, 247, .04) 100%),
    url("../images/backgroundbanner.jpeg") 118% center / auto 150% no-repeat;
}

.hero::before {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 0;
  background: linear-gradient(90deg, #fffdf9 0%, #fffdf9 62%, rgba(255, 253, 249, .98) 72%, rgba(255, 253, 249, .38) 88%, rgba(255, 253, 249, 0) 100%);
  filter: none;
  animation: none;
}

.hero::after { display: none; }

.hero-grid {
  display: block;
  position: relative;
  z-index: 2;
  width: min(100% - 72px, var(--container));
  margin-inline: auto;
  padding: 72px 0;
}

.hero-content {
  width: min(100%, 620px);
  max-width: 620px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-content,
.hero-content .title,
.hero-content .lede,
.hero-content .eyebrow,
.hero-content .hero-pill,
.hero-content .hero-badge,
.hero-content .stat,
.hero-content .stat span,
.hero-content .stat b { color: #102b46 !important; }

.hero-content .title {
  color: #102b46 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}

.hero-content .title .em {
  color: #d43b7e !important;
}

.hero-content .lede {
  color: #29445c !important;
}

.hero-content .hero-message-heading {
  display: block;
  margin-top: 18px;
  color: #0f5e58 !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-content .hero-message-copy {
  margin-top: 4px;
  color: #29445c !important;
}

.hero-content .hero-message-note {
  margin-top: 5px;
  color: #a52d68 !important;
  font-weight: 700;
}

.hero-content .stat span {
  color: #496273 !important;
}

.hero-brand-lockup {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #102b46;
  background: transparent;
  box-shadow: none;
  font-size: 31px;
}

.hero-content .eyebrow {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  color: #496273 !important;
  font-size: 12px;
}

.hero-content .title {
  max-width: 600px;
  margin: 14px 0 12px;
  font-size: clamp(38px, 4vw, 56px);
}

.hero .eyebrow { padding: 0; border: 0; background: transparent; }
.hero-pill,
.hero-badges,
.hero-stats,
.hero-visual { display: none; }
.hero-cta { margin-top: 20px; }

@media (max-width: 900px) {
  .hero-grid {
    width: min(calc(100% - 40px), var(--container));
    padding: 54px 0 46px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero-message-heading,
  .hero-message-copy,
  .hero-message-note {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .hero {
    background: #fffdf9 !important;
    background-position: center center, 100% center;
    background-size: auto, auto 120%;
  }
  .hero::after {
    display: block;
    inset: 0;
    width: auto;
    height: auto;
    z-index: 0;
    border-radius: 0;
    background: url("../images/backgroundbanner.jpeg") center center / cover no-repeat;
    opacity: .08;
    filter: saturate(.75);
    animation: none;
  }
  .hero::before {
    display: none;
  }
  .hero-grid { width: min(100% - 40px, var(--container)); padding: 54px 0 46px; }
  .hero-content {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .hero-content > * {
    max-width: 100%;
  }
  .hero-brand-lockup { display: none; }
  .hero-content .eyebrow { width: auto; margin-top: 0; font-size: 11px; }
  .hero-content .title { font-size: 38px; }
  .hero-content .hero-message-heading,
  .hero-content .hero-message-copy,
  .hero-content .hero-message-note {
    text-shadow: 0 0 4px rgba(255, 253, 249, .98);
  }
  .hero-content .hero-message-heading {
    color: #0b4f4a !important;
    padding-inline: 8px;
    text-align: left;
    font-size: 14px;
  }
  .hero-content .hero-message-copy {
    color: #1d3850 !important;
    padding-inline: 8px;
    text-align: left;
    font-size: 14px;
    line-height: 1.55;
  }
  .hero-content .hero-message-note {
    color: #9f265f !important;
    text-align: left;
    font-size: 14px;
  }
  .hero-cta { display: grid; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .mobile-sticky-cta { display: none !important; }
  .floating-contact { right: 16px; bottom: 16px; }
}

.app-service-note {
  margin: 0;
  padding: 13px 22px;
  color: #dceef5;
  background: #143956;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.route-via {
  display: block;
  margin-top: 5px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
}

.what-we-offer-section { background: #f5fafc; }
.what-we-offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.what-we-offer-card { min-width: 0; padding: 22px; border: 1px solid #d7e5ec; border-radius: 8px; background: #fff; }
.what-we-offer-icon { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 15px; border-radius: 8px; color: #fff; background: var(--teal); font-weight: 800; }
.what-we-offer-icon.teal { background: #287d91; }
.what-we-offer-icon.navy { background: var(--navy); }
.what-we-offer-icon.orange { background: var(--orange); }
.what-we-offer-card h3 { margin: 0 0 11px; color: var(--ink); font-size: 16px; line-height: 1.25; }
.what-we-offer-card ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.what-we-offer-card li { position: relative; padding-left: 15px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.what-we-offer-card li::before { position: absolute; left: 0; color: var(--teal); content: "•"; font-weight: 800; }
.what-we-offer-card--excluded { border-color: rgba(236, 83, 27, .3); background: #fff9f4; }
.what-we-offer-card--excluded li::before { color: var(--orange); }

@media (max-width: 900px) { .what-we-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .app-service-note { padding: 12px 18px; font-size: 11px; }
  .what-we-offer-grid { grid-template-columns: 1fr; }
  .journey-request-card { grid-template-columns: 32px minmax(0, 1fr); min-height: 220px; height: 220px; }
  .journey-request-route { grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
  .journey-request-flight { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .journey-request-flight .route-transit-name { margin-left: 0; text-align: left !important; }
  .journey-request-route > div:last-child { text-align: right; }
  .journey-request-meta { grid-column: 2; grid-template-columns: 1fr auto; padding: 0 18px 18px; }
  .offer-route-card { grid-template-columns: 32px minmax(0, 1fr); }
  .offer-route-card { min-height: 220px; height: 220px; }
  .offer-route-provider { grid-column: 2; padding: 5px 12px 0; border-right: 0; line-height: 1.2; }
  .offer-route-provider span { font-size: 9px !important; }
  .offer-route-provider small { font-size: 9px; line-height: 1.2; }
  .offer-route { grid-column: 2; grid-template-columns: 1fr 1fr; gap: 3px 8px; padding: 5px 12px; }
  .offer-route b { font-size: 22px !important; }
  .offer-route .route-airport-name { font-size: 8px !important; line-height: 1.1; }
  .offer-route .route-via, .offer-route .route-flight { margin-bottom: 2px; font-size: 8px !important; }
  .offer-route time { margin-top: 2px; font-size: 10px; }
  .offer-route > div { grid-column: 1 / -1; grid-row: 2; justify-items: start; text-align: left; }
  .offer-route > div .route-transit-name { margin-left: 0; text-align: left !important; }
  .offer-route > span:last-child { text-align: right; }
  .offer-route-action { display: flex !important; align-items: center; gap: 6px; grid-column: 2; padding: 0 12px 4px; border-left: 0; font-size: 11px !important; }
  .offer-route-action b { margin: 0; }
}
