/* KitchenDrop marketing site. Depends on brand.css. */

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

body {
  overflow-x: hidden;
}

/* ============ Navigation ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.nav .kd-logo {
  font-size: 1.02rem;
  color: #eef1f7;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 0.89rem;
  font-weight: 500;
  color: rgba(238, 241, 247, 0.72);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

.nav-links a:hover {
  color: #eef1f7;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav .btn-ghost-light {
  padding: 0.55em 0.9em;
  border: 1px solid rgba(238, 241, 247, 0.22);
  border-radius: var(--r-sm);
  background: transparent;
  color: #eef1f7;
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.nav .btn-ghost-light:hover {
  background: rgba(238, 241, 247, 0.1);
  border-color: rgba(238, 241, 247, 0.4);
}

/* Once past the dark hero the bar has to earn its own background. */
.nav.docked {
  background: var(--veil);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav.docked .kd-logo,
.nav.docked .nav-links a:hover {
  color: var(--fg);
}

.nav.docked .nav-links a {
  color: var(--fg-2);
}

.nav.docked .btn-ghost-light {
  border-color: var(--line-strong);
  color: var(--fg);
}

.nav.docked .btn-ghost-light:hover {
  background: var(--surface-2);
}

/* ============ Hero ============ */

.hero {
  position: relative;
  margin-top: -68px;
  padding-top: 68px;
  background: #101828;
  color: #eef1f7;
  overflow: hidden;
  isolation: isolate;
}

/* Photo bleeds off the right edge and dissolves into the ink. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 46%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #101828 4%, rgba(16, 24, 40, 0.95) 26%,
      rgba(16, 24, 40, 0.62) 52%, rgba(16, 24, 40, 0.5) 72%, rgba(16, 24, 40, 0.8) 100%),
    linear-gradient(#101828 -10%, transparent 22%);
}

/* Fine grain so the flat ink doesn't read as a CSS rectangle. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 48px;
  align-items: center;
  padding: 84px 0 96px;
}

.hero-copy {
  max-width: 34em;
}

.hero .eyebrow {
  color: var(--brand-strong);
  color: #f5a34a;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  letter-spacing: -0.028em;
  line-height: 1.02;
}

.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 8, "WONK" 1;
  color: #f5a34a;
  /* Italic serif needs the side bearing back or it welds to the next word. */
  padding-right: 0.07em;
}

.hero-lead {
  max-width: 46ch;
  font-size: 1.09rem;
  line-height: 1.6;
  color: rgba(238, 241, 247, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 18px;
}

.hero-actions .btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: #eef1f7;
  --btn-line: rgba(238, 241, 247, 0.28);
}

.hero-actions .btn-outline-light:hover {
  background: rgba(238, 241, 247, 0.09);
  border-color: rgba(238, 241, 247, 0.5);
}

.hero-note {
  font-size: 0.85rem;
  color: rgba(238, 241, 247, 0.5);
}

/* ============ Message thread mock ============ */

.thread {
  width: 100%;
  max-width: 372px;
  /* Sits low in the column so the cook's face in the hero clip stays clear. */
  margin: 120px 0 0 auto;
  padding: 14px;
  border-radius: var(--r-xl);
  background: rgba(25, 32, 52, 0.72);
  border: 1px solid rgba(238, 241, 247, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 32px 70px -20px rgba(0, 0, 0, 0.8);
}

.thread-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid rgba(238, 241, 247, 0.1);
  margin-bottom: 12px;
}

.thread-head img {
  width: 26px;
  height: 26px;
}

.thread-head strong {
  font-size: 0.86rem;
  font-weight: 600;
  color: #eef1f7;
}

.thread-head span {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(238, 241, 247, 0.45);
}

.thread-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  max-width: 84%;
  padding: 0.55em 0.75em;
  border-radius: 14px;
  font-size: 0.855rem;
  line-height: 1.45;
}

.msg time {
  display: block;
  margin-top: 3px;
  font-size: 0.66rem;
  letter-spacing: 0.01em;
  opacity: 0.55;
}

.msg-out {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.msg-in {
  align-self: flex-start;
  background: rgba(238, 241, 247, 0.1);
  color: rgba(238, 241, 247, 0.92);
  border-bottom-left-radius: 5px;
}

.msg-media {
  padding: 5px;
  width: 62%;
}

.msg-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.msg-media p {
  padding: 6px 5px 2px;
}

.msg-caption {
  display: block;
  margin: 7px 0;
  padding: 0.5em 0.6em;
  border-left: 2px solid var(--brand);
  border-radius: 0 6px 6px 0;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(238, 241, 247, 0.82);
}

.msg-typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  padding: 0.75em;
  border-radius: 14px;
  border-bottom-left-radius: 5px;
  background: rgba(238, 241, 247, 0.1);
}

.msg-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(238, 241, 247, 0.55);
  animation: kd-typing 1.3s var(--ease) infinite;
}

.msg-typing i:nth-child(2) { animation-delay: 0.18s; }
.msg-typing i:nth-child(3) { animation-delay: 0.36s; }

@keyframes kd-typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* ============ Facts strip ============ */

.facts {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.facts-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: 26px 28px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  border-left: none;
  padding-left: 0;
}

.fact b {
  display: block;
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums lining-nums;
}

.fact span {
  font-size: 0.85rem;
  color: var(--fg-2);
  line-height: 1.45;
}

/* ============ Thesis ============ */

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.thesis-col {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

/* Ours carries the same brand ring the highlighted pricing card uses, so the
   two "this is the one" signals on the page read as the same language. */
.thesis-col.is-ours {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--brand), var(--shadow-2);
}

.thesis-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 10px;
}

.thesis-col.is-ours .thesis-tag {
  color: var(--brand);
}

.thesis-col h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
  margin-bottom: 16px;
}

.thesis-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  padding: 0;
}

.thesis-col li {
  position: relative;
  padding-left: 17px;
  font-size: 0.86rem;
  color: var(--fg-2);
  line-height: 1.5;
}

/* A dash for the alternatives, a filled dot for ours — a fair contrast rather
   than crosses against ticks. */
.thesis-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--fg-4);
}

.thesis-col.is-ours li::before {
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.thesis-foot {
  max-width: 64ch;
  margin: 30px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-2);
}

@media (max-width: 900px) {
  .thesis-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
}

/* ============ Generic section ============ */

.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 34ch;
  margin-bottom: 52px;
}

.section-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.95rem, 3.5vw, 2.65rem);
  letter-spacing: -0.022em;
}

.section-head p {
  font-size: 1.04rem;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 46ch;
}

/* ============ Steps ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.step {
  padding: 30px 28px 34px;
  background: var(--bg);
}

.step-n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 9px;
}

.step p {
  font-size: 0.92rem;
  color: var(--fg-2);
  line-height: 1.6;
}

.step p + p {
  margin-top: 0.7em;
}

.step code {
  font-family: var(--mono);
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--surface-3);
  color: var(--fg);
}

/* ============ Anatomy ============ */

.anatomy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.phone {
  width: 100%;
  max-width: 288px;
  margin: 0 auto;
  padding: 9px;
  border-radius: 38px;
  background: #0d120e;
  box-shadow: var(--shadow-3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.5;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
}

.phone-screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  border-radius: var(--r-pill);
  background: #0d120e;
  z-index: 3;
}

/* The overlays the renderer actually burns in: location tag + word captions. */
.burn-tag {
  position: absolute;
  top: 46px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
}

.burn-tag svg {
  width: 11px;
  height: 11px;
}

.burn-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 62px;
  z-index: 2;
  padding: 0 18px;
  text-align: center;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.burn-caption mark {
  background: #f2c94c;
  color: #101828;
  padding: 0 0.14em;
  border-radius: 3px;
}

.phone-scrim {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  z-index: 1;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.anatomy-list {
  list-style: none;
  counter-reset: anat;
}

.anatomy-list li {
  position: relative;
  padding: 20px 0 20px 46px;
  border-top: 1px solid var(--line);
  counter-increment: anat;
}

.anatomy-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.anatomy-list li::before {
  content: counter(anat, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--brand);
}

.anatomy-list h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.anatomy-list p {
  font-size: 0.91rem;
  color: var(--fg-2);
  line-height: 1.6;
}

/* ============ Reel wall ============ */

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

.wall figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-2);
  transition: transform 0.3s var(--ease);
}

.wall figure:hover {
  transform: translateY(-5px);
}

.wall img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
}

.wall figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 34px 14px 13px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
}

.wall figcaption b {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.35;
}

.wall figcaption span {
  font-size: 0.74rem;
  opacity: 0.66;
}

/* ============ Controls preview ============ */

.controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
}

.control-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
}

.control-card > .eyebrow {
  display: block;
  margin-bottom: 16px;
}

.voice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.voice-row:last-of-type {
  border-bottom: none;
}

.voice-row b {
  font-size: 0.92rem;
  font-weight: 600;
}

.voice-row span {
  display: block;
  font-size: 0.82rem;
  color: var(--fg-3);
}

.control-list {
  list-style: none;
}

.control-list li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  font-size: 0.96rem;
  color: var(--fg-2);
  line-height: 1.55;
}

.control-list svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  flex: none;
  color: var(--brand);
}

.control-list b {
  color: var(--fg);
  font-weight: 600;
}

/* ============ FAQ ============ */

.faq {
  max-width: 760px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  width: 11px;
  height: 11px;
  flex: none;
  border-right: 1.8px solid var(--fg-3);
  border-bottom: 1.8px solid var(--fg-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq details p {
  padding: 0 0 22px;
  max-width: 62ch;
  font-size: 0.96rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ============ Closing CTA ============ */

.closer {
  position: relative;
  isolation: isolate;
  padding: 104px 0;
  background: #101828;
  color: #eef1f7;
  overflow: hidden;
  text-align: center;
}

.closer img.bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.closer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 45%, rgba(16, 24, 40, 0.3), rgba(16, 24, 40, 0.88) 72%, #101828 100%);
}

.closer h2 {
  max-width: 17ch;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
}

.closer p {
  max-width: 44ch;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  color: rgba(238, 241, 247, 0.72);
}

.closer .hero-actions {
  justify-content: center;
}

/* ============ Footer ============ */

.foot {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.foot .kd-logo {
  font-size: 0.95rem;
  margin-right: auto;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.foot a {
  font-size: 0.87rem;
  color: var(--fg-2);
  text-decoration: none;
}

.foot a:hover {
  color: var(--fg);
}

.foot small {
  width: 100%;
  font-size: 0.8rem;
  color: var(--fg-3);
}

/* ============ Responsive ============ */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 60px 0 72px;
  }

  .hero-photo {
    inset: 0;
    opacity: 0.62;
  }

  .hero-photo::after {
    background: linear-gradient(180deg, rgba(16, 24, 40, 0.45) 0%,
      rgba(16, 24, 40, 0.72) 42%, #101828 92%);
  }

  .hero-copy {
    max-width: none;
  }

  .thread {
    margin: 0 auto;
  }

  .anatomy,
  .controls {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .facts-inner {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 20px 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .fact:first-child {
    border-top: none;
  }

  .closer {
    padding: 76px 0;
  }
}

@media (max-width: 620px) {
  .nav .btn-ghost-light {
    display: none;
  }

  .nav-inner {
    gap: 12px;
  }

  .nav .kd-logo b {
    font-size: 1em;
  }

  .nav-cta .btn {
    padding: 0.5em 0.8em;
    font-size: 0.84rem;
  }
}

@media (max-width: 460px) {
  .wall {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .pricing-card {
    padding: 28px 20px;
  }
}

/* ============ Pricing Grid ============ */

/* Cards sit on a shared four-row track — name, price, features, CTA — so those
   rows line up across all three columns however long the copy runs. */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0;
}

.pricing-card {
  position: relative;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  gap: 0;
  padding: 30px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

/* Older engines without subgrid: fall back to a plain column. Rows won't align
   across cards, but nothing overlaps and the CTA still sits at the bottom. */
@supports not (grid-template-rows: subgrid) {
  .pricing-grid {
    grid-template-rows: none;
  }

  .pricing-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .pricing-card .pricing-features {
    flex: 1;
  }
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

/* A ring rather than a thicker border, so the highlighted card stays exactly
   the same size as its neighbour and the two sets of rows keep their baseline. */
.pricing-card.highlighted {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--brand), var(--shadow-2);
}

.pricing-card.highlighted:hover {
  box-shadow: 0 0 0 2px var(--brand), var(--shadow-3);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 24px;
  transform: translateY(-50%);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 2px 8px -3px rgba(196, 72, 27, 0.35);
}

[data-theme="dark"] .pricing-badge {
  color: #101828;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.pricing-sub {
  font-size: 0.92rem;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0;
  max-width: 34ch;
}

/* ---- Price ---- */

.pricing-price-block {
  padding: 22px 0 20px;
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin: 0;
  font-family: var(--display);
  color: var(--fg);
  font-variant-numeric: tabular-nums lining-nums;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--fg-2);
  align-self: flex-start;
  margin-top: 0.35em;
}

.pricing-price .amount {
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-price .period {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg-3);
  margin-left: 6px;
}

.pricing-unit {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--fg-3);
}

.pricing-unit b {
  font-weight: 600;
  color: var(--fg-2);
}

/* ---- Feature list ---- */

.pricing-features {
  padding-top: 22px;
}

.features-label {
  margin: 0 0 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* A bare, thin checkmark — no badge, no fill. The CSS stroke-width wins over
   the stroke-width="3" attribute the markup carries. */
.check-icon {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 4px;
  color: var(--fg-3);
  stroke-width: 2;
}

.feature-item b {
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.005em;
}

.feature-item span {
  display: block;
  margin-top: 2px;
  font-size: 0.83rem;
  color: var(--fg-3);
  line-height: 1.45;
}

/* Platform chips share one neutral chrome — the platform's own logo, on a
   fixed-white badge, carries the identity so it stays legible in dark mode
   even for a mark (TikTok) that's pure black. */
.social-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  list-style: none;
  padding: 0;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--fg-2);
  font-size: 0.73rem;
  font-weight: 500;
  white-space: nowrap;
}

.social-pill img {
  width: 15px;
  height: 15px;
  flex: none;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* ---- CTA ---- */

.pricing-cta {
  padding-top: 26px;
}

/* ---- Shared assurances strip ---- */

.pricing-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  max-width: 1000px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-assurances li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--fg-3);
}

.pricing-assurances svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--brand);
}

/* Four columns squeeze sooner than three did. Below this there isn't room for a
   card to hold a feature list without going narrow and ragged, so stack instead. */
@media (max-width: 1180px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    max-width: 520px;
    gap: 32px;
  }

  /* One column: rows have nothing to align against, so drop the subgrid. */
  .pricing-card {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }

  .pricing-assurances {
    gap: 10px 20px;
  }
}


/* ============ Video ============ */

/* Every clip on the page is muted and loops; the poster stands in until it
   plays, and stays if the browser refuses autoplay (low-power mode, data
   saver), so a stalled clip is a still rather than a black box. */
.clip {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #000;
}

.hero-photo .clip {
  height: 100%;
  object-position: 58% 46%;
}

.msg-media .clip {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
}

.phone-screen > .clip {
  height: 100%;
}

.wall .clip {
  aspect-ratio: 9 / 14;
}

.closer .clip.bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  opacity: 0.52;
}

/* ============ Formats ============ */

.section-dark {
  background: #101828;
  color: #eef1f7;
  border-block: 1px solid rgba(238, 241, 247, 0.08);
}

.section-dark .section-head p {
  color: rgba(238, 241, 247, 0.72);
}

.formats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.format {
  margin: 0;
}

.phone-sm {
  max-width: 232px;
  padding: 7px;
  border-radius: 32px;
}

.phone-sm .phone-screen {
  border-radius: 26px;
}

.phone-sm .burn-caption {
  bottom: 40px;
  font-size: 0.92rem;
}

.format figcaption {
  max-width: 232px;
  margin: 18px auto 0;
}

.format figcaption b {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.format figcaption span {
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(238, 241, 247, 0.66);
}

.formats-foot {
  max-width: 64ch;
  margin: 48px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(238, 241, 247, 0.72);
}

/* ============ Stills ============ */

.stills {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.stills .section-head {
  margin-bottom: 0;
}

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

.stills-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-2);
}

/* ============ Reveal on scroll ============ */

/* Only once the script has run: without it every section is simply visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.js .reveal:nth-child(2) { transition-delay: 0.09s; }
.js .reveal:nth-child(3) { transition-delay: 0.18s; }
.js .reveal:nth-child(4) { transition-delay: 0.27s; }
.js .reveal:nth-child(5) { transition-delay: 0.36s; }
.js .reveal:nth-child(6) { transition-delay: 0.45s; }

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

@media (max-width: 980px) {
  .formats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }

  .stills {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 460px) {
  .formats {
    gap: 28px 14px;
  }

  .phone-sm .burn-caption {
    font-size: 0.72rem;
    bottom: 28px;
  }

  .stills-grid {
    gap: 8px;
  }
}
