:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  --page: #f5f5f7;
  --surface: #ffffff;
  --soft: #ededf0;
  --tint: #e8eef8;
  --ink: #1d1d1f;
  --muted: #515154;
  --line: #d8d8de;
  --accent: #0062c4;
  --cta: #006bd6;
  --cta-hover: #005ab6;
  --on-cta: #fff;
  --focus: #006bd6;
  --shadow: 0 16px 44px #16161b12;
  background: var(--page);
  color: var(--ink);
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[id] { scroll-margin-top: 20px; }
h1, h2, h3, p, figure, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
button { font: inherit; }
.shell { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 5; padding: 12px 18px; background: var(--surface); }
.skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; }
.header { display: flex; justify-content: space-between; align-items: center; min-height: 78px; gap: 18px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 750; letter-spacing: -.045em; flex: none; }
.header nav, .footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 2px 28px; }
.header nav a, .footer-links a, .back-top { padding-block: 11px; font-size: 14px; font-weight: 630; color: var(--muted); }
.header nav a:hover, .footer-links a:hover, .back-top:hover { color: var(--accent); }
h1, h2, h3 { letter-spacing: -.048em; }
h2 { font-size: clamp(25px, 3.1vw, 39px); line-height: 1.07; font-weight: 730; text-wrap: balance; }

.hero { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.2fr); align-items: center; gap: clamp(25px, 3vw, 46px); padding-block: clamp(32px, 5vw, 66px) 26px; }
.hero h1 { max-width: 17ch; font-size: clamp(37px, 4.2vw, 56px); letter-spacing: -.058em; line-height: 1.02; font-weight: 750; }
.hero h1 em { color: var(--accent); font-style: normal; white-space: nowrap; }
.lead { max-width: 42ch; margin-top: 14px; color: var(--muted); font-size: clamp(16px, 1.45vw, 18px); line-height: 1.48; }
.platform-note { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.primary { display: inline-flex; align-items: center; gap: 14px; margin: 25px 16px 0 0; padding: 13px 17px; border-radius: 11px; background: var(--cta); color: var(--on-cta); font-size: 15px; font-weight: 690; }
.primary:hover { background: var(--cta-hover); }
.primary span { font-size: 17px; }
/* The catalog is the focal point on the landing page. */
.product {
  display: grid;
  align-content: center;
  gap: 13px;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: clamp(13px, 2.3vw, 33px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: radial-gradient(ellipse at 72% 15%, var(--tint), transparent 70%),
              linear-gradient(155deg, var(--surface), var(--soft));
  box-shadow: inset 0 1px 0 #ffffff29, var(--shadow);
}
.screen {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: clamp(9px, 1.3vw, 17px);
  background: var(--surface);
  box-shadow: 0 15px 32px #09132438;
}
.screen picture, .screen img { display: block; width: 100%; }
.screen img { height: auto; }
.zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  font-size: 12px;
  font-weight: 670;
}
.screen:hover .zoom { color: var(--accent); background: var(--soft); }
.product figcaption { color: var(--muted); font-size: 12px; text-align: center; }

.privacy-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 17px; padding: clamp(18px, 2.7vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.privacy-summary h2 { font-size: clamp(24px, 3vw, 34px); text-wrap: wrap; }
.privacy-summary p { margin-top: 7px; color: var(--muted); line-height: 1.51; }
.privacy-detail { font-size: 14px; }
.privacy-detail a, .policy-links a, .document-body a, .document-back { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.lock-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--accent); }
.lock-mark span { position: relative; width: 19px; height: 15px; margin-top: 6px; border: 2px solid; border-radius: 4px; }
.lock-mark span::before { position: absolute; bottom: 100%; left: 3px; width: 9px; height: 8px; border: 2px solid; border-bottom: 0; border-radius: 7px 7px 0 0; content: ""; }

.guide { padding-block: clamp(30px, 4.3vw, 56px); }
.steps { counter-reset: steps; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 23px 0 0; }
.steps li { counter-increment: steps; min-width: 0; padding: 9px 9px 16px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.step-visual { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; block-size: clamp(110px, 12vw, 150px); overflow: hidden; border-radius: 12px; background: var(--tint); }
.step-visual img { width: 100%; height: 100%; object-fit: cover; }
.step-connect, .step-setup, .step-complete {
  background: radial-gradient(ellipse at 52% 12%, var(--tint), var(--soft) 78%);
}
.connect-scene {
  --mac-edge: 62%;
  --phone-center: 86%;
  position: relative;
  isolation: isolate;
  width: min(75%, 200px);
  aspect-ratio: 2.1;
}
.guide-mac { position: absolute; left: 4%; top: 13%; width: calc(var(--mac-edge) - 4%); height: 59%; border: 2px solid var(--muted); border-radius: 8px 8px 3px 3px; background: linear-gradient(145deg, var(--surface), var(--tint)); box-shadow: inset 0 0 0 4px var(--surface); }
.guide-mac::before { content: ""; position: absolute; left: calc(50% - 11px); top: 0; width: 22px; height: 4px; border-radius: 0 0 4px 4px; background: var(--muted); }
.guide-mac::after { content: ""; position: absolute; left: -8%; bottom: -6px; width: 116%; height: 5px; background: var(--muted); border-radius: 0 0 55% 55%; }
.guide-phone, .guide-result { border: 2px solid var(--muted); background: var(--surface); border-radius: 11px; box-shadow: inset 0 0 0 3px var(--soft), 0 5px 16px #11182c20; }
.guide-phone { position: absolute; width: 22%; height: 76%; left: calc(var(--phone-center) - 11%); top: 2%; }
.guide-phone::before, .guide-result::before { content: ""; position: absolute; top: 6px; left: 32%; width: 36%; height: 4px; border-radius: 8px; background: var(--muted); }
.guide-cable {
  position: absolute;
  z-index: -1;
  left: calc(var(--mac-edge) - 2px);
  right: calc(100% - var(--phone-center) - 1px);
  top: 64%;
  bottom: 6%;
  border: 2px solid var(--muted);
  border-top: 0;
  border-radius: 0 0 9px 9px;
}
.step-setup .setup-icon { width: 58px; height: 58px; border-radius: 14px; box-shadow: var(--shadow); }
.guide-result { display: grid; place-items: center; position: relative; width: min(19%, 52px); aspect-ratio: .54; min-width: 0; }
.guide-installed { position: relative; display: grid; place-items: center; width: 66%; aspect-ratio: 1; }
.step-complete .guide-installed img { width: 100%; height: auto; border-radius: 24%; }
.guide-installed span { position: absolute; right: -6px; bottom: -5px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #ccecdf; color: #125641; font-size: 13px; font-weight: 750; }
@media (prefers-reduced-motion: no-preference) {
  .guide-installed::after { content: ""; position: absolute; inset: -4px; border-radius: 30%; border: 2px solid var(--accent); animation: guide-install 2s ease-out both; pointer-events: none; }
  .guide-installed span { animation: guide-ready 2s ease-out both; }
  @keyframes guide-install { 0% { clip-path: inset(90% 0 0); opacity: .25; } 72% { clip-path: inset(0); opacity: 1; } 100% { opacity: 0; } }
  @keyframes guide-ready { 0%, 72% { opacity: 0; transform: scale(.75); } 100% { opacity: 1; transform: scale(1); } }
}
.steps h3 { margin: 13px 6px 0; font-size: clamp(17px, 1.9vw, 22px); line-height: 1.17; }
.steps h3::before { content: counter(steps) ". "; color: var(--accent); }
.steps p { margin: 6px 6px 0; color: var(--muted); line-height: 1.49; font-size: 15px; }

.pricing, .faq, .release, .contact { padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.pricing, .release { background: var(--soft); }
.pricing-plans {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
  padding: 0;
  margin: clamp(18px, 3vw, 34px) 0 0;
  list-style: none;
}
.pricing-plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(14px, 2.3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.pricing-plan h3 { font-size: clamp(15px, 1.65vw, 20px); line-height: 1.2; }
.pricing-amount {
  margin-top: 12px;
  font-size: clamp(29px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.045em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pricing-rate, .pricing-note { color: var(--muted); font-size: 14px; line-height: 1.4; }
.pricing-rate { margin-top: 6px; }
.pricing-note { margin-top: 14px; }
.pricing-action-row {
  margin-top: auto;
  padding-top: 16px;
}
.pricing-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 680;
}
.pricing-action:disabled {
  color: var(--muted);
  border-color: var(--line);
  background: var(--soft);
}
.pricing-action-try {
  color: var(--on-cta);
  background: var(--cta);
}
.pricing-action-try:hover { background: var(--cta-hover); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .pricing-action-try { transition: background-color .18s ease, transform .18s ease; }
  .pricing-action-try:hover { transform: scale(1.025); }
}
.pricing-plan-bonus { border-color: #b8d8c9; background: #ecf7f1; }
.pricing-plan-bonus .pricing-amount { color: #186448; }
.pricing-plan-featured { border-color: #aac8ef; background: var(--tint); }
.pricing-plan-featured .pricing-amount { color: var(--accent); }
@media (max-width: 860px) {
  .pricing-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-plan-bonus { grid-column: 1 / -1; }
}
.faq { background: var(--surface); }
.compact-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, .61fr) minmax(0, 1.4fr); gap: clamp(17px, 4.5vw, 58px); }
.compact-grid h2, .contact h2 { font-size: clamp(25px, 3.1vw, 36px); text-wrap: wrap; }
.price-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.price-pair div { border: 1px solid var(--line); border-radius: 13px; padding: 14px; background: var(--surface); }
.price-pair dt { color: var(--muted); font-size: 13px; font-weight: 640; }
.price-pair strong { display: block; margin-top: 6px; color: var(--accent); font-size: clamp(20px, 2.8vw, 33px); letter-spacing: -.048em; }
.price-pair span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
details { border-bottom: 1px solid var(--line); }
.payment-flow { margin-top: 11px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-weight: 660; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
summary:hover { color: var(--accent); }
details p { margin: 0 22px 13px 0; color: var(--muted); line-height: 1.53; }
.muted, .section-lead, .seller p { color: var(--muted); line-height: 1.5; }
.release-status { font-size: 17px; line-height: 1.5; }
.section-lead, .seller p { margin-top: 8px; }
.section-lead a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.seller h3 { font-size: 19px; }
.seller-details { display: grid; gap: 5px; margin: 11px 0 0; font-size: 14px; line-height: 1.5; }
.seller-details div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 9px; }
.seller-details dt { font-weight: 650; }
.seller-details dd { color: var(--muted); }
.policy-links { display: flex; flex-wrap: wrap; gap: 8px 21px; margin-top: 12px; font-size: 14px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; padding-block: 15px; }

.document { padding-block: clamp(33px, 6vw, 80px); }
.document-inner { max-width: 770px; }
.document-back { display: inline-block; margin-bottom: 19px; }
.document h1 { font-size: clamp(34px, 5.6vw, 62px); line-height: 1.02; overflow-wrap: anywhere; }
.document-status { margin-top: 18px; padding: 11px 14px; border-left: 3px solid var(--accent); background: var(--soft); color: var(--muted); }
.document-body h2 { margin-top: 28px; font-size: clamp(21px, 2.6vw, 29px); text-wrap: wrap; }
.document-body p { margin-top: 8px; color: var(--muted); line-height: 1.61; }

.preview { width: min(1160px, calc(100% - 30px)); max-height: calc(100% - 30px); padding: 0; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 85px #0008; }
.preview::backdrop { background: #080e20c9; backdrop-filter: blur(6px); }
.preview-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; }
.preview-bar h2 { font-size: 16px; letter-spacing: 0; }
.preview-bar button { padding: 7px 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: var(--soft); cursor: pointer; white-space: nowrap; }
.preview-image { overflow: auto; }
.preview-image img { width: 100%; min-width: 680px; max-width: none; }
body:has(.preview[open]) { overflow: hidden; }

@media (max-width: 940px) {
  .shell { width: calc(100% - 56px); }
  .hero { gap: 23px; }
}
@media (max-width: 740px) {
  .hero { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { max-width: 520px; }
  .hero h1 { font-size: clamp(34px, 7vw, 52px); }
  .steps { gap: 10px; }
}
@media (max-width: 570px) {
  .shell { width: calc(100% - 34px); }
  .header { min-height: 64px; gap: 7px; }
  .header nav, .footer-links { gap: 1px 10px; }
  .header nav a { font-size: 12px; padding-block: 7px; }
  .brand { font-size: 17px; gap: 3px; }
  .brand img { width: 31px; }
  .hero { padding-block: 34px 19px; gap: 23px; }
  .lead { margin-top: 13px; }
  .primary { margin-top: 17px; }
  .privacy-summary { gap: 11px; }
  .lock-mark { width: 31px; height: 34px; border-radius: 8px; }
  .compact-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 13px; }
  .footer-links { order: 1; flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 355px) {
  .price-pair { gap: 7px; }
  .price-pair div { padding: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

#install-macos { scroll-margin-top: 72px; }
.steps a, .setup-details a, .answers a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.setup-details { margin-top: 16px; font-size: 14px; }
.setup-details ul { margin: 0 0 14px; padding-inline-start: 21px; color: var(--muted); line-height: 1.5; }
.setup-details li + li { margin-top: 6px; }
.online-panel, .download-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.online-panel { margin-bottom: clamp(30px, 4.3vw, 56px); padding: clamp(16px, 2.5vw, 26px); border: 1px solid var(--line); border-radius: 17px; background: var(--soft); }
.online-panel h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: clamp(21px, 2.6vw, 29px); }
.online-panel h2 span { padding: 4px 8px; border-radius: 6px; background: var(--tint); color: var(--accent); font-size: 12px; letter-spacing: 0; }
.online-panel p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.online-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--accent); font-size: 14px; font-weight: 680; }
.online-link:hover { background: var(--tint); }
.download-row .primary { margin: 0; }
@media (max-width: 570px) {
  .header { flex-wrap: wrap; padding-block: 11px; }
}

/* The app and phone sit directly on the site's themed canvas. */
.product.product-native { padding: 0; border: 0; gap: 3px; background: none; box-shadow: none; }
.product-native .screen {
  display: grid;
  gap: 8px;
  overflow: visible;
  border: 0;
  border-radius: 12px;
  background: none;
  box-shadow: none;
}
.hero-composition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(37px, 13%, 96px);
  align-items: center;
  gap: clamp(8px, 1.1vw, 18px);
  min-width: 0;
  padding: 3px 2px 10px;
}
.hero-window {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(9px, 1.2vw, 17px);
  background: #1e1e1e;
  box-shadow: 0 18px 35px #080c1a42;
}
.hero-window img {
  display: block;
  width: 102.1%;
  max-width: none;
  height: auto;
  margin: -1% -1.05%;
}
.hero-iphone {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: .51;
  margin-top: 35%;
  border: 1px solid var(--muted);
  border-radius: 23% / 12%;
  background: linear-gradient(150deg, var(--tint), var(--surface) 65%);
  box-shadow: inset 0 0 0 3px var(--page), 0 13px 21px #080c1a40;
}
.hero-iphone::before {
  position: absolute;
  top: 6%;
  left: 35%;
  width: 30%;
  height: 3.5%;
  border-radius: 99px;
  background: var(--ink);
  opacity: .7;
  content: "";
}
.hero-iphone-app { position: relative; width: 56%; }
.hero-iphone-app img { display: block; width: 100%; height: auto; border-radius: 24%; }
.hero-iphone-app span {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: clamp(13px, 1.25vw, 19px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ccecdf;
  color: #125641;
  font-size: clamp(9px, .9vw, 13px);
  font-weight: 750;
}
.product-native .zoom {
  position: static;
  justify-self: center;
  width: fit-content;
  padding: 3px 8px;
  border-color: transparent;
  color: var(--accent);
  background: none;
}
.preview-image .hero-composition { min-width: 660px; padding: 8px 18px 20px; }
.preview-image .hero-composition img { min-width: 0; }
.product-native .hero-window img, .preview-image .hero-window img { width: 102.1%; }


@media (max-width: 740px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Homepage actions and product preview. */
.header-home { gap: clamp(10px, 2vw, 24px); }
.header-home nav { margin-inline-start: auto; justify-content: center; gap: 6px clamp(13px, 2vw, 23px); }
.header-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.header-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 690; }
.header-download { border-color: transparent; background: var(--cta); color: var(--on-cta); }
.header-download:hover, .platform-mac:hover { background: var(--cta-hover); }
.header-online { color: var(--accent); background: var(--surface); }
.header-online:hover, .platform-windows:hover, .hero-online:hover { background: var(--tint); }
.header-online small { color: var(--muted); font-size: 10px; font-weight: 650; }
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.17fr); gap: clamp(22px, 4vw, 60px); padding-block: clamp(31px, 5vw, 72px) clamp(23px, 4vw, 45px); }
.hero h1 { max-width: none; letter-spacing: -.054em; }
.hero h1 em { display: block; white-space: normal; }
.hero .lead { max-width: 39ch; }
.platform-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 21px; scroll-margin-block-start: 18px; }
.platform-action { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; min-height: 70px; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; text-align: start; }
.platform-action strong, .hero-online strong { display: block; font-size: 14px; line-height: 1.3; letter-spacing: -.01em; }
.platform-action small, .hero-online small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.platform-mac { border-color: transparent; background: var(--cta); color: var(--on-cta); }
.platform-mac small { color: currentColor; }
.platform-windows, .hero-online { background: var(--surface); }
.platform-windows strong { color: var(--accent); }
.platform-icon { width: 15px; height: 15px; position: relative; color: inherit; }
.platform-icon-mac { height: 12px; margin-block-end: 3px; border: 1.5px solid; border-radius: 2px; }
.platform-icon-mac::after { content: ""; position: absolute; width: 7px; height: 1.5px; bottom: -4px; left: 2.5px; background: currentColor; }
.platform-icon-windows { color: var(--accent); background: linear-gradient(currentColor 0 0) left top / 6px 6px, linear-gradient(currentColor 0 0) right top / 6px 6px, linear-gradient(currentColor 0 0) left bottom / 6px 6px, linear-gradient(currentColor 0 0) right bottom / 6px 6px; background-repeat: no-repeat; }
.platform-arrow { font-weight: 730; font-size: 15px; }
.hero-online { display: inline-flex; align-items: center; gap: 17px; min-height: 45px; padding: 6px 12px; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; color: var(--accent); }
.product-native.home-preview { gap: 7px; }
.home-preview .screen {
  padding: clamp(12px, 2.7vw, 30px);
  border: 1px solid var(--line);
  border-radius: clamp(14px, 2.5vw, 27px);
  background: radial-gradient(ellipse at 78% 15%, var(--tint), transparent 68%), linear-gradient(155deg, var(--surface), var(--soft));
  box-shadow: inset 0 1px 0 #ffffff25, var(--shadow);
}
.home-preview .hero-composition { padding-block: 9px 20px; gap: clamp(9px, 1.3vw, 18px); }
.home-preview .hero-iphone { margin-top: 17%; }
.home-preview .zoom { justify-self: end; }
#install-windows { scroll-margin-block-start: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .home-preview .hero-window { transform: translateY(calc((1 - var(--preview-progress, 1)) * 22px)) scale(calc(.96 + var(--preview-progress, 1) * .04)); }
  .home-preview .hero-iphone { transform: translateY(calc((1 - var(--preview-progress, 1)) * 33px)) scale(calc(.91 + var(--preview-progress, 1) * .09)); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 530px; }
  .home-preview { max-width: 720px; }
}
@media (max-width: 650px) {
  .header-home { flex-wrap: wrap; padding-block: 9px; }
  .header-home nav { order: 2; flex-basis: 100%; justify-content: flex-start; margin-inline-start: 0; }
  .header-home nav a { padding-block: 8px; }
}
@media (max-width: 440px) {
  .platform-actions { grid-template-columns: minmax(0, 1fr); margin-top: 15px; }
  .platform-action { min-height: 58px; }
  .header-button { font-size: 12px; padding-inline: 9px; }
}
@media (max-width: 320px) {
  .header-online small { display: none; }
}


.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  padding: clamp(17px, 3.1vw, 38px);
  margin-block-end: clamp(16px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 2vw, 25px);
  background: linear-gradient(135deg, var(--soft), var(--surface) 73%);
  scroll-margin-block-start: 16px;
}
.showcase-copy h2 {
  max-inline-size: 16ch;
  font-size: clamp(24px, 3vw, 37px);
  line-height: 1.12;
  text-wrap: pretty;
}
.showcase-copy p {
  max-inline-size: 37ch;
  margin-block-start: 11px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.showcase-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-block-size: 44px;
  margin-block-start: 7px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 690;
}
.showcase-all:hover { text-decoration: underline; text-underline-offset: .2em; }
.showcase-apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.app-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-block-size: 96px;
  height: 100%;
  padding: 9px 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  text-align: center;
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.25;
  font-weight: 690;
  overflow-wrap: anywhere;
}
.app-tile img { inline-size: 44px; block-size: 44px; object-fit: contain; border-radius: 11px; }
.app-tile:hover { color: var(--accent); border-color: var(--focus); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .app-tile { transition: transform .18s ease, border-color .18s ease; }
  .app-tile:hover { transform: translateY(-2px); }
}
@media (max-width: 820px) {
  .app-showcase { grid-template-columns: minmax(0, 1fr); }
  .showcase-copy h2, .showcase-copy p { max-inline-size: none; }
}
@media (max-width: 390px) {
  .showcase-apps { gap: 6px; }
  .app-tile { padding-inline: 2px; font-size: 11px; }
  .app-tile img { inline-size: 36px; block-size: 36px; border-radius: 9px; }
}

.hero-window.brand-preview {
  display: grid;
  gap: clamp(8px, 1vw, 15px);
  padding: clamp(9px, 2vw, 24px);
  background: var(--surface);
  color: var(--ink);
}
.brand-preview-head { display: flex; gap: 8px; align-items: center; font-weight: 730; }
.hero-composition .brand-preview .brand-preview-head img { width: 32px; height: 32px; max-width: 100%; margin: 0; border-radius: 8px; }
.brand-preview-list { display: grid; gap: 5px; }
.brand-preview-list > span { display: flex; min-height: 34px; align-items: center; gap: 8px; padding: 4px 7px; border-radius: 8px; background: var(--soft); font-size: clamp(11px, 1.25vw, 14px); }
.hero-composition .brand-preview .brand-preview-list img { width: 28px; height: 28px; max-width: 100%; margin: 0; border-radius: 7px; }
.brand-preview-list b { margin-inline-start: auto; color: var(--accent); }


body {
  background: var(--page);
}
.header-home {
  margin-block-start: clamp(8px, 1.8vw, 20px);
  min-height: 65px;
  padding-inline: clamp(12px, 2vw, 24px);
  border: 1px solid #e0e0e5;
  border-radius: 16px;
  background: #ffffffec;
  box-shadow: 0 6px 22px #16161b0b;
}
.header-home .brand img { border-radius: 10px; }
.header-home .header-button,
.primary, .online-link, .hero-online { border-radius: 999px; }
.primary, .showcase-all { min-height: 44px; }
.header-home .header-button, .platform-action, .primary, .online-link, .app-tile {
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.hero {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr);
  column-gap: clamp(25px, 4.5vw, 65px);
  padding-block: clamp(37px, 6vw, 84px) clamp(26px, 5vw, 59px);
}
.hero h1 { font-size: clamp(38px, 4.5vw, 62px); line-height: 1.06; }
.hero .lead { max-width: 40ch; }
.hero-copy .platform-actions { gap: 8px; }
.platform-actions .hero-online {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  margin: 2px 0 0;
}
.header-actions .header-online { order: 1; }
.platform-mobile, .release-unavailable { display: none; }
.platform-action { border-radius: 999px; padding-inline: clamp(12px, 1.3vw, 18px); }
.hero .platform-mac:hover { background: var(--cta-hover); }
.hero .platform-windows:hover { background: var(--tint); }
.hero-online { border-color: var(--accent); background: transparent; color: var(--accent); padding-inline: 16px; }
.home-preview .screen {
  background: radial-gradient(ellipse at 78% 20%, #ffffff, transparent 61%), linear-gradient(155deg, #e5e7ed, #f0f1f5 59%, #f8f8fa);
  border: 1px solid #dedee4;
  border-radius: clamp(17px, 2.7vw, 30px);
  padding: clamp(12px, 2.6vw, 30px);
}
.home-preview .hero-composition {
  grid-template-columns: minmax(0, 1fr) clamp(41px, 18%, 108px);
  gap: clamp(9px, 1.8vw, 22px);
  padding: 0;
}
.home-preview .hero-iphone { margin-top: 0; }
.preview-installed {
  padding: 3px 6px;
  border-radius: 999px;
  background: #e2f3e8;
  color: #196340 !important;
  font-size: clamp(9px, 1vw, 11px);
  white-space: nowrap;
}
.hero-window.brand-preview {
  padding: clamp(10px, 2.2vw, 25px);
  border: 1px solid #dedee5;
  border-radius: clamp(11px, 1.7vw, 18px);
  box-shadow: 0 16px 26px #16161b21;
}
.brand-preview-head { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.brand-preview-list { gap: 6px; }
.brand-preview-list > span { min-height: clamp(34px, 3vw, 43px); }
.home-preview .hero-iphone {
  background: linear-gradient(145deg, #ffffff, #e8eef8);
  border-color: #858a98;
}
.app-showcase {
  grid-template-columns: minmax(0, 1fr);
  gap: 17px;
  background: var(--surface);
  box-shadow: 0 8px 26px #16161b0a;
}
.showcase-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; align-items: start; }
.showcase-copy h2 { max-inline-size: none; }
.showcase-copy p { max-inline-size: 62ch; margin-block-start: 6px; }
.showcase-all { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-block-start: 0; }
.showcase-apps {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: clamp(110px, 16vw, 146px);
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 5px 5px 9px;
  scrollbar-width: thin;
}
.showcase-apps > li { scroll-snap-align: start; }
.showcase-apps.is-looping {
  scroll-snap-type: none;
  scroll-behavior: auto;
  scrollbar-width: none;
}
.showcase-apps.is-looping::-webkit-scrollbar { display: none; }
.showcase-apps .app-tile:hover { transform: none; }
.app-tile { min-block-size: 91px; background: #f6f6f8; border-color: #e3e3e8; }
.app-tile:hover { background: #eeeff3; }
.privacy-summary, .online-panel { background: #f0f0f3; }
.steps {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
}
.steps li {
  padding: 17px clamp(13px, 2vw, 24px);
  border: 0;
  border-radius: 0;
  background: none;
}
.steps li + li { border-inline-start: 1px solid var(--line); }
.steps h3, .steps p { margin-inline: 0; }
.steps h3 { margin-block-start: 0; font-size: clamp(16px, 1.6vw, 20px); }
.steps p { margin-block-start: 7px; font-size: 14px; }
.release { padding-block: clamp(26px, 4vw, 45px); margin-block-end: clamp(22px, 4vw, 40px); }
.release-online { margin-top: 15px; }
.release-online .online-panel { margin-bottom: 0; background: var(--surface); }
.release-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block-start: 15px; }
.release-card {
  display: grid;
  gap: 9px;
  align-content: start;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: clamp(15px, 2.4vw, 25px);
  background: var(--surface);
}
.release-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 2vw, 25px);
}
.release-icon { display: block; flex: none; width: 23px; height: 23px; }
.release-card p { color: var(--muted); }
.release-card .primary { margin: 7px 0 0; }
.buy-panel { box-shadow: 0 6px 20px #16161b0a; }

@media (prefers-reduced-motion: no-preference) {
  .is-revealing { animation: appstorika-reveal 620ms cubic-bezier(.22, .75, .3, 1) both; }
  @keyframes appstorika-reveal {
    from { opacity: .75; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 620px; }
  .home-preview { max-width: 720px; }
}
@media (max-width: 650px) {
  .header-home { width: calc(100% - 24px); padding-inline: 9px; }
  .hero { padding-block-start: 27px; }
  .hero h1 { font-size: clamp(33px, 8.3vw, 53px); }
  .showcase-copy { display: block; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .header-actions .header-online { order: 0; }
  .header-home .header-online {
    border-color: transparent;
    background: var(--cta);
    color: var(--on-cta);
  }
  .header-home .header-online:hover { background: var(--cta-hover); }
  .header-home .header-online small { color: inherit; }
  .header-home .header-download {
    border-color: var(--line);
    background: var(--surface);
    color: var(--accent);
  }
  .hero-copy .platform-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block-start: 15px;
  }
  .platform-actions .hero-online {
    grid-row: 1;
    min-height: 50px;
    margin: 0 0 3px;
    background: var(--cta);
    color: var(--on-cta);
  }
  .platform-actions .hero-online:hover, .release-online .online-link:hover { background: var(--cta-hover); }
  .platform-actions .hero-online small { color: inherit; }
  .platform-actions .platform-action {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 52px;
    gap: 7px;
    padding: 7px 9px;
    border-color: var(--line);
    background: var(--surface);
    color: var(--accent);
  }
  .hero .platform-actions .platform-action:hover { background: var(--tint); }
  .platform-actions .platform-action small { color: var(--muted); }
  .platform-actions .platform-arrow, .platform-desktop { display: none; }
  .platform-mobile { display: inline; }
  .release-online .online-panel { gap: 10px 16px; }
  .release-online .online-link {
    background: var(--cta);
    border-color: transparent;
    color: var(--on-cta);
  }
  .release-grid { gap: 8px; margin-block-start: 8px; }
  .release-card {
    min-width: 0;
    padding: 12px 10px;
    gap: 6px;
    border-radius: 14px;
    grid-template-rows: auto 1fr auto;
  }
  .release-card h3 { gap: 6px; font-size: clamp(14px, 4vw, 19px); }
  .release-icon { width: 16px; height: 16px; }
  .release-card p { font-size: 12px; line-height: 1.35; }
  .release-card .primary, .release-unavailable {
    grid-row: 3;
    margin: 3px 0 0;
    padding: 7px 10px;
    min-height: 44px;
    font-size: 13px;
  }
  .release-card .primary {
    gap: 6px;
    background: var(--tint);
    color: var(--accent);
  }
  .release-card .primary:hover { background: var(--soft); }
  .release-macos-label, .release-windows-info { display: none; }
  .release-unavailable {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-weight: 650;
    line-height: 1.2;
  }
  .steps li + li { border-inline-start: 0; border-block-start: 1px solid var(--line); }
}
@media (max-width: 385px) {
  .preview-installed { display: none; }
  .brand-preview-list > span { gap: 4px; padding-inline: 4px; }
  .hero-composition .brand-preview .brand-preview-list img { width: 22px; height: 22px; border-radius: 5px; }
  .hero-composition .brand-preview .brand-preview-head img { width: 24px; height: 24px; }
}
