/* ============================================================================
   Insider Travel Club mirror — stylesheet
   Design tokens are exact, taken from the decoded it/live/configuration.json.
   Visual craft (layout, depth, motion) is elevated to match the live app.
   ========================================================================== */

:root {
  /* Brand palette (exact) */
  --gold: #a7792c;
  --gold-dk: #8d6725;
  --gold-lt: #c79a4f;
  --teal: #49b7d8;
  --teal-dk: #3aa3c4;
  --teal-inactive: #96d5e9;
  --slate: #313741;
  --ink: #333333;
  --muted: #585e65;
  --desc: #7f7f7f;
  --cream: #f4e9d7;
  --cream-2: #efdfc3;
  --surface: #ffffff;
  --page: #f4f4f4;
  --error: #e53935;

  /* Geometry + depth */
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 18px 48px rgba(19, 28, 38, 0.18);
  --shadow-nav: 0 1px 0 rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 0, 0, 0.05);
  --shadow-pop: 0 22px 60px rgba(19, 28, 38, 0.28);
  --ring: 0 0 0 3px rgba(73, 183, 216, 0.28);

  --font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --nav-h: 76px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: var(--teal);
  text-decoration: none;
}
button {
  font-family: var(--font);
  cursor: pointer;
}
img {
  display: block;
}

/* ---- Shared primitives ---- */
.btn-primary {
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 16px;
  width: 100%;
  letter-spacing: 0.01em;
  transition:
    background 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
  box-shadow: 0 8px 20px rgba(73, 183, 216, 0.3);
}
.btn-primary:hover:not(:disabled) {
  background: var(--teal-dk);
  box-shadow: 0 10px 26px rgba(73, 183, 216, 0.4);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}
.btn-primary:disabled {
  background: var(--teal-inactive);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-primary.is-loading {
  color: transparent;
  position: relative;
}
.btn-primary.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: #fff;
  border-radius: 50%;
  animation: itc-spin 0.7s linear infinite;
}
@keyframes itc-spin {
  to {
    transform: rotate(360deg);
  }
}

.error-text {
  color: var(--error);
  font-size: 14px;
  min-height: 18px;
  margin: 10px 0 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================================
   LOGIN  (index.html) — full-bleed fjord + centered white card
   ========================================================================== */
.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 16px 64px;
  background: url("../images/login.jpeg") center/cover no-repeat fixed;
  position: relative;
}
.login-scrim {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 26, 36, 0.18) 0%,
    rgba(15, 26, 36, 0.32) 100%
  );
  pointer-events: none;
}
.login-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  width: min(94vw, 432px);
  padding: 40px 36px 34px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: center;
  animation: itc-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes itc-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}
.login-logo {
  width: 232px;
  max-width: 78%;
  height: auto;
  margin: 0 auto 22px;
}
.login-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--ink);
}
.login-sub {
  color: var(--muted);
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.45;
}
.field {
  position: relative;
  margin: 0 0 14px;
}
#login-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e1e5e9;
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}
#login-form input::placeholder {
  color: #aeb4ba;
}
#login-form input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: var(--ring);
}
.pw-wrap input {
  padding-right: 46px;
}
.pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.15s ease;
}
.pw-toggle:hover {
  color: var(--teal);
}
#login-form .btn-primary {
  margin-top: 6px;
}
.login-forgot {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
}
.login-forgot:hover {
  color: var(--teal-dk);
  text-decoration: underline;
}
.login-disclaimer {
  position: relative;
  z-index: 1;
  margin: 22px auto 0;
  max-width: 420px;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ============================================================================
   DASHBOARD  (dashboard.html)
   ========================================================================== */
.dash-body {
  background: var(--page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Top nav (white, sticky) ---- */
.dash-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: var(--shadow-nav);
}
.dash-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.dash-logo {
  height: 42px;
  width: auto;
}
.dash-links {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}
.dash-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}
.dash-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--teal);
  transition: width 0.2s ease;
}
.dash-links a:hover {
  color: var(--teal);
}
.dash-links a:hover::after {
  width: 100%;
}
.dash-account {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.dash-divider {
  width: 1px;
  height: 34px;
  background: #e6e8ea;
}
.dash-savings {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.dash-savings strong {
  color: var(--gold);
  font-size: 17px;
  font-weight: 700;
}
.dash-savings small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.dash-coins {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--slate);
}
.dash-coins small {
  font-size: 12px;
  color: var(--muted);
}

/* ---- Avatar + profile dropdown ---- */
.dash-avatar-wrap {
  position: relative;
}
.dash-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--cream);
  color: var(--gold-dk);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.dash-avatar:hover {
  box-shadow: 0 0 0 4px rgba(167, 121, 44, 0.16);
}
.profile-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: -8px;
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s;
}
.profile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.profile-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 22px;
  width: 14px;
  height: 14px;
  background: var(--gold-lt);
  transform: rotate(45deg);
}
.profile-head {
  position: relative;
  padding: 18px 20px;
  background: linear-gradient(
    120deg,
    #c79a4f 0%,
    var(--gold) 55%,
    var(--gold-dk) 100%
  );
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}
.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gold-dk);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.profile-id {
  min-width: 0;
}
.profile-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-tier {
  font-size: 12.5px;
  opacity: 0.92;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.profile-stars {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}
.profile-stars .star {
  fill: rgba(255, 255, 255, 0);
}
.profile-stars .star path {
  fill: var(--gold-dk);
}
.profile-stars .star-lg path {
  fill: #946a1f;
}
.profile-stars .star-out path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.3;
}
.profile-stars .star-sm path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 1.4;
}
.profile-items {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.profile-items a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.profile-items a svg {
  color: var(--slate);
}
.profile-items a:hover {
  background: #f6f7f8;
}
.profile-foot {
  border-top: 1px solid #eef0f1;
  padding: 8px 0 16px;
}
.profile-logout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.profile-logout svg {
  color: var(--slate);
}
.profile-logout:hover {
  background: #f6f7f8;
}
.profile-tc {
  display: block;
  padding: 8px 22px 0;
  color: var(--teal);
  font-size: 13.5px;
  font-weight: 600;
}
.profile-tc:hover {
  text-decoration: underline;
}

/* ---- Hero ---- */
.dash-hero {
  position: relative;
  min-height: 360px;
  background: url("../images/login.jpeg") center 38% / cover no-repeat;
  display: flex;
  align-items: center;
}
.dash-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 26, 36, 0.12) 0%,
    rgba(15, 26, 36, 0.05) 45%,
    rgba(15, 26, 36, 0) 100%
  );
}
.dash-hero-text {
  position: relative;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 56px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero-line1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}
.hero-line2 {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.98;
  margin-top: 2px;
}
.hero-line3 {
  font-size: 18px;
  font-weight: 400;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ---- Booking-search card (overlaps hero) ---- */
.booking-wrap {
  max-width: var(--maxw);
  margin: -54px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.booking-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 8px 8px 26px;
}
.module-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 8px 18px;
  border-bottom: 1px solid #eef0f1;
}
.module-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 92px;
  padding: 12px 10px 10px;
  border: 0;
  background: transparent;
  color: var(--slate);
  font-size: 13px;
  font-weight: 500;
  border-radius: 12px;
  position: relative;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.module-tab svg {
  color: var(--slate);
  transition: color 0.15s ease;
}
.module-tab:hover {
  background: #f6fbfd;
  color: var(--teal);
}
.module-tab:hover svg {
  color: var(--teal);
}
.module-tab.active {
  color: var(--teal);
}
.module-tab.active svg {
  color: var(--teal);
}
.module-tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -19px;
  width: 60%;
  height: 3px;
  border-radius: 3px;
  background: var(--teal);
}
.booking-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.3fr;
  gap: 14px;
  padding: 24px 22px 8px;
}
.booking-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e1e5e9;
  border-radius: 10px;
  padding: 0 14px;
  transition: border-color 0.15s ease;
}
.booking-field:focus-within {
  border-color: var(--teal);
}
.booking-field-ico {
  color: var(--gold);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.booking-field input {
  border: 0;
  outline: none;
  width: 100%;
  padding: 14px 0;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--ink);
  background: transparent;
}
.booking-field input::placeholder {
  color: #9aa1a8;
}
.booking-actions {
  display: flex;
  justify-content: center;
  padding: 16px 22px 0;
}
.booking-search {
  width: auto;
  min-width: 200px;
  border-radius: var(--radius-pill);
  padding: 13px 40px;
}
.booking-note {
  text-align: center;
  color: var(--gold-dk);
}

/* ---- Featured row ---- */
.featured {
  max-width: var(--maxw);
  margin: 46px auto 0;
  padding: 0 24px;
}
.featured-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 26px;
}
.featured-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feat-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(19, 28, 38, 0.1);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(19, 28, 38, 0.18);
}
.feat-img {
  height: 168px;
  background-size: cover;
  background-position: center;
}
.feat-body {
  padding: 14px 16px 18px;
}
.feat-loc {
  font-size: 12px;
  color: var(--desc);
  letter-spacing: 0.02em;
}
.feat-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 10px;
}
.feat-meta {
  font-size: 13.5px;
  color: var(--muted);
}
.feat-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
}

/* ---- Footer ---- */
.dash-footer {
  margin-top: 64px;
  background: var(--slate);
  color: #fff;
}
.dash-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand img {
  height: 46px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-tag {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: var(--gold-lt);
}
.footer-contact {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-lt);
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: #fff;
}
.dash-footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .dash-links {
    display: none;
  }
  .booking-row {
    grid-template-columns: 1fr;
  }
  .featured-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-line2 {
    font-size: 44px;
  }
}
@media (max-width: 620px) {
  .dash-savings small,
  .dash-coins small {
    display: none;
  }
  .featured-row {
    grid-template-columns: 1fr;
  }
  .dash-hero-text {
    padding: 0 24px 56px;
  }
}

/* ============================================================================
   MARKETING LANDING  (index.html) — public, unauthenticated
   Mirrors insidertravelclub.com: white toolbar + fjord hero + sections + footer.
   Brand DNA (gold/teal/slate + Sora) carried over from the app.
   ========================================================================== */
.mkt-body {
  background: var(--surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---- Top nav (white, sticky, with teal Join Now pill) ---- */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: var(--shadow-nav);
}
.mkt-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.mkt-logo {
  height: 46px;
  width: auto;
  flex: 0 0 auto;
}
.mkt-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}
.mkt-links a {
  color: var(--slate);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  position: relative;
  transition: color 0.15s ease;
}
.mkt-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0;
  background: var(--teal);
  transition: width 0.2s ease;
}
.mkt-links a:hover {
  color: var(--teal);
}
.mkt-links a:hover::after {
  width: 100%;
}
.mkt-links a.is-active {
  color: var(--teal);
}
.mkt-links a.is-active::after {
  width: 100%;
}
.mkt-join {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(73, 183, 216, 0.32);
  transition:
    background 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
}
.mkt-join::after {
  display: none;
}
.mkt-join:hover {
  background: var(--teal-dk);
  color: #fff;
  box-shadow: 0 10px 26px rgba(73, 183, 216, 0.45);
  transform: translateY(-1px);
}

/* mobile hamburger (hidden on desktop) */
.mkt-burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--slate);
  border-radius: 10px;
}

/* ---- Hero (full-bleed fjord) ---- */
.mkt-hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  background: url("../images/marketing-hero.webp") center 30% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.mkt-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 26, 36, 0.32) 0%,
    rgba(15, 26, 36, 0.18) 38%,
    rgba(15, 26, 36, 0.42) 100%
  );
}
.mkt-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 0 24px;
  color: #fff;
}
.mkt-hero h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(48px, 8.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.mkt-hero h1 span {
  display: block;
}
.mkt-hero .mkt-sub {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 36px);
  color: var(--teal);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.mkt-cta-row {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.mkt-cta {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  padding: 15px 26px;
  border-radius: 12px;
  max-width: 290px;
  box-shadow: 0 12px 30px rgba(19, 28, 38, 0.32);
  transition:
    background 0.18s ease,
    transform 0.14s ease,
    box-shadow 0.18s ease;
}
.mkt-cta:hover {
  background: var(--teal-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(19, 28, 38, 0.4);
}
.mkt-cta small {
  display: block;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 3px;
}
/* staggered entrance */
.mkt-hero h1,
.mkt-hero .mkt-sub,
.mkt-cta-row {
  animation: itc-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mkt-hero .mkt-sub {
  animation-delay: 0.12s;
}
.mkt-cta-row {
  animation-delay: 0.24s;
}

/* ---- Section: Avoid overpaying ---- */
.mkt-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px;
}
.mkt-band-head {
  text-align: center;
  margin: 0 auto 10px;
  max-width: 820px;
}
.mkt-band-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.18;
  margin: 0;
}
.mkt-band-head .mkt-rule {
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--gold);
  margin: 18px auto 0;
}
.mkt-overpay {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}
.mkt-overpay-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.mkt-overpay-copy p strong {
  color: var(--gold-dk);
}
.mkt-overpay-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  background: var(--cream) center / cover no-repeat;
}
.mkt-overpay-img.is-overpay {
  background-image: url("../images/great-places.webp");
}

/* ---- Pain points ---- */
.mkt-pain {
  background: linear-gradient(180deg, #fafbfc 0%, #f1f4f6 100%);
}
.mkt-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.mkt-pain-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(19, 28, 38, 0.08);
  border-top: 4px solid var(--teal);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.mkt-pain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(19, 28, 38, 0.16);
}
.mkt-pain-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.mkt-pain-card h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.45;
}

/* ---- Plans ---- */
.mkt-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.mkt-plan {
  background: #fff;
  border: 1.5px solid #e7ebee;
  border-radius: 18px;
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.mkt-plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.mkt-plan.is-featured {
  border-color: var(--teal);
  box-shadow: 0 18px 44px rgba(73, 183, 216, 0.22);
  position: relative;
}
.mkt-plan-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.mkt-plan h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--slate);
}
.mkt-plan-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.mkt-plan p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 24px;
  flex: 1;
}
.mkt-plan .mkt-plan-btn {
  display: block;
  text-align: center;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(73, 183, 216, 0.28);
  transition:
    background 0.18s ease,
    transform 0.12s ease;
}
.mkt-plan .mkt-plan-btn:hover {
  background: var(--teal-dk);
  color: #fff;
  transform: translateY(-1px);
}
.mkt-plan.is-featured .mkt-plan-btn {
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(167, 121, 44, 0.32);
}
.mkt-plan.is-featured .mkt-plan-btn:hover {
  background: var(--gold-dk);
}

/* ---- Bottom-line band ---- */
.mkt-bottomline {
  background: var(--slate);
  color: #fff;
}
.mkt-bottomline .mkt-section {
  text-align: center;
}
.mkt-bottomline h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  max-width: 880px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
}
.mkt-bottomline h2 b {
  color: var(--teal);
  font-weight: 700;
}
.mkt-bottomline .mkt-cta {
  margin: 30px auto 0;
  display: inline-block;
  padding: 15px 38px;
}

/* ---- Footer ---- */
.mkt-footer {
  background: #20252c;
  color: #fff;
  margin-top: auto;
}
.mkt-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 52px 24px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.mkt-footer-brand img {
  height: 52px;
  width: auto;
}
.mkt-footer-brand p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}
.mkt-footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-lt);
}
.mkt-footer-col a,
.mkt-footer-col span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  margin-bottom: 10px;
}
.mkt-footer-col a:hover {
  color: var(--teal);
}
.mkt-footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px 26px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}
.mkt-footer-note strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

/* ---- Marketing responsive ---- */
@media (max-width: 900px) {
  .mkt-links {
    display: none;
  }
  .mkt-burger {
    display: grid;
    place-items: center;
  }
  .mkt-overpay {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mkt-pain-grid,
  .mkt-plans-grid {
    grid-template-columns: 1fr;
  }
  .mkt-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 560px) {
  .mkt-cta {
    max-width: 100%;
    width: 100%;
  }
  .mkt-section {
    padding: 52px 22px;
  }
}

/* ---------------------------------------------------- Profile Details modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 28, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-overlay[hidden] {
  display: none;
}
.modal-card {
  background: var(--surface);
  width: min(94vw, 460px);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  padding: 26px 26px 28px;
  position: relative;
  font-family: var(--font);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal-close:hover {
  color: var(--ink);
}
.pm-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 18px;
}
.pm-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dk));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex: none;
}
.pm-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.pm-tier {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pm-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pm-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px 18px;
  margin: 0;
}
.pm-grid dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.pm-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  text-align: right;
  word-break: break-word;
}
.pm-message {
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 0;
  line-height: 1.5;
}

/* ------------------------------------------------------------- Web Forms page */
.dash-links a.active {
  color: var(--gold);
  font-weight: 600;
}
.webform-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 22px 64px;
}
.webform-head {
  text-align: center;
  margin-bottom: 26px;
}
.webform-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.webform-title {
  font-size: 30px;
  color: var(--ink);
  margin: 0 0 10px;
}
.webform-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
}
.webform-card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  justify-content: center;
}
.webform-frame {
  width: 610px;
  max-width: 100%;
  height: 870px;
  border: 0;
  border-radius: 10px;
}
@media (max-width: 640px) {
  .webform-title {
    font-size: 24px;
  }
  .webform-card {
    padding: 6px;
  }
}
