/* HereToReply — site styles. Mobile-first. */

:root {
  --ink: #0b1f1a;
  --ink-soft: #3d524c;
  --muted: #6b7f79;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #e4e0d5;
  --brand: #0e8f6e;
  --brand-dark: #0a6f56;
  --brand-tint: #e3f4ee;
  --amber: #ffb23e;
  --danger: #b3261e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 31, 26, 0.06), 0 12px 32px -12px rgba(11, 31, 26, 0.18);
  --wrap: 1240px;
  --gutter: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.45rem, 9.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 5.4vw, 2.85rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 64px;
}

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

.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(14, 143, 110, 0.7);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

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

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

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo img {
  width: 34px;
  height: 34px;
}

.nav {
  display: none;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.header-cta {
  flex: none;
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.92rem;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .header-row {
    gap: 10px;
  }

  .logo {
    font-size: 1.02rem;
    gap: 8px;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    min-height: 40px;
    padding: 8px 13px;
    font-size: 0.84rem;
  }
}

@media (max-width: 340px) {
  .logo {
    font-size: 0.95rem;
  }

  .header-cta {
    padding: 8px 10px;
    font-size: 0.78rem;
  }
}

/* Hero */

.hero {
  position: relative;
  padding-block: 40px 56px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  inset-inline-end: -260px;
  top: -200px;
  background: radial-gradient(circle, rgba(14, 143, 110, 0.2), rgba(14, 143, 110, 0) 65%);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  to {
    transform: translate(-40px, 50px) scale(1.08);
  }
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
}

.hero-copy h1 {
  margin-bottom: 0.45em;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero-copy .lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 32em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 56px;
  padding: 14px 26px;
  font-size: 1.05rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-points svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-dark);
}

.hero-facts {
  display: none;
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  display: grid;
  gap: 2px;
}

.hero-facts strong {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-facts span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 143, 110, 0.55);
  }
  100% {
    box-shadow: 0 0 0 10px rgba(14, 143, 110, 0);
  }
}

/* iPhone and chat demo */

.hero-demo {
  display: flex;
  flex-direction: column;
}

/* Above the phone on small screens, below it on desktop (see the 960px rules). */
.demo-tabs {
  order: -1;
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 18px;
}

.demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 0.8rem;
  white-space: nowrap;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.demo-tab .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c);
}

.demo-tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.iphone {
  position: relative;
  width: min(100%, 292px);
  aspect-ratio: 393 / 852;
  margin-inline: auto;
  padding: 10px;
  background: #0d0f10;
  border-radius: 52px;
  box-shadow:
    0 0 0 2px #2b2f31,
    0 40px 70px -28px rgba(11, 31, 26, 0.6);
}

/* Side buttons */
.iphone::before,
.iphone::after {
  content: "";
  position: absolute;
  width: 4px;
  background: #2b2f31;
  border-radius: 2px;
}

.iphone::before {
  left: -5px;
  top: 21%;
  height: 9%;
  box-shadow: 0 64px 0 #2b2f31;
}

.iphone::after {
  right: -5px;
  top: 27%;
  height: 13%;
}

.iphone-screen {
  position: relative;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--chat-bg, #ece5da);
  transition: background-color 0.3s ease;
}

.iphone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 31%;
  height: 26px;
  transform: translateX(-50%);
  background: #0d0f10;
  border-radius: 999px;
  z-index: 3;
}

.statusbar {
  flex: none;
  height: 46px;
  padding: 0 26px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--head-fg, #fff);
  background: var(--head-bg, var(--brand-dark));
  transition: background-color 0.3s ease, color 0.3s ease;
}

.statusbar svg {
  width: 44px;
  height: 12px;
}

.chat-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 10px;
  background: var(--head-bg, var(--brand-dark));
  color: var(--head-fg, #fff);
  border-bottom: 1px solid var(--head-line, transparent);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.chat-avatar {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--avatar-bg, rgba(255, 255, 255, 0.2));
  color: var(--avatar-fg, #fff);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.chat-name {
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.chat-status {
  font-size: 0.72rem;
  opacity: 0.8;
}

.chat-body {
  flex: 1;
  min-height: 0;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  overflow: hidden;
}

.composer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 22px;
  background: var(--composer-bg, #f4f1ea);
}

.composer span {
  flex: 1;
  height: 34px;
  padding-inline: 14px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.8rem;
  color: #9aa3a0;
}

.composer i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent, var(--brand));
  color: #fff;
  display: grid;
  place-items: center;
}

.composer i svg {
  width: 17px;
  height: 17px;
  margin-left: 2px;
}

.home-bar {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 34%;
  height: 4px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.45);
}

.bubble {
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 16px;
  font-size: 0.84rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.bubble-in {
  align-self: flex-start;
  background: var(--in-bg, #fff);
  color: var(--in-fg, var(--ink));
  border-bottom-left-radius: 5px;
}

.bubble-out {
  align-self: flex-end;
  background: var(--out-bg, #d9fdd3);
  color: var(--out-fg, var(--ink));
  border-bottom-right-radius: 5px;
}

.bubble[dir="rtl"] {
  font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Naskh Arabic", "Geeza Pro", serif;
  font-size: 0.86rem;
  line-height: 2.1;
  padding-block: 4px 8px;
}

.bubble-voice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 190px;
}

.voice-play {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent, var(--brand));
  display: grid;
  place-items: center;
}

.voice-play::before {
  content: "";
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.voice-wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}

.voice-wave b {
  flex: 1;
  border-radius: 2px;
  background: #9aa7a2;
  height: calc(var(--h) * 1%);
}

/* The note "plays" briefly when it arrives, then rests like a received voice note. */
.bubble-voice.is-playing .voice-wave b {
  animation: wave 0.9s ease-in-out 2;
  animation-delay: calc(var(--i) * 45ms);
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.55);
  }
}

.voice-time {
  flex: none;
  font-size: 0.7rem;
  color: var(--muted);
}

/* Time and read ticks inside a WhatsApp bubble. */
.bubble .meta {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 7px 0 -3px 10px;
  font-size: 0.62rem;
  line-height: 1;
  color: #667781;
}

.bubble-voice .meta {
  float: none;
  align-self: flex-end;
  margin: 0 0 -2px 2px;
}

.ticks {
  width: 15px;
  height: 10px;
  color: #8696a0;
  transition: color 0.3s ease;
}

.ticks.is-read {
  color: #53bdeb;
}

/* "Seen" line under the latest reply on Instagram and Messenger. */
.chat-seen {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: -2px;
  font-size: 0.66rem;
  color: #8e8e8e;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chat-seen.is-in {
  opacity: 1;
}

.chat-seen i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--avatar-bg);
  color: #fff;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.typing {
  align-self: flex-end;
  display: inline-flex;
  gap: 4px;
  padding: 11px 13px;
  background: var(--out-bg, #d9fdd3);
  border-radius: 16px;
  border-bottom-right-radius: 5px;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--typing, #5c8f80);
  animation: blink 1.1s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Channel themes for the demo */

.iphone[data-channel="whatsapp"] {
  --chat-bg: #ece5da;
  --head-bg: #0a6f56;
  --head-fg: #fff;
  --out-bg: #d9fdd3;
  --accent: #0e8f6e;
}

.iphone[data-channel="instagram"] {
  --chat-bg: #fff;
  --head-bg: #fff;
  --head-fg: #111;
  --head-line: #ececec;
  --avatar-bg: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
  --in-bg: #efefef;
  --out-bg: linear-gradient(160deg, #a033ff, #3797f0);
  --out-fg: #fff;
  --typing: #fff;
  --composer-bg: #fff;
  --accent: #3797f0;
}

.iphone[data-channel="messenger"] {
  --chat-bg: #fff;
  --head-bg: #fff;
  --head-fg: #111;
  --head-line: #ececec;
  --avatar-bg: #0084ff;
  --in-bg: #f0f0f0;
  --out-bg: #0084ff;
  --out-fg: #fff;
  --typing: #fff;
  --composer-bg: #fff;
  --accent: #0084ff;
}

.demo-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Works-with section */

.works {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding-block: 56px;
}

.works-group + .works-group {
  margin-top: 28px;
}

.works-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.works-grid {
  display: grid;
  gap: 12px;
}

.works-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.works-card:hover {
  transform: translateY(-3px);
  border-color: var(--c);
  box-shadow: var(--shadow);
}

.works-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--c);
  color: #fff;
  display: grid;
  place-items: center;
}

.works-icon svg {
  width: 30px;
  height: 30px;
}

.works-card strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}

.works-card span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.works-card .state {
  margin-inline-start: auto;
  flex: none;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-dark);
}

.works-card .state.soon {
  background: #fff1d6;
  color: #8a5a00;
}

/* Cards and grids */

.grid {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.feature {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 16px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature .icon {
  grid-row: span 2;
  margin-bottom: 0;
}

.feature h3 {
  margin-bottom: 4px;
  align-self: end;
}

.feature p {
  font-size: 0.95rem;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tag-soon {
  display: inline-block;
  margin-inline-start: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a5a00;
  background: #fff1d6;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
}

/* Problem section */

.problem {
  background: var(--ink);
  color: #f2f6f4;
}

.problem .eyebrow {
  color: var(--amber);
}

.problem .section-head p {
  color: #b9c9c3;
}

.problem .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.problem .card p {
  color: #b9c9c3;
}

.problem .big {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 10px;
}

/* Steps */

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 62px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 22px;
  inset-inline-start: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* Control section */

.control {
  background: var(--brand-tint);
}

.control-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}

.checks svg {
  width: 22px;
  height: 22px;
  color: var(--brand-dark);
  margin-top: 3px;
}

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

.handoff-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-block: 12px;
  border-bottom: 1px dashed var(--line);
}

.handoff-row:last-child {
  border-bottom: 0;
}

.handoff-badge {
  flex: none;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.badge-bot {
  background: var(--brand-tint);
  color: var(--brand-dark);
}

.badge-you {
  background: #fff1d6;
  color: #8a5a00;
}

.handoff-row p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* Pricing */

.pricing-panel {
  display: grid;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.pricing-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.pricing-panel li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
}

.pricing-panel li svg {
  width: 22px;
  height: 22px;
  color: var(--brand-dark);
  margin-top: 3px;
}

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

/* FAQ */

.faq {
  max-width: 780px;
}

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

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-weight: 700;
  position: relative;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  color: var(--ink-soft);
  padding-bottom: 18px;
  margin: 0;
}

/* Waitlist */

.waitlist {
  background: var(--ink);
  color: #f2f6f4;
}

.waitlist .eyebrow {
  color: var(--amber);
}

.waitlist-grid {
  display: grid;
  gap: 32px;
}

.waitlist-copy p {
  color: #b9c9c3;
}

.form {
  background: var(--surface);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px 20px;
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
}

.field .hint {
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 143, 110, 0.16);
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  align-items: start;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-msg {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-msg.is-error {
  color: var(--danger);
}

.form-msg.is-ok {
  color: var(--brand-dark);
}

.form-done {
  text-align: center;
  padding: 20px 8px;
}

.form-done .icon {
  margin-inline: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/* Footer */

.site-footer {
  background: #071411;
  color: #9fb3ac;
  padding-block: 40px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.site-footer a {
  color: #d7e3df;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .logo {
  color: #fff;
  margin-bottom: 10px;
}

/* Legal and simple pages */

.page {
  padding-block: 48px 72px;
}

.prose {
  max-width: 760px;
}

.prose h1 {
  font-size: clamp(1.9rem, 6vw, 2.75rem);
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-inline-start: 1.2em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose .meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  background: #fff1d6;
  border: 1px solid #f0d49a;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: #5a3b00;
  font-size: 0.95rem;
}

.table-wrap {
  overflow-x: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  text-align: start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--d, 0ms);
}

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

.no-js .reveal,
.no-js .bubble {
  opacity: 1;
  transform: none;
}

/* Larger screens */

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }

  .section {
    padding-block: 96px;
  }

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

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

  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .works {
    padding-block: 72px;
  }

  .form {
    padding: 32px;
  }

  .pricing-panel {
    grid-template-columns: 1fr 1fr;
    padding: 40px;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

@media (min-width: 960px) {
  .nav {
    display: flex;
    gap: 28px;
  }

  .hero {
    padding-block: 40px 56px;
    min-height: min(900px, calc(100vh - 64px));
    display: flex;
    align-items: center;
  }

  .hero-facts {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 64px;
  }

  .hero-copy .lede {
    font-size: 1.3rem;
  }

  .hero-points {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 10px 24px;
  }

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

  .feature {
    display: block;
    padding: 24px;
  }

  .feature .icon {
    margin-bottom: 16px;
  }

  .feature h3 {
    margin-bottom: 0.5em;
  }

  .demo-tabs {
    order: 0;
    margin: 22px 0 0;
  }

  /* Sized from the viewport height so the whole phone fits above the fold. */
  .iphone {
    width: clamp(240px, calc((100vh - 250px) * 0.461), 340px);
  }

  .bubble {
    font-size: 0.92rem;
  }

  .bubble[dir="rtl"] {
    font-size: 0.95rem;
  }

  .control-grid,
  .waitlist-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .bubble {
    opacity: 1;
    transform: none;
  }
}
