/* Themes */
:root {
  color-scheme: dark;
  --bg: #0c1017;
  --text: #edf2fa;
  --heading-muted: #929fb1;
  --muted: #95a5bc;
  --accent: #7ab6ff;
  --line: #273241;
  --control: #202c3b;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f2f4;
  --text: #1b2738;
  --heading-muted: #65748a;
  --muted: #63728a;
  --accent: #2868be;
  --line: #d5dae1;
  --control: #e2e8f0;
}

/* Base and navigation */
* { box-sizing: border-box; }
html { min-height: 100%; background: #183653; scroll-behavior: smooth; scroll-padding-top: 30px; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(135deg, #0b172b 0%, #152b48 35%, #254d70 70%, #3e7190 100%);
  background-attachment: fixed;
  background-size: 100vw 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="light"] body { background: linear-gradient(135deg, #f2f7ff 0%, #dceafa 35%, #b7d3ee 70%, #8eb9db 100%); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--accent); }
.wrap { max-width: 1160px; margin: auto; padding-left: 32px; padding-right: 32px; }
.skip { position: fixed; top: -100px; left: 20px; background: var(--accent); color: var(--bg); padding: 12px; z-index: 10; }
.skip:focus { top: 10px; }
.nav { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.nav::after { content: ""; position: absolute; bottom: 0; left: 32px; right: 32px; height: 1px; background: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 23px; white-space: nowrap; }
.brand img { width: 56px; height: 56px; flex-shrink: 0; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; justify-content: center; height: 48px; line-height: 1.1; gap: 3px; }
.brand-name strong { font-size: 23px; font-weight: 700; }
.brand-subtitle { font-size: 13px; font-weight: 400; letter-spacing: .2px; color: var(--muted); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.nav nav a { position: relative; padding: 8px 0; color: var(--text); }
.nav nav a:hover { color: var(--accent); }
.nav nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 3px; left: 0; width: 100%; height: 1px; border-radius: 2px; background: var(--accent); }
.theme-toggle, .language-toggle { flex-shrink: 0; display: grid; place-items: center; height: 36px; border: 0; background: var(--control); color: var(--text); cursor: pointer; }
.theme-toggle { width: 36px; border-radius: 50%; }
.theme-toggle svg { width: 18px; height: 18px; }
.moon { display: none; }
:root[data-theme="light"] .sun { display: none; }
:root[data-theme="light"] .moon { display: block; }
.language-toggle { min-width: 74px; padding: 0 12px; border-radius: 20px; line-height: 1; }
.language-toggle span { font-size: 12px; line-height: 1.2; }
.language-toggle:hover { box-shadow: 0 0 0 1px var(--accent); }

/* Hero and slideshow */
.hero { text-align: center; padding-top: 75px; padding-bottom: 0; }
h1 { font-size: clamp(28px, 4.5vw, 52px); margin: 0 auto; max-width: 1000px; font-weight: 400; line-height: 1.16; letter-spacing: -2px; }
.headline-lead { display: block; font-size: clamp(28px, 3.7vw, 43px); color: var(--heading-muted); margin-bottom: 14px; }
.headline-main { display: block; font-size: clamp(38px, 5.5vw, 65px); color: var(--text); }
.headline-soft { color: var(--heading-muted); }
.headline-appz { color: var(--accent); font-weight: 500; }
.product { margin: 60px 0 0; position: relative; }
.carousel-viewport { overflow: hidden; border-radius: 14px; box-shadow: 0 10px 30px #00000020, 0 2px 8px #00000010; touch-action: pan-y; cursor: grab; aspect-ratio: 16/10; user-select: none; }
:root[data-theme="light"] .carousel-viewport { box-shadow: 0 14px 35px #0c1c3425, 0 2px 8px #00000010; }
.carousel-viewport.dragging { cursor: grabbing; }
.carousel-track { display: flex; height: 100%; transition: transform 850ms cubic-bezier(.22, .68, .15, 1); will-change: transform; }
.slide { flex: 0 0 100%; min-width: 0; height: 100%; display: flex; align-items: center; }
.slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.carousel-controls { position: relative; display: flex; align-items: center; justify-content: center; width: fit-content; margin: 0 auto; padding: 25px 0 22px; gap: 20px; color: var(--text); }
.carousel-dots { display: flex; align-items: center; gap: 9px; }
.carousel-dots button { width: 7px; height: 7px; background: var(--muted); opacity: .4; border: 0; border-radius: 10px; padding: 0; cursor: pointer; position: relative; transition: width .25s, opacity .25s; }
.carousel-dots button::before { content: ""; position: absolute; inset: -10px -4px; }
.carousel-dots button[aria-current="true"] { width: 22px; background: var(--accent); opacity: 1; }
.carousel-pause { width: 30px; height: 30px; background: var(--control); border: 1px solid var(--line); border-radius: 50%; color: var(--text); font-size: 11px; cursor: pointer; display: grid; place-items: center; }
.carousel-count { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }

/* Resources */
.resources { margin-top: 65px; padding-top: 48px; position: relative; }
.resources::before, .privacy::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 1px; background: var(--line); }
.resources h2 { font-size: 34px; font-weight: 400; letter-spacing: -1px; line-height: 1.2; margin: 0 0 42px; }
.resource-subsection + .resource-subsection { margin-top: 58px; }
.resource-subsection > h3 { font-size: 25px; font-weight: 400; margin: 0 0 28px; color: var(--accent); }
.resource-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 48px; margin-bottom: 38px; }
.resource-image { display: block; position: relative; padding: 0; background: var(--control); border: 0; border-radius: 12px; cursor: zoom-in; width: 100%; aspect-ratio: 16/10; box-shadow: 0 8px 25px #00000018; overflow: hidden; }
.resource-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; object-position: center; }
.expand-mark { position: absolute; right: 12px; bottom: 12px; border: 1px solid #ffffff44; border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; background: #14233cbd; color: #fff; font-size: 17px; }
.resource-copy p { font-size: 15px; line-height: 1.8; color: var(--text); opacity: .85; margin: 0; }

/* Image sheet */
.resource-sheet { padding: 0; width: min(1120px, calc(100% - 48px)); max-height: 90vh; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); color: var(--text); box-shadow: 0 30px 100px #0006; overscroll-behavior: contain; }
.resource-sheet::backdrop { background: #071324aa; backdrop-filter: blur(10px); }
.sheet-content { padding: 22px 24px 32px; }
.sheet-media { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--control); border-radius: 10px; }
.sheet-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; object-position: center; }
.sheet-text { font-size: 16px; line-height: 1.8; max-width: 780px; margin: 24px 0 0; color: var(--text); opacity: .85; }
.sheet-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.sheet-close { flex-shrink: 0; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--control); color: var(--text); cursor: pointer; }
.sheet-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.sheet-subsection { font-size: 20px; color: var(--accent); line-height: 1.4; }
.sheet-navigation { display: flex; align-items: center; gap: 12px; }
.sheet-navigation[hidden] { display: none; }
.sheet-navigation button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--control); color: var(--text); cursor: pointer; }
.sheet-navigation button:hover { border-color: var(--accent); color: var(--accent); }
.sheet-close, .sheet-navigation button { display: grid; place-items: center; }
.sheet-close svg, .sheet-navigation svg { width: 18px; height: 18px; pointer-events: none; }
.sheet-position { font-size: 12px; color: var(--muted); min-width: 35px; text-align: center; font-variant-numeric: tabular-nums; }
.resource-sheet[open] { animation: sheet-in .3s cubic-bezier(.2, .7, .2, 1); }
body.sheet-open { overflow: hidden; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Privacy */
.privacy { margin-top: 60px; padding-top: 48px; padding-bottom: 70px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; position: relative; }
.privacy h2 { font-size: 30px; line-height: 1.2; font-weight: 400; letter-spacing: -.8px; margin: 0; color: var(--text); }
.privacy-content { max-width: 650px; }
.privacy article + article { margin-top: 28px; }
.privacy h3 { font-size: 17px; font-weight: 500; line-height: 1.5; margin: 0 0 10px; color: var(--text); }
.privacy p { font-size: 15px; line-height: 1.8; color: var(--text); opacity: .85; margin: 0; }

/* Responsive layouts */
@media (max-width: 800px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .nav { min-height: 80px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .nav::after, .resources::before, .privacy::before { left: 22px; right: 22px; }
  .nav-right { flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
  .nav nav { gap: 15px; font-size: 12px; }
  .hero { padding-top: 60px; }
  h1 { letter-spacing: -1.5px; }
  .product { margin-top: 45px; }
  .resource-row { gap: 28px; }
  .resource-copy p { font-size: 14px; }
  .privacy { gap: 35px; grid-template-columns: 1fr 1.6fr; }
  .privacy h2 { font-size: 26px; }
}
@media (max-width: 600px) {
  .resource-row { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
  .resources { margin-top: 40px; padding-top: 30px; }
  .resources h2 { font-size: 28px; margin-bottom: 30px; }
  .resource-subsection > h3 { font-size: 23px; }
  .resource-sheet { width: calc(100% - 24px); max-height: 92vh; border-radius: 14px; }
  .sheet-content { padding: 16px 18px 25px; }
  .sheet-text { font-size: 14px; }
}
@media (max-width: 540px) {
  .nav-right { width: 100%; gap: 10px; }
  .nav nav { flex-wrap: wrap; flex: 1 1 100%; justify-content: flex-end; gap: 10px 16px; font-size: 12px; }
  .nav nav a { white-space: nowrap; }
  .theme-toggle { width: 30px; height: 30px; }
  .language-toggle { height: 30px; min-width: 70px; padding: 0 10px; }
  .language-toggle span { font-size: 11px; }
  .hero { padding-top: 38px; }
  h1 { font-size: 28px; letter-spacing: -1px; }
  .headline-lead { font-size: clamp(23px, 5.6vw, 30px); margin-bottom: 12px; }
  .headline-main { font-size: clamp(30px, 7.3vw, 40px); line-height: 1.18; }
  .product { margin-top: 35px; }
  .carousel-viewport { border-radius: 9px; }
  .carousel-controls { padding-top: 18px; padding-bottom: 18px; }
  .sheet-heading { gap: 12px; }
  .sheet-subsection { font-size: 18px; }
  .sheet-navigation { gap: 8px; }
  .sheet-actions { gap: 12px; }
  .sheet-close { width: 30px; height: 30px; }
  .sheet-navigation button { width: 30px; height: 30px; }
  .privacy { margin-top: 36px; padding-top: 30px; padding-bottom: 45px; grid-template-columns: 1fr; gap: 28px; }
  .privacy h2 { font-size: 27px; }
  .privacy p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track, .carousel-dots button { transition: none; }
  .resource-sheet[open] { animation: none; }
}

/* Expand the sheet within the browser viewport. */
.sheet-expand { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--control); color: var(--text); cursor: pointer; }
.sheet-expand svg { width: 18px; height: 18px; pointer-events: none; }
.sheet-expand:hover { border-color: var(--accent); color: var(--accent); }
.restore-icon, .sheet-expanded .expand-icon { display: none; }
.sheet-expanded .restore-icon { display: block; }
.resource-sheet.sheet-expanded { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; border: 0; border-radius: 0; }
@media (max-width: 540px) { .sheet-expand { width: 30px; height: 30px; } .sheet-actions { gap: 8px; } }

/* In expanded view, reserve space for the complete description. */
.sheet-expanded .sheet-content {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
}
.sheet-expanded .sheet-heading { margin-bottom: 0; }
.sheet-expanded .sheet-media { height: 100%; min-height: 0; aspect-ratio: auto; background: transparent; }
.sheet-expanded .sheet-image { object-fit: contain; }
.sheet-expanded .sheet-text { margin: 0; max-width: none; }
@media (max-width: 600px) {
  .sheet-expanded .sheet-content { gap: 12px; }
}

.hero-description { max-width: 640px; margin: 26px auto 0; font-size: 17px; line-height: 1.8; color: var(--heading-muted); }
@media (max-width: 540px) { .hero-description { margin-top: 20px; font-size: 15px; } }

.sheet-expanded .sheet-heading { padding-left: var(--sheet-image-inset, 0px); }
.sheet-expanded .sheet-text { padding-left: var(--sheet-image-inset, 0px); padding-right: var(--sheet-image-inset, 0px); text-align: left; }

/* Version news below the navigation. */
.release-note { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding-top: 22px; }
.release-tag { flex-shrink: 0; padding: 3px 10px; border: 1px solid var(--accent); border-radius: 6px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-size: 11px; font-weight: 500; line-height: 1.6; }
.release-note p { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.release-shortcut { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.release-shortcut kbd { font-family: inherit; font-size: 12px; line-height: 1.5; padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--control); color: var(--text); }
.release-shortcut .return-key { font-size: 16px; line-height: 1.125; }
@media (max-width: 540px) { .release-note { align-items: flex-start; gap: 10px; padding-top: 18px; } .release-note p { font-size: 12px; gap: 4px 8px; } }


@media (max-width: 540px) { .release-note { flex-wrap: wrap; } }

.release-note-following { padding-top: 10px; }

.download-actions { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.download-button { display: inline-flex; justify-content: center; align-items: center; padding: 10px 22px; border-radius: 30px; background: var(--text); color: var(--bg); border: 1px solid var(--text); font: inherit; font-size: 13px; line-height: 1.7; text-decoration: none; white-space: nowrap; }
a.download-button:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
@media (max-width: 540px) { .download-actions { gap: 10px; } .download-button { padding: 9px 15px; font-size: 12px; } }




/* Features exclusive to the website distribution. */
.site-exclusive { padding-top: 52px; padding-bottom: 0; text-align: center; }
.site-exclusive h2 { margin: 0 0 15px; color: var(--accent); font-size: 30px; font-weight: 400; letter-spacing: -.8px; line-height: 1.25; }
.exclusive-description { max-width: 720px; margin: 0 auto 30px; color: var(--heading-muted); font-size: 17px; line-height: 1.8; }
.exclusive-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.exclusive-image { width: 100%; height: auto; aspect-ratio: 962/548; justify-self: center; align-self: start; background: transparent; box-shadow: none; }
.exclusive-image img { position: static; display: block; width: 100%; height: auto; object-fit: contain; }
.sheet-exclusive .sheet-media { aspect-ratio: 962/548; background: transparent; }
.sheet-exclusive .sheet-image { object-fit: contain; }
.sheet-exclusive.sheet-expanded .sheet-media { aspect-ratio: auto; }
@media (max-width: 600px) { .site-exclusive { padding-top: 35px; } .site-exclusive h2 { font-size: 26px; } .exclusive-description { font-size: 15px; margin-bottom: 24px; } .exclusive-gallery { grid-template-columns: 1fr; gap: 20px; } }

.exclusive-image .expand-mark { right: 12px; bottom: 12px; }



@media (max-width: 600px) { .exclusive-image { width: 100%; } }
