:root {
  --bg: #0d1110;
  --panel: #1a1f1e;
  --panel-2: #222826;
  --line: rgba(255, 255, 255, 0.09);
  --fg: #eef1ef;
  --muted: #a3ada8;
  --dim: #7c8681;
  --accent: #35d6a2;
  --accent-ink: #06281e;
  --accent-soft: rgba(53, 214, 162, 0.14);
  --wrap: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 680;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

em {
  font-style: normal;
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.star {
  fill: var(--accent);
}

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 17, 16, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 680;
  font-size: 20px;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: auto;
}

.brand svg {
  width: 22px;
  height: 22px;
}

.top nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

.top nav a {
  color: var(--muted);
  text-decoration: none;
}

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

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.12s ease, background 0.12s ease, transform 0.08s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn.primary:hover {
  filter: brightness(1.08);
}

.btn.ghost {
  border-color: var(--line);
  color: var(--fg);
}

.btn.ghost:hover {
  background: var(--panel);
}

.btn.small {
  padding: 8px 16px;
  font-size: 15px;
  border-radius: 10px;
}

.btn[aria-disabled="true"] {
  background: var(--panel-2);
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

a:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(700px 520px at 85% 10%, rgba(53, 214, 162, 0.17), transparent 65%),
    radial-gradient(600px 420px at 0% 100%, rgba(53, 214, 162, 0.07), transparent 60%);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}

.hero .lead {
  font-size: 20px;
  color: var(--muted);
  margin: 22px 0 30px;
  max-width: 30em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fine {
  margin-top: 16px;
  font-size: 14px;
  color: var(--dim);
}

/* ---------- product mock ---------- */

.mock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.card {
  width: min(100%, 420px);
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 14px 14px 16px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.8);
  font-size: 15px;
  line-height: 1.45;
}

.card .head {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.card .head svg {
  width: 16px;
  height: 16px;
}

.card .name {
  font-weight: 650;
  margin-right: 2px;
}

.chip {
  font-size: 12.5px;
  line-height: 21px;
  padding: 0 9px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  white-space: nowrap;
}

.chip.save {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 650;
}

.card .body {
  margin: 9px 0 12px;
}

.card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

kbd {
  font: inherit;
  font-size: 12.5px;
  color: var(--dim);
  padding: 1px 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.card .go {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 680;
  padding: 7px 17px;
  border-radius: 10px;
}

.composer {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 22px 14px;
  color: #dfe4e1;
}

.composer .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  color: var(--dim);
  font-size: 22px;
}

.composer .send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #353d3a;
  display: grid;
  place-items: center;
}

.composer .send svg {
  width: 15px;
  height: 15px;
  stroke: #dfe4e1;
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  vertical-align: -0.18em;
  margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ---------- sections ---------- */

section {
  padding: 88px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 19px;
}

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

.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
}

.tile .num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 680;
  font-size: 15px;
  margin-bottom: 16px;
}

.tile p {
  margin-top: 8px;
  color: var(--muted);
}

/* before / after */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pane {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  font-size: 19px;
  line-height: 1.55;
}

.pane.after {
  border-color: rgba(53, 214, 162, 0.42);
  background: #17211e;
}

.label {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.pane.after .label {
  color: var(--accent);
}

.pane s {
  color: var(--dim);
  text-decoration-color: rgba(255, 110, 110, 0.7);
  text-decoration-thickness: 2px;
}

.pane mark {
  background: var(--accent-soft);
  color: #7df0c8;
  padding: 1px 5px;
  border-radius: 5px;
}

.pane .chips {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.lists ul,
.plan ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.lists li,
.plan li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.lists li::before,
.plan li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lists .keep li::before {
  background: var(--dim);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

/* pricing */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 820px;
}

.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.plan.pro {
  border-color: rgba(53, 214, 162, 0.45);
  background: #17211e;
}

.plan .tier {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan.pro .tier {
  color: var(--accent);
}

.plan .amount {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 8px;
}

.plan .terms {
  color: var(--muted);
}

.plan ul {
  margin: 22px 0 28px;
  flex: 1;
}

/* faq */

.faq {
  max-width: 760px;
}

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

summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 0;
  font-weight: 620;
  font-size: 18px;
  position: relative;
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 24px;
  font-weight: 400;
  color: var(--dim);
}

details[open] summary::after {
  content: "\2212";
}

details p {
  color: var(--muted);
  padding: 0 34px 22px 0;
}

/* footer */

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--dim);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
}

footer .brand {
  font-size: 17px;
  color: var(--fg);
}

footer .brand svg {
  width: 18px;
  height: 18px;
}

footer a {
  color: var(--muted);
}

footer .legal {
  flex-basis: 100%;
  max-width: 62em;
}

[hidden] {
  display: none !important;
}

/* ---------- article (privacy page) ---------- */

.article {
  max-width: 720px;
  padding: 72px 24px 96px;
}

.article h1 {
  font-size: clamp(34px, 5vw, 48px);
}

.article h2 {
  font-size: 24px;
  margin-top: 44px;
}

.article p,
.article ul {
  color: var(--muted);
  margin-top: 16px;
}

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

/* ---------- small screens ---------- */

@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .mock {
    align-items: stretch;
  }

  .card {
    align-self: flex-end;
  }

  .grid-3,
  .compare,
  .lists,
  .plans {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

  .top nav {
    display: none;
  }
}

@media (max-width: 420px) {
  .wrap {
    padding: 0 18px;
  }

  .btn {
    width: 100%;
  }

  .top .btn {
    width: auto;
  }
}

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

  .caret {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
