:root {
  color-scheme: light;
  --ink: #222034;
  --muted: #555167;
  --paper: #faf9fc;
  --lavender: #ede8f8;
  --violet: #5635ad;
  --mint: #dff3ea;
  --line: #cbc4dc;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body, figure, h1, h2, p { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--violet); }
a:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }
.frame { width: min(100% - 64px, 1240px); margin-inline: auto; }
.opening { background: linear-gradient(var(--lavender) 0 520px, var(--paper) 520px); }
.mast, .foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mast { min-height: 78px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.06rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.mast nav { display: flex; gap: 30px; font-size: .92rem; color: var(--muted); }
.mast nav a { text-decoration: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 290px); align-items: end; gap: 32px; padding-block: clamp(44px, 6vw, 92px) 42px; }
.hero h1 { font-size: clamp(3.8rem, 9.4vw, 8.8rem); line-height: .87; letter-spacing: -.086em; font-weight: 730; }
.hero h1 span { color: var(--violet); }
.hero-copy { border-left: 1px solid var(--line); padding: 0 0 3px 22px; }
.hero-copy p { font-size: clamp(1rem, 1.55vw, 1.17rem); line-height: 1.5; }
.hero-copy a, .security a { display: inline-block; margin-top: 16px; font-weight: 650; }
.hero-copy .release-status { margin-top: 12px; color: var(--violet); font-size: .9rem; font-weight: 650; }
.gallery { display: grid; scroll-margin-top: 20px; padding-bottom: clamp(42px, 6vw, 76px); }
.capture { display: block; padding: 7px; border: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.capture:hover { border-color: var(--violet); }
.capture img { display: block; width: 100%; height: auto; }
.image-preview { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: white; color: var(--ink); }
.image-preview::backdrop { background: rgb(34 32 52 / 82%); }
.image-preview form { display: flex; justify-content: flex-end; padding: 4px 8px; }
.image-preview button { width: 44px; height: 44px; border: 0; background: var(--lavender); color: inherit; font-size: 1.5rem; cursor: pointer; }
.image-preview button:focus-visible { outline: 2px solid var(--violet); }
.image-preview img { display: block; max-width: 100%; max-height: calc(100dvh - 84px); object-fit: contain; }
body:has(.image-preview[open]) { overflow: hidden; }
.screen { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; border-bottom: 1px solid var(--line); padding-block: clamp(30px, 5vw, 64px); }
.screen:first-child { padding-top: 0; }
.screen:nth-child(2) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr); }
.screen:nth-child(2) figcaption { grid-column: 1; grid-row: 1; }
.screen:nth-child(2) .capture { grid-column: 2; grid-row: 1; }
.screen figcaption { padding-block: 12px; }
.screen small { display: block; margin-top: 14px; color: var(--muted); }
.screen h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); line-height: 1.04; letter-spacing: -.045em; }
.screen p { margin-top: 6px; max-width: 49ch; color: var(--muted); line-height: 1.5; }
.security { background: var(--mint); }
.security-inner { padding-block: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.1fr 1.3fr auto; align-items: center; gap: 32px; }
.security h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.03; letter-spacing: -.055em; }
.security p { line-height: 1.55; }
.security a { margin-top: 0; }
.foot { min-height: 92px; color: var(--muted); font-size: .86rem; }

@media (max-width: 800px) {
  .frame { width: calc(100% - 36px); }
  .mast nav { display: none; }
  .hero { grid-template-columns: 1fr; align-items: start; gap: 23px; }
  .hero h1 { font-size: clamp(3.4rem, 12vw, 6rem); }
  .hero-copy { max-width: 42ch; }
  .screen, .screen:nth-child(2) { grid-template-columns: 1fr; gap: 10px; }
  .screen:nth-child(2) :is(figcaption, .capture) { grid-area: auto; }
  .security-inner { grid-template-columns: 1fr; gap: 16px; }
  .foot { flex-wrap: wrap; justify-content: flex-start; padding-block: 20px; gap: 12px 20px; }
}
