:root {
  color-scheme: light;
  --ink: #161617;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --blue: #0066cc;
  --blue-hover: #0077ed;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}
.header-inner {
  width: min(1180px, calc(100% - 48px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -.025em;
}
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 30px; font-size: .84rem; }
nav a { text-decoration: none; }
nav a:hover { color: var(--blue); }
nav span { color: var(--muted); }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 96px 0 104px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  align-items: center;
  gap: 7%;
}
.kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; }
h1 {
  max-width: 760px;
  margin-bottom: 25px;
  font-size: clamp(3.5rem, 6.7vw, 6.4rem);
  font-weight: 700;
  line-height: .98;
}
.hero-text {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.0rem, 1.5vw, 1.35rem);
  letter-spacing: -.02em;
  line-height: 1.5;
}
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  font: 700 .96rem Helvetica, Arial, sans-serif;
  text-decoration: none;
}
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-hover); }
.availability { color: var(--muted); font-size: .92rem; }
.hero-panorama { width: 100%; max-width: 470px; margin: 0; justify-self: center; }
.hero-panorama iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 45 / 29;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .13);
}
.hero-panorama figcaption {
  display: block;
  padding: 14px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
  text-align: left;
}

.format-strip {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.format-strip div { padding: 0 30px; display: flex; flex-direction: column; gap: 3px; }
.format-strip div:first-child { padding-left: 0; }
.format-strip div + div { border-left: 1px solid var(--line); }
.format-strip strong { font-size: .98rem; letter-spacing: -.015em; }
.format-strip span { color: var(--muted); font-size: .9rem; }

.features {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0;
}
.section-heading { max-width: 810px; }
.section-heading h2, .closing h2 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.03;
}
.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.55;
}
.feature-grid {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.feature-grid article { padding: 28px 32px 10px 0; }
.feature-grid article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.feature-number { color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.feature-grid h3 { margin: 39px 0 15px; font-size: 1.5rem; line-height: 1.15; }
.feature-grid p { margin-bottom: 0; color: var(--muted); font-size: 1rem; }
.compatibility-note {
  max-width: 800px;
  margin: 56px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}

.screenshots { padding: 128px max(24px, calc((100vw - 1180px) / 2)); background: var(--soft); }
.section-heading.compact { max-width: 760px; margin-bottom: 66px; }
.screenshot-stack { display: grid; gap: 72px; }
figure { margin: 0; }
.screenshot-frame {
  overflow: hidden;
  padding: 10px;
  background: #fff;
  border: 1px solid #dedee2;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .1);
}
.screenshot-frame img { width: 100%; border-radius: 12px; }
figcaption { padding: 20px 4px 0; display: flex; justify-content: space-between; gap: 24px; }
figcaption strong { font-size: 1rem; }
figcaption span { color: var(--muted); font-size: .95rem; text-align: right; }
.screenshot-note { margin: 46px 0 0; color: var(--muted); font-size: .82rem; }

.closing {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 122px 0;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}
.closing > img { height: auto; border-radius: 23px; }
.closing h2 { max-width: 700px; margin-bottom: 14px; font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.closing p { max-width: 660px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.download-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.button.download { min-width: 180px; background: #e8e8ed; color: #86868b; cursor: not-allowed; }
.download-wrap span { color: var(--muted); font-size: .78rem; }

footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}
footer span:first-child { color: var(--ink); font-weight: 700; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.gallery-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 120px;
}
.gallery-page h1 {
  max-width: 900px;
  margin-bottom: 60px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.04;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 32px;
}
.gallery-item { min-width: 0; }
.gallery-item iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 45 / 29;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .1);
}
.gallery-item figcaption {
  display: block;
  padding: 15px 2px 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
  text-align: left;
}
nav a[aria-current="page"] { color: var(--blue); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 74px 0 90px; grid-template-columns: 1fr; gap: 64px; }
  .hero-panorama { grid-row: 1; max-width: 470px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { padding: 28px 0 34px; }
  .feature-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid h3 { margin-top: 20px; }
  .closing { grid-template-columns: 86px 1fr; }
  .closing > img { width: 86px; }
  .download-wrap { grid-column: 2; align-items: flex-start; }
  .gallery-grid { gap: 48px 22px; }
}

@media (max-width: 620px) {
  .header-inner, .hero, .format-strip, .features, .closing, .gallery-page, footer { width: min(100% - 36px, 1180px); }
  .header-inner { height: 62px; }
  nav a { display: none; }
  nav { gap: 0; }
  .brand img { width: 35px; height: 35px; }
  .hero { padding-top: 52px; gap: 48px; }
  .hero-panorama { max-width: 100%; }
  h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .format-strip { grid-template-columns: 1fr; padding: 8px 0; }
  .format-strip div { padding: 19px 0; }
  .format-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .features, .screenshots, .closing { padding-top: 88px; padding-bottom: 88px; }
  .feature-grid { margin-top: 54px; }
  .screenshots { padding-left: 18px; padding-right: 18px; }
  .screenshot-frame { padding: 5px; border-radius: 13px; }
  .screenshot-frame img { border-radius: 8px; }
  figcaption { flex-direction: column; gap: 4px; }
  figcaption span { text-align: left; }
  .closing { grid-template-columns: 68px 1fr; gap: 22px; }
  .closing > img { width: 68px; }
  .closing h2 { font-size: 2.5rem; }
  .download-wrap { grid-column: 1 / -1; align-items: stretch; }
  .gallery-page { padding: 68px 0 88px; }
  .gallery-page h1 { margin-bottom: 40px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 44px; }
  nav a[aria-current="page"] { display: inline; }
  footer { flex-direction: column; }
}

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