/* ============================================
   TripsFYI — Design tokens
   ============================================ */
:root {
  --blue: #2E9CD6;
  --blue-dark: #1D5FA0;
  --blue-light: #4FADE0;
  --green: #8CC63F;
  --green-dark: #6EA82D;
  --green-light: #A4D65E;
  --orange: #F0932B;
  --orange-dark: #D9720F;
  --orange-light: #F5A94D;
  --navy: #012257;
  --navy-soft: #0A3A7A;
  --text-body: #46586B;
  --text-muted: #7C8CA0;
  --surface: #FFFFFF;
  --surface-alt: #F3F6F9;
  --border: #DCE3EA;
  --overlay-navy: rgba(1, 34, 87, 0.55);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 20px 45px rgba(1, 34, 87, 0.18);
  --shadow-btn: 0 8px 18px rgba(1, 34, 87, 0.15);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
}

  .logo img {
    height: 64px;
    width: auto;
    display: block;
  }

.login-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  box-shadow: 0 2px 6px rgba(1, 34, 87, 0.08);
}

  .login-link img {
    width: 34px;
    height: 34px;
  }

  .login-link:hover {
    background: var(--surface-alt);
    border-color: var(--blue-light);
  }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
}

  .lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
  }

    .lang-switcher a:hover {
      color: var(--blue);
    }

  .lang-switcher span {
    color: var(--border);
  }
/* ============================================
   Hero background — real photos
   ============================================ */
.hero {
  position: relative;
  min-height: 640px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 24px;
  overflow: hidden;
}

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,30,55,0.10) 0%, rgba(10,30,55,0.25) 100%);
    pointer-events: none;
  }

.hero-main {
  background-image: url('../images/hero-main.jpg');
}

.hero-login-1 {
  background-image: url('../images/hero-login-1.jpg');
}

.hero-login-2 {
  background-image: url('../images/hero-login-2.jpg');
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================
   Landing page — hero copy + split account cards
   ============================================ */
.hero-copy {
  text-align: center;
  margin-bottom: 40px;
}

  .hero-copy h1 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy);
    font-size: clamp(28px, 5vw, 48px);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
  }

  .hero-copy p {
    color: var(--navy);
    font-weight: 500;
    font-size: clamp(15px, 2vw, 24px);
    margin: 0;
  }

.split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1250px;
  margin: 0 auto;
}

.split-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.split-eyebrow {
  color: #F0F6FB;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  text-align: center;
}

.split-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}

  .split-divider .or-bubble {
    width: 81px;
    height: 81px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-btn);
  }


.account-card {
  width: 500px;
  height: 340px;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-card);
  border: 3px solid #FFFFFF;
}

  .account-card.tall {
    height: 400px;
  }

.account-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  width: 100%;
  padding-top: 20px;
}
.account-card .pill-btn {
  flex-shrink: 0;
  margin-top: 0;
}
  .account-card.blue {
    background: linear-gradient(160deg, var(--blue-light), var(--blue-dark));
  }

  .account-card.green {
    background: linear-gradient(160deg, var(--green-light), var(--green-dark));
  }

  .account-card.orange {
    background: linear-gradient(160deg, var(--orange-light), var(--orange-dark));
  }

  .account-card .icon-badge {
    width: 88px;
    height: 88px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
  }

    .account-card .icon-badge img {
      width: 44px;
      height: 44px;
    }

  .account-card h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.25;
  }

  .account-card .underline {
    width: 63px;
    height: 5px;
    background: rgba(255,255,255,0.85);
    margin: 0 auto 18px;
    border-radius: 2px;
  }

  .account-card .cta-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .account-card .card-subtitle {
    font-size: 15px;
    font-weight: 400;
    margin: 0 0 18px;
  }

    .account-card .card-subtitle strong {
      font-weight: 800;
    }

  .account-card .promo-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--navy);
    background: var(--surface);
    margin-bottom: 8px;
    text-align: left;
  }

    .account-card .promo-input::placeholder {
      color: #A9B6C4;
    }

    .account-card .promo-input:focus {
      outline: 2px solid var(--blue-light);
      outline-offset: 1px;
      border-color: var(--blue);
    }

    .account-card .promo-input.invalid {
      border-color: #B3261E;
      background: #FDECEC;
    }

.promo-error {
  color: #FF5252;
  background: rgba(255,255,255,0.92);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  text-align: left;
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0 0 14px;
}

.pill-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 12px 36px;
  cursor: pointer;
}

  .pill-btn:hover {
    background: rgba(255,255,255,0.15);
  }

  .pill-btn:disabled {
    opacity: 0.6;
    cursor: default;
  }

.account-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  max-width: 280px;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 14px;
}

  .account-note img {
    width: 83px;
    height: 83px;
    flex-shrink: 0;
  }

/* ============================================
   Feature strip (landing page footer band)
   ============================================ */
.feature-strip {
  background: var(--surface);
  border-radius: 200px 200px 0 0 / 24px 24px 0 0;
  padding: 32px 24px;
  position: relative;
  z-index: 3;
  margin-top: -24px;
  box-shadow: 0 -8px 24px rgba(1, 34, 87, 0.12);
}

.feature-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.35fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 24px;
  border-right: 1px solid var(--border);
}

  .feature-item:last-child {
    padding-right: 0;
    border-right: none;
  }

  .feature-item img {
    width: 81px;
    height: 81px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .feature-item h3 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    margin: 0 0 4px;
  }

  .feature-item p {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    color: var(--navy);
    opacity: 0.75;
  }

    .feature-item p a:hover {
      text-decoration: underline;
      color: var(--blue);
    }

/* ============================================
   Site footer — single centered row of links/
   contact/copyright, with social icons on their
   own centered row beneath, separated by a top
   border from whatever content sits above it.
   ============================================ */
.site-footer {
  background: var(--surface);
  padding: 15px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border-top: none;
}

  .site-footer .footer-divider {
    width: 100%;
    height: 2px;
    background: var(--navy);
    margin-bottom: 14px;
  }

  .site-footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

    .site-footer .footer-row a {
      text-decoration: underline;
    }

      .site-footer .footer-row a:hover {
        color: var(--blue);
      }

  .site-footer .footer-sep {
    color: var(--text-muted);
  }

  .site-footer .social {
    display: flex;
    gap: 12px;
  }

    .site-footer .social a {
      display: flex;
    }

    .site-footer .social img {
      width: 26px;
      height: 26px;
    }

/* ============================================
   Auth layout (signup / login / payment)
   ============================================ */
.auth-hero {
  min-height: 720px;
  align-items: stretch;
  padding: 0;
}

  .auth-hero .hero-inner {
    max-width: 1100px;
    padding: 60px 24px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
  }

.promo-panel {
  flex: 1;
  max-width: 340px;
  background: var(--overlay-navy);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #FFFFFF;
  backdrop-filter: blur(2px);
  border: 3px solid #FFFFFF;
}

  .promo-panel .eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #BFE3F5;
    margin-bottom: 10px;
  }

  .promo-panel h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 12px;
  }

    .promo-panel h2 .accent {
      color: #7FD4EE;
    }

  .promo-panel .rule {
    width: 36px;
    height: 3px;
    background: var(--green);
    margin-bottom: 14px;
    border-radius: 2px;
  }

  .promo-panel p {
    font-size: 14px;
    color: #E4EFF6;
    margin: 0;
    line-height: 1.6;
  }

.form-card {
  flex: 1.1;
  max-width: 480px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-card);
}

  .form-card .eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--blue);
    margin-bottom: 8px;
  }

  .form-card h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
  }

  .form-card .sub {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 22px;
  }

.field-row {
  display: flex;
  gap: 16px;
}

.field {
  flex: 1;
  margin-bottom: 18px;
}

  .field label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: 6px;
    text-transform: uppercase;
  }

  .field input, .field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--navy);
    background: var(--surface);
  }

    .field input::placeholder {
      color: #A9B6C4;
    }

    .field input:focus, .field select:focus {
      outline: 2px solid var(--blue-light);
      outline-offset: 1px;
      border-color: var(--blue);
    }

    .field input.invalid,
    .field select.invalid,
    .field input:invalid:not(:placeholder-shown),
    .field select:invalid:not(:placeholder-shown) {
      border-color: #B3261E;
      background: #FDECEC;
    }

      .field input.invalid:focus,
      .field select.invalid:focus {
        outline-color: #B3261E;
      }

.validation-message {
  display: block;
  color: #B3261E;
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
}

.code-field {
  display: flex;
  gap: 10px;
}

  .code-field input {
    flex: 1;
  }

.field-hint {
  text-transform: none;
  font-weight: 500;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: normal;
}

.password-field {
  position: relative;
}

  .password-field input {
    padding-right: 44px;
  }

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

  .password-toggle:hover {
    color: var(--navy);
  }

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}

.apply-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: #FFFFFF;
  background: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  cursor: pointer;
  white-space: nowrap;
}

  .apply-btn:hover {
    background: var(--navy-soft);
  }

.field-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 20px;
}

  .field-check input {
    width: 16px;
    height: 16px;
  }

.form-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
}

  .form-meta-row a {
    color: var(--blue);
    font-weight: 500;
  }

    .form-meta-row a:hover {
      text-decoration: underline;
    }

.btn-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  background: linear-gradient(160deg, var(--green-light), var(--green));
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px 20px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
}

  .btn-cta:hover {
    filter: brightness(1.03);
  }

  .btn-cta i {
    font-size: 18px;
  }

  .btn-cta.blue {
    color: #FFFFFF;
    background: linear-gradient(160deg, var(--blue-light), var(--blue-dark));
  }

.standalone-card {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

  .standalone-card .form-icon-badge {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2px solid var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--blue);
  }

  .standalone-card h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px;
  }

  .standalone-card .sub {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 24px;
    line-height: 1.6;
  }

  .standalone-card .field {
    text-align: left;
  }

  .standalone-card .icon-badge-success {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--green-light), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #FFFFFF;
  }

.info-box {
  text-align: left;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 0 0 20px;
}

  .info-box p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--navy);
  }

    .info-box p:last-child {
      margin-bottom: 0;
    }

  .info-box strong {
    font-weight: 700;
  }

.form-fine {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

  .form-fine a {
    color: var(--blue);
  }

/* ============================================
   Payment page
   ============================================ */
.payment-hero .hero-inner {
  align-items: flex-start;
  padding-top: 64px;
}

.payment-wrap {
  display: flex;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

.payment-form {
  flex: 1.4;
  padding: 40px;
}

  .payment-form h1 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }

.secure-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

  .card-brands i {
    font-size: 20px;
    color: var(--text-muted);
  }

.field.card-number-field {
  position: relative;
}

.order-summary {
  flex: 1;
  background: var(--surface-alt);
  padding: 40px 32px;
  border-left: 1px solid var(--border);
}

  .order-summary .eyebrow {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--blue);
    margin-bottom: 8px;
  }

  .order-summary h2 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 24px;
  }

.line-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-body);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.line-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
}

/* ============================================
   Modal (Privacy Policy / Terms of Use)
   ============================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(1, 34, 87, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

  .modal-overlay.is-open {
    display: flex;
  }

/* .modal-box no longer scrolls itself — overflow: hidden here guarantees
   its rounded corners always clip cleanly, no matter how the browser
   renders the scrollbar. The actual scrolling happens inside
   .modal-box-inner instead (see markup: content wrapped in a new
   <div class="modal-box-inner"> inside .modal-box). */
.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow-card);
  position: relative;
}

.modal-box-inner {
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
}

  .modal-box-inner::-webkit-scrollbar {
    width: 8px;
  }

  .modal-box-inner::-webkit-scrollbar-track {
    background: transparent;
    margin: 16px 0;
    border-radius: 8px;
  }

  .modal-box-inner::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 8px;
  }

    .modal-box-inner::-webkit-scrollbar-thumb:hover {
      background: var(--text-muted);
    }

/* Firefox */
.modal-box-inner {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

  .modal-box-inner h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    color: var(--navy);
    margin: 0 0 12px;
    padding-right: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--blue);
  }

  .modal-box-inner h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--navy);
    margin: 28px 0 10px;
  }

  .modal-box-inner p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-body);
    margin: 0 0 14px;
  }

  .modal-box-inner ul {
    margin: 0 0 14px;
    padding-left: 22px;
  }

  .modal-box-inner li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 6px;
  }

  .modal-box-inner em {
    font-style: italic;
    color: var(--text-muted);
  }

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  border: none;
  background: var(--surface-alt);
  border-radius: 50%;
  color: var(--navy);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

  .modal-close:hover {
    background: var(--border);
  }

@media (max-width: 620px) {
  .account-card.tall {
    height: auto;
  }

  .modal-box {
    max-height: 85vh;
  }

  .modal-box-inner {
    max-height: 85vh;
    padding: 24px 20px;
  }
}

@media (max-width: 860px) {
  .logo img {
    height: 56px;
  }

  .feature-item img {
    width: 64px;
    height: 64px;
  }

  .account-note img {
    width: 66px;
    height: 66px;
  }

  .account-card {
    width: 380px;
    height: 260px;
    padding: 30px 24px;
  }

    .account-card .icon-badge {
      width: 66px;
      height: 66px;
      margin-bottom: 18px;
    }

      .account-card .icon-badge img {
        width: 33px;
        height: 33px;
      }

    .account-card .underline {
      width: 48px;
      height: 4px;
      margin-bottom: 14px;
    }

    .account-card .cta-label {
      font-size: 16px;
    }

  .split-eyebrow {
    font-size: 17px;
    margin-bottom: 14px;
  }

  .split-divider .or-bubble {
    width: 62px;
    height: 62px;
    font-size: 19px;
  }

  .auth-hero .hero-inner {
    flex-direction: column;
    padding: 40px 20px;
  }

  .promo-panel, .form-card, .payment-form {
    max-width: 100%;
  }

  .payment-wrap {
    flex-direction: column;
  }

  .order-summary {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .feature-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item {
    border-right: none;
    padding-right: 0;
  }
}


/* ============================================
   Responsive — mobile
   ============================================ */
@media (max-width: 620px) {
  .site-header {
    padding: 8px 18px;
  }

  .logo img {
    height: 48px;
  }

  .feature-item img {
    width: 50px;
    height: 50px;
  }

  .account-note {
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
  }

    .account-note img {
      width: 32px;
      height: 32px;
    }

  .login-link span {
    display: none;
  }

  .login-link {
    padding: 8px 10px;
  }

  .hero {
    min-height: auto;
    padding: 16px 16px 8px;
  }

  .hero-copy {
    margin-bottom: 14px;
  }

    .hero-copy h1 {
      font-size: 22px;
      margin-bottom: 4px;
    }

    .hero-copy p {
      font-size: 13px;
    }

  .split {
    flex-direction: column;
    gap: 6px;
  }

  .split-divider {
    padding-top: 0;
  }

  .account-card {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 14px 18px;
  }

    .account-card .icon-badge {
      width: 40px;
      height: 40px;
      margin-bottom: 8px;
    }

      .account-card .icon-badge img {
        width: 20px;
        height: 20px;
      }

    .account-card .underline {
      width: 36px;
      height: 3px;
      margin-bottom: 8px;
    }

    .account-card h2 {
      font-size: 22px;
      margin-bottom: 6px;
    }

    .account-card .card-subtitle {
      font-size: 13px;
      margin-bottom: 10px;
    }

    .account-card .cta-label {
      font-size: 13px;
    }

    .account-card .pill-btn {
      padding: 9px 26px;
      font-size: 12px;
    }

  .split-eyebrow {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .split-divider .or-bubble {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .form-card, .payment-form, .order-summary {
    padding: 26px 20px;
  }

  .field-row {
    flex-direction: column;
    gap: 0;
  }

  .feature-strip {
    padding: 28px 20px;
    border-radius: 100px 100px 0 0 / 14px 14px 0 0;
    margin-top: -14px;
  }

  .feature-strip-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
  }

  .promo-panel {
    padding: 16px 18px;
    max-width: 100%;
  }

    .promo-panel .eyebrow {
      font-size: 11px;
      margin-bottom: 6px;
    }

    .promo-panel h2 {
      font-size: 20px;
      margin-bottom: 8px;
    }

    .promo-panel p {
      font-size: 13px;
    }

    .promo-panel .rule {
      display: none;
    }

  .auth-hero .hero-inner {
    padding: 16px 16px 20px;
    gap: 12px;
    align-items: stretch;
  }

  .split-col {
    width: 100%;
    padding: 0;
  }

  .account-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ============================================
   Testimonials carousel — reusable, opt-in per
   page (not part of the shared footer). Add
   <Testimonials /> at the bottom of any page's
   markup and it'll sit just above the footer.
   ============================================ */
.testimonials-strip {
  background: #FFFFFF;
  padding: 40px 24px;
}

.testimonials-viewport {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #FFFFFF;
}

  .testimonials-track::-webkit-scrollbar {
    display: none;
  }

.testimonial-card {
  flex: 0 0 clamp(220px, 23%, 280px);
  scroll-snap-align: start;
}

  .testimonial-card img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: none;
  }

.testimonial-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--navy);
}

  .testimonial-nav:hover {
    background: var(--surface-alt);
  }

@media (max-width: 620px) {
  .testimonial-card {
    flex-basis: 100%;
  }
}

/* Language dropdown — replaces old .lang-switcher pill-list styles */

.lang-switcher-dropdown {
  position: relative;
}

.lang-switcher-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  color: inherit;
}

  .lang-switcher-trigger:hover {
    border-color: rgba(0, 0, 0, 0.3);
  }

  .lang-switcher-trigger i {
    font-size: 14px;
  }

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 50;
}

.lang-switcher-item {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  text-decoration: none;
  color: inherit;
}

  .lang-switcher-item:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .lang-switcher-item.is-current {
    background: rgba(0, 0, 0, 0.06);
    font-weight: 500;
  }

/* Responsive: full name + text label by default, collapse to bucket
   code + icon-only login under ~480px so the header doesn't crowd on
   phones. The dropdown menu itself is unaffected — it's a floating
   overlay, not constrained by the header row's width, so full names
   keep showing there regardless of screen size. */
.lang-name-short {
  display: none;
}

@media (max-width: 480px) {
  .lang-name-full {
    display: none;
  }

  .lang-name-short {
    display: inline;
  }

  .login-link-text {
    display: none;
  }

  .login-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
}
