:root {
  --black: #050506;
  --panel: #0d0d10;
  --panel-2: #121216;
  --line: rgba(255, 255, 255, 0.08);
  --white: #f5f5f7;
  --muted: #a7a7b0;
  --gold: #e7bd5a;
  --gold-2: #c9962f;
  --gold-soft: rgba(231, 189, 90, 0.14);
  --purple: #b892ff;
  --purple-2: #8b5cf6;
  --purple-soft: rgba(150, 110, 255, 0.16);
  --silver: #d4dbe6;
  --silver-2: #97a3b6;
  --silver-soft: rgba(203, 213, 225, 0.14);
  --radius: 22px;
  --radius-lg: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Native scrollbar is hidden — a custom, eased one is drawn by JS so it
   drags/settles in sync with the momentum scroll. */
body.smooth-active { scrollbar-width: none; }
body.smooth-active::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Custom themed scrollbar (built in script.js) */
.scrollbar {
  position: fixed;
  top: 0; right: 6px;
  width: 10px; height: 100vh;
  z-index: 60;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.scrollbar__thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 14px rgba(231, 189, 90, 0.25);
  pointer-events: auto;
  cursor: grab;
  will-change: transform, height;
  transition: background 0.3s var(--ease), width 0.2s var(--ease);
}
.scrollbar:hover .scrollbar__thumb { background: linear-gradient(180deg, #ffe6a3, var(--gold)); }
.scrollbar__thumb:active { cursor: grabbing; }

/* Fallback themed native scrollbar when reduced-motion disables the custom one */
@media (prefers-reduced-motion: reduce) {
  html { scrollbar-width: thin; scrollbar-color: var(--gold-2) transparent; }
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold), var(--gold-2)); border-radius: 999px; border: 2px solid var(--black); }
}

html { scroll-behavior: auto; }

body {
  background: var(--black);
  color: var(--white);
  font-family: "Jost", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Body height is driven by JS so the momentum wrapper can be fixed */
body.smooth-active { }

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

#smooth-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
  z-index: 1;
}

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

h1, h2, h3, h4 { font-family: "Jost", sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }

.grad {
  background: linear-gradient(100deg, #ffe6a3 0%, var(--gold) 45%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 36px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 20px;
  border-radius: 999px;
  background: rgba(12, 12, 15, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.nav.scrolled { box-shadow: 0 18px 50px rgba(0,0,0,0.55); background: rgba(12,12,15,0.78); }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { display: grid; place-items: center; }
.nav__name { font-family: "Jost", sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.nav__accent { color: var(--gold); }
.nav__actions { display: flex; align-items: center; gap: 10px; position: relative; }
.nav__cta {
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--black) !important;
  font-weight: 600;
  font-size: 16px;
  background: linear-gradient(100deg, #ffe6a3, var(--gold));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--gold-soft); }

/* Circular icon button in the nav (globe) */
.nav__icon {
  width: 38px; height: 38px; padding: 0;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.nav__icon:hover { transform: translateY(-2px); border-color: rgba(231,189,90,0.5); color: var(--gold); background: rgba(255,255,255,0.07); }

/* Language popover under the globe icon */
.lang-menu {
  position: absolute; top: calc(100% + 12px); right: 46px;
  min-width: 150px; padding: 6px;
  background: rgba(15,15,18,0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-6px) scale(0.96); pointer-events: none;
  transform-origin: top right;
  transition: opacity 0.28s var(--ease), transform 0.35s var(--ease);
  z-index: 60;
}
.lang-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 16px; color: var(--muted); font-weight: 500;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-menu__item:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.lang-menu__item.is-active { color: var(--gold); }
.lang-menu__flag { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; }


/* ---------- LAYOUT ---------- */
main { position: relative; z-index: 1; }
.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}
.section__head { max-width: 720px; margin-bottom: 56px; }
.eyebrow { color: var(--gold); font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.section__head h2 { font-size: clamp(35px, 5.01vw, 60px); margin-top: 14px; }

.section__note { color: var(--muted); margin-top: 16px; font-size: 17px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: 16px; color: var(--gold);
  background: var(--gold-soft); border: 1px solid rgba(231,189,90,0.28);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 160px 0 80px;
}
.hero__content { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hero__title { font-size: clamp(48px, 7.98vw, 98px); font-weight: 800; margin: 0 0 22px; }
.hero__sub { max-width: 620px; color: var(--muted); font-size: clamp(19px, 1.71vw, 22px); }
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 17px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
  border: none; outline: none; appearance: none; -webkit-appearance: none;
  cursor: pointer;
}
.btn--gold { background: linear-gradient(100deg, #ffe6a3, var(--gold)); color: var(--black); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(231,189,90,0.32); }
.btn--ghost { background: rgba(255,255,255,0.04); color: var(--white); border: 1px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); border-color: rgba(231,189,90,0.5); background: rgba(255,255,255,0.07); }

/* ---------- CARDS ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(231,189,90,0.35); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.card__body h3 { font-size: 29px; margin-bottom: 12px; }
.card__body p { color: var(--muted); font-size: 17px; }
.link { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 600; font-size: 16px; transition: gap 0.3s; }
.link:hover { text-shadow: 0 0 20px var(--gold-soft); }

/* card art */
.card__art { border-radius: var(--radius); background: radial-gradient(circle at 50% 30%, rgba(231,189,90,0.10), transparent 70%); min-height: 190px; display: grid; place-items: center; margin-bottom: 22px; }
.card--wide .card__art { margin-bottom: 0; height: 100%; min-height: 220px; }
.card__art--bars { align-items: end; padding: 30px; gap: 12px; grid-auto-flow: column; }
.card__art--bars span { width: 26px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--gold), var(--gold-2)); align-self: end; transform-origin: bottom; animation: rise 3.4s ease-in-out infinite alternate; }
.card__art--bars span:nth-child(1){ height: 40%; } .card__art--bars span:nth-child(2){ height: 62%; animation-delay:.2s;}
.card__art--bars span:nth-child(3){ height: 48%; animation-delay:.4s;} .card__art--bars span:nth-child(4){ height: 82%; animation-delay:.6s;}
.card__art--bars span:nth-child(5){ height: 100%; animation-delay:.8s;}
@keyframes rise { from { transform: scaleY(0.72); } to { transform: scaleY(1); } }

/* Text-only cards (no art block) sit alongside the wide card */
.card--text { display: flex; align-items: flex-end; min-height: 220px; }

/* ---------- PRICING ---------- */
#pricing.section { width: min(1320px, calc(100% - 48px)); }
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.plan { position: relative; padding: 26px 20px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); transition: transform 0.5s var(--ease), border-color 0.5s var(--ease); display: flex; flex-direction: column; }
.plan ul { flex: 1 1 auto; }
.plan .btn { margin-top: auto; }
.plan:hover { transform: translateY(-6px); border-color: rgba(231,189,90,0.3); }
.plan--feature { border-color: rgba(231,189,90,0.4); box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.plan__tag { position: absolute; top: -12px; left: 20px; padding: 5px 13px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--black); background: linear-gradient(100deg, #ffe6a3, var(--gold)); white-space: nowrap; }
.plan h3 { font-size: 22px; }
.plan__price { font-family: "Jost", sans-serif; font-size: 40px; font-weight: 800; margin: 8px 0 4px; color: var(--white); }
.plan__price span { font-size: 17px; color: var(--muted); font-weight: 400; }
.plan__desc { color: var(--muted); font-size: 16px; min-height: 40px; }
.plan ul { list-style: none; margin: 14px 0 18px; display: grid; gap: 8px; }
.plan ul li { position: relative; padding-left: 24px; font-size: 16px; color: var(--white); line-height: 1.4; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.plan .btn { width: 100%; }
.plan__hourly { color: var(--muted); font-size: 12px; font-style: italic; line-height: 1.4; margin-top: 12px; }

/* Purple featured plan (Complete) — same treatment as the gold popular one */
.plan--complete { border-color: rgba(139,92,246,0.45); box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 42px rgba(139,92,246,0.16); }
.plan--complete:hover { border-color: rgba(139,92,246,0.7); }
.plan--complete .plan__tag { background: linear-gradient(100deg, #cbb4ff, var(--purple-2)); color: #fff; }
.plan--complete ul li::before { color: var(--purple); }
.plan--complete .btn { background: linear-gradient(100deg, #cbb4ff, var(--purple-2)); color: #fff; }
.plan--complete .btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(139,92,246,0.4); }

/* Silver featured plan (Ultimate) */
.plan--ultimate { border-color: rgba(203,213,225,0.5); box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 42px rgba(203,213,225,0.12); }
.plan--ultimate:hover { border-color: rgba(203,213,225,0.8); }
.plan--ultimate .plan__tag { background: linear-gradient(100deg, #f4f7fb, var(--silver-2)); color: #0a0a0c; }
.plan--ultimate ul li::before { color: var(--silver); }
.plan--ultimate .btn { background: linear-gradient(100deg, #f4f7fb, #c2ccdb); color: #0a0a0c; }
.plan--ultimate .btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(203,213,225,0.3); }

/* Unavailable plans — kept visible but visually disabled */
.plan--unavailable { opacity: 0.55; }
.plan--unavailable:hover { transform: none; }
.plan--unavailable .plan__price { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--muted); }
.plan--unavailable .btn,
.plan--unavailable .btn:hover {
  background: rgba(255,255,255,0.04) !important;
  color: var(--muted) !important;
  border: 1px solid var(--line) !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.plan__tag--unavailable { background: rgba(255,255,255,0.08) !important; color: var(--muted) !important; }

/* Pricing responsive: 3 → 2 → 1 */
@media (max-width: 820px)  { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 60px 0 80px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer__brand { font-family: "Jost", sans-serif; font-weight: 700; font-size: 25px; }
.footer__cols { display: flex; gap: 64px; }
.footer__cols h4 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.footer__cols a { display: block; color: var(--muted); font-size: 16px; margin-bottom: 10px; transition: color 0.3s; }
.footer__cols a:hover { color: var(--gold); }
.footer__copy { grid-column: 1 / -1; color: var(--muted); font-size: 16px; }

/* ---------- OFFER MODAL ---------- */
.offer-modal {
  position: fixed; inset: 0;
  z-index: 80;
  display: grid; place-items: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.offer-modal.is-open { opacity: 1; pointer-events: auto; }
.offer-modal__scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}
.offer-modal__card {
  position: relative;
  width: min(440px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.4s var(--ease);
}
.offer-modal.is-open .offer-modal__card { transform: none; }
.offer-modal__card.is-wide { width: min(560px, 100%); }
.offer-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  font-size: 21px; line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.offer-modal__close:hover { color: var(--gold); background: rgba(255,255,255,0.08); }
.offer-modal__card h3 { font-size: 29px; margin-bottom: 10px; }
.offer-modal__card--legal { width: min(560px, 100%); }
.offer-modal__checkout-container { min-height: 420px; margin-top: 10px; }
.offer-modal__legal h4 { font-size: 16px; margin: 22px 0 8px; color: var(--gold); }
.offer-modal__legal p { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 6px; }
.offer-modal__hint { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.offer-modal__label { display: block; font-size: 16px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.offer-modal__textarea,
.offer-modal__input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  resize: vertical;
  margin-bottom: 18px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.offer-modal__textarea:focus,
.offer-modal__input:focus {
  outline: none;
  border-color: rgba(231,189,90,0.5);
  background: rgba(255,255,255,0.06);
}
.offer-modal__error {
  color: #ff9d9d;
  font-size: 16px;
  margin: -8px 0 16px;
}
.offer-modal__submit { width: 100%; }
.offer-modal__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* Theme-specific submit button styling */
.offer-modal__card.theme--gold .offer-modal__submit {
  background: linear-gradient(100deg, #ffe6a3, var(--gold));
  color: var(--black);
}
.offer-modal__card.theme--gold .offer-modal__submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(231,189,90,0.32);
}

.offer-modal__card.theme--purple .offer-modal__submit {
  background: linear-gradient(100deg, #cbb4ff, var(--purple-2));
  color: #fff;
}
.offer-modal__card.theme--purple .offer-modal__submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(139,92,246,0.4);
}

.offer-modal__card.theme--silver .offer-modal__submit {
  background: linear-gradient(100deg, #f4f7fb, #c2ccdb);
  color: #0a0a0c;
}
.offer-modal__card.theme--silver .offer-modal__submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(203,213,225,0.3);
}
.offer-modal__checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 20px;
  font-size: 14px; color: var(--white);
  cursor: pointer;
}
.offer-modal__checkbox input {
  margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; cursor: pointer;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: var(--black);
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  transition: all 0.2s var(--ease);
}
.offer-modal__checkbox input:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.offer-modal__checkbox input:hover {
  border-color: rgba(231,189,90,0.7);
}

/* Theme variants — applied to the modal card */
.offer-modal__card.theme--gold .offer-modal__checkbox input {
  border-color: var(--gold);
}
.offer-modal__card.theme--gold .offer-modal__checkbox input:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.offer-modal__card.theme--purple .offer-modal__checkbox input {
  border-color: var(--purple);
}
.offer-modal__card.theme--purple .offer-modal__checkbox input:checked {
  background: var(--purple);
  border-color: var(--purple);
}

.offer-modal__card.theme--silver .offer-modal__checkbox input {
  border-color: var(--silver);
}
.offer-modal__card.theme--silver .offer-modal__checkbox input:checked {
  background: var(--silver);
  border-color: var(--silver);
  color: #0a0a0c;
}
.offer-modal__card.theme--silver .offer-modal__checkbox input:checked::after {
  color: #0a0a0c;
}
.offer-modal__calendar { margin-bottom: 6px; }
.offer-modal__times-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offer-modal__times-head .offer-modal__label { margin-bottom: 0; }
.offer-modal__format-toggle {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 10px;
}
.offer-modal__format-toggle button {
  border: none; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.offer-modal__format-toggle button.is-active { background: var(--gold); color: var(--black); }
.offer-modal__dates {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  margin-bottom: 18px;
}
.offer-modal__date-pill,
.offer-modal__time-pill {
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.offer-modal__date-pill:hover:not(:disabled),
.offer-modal__time-pill:hover:not(:disabled) {
  border-color: rgba(231,189,90,0.5); color: var(--gold); transform: translateY(-2px);
}
.offer-modal__date-pill.is-selected,
.offer-modal__time-pill.is-selected {
  background: linear-gradient(100deg, #ffe6a3, var(--gold));
  color: var(--black);
  border-color: transparent;
}
.offer-modal__date-pill:disabled,
.offer-modal__time-pill:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}
.offer-modal__times {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-bottom: 8px;
}

.offer-modal__code {
  font-family: "Jost", sans-serif;
  font-size: 30px; font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-top: 8px;
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */

/* Tablets & large phones */
@media (max-width: 900px) {
  .nav__cta { padding: 9px 14px; font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card--wide { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer__cols { flex-wrap: wrap; gap: 40px; }
}

/* Phones */
@media (max-width: 600px) {
  .nav { top: 10px; width: calc(100% - 20px); padding: 10px 10px 10px 16px; }
  .nav__name { font-size: 19px; }
  .nav__cta { padding: 9px 16px; font-size: 16px; }

  .section { width: calc(100% - 32px); padding: 76px 0; }
  .section__head { margin-bottom: 40px; }

  .hero { padding: 130px 0 60px; }
  .hero__sub { font-size: 19px; }
  .hero__actions { margin-top: 30px; width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }

  .card { padding: 26px; }
  .card--text { min-height: 0; }
  .card--wide .card__art { min-height: 170px; }
  .plan { padding: 32px 26px; }
  .footer { padding: 48px 0 64px; }
  .footer__cols { gap: 32px; }

  /* Lighter background so the canvas doesn't tax weaker GPUs */
  .card--wide .card__art--bars span { width: 20px; }
}

/* Small / older phones */
@media (max-width: 380px) {
  .nav { padding: 9px 9px 9px 14px; }
  .nav__cta { padding: 8px 13px; font-size: 14px; }
  .section { width: calc(100% - 24px); padding: 64px 0; }
  .hero { padding: 118px 0 50px; }
  .hero__title { font-size: 46px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .card { padding: 22px; }
  .plan { padding: 28px 22px; }
  .plan__price { font-size: 44px; }
  .offer-modal__times { grid-template-columns: repeat(3, 1fr); }
  .offer-modal__date-pill, .offer-modal__time-pill { font-size: 13px; padding: 8px 4px; }
}

/* Very small legacy phones (< 300px) */
@media (max-width: 300px) {
  .nav { top: 8px; width: calc(100% - 14px); padding: 8px 8px 8px 12px; }
  .nav__logo { display: none; }
  .nav__name { font-size: 17px; }
  .nav__cta { font-size: 13px; padding: 7px 11px; }

  .section { width: calc(100% - 20px); padding: 52px 0; }
  .section__head h2 { font-size: 30px; }
  .hero { padding: 104px 0 40px; }
  .hero__title { font-size: 36px; }
  .hero__sub { font-size: 16px; }

  .card { padding: 18px; border-radius: 22px; }
  .card__body h3 { font-size: 24px; }
  .plan { padding: 24px 18px; }
  .plan__price { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}
