/* Bido landing. Tokens follow the app's final look (src/theme/tokens.ts, honey brand, Oct 29):
   neutral page, white cards, near-black hero band, amber honey with dark text. Logical
   properties throughout so the RTL page needs no mirrored rules. */

@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/heebo.woff2') format('woff2');
}

:root {
  --bg: #f1f1ef;
  --surface: #ffffff;
  --muted: #e6e5e1;
  --text: #141311;
  --text-2: #55524c;
  --hair: #dedcd6;
  --hero: #181614;
  --on-hero: #f4f1ea;
  --on-hero-2: #b9b3a8;
  --honey: #e9a93a;
  --on-honey: #1a1405;
  --ink: #7a5300;
  --honey-soft: #fff1cc;
  --live: #18774a;
  --shadow-card: 0 0 0 1px rgba(20, 18, 15, 0.05), 0 1px 2px rgba(20, 18, 15, 0.06), 0 12px 32px -12px rgba(20, 18, 15, 0.16);
  --shadow-phone: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --r: 22px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: var(--ink);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--honey);
  color: var(--on-honey);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

.wrap--text {
  width: min(820px, 100% - 40px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow--light {
  color: var(--honey);
}

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

/* ---------- wordmark ---------- */

.wordmark {
  display: block;
  height: 30px;
  width: auto;
  fill: currentColor;
}

.wordmark .drop {
  fill: var(--honey);
}

.wordmark--sm {
  height: 26px;
}

.wordmark--hero {
  height: 46px;
  margin: 0 auto 26px;
  color: var(--on-hero);
}

/* ---------- buttons and store badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms var(--ease), filter 160ms var(--ease);
}

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

.btn--honey {
  background: var(--honey);
  color: var(--on-honey);
}

.btn--honey:hover {
  filter: brightness(1.05);
}

.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  min-height: 60px;
  padding: 8px 22px;
  border-radius: 16px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 160ms var(--ease);
}

.store:active {
  transform: scale(0.97);
}

.stores--light .store {
  background: var(--on-hero);
  color: var(--hero);
}

.store__small {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.75;
}

.store__big {
  direction: ltr;
  white-space: nowrap;
  text-align: start;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.store--soon {
  cursor: default;
}

.stores--light .store--soon {
  background: transparent;
  color: var(--on-hero);
  box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, 0.35);
}

.store--soon .store__small {
  color: var(--honey);
  opacity: 1;
  font-weight: 700;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--on-hero);
  background: rgba(24, 22, 20, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  transition: box-shadow 200ms var(--ease);
}

.nav.is-stuck {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}

.nav__logo {
  color: var(--on-hero);
  border-radius: 8px;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}

.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--on-hero-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms, background 150ms;
}

.nav__links a:hover {
  color: var(--on-hero);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 0;
  background: var(--hero);
  color: var(--on-hero);
  border-end-start-radius: 36px;
  border-end-end-radius: 36px;
}

.hero__sheen {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(closest-side, rgba(233, 169, 58, 0.22), rgba(233, 169, 58, 0) 70%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero__copy {
  padding-block-end: 72px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.06;
}

.hl {
  color: var(--honey);
}

.hero__lead {
  max-width: 30ch;
  margin: 22px 0 0;
  color: var(--on-hero-2);
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
}

.hero__note {
  margin: 16px 0 0;
  color: var(--on-hero-2);
  font-size: 0.875rem;
}

.hero__phones {
  position: relative;
  height: 600px;
  align-self: end;
}

/* ---------- phone frame ---------- */

.phone {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 720 / 1564;
  border: 9px solid #0c0b0a;
  border-radius: 46px;
  background: #0c0b0a;
  box-shadow: var(--shadow-phone);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 37px;
}

.hero__phones .phone {
  position: absolute;
  width: 290px;
}

.phone--front {
  inset-inline-end: 4%;
  top: 30px;
  z-index: 2;
}

.phone--back {
  inset-inline-end: 44%;
  top: 110px;
  transform: rotate(-5deg);
  opacity: 0.92;
}

.phone--solo {
  width: min(320px, 78vw);
  margin-inline: auto;
  box-shadow: 0 30px 60px -24px rgba(20, 18, 15, 0.35), 0 0 0 1px rgba(20, 18, 15, 0.06);
}

/* ---------- sections ---------- */

.section {
  padding: 112px 0;
}

.section__head {
  max-width: 720px;
  margin-block-end: 48px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.section h3 {
  font-size: 1.375rem;
  font-weight: 700;
}

/* problem */

.problem__in {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.problem__copy p:last-child {
  margin: 20px 0 0;
  color: var(--text-2);
  font-size: 1.1875rem;
  max-width: 46ch;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border-radius: var(--r);
  background: #e9e4d8;
  box-shadow: var(--shadow-card);
}

.bubble {
  align-self: flex-start;
  margin: 0;
  padding: 10px 16px;
  border-radius: 18px;
  border-start-start-radius: 6px;
  background: var(--surface);
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.bubble--me {
  align-self: flex-end;
  background: #d9f2c9;
  border-start-start-radius: 18px;
  border-start-end-radius: 6px;
}

.bubble--faded {
  align-self: center;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-2);
  font-size: 0.8125rem;
  border-radius: 999px;
}

/* ways */

.ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.way {
  padding: 30px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.way p {
  margin: 12px 0 0;
  color: var(--text-2);
}

.way__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hero);
  color: var(--on-hero);
  font-size: 0.875rem;
  font-weight: 700;
}

.way__tag--live {
  background: #e2f1e8;
  color: var(--live);
}

.way__tag--honey {
  background: var(--honey);
  color: var(--on-honey);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s var(--ease) infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(24, 119, 74, 0.45); }
  100% { box-shadow: 0 0 0 9px rgba(24, 119, 74, 0); }
}

/* feature rows */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-top: 112px;
}

.feature--flip .phone {
  order: 2;
}

.feature__copy h3 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
}

.ticks {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-block: 14px;
  padding-inline-start: 38px;
  border-bottom: 1px solid var(--hair);
  font-size: 1.125rem;
}

.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 17px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--honey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1405' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* trust (dark) */

.section--dark {
  margin-inline: 12px;
  border-radius: 36px;
  background: var(--hero);
  color: var(--on-hero);
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust__item {
  padding: 28px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.trust__item svg {
  width: 32px;
  height: 32px;
  margin-block-end: 20px;
  fill: none;
  stroke: var(--honey);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust__item h3 {
  font-size: 1.1875rem;
}

.trust__item p {
  margin: 10px 0 0;
  color: var(--on-hero-2);
  font-size: 1rem;
}

/* faq */

.faq {
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.faq details + details {
  border-top: 1px solid var(--muted);
}

.faq summary {
  position: relative;
  display: block;
  padding: 22px 28px;
  padding-inline-end: 64px;
  font-size: 1.1875rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  inset-inline-end: 28px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141311' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 220ms var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: -6px 0 0;
  padding: 0 28px 24px;
  color: var(--text-2);
  max-width: 62ch;
}

/* cta */

.cta {
  padding-top: 0;
}

.cta__card {
  position: relative;
  overflow: hidden;
  padding: 80px 32px;
  border-radius: 36px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(233, 169, 58, 0.25), rgba(233, 169, 58, 0) 60%), var(--hero);
  color: var(--on-hero);
  text-align: center;
}

.cta__card p {
  margin: 16px auto 0;
  color: var(--on-hero-2);
  font-size: 1.1875rem;
}

.cta__card .stores {
  justify-content: center;
}

/* ---------- footer ---------- */

.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--hair);
  color: var(--text-2);
  font-size: 0.9375rem;
}

.footer__in {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px 48px;
}

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

.footer__brand p {
  margin: 14px 0 0;
  max-width: 36ch;
  color: var(--text-2);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px 8px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__legal {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-size: 0.875rem;
}

/* a value that still has to be filled in (site.config.mjs / OPERATOR) */
.todo {
  padding: 1px 8px;
  border: 1.5px dashed #c98a14;
  border-radius: 6px;
  background: var(--honey-soft);
  color: var(--ink);
  font-size: 0.9em;
  font-weight: 700;
}

/* ---------- legal + contact ---------- */

.legal-hero {
  padding: 64px 0 56px;
  background: var(--hero);
  color: var(--on-hero);
  border-end-start-radius: 36px;
  border-end-end-radius: 36px;
}

.legal-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.375rem);
  font-weight: 800;
}

.legal-hero .eyebrow {
  color: var(--honey);
}

.legal-hero__meta {
  margin: 14px 0 0;
  color: var(--on-hero-2);
  font-size: 0.9375rem;
}

.legal-hero__intro {
  max-width: 60ch;
  margin: 18px 0 0;
  color: var(--on-hero-2);
  font-size: 1.125rem;
}

.legal-hero a {
  color: var(--honey);
}

.legal {
  padding: 48px 0 96px;
}

.toc {
  margin-block-end: 40px;
  padding: 24px 28px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.toc__title {
  margin: 0 0 8px;
  font-weight: 700;
}

.toc ol {
  margin: 0;
  padding-inline-start: 22px;
  columns: 2;
  column-gap: 32px;
}

.toc li {
  padding-block: 3px;
  break-inside: avoid;
}

.legal__body section {
  padding-block: 28px;
  border-bottom: 1px solid var(--hair);
}

.legal__body h2 {
  margin-block-end: 12px;
  font-size: 1.5rem;
  font-weight: 800;
}

.legal__body p,
.legal__body li {
  color: #2c2a26;
}

.legal__body ul {
  margin: 12px 0;
  padding-inline-start: 22px;
}

.legal__body li {
  padding-block: 4px;
}

.cards {
  display: grid;
  gap: 20px;
  padding: 48px 0 96px;
}

.card {
  padding: 30px;
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.card h2 {
  margin-block-end: 16px;
  font-size: 1.375rem;
  font-weight: 800;
}

.card p {
  margin: 12px 0 0;
}

.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding-block: 10px;
  border-bottom: 1px solid var(--muted);
}

.plain li:last-child {
  border-bottom: 0;
}

.plain span {
  min-width: 110px;
  color: var(--text-2);
}

/* ---------- motion ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .hero__phones .phone {
  opacity: 0;
  translate: 0 40px;
  transition: opacity 900ms var(--ease), translate 900ms var(--ease);
}

.js .hero__phones.is-in .phone {
  opacity: 1;
  translate: 0 0;
}

.js .hero__phones.is-in .phone--back {
  opacity: 0.92;
  transition-delay: 120ms;
}

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

  .js .reveal,
  .js .hero__phones .phone {
    opacity: 1;
    transform: none;
    translate: none;
    transition: opacity 200ms linear;
  }

  .dot {
    animation: none;
  }
}

/* ---------- small screens ---------- */

@media (max-width: 980px) {
  .hero__in,
  .problem__in,
  .feature {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding-block-end: 8px;
  }

  .hero__phones {
    height: 460px;
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }

  .hero__phones .phone {
    width: 220px;
  }

  .phone--front {
    inset-inline-end: 8%;
  }

  .phone--back {
    inset-inline-end: 42%;
  }

  .feature,
  .problem__in {
    gap: 40px;
  }

  .feature--flip .phone {
    order: 0;
  }

  .ways,
  .trust {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .nav__links {
    display: none;
  }

  .nav__in {
    justify-content: space-between;
    min-height: 64px;
  }

  .hero {
    padding-top: 36px;
    border-end-start-radius: 28px;
    border-end-end-radius: 28px;
  }

  .hero__phones {
    height: 400px;
  }

  .hero__phones .phone {
    width: 190px;
    border-width: 7px;
    border-radius: 34px;
  }

  .hero__phones .phone img {
    border-radius: 27px;
  }

  .phone--front {
    inset-inline-end: 2%;
  }

  .phone--back {
    inset-inline-end: 44%;
  }

  .section {
    padding: 80px 0;
  }

  .section--dark {
    margin-inline: 8px;
    border-radius: 28px;
  }

  .ways,
  .trust,
  .footer__in {
    grid-template-columns: 1fr;
  }

  .feature {
    margin-top: 80px;
  }

  .store {
    flex: 1 1 140px;
    min-width: 0;
  }

  .faq summary {
    padding: 20px;
    padding-inline-end: 56px;
    font-size: 1.0625rem;
  }

  .faq summary::after {
    inset-inline-end: 20px;
  }

  .faq details p {
    padding: 0 20px 22px;
  }

  .cta__card {
    padding: 56px 20px;
    border-radius: 28px;
  }

  .toc ol {
    columns: 1;
  }
}
