/* Home page only. Builds on site.css tokens. */

.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.kicker { margin-bottom: 2px; }
h1 em, h2 em { font-style: italic; color: var(--cocoa); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.home .hero { position: relative; overflow: hidden; padding-top: clamp(36px, 6vw, 72px); }
.home .hero::before {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  right: -220px; top: -200px;
  background: radial-gradient(closest-side, var(--rose-tint), transparent 72%);
  pointer-events: none;
}
.hero-grid { position: relative; }
.hero-copy { gap: 18px; }
.hero-copy h1 { font-size: clamp(44px, 7vw, 80px); line-height: 1.02; letter-spacing: -0.025em; }
[data-swap] { transition: opacity .25s ease, transform .25s ease; }
.swapping [data-swap] { opacity: 0; transform: translateY(6px); }

.audience {
  display: inline-flex;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 8px;
}
.audience button {
  font: 600 14px/1 var(--body);
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.audience button[aria-selected="true"] { background: var(--cocoa); color: #fff; }

/* Phone with the walk */
.phone-stage { position: relative; display: grid; place-items: center; padding: 12px 0 24px; }
.phone {
  position: relative;
  width: min(100%, 340px);
  border-radius: 46px;
  background: #23201A;
  padding: 12px;
  box-shadow: 0 40px 80px -40px rgba(90, 54, 32, 0.6), 0 2px 0 rgba(255,255,255,.08) inset;
  transform: rotate(2deg);
}
.phone-notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: #23201A; border-radius: 999px; z-index: 2; }
.phone-screen {
  background: var(--cream);
  border-radius: 36px;
  padding: 50px 14px 16px;
  display: grid;
  gap: 12px;
  min-height: 560px;
  align-content: start;
  overflow: hidden;
}
.walk-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.walk-head > div { min-width: 0; }
.walk-head img { width: 40px; height: 40px; border-radius: 12px; background: var(--sand); object-fit: contain; }
.walk-title { font-family: var(--display); font-weight: 600; font-size: 18px; white-space: nowrap; }
.walk-sub { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(46,158,99,.5); animation: pulse 1.6s infinite; }
.live-label { font: 600 11px/1 var(--body); color: var(--success); letter-spacing: .02em; }
.example-tag { font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(46,158,99,0); } 100% { box-shadow: 0 0 0 0 rgba(46,158,99,0); } }

.walk-map { width: 100%; height: auto; display: block; border-radius: 14px; }

.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 180px; align-content: start; }
.feed li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.4;
  animation: feedIn .45s cubic-bezier(.2,.8,.2,1) both;
}
.feed time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 1px; }
.feed .photo { display: block; margin-top: 6px; height: 54px; border-radius: 10px; background: var(--sand) center/contain no-repeat; }
@keyframes feedIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.done-card {
  background: var(--cocoa);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  animation: feedIn .5s cubic-bezier(.2,.8,.2,1) both;
}
.done-kicker { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.done-title { font-family: var(--display); font-size: 19px; font-weight: 600; }

.float-chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 14px 30px -18px rgba(90,54,32,.5);
  animation: bob 5s ease-in-out infinite;
}
.float-chip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); margin-right: 8px; vertical-align: 1px; }
.chip-a { top: 34%; left: -6%; }
.chip-b { bottom: 2%; right: -2%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 860px) { .float-chip { display: none; } }

/* ── Marquee ───────────────────────────────────────────────────────────── */
.marquee { border-block: 1px solid var(--line-soft); background: var(--paper); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--cocoa); white-space: nowrap; }
.marquee span:nth-child(5n) { color: var(--rose-dark); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Services explorer ─────────────────────────────────────────────────── */
.explorer { display: grid; gap: 20px; }
.explorer-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.explorer-tabs::-webkit-scrollbar { display: none; }
.explorer-tabs button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 15px/1 var(--body);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 18px 6px 6px;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.explorer-tabs button img { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); object-fit: contain; padding: 4px; }
.explorer-tabs button:hover { border-color: var(--cocoa); }
.explorer-tabs button[aria-selected="true"] { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.explorer-tabs button[aria-selected="true"] img { background: var(--rose-tint); }
.explorer-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 40px);
}
.panel-art { background: var(--sand); border-radius: var(--radius-lg); aspect-ratio: 1; display: grid; place-items: center; max-width: 100%; }
.panel-art img { width: 72%; height: auto; transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.panel-copy { display: grid; gap: 12px; align-content: start; min-width: 0; }
.panel-copy h3 { font-size: clamp(28px, 3.4vw, 40px); }
.panel-where { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-dark); }
.panel-copy p { color: var(--muted); font-size: 17px; }
.panel-copy ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.panel-copy li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.panel-copy li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--rose-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C4A2D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.explorer.changing .panel-art img { transform: scale(.9) rotate(-4deg); opacity: 0; }
@media (max-width: 760px) {
  .explorer-panel { grid-template-columns: minmax(0, 1fr); }
  .panel-art { width: 100%; max-width: 280px; justify-self: center; }
}


/* ── Postcards ─────────────────────────────────────────────────────────── */
.postcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .postcards { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin: 0 auto; } }
.pcard {
  all: unset;
  cursor: pointer;
  perspective: 1200px;
  transform: rotate(var(--tilt));
  transition: transform .3s ease;
  display: block;
  -webkit-tap-highlight-color: transparent;
}
.pcard:hover { transform: rotate(0) translateY(-6px); }
.pcard:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 6px; border-radius: 22px; }
.pcard-inner { display: grid; transition: transform .7s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.pcard[aria-pressed="true"] .pcard-inner { transform: rotateY(180deg); }
.pcard-front, .pcard-back {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 24px 48px -32px rgba(90,54,32,.55);
  display: grid;
  gap: 6px;
  align-content: start;
}
.pcard-back { transform: rotateY(180deg); background: #FFFDF8; align-content: center; gap: 14px; padding: 22px; position: relative; }
.pcard-art { background: var(--sand); border-radius: 14px; aspect-ratio: 4/3; display: grid; place-items: center; }
.pcard-art img { width: 46%; height: auto; }
.pcard-title { font-family: var(--display); font-size: 20px; font-weight: 600; padding-top: 6px; }
.pcard-meta { font-size: 13px; color: var(--muted); }
.pcard-back svg { width: 100%; height: auto; max-height: 110px; }
.pcard-note { font-family: var(--display); font-style: italic; font-size: 17px; line-height: 1.4; }
.stamp {
  justify-self: end;
  font: 600 11px/1 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-dark);
  border: 2px solid var(--rose-dark);
  border-radius: 6px;
  padding: 6px 8px;
  transform: rotate(-6deg);
}

/* ── Trust ─────────────────────────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }
.trust-item { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 10px; align-content: start; }
.trust-item svg { width: 34px; height: 34px; fill: none; stroke: var(--cocoa); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; background: var(--rose-tint); border-radius: 12px; padding: 6px; }
.trust-item p { color: var(--muted); font-size: 15px; }

/* ── Providers + calculator ────────────────────────────────────────────── */
.provider-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.provider-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; }
.provider-points li::before { content: ""; width: 10px; height: 10px; margin: 8px 0 0 4px; border-radius: 50%; background: var(--rose); }
.calc {
  background: var(--cocoa);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 22px;
  box-shadow: 0 40px 80px -48px rgba(90,54,32,.8);
}
.calc-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-tint); }
.calc-field { display: grid; gap: 10px; }
.calc-field label { color: #fff; font-size: 15px; font-weight: 500; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 16px; align-items: center; }
.calc output { font-family: var(--display); font-size: 24px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.25); outline: none; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--rose-tint); border: 3px solid #fff; cursor: pointer; }
.calc input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--rose-tint); border: 3px solid #fff; cursor: pointer; }
.calc input[type="range"]:focus-visible { box-shadow: 0 0 0 3px rgba(246,222,218,.6); }
.calc-result { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; display: grid; gap: 4px; }
.calc-label { color: var(--rose-tint); font-size: 15px; }
.calc-amount { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6vw, 60px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc-per { font-size: 20px; opacity: .8; }
.calc-fine { font-size: 13px; color: rgba(255,255,255,.72); }

/* ── Waitlist extras ───────────────────────────────────────────────────── */
.join-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.join-points li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink); }
.join-points li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--rose-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C4A2D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.success-card {
  background: var(--cream);
  border: 1px dashed var(--rose-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 12px;
  animation: feedIn .5s cubic-bezier(.2,.8,.2,1) both;
}
.success-card h3 { font-size: 28px; }
.success-card p { color: var(--muted); }
.stamp-big { justify-self: start; font-size: 13px; padding: 8px 12px; animation: stampIn .5s cubic-bezier(.2,1.4,.4,1) .15s both; }
@keyframes stampIn { from { transform: rotate(-6deg) scale(1.8); opacity: 0; } to { transform: rotate(-6deg) scale(1); opacity: 1; } }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.share-msg { font-size: 14px; color: var(--success); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .float-chip, .live-dot { animation: none; }
  .feed li, .done-card, .success-card, .stamp-big { animation: none; }
  .pcard-inner, [data-swap], .panel-art img { transition: none; }
}
#providers .btn-lg { margin-top: 8px; }

/* Slogan and roadmap note */
.more-soon { margin-top: 4px; color: var(--muted); font-size: 15px; }
.more-soon strong { color: var(--ink); font-weight: 600; }
.footer-brand { display: grid; gap: 6px; }
.footer-brand .brand { font-size: 20px; }
.footer-slogan { font-family: var(--display); font-style: italic; font-size: 17px; color: var(--cocoa); }
