/* Catatrack — aligned with app theme (dark + salmo) */

:root {
  --ivory: #fdf8f4;
  --salmo: #ff6301;
  --salmo-dark: #913902;
  --bg: #262626;
  --bg-elevated: #2f2f2f;
  --bg-card: #333333;
  --border: rgba(253, 248, 244, 0.08);
  --muted: #919191;
  --font-display: "Aldrich", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  /* SF Pro on Apple; system fallbacks elsewhere */
  --font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serif;
  --font-accent: "Rock Salt", cursive;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --container: min(1120px, calc(100% - 48px));
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

  .marquee__track {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ivory);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  --container: min(640px, calc(100% - 48px));
}

.text-salmo {
  color: var(--salmo);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--salmo);
  margin: 0 0 0.75rem;
}

.section {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.section--tight {
  padding-bottom: 2rem;
}

.section__head {
  max-width: 42rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 40rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0;
  color: rgba(253, 248, 244, 0.78);
  font-size: 1.125rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(38, 38, 38, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background: rgba(38, 38, 38, 0.92);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.header .brand {
  margin-left: 40px;
}

.header .header__cta {
  margin-right: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.06em;
}

.brand:hover {
  text-decoration: none;
  color: var(--salmo);
}

.brand__icon {
  border-radius: 9px;
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: rgba(253, 248, 244, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--salmo);
  text-decoration: none;
}

.header__cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.menu-toggle__bar {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s var(--ease);
}

.menu-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header[data-menu-open="true"] .menu-toggle__bar:first-of-type {
  transform: translateY(3.5px) rotate(45deg);
}

.header[data-menu-open="true"] .menu-toggle__bar:nth-of-type(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--ivory);
  font-weight: 500;
}

.mobile-nav a:hover {
  color: var(--salmo);
  text-decoration: none;
}

@media (max-width: 860px) {
  .header__inner {
    justify-content: flex-start;
    gap: 0.65rem;
  }

  .nav,
  .header__cta {
    display: none !important;
  }

  /* Hamburger first (left); avoids right-edge clipping */
  .menu-toggle {
    display: flex;
    order: -1;
    margin-right: 0;
    margin-left: max(0px, env(safe-area-inset-left, 0px));
    flex-shrink: 0;
  }

  /* Desktop inset removed on narrow screens so logo + menu fit */
  .header .brand {
    margin-left: 0;
    min-width: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.15s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--salmo);
  color: var(--ivory);
}

.btn--primary:hover {
  background: #ff7a24;
  color: var(--ivory);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ivory);
}

.btn--ghost:hover {
  border-color: var(--salmo);
  color: var(--salmo);
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
  margin-top: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3rem, 12vw, 5rem)) 0 clamp(4rem, 12vw, 6rem);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: radial-gradient(circle, rgba(255, 99, 1, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
  position: relative;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.35rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 2rem;
  color: rgba(253, 248, 244, 0.78);
  font-size: 1.125rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-pill {
  padding: 0.75rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.stat-pill__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--salmo);
  display: block;
  line-height: 1;
}

.stat-pill__label {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Phone mockup */
.phone-frame {
  justify-self: end;
  width: min(100%, 300px);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(145deg, #3a3a3a, #1f1f1f);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-frame__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--bg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.mock-ui {
  padding: 1rem 1rem 0.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mock-ui__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mock-ui__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--salmo);
}

.mock-ui__title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--salmo);
  letter-spacing: 0.08em;
}

.mock-ui__counter {
  text-align: center;
  padding: 0.5rem 0;
}

.mock-ui__count {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--salmo);
  line-height: 1;
}

.mock-ui__sub {
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--salmo);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mock-ui__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
}

.mock-ui__list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--ivory);
}

.mock-flag {
  font-size: 1rem;
}

.mock-ui__map {
  flex: 1;
  min-height: 72px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #1e3a5f 0%, #2d4a3e 50%, #3d2d1f 100%);
  position: relative;
  margin-top: 0.25rem;
}

.mock-ui__map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--salmo);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  top: 42%;
  left: 55%;
  box-shadow: 0 0 0 3px rgba(255, 99, 1, 0.35);
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__copy {
    order: 1;
  }

  .hero__visual {
    order: 0;
    display: flex;
    justify-content: center;
  }

  .phone-frame {
    justify-self: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 0.85rem 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  width: max-content;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 248, 244, 0.35);
  animation: marquee 38s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Split features */
.split-feature {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.split-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-feature--reverse .split-feature__inner {
  direction: rtl;
}

.split-feature--reverse .split-feature__text,
.split-feature--reverse .split-feature__card {
  direction: ltr;
}

.split-feature__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--ivory);
}

.split-feature__text p {
  margin: 0;
  color: rgba(253, 248, 244, 0.75);
}

.card-glow {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 0 0 1px rgba(255, 99, 1, 0.06), 0 24px 48px rgba(0, 0, 0, 0.25);
}

.mini-list__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mini-list__row.dim {
  opacity: 0.45;
}

.tag {
  margin-left: auto;
  font-size: 0.6875rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--salmo);
}

.fake-map {
  height: 200px;
  border-radius: var(--radius-sm);
  background: #2a2520;
  position: relative;
  overflow: hidden;
}

.fake-map__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 99, 1, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 99, 1, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.fake-map__marker {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--salmo);
  top: 38%;
  left: 42%;
  box-shadow: 0 0 0 6px rgba(255, 99, 1, 0.2);
}

.fake-map__marker--2 {
  top: 58%;
  left: 62%;
  background: var(--ivory);
  box-shadow: 0 0 0 6px rgba(253, 248, 244, 0.15);
}

@media (max-width: 800px) {
  .split-feature__inner {
    grid-template-columns: 1fr;
  }

  .split-feature--reverse .split-feature__inner {
    direction: ltr;
  }
}

/* About */
.about-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.checklist {
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: rgba(253, 248, 244, 0.82);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--salmo);
}

.about-block__panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-stats__value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--salmo);
  display: block;
  line-height: 1;
}

.about-stats__label {
  font-size: 0.875rem;
  color: var(--muted);
}

.hand-note {
  margin: 2rem 0 0;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: rgba(255, 99, 1, 0.75);
  text-align: center;
}

@media (max-width: 800px) {
  .about-block {
    grid-template-columns: 1fr;
  }
}

/* Bento */
.bento-section {
  background: linear-gradient(180deg, var(--bg) 0%, #222 50%, var(--bg) 100%);
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.bento__cell {
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}

.bento__cell:hover {
  border-color: rgba(255, 99, 1, 0.25);
}

.bento__cell h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--ivory);
}

.bento__cell p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(253, 248, 244, 0.7);
}

.bento__cell--wide {
  grid-column: span 2;
}

.bento__cell--accent {
  background: linear-gradient(135deg, rgba(255, 99, 1, 0.12), var(--bg-card));
  border-color: rgba(255, 99, 1, 0.2);
}

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

  .bento__cell--wide {
    grid-column: span 1;
  }
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.quote-card {
  margin: 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.quote-card p {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: rgba(253, 248, 244, 0.88);
  flex: 1;
}

.quote-card footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.quote-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--salmo), var(--salmo-dark));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--ivory);
}

.quote-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9375rem;
  display: block;
}

.quote-card__role {
  font-size: 0.8125rem;
  color: var(--muted);
}

.quote-card__stars {
  color: var(--salmo);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

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

/* FAQ */
.faq-section {
  padding-bottom: 2rem;
}

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

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.faq__trigger::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--salmo);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.faq__trigger[aria-expanded="true"]::after {
  content: "−";
}

.faq__panel {
  margin: 0;
  padding: 0 0 1.15rem;
}

.faq__panel p {
  margin: 0;
  color: rgba(253, 248, 244, 0.72);
  font-size: 0.9375rem;
}

/* CTA band */
.cta-band {
  padding: clamp(4rem, 10vw, 5.5rem) 0;
  background: linear-gradient(135deg, rgba(255, 99, 1, 0.14) 0%, var(--bg-elevated) 45%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}

.cta-band__inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.cta-band__copy p {
  margin: 0 0 2rem;
  color: rgba(253, 248, 244, 0.78);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  min-width: 180px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}

.store-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.store-btn small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.cta-band__note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

.cta-band__inner--badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--container);
}

.cta-band__pitch {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.75rem;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
}

.cta-band__pitch-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--ivory);
  text-align: center;
  width: 100%;
  max-width: 40rem;
}

.cta-band__pitch-sub {
  margin: 0;
  font-family: var(--font-sf);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(253, 248, 244, 0.78);
  text-align: center;
  width: 100%;
  max-width: 40rem;
}

@media (min-width: 1000px) {
  .cta-band__pitch-title {
    white-space: nowrap;
  }
}

@media (max-width: 999px) {
  .cta-band__pitch-title {
    font-size: clamp(1.25rem, 4.5vw, 1.75rem);
    white-space: normal;
  }

  .cta-band__pitch-sub {
    font-size: clamp(1rem, 2.8vw, 1.125rem);
  }
}

.store-buttons--badges {
  margin-bottom: 0;
}

.store-badge-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.15s var(--ease), opacity 0.2s var(--ease);
}

.store-badge-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge-link img {
  display: block;
  height: 54px;
  width: auto;
}

/* ─── Contact form ─────────────────────────────────────────────────────────── */
.contact-section {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Two-column row for name + email */
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 560px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(253, 248, 244, 0.85);
  letter-spacing: 0.02em;
}

.contact-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.contact-form__input::placeholder {
  color: var(--muted);
}

.contact-form__input:focus {
  border-color: var(--salmo);
  box-shadow: 0 0 0 3px rgba(255, 99, 1, 0.18);
}

.contact-form__input:invalid:not(:placeholder-shown) {
  border-color: #e05252;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form__submit {
  align-self: flex-start;
}

/* Success / error banners */
.contact-form__feedback {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* `hidden` must win over `display: flex` above, or the success line shows before send */
.contact-form__feedback[hidden] {
  display: none !important;
}

.contact-form__feedback--success {
  background: rgba(52, 168, 83, 0.12);
  border: 1px solid rgba(52, 168, 83, 0.3);
  color: #6fcf97;
}

.contact-form__feedback--error {
  background: rgba(224, 82, 82, 0.1);
  border: 1px solid rgba(224, 82, 82, 0.28);
  color: #f08080;
}

/* ── Web3Forms honeypot checkbox — hidden, must stay unchecked ── */
.contact-form__honeypot {
  display: none !important;
  position: absolute;
  left: -9999px;
  pointer-events: none;
}

/* Footer */
.footer {
  padding: 3rem 0 2.5rem;
  border-top: 1px solid var(--border);
}

.footer__centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand--footer-centered {
  justify-content: center;
}

.footer__legal {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: rgba(253, 248, 244, 0.55);
}

.muted {
  color: var(--muted);
  font-size: 0.9375rem;
}

.brand--footer:hover {
  color: var(--ivory);
}

/* ——— Hero: full-bleed background photo ——— */

/* Reset the body gradient — the hero handles its own bg */
body {
  background: var(--bg);
}

/* Hero wrapper: stacking context for photo + overlay + text + ticker */
.hero--bg {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(92vh, 780px);
  overflow: hidden;
  padding-top: var(--header-h); /* clear fixed header */
}

/* The photo fills the entire hero */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

/* Left-side gradient so text stays readable over the bright snow */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 20, 20, 0.72) 0%,
    rgba(20, 20, 20, 0.55) 48%,
    rgba(20, 20, 20, 0.0) 72%
  );
  z-index: 1;
}

/* Content sits above overlay; extra bottom padding clears the absolutely positioned ticker */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(4.5rem, 11vw, 6.75rem);
}

/* Text block — left half only */
.hero__copy {
  max-width: min(52%, 520px);
}

/* "CATATRACK" micro-label */
.hero__brand-label {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--ivory);
  opacity: 0.85;
}

/* "The Ski Resort Tracker" — big orange */
.hero__title-orange {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--salmo);
  letter-spacing: -0.02em;
}

/* "(For People Who Ski More Than Their Friends)" — 40px cap */
.hero__title-white {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ivory);
  letter-spacing: -0.02em;
}

/* "Gain clarity & bragging rights…" — medium white */
.hero__headline {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: var(--ivory);
}

/* "Translation: …" — orange italic lead */
.hero__lead-overlay {
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-style: italic;
  color: var(--salmo);
  max-width: 30rem;
}

/* ——— Ticker bar pinned to bottom of hero photo ——— */
.hero__ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(28, 28, 28, 0.88);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0;
  overflow: hidden;
}

.ticker__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 248, 244, 0.55);
  animation: ticker 42s linear infinite;
}

.ticker__track .sep {
  color: rgba(255, 99, 1, 0.5);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

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

/* Hero responsive: stack text + hide copy on very small screens */
@media (max-width: 680px) {
  .hero__copy {
    max-width: 90%;
  }

  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(20, 20, 20, 0.75) 0%,
      rgba(20, 20, 20, 0.55) 60%,
      rgba(20, 20, 20, 0.0) 100%
    );
  }
}

.section--feature {
  padding: clamp(3.5rem, 9vw, 5.5rem) 0;
  border-top: 1px solid var(--border);
}

.section--alt {
  background: rgba(0, 0, 0, 0.2);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

/* Copy left, image right (lower order fills first grid column) */
.feature-row--reverse .feature-row__text {
  order: 1;
}

.feature-row--reverse .feature-row__media {
  order: 2;
}

.feature-row--text-right .feature-row__text {
  text-align: right;
}

.feature-row--text-right .section__title--left {
  text-align: right;
}

.feature-row--text-right .section__body {
  margin-left: auto;
  margin-right: 0;
}

.feature-row--text-right .resorts-visited-figure {
  margin-left: auto;
  margin-right: 0;
}

.section__title--left {
  text-align: left;
}

.section__body {
  margin: 0 0 1.15rem;
  color: rgba(253, 248, 244, 0.78);
  font-size: 1.0625rem;
  max-width: 38rem;
}

.section__body:last-child {
  margin-bottom: 0;
}

.section__body--accent {
  color: var(--salmo);
  font-weight: 500;
}

.resorts-visited-figure {
  margin: 1.25rem 0 1.5rem;
  max-width: 312px;
}

.resorts-visited-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.feature-row__media {
  margin: 0;
}

.feature-row__media img {
  /* No border-radius or box-shadow — PNGs carry their own transparency & shadows */
  width: auto;
  max-width: 100%;
  max-height: min(82vh, 960px);
  margin-inline: auto;
  display: block;
}

/* Heading parenthetical span — smaller, ivory, same font */
.heading-paren {
  font-size: 0.8em;
  color: rgba(253, 248, 244, 0.65);
  display: block;
  margin-top: 0.1em;
}

/* Feature bulleted list (used in overview section) */
.feature-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  color: rgba(253, 248, 244, 0.82);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--salmo);
}

/* FAQ */
.faq-section {
  padding-bottom: 2rem;
}

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

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: none;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq__trigger::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--salmo);
  flex-shrink: 0;
  transition: content 0.15s;
}

.faq__trigger[aria-expanded="true"]::after {
  content: "\2212";
}

.faq__panel {
  margin: 0;
  padding: 0 0 1.15rem;
}

.faq__panel p {
  margin: 0;
  color: rgba(253, 248, 244, 0.72);
  font-size: 0.9375rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 40rem;
  margin-bottom: 2rem;
}

.share-bullets {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.share-bullets li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.65rem;
  color: rgba(253, 248, 244, 0.85);
}

.share-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--salmo);
}

.section--phones-strip {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 10vw, 5rem);
  border-top: 1px solid var(--border);
}

.phones-strip__figure {
  margin: 0;
  text-align: center;
}

.phones-strip__figure img {
  width: auto;
  max-width: min(100%, 1040px);
  max-height: none;
  margin-inline: auto;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 960px) {
  .feature-row,
  .feature-row.feature-row--reverse {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-row__text,
  .feature-row--reverse .feature-row__media {
    order: unset;
  }

  .feature-row--text-right .feature-row__text,
  .feature-row--text-right .section__title--left {
    text-align: center;
  }

  .feature-row--text-right .section__body {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-row--text-right .resorts-visited-figure {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-row__media img {
    max-height: none;
  }
}

@media (max-width: 900px) {
  .section__title--left {
    text-align: left;
  }
}
