:root {
  --bg: #0e0f11;
  --surface: #17181b;
  --line: #26282d;
  --text: #f2f2f3;
  --muted: #9a9ca3;
  --max: 1120px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-color: rgba(242, 242, 243, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--text); }
figure { margin: 0; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -0.02em; }

.top {
  max-width: var(--max); margin: 0 auto; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; }
.brand img { border-radius: 8px; }
.top-links { display: flex; gap: 18px; }
.top-link { color: var(--muted); text-decoration: none; font-size: 15px; white-space: nowrap; }
.top-link:hover { color: var(--text); }

main { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px;
  padding: 28px 0 48px; align-items: center;
}
.hero-icon { border-radius: 20px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 9vw, 64px); line-height: 1.04; margin: 0 0 18px; font-weight: 700; }
.lede { color: var(--muted); font-size: clamp(18px, 2.4vw, 21px); margin: 0 0 28px; max-width: 36em; }
.lede a { color: var(--text); }
.dl-anchor { scroll-margin-top: 24px; }
.hero-phone { justify-self: center; width: min(300px, 78%); }
.hero-phone img { border-radius: 22px; }

.downloads { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: flex-start; }
.dl { display: flex; flex-direction: column; gap: 8px; }
.badge { display: inline-block; line-height: 0; }
.badge img { height: 44px; width: auto; }
.btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 18px;
  border-radius: 9px; background: var(--text); color: #0e0f11;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 14px; }
.hero-note { font-size: 14px; max-width: 36em; }
.hero-note a { color: var(--text); }
.btn-off { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.dl-note { margin: 0; color: var(--muted); font-size: 13px; }

.wide-shot figure { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }

.section { padding: 56px 0 8px; }
.section h2 { font-size: clamp(28px, 5vw, 40px); line-height: 1.1; margin: 0 0 24px; font-weight: 700; }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card a { color: var(--text); }
.card .btn { color: #0e0f11; }

.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.phones img { border-radius: 14px; }
.macs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.macs figure { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }

.cta { text-align: left; padding-bottom: 40px; }
.own { color: var(--muted); font-size: 16px; margin: 22px 0 0; max-width: 40em; }
.own a { color: var(--text); }
.section .lede + .wide-shot { margin-top: -4px; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.steps a, .steps b { color: var(--text); }

.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.plan { display: flex; flex-direction: column; align-items: flex-start; }
.plan-pop { border-color: #5a5d66; }
.plan h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--bg); background: var(--text); border-radius: 999px; padding: 2px 9px; }
.price { margin: 6px 0 0 !important; color: var(--muted); }
.price b { color: var(--text); font-size: 34px; letter-spacing: -0.02em; margin-right: 4px; }
.price-alt { margin: 0 0 14px !important; font-size: 14px !important; }
.plan ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); font-size: 15px; flex: 1; }
.plan li { margin: 3px 0; }
.plan-year { margin-top: 10px; font-size: 14px; color: var(--muted) !important; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

.nf { padding: 80px 0 120px; }
.nf h1 { font-size: clamp(34px, 7vw, 52px); margin: 0 0 12px; }

.foot {
  max-width: var(--max); margin: 40px auto 0; padding: 28px 20px 44px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.foot p { margin: 0 0 8px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }

@media (max-width: 420px) {
  .top { gap: 12px; }
  .top-links { gap: 14px; }
  .top-link { font-size: 14px; }
}
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .macs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .top { padding: 24px 20px; }
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; padding: 48px 0 72px; }
  .hero-phone { width: 100%; max-width: 320px; justify-self: end; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-top: 80px; }
}
