:root {
  --ink: #0f172a;
  --muted: #64748b;
  --surface: #ffffff;
  --line: #dbe3ef;
  --blue: #2563eb;
  --teal: #0f766e;
  --green: #16a34a;
  --yellow: #ca8a04;
  --red: #dc2626;
  --soft: #f6f9fc;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34rem),
    linear-gradient(180deg, #f9fbff 0%, #eef4f8 46%, #ffffff 100%);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 251, 255, 0.86);
  border-bottom: 1px solid rgba(219, 227, 239, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

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

.nav-links a {
  text-decoration: none;
}

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

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 48px;
  align-items: center;
  padding: 56px 0 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.eyebrow.small {
  margin-bottom: 8px;
  padding: 5px 9px;
  font-size: 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

h3 {
  margin-bottom: 7px;
}

.lead {
  color: var(--muted);
  max-width: 710px;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.btn.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.btn.disabled {
  background: #e2e8f0;
  color: #475569;
  box-shadow: none;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone-mock,
.desktop-mock {
  position: absolute;
  border-radius: 28px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.phone-mock {
  left: 0;
  top: 26px;
  width: min(270px, 58vw);
  padding: 14px;
}

.phone-screen {
  min-height: 510px;
  border-radius: 20px;
  padding: 18px;
  background: #f8fafc;
}

.desktop-mock {
  right: 0;
  bottom: 20px;
  width: min(520px, 80vw);
  padding: 14px;
  border-radius: 18px;
}

.desktop-screen {
  min-height: 330px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f1f5f9);
  padding: 18px;
}

.mock-title {
  font-weight: 900;
  margin-bottom: 12px;
}

.storage-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  margin: 18px auto;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--blue) 72%, #dbeafe 0);
}

.storage-ring span {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  font-weight: 900;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 12px;
  margin-top: 10px;
}

.code-box {
  font-size: 36px;
  letter-spacing: 0.08em;
  font-weight: 950;
  color: var(--blue);
  background: #dbeafe;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.section {
  padding: 76px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #dbeafe;
  font-weight: 950;
  margin-bottom: 14px;
}

.steps {
  display: grid;
  gap: 12px;
  counter-reset: steps;
}

.step {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.step::before {
  content: counter(steps);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-weight: 950;
}

.download-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.download-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #0f172a;
}

.download-icon img {
  width: 40px;
  height: 40px;
}

.receiver-guide {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.receiver-guide-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.receiver-guide-head h3 {
  margin-bottom: 0;
  font-size: 26px;
}

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

.receiver-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(219, 227, 239, 0.92);
  border-radius: 8px;
  background: #ffffff;
}

.receiver-step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--blue);
  font-weight: 950;
}

.receiver-step h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

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

.code-block {
  position: relative;
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  overflow-x: auto;
}

.copy {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  color: var(--muted);
  margin: 12px 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

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

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.footer-inner a:hover {
  color: var(--blue);
}

.legal-cards {
  margin-bottom: 4px;
}

.legal-page {
  padding: 70px 0 84px;
}

.legal-date {
  color: var(--muted);
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 30px;
}

.legal-summary,
.legal-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.legal-summary {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.legal-summary h2,
.legal-block h2 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.legal-summary ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-summary li + li {
  margin-top: 9px;
}

.legal-content {
  display: grid;
  gap: 12px;
}

.legal-block {
  padding: 22px;
}

.legal-block p {
  color: var(--muted);
  margin-bottom: 0;
}

.legal-block p + p {
  margin-top: 12px;
}

.legal-block a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 620px;
  }

  .grid,
  .grid.two,
  .receiver-steps,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .phone-mock,
  .desktop-mock {
    position: static;
    width: 100%;
  }

  .phone-screen,
  .desktop-screen {
    min-height: auto;
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .receiver-guide-head {
    display: grid;
  }
}
