:root {
  --scroll-track: var(--paper-deep);
  --scroll-thumb: var(--accent-dark);
  --scroll-hover: var(--accent);
  --scroll-active: var(--ink);
  --scroll-corner: var(--paper-deep);
  color-scheme: light;
  --paper: #f4f4f1;
  --paper-deep: #e5e5e1;
  --paper-bright: #fafaf8;
  --ink: #171716;
  --ink-soft: #5c5c58;
  --line: rgba(23, 23, 22, 0.16);
  --accent: #e0644b;
  --accent-dark: #b44632;
  --accent-soft: #f1d4cd;
  --night: #18191b;
  --night-raised: #242529;
  --serif: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 12px 32px rgba(17, 17, 16, 0.09);
  --shadow-window: 0 24px 64px rgba(17, 17, 16, 0.2);
  --content: 1240px;
}

* {
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
  scrollbar-width: thin;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  width: 0.75rem;
  height: 0.75rem;
}

*::-webkit-scrollbar-track {
  background: var(--scroll-track);
}

*::-webkit-scrollbar-thumb {
  border: 0.2rem solid var(--scroll-track);
  border-radius: 999px;
  background: var(--scroll-thumb);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-hover);
}

*::-webkit-scrollbar-thumb:active { background: var(--scroll-active); }

*::-webkit-scrollbar-corner {
  background: var(--scroll-corner);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 15%, rgba(227, 111, 83, 0.13), transparent 26rem),
    var(--paper);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

.theme-shot-dark {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--paper-bright);
  background: var(--night);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 3rem), var(--content));
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.6rem);
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 650;
}

.primary-nav a,
.text-link {
  position: relative;
}

.primary-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-height: 2.7rem;
  display: inline-flex;
  align-items: center;
  padding: 0.68rem 1.05rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.utility-controls {
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(251, 248, 241, 0.62);
  transition: border-color 160ms ease, background 160ms ease;
}

.utility-controls:focus-within {
  border-color: rgba(169, 67, 49, 0.48);
}

.theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
  color: var(--ink);
  background: rgba(227, 111, 83, 0.1);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.theme-icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.theme-icon-sun {
  display: none;
}

.language-picker {
  position: relative;
}

.language-picker::before {
  position: absolute;
  top: 0.42rem;
  bottom: 0.42rem;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.language-picker > button {
  min-width: 3.25rem;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 0.5rem;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.language-picker > button:hover,
.language-picker > button[aria-expanded="true"] {
  color: var(--ink);
  background: rgba(227, 111, 83, 0.1);
}

.language-chevron {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--accent-dark);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 160ms ease;
}

.language-picker > button[aria-expanded="true"] .language-chevron {
  transform: rotate(180deg);
}

.language-picker > button:focus-visible,
.language-menu button:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.language-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 10rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(251, 248, 241, 0.98);
  box-shadow: 0 18px 48px rgba(41, 34, 27, 0.18);
  backdrop-filter: blur(18px);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  position: relative;
  width: 100%;
  min-height: 2.45rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  border: 0;
  border-radius: 0.55rem;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] {
  color: var(--ink);
  background: rgba(227, 111, 83, 0.1);
}

.language-menu button[aria-checked="true"]::after {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  color: var(--accent-dark);
  content: "✓";
  transform: translateY(-50%);
}

.header-cta:hover {
  color: var(--paper-bright);
  background: var(--ink);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(9rem, 16vh, 12rem) max(1.5rem, calc((100vw - var(--content)) / 2)) 4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(32rem, 1.22fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.48;
  background-image: linear-gradient(rgba(42, 36, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 36, 31, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 39rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.6rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span[aria-hidden="true"] {
  width: 1.85rem;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 6.8vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

h1 em {
  color: var(--accent-dark);
  font-weight: 400;
}

.hero-lede {
  max-width: 35rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 0.7rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.button svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  color: #fffaf5;
  background: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(169, 67, 49, 0.24);
}

.button-primary:hover {
  background: #913727;
  box-shadow: 0 18px 36px rgba(169, 67, 49, 0.3);
  transform: translateY(-2px);
}

.text-link {
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-actions .text-link {
  color: var(--ink-soft);
  font-weight: 650;
  opacity: 0.68;
  transition: color 160ms ease, opacity 160ms ease;
}

.hero-actions .text-link:hover,
.hero-actions .text-link:focus-visible {
  color: var(--ink);
  opacity: 1;
}

.hero-promises {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.65rem;
  width: max-content;
  max-width: 100%;
  margin: 1.8rem 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 650;
  list-style: none;
}

.hero-promises li {
  display: flex;
  align-items: baseline;
}

.hero-promises li > span[aria-hidden="true"] {
  margin-right: 0.25rem;
  color: var(--accent-dark);
}

.hero-stage {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 2rem 0 3rem;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: clamp(1rem, 2vw, 1.55rem);
  background: var(--night);
  box-shadow: var(--shadow-window);
  transform: perspective(1500px) rotateY(-3deg) rotateX(1deg);
}

.app-window-bar {
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.52);
  background: #24272c;
}

.app-window-bar > span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.app-window-bar > span:first-child {
  background: var(--accent);
}

.app-window-bar p {
  margin: 0 0 0 0.5rem;
  font-size: 0.56rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.app-window img {
  width: 100%;
  height: auto;
}

.free-seal {
  position: absolute;
  z-index: 3;
  top: -0.4rem;
  right: -1.8rem;
  width: 6.7rem;
  height: 6.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33, 31, 28, 0.2);
  border-radius: 50%;
  color: var(--accent-dark);
  background: var(--paper-bright);
  box-shadow: var(--shadow-soft);
  font-family: var(--serif);
  transform: rotate(8deg);
}

.free-seal::before {
  position: absolute;
  inset: 0.38rem;
  border: 1px dashed rgba(169, 67, 49, 0.45);
  border-radius: inherit;
  content: "";
}

.free-seal span {
  font-size: 1.22rem;
  font-style: italic;
}

.free-seal strong {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ownership-note {
  position: absolute;
  z-index: 2;
  right: 3rem;
  bottom: 0;
  max-width: 19rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: rgba(251, 248, 241, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.ownership-note-icon {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--accent-dark);
}

.ownership-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.45;
}

.ownership-note strong {
  color: var(--ink);
}

.hero-disclaimer {
  position: absolute;
  right: 1rem;
  bottom: 0.15rem;
  left: 1rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.58rem;
  line-height: 1.5;
}

.hero-disclaimer > span:first-child {
  color: var(--accent-dark);
}

.scroll-cue {
  position: absolute;
  bottom: clamp(2.1rem, 3vh, 2.75rem);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span:last-child {
  color: var(--accent-dark);
}

.site-header.is-scrolled {
  position: fixed;
  top: 0.65rem;
  min-height: 4rem;
  padding: 0 1rem;
  border: 1px solid rgba(42, 36, 31, 0.13);
  border-radius: 1rem;
  background: rgba(247, 242, 233, 0.88);
  box-shadow: 0 12px 40px rgba(41, 34, 27, 0.1);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .brand img {
  width: 1.75rem;
  height: 1.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-kicker {
  margin: 0 0 1.2rem;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-strip {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  scroll-margin-top: 5.25rem;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  min-height: 8.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.5rem clamp(1rem, 2.4vw, 2.3rem);
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item strong {
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.trust-item:first-child strong {
  color: var(--accent-dark);
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.45;
}

.story-section {
  padding: clamp(7rem, 12vw, 11rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  background: var(--paper-bright);
}

.section-heading {
  max-width: 68rem;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  column-gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-bottom: clamp(5rem, 10vw, 9rem);
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.ownership-intro h2,
.split-copy h2,
.download-heading h2,
.cloud-copy h2,
.faq-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.section-heading h2 em,
.ownership-intro h2 em,
.split-copy h2 em,
.download-heading h2 em,
.cloud-copy h2 em {
  color: var(--accent-dark);
  font-weight: 400;
}

.section-heading > p:last-child,
.ownership-intro > p:last-child,
.split-copy > p,
.download-heading > p:last-child,
.cloud-copy > p:last-child {
  max-width: 34rem;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.62;
}

.story-scroll {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.story-visual {
  position: sticky;
  top: 7rem;
  height: min(71vh, 48rem);
  align-self: start;
}

.story-window {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  background: var(--night);
  box-shadow: var(--shadow-window);
}

.story-window-bar {
  position: relative;
  z-index: 6;
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  background: #24272c;
}

.story-window-bar span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
}

.story-window-bar span:first-child {
  background: var(--accent);
}

.story-window-bar p {
  margin: 0 0 0 0.55rem;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.story-frame {
  position: absolute;
  inset: 2.7rem 0 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 520ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-frame.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
}

.story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.story-frame figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.52rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(22, 23, 26, 0.76);
  font-size: 0.58rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.story-progress {
  display: flex;
  justify-content: center;
  gap: 0.52rem;
  margin-top: 1.3rem;
}

.story-progress button {
  width: 1.7rem;
  height: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--paper-deep);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.story-progress button.is-active {
  width: 3rem;
  background: var(--accent-dark);
}

.story-progress button:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.story-steps {
  margin-top: -8vh;
}

.story-step {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1.15rem;
  align-content: center;
  opacity: 0.36;
  transition: opacity 360ms ease;
}

.story-step.is-active {
  opacity: 1;
}

.story-number {
  padding-top: 0.35rem;
  color: var(--accent-dark);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
}

.story-label {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-step h3,
.history-callout h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.story-step > div > p:not(.story-label) {
  margin: 1.15rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.story-step ul {
  display: grid;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  list-style: none;
}

.story-step li::before {
  margin-right: 0.55rem;
  color: var(--accent-dark);
  content: "—";
}

.ownership-section {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 11rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 12% 14%, rgba(227, 111, 83, 0.16), transparent 28rem),
    var(--night);
}

.ownership-section::before {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  pointer-events: none;
}

.ownership-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.65fr;
  column-gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.ownership-intro .section-kicker {
  grid-column: 1 / -1;
  color: var(--accent);
}

.ownership-intro h2 em {
  color: var(--accent);
}

.ownership-intro > p:last-child {
  color: rgba(251, 248, 241, 0.63);
}

.ownership-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(5rem, 9vw, 8rem);
  background: rgba(255, 255, 255, 0.11);
}

.ownership-card {
  min-height: 20rem;
  padding: clamp(2rem, 4vw, 3.4rem);
  background: var(--night);
}

.ownership-card > span {
  display: inline-block;
  margin-bottom: 4.5rem;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
}

.ownership-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.ownership-card p {
  margin: 1rem 0 0;
  color: rgba(251, 248, 241, 0.58);
  font-size: 0.82rem;
  line-height: 1.7;
}

.history-callout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) 1fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  margin-top: 1px;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.025);
}

.history-mark {
  position: relative;
  height: 9rem;
}

.history-mark::before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
}

.history-mark span {
  position: absolute;
  top: 50%;
  width: 0.92rem;
  height: 0.92rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--night);
  transform: translate(-50%, -50%);
}

.history-mark span::after {
  position: absolute;
  bottom: calc(100% + 0.2rem);
  left: 50%;
  width: 1px;
  height: 1.8rem;
  background: rgba(227, 111, 83, 0.5);
  content: "";
}

.history-mark span:nth-child(1) { left: 12%; }
.history-mark span:nth-child(2) { left: 39%; }
.history-mark span:nth-child(3) { left: 67%; }
.history-mark span:nth-child(4) { left: 92%; }

.history-mark span:nth-child(even)::after {
  top: calc(100% + 0.2rem);
  bottom: auto;
}

.history-callout h3 {
  color: var(--paper-bright);
}

.history-callout > div:last-child > p:last-child {
  max-width: 36rem;
  margin: 1.1rem 0 0;
  color: rgba(251, 248, 241, 0.6);
  font-size: 0.86rem;
  line-height: 1.7;
}

.split-workspace {
  display: grid;
  grid-template-columns: minmax(22rem, 0.68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(7rem, 12vw, 11rem) max(1.5rem, calc((100vw - var(--content)) / 2));
}

.split-copy h2 {
  font-size: clamp(3.4rem, 5.5vw, 5.8rem);
}

.split-copy > p {
  margin-top: 1.8rem;
}

.split-copy .text-link {
  display: inline-block;
  margin-top: 2rem;
}

.split-image {
  position: relative;
}

.split-image::before {
  position: absolute;
  inset: -6% 8% 8% -7%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(227, 111, 83, 0.13);
  filter: blur(3rem);
  content: "";
}

.split-image img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-window);
}

.split-image span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(22, 23, 26, 0.78);
  font-size: 0.6rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 11rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  color: var(--paper-bright);
  background: #151619;
}

.download-glow {
  position: absolute;
  top: -20rem;
  left: 50%;
  width: 58rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(227, 111, 83, 0.18);
  filter: blur(7rem);
  transform: translateX(-50%);
  pointer-events: none;
}

.download-heading {
  position: relative;
  z-index: 1;
  max-width: 68rem;
  display: grid;
  grid-template-columns: 1.08fr 0.65fr;
  column-gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
}

.download-heading .section-kicker {
  grid-column: 1 / -1;
  color: var(--accent);
}

.download-heading h2 em {
  color: var(--accent);
}

.download-heading > p:last-child {
  color: rgba(251, 248, 241, 0.62);
}

.download-center {
  position: relative;
  z-index: 1;
  max-width: 61rem;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.35rem;
  background: rgba(35, 37, 41, 0.9);
  box-shadow: 0 48px 110px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(24px);
}

.early-access-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(251, 248, 241, 0.58);
  font-size: 0.66rem;
  line-height: 1.45;
}

.early-access-banner strong {
  color: #ff9a85;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-tab {
  min-height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.85rem;
  color: rgba(251, 248, 241, 0.55);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.platform-tab svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.platform-tab.is-active {
  color: var(--paper-bright);
  background: rgba(255, 255, 255, 0.08);
}

.platform-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.platform-panel {
  padding: clamp(1.6rem, 4.5vw, 3.5rem);
}

.platform-panel[hidden] {
  display: none;
}

.release-primary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.release-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  color: rgba(251, 248, 241, 0.57);
  font-size: 0.67rem;
  font-weight: 750;
}

.release-status > span:first-child {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.28rem rgba(227, 111, 83, 0.12);
}

.release-status.is-ready > span:first-child {
  background: #8fbd94;
  box-shadow: 0 0 0 0.28rem rgba(143, 189, 148, 0.12);
}

.release-meta h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.release-version {
  margin: 1.05rem 0 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.release-detail {
  margin: 0.4rem 0 0;
  color: rgba(251, 248, 241, 0.47);
  font-size: 0.67rem;
}

.release-actions {
  min-width: 14.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
}

.button-download {
  color: #fffaf5;
  background: var(--accent-dark);
  box-shadow: 0 14px 30px rgba(169, 67, 49, 0.25);
}

.button-download:hover {
  background: #c45740;
  transform: translateY(-2px);
}

.release-notes-link {
  text-align: center;
  color: rgba(251, 248, 241, 0.6);
  font-size: 0.66rem;
  font-weight: 750;
}

.release-notes-link:hover {
  color: var(--paper-bright);
}

.older-releases {
  position: relative;
  margin-top: 2.6rem;
}

.older-releases > button {
  width: 100%;
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 0.85rem;
  color: var(--paper-bright);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.older-releases > button:hover,
.older-releases > button[aria-expanded="true"] {
  border-color: rgba(227, 111, 83, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.older-releases > button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.older-releases > button span:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.older-releases small {
  color: rgba(251, 248, 241, 0.42);
  font-size: 0.58rem;
}

.older-releases strong {
  font-size: 0.73rem;
}

.menu-chevron {
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.older-releases > button[aria-expanded="true"] .menu-chevron {
  transform: rotate(180deg);
}

.release-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.55rem);
  right: 0;
  left: 0;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  background: #2a2c31;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
}

.release-menu[hidden] {
  display: none;
}

.release-menu p {
  margin: 0;
  padding: 0.9rem;
  color: rgba(251, 248, 241, 0.47);
  font-size: 0.68rem;
}

.release-menu a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.6rem;
  color: var(--paper-bright);
}

.release-menu a:hover,
.release-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.075);
}

.release-menu a strong {
  font-size: 0.74rem;
}

.release-menu a span {
  color: rgba(251, 248, 241, 0.44);
  font-size: 0.6rem;
}

.release-menu a span:last-child {
  grid-column: 1 / -1;
}

.release-advisory {
  display: grid;
  grid-template-columns: 1.65rem 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-top: 1.3rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(227, 111, 83, 0.18);
  border-radius: 0.85rem;
  background: rgba(227, 111, 83, 0.055);
}

.release-advisory > span {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227, 111, 83, 0.55);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
}

.release-advisory p {
  margin: 0;
  color: rgba(251, 248, 241, 0.5);
  font-size: 0.62rem;
  line-height: 1.55;
}

.release-advisory-neutral {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}

.api-status {
  margin: 1.2rem 0 -1.2rem;
  color: rgba(251, 248, 241, 0.36);
  font-size: 0.58rem;
  text-align: center;
}

.cloud-boundary {
  position: relative;
  min-height: 44rem;
  display: grid;
  grid-template-columns: minmax(24rem, 0.9fr) minmax(28rem, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(7rem, 12vw, 11rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  overflow: hidden;
}

.cloud-copy h2 {
  font-size: clamp(3.5rem, 6.3vw, 6.5rem);
}

.cloud-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  max-width: 100%;
  margin: 0 0 1.35rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(169, 67, 49, 0.22);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(227, 111, 83, 0.08);
  font-size: 0.6rem;
}

.cloud-status > span:first-child {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.25rem rgba(227, 111, 83, 0.12);
}

.cloud-status strong {
  color: var(--accent-dark);
  letter-spacing: 0.09em;
}

.cloud-status strong + span::before {
  margin-right: 0.5rem;
  color: rgba(95, 90, 83, 0.45);
  content: "·";
}

.cloud-copy > p:last-child {
  margin-top: 2rem;
}

.cloud-orbit {
  position: relative;
  min-height: 33rem;
  display: grid;
  place-items: center;
}

.cloud-orbit::before {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(227, 111, 83, 0.12);
  filter: blur(4rem);
  content: "";
}

.cloud-orbit img {
  position: relative;
  z-index: 2;
  width: 6.5rem;
  height: 6.5rem;
  padding: 1rem;
  border: 1px solid rgba(42, 36, 31, 0.12);
  border-radius: 2rem;
  background: var(--paper-bright);
  box-shadow: var(--shadow-soft);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(42, 36, 31, 0.16);
  border-radius: 50%;
}

.orbit-one {
  width: 20rem;
  height: 20rem;
}

.orbit-two {
  width: 31rem;
  height: 31rem;
  border-style: dashed;
}

.orbit-label {
  position: absolute;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  color: var(--ink-soft);
  background: rgba(251, 248, 241, 0.88);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  backdrop-filter: blur(12px);
}

.orbit-local {
  top: 18%;
  left: 13%;
}

.orbit-cloud {
  right: 7%;
  bottom: 17%;
  color: var(--accent-dark);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(3rem, 10vw, 10rem);
  padding: clamp(7rem, 11vw, 10rem) max(1.5rem, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line);
  background: var(--paper-bright);
}

.faq-heading h2 {
  font-size: clamp(3.4rem, 5.5vw, 5.8rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.75rem 3rem 1.75rem 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  width: 1rem;
  height: 1px;
  background: var(--accent-dark);
  content: "";
  transition: transform 160ms ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0deg);
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 4px;
}

.faq-list details p {
  max-width: 46rem;
  margin: -0.55rem 0 1.8rem;
  padding-right: 3rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.7;
}

.final-cta {
  position: relative;
  min-height: 42rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 7rem 1.5rem;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 50% 80%, rgba(227, 111, 83, 0.23), transparent 28rem),
    var(--night);
  text-align: center;
}

.final-cta-copy {
  position: relative;
  z-index: 2;
}

.final-cta .section-kicker {
  color: var(--accent);
}

.final-cta h2 {
  font-size: clamp(4rem, 9vw, 8.8rem);
}

.final-actions {
  width: min(100%, 47rem);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.4rem auto 0;
}

.final-cta .button {
  width: max-content;
  margin: 0;
}

.final-start-note {
  max-width: 42rem;
  margin: 1.15rem auto 0;
  color: rgba(251, 248, 241, 0.62);
  font-size: 0.7rem;
  line-height: 1.55;
}

.final-promises {
  margin: 1.2rem 0 0;
  color: rgba(251, 248, 241, 0.45);
  font-size: 0.62rem;
}

.final-wordmark {
  position: absolute;
  margin: 0;
  color: rgba(255, 255, 255, 0.024);
  font-family: var(--serif);
  font-size: clamp(12rem, 28vw, 30rem);
  letter-spacing: -0.09em;
  line-height: 0.55;
  pointer-events: none;
  transform: rotate(-7deg);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) repeat(2, minmax(9rem, 0.32fr));
  gap: 3rem;
  padding: 4.5rem max(1.5rem, calc((100vw - var(--content)) / 2)) 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-brand > p {
  max-width: 22rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-links p {
  margin: 0 0 0.4rem;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.footer-links a:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.6rem;
}

.footer-bottom p {
  margin: 0;
}

/* Contemporary product direction: disciplined layout, vivid depth, and UI-first storytelling. */
:root {
  --paper: #f4f1eb;
  --paper-deep: #e5ddd5;
  --paper-bright: #fffdfa;
  --ink: #1e1924;
  --ink-soft: #6a626d;
  --line: rgba(30, 25, 36, 0.14);
  --accent: #f5725b;
  --accent-dark: #c44834;
  --accent-soft: #ffd7ce;
  --night: #211e24;
  --night-raised: #302c33;
  --shadow-soft: 0 16px 36px rgba(46, 33, 55, 0.12);
  --shadow-window: 0 38px 90px rgba(37, 24, 46, 0.25);
}

body {
  background:
    radial-gradient(circle at 84% 4%, rgba(245, 114, 91, 0.1), transparent 24rem),
    var(--paper);
}


.site-header {
  min-height: 76px;
}

.brand {
  font-weight: 800;
}

.brand img {
  width: 1.8rem;
  height: 1.8rem;
}

.header-cta,
.utility-controls,
.language-menu,
.language-menu button {
  border-radius: 0.65rem;
}

.theme-toggle,
.language-picker > button {
  border-radius: 0.48rem;
}

.header-cta {
  border-color: var(--night);
  color: var(--paper-bright);
  background: var(--night);
}

.header-cta:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.utility-controls,
.language-menu {
  background: rgba(255, 253, 250, 0.88);
  backdrop-filter: blur(18px);
}

.language-menu {
  box-shadow: 0 16px 36px rgba(37, 24, 46, 0.14);
}

.hero {
  min-height: min(58rem, 100svh);
  grid-template-columns: minmax(0, 0.86fr) minmax(32rem, 1.14fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-top: clamp(8.5rem, 14vh, 10rem);
  padding-bottom: clamp(5rem, 8vw, 7rem);
  isolation: isolate;
}

.hero::before {
  opacity: 0.4;
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.eyebrow,
.section-kicker,
.story-label {
  letter-spacing: 0.09em;
}

h1 {
  max-width: 42rem;
  font-family: var(--sans);
  font-size: clamp(3.5rem, 6vw, 6.3rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

h1 em,
.section-heading h2 em,
.ownership-intro h2 em,
.split-copy h2 em,
.download-heading h2 em,
.cloud-copy h2 em {
  font-style: normal;
  font-weight: inherit;
}

h1 em {
  color: var(--accent-dark);
  background: linear-gradient(90deg, var(--accent-dark), #e56a51);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede,
.section-heading > p:last-child,
.ownership-intro > p:last-child,
.split-copy > p,
.download-heading > p:last-child,
.cloud-copy > p:last-child {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}

.button {
  border-radius: 0.65rem;
}

.button-primary,
.button-download {
  color: #fff;
  background: var(--accent-dark);
  box-shadow: 0 14px 32px rgba(196, 72, 52, 0.25);
}

.button-primary:hover,
.button-download:hover {
  background: #ad3e2d;
  box-shadow: 0 18px 38px rgba(196, 72, 52, 0.3);
  transform: translateY(-2px);
}

.hero-stage {
  isolation: isolate;
  padding-bottom: 5rem;
}

.hero-stage::before {
  position: absolute;
  inset: 0.4rem -2.2rem 1.5rem 2rem;
  z-index: -1;
  border-radius: 2.5rem;
  background: linear-gradient(145deg, #f79a82, #d85843);
  box-shadow: 0 32px 80px rgba(117, 55, 43, 0.2);
  content: "";
  transform: rotate(-2.2deg);
}

.app-window,
.story-window {
  border-radius: 1rem;
}

.app-window {
  box-shadow: 0 42px 96px rgba(34, 22, 43, 0.34);
  transform: perspective(1500px) rotateY(-2deg) rotateX(0.5deg);
}

.app-window img {
  aspect-ratio: 1.64;
  object-fit: cover;
  object-position: top;
}

.free-seal {
  top: -1rem;
  right: -0.5rem;
  width: auto;
  height: auto;
  flex-direction: row;
  gap: 0.35rem;
  padding: 0.62rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0.65rem;
  color: var(--night);
  background: rgba(255, 253, 250, 0.95);
  box-shadow: 0 16px 38px rgba(42, 26, 52, 0.2);
  font-family: var(--sans);
  transform: none;
}

.free-seal::before {
  display: none;
}

.free-seal span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
}

.free-seal strong {
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.ownership-note {
  bottom: 3rem;
  border-color: rgba(255, 255, 255, 0.68);
  border-radius: 0.8rem;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: 0 18px 42px rgba(38, 24, 47, 0.2);
  backdrop-filter: blur(18px);
}

.ownership-note-icon {
  border-radius: 0.55rem;
  background: var(--night);
}

.site-header.is-scrolled {
  top: 0.5rem;
  min-height: 3.7rem;
  border-color: rgba(30, 25, 36, 0.12);
  border-radius: 0.85rem;
  background: rgba(255, 253, 250, 0.84);
  box-shadow: 0 12px 34px rgba(37, 24, 46, 0.1);
  backdrop-filter: blur(18px);
}

.reveal {
  transform: translateY(0.85rem);
  transition-duration: 420ms;
}

.trust-strip {
  gap: 0;
  margin-bottom: 1.5rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 253, 250, 0.72);
}

.trust-item {
  min-height: 8.2rem;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.trust-item strong {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 760;
  letter-spacing: -0.025em;
}

.trust-item:first-child strong {
  color: var(--accent-dark);
}

.story-section {
  background: var(--paper-bright);
}

.faq-section {
  background: var(--paper-bright);
}

.section-heading,
.download-heading {
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.section-heading h2,
.ownership-intro h2,
.split-copy h2,
.download-heading h2,
.cloud-copy h2,
.faq-heading h2,
.final-cta h2 {
  font-family: var(--sans);
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading h2 em,
.split-copy h2 em,
.cloud-copy h2 em {
  color: var(--accent-dark);
}

.story-visual::before {
  display: none;
}

.story-window,
.split-image img {
  box-shadow: var(--shadow-window);
}

.story-frame figcaption,
.split-image span {
  border-radius: 0.55rem;
}

.story-progress button {
  border-radius: 999px;
}

.story-number {
  color: var(--accent-dark);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 750;
}

.story-step h3,
.history-callout h3,
.ownership-card h3,
.release-meta h3,
.faq-list summary {
  font-family: var(--sans);
  font-weight: 680;
}

.ownership-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(245, 114, 91, 0.3), transparent 30rem),
    var(--night);
}

.ownership-section::before {
  display: block;
  opacity: 0.2;
}

.ownership-intro h2 em,
.download-heading h2 em {
  color: #ff8a73;
}

.ownership-grid {
  gap: 1px;
  margin-top: clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

.ownership-card {
  min-height: 17rem;
  border: 0;
  border-radius: 0;
  background: rgba(33, 30, 36, 0.96);
}

.ownership-card > span {
  margin-bottom: 2.5rem;
  color: #ff9a85;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
}

.history-callout {
  margin-top: 0.7rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
}

.split-workspace {
  background: var(--paper);
}

.split-image::before {
  display: none;
}

.split-image img {
  border-radius: 1rem;
}

.download-section {
  background:
    radial-gradient(circle at 76% 10%, rgba(245, 114, 91, 0.22), transparent 30rem),
    var(--night);
}

.download-glow {
  display: block;
  background: rgba(245, 114, 91, 0.22);
}

.download-center {
  border-radius: 1rem;
  background: rgba(48, 44, 51, 0.88);
  box-shadow: 0 46px 110px rgba(7, 4, 12, 0.42);
  backdrop-filter: blur(24px);
}

.platform-tab,
.older-releases > button,
.release-menu,
.release-menu a,
.release-advisory {
  border-radius: 0.65rem;
}

.platform-tab.is-active {
  background: rgba(255, 255, 255, 0.11);
}

.release-advisory > span {
  border-radius: 0.45rem;
  font-family: var(--sans);
  font-style: normal;
}

.cloud-boundary {
  min-height: 40rem;
  background:
    radial-gradient(circle at 15% 85%, rgba(245, 114, 91, 0.12), transparent 25rem),
    var(--paper);
}

.cloud-status {
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.62);
}

.cloud-status > span:first-child {
  border-radius: 50%;
  box-shadow: 0 0 0 0.25rem rgba(245, 114, 91, 0.12);
}

.cloud-orbit {
  min-height: 28rem;
  overflow: hidden;
  border: 1px solid rgba(30, 25, 36, 0.1);
  border-radius: 2rem;
  background:
    linear-gradient(rgba(30, 25, 36, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 25, 36, 0.055) 1px, transparent 1px),
    rgba(255, 253, 250, 0.72);
  background-size: 48px 48px;
}

.cloud-orbit::before {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(245, 114, 91, 0.3);
  filter: blur(3rem);
  transform: none;
}

.cloud-orbit img {
  width: 6rem;
  height: 6rem;
  border-radius: 1.35rem;
  box-shadow: 0 20px 50px rgba(57, 40, 74, 0.18);
}

.orbit {
  display: block;
}

.orbit-label {
  border-radius: 0.55rem;
  background: rgba(255, 253, 250, 0.85);
  backdrop-filter: blur(14px);
}

.faq-list summary {
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.final-cta {
  min-height: 36rem;
  background:
    radial-gradient(circle at 22% 18%, rgba(245, 114, 91, 0.42), transparent 29rem),
    var(--night);
}

.final-cta h2 {
  font-size: clamp(3.5rem, 7vw, 6.8rem);
}

.final-wordmark {
  display: block;
  color: rgba(255, 255, 255, 0.025);
}

.footer-brand > p {
  font-family: var(--sans);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #17161a;
  --paper-deep: #252229;
  --ink: #f3efe9;
  --ink-soft: #aaa3ad;
  --line: rgba(243, 239, 233, 0.13);
  --night: #111014;
  --night-raised: #29262d;
  --shadow-soft: 0 16px 38px rgba(0, 0, 0, 0.28);
  --shadow-window: 0 38px 90px rgba(0, 0, 0, 0.44);
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 84% 4%, rgba(245, 114, 91, 0.13), transparent 25rem),
    var(--paper);
}

html[data-theme="dark"] .theme-shot-light,
html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-shot-dark,
html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

html[data-theme="dark"] .site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(29, 27, 32, 0.88);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .utility-controls,
html[data-theme="dark"] .language-menu {
  background: rgba(35, 32, 39, 0.9);
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .language-picker > button {
  color: var(--ink-soft);
  background: transparent;
}

html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .language-picker > button:hover,
html[data-theme="dark"] .language-picker > button[aria-expanded="true"] {
  color: var(--ink);
  background: #2d2931;
}

html[data-theme="dark"] .language-menu button:hover,
html[data-theme="dark"] .language-menu button[aria-checked="true"] {
  background: rgba(245, 114, 91, 0.12);
}

html[data-theme="dark"] .free-seal,
html[data-theme="dark"] .ownership-note {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(35, 32, 39, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .free-seal {
  color: var(--ink);
}

html[data-theme="dark"] h1 em {
  background: linear-gradient(90deg, #f28a73, #ffad91);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .section-kicker,
html[data-theme="dark"] .story-label,
html[data-theme="dark"] .story-number,
html[data-theme="dark"] .free-seal span,
html[data-theme="dark"] .cloud-status strong,
html[data-theme="dark"] .trust-item:first-child strong {
  color: #f28a73;
}

html[data-theme="dark"] .trust-strip {
  background: rgba(35, 32, 39, 0.72);
}

html[data-theme="dark"] .story-section,
html[data-theme="dark"] .faq-section {
  background: #211f24;
}

html[data-theme="dark"] .cloud-status,
html[data-theme="dark"] .orbit-label {
  background: rgba(35, 32, 39, 0.85);
}

html[data-theme="dark"] .cloud-orbit {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(35, 32, 39, 0.7);
  background-size: 48px 48px;
}

html[data-theme="dark"] .cloud-orbit img {
  border-color: rgba(255, 255, 255, 0.12);
  background: #2d2931;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .site-footer {
  background: #17161a;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 10rem;
    padding-bottom: 6rem;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero-stage {
    width: min(100%, 56rem);
    justify-self: center;
  }

  .scroll-cue {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-heading,
  .ownership-intro,
  .download-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-heading > p:last-child,
  .ownership-intro > p:last-child,
  .download-heading > p:last-child {
    margin-top: 2rem;
  }

  .story-scroll {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    gap: 2.5rem;
  }

  .story-visual {
    height: min(61vh, 39rem);
  }

  .story-step {
    min-height: 70vh;
  }

  .split-workspace {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 3rem;
  }

  .cloud-boundary {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }

  .orbit-two {
    width: 26rem;
    height: 26rem;
  }

  .faq-section {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 3rem;
  }
}

@media (max-width: 820px) {
  .story-scroll {
    display: block;
  }

  .story-visual {
    top: 5.25rem;
    z-index: 4;
    height: min(44vh, 28rem);
    margin-bottom: 1rem;
  }

  .story-steps {
    position: relative;
    z-index: 5;
    margin: 0;
  }

  .story-step {
    min-height: 68vh;
    margin: 0 -0.5rem;
    padding: 18rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--line);
    opacity: 1;
    background: linear-gradient(to bottom, transparent 0, var(--paper-bright) 38%, var(--paper-bright) 100%);
  }

  .story-progress {
    display: none;
  }

  .ownership-grid {
    grid-template-columns: 1fr;
  }

  .ownership-card {
    min-height: auto;
  }

  .ownership-card > span {
    margin-bottom: 2.4rem;
  }

  .history-callout,
  .split-workspace,
  .cloud-boundary,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .history-callout {
    gap: 2rem;
  }

  .split-workspace {
    gap: 4rem;
  }

  .cloud-boundary {
    gap: 0;
  }

  .cloud-orbit {
    min-height: 30rem;
  }

  .faq-section {
    gap: 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  .site-header {
    width: calc(100% - 2rem);
    min-height: 72px;
  }

  .brand span {
    font-size: 0.9rem;
  }

  .header-cta {
    padding: 0.58rem 0.85rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .language-picker > button {
    min-width: 2.75rem;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }

  .hero {
    padding: 8.2rem 1rem 4.5rem;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 4.7rem);
  }

  .hero-lede {
    margin-top: 1.5rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-promises {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stage {
    padding-top: 1rem;
  }

  .app-window {
    transform: none;
  }

  .app-window-bar {
    min-height: 2rem;
  }

  .app-window-bar p {
    display: none;
  }

  .free-seal {
    top: -1rem;
    right: 0;
    width: auto;
    height: auto;
  }

  .ownership-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -0.2rem 0 0 1rem;
  }

  .hero-disclaimer {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 0.85rem 0.5rem 0;
  }

  .site-header.is-scrolled {
    top: 0.4rem;
    width: calc(100% - 1rem);
    min-height: 3.8rem;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-item:first-child {
    border-top: 0;
  }

  .trust-item {
    min-height: 6.5rem;
    padding: 1.25rem 0.5rem;
  }

  .story-section,
  .ownership-section,
  .split-workspace,
  .download-section,
  .cloud-boundary,
  .faq-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .section-heading {
    margin-bottom: 4rem;
  }

  .section-heading h2,
  .ownership-intro h2,
  .split-copy h2,
  .download-heading h2,
  .cloud-copy h2,
  .faq-heading h2 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .story-visual {
    height: 36vh;
    min-height: 15rem;
  }

  .story-window-bar {
    min-height: 2rem;
  }

  .story-frame {
    inset: 2rem 0 0;
  }

  .story-frame figcaption {
    display: none;
  }

  .story-step {
    min-height: 62vh;
    grid-template-columns: 1.8rem 1fr;
    padding: 14rem 0.5rem 2.5rem;
  }

  .story-step h3,
  .history-callout h3 {
    font-size: 2rem;
  }

  .ownership-grid {
    margin-top: 4rem;
  }

  .ownership-card,
  .history-callout {
    padding: 2rem 1.25rem;
  }

  .history-mark {
    height: 6rem;
  }

  .split-image span {
    display: none;
  }

  .download-heading {
    margin-bottom: 3rem;
  }

  .download-center {
    margin-right: -0.25rem;
    margin-left: -0.25rem;
  }

  .early-access-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-panel {
    padding: 1.25rem;
  }

  .release-primary {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .release-actions {
    min-width: 0;
  }

  .release-meta h3 {
    font-size: 2.5rem;
  }

  .older-releases > button {
    min-height: 4.3rem;
  }

  .cloud-orbit {
    min-height: 24rem;
    transform: scale(0.78);
  }

  .orbit-two {
    width: 24rem;
    height: 24rem;
  }

  .orbit-one {
    width: 16rem;
    height: 16rem;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .final-cta {
    min-height: 36rem;
  }

  .final-cta h2 {
    font-size: clamp(3.7rem, 18vw, 5.8rem);
  }

  .final-cta .button {
    width: 100%;
  }

  .final-actions {
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 1440px) {
  .hero {
    grid-template-columns: minmax(27rem, 0.82fr) minmax(42rem, 1.18fr);
  }

  .hero-stage {
    margin-right: -2rem;
  }

  .story-scroll {
    grid-template-columns: minmax(0, 1.4fr) minmax(21rem, 0.6fr);
  }
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    gap: 3.5rem;
  }

  .hero-stage::before {
    inset: 0.5rem -1.4rem 1.4rem 1.6rem;
  }

  .trust-item:nth-child(n) {
    border: 0;
  }

  .section-heading h2,
  .ownership-intro h2,
  .download-heading h2 {
    max-width: 48rem;
  }
}

@media (max-width: 820px) {
  .hero-stage::before {
    inset: 0.8rem -0.8rem 1.6rem 1.1rem;
    border-radius: 2rem;
  }

  .story-visual::before {
    inset: 7% -0.5rem -0.6rem 0.6rem;
    border-radius: 1.1rem;
  }

  .story-step {
    background: linear-gradient(to bottom, transparent 0, #f1eef8 38%, #f1eef8 100%);
  }

  html[data-theme="dark"] .story-step {
    background: linear-gradient(to bottom, transparent 0, #211f24 38%, #211f24 100%);
  }

  .ownership-grid {
    gap: 0.7rem;
    background: transparent;
  }

  .split-workspace,
  .cloud-boundary {
    overflow: hidden;
  }

  .split-copy,
  .cloud-copy,
  .faq-heading,
  .faq-list {
    min-width: 0;
  }
}

@media (max-width: 650px) {
  .hero {
    gap: 2.25rem;
  }

  h1 {
    font-size: clamp(2.75rem, 12.5vw, 4rem);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .section-heading h2,
  .ownership-intro h2,
  .split-copy h2,
  .download-heading h2,
  .cloud-copy h2,
  .faq-heading h2 {
    font-size: clamp(2.6rem, 12vw, 4rem);
    overflow-wrap: anywhere;
  }

  .hero-stage::before {
    inset: 1rem -0.2rem 1.8rem 0.7rem;
    border-radius: 1.4rem;
    transform: rotate(-1.2deg);
  }

  .free-seal {
    right: 0.2rem;
  }

  .ownership-note {
    margin: 0.5rem 0 0 0.7rem;
  }

  .trust-strip {
    gap: 0.55rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border: 0;
  }

  .story-visual::before {
    inset: 6% -0.25rem -0.4rem 0.35rem;
  }

  .ownership-card,
  .history-callout,
  .download-center {
    border-radius: 0.85rem;
  }

  .release-meta,
  .release-actions,
  .older-releases,
  .release-advisory {
    min-width: 0;
  }

  .older-releases strong,
  .release-advisory p {
    overflow-wrap: anywhere;
  }

  .cloud-orbit {
    min-height: 22rem;
    border-radius: 1.2rem;
    transform: none;
  }

  .orbit-two {
    width: 20rem;
    height: 20rem;
  }

  .orbit-one {
    width: 13rem;
    height: 13rem;
  }

  .final-cta h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 520px) {
  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding-top: 7.25rem;
  }

  .hero-promises {
    width: 100%;
  }

  .platform-tabs {
    padding: 0.35rem;
  }

  .platform-tab {
    min-width: 0;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
  }
}

@media (max-height: 700px) and (min-width: 821px) {
  .hero {
    min-height: auto;
  }

  .story-visual {
    top: 5.5rem;
    height: calc(100vh - 7rem);
  }

  .story-step {
    min-height: 94vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .app-window,
  .ownership-note,
  .free-seal,
  .button,
  .header-cta,
  .theme-toggle,
  .language-picker > button,
  .language-menu,
  .story-window,
  .download-center,
  .platform-tab,
  .older-releases > button,
  .faq-list details {
    border: 1px solid CanvasText;
  }
}

/* Optional statistics use the shared theme, focus and global scrollbar treatment. */
.statistics-settings { text-align: center; padding: 1.5rem; }
.statistics-open { font: inherit; color: var(--ink-soft); background: transparent; border: 0; padding: .5rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.statistics-dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 1.25rem; width: min(36rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1.25rem, 4vw, 2rem); overflow: auto; overscroll-behavior: contain; box-shadow: 0 24px 80px #0004; }
.statistics-dialog:not([open]), .statistics-dialog [hidden], .statistics-settings [hidden] { display: none !important; }
.statistics-dialog::backdrop { background: #0008; }
.statistics-dialog h2 { margin: 0 0 1rem; font: inherit; font-size: clamp(1.35rem, 4vw, 1.8rem); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; }
.statistics-dialog p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.6; }
.statistics-reassurance, .statistics-detail, .statistics-state { color: var(--ink-soft); }
.statistics-dialog .statistics-detail, .statistics-dialog .statistics-state { font-size: .8rem; }
.statistics-categories { border: 0; padding: 0; margin: 1.5rem 0; min-width: 0; }
.statistics-categories legend { font-size: .9rem; font-weight: 650; margin-bottom: .5rem; }
.statistics-option { display: flex; gap: .85rem; padding: 1rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.statistics-option input { appearance: auto; accent-color: var(--accent-dark); width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; flex: 0 0 1.1rem; }
.statistics-option strong { display: block; font-size: .95rem; margin-bottom: .3rem; }
.statistics-option span span { display: block; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.statistics-contact { display: inline-block; margin: 0 0 1rem; font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; }
.statistics-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.statistics-action { flex: 1 1 8rem; min-height: 2.9rem; padding: .7rem 1rem; border: 1px solid var(--ink); border-radius: .65rem; background: var(--paper); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.statistics-action:hover { background: var(--paper-deep); }
.statistics-open:focus-visible, .statistics-action:focus-visible, .statistics-option input:focus-visible, .statistics-contact:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
.statistics-action:disabled, .statistics-option input:disabled { opacity: .6; cursor: not-allowed; }
@media (max-width: 420px) { .statistics-actions { flex-direction: column; } .statistics-action { flex-basis: auto; } }
@media (forced-colors: active) { .statistics-dialog, .statistics-action { border-color: CanvasText; } .statistics-dialog::backdrop { background: Canvas; opacity: .75; } .statistics-action:disabled { color: GrayText; } }

.statistics-dialog[data-configuring] { display: flex; flex-direction: column; overflow: hidden; }
.statistics-dialog[data-configuring] #statistics-intro, .statistics-dialog[data-configuring] .statistics-reassurance { display: none; }
.statistics-dialog [data-statistics-settings] { min-height: 0; overflow: auto; overscroll-behavior: contain; margin-bottom: 1rem; }
.statistics-dialog h2, .statistics-dialog .statistics-state, .statistics-dialog .statistics-actions { flex-shrink: 0; }
