:root {
  --green: #34c759;
  --green-hover: #2fb350;
  --green-soft: rgba(52, 199, 89, 0.14);
  --bg: #f5f5f7;
  --text: #1d1d1f;
  --secondary: #6e6e73;
  --card: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  --max: 1120px;
  --header: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.hero,
.features,
.steps,
.pricing,
.cta,
.site-footer,
.legal,
.bar {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.bar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 22.5%;
  clip-path: inset(0 round 22.5%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 980px;
  background: var(--green);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.button:hover {
  background: var(--green-hover);
}

.button-small {
  min-height: 34px;
  padding: 0 14px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0 72px;
}

.hero h1,
.pricing h2,
.steps > h2,
.legal h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.lede {
  margin-top: 18px;
  font-size: 21px;
  line-height: 1.4;
  color: var(--secondary);
  max-width: 34ch;
}

.hero .button {
  margin-top: 28px;
}

.trust {
  margin-top: 12px;
  font-size: 13px;
  color: var(--secondary);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.phone-ghost {
  position: absolute;
  right: 8%;
  top: 8%;
  width: 180px;
  height: 360px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 36px;
  transform: rotate(8deg);
}

.call-banner {
  position: absolute;
  right: 6%;
  top: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  min-width: 230px;
}

.call-banner-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.call-banner-text {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--secondary);
  line-height: 1.25;
}

.call-banner-text strong {
  color: var(--text);
  font-size: 13px;
}

.mini-wave {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
  margin-left: auto;
}

.mini-wave i {
  display: block;
  width: 3px;
  background: var(--green);
  border-radius: 2px 2px 0 0;
  transform-origin: center bottom;
  animation: pulse 1.1s ease-in-out infinite;
}

.mini-wave i:nth-child(1) { height: 6px; animation-delay: 0s; }
.mini-wave i:nth-child(2) { height: 12px; animation-delay: 0.12s; }
.mini-wave i:nth-child(3) { height: 16px; animation-delay: 0.24s; }
.mini-wave i:nth-child(4) { height: 10px; animation-delay: 0.08s; }
.mini-wave i:nth-child(5) { height: 7px; animation-delay: 0.2s; }

.app-window {
  position: relative;
  z-index: 1;
  background: var(--card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}

.app-chrome {
  display: flex;
  align-items: center;
  position: relative;
  height: 38px;
  padding: 0 14px;
  background: #f3f3f5;
  border-bottom: 1px solid var(--line);
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.app-chrome .traffic {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.traffic.red { background: #ff5f57; }
.traffic.yellow { background: #febc2e; }
.traffic.green { background: #28c840; }

.app-body {
  display: grid;
  grid-template-columns: 196px 1fr;
  min-height: 330px;
}

.sidebar {
  padding: 12px 10px;
  background: #f7f7f8;
  border-right: 1px solid var(--line);
}

.search-fake {
  height: 28px;
  border-radius: 8px;
  background: #ececee;
  color: var(--secondary);
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 14px;
}

.sidebar-label {
  font-size: 11px;
  color: var(--secondary);
  margin: 0 6px 8px;
}

.row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
}

.row.selected {
  background: var(--green-soft);
}

.row strong {
  display: block;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.row small {
  display: block;
  color: var(--secondary);
  font-size: 11px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.avatar.muted {
  background: #d2d2d7;
  color: #3a3a3c;
}

.detail {
  padding: 22px 24px 18px;
}

.detail-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #ff3b30;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.detail-head .live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6);
  animation: rec 1.6s infinite;
}

.detail-head h2 {
  margin-top: 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.detail-head p {
  color: var(--secondary);
  font-size: 13px;
  margin-top: 2px;
}

.waveform {
  width: 100%;
  height: 96px;
  margin-top: 18px;
  background: #f6f6f8;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.wave-bar {
  fill: var(--green);
  transform-box: fill-box;
  transform-origin: center;
  animation: bar 1.4s ease-in-out infinite;
}

.wave-bar:nth-child(odd) { animation-delay: 0.1s; }
.wave-bar:nth-child(3n) { animation-delay: 0.22s; }
.wave-bar:nth-child(4n) { animation-delay: 0.05s; }

.transport {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 16px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}

.play::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 11px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #fff;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 12px 0 80px;
}

.features article {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  border-radius: 0;
  padding: 22px 24px 26px;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 26px 26px 28px;
}

.features h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.plan-label {
  font-size: 21px;
  letter-spacing: -0.03em;
}

.features p,
.steps p,
.plan p:last-child {
  margin-top: 8px;
  color: var(--secondary);
  font-size: 16px;
}

.steps {
  padding: 8px 0 88px;
}

.steps > h2 {
  font-size: 40px;
  margin-bottom: 36px;
}

.steps ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.steps li {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  border-radius: 0;
  padding: 16px 22px 20px;
}

.step-visual {
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: none;
  overflow: hidden;
}

.phone-app-icon {
  width: 44px;
  height: 44px;
  display: block;
}

.toggle {
  width: 66px;
  height: 40px;
  border-radius: 99px;
  background: #e5e5ea;
  position: relative;
  display: block;
  flex: none;
  line-height: 0;
  overflow: hidden;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
}

.toggle.on {
  background: var(--green);
}

.toggle.on::after {
  left: auto;
  right: 3px;
}

.step-wave {
  width: 86px;
  height: 52px;
  display: block;
  margin: 0;
}

.step-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.steps li strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 650;
  line-height: 1.2;
}

.steps li p {
  margin-top: 8px;
}

.pricing {
  text-align: center;
  padding: 8px 0 64px;
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}

.pricing .lede {
  margin-inline: auto;
  max-width: none;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
  text-align: left;
}

.plan-label {
  color: var(--secondary);
  font-size: 15px;
  font-weight: 600;
}

.plan-label-with-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-badge {
  flex: none;
  padding: 5px 9px;
  border: 1px solid rgba(52, 199, 89, 0.24);
  border-radius: 999px;
  background: var(--green-soft);
  color: #248a3d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.price {
  font-size: 56px;
  letter-spacing: -0.05em;
  font-weight: 700;
  line-height: 1.1;
  margin: 8px 0 10px;
}

.price small {
  font-size: 20px;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 80px;
}

.site-footer {
  padding: 0 0 48px;
  color: var(--secondary);
  font-size: 13px;
  text-align: center;
}

.site-footer p + p {
  margin-top: 10px;
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
}

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

.legal {
  padding: 72px 0 96px;
  max-width: 720px;
}

.legal h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

.legal h2 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.legal h3 {
  margin-top: 22px;
  margin-bottom: 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.legal p {
  color: var(--secondary);
  font-size: 17px;
  margin-top: 10px;
}

.legal .legal-kicker {
  margin: 0 0 10px;
  color: #248a3d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal .legal-lede {
  max-width: 60ch;
  color: var(--text);
  font-size: 20px;
  line-height: 1.5;
}

.legal .effective {
  margin-top: 14px;
  font-size: 14px;
}

.legal-note {
  margin: 30px 0 38px;
  padding: 18px 20px;
  border: 1px solid rgba(52, 199, 89, 0.22);
  border-radius: 14px;
  background: var(--green-soft);
  color: #236b35;
  font-size: 15px;
}

.legal-note-warning {
  border-color: rgba(255, 149, 0, 0.24);
  background: rgba(255, 149, 0, 0.1);
  color: #815100;
}

.legal ul,
.legal ol {
  margin: 12px 0 0 1.3em;
  color: var(--secondary);
  font-size: 17px;
}

.legal li {
  padding-left: 0.2em;
}

.legal li + li {
  margin-top: 8px;
}

.legal a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.legal strong {
  color: var(--text);
}

.legal-note strong {
  color: inherit;
}

.legal .legal-caps {
  color: #4f4f54;
  font-size: 15px;
  line-height: 1.55;
}

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

@keyframes rec {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 36px;
  }

  .hero-visual {
    order: 2;
    min-height: 0;
  }

  .phone-ghost,
  .call-banner {
    display: none;
  }

  .features,
  .steps ol,
  .plans {
    grid-template-columns: 1fr;
  }

  .steps > h2,
  .hero h1 {
    max-width: 12ch;
  }

  .lede {
    max-width: none;
    font-size: 18px;
  }

  .app-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero,
  .features,
  .steps,
  .pricing,
  .cta,
  .site-footer,
  .legal,
  .bar {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero .button,
  .cta .button {
    width: 100%;
  }

  .price {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mini-wave i,
  .wave-bar,
  .detail-head .live i {
    animation: none;
  }
}
