:root {
  --ink: #1d1f20;
  --soft: #434647;
  --muted: #6d7275;
  --line: rgba(29, 31, 32, 0.1);
  --cyan: #00d0ff;
  --cyan-ink: #062028;
  --sans: "Outfit", "Arial", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}
img, video { max-width: 100%; display: block; }
button, a { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.home {
  background:
    radial-gradient(58% 46% at 0% 0%, #ffc2a0 0%, rgba(255, 194, 160, 0) 62%),
    radial-gradient(52% 42% at 100% 0%, #b7dcff 0%, rgba(183, 220, 255, 0) 58%),
    #fff;
  background-repeat: no-repeat;
  background-size: 100% 880px;
}
.home main {
  background:
    radial-gradient(62% 80% at 0% 100%, #ffc7a8 0%, rgba(255, 199, 168, 0) 64%),
    radial-gradient(62% 80% at 100% 100%, #b7dcff 0%, rgba(183, 220, 255, 0) 64%);
  background-repeat: no-repeat;
  background-size: 100% 980px;
  background-position: bottom;
}

.bar {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 16px 16px 16px 24px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 10px 30px rgba(0, 0, 0, 0.05);
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.bar nav { display: flex; gap: 36px; font-size: 17px; }
.bar nav a { text-decoration: none; color: var(--ink); }
.signup, .menu {
  justify-self: end;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 500;
}
.menu { display: none; }

.hero {
  padding: 196px 20px 120px;
  text-align: center;
}
.hero h1 {
  max-width: 740px;
  margin: 72px auto 72px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #2a2c2d;
}
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 31, 32, 0.08);
  font-size: 14px;
}
.chip svg { width: 16px; height: 16px; margin-left: 6px; }
.avatars { display: inline-flex; }
.avatars img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
}
.avatars img:first-child { margin-left: 0; }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 28px; }
.try {
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
}
.text-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; }
.play {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  position: relative;
}
.play::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--ink);
}

.styles, .compare, .pricing { padding: 88px 20px; }
.styles { text-align: center; }
.styles h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.compare h2, .faq h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  text-align: center;
  color: var(--soft);
}
.sub { margin: 14px auto 0; max-width: 640px; font-size: 18px; color: var(--ink); }
.frames {
  width: min(980px, 100%);
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.clip {
  flex: none;
  width: 300px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f6f7f8;
  text-align: left;
}
.clip-stage { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #c8ccce; }
.clip-stage video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; display: block; }
.clip-chip {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 4px 8px;
  border: 1px solid rgba(29, 31, 32, 0.12);
  background: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.clip-play, .clip-sound {
  position: absolute;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 31, 32, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 0;
}
.clip-play { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.clip.is-playing .clip-play { opacity: 0; pointer-events: none; }
.clip-sound { right: 12px; bottom: 12px; }
.clip-sound .icon-on { display: none; }
.clip-sound[aria-pressed="true"] .icon-off { display: none; }
.clip-sound[aria-pressed="true"] .icon-on { display: block; }
.clip figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--soft); }
.sample-note { margin-top: 16px; color: var(--muted); font-size: 13px; }

.compare h2 { margin-bottom: 36px; }
.cmp { width: min(var(--wrap), 100%); margin: 0 auto; }
.cmp-row {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 12px;
  align-items: center;
  padding: 22px 4px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}
.cmp-head { border-top: 0; padding-bottom: 8px; font-size: 20px; }
.cmp-row > :not(:first-child) { text-align: center; }
.cmp-head span:first-child { font-size: 0; }
.win { display: flex; align-items: center; justify-content: center; gap: 8px; }

.tick, .cross {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
  position: relative;
}
.tick { background: var(--cyan); }
.tick::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--cyan-ink);
  border-bottom: 2px solid var(--cyan-ink);
  transform: rotate(-45deg) translate(0, -1px);
}
.cross { background: var(--soft); }
.cross::before, .cross::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: #fff;
}
.cross::before { transform: rotate(45deg); }
.cross::after { transform: rotate(-45deg); }
.cross.phone-mark { display: none; }

.pricing { text-align: center; }
.pricing h2 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}
.bill {
  display: inline-flex;
  gap: 2px;
  margin: 28px 0 32px;
  padding: 4px;
  border-radius: 999px;
  background: #eceff1;
}
.bill button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 18px;
}
.bill button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.cards {
  width: min(var(--wrap), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}
.card {
  background: #fff;
  border: 1px solid rgba(29, 31, 32, 0.08);
  border-radius: 22px;
  padding: 26px 24px 22px;
  box-shadow: 0 10px 30px rgba(29, 31, 32, 0.04);
}
.card-pro { border-color: rgba(29, 31, 32, 0.28); }
.card h3 { font-size: 22px; font-weight: 600; }
.card h3 span { color: var(--soft); font-size: 14px; font-weight: 500; margin-left: 6px; }
.who { margin: 8px 0 18px; color: var(--muted); font-size: 15px; }
.amount { font-size: 56px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.per { margin: 8px 0 18px; color: var(--muted); font-size: 14px; }
.card li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; }
.card li.off { color: var(--muted); }
.info {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  border-radius: 50%;
  border: 1px solid #b7bdc0;
  color: var(--soft);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  display: inline-grid;
  place-items: center;
}
.card .try { width: 100%; margin-top: 16px; }
.due { margin: 22px auto 0; max-width: 640px; color: var(--muted); font-size: 14px; }

.faq {
  padding: 40px 20px 24px;
  background: transparent;
}
.faq h2 { color: var(--soft); margin-bottom: 4px; font-size: 28px; }
.faq-list { width: min(720px, 100%); margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 400;
  color: var(--soft);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 12px; max-width: 68ch; color: var(--soft); font-size: 15px; line-height: 1.45; }

.close {
  padding: 80px 20px 140px;
  text-align: center;
  background: transparent;
}
.close h2 {
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}
.close h2 span { color: inherit; }
.close p { margin: 22px auto 26px; max-width: 460px; color: var(--soft); }

.site-foot { padding: 72px 40px 36px; background: #fff; }
.foot-top {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.brand-lg { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; }
.brand-lg img { width: 44px; height: 44px; border-radius: 12px; }
.socials { display: flex; gap: 18px; margin-top: 28px; }
.socials a { color: var(--ink); display: grid; place-items: center; }
.socials svg { width: 22px; height: 22px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 48px; }
.foot-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.site-foot h2 { font-size: 16px; font-weight: 400; margin-bottom: 22px; }
.site-foot h3 { margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.site-foot nav a, .site-foot nav button {
  display: block;
  text-align: left;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--ink);
}
.site-foot .foot-end {
  width: min(1180px, 100%);
  margin: 72px auto 0;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}
.site-foot .foot-end p { margin: 0; }
.site-foot .foot-end a { color: inherit; }
.foot .foot-end { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.foot .foot-end p { margin: 0; }
.foot .foot-end a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

dialog {
  width: min(420px, calc(100% - 32px));
  border: 0;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
dialog::backdrop { background: rgba(29, 31, 32, 0.4); }
dialog h2 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 8px; }
dialog p { color: var(--soft); margin-bottom: 16px; }
.store {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-weight: 600;
}
.store small { display: block; font-weight: 400; color: var(--muted); }
#download-close { margin-top: 6px; border: 0; background: transparent; color: var(--muted); padding: 8px 0; }

.doc-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  z-index: 20;
}
.mark { width: 28px; height: 28px; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; }
.btn { display: inline-flex; align-items: center; text-decoration: none; border-radius: 999px; padding: 12px 18px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-small { padding: 8px 14px; font-size: 14px; }
.doc { padding: 120px 20px 64px; max-width: 720px; margin: 0 auto; }
.doc h1 { font-size: 28px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.doc .meta { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.doc h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 14px; line-height: 1.55; color: var(--soft); }
.doc ul { padding-left: 1.2em; margin: 0 0 8px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.form { display: grid; gap: 12px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}
.form-error { color: #a1263c; margin: 0; }
.foot { padding: 28px 20px 40px; }
.foot .wrap, .foot-end.wrap { width: min(760px, 100%); margin: 0 auto; }

@media (max-width: 980px) {
  .cards, .foot-cols, .foot-top { grid-template-columns: 1fr; }
  .frames {
    justify-content: flex-start;
    width: auto;
    max-width: none;
    margin: 28px -20px 0;
    padding: 0 20px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .clip { scroll-snap-align: start; }
  .cmp { overflow-x: auto; }
  .cmp-row { min-width: 720px; }
}

@media (max-width: 860px) {
  .menu { display: inline-flex; justify-self: end; }
  .signup { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .bar nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }
  .bar nav.open { display: flex; }
  .bar nav a { padding: 10px 8px; }
}

@media (max-width: 680px) {
  .bar {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 16px);
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    padding: 8px 8px 8px 12px;
    border-radius: 22px;
  }
  .brand { font-size: 15px; }
  .brand img, .bar .brand img { width: 28px; height: 28px; }
  .signup { display: inline-flex; padding: 8px 12px; font-size: 14px; border-radius: 12px; }
  .menu { padding: 8px 10px; font-size: 14px; }
  .bar nav a { padding: 12px 8px; font-size: 17px; }

  .hero { padding: 108px 16px 48px; }
  .hero h1 { margin: 28px auto; font-size: 34px; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .hero-actions .try { width: min(100%, 320px); }

  .styles, .compare, .pricing { padding: 40px 16px; }
  .styles h2, .compare h2 { font-size: 30px; }
  .sub { font-size: 16px; }
  .frames { margin: 24px -16px 0; padding: 0 16px 8px; gap: 12px; }
  .clip { width: 272px; }

  .cmp { display: grid; gap: 12px; overflow: visible; }
  .cmp-row {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    font-size: 16px;
  }
  .cmp-row > :first-child { padding: 12px 0 4px; font-weight: 600; }
  .cmp-row > :not(:first-child) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    text-align: left;
    font-weight: 500;
  }
  .cmp-row [data-who]::before {
    content: attr(data-who);
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
  }
  .cmp-val {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .cmp-row.cmp-head { display: none; }
  .cross.phone-mark { display: inline-grid; }
  .win { justify-content: space-between; }

  .pricing h2 { font-size: 32px; }
  .amount { font-size: 40px; }
  .card { padding: 20px 16px 16px; }

  .faq { padding: 28px 16px 8px; }
  .faq h2 { font-size: 22px; }
  .faq summary { font-size: 16px; }

  .close { padding: 36px 16px 64px; }
  .close h2 { font-size: 40px; }
  .site-foot { padding: 40px 16px 28px; }
  .foot-top, .foot-cols { gap: 28px; }
  .site-foot .foot-end, .foot-end { flex-direction: column; }
  .brand-lg { font-size: 28px; }
}

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