:root {
  --white: #ffffff;
  --gray: #f5f5f7;
  --gray-2: #e8e8ed;
  --hairline: #d2d2d7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --flag: #bf4800;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.07;
}

h3 {
  font-weight: 600;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

svg {
  display: block;
}

.container {
  width: min(var(--container), 100% - 44px);
  margin-inline: auto;
}

.container--narrow {
  width: min(760px, 100% - 44px);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 11px 22px;
  border-radius: 980px;
  border: 1px solid transparent;
  font: 400 17px/1.18 var(--font);
  letter-spacing: -0.022em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-hover);
}

.btn--outline {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--sm {
  padding: 4px 12px;
  font-size: 12px;
  letter-spacing: -0.01em;
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 245, 247, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav__inner {
  width: min(var(--container), 100% - 44px);
  height: 48px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-inline: auto;
}

.nav__links a {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: -0.01em;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav__links a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  gap: 2px;
}

.lang button {
  border: 0;
  background: none;
  padding: 4px 6px;
  font: 400 12px/1 var(--font);
  color: var(--ink-3);
  cursor: pointer;
  border-radius: 6px;
}

.lang button:hover {
  color: var(--ink);
}

.lang button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 600;
}

/* Hero */

.hero {
  padding: 48px 0 0;
  text-align: center;
  overflow-x: clip;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__sub {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.33;
  color: var(--ink-2);
  letter-spacing: 0.009em;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__stage {
  position: relative;
  width: min(760px, 100%);
  margin: 48px auto 0;
  height: 650px;
}

.device {
  position: absolute;
  left: 50%;
  top: 0;
  width: 300px;
  height: 610px;
  transform: translateX(-50%);
  padding: 11px;
  border-radius: 54px;
  background: #1d1d1f;
  box-shadow:
    inset 0 0 0 1.5px #3a3a3c,
    0 40px 80px -30px rgba(0, 0, 0, 0.35);
}

.device__screen {
  position: relative;
  height: 100%;
  border-radius: 44px;
  background:
    radial-gradient(120% 60% at 50% 0%, #3a3a3e 0%, transparent 70%),
    linear-gradient(#26262a, #101012);
  color: var(--white);
  overflow: hidden;
  padding: 64px 22px 0;
}

.device__island {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 92px;
  height: 27px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
}

.call {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  text-align: center;
}

.call__via {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #30d158;
}

.call__name {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.call__timer {
  margin-top: 2px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-variant-numeric: tabular-nums;
}

.wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  margin: 20px 0 18px;
}

.wave span {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.85);
  transform: scaleY(0.25);
  animation: talk 1.1s ease-in-out infinite;
}

.wave span:nth-child(3n) { animation-delay: -0.2s; }
.wave span:nth-child(3n + 1) { animation-delay: -0.55s; }
.wave span:nth-child(4n) { animation-delay: -0.8s; animation-duration: 0.9s; }
.wave span:nth-child(5n) { animation-delay: -0.35s; animation-duration: 1.3s; }

@keyframes talk {
  0%, 100% { transform: scaleY(0.2); }
  50% { transform: scaleY(1); }
}

.captions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: left;
}

.cap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(6px);
  animation: show 0.5s ease forwards;
}

.cap span:first-child {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.cap--agent span:first-child {
  color: #64d2ff;
}

.cap:nth-child(1) { animation-delay: 0.4s; }
.cap:nth-child(2) { animation-delay: 1.4s; }
.cap:nth-child(3) { animation-delay: 2.4s; }

.controls {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 0 4px;
}

.ctl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.ctl i {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.ctl svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ctl:nth-child(2) svg {
  fill: var(--white);
  stroke: none;
}

.end {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 18px 0 34px;
  border-radius: 50%;
  background: #ff3b30;
}

.end svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@keyframes show {
  to { opacity: 1; transform: none; }
}

.notif {
  position: absolute;
  z-index: 2;
  top: 150px;
  left: calc(50% + 90px);
  width: 290px;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  text-align: left;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(-8px);
  animation: show 0.6s ease 3.6s forwards;
}

.notif__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.notif__body {
  flex: 1;
  font-size: 13px;
  line-height: 1.3;
}

.notif__top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-2);
}

.notif__top strong {
  color: var(--ink);
  font-weight: 600;
}

.notif__title {
  margin-top: 2px;
  font-weight: 600;
}

/* Highlights */

.highlights {
  background: var(--white);
  padding: 72px 0 120px;
}

.highlights__title {
  font-size: clamp(36px, 5.2vw, 56px);
  text-align: center;
}

.highlights__title span {
  color: var(--ink-3);
}

.stats {
  list-style: none;
  margin: 80px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.stats strong {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stats span {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.4;
}

/* Sections */

.section {
  padding: 120px 0;
}

.section--gray {
  background: var(--gray);
}

.section__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section__head h2 {
  font-size: clamp(36px, 5vw, 56px);
}

.section__head p {
  margin-top: 16px;
  font-size: 21px;
  line-height: 1.38;
  color: var(--ink-2);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

/* Bento */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tile {
  background: var(--white);
  border-radius: 28px;
  padding: 36px 32px;
}

.tile h3 {
  font-size: 21px;
  line-height: 1.24;
  margin-bottom: 8px;
}

.tile p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.47;
}

.tile__icon {
  display: block;
  margin-bottom: 22px;
}

.tile__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 44px;
}

.tile--wide h3 {
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.tile--wide p {
  font-size: 17px;
}

.tile__eyebrow {
  font-size: 14px !important;
  font-weight: 600;
  color: var(--flag) !important;
  margin-bottom: 8px;
}

.slots {
  background: var(--gray);
  border-radius: 20px;
  padding: 18px;
}

.slots__day {
  font-size: 13px !important;
  font-weight: 600;
  color: var(--ink) !important;
  margin-bottom: 10px;
}

.slots ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slots li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.slots em {
  font-style: normal;
  font-size: 13px;
  color: #248a3d;
}

.slots li.is-full {
  color: var(--ink-3);
}

.slots li.is-full em {
  color: var(--ink-3);
}

.slots li.is-picked {
  background: var(--blue);
  color: var(--white);
}

.slots li.is-picked em {
  color: var(--white);
}

.tile--dark {
  grid-column: 1 / -1;
  background: #000;
  color: #f5f5f7;
}

.tile--dark p {
  color: var(--ink-3);
}

.tile--dark .tile__eyebrow {
  color: #2997ff !important;
}

.chart {
  height: 180px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0 8px;
}

.chart span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(#2997ff, #0071e3);
}

.chart span:nth-child(-n + 4),
.chart span:nth-child(7) {
  background: #2c2c2e;
}

/* Steps */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.steps li {
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.steps__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

.steps h3 {
  font-size: 24px;
  line-height: 1.17;
  margin-bottom: 10px;
}

.steps p {
  color: var(--ink-2);
}

/* Pricing */

.segmented {
  display: inline-flex;
  margin-top: 32px;
  padding: 3px;
  border-radius: 980px;
  background: var(--gray-2);
}

.segmented button {
  border: 0;
  background: none;
  padding: 8px 18px;
  border-radius: 980px;
  font: 400 14px/1.2 var(--font);
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.segmented button.is-active {
  background: var(--white);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 30px 40px;
  background: var(--white);
  border-radius: 28px;
}

.plan--featured {
  box-shadow: 0 0 0 2px var(--blue);
}

.plan__flag {
  font-size: 13px;
  font-weight: 600;
  color: var(--flag);
  min-height: 18px;
}

.plan__name {
  margin-top: 6px;
  font-size: 32px;
  letter-spacing: -0.015em;
}

.plan__tag {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-2);
  min-height: 44px;
}

.plan__amount {
  margin-top: 22px;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.plan__per {
  margin-top: 6px;
  font-size: 14px;
  color: var(--ink-2);
}

.plan__billing {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
  min-height: 34px;
}

.plan .btn {
  margin-top: 14px;
}

.plan__list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  width: 100%;
}

.plan__list li {
  padding: 13px 0;
  border-top: 1px solid var(--gray-2);
  font-size: 14px;
  line-height: 1.43;
}

.fineprint {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
}

/* FAQ */

.faq {
  border-bottom: 1px solid var(--hairline);
}

.faq details {
  border-top: 1px solid var(--hairline);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  padding: 0 44px 26px 0;
  color: var(--ink-2);
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  padding: 56px;
  background: var(--white);
  border-radius: 28px;
}

.contact h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.1;
}

.contact__copy p {
  margin-top: 16px;
  font-size: 19px;
  color: var(--ink-2);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
}

.form input,
.form textarea {
  font: 400 17px/1.3 var(--font);
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.form__full {
  grid-column: 1 / -1;
}

.form .btn {
  margin-top: 6px;
  justify-self: start;
}

/* Footer */

.footer {
  background: var(--gray);
  padding: 20px 0 40px;
  font-size: 12px;
  color: var(--ink-2);
}

.footer__inner > p {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
}

/* Responsive */

@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__right {
    margin-left: auto;
  }

  .hero__stage {
    height: 720px;
  }

  .notif {
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translate(-50%, -8px);
    animation-name: show-center;
  }

  @keyframes show-center {
    to { opacity: 1; transform: translate(-50%, 0); }
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .bento,
  .plans {
    grid-template-columns: 1fr;
  }

  .tile--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    padding: 36px 32px;
  }

  .plans {
    max-width: 440px;
    margin-inline: auto;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 32px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 32px;
  }

  .section,
  .highlights {
    padding: 80px 0;
  }

  .form {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .cap,
  .notif {
    opacity: 1;
  }
}
