:root {
  --bg: #0a0a0f;
  --surface: #14141c;
  --surface-2: #1e1e2a;
  --surface-3: #2a2a3a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --text-2: #a6a6b4;
  --indigo: #6c63ff;
  --indigo-light: #a29cff;
  --indigo-deep: #5a52e0;
  --teal: #00d4aa;
  --keep: #00e676;
  --trash: #ff5252;
  --fav: #ffd54f;
  --radius: 20px;
  --wrap: 1120px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

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

a {
  color: var(--indigo-light);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface-2);
  color: var(--text);
}

main {
  overflow-x: clip;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

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

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: 16px;
}

.nav-links a,
.lang {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.lang:hover {
  color: var(--text);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.lang {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--indigo-deep);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.button:hover {
  background: var(--indigo);
  color: #fff;
  transform: translateY(-1px);
}

.button-lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 17px;
  box-shadow: 0 12px 40px rgba(108, 99, 255, 0.35);
}

.button svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.text-link {
  color: var(--text);
  font-weight: 600;
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 96px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(0, 212, 170, 0.35);
  border-radius: 999px;
  background: rgba(0, 212, 170, 0.08);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.grad {
  background: linear-gradient(100deg, var(--indigo-light), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin-top: 22px;
  max-width: 30em;
  color: var(--text-2);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 34px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 15px;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* Phone mockup */

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 8% -6%;
  background: radial-gradient(closest-side, rgba(108, 99, 255, 0.45), transparent 70%),
    radial-gradient(closest-side at 70% 75%, rgba(0, 212, 170, 0.3), transparent 70%);
  filter: blur(36px);
}

.phone {
  position: relative;
  width: min(320px, 82vw);
  padding: 18px 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44px;
  background: #0c0c12;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 0 0 6px #050508;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 6px 12px;
  font-size: 14px;
  font-weight: 700;
}

.phone-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text);
}

.phone-icon svg {
  width: 16px;
  height: 16px;
}

.phone-progress {
  height: 4px;
  margin: 0 6px 18px;
  border-radius: 4px;
  background: var(--surface-2);
}

.phone-progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 4px;
  background: var(--indigo);
}

.stack {
  position: relative;
  aspect-ratio: 3 / 4;
  margin: 0 8px;
}

.card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-2);
}

.card-back {
  transform: scale(0.9) translateY(-22px);
  opacity: 0.45;
}

.card-mid {
  transform: scale(0.95) translateY(-11px);
  opacity: 0.75;
  background: var(--surface-3);
}

.card-front {
  transform-origin: 50% 120%;
  transform: rotate(7deg) translateX(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  animation: swipe 5.5s ease-in-out infinite;
}

.card-front svg {
  width: 100%;
  height: 100%;
}

.stamp {
  position: absolute;
  top: 20px;
  left: 18px;
  padding: 4px 12px;
  border: 3px solid var(--keep);
  border-radius: 10px;
  color: var(--keep);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: rotate(-12deg);
  animation: stamp 5.5s ease-in-out infinite;
}

.card-meta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 6px;
}

.card-meta span {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.6);
  font-size: 11px;
  font-weight: 600;
}

@keyframes swipe {
  0%, 18% { transform: rotate(0) translateX(0); }
  40%, 82% { transform: rotate(7deg) translateX(14px); }
  100% { transform: rotate(0) translateX(0); }
}

@keyframes stamp {
  0%, 22% { opacity: 0; }
  40%, 82% { opacity: 1; }
  100% { opacity: 0; }
}

.phone-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 14px 0;
}

.act {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--text-2);
  font-size: 11px;
  font-weight: 700;
}

.act i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: var(--surface-2);
}

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

.act-trash i { color: var(--trash); border-color: rgba(255, 82, 82, 0.5); }
.act-fav i { color: var(--fav); border-color: rgba(255, 213, 79, 0.5); }

.act-keep {
  color: var(--text);
}

.act-keep i {
  width: 68px;
  height: 68px;
  border: 0;
  background: var(--keep);
  color: #06140c;
}

.act-keep svg {
  width: 30px;
  height: 30px;
}

/* Sections */

.section {
  scroll-margin-top: 68px;
  padding-top: 88px;
  padding-bottom: 88px;
}

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

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

.section-head h2,
.cta h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.tile h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.tile p {
  color: var(--text-2);
  font-size: 16px;
}

.badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 18px;
  font-weight: 800;
}

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

.badge-keep { color: var(--keep); }
.badge-trash { color: var(--trash); }
.badge-fav { color: var(--fav); }
.badge-num { color: var(--indigo-light); }
.badge-teal { color: var(--teal); }

.steps {
  margin-top: 20px;
}

.note {
  margin-top: 28px;
  padding: 18px 22px;
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: var(--surface);
  color: var(--text-2);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Pricing */

.price {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 40px;
  padding: 48px;
  border: 1px solid rgba(108, 99, 255, 0.35);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.16), rgba(0, 212, 170, 0.08)), var(--surface);
}

.price h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
}

.price p {
  margin-top: 14px;
  color: var(--text-2);
}

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

.checks li {
  position: relative;
  padding-left: 28px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

.price-box {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--bg);
  text-align: center;
}

.price-box .label {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-box .amount {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.price-box .hint {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
}

/* Closing CTA */

.cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.cta p {
  max-width: 32em;
  color: var(--text-2);
  font-size: 18px;
}

.cta .button {
  margin-top: 12px;
}

/* Article pages (legal, support) */

.article {
  max-width: 760px;
  padding-top: 64px;
  padding-bottom: 96px;
}

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

.article .updated {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
}

.article .intro {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 19px;
}

.article h2 {
  margin: 44px 0 12px;
  font-size: 24px;
  font-weight: 700;
}

.article p + p,
.article ul + p,
.article h1 + p {
  margin-top: 14px;
}

.article ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

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

.article code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
  overflow-wrap: anywhere;
}

.table-scroll {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface);
  color: var(--text-2);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr + tr td {
  border-top: 1px solid var(--border);
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

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

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}

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

.faq details > div {
  padding: 0 20px 20px;
  color: var(--text-2);
}

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 26px;
  border: 1px solid rgba(108, 99, 255, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.14), rgba(0, 212, 170, 0.06)), var(--surface);
}

.contact-card p {
  color: var(--text-2);
  font-size: 15px;
}

.contact-card strong {
  display: block;
  color: var(--text);
  font-size: 19px;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 15px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-left: auto;
}

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

.footer a:hover {
  color: var(--text);
}

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

.legal-line {
  width: 100%;
  color: var(--text-2);
  font-size: 13px;
}

/* Language chooser and 404 */

.center {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  text-align: center;
}

.center > div {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.center h1 {
  font-size: 34px;
  font-weight: 800;
}

.center p {
  color: var(--text-2);
}

.center .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button-ghost {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-ghost:hover {
  background: var(--surface-2);
}

/* Responsive */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 72px;
  }

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

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

  .price {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 24px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .nav {
    gap: 12px;
  }

  .nav-end {
    gap: 10px;
  }

  .nav .button {
    padding: 8px 14px;
    font-size: 14px;
  }

  .brand span {
    display: none;
  }

  .footer .brand span {
    display: inline;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .footer nav {
    margin-left: 0;
  }
}

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

  .card-front,
  .stamp,
  .button {
    animation: none;
    transition: none;
  }
}
