/* Open Call Finder — landing styles (migrated from Framer) */
:root {
  --bg: #131313;
  --fg: #ffffff;
  --yellow: #FFF613;
  --yellow-2: #FDF413;
  --muted: #999999;
  --card-border: rgba(255, 255, 255, 0.35);
  --display: "Dela Gothic One", "Arial Black", sans-serif;
  --cond: "Roboto Condensed", "Arial Narrow", sans-serif;
  --sans: "Roboto", Arial, sans-serif;
  --ios: -apple-system, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--cond);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2 { margin: 0; }

.page { position: relative; overflow: hidden; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px 22px 40px;
  transition: opacity .35s ease;
}
.nav.is-hidden { opacity: 0; pointer-events: none; }
.nav__logo img { width: 57px; height: 57px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: 100px; }
.nav__link {
  position: relative;
  padding: 15px;
  font-size: 20px;
  line-height: 24px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav__link--cta { margin-right: 40px; }
.nav__link--cta .scribble {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-46%, -55%);
  width: 214px; height: 66px;
  max-width: none;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 0 20px;
}
.hero__inner {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 67px;
  gap: 24px;
}
.hero__text { flex: 0 1 745px; min-width: 0; }
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 62px;
  line-height: 1.2;
  letter-spacing: -2px;
}
.hero__accent { width: 384px; height: 26px; max-width: 100%; margin-top: 0; }
.hero__subtitle {
  font-family: var(--cond);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  margin-top: 26px;
}
.stores { display: flex; align-items: center; gap: 24px; margin-top: 62px; }
.store { display: block; width: 224px; height: 65px; }
.store img, .store svg { width: 224px; height: 65px; }
.store:hover { transform: translateY(-1px); }

.hero__image {
  flex: 0 1 572px;
  max-width: 572px;
  opacity: 0;
  transform: translateX(150px);
}
.hero__image img { width: 100%; height: auto; }
.hero__image.is-in {
  animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) .2s forwards;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateX(150px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---------- Features grid ---------- */
.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 150px;
  overflow: hidden;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 640px);
  gap: 40px;
  padding: 0 5px;
}
.card {
  position: relative;
  width: 640px;
  height: 720px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  padding-top: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.card.is-in { opacity: 1; transform: none; }
.card__title {
  position: relative;
  font-family: var(--display);
  font-weight: 400;
  font-size: 45px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  text-align: center;
}
.card__title .u { position: relative; display: inline-block; }
.card__title .u img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 110%;
  height: auto;
  max-width: none;
}
.card__media { position: relative; margin-top: 56px; }
.card__media img { height: auto; }
.card--explore .card__media img,
.card--filters .card__media img { width: 335px; }
.card--favourites .card__media { margin-top: 87px; }
.card--favourites .card__media img { width: 598px; }
.card--reminders .card__media { margin-top: 50px; }
.card--reminders .card__media img { width: 394px; }

/* filter pills popping over the phone */
.pill {
  position: absolute;
  background: var(--yellow);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.2;
  padding: 10px 21px;
  border-radius: 130px;
  white-space: nowrap;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .5s ease, transform .6s cubic-bezier(.34,1.56,.64,1);
}
.is-in .pill { opacity: 1; transform: scale(1); }
.is-in .pill:nth-child(2) { transition-delay: .35s; }
.is-in .pill:nth-child(3) { transition-delay: .6s; }
.is-in .pill:nth-child(4) { transition-delay: .85s; }
.pill--1 { left: 30%; top: 40%; }
.pill--2 { left: 43%; top: 63%; }
.pill--3 { left: -1%; top: 80%; }

/* heart on the favourites card */
.heart {
  position: absolute;
  left: 86%;
  top: 37.5%;
  width: 40px;
  height: 41px;
  transform-origin: 50% 50%;
}
.is-in .heart { animation: heartBeat 1.6s ease-in-out .6s infinite; }
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}

/* iOS-style notification on the reminders card */
.notif {
  position: absolute;
  left: 50%;
  top: 49%;
  width: 396px;
  max-width: none;
  transform: translate(-50%, 0) scale(.3);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #000;
  font-family: var(--ios);
  transition: opacity .5s ease .5s, transform .7s cubic-bezier(.34,1.4,.64,1) .5s;
}
.is-in .notif { opacity: 1; transform: translate(-50%, 0) scale(1); }
.notif__icon {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.notif__icon img { width: 29px; height: 24px; }
.notif__body { flex: 1 1 auto; min-width: 0; }
.notif__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.notif__title { font-weight: 600; font-size: 15px; line-height: 18px; }
.notif__time { font-size: 13px; line-height: 14px; color: #4e4e4e; }
.notif__text { font-size: 15px; line-height: 18px; margin-top: 2px; }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--yellow-2);
  color: var(--bg);
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: tickerMove 22s linear infinite;
  animation-delay: -6s;
}
.ticker__item {
  display: flex;
  align-items: center;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 75px;
  line-height: 1.16;
  text-transform: uppercase;
  padding: 0 40px;
  height: 180px;
  border-right: 8px solid var(--bg);
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Contacts ---------- */
.contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 150px 40px 100px;
  text-align: center;
}
.contacts__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.2;
  text-transform: uppercase;
}
.contacts__text {
  font-family: var(--cond);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.2;
  max-width: 700px;
}
.contacts__email {
  position: relative;
  display: inline-block;
  font-weight: 700;
  margin-top: 10px;
}
.contacts__email img {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -10px;
  width: 288px; height: 7px;
}
.stores--center { justify-content: center; gap: 36px; margin: 0 auto; padding: 0 0 30px; }

/* ---------- Footer ---------- */
.footer {
  padding: 80px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #3a3a3a;
  margin: 0 60px;
  font-size: 18px;
}
.footer__copy { color: var(--muted); line-height: 1.5; max-width: 260px; }
.footer__logo img { width: 68px; height: 69px; }
.footer__links { display: flex; gap: 40px; line-height: 1.2; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__image, .card { opacity: 1; transform: none; animation: none; transition: none; }
  .pill, .notif { opacity: 1; transform: none; }
  .is-in .notif { transform: translate(-50%, 0); }
  .heart { animation: none !important; }
}

/* ---------- Tablet (810–1439) ---------- */
@media (max-width: 1439px) {
  .hero__inner { padding: 0 20px 0 40px; }
  .hero__title { font-size: 52px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; padding: 0 40px; }
  .card { width: 100%; height: auto; min-height: 620px; padding-bottom: 0; }
  .card__title { font-size: 38px; }
  .card--favourites .card__media img { width: 100%; max-width: 598px; }
  .footer { margin: 0 40px; padding: 60px 20px; }
}

/* ---------- Phone (<810) ---------- */
@media (max-width: 809px) {
  .nav { padding: 20px 24px; }
  .nav__logo img { width: 40px; height: 40px; }
  .nav__link { font-size: 18px; padding: 12px; }
  .nav__link--wb { display: none; }
  .nav__link--cta { margin-right: 10px; }
  .nav__link--cta .scribble { width: 160px; height: 50px; }

  .hero { padding: 150px 0 0; }
  .hero__inner { flex-direction: column; padding: 0 20px; gap: 0; }
  .hero__text { text-align: center; width: 100%; }
  .hero__title { font-size: 43px; letter-spacing: -1px; }
  .hero__accent { width: 280px; height: 19px; margin: 0 auto; }
  .hero__subtitle { font-size: 20px; margin-top: 30px; }
  .stores { flex-direction: column; gap: 30px; margin-top: 40px; }
  .hero__image { display: none; }

  .features { padding: 0 0 50px; }
  .grid { grid-template-columns: 1fr; gap: 24px; padding: 0 14px; }
  .card { min-height: 0; height: 500px; padding-top: 50px; }
  .card__title { font-size: 29px; }
  .card__media { margin-top: 30px; }
  .card--explore .card__media img,
  .card--filters .card__media img { width: 228px; }
  .card--favourites .card__media { margin-top: 40px; }
  .card--favourites .card__media img { width: 337px; }
  .card--reminders .card__media { margin-top: 30px; }
  .card--reminders .card__media img { width: 267px; }
  .pill { font-size: 12.3px; padding: 7px 14px; }
  .heart { width: 24px; height: 25px; }
  .notif { width: 260px; padding: 7px 10px; gap: 7px; }
  .notif__icon { flex-basis: 26px; width: 26px; height: 26px; border-radius: 6px; }
  .notif__icon img { width: 18px; height: 15px; }
  .notif__title, .notif__text { font-size: 12px; line-height: 14px; }
  .notif__time { font-size: 10px; }

  .ticker { height: 87px; }
  .ticker__item { font-size: 36px; height: 87px; padding: 0 20px; border-right-width: 4px; }

  .contacts { padding: 70px 30px 0; gap: 25px; }
  .contacts__title { font-size: 28px; }
  .contacts__text { font-size: 20px; }
  .contacts__email img { width: 218px; }
  .stores--center { flex-direction: column; gap: 30px; padding: 60px 0 30px; }

  .footer {
    flex-direction: column;
    gap: 40px;
    margin: 0;
    padding: 50px 40px;
    text-align: center;
    border-top: none;
  }
  .footer__copy { max-width: none; }
  .footer__links { flex-direction: column; gap: 22px; }
}
