:root {
  color-scheme: dark;
  --ink: #0b1214;
  --ink-raised: #121b1e;
  --ink-soft: #1b272a;
  --paper: #f4f6f2;
  --paper-soft: #e7ece8;
  --paper-warm: #f3eee4;
  --text-on-dark: #f0f5f2;
  --muted-on-dark: #9eaeaa;
  --text: #14201f;
  --muted: #5f6d69;
  --line-dark: #2a383a;
  --line-light: #ced8d3;
  --teal: #6fcac0;
  --teal-strong: #2da99d;
  --amber: #e3ab42;
  --coral: #e78f86;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(100%, 1180px); margin: 0 auto; padding: 0 28px; }

header.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11,18,20,.86);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text-on-dark); }
.mark { width: 36px; height: 36px; display: block; flex: 0 0 auto; }
.brand-name { font-weight: 780; font-size: 1.05rem; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted-on-dark); font-weight: 650; font-size: .9rem; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text-on-dark); }
select#lang {
  appearance: none; -webkit-appearance: none;
  background-color: var(--ink-soft); color: var(--text-on-dark);
  border: 1px solid var(--line-dark); border-radius: 7px;
  padding: 8px 30px 8px 12px; font: inherit; font-size: .86rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted-on-dark) 50%),
                    linear-gradient(135deg, var(--muted-on-dark) 50%, transparent 50%);
  background-position: right 13px center, right 8px center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
@media (max-width: 760px) {
  .nav-links { gap: 14px; }
  .nav-links a.hideable { display: none; }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  padding-top: 72px;
  padding-bottom: 84px;
  color: var(--text-on-dark);
}
main { overflow: hidden; background: var(--ink); }
.hero > div:first-child { position: relative; z-index: 2; width: min(64%, 720px); }
h1 {
  margin: 0 0 24px;
  max-width: 11ch;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}
.lead { margin: 0; max-width: 58ch; color: #d5e0dc; font-size: 1.18rem; }
.hero-note { margin: 15px 0 0; max-width: 58ch; color: var(--muted-on-dark); font-size: .93rem; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 21px; border-radius: 7px;
  border: 1px solid var(--line-dark); font-weight: 800;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.button.primary:hover { background: #84d7ce; border-color: #84d7ce; }
.button.secondary { background: transparent; color: var(--text-on-dark); }
.button.secondary:hover { border-color: #607174; background: rgba(255,255,255,.04); }
.proofs { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 27px; padding: 0; list-style: none; }
.proofs li {
  color: #c7d5d1; font-size: .88rem; font-weight: 650;
}
.proofs li::before { content: "✓"; color: var(--teal); font-weight: 900; margin-right: 8px; }

.phone-wrap {
  position: absolute; z-index: 1; right: 24px; top: 54px;
  width: 348px; display: grid; justify-items: center;
}
.phone {
  width: 100%;
  border: 1px solid #344346; border-radius: 39px;
  padding: 9px; background: #050809;
  box-shadow: 0 36px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.03);
  transform: rotate(1.5deg);
}
.product-shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #202b2e;
  border-radius: 31px;
}

@media (max-width: 860px) {
  .hero { min-height: 720px; padding-top: 62px; padding-bottom: 70px; }
  .hero > div:first-child { width: 68%; }
  h1 { max-width: 10ch; font-size: 54px; }
  .phone-wrap { right: -66px; width: 305px; opacity: .72; }
}

section.block { padding: 92px 0; background: var(--paper); color: var(--text); }
section.block + section.block { border-top: 1px solid var(--line-light); }
h2 { margin: 0 0 16px; max-width: 17ch; font-size: 44px; line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
.section-lead { margin: 0 0 38px; max-width: 64ch; color: var(--muted); font-size: 1.08rem; }
.center { text-align: center; }
.center h2 { margin-left: auto; margin-right: auto; }
.center .section-lead { margin-left: auto; margin-right: auto; }
.trust-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden; background: var(--line-light);
}
main > section.block:first-of-type { padding: 26px 0; background: var(--paper-soft); }
.trust-item { background: var(--paper-soft); padding: 19px 20px; min-height: 92px; }
.trust-item strong { display: block; margin-bottom: 5px; color: var(--text); font-size: .95rem; }
.trust-item span { color: var(--muted); font-size: .94rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .trust-band, .grid.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .trust-band, .grid, .grid.two, .grid.four { grid-template-columns: 1fr; }
}
.card {
  border: 1px solid var(--line-light); border-radius: 8px;
  background: rgba(255,255,255,.48); padding: 26px;
}
.step-num {
  width: 38px; height: 38px; border-radius: 7px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--text); color: var(--teal);
  font-weight: 850; font-size: 1.05rem;
}
.card h3 { margin: 0 0 9px; font-size: 1.12rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); }
.callout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  padding: 0;
}
#offline { background: var(--ink-raised); color: var(--text-on-dark); border-top: 0; }
#offline .section-lead { color: var(--muted-on-dark); }
.flow { display: grid; gap: 10px; }
.flow-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line-dark); border-radius: 8px; padding: 17px 18px; background: var(--ink-soft);
  font-weight: 800;
}
.flow-item span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--ink); font-size: .84rem; }
.note {
  margin-top: 16px; border-left: 3px solid var(--teal);
  padding-left: 14px; color: #d9e4e1;
}
@media (max-width: 800px) { .callout { grid-template-columns: 1fr; } }
#uses { background: var(--paper-warm); }
.scenario { position: relative; overflow: hidden; background: rgba(255,255,255,.5); }
.scenario::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--amber); }
.scenario:nth-child(2)::after { background: var(--teal-strong); }
.scenario:nth-child(3)::after { background: var(--coral); }
.scenario h3 { color: var(--text); }
.scenario small { display: block; color: #986a17; font-weight: 800; margin-bottom: 9px; }
.beta-box {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start;
  padding: 0;
}
#test-delivery { background: var(--paper-warm); }
#test-delivery .card { background: #fffaf0; border-color: #ddcfb4; }
#beta { background: var(--ink); color: var(--text-on-dark); border-top: 0; }
#beta .section-lead { color: var(--muted-on-dark); }
.status-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.status-list li { display: flex; justify-content: space-between; gap: 18px; padding: 15px 16px; border-top: 1px solid var(--line-dark); background: var(--ink-raised); }
.status-list li:first-child { border-top: 0; }
.status-list span { color: var(--teal); font-weight: 800; text-align: right; }
@media (max-width: 760px) { .beta-box { grid-template-columns: 1fr; } }

footer { border-top: 1px solid var(--line-dark); padding: 34px 0 48px; color: var(--muted-on-dark); background: var(--ink); }
.foot-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
footer .mark { width: 26px; height: 26px; }
.foot-copy { margin-left: auto; font-size: .9rem; }
@media (max-width: 520px) { .foot-copy { margin-left: 0; width: 100%; } }

@media (max-width: 680px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-inner { min-height: 62px; gap: 12px; }
  .nav-links { gap: 10px; }
  .brand-name { font-size: 1rem; }
  .mark { width: 32px; height: 32px; }
  .hero { display: block; min-height: 0; padding-top: 50px; padding-bottom: 0; }
  .hero > div:first-child { width: 100%; }
  h1 { max-width: 13ch; margin-bottom: 20px; font-size: 38px; line-height: 1.03; }
  .lead { font-size: 1rem; line-height: 1.55; }
  .hero-note { font-size: .86rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .proofs { display: grid; gap: 8px; }
  .phone-wrap { position: relative; right: auto; top: auto; width: min(82%, 306px); margin: 38px auto -1px; opacity: 1; }
  .phone { transform: none; border-radius: 34px 34px 0 0; border-bottom: 0; padding-bottom: 0; }
  .product-shot { border-radius: 27px 27px 0 0; border-bottom: 0; }
  section.block { padding: 68px 0; }
  main > section.block:first-of-type { padding: 22px 0; }
  h2 { font-size: 36px; }
  .trust-band { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 106px; padding: 16px; }
}

@media (max-width: 380px) {
  .brand-name { display: none; }
}

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