:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #f1f3f8;
  --text: #171923;
  --muted: #73798c;
  --faint: #9aa0b2;
  --primary: #5b4df7;
  --primary-deep: #4a3de0;
  --primary-soft: #eeeafe;
  --blue-soft: #edf2ff;
  --green: #19a66f;
  --green-soft: #eaf9f2;
  --orange: #e08a3c;
  --orange-soft: #fff1e8;
  --border: #e7e9f1;
  --danger: #e5484d;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 12px 36px rgba(23, 25, 35, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-height: 64px;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-tld {
  color: var(--muted);
  font-weight: 700;
}

.mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: #000;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.nav-links a {
  color: var(--muted);
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-deep);
}

.btn-ghost {
  background: var(--primary-soft);
  color: var(--primary);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px 0 16px;
  scroll-margin-top: 80px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-copy {
  width: 100%;
  max-width: 40rem;
}

.hero-copy .lead {
  max-width: none;
  font-size: 17px;
}

.hero-copy h1 {
  font-size: clamp(32px, 3.4vw, 46px);
}

.hero-cta {
  width: 100%;
}

.hero-cta .store-row {
  margin-top: 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.hero-cta .store {
  min-width: 200px;
}

.hero-cta .note {
  max-width: 36rem;
}

.hero .shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
  width: 100%;
  align-items: stretch;
}

.hero .phone {
  width: 100%;
  margin: 0;
  border-radius: 26px;
  padding-bottom: 10px;
}

.hero .shot {
  display: flex;
  flex-direction: column;
}

.hero .shot .phone {
  flex: 1 1 auto;
  height: 460px;
  min-height: 460px;
  max-height: 460px;
  overflow: hidden;
}

.hero figcaption {
  margin-top: 10px;
}

.hero .phone h2 {
  margin-top: 10px;
  font-size: 18px;
}

.hero .action-card {
  min-height: 74px;
  padding: 10px;
}

.hero figcaption {
  margin-top: 8px;
}

.kicker {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  font-weight: 800;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 168px;
  padding: 8px 18px 8px 12px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  text-decoration: none;
  line-height: 1.05;
}

.store:hover {
  background: #2a2a2a;
  text-decoration: none;
}

.store-logo {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

.store strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.get-app {
  text-align: center;
}

.get-app .lead {
  margin-left: auto;
  margin-right: auto;
}

.get-app .store-row {
  justify-content: center;
}

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

.phone {
  width: min(100%, 340px);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 10px 0 18px;
}

.statusbar,
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px 0;
  font-size: 12px;
  font-weight: 700;
}

.screen {
  padding: 8px 20px 0;
}

.phone h2 {
  margin: 18px 0 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.6px;
}

.phone .muted {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 16px;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action-card {
  border-radius: 18px;
  padding: 14px;
  min-height: 118px;
  text-align: left;
}

.action-card.blue {
  background: var(--blue-soft);
}

.action-card.purple {
  background: var(--primary-soft);
}

.action-card.green {
  background: var(--green-soft);
}

.action-card.orange {
  background: var(--orange-soft);
}

.chip {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
}

.action-card strong {
  display: block;
  margin-top: 14px;
  font-size: 14px;
}

.action-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.doc-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.file {
  width: 34px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
}

.badge {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.phone-cta {
  margin: 16px 20px 0;
  width: calc(100% - 40px);
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  padding: 14px;
  font-weight: 800;
}

.phone-cta.inset {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.tabbar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 12px;
  padding: 10px 6px 2px;
  border-top: 1px solid var(--border);
  font-size: 9px;
  font-weight: 700;
  color: var(--faint);
}

.tabbar .on {
  color: var(--primary);
}

.tabbar .plus {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}

.shot {
  margin: 0;
  min-width: 0;
}

.shot .phone {
  width: 100%;
  min-height: 480px;
}

.shot figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.screen.compact .action-card {
  min-height: 88px;
  padding: 10px;
}

.phone .back {
  margin: 8px 0 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.screen-title {
  font-size: 20px !important;
  margin-top: 8px !important;
}

.result-card {
  background: var(--green-soft);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
}

.result-card .score {
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.result-card strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.result-card p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.seg {
  display: flex;
  background: var(--surface-2);
  border-radius: 10px;
  padding: 3px;
  margin: 12px 0;
}

.seg span {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.seg .on {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(23, 25, 35, 0.08);
}

.paper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font-size: 11px;
  color: var(--text);
}

.paper strong {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}

.paper p {
  margin: 0;
  color: var(--muted);
}

.search {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--faint);
}

.folder-row {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.folder {
  flex: 1;
  background: var(--surface-2);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.folder.on {
  background: var(--primary-soft);
  color: var(--primary);
}

.star {
  margin-left: auto;
  color: #e0a100;
  font-size: 16px;
}

.star.faint {
  color: var(--faint);
}

.ok {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.bubble {
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  margin: 8px 0;
  max-width: 92%;
}

.bubble.you {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
}

.bubble.doc {
  background: var(--surface-2);
  color: var(--text);
}

.ask-box {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--faint);
  margin-top: 12px;
}

.muted.tight {
  margin-top: 4px !important;
}

.section {
  padding: 36px 0;
  scroll-margin-top: 80px;
}

.product-band {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-band .lead {
  max-width: none;
  font-size: 16px;
}

.product-band .grid-4 {
  margin-top: 0;
}

.section h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.4px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  align-items: stretch;
}

.grid-3 .card,
.grid-4 .card,
.steps .card {
  height: 100%;
}

.grid-4 .action-card {
  min-height: 0;
  padding: 20px;
}

.grid-4 .action-card h3 {
  margin: 14px 0 8px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

.card .kicker {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.step-n {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.check {
  margin: 0;
  padding: 8px 22px;
  list-style: none;
}

.check li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.check li:last-child {
  border-bottom: 0;
}

.check li span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
  margin-top: 4px;
}

.privacy-band {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
}

.privacy-band h2,
.privacy-band p,
.privacy-band a {
  color: #fff;
}

.privacy-band p {
  opacity: 0.86;
  max-width: 40rem;
}

.prices {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.price-card .amount {
  font-size: 32px;
  font-weight: 800;
  margin: 8px 0 4px;
}

.price-card .meta {
  color: var(--muted);
  font-size: 13px;
}

.featured {
  border-color: var(--primary);
}

.legal {
  padding: 40px 0 80px;
  max-width: 760px;
}

.legal h1 {
  font-size: 36px;
}

.legal h2 {
  margin: 32px 0 10px;
  font-size: 20px;
}

.legal h3 {
  margin: 20px 0 8px;
  font-size: 16px;
}

.legal p,
.legal li {
  color: #3b4054;
}

.legal .updated {
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .shots,
  .hero .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero .shot .phone {
    min-height: 400px;
    height: auto;
  }
}

@media (max-width: 900px) {
  .hero-top,
  .product-band,
  .split,
  .prices,
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-cta .store-row {
    flex-direction: row;
  }

  .hero-cta .note {
    max-width: none;
  }

  .hero .shot .phone {
    min-height: 400px;
    height: auto;
  }
}

@media (max-width: 560px) {
  .grid-4,
  .shots,
  .hero .shots {
    grid-template-columns: 1fr;
  }

  .shot .phone,
  .hero .shot .phone {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }
}
