@font-face {
  font-family: "Archivo";
  src: url("/marketing/fonts/archivo/archivo-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/marketing/fonts/archivo/archivo-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/marketing/fonts/archivo/archivo-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/marketing/fonts/jetbrains-mono/jetbrains-mono-400.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/marketing/fonts/jetbrains-mono/jetbrains-mono-500.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/marketing/fonts/jetbrains-mono/jetbrains-mono-600.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --background: #f2eee7;
  --foreground: #050403;
  --card: #fffef9;
  --popover: #fffef9;
  --primary: #050403;
  --primary-foreground: #f2eee7;
  --secondary: #fffef9;
  --muted: #d8d2c8;
  --muted-foreground: #51493f;
  --accent: #d2b7a1;
  --accent-soft: #d2b7a1;
  --family-accent: #ffe43c;
  --border: rgba(5, 4, 3, 0.16);
  --input: #81776b;
  --ring: #474154;
  --success: #3f7a52;
  --warning: #8a5f35;
  --destructive: #8c3b2e;
  --status-foreground: #fbf8f3;
  --primary-hover: #27231f;
  --dark-hover: #1d1b18;
  --dark-link: #e6e1d9;
  --dark-meta: #b7b0a7;
  --radius-control: 24px;
  --radius-container: 28px;
  --radius-pill: 9999px;
  --radius-sm: var(--radius-pill);
  --radius-md: var(--radius-control);
  --radius-lg: var(--radius-container);
  --radius-xl: var(--radius-container);
  --font-text: "Archivo", Arial, sans-serif;
  --font-data: "JetBrains Mono", monospace;
  --focus-dark: #f2eee7;
  --shadow-floating: 0 12px 32px -20px rgba(20, 17, 15, 0.35);
  --motion-feedback: 120ms;
  --motion-transition: 200ms;
  --motion-easing: ease-out;
  --xs: 4px;
  --sm: 8px;
  --md: 12px;
  --lg: 16px;
  --xl: 24px;
  --xxl: 32px;
  --xxxl: 48px;
  --control: 44px;
  --max: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 4px solid var(--ring);
  outline-offset: 4px;
}
.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: var(--xl);
  top: -80px;
  background: var(--family-accent);
  padding: var(--md) var(--lg);
  z-index: 100;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.skip:focus {
  top: var(--md);
}

.header {
  position: sticky;
  top: var(--md);
  z-index: 20;
  margin-top: var(--md);
}
.bar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: var(--xl);
  padding: var(--sm) var(--lg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--md);
  min-height: var(--control);
  flex: 0 0 auto;
}
.brand-logo {
  display: block;
  width: 112px;
  height: auto;
}
.desktop {
  display: flex;
  align-items: center;
  gap: var(--xl);
  margin: auto;
  font-size: 0.875rem;
}
.desktop a,
.mobile a {
  position: relative;
}
.desktop a[aria-current],
.mobile a[aria-current] {
  font-weight: 600;
}
.desktop a[aria-current]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--foreground);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--md);
  margin-left: auto;
}
.language {
  font: 500 0.75rem / 1.4 var(--font-text);
  letter-spacing: 0.08em;
  border-left: 1px solid var(--border);
  padding-left: var(--md);
  min-height: var(--control);
  display: grid;
  place-items: center;
}
.login {
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.875rem;
  min-height: var(--control);
  display: grid;
  place-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sm);
  min-height: var(--control);
  padding: var(--md) var(--lg);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  transition:
    background-color var(--motion-feedback),
    color var(--motion-feedback),
    border-color var(--motion-feedback);
}
.button:hover {
  background: var(--primary-hover);
}
.button.secondary {
  background: var(--secondary);
  color: var(--foreground);
  border-color: var(--border);
}
.button.secondary:hover {
  background: var(--accent);
}
.nav-cta {
  font-size: 0.875rem;
}
.toggle {
  display: none;
  min-height: var(--control);
  border: 1px solid var(--border);
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: var(--sm) var(--md);
  font-weight: 600;
}
.mobile {
  background: var(--popover);
  border: 1px solid var(--border);
  border-radius: var(--radius-container);
  margin-top: var(--sm);
  padding: var(--md) var(--xl);
  box-shadow: 0 12px 32px -20px rgba(20, 17, 15, 0.35);
}
.mobile[hidden] {
  display: none;
}
.mobile a {
  display: block;
  min-height: var(--control);
  padding: var(--md) 0;
  border-bottom: 1px solid var(--border);
}
.mobile .button {
  margin-top: var(--md);
  border-bottom: 0;
}

.hero {
  padding: 112px 0 72px;
  text-align: center;
}
.eyebrow {
  font: 500 0.75rem / 1.4 var(--font-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 var(--xl);
}
.header .brand:after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--family-accent);
  border: 1px solid var(--foreground);
  border-radius: 50%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 1120px;
  margin: 0 auto var(--xl);
  font-size: clamp(2.5rem, 6.5vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 .hero-highlight {
  display: inline;
  color: inherit;
  background: var(--family-accent);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.08em;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.lead {
  max-width: 760px;
  margin: 0 auto var(--xxl);
  color: var(--muted-foreground);
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--md);
  flex-wrap: wrap;
}
.free {
  margin: var(--lg) 0 0;
  color: var(--muted-foreground);
  font: 400 0.8125rem / 1.45 var(--font-text);
}

.stage {
  max-width: 1040px;
  margin: 0 auto 88px;
}
.window {
  padding: var(--md);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.window-top {
  display: flex;
  justify-content: space-between;
  gap: var(--xl);
  padding: var(--xs) var(--sm) var(--md);
  color: var(--muted-foreground);
  font: 500 0.75rem / 1.4 var(--font-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.screen {
  display: grid;
  grid-template-columns: 184px 1fr;
  min-height: 345px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--background);
}
.sidebar {
  padding: var(--xl) var(--lg);
  background: var(--foreground);
  color: var(--muted);
  font-size: 0.875rem;
}
.sidebar-logo {
  display: block;
  width: 104px;
  height: auto;
  margin-bottom: var(--xl);
}
.sidebar div {
  margin: var(--lg) 0;
}
.sidebar .selected {
  color: var(--primary-foreground);
  font-weight: 600;
}
.panel {
  min-width: 0;
  padding: var(--xl);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  margin-bottom: var(--xl);
}
.panel-head h3 {
  margin: 0;
}
.context-label {
  padding: var(--sm);
  background: var(--accent);
  border-radius: var(--radius-sm);
  font: 500 0.75rem / 1.4 var(--font-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.data-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
}
.data {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data th {
  color: var(--muted-foreground);
  font: 500 0.75rem / 1.4 var(--font-text);
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}
.data th,
.data td {
  padding: var(--md);
  border-bottom: 1px solid var(--border);
}
.data tbody tr:last-child td {
  border-bottom: 0;
}
.data tbody tr:hover {
  background: var(--accent-soft);
}
.data td:last-child,
.data th:last-child {
  font-family: var(--font-text);
  font-variant-numeric: tabular-nums;
}
.example {
  margin: var(--md) 0 0;
  color: var(--muted-foreground);
  font: 400 0.8125rem / 1.45 var(--font-text);
  text-align: center;
}
.badge {
  display: inline-block;
  padding: var(--xs) var(--sm);
  border-radius: var(--radius-sm);
  background: var(--muted);
  color: var(--muted-foreground);
  font: 500 0.75rem / 1.4 var(--font-text);
  letter-spacing: 0.06em;
}
.badge.warning {
  background: var(--warning);
  color: var(--status-foreground);
}
.badge.destructive {
  background: var(--destructive);
  color: var(--status-foreground);
}
.badge.success {
  background: var(--success);
  color: var(--status-foreground);
}
.status-normal,
.data-value {
  font-family: var(--font-text);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--md);
  margin-bottom: var(--lg);
}
.stat {
  padding: var(--lg);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat:first-child {
  background: var(--card);
}
.stat strong {
  display: block;
  font: 600 1.875rem / 1.1 var(--font-text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat small {
  font: 400 0.8125rem / 1.45 var(--font-text);
  color: var(--muted-foreground);
}

.section {
  padding: 88px 0;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--xxxl);
  align-items: start;
  margin-bottom: var(--xxxl);
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
.dark {
  background: var(--foreground);
  color: var(--primary-foreground);
}
.dark .section-heading p,
.dark .feature-link p {
  color: var(--muted);
}
.detail-list {
  border-top: 1px solid var(--border);
}
.detail {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  gap: var(--xl);
  align-items: start;
  padding: var(--xxl) 0;
  border-bottom: 1px solid var(--border);
}
.detail h3,
.detail p {
  margin: 0;
}
.detail p {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.47059;
}
.symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border: 1px solid var(--foreground);
  border-radius: var(--radius-md);
  font: 600 0.75rem / 1.4 var(--font-text);
}
.symbol svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lg);
}
.feature-link {
  padding: var(--xl);
  border: 1px solid rgba(242, 238, 231, 0.24);
  border-radius: var(--radius-lg);
  transition:
    background-color var(--motion-transition),
    border-color var(--motion-transition);
}
.feature-link:hover {
  background: var(--dark-hover);
  border-color: var(--accent);
}
.feature-link .symbol {
  margin-bottom: var(--xxl);
  color: var(--foreground);
}
.feature-link h3 {
  margin-bottom: var(--md);
}
.feature-link p {
  min-height: 0;
}
.text-link {
  color: var(--primary-foreground);
  font-weight: 600;
}

.faq {
  max-width: 850px;
  margin: auto;
}
.faq h2 {
  margin-bottom: var(--xxl);
}
.faq details {
  padding: var(--xl) 0;
  border-bottom: 1px solid var(--border);
}
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding-right: var(--xxxl);
  font-size: 1.125rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  position: absolute;
  right: var(--sm);
  top: -4px;
  font: 400 1.5rem / 1 var(--font-text);
}
.faq details[open] summary:after {
  content: "−";
}
.faq details p {
  margin: var(--lg) var(--xxxl) 0 0;
  color: var(--muted-foreground);
}

.price {
  max-width: 840px;
  margin: 0 auto 88px;
  padding: var(--xxl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xxl);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.price h2 {
  margin: var(--md) 0;
  font: 600 4rem / 1 var(--font-text);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.price p {
  font-size: 1.0625rem;
  line-height: 1.47059;
}
.price ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--xl);
}
.price li {
  padding: var(--md) 0;
  border-bottom: 1px solid var(--border);
}
.price li:before {
  content: "✓";
  margin-right: var(--md);
  font-family: var(--font-text);
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: var(--md);
}
.related a {
  min-height: var(--control);
  display: grid;
  place-items: center;
  padding: var(--sm) var(--lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}
.related a:hover {
  background: var(--accent);
}

.cta {
  padding: 88px 0;
  text-align: center;
  background: var(--muted);
  border-top: 1px solid var(--border);
}
.cta p {
  max-width: 650px;
  margin: 0 auto var(--xl);
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
.cta .free {
  margin-top: var(--lg);
}
.footer {
  padding: var(--xxxl) 0 var(--xl);
  background: var(--foreground);
  color: var(--primary-foreground);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--xxxl);
}
.footer .brand {
  display: inline-flex;
}
.footer .brand-logo {
  width: 128px;
}
.footer p {
  margin: var(--lg) 0;
  color: var(--muted);
  font-size: 0.875rem;
}
.footer nav a {
  display: block;
  min-height: 44px;
  padding: var(--md) 0;
  color: var(--dark-link);
  font-size: 0.875rem;
}
.footer-label {
  color: var(--muted);
  font: 500 0.75rem / 1.4 var(--font-text);
  letter-spacing: 0.1em;
}
.foot-bottom {
  margin-top: var(--xxl);
  padding-top: var(--xl);
  border-top: 1px solid rgba(242, 238, 231, 0.2);
  color: var(--dark-meta);
  font: 400 0.75rem / 1.45 var(--font-text);
}

.enter {
  animation: enter var(--motion-transition) both;
}
.hero h1 {
  animation: enter var(--motion-transition) both;
}
.hero .lead {
  animation: enter var(--motion-transition) both;
}
.js .reveal {
  opacity: 0;
  transform: none;
  transition: opacity var(--motion-transition) var(--motion-easing);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: none;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .desktop {
    gap: var(--md);
    font-size: 0.8125rem;
  }
  .nav-cta {
    display: none;
  }
  .bar {
    gap: var(--lg);
  }
}
@media (max-width: 1068px) {
  h1 {
    font-size: 4rem;
    line-height: 1.0625;
    letter-spacing: 0;
  }
  h2 {
    font-size: 3.5rem;
    line-height: 1;
    letter-spacing: 0;
  }
  h3 {
    font-size: 1.75rem;
    line-height: 1.14286;
    letter-spacing: 0.008em;
  }
  .lead,
  .section-heading p,
  .cta p {
    font-size: 1.3125rem;
    line-height: 1.4;
    letter-spacing: 0;
  }
}
@media (max-width: 850px) {
  .desktop {
    display: none;
  }
  .toggle {
    display: block;
  }
  .wrap {
    width: min(calc(100% - 32px), var(--max));
  }
  .header {
    top: var(--sm);
    margin-top: var(--sm);
  }
  .bar {
    min-height: 60px;
    padding: var(--sm) var(--md);
  }
  .brand-logo {
    width: 100px;
  }
  .hero {
    padding: 80px 0 56px;
  }
  .section {
    padding: 64px 0;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: var(--xl);
  }
  .detail {
    grid-template-columns: 52px 1fr;
    gap: var(--lg);
  }
  .detail p {
    grid-column: 2;
  }
  .feature-links {
    grid-template-columns: 1fr;
  }
  .feature-link p {
    min-height: 0;
  }
  .screen {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .stage {
    margin-bottom: 64px;
  }
  .panel {
    padding: var(--lg);
  }
  .price {
    padding: var(--xl);
    gap: var(--xl);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: min(calc(100% - 24px), var(--max));
  }
  .brand-logo {
    width: 90px;
  }
  .bar {
    gap: var(--sm);
    padding: var(--sm);
  }
  .nav-actions {
    gap: var(--sm);
  }
  .language {
    padding-left: var(--sm);
  }
  .login {
    font-size: 0.8125rem;
  }
  .toggle {
    font-size: 0.8125rem;
  }
  .hero-actions .button {
    width: 100%;
  }
  .window-top {
    font-size: 0.75rem;
  }
  .panel-head {
    align-items: flex-start;
  }
  .stats {
    gap: var(--sm);
  }
  .stat {
    padding: var(--md);
  }
  .stat strong {
    font-size: 1.375rem;
  }
  .price {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--xl);
  }
  .footer-grid > div:first-child {
    grid-column: auto;
  }
}
@media (max-width: 734px) {
  h1 {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: 0;
  }
  h3 {
    font-size: 1.5rem;
    line-height: 1.16667;
    letter-spacing: 0.009em;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .js .reveal {
    opacity: 1;
  }
}

/* ALMA public-web implementation of the shared design.md v0.2.2. */
.language,
.eyebrow,
.window-top,
.context-label,
.data th,
.badge,
.status-normal,
.data-value,
.stat strong,
.stat small,
.footer-label,
.foot-bottom,
.price h2 {
  font-family: var(--font-data);
}
.data td:last-child,
.data th:last-child {
  font-family: var(--font-data);
}
.desktop a,
.language,
.login,
.toggle {
  min-width: var(--control);
  min-height: var(--control);
}
.desktop a {
  display: flex;
  align-items: center;
}
.desktop a[aria-current]:after {
  bottom: 0;
}
.desktop a:hover,
.login:hover,
.language:hover,
.mobile a:hover,
.footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.toggle {
  background: var(--secondary);
  cursor: pointer;
}
.toggle:hover {
  background: var(--accent);
}
.button:active {
  background: var(--accent);
  color: var(--foreground);
}
.dark,
.footer {
  --ring: var(--focus-dark);
}
.dark .symbol {
  background: var(--muted);
}
.feature-link:hover {
  border-color: var(--muted);
}
.faq summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq summary:after {
  top: 8px;
}
.mobile {
  max-height: calc(100dvh - var(--header-height, 80px) - 32px);
  overflow-y: auto;
  box-shadow: var(--shadow-floating);
}
.context-label {
  line-height: 1.4;
  background: var(--muted);
  color: var(--muted-foreground);
}
.data-scroll {
  border-radius: var(--radius-container);
}
.data-scroll:focus-visible {
  outline-offset: 0;
}
.panel-head {
  flex-wrap: wrap;
}
.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat {
  min-width: 0;
}
.stat small {
  overflow-wrap: anywhere;
}
.window-top {
  line-height: 1.4;
}
main {
  scroll-margin-top: 100px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.scroll-hint {
  display: none;
}
@media (max-width: 1100px) {
  .desktop {
    gap: 12px;
    font-size: 0.875rem;
  }
}
@media (max-width: 960px) {
  .desktop {
    display: none;
  }
  .toggle {
    display: block;
  }
}
@media (max-width: 560px) {
  .wrap {
    width: min(calc(100% - 32px), var(--max));
  }
  .brand-logo {
    width: 96px;
  }
  .header .brand {
    gap: 8px;
  }
  .header .bar {
    flex-wrap: wrap;
  }
  .header .nav-actions {
    gap: 4px;
  }
  .header .login {
    display: none;
  }
  .toggle {
    font-size: 0.875rem;
  }
  .language {
    padding-left: 4px;
  }
  .hero {
    padding: 64px 0 48px;
  }
  .hero .lead {
    font-size: 1.125rem;
    line-height: 1.55;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .panel {
    padding: 12px;
  }
  .panel-head h3 {
    font-size: 1.5rem;
  }
  .scroll-hint {
    display: block;
    color: var(--muted-foreground);
    font-size: 0.8125rem;
    margin: 12px 0 0;
  }
  h2 {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }
  .detail {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }
}

.mobile-login {
  display: none !important;
}
@media (max-width: 560px) {
  .mobile-login {
    display: block !important;
  }
}

.mobile .button {
  display: flex;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}
.bar,
.desktop {
  flex-wrap: wrap;
}
.section-heading {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
@media (max-width: 850px) {
  .section-heading {
    grid-template-columns: minmax(0, 1fr);
  }
}

.button.secondary,
.toggle,
.related a {
  border-color: var(--input);
}
@media (max-width: 560px) {
  .stat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
  }
  .stat small:first-child {
    grid-column: 1 / -1;
  }
  .stat strong {
    white-space: nowrap;
  }
  .stat small:last-child {
    text-align: right;
  }
}

/* Text composition: shared across languages and routes. */
h1,
h2,
h3,
summary,
.eyebrow {
  text-wrap: balance;
  word-break: normal;
  hyphens: manual;
}
p,
li {
  text-wrap: pretty;
}
.title-line {
  display: block;
  text-wrap: balance;
}
.hero h1 {
  max-inline-size: 18ch;
}
.hero .lead {
  max-width: none;
  max-inline-size: 65rem;
  text-wrap: balance;
}
.lead-sentence {
  display: block;
  text-wrap: balance;
}
.keep-phrase {
  display: inline-block;
  max-inline-size: 100%;
  text-wrap: balance;
}
.cta h2 {
  max-inline-size: 24ch;
  margin-inline: auto;
}
.cta p {
  text-wrap: balance;
}
.feature-link {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
}
.feature-link h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
.feature-link p {
  margin: 0;
  text-wrap: balance;
  align-self: start;
}
.feature-link .symbol {
  margin: 0;
}
.feature-link .text-link {
  margin-top: auto;
  padding-top: var(--lg);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: balance;
}
.feature-link > * + * {
  margin-top: var(--xl);
}
@supports (grid-template-rows: subgrid) {
  .feature-links {
    column-gap: var(--lg);
    row-gap: var(--xl);
  }
  .feature-link {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: var(--xl);
  }
  .feature-link > * + * {
    margin-top: 0;
  }
  .feature-link .text-link {
    margin: 0;
    padding: 0;
    align-self: end;
  }
}
@media (max-width: 960px) {
  .feature-links {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-link {
    display: flex;
    grid-row: auto;
    gap: 0;
  }
  .feature-link > * + * {
    margin-top: var(--xl);
  }
  .feature-link .text-link {
    margin-top: var(--xl);
    padding: 0;
    align-self: auto;
  }
  .feature-link p {
    text-wrap: pretty;
  }
}

/* Parallel editorial blocks: supporting copy stays subordinate to the title. */
.section-heading p {
  font-size: clamp(1.125rem, 1.75vw, 1.375rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.copy-sentence {
  display: block;
  text-wrap: balance;
}

/* Heading endings are indivisible; complete short sentences stay together. */
.heading-ending {
  display: inline-block;
  white-space: nowrap;
}
.heading-word {
  white-space: nowrap;
}
h1 .heading-sentence,
.cta h2 .heading-sentence {
  display: block;
}
.cta h2 {
  max-inline-size: none;
  width: 100%;
}
h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Corporate legal content, using the shared public-site tokens. */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 238, 231, 0.2);
}
.footer .footer-legal a {
  padding: 10px 0;
  line-height: 1.5;
  max-width: 100%;
}
.footer .foot-bottom a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-main {
  max-width: 860px;
  padding-block: 72px 96px;
}
.legal-header h1 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
  max-width: 100%;
  margin: 0 0 24px;
  text-align: left;
  line-height: 1.15;
}
.legal-header p {
  font-size: 1.125rem;
}
.legal-main a {
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.legal-origin {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 32px 0 48px;
  font-size: 1rem;
  line-height: 1.65;
}
.legal-origin p {
  margin-bottom: 16px;
}
.legal-copy {
  font-size: 1.125rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.legal-copy h2 {
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.65rem);
  line-height: 1.35;
  margin: 40px 0 20px;
  text-align: left;
}
.legal-copy p,
.legal-copy ul,
.legal-copy ol {
  margin: 0 0 24px;
}
.legal-copy li {
  margin-block: 8px;
}
.legal-copy ul,
.legal-copy ol {
  padding-left: 24px;
}
.legal-copy table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.legal-copy td,
.legal-copy th {
  padding: 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}
@media (max-width: 560px) {
  .legal-main {
    padding-block: 48px 64px;
  }
  .legal-origin {
    padding: 20px;
  }
  .footer-legal {
    display: block;
  }
}

/* Registration and sign-in preview: shared ALMA public-site tokens. */
.auth-main {
  max-width: 640px;
  padding-block: 56px 72px;
}
.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-container);
  padding: 40px;
}
.auth-card .eyebrow {
  margin-bottom: 20px;
}
.auth-card h1 {
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem);
  line-height: 1.15;
  text-align: left;
  max-width: 100%;
  margin: 0 0 16px;
  text-wrap: balance;
}
.auth-intro {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: var(--muted-foreground);
}
.auth-preview {
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 16px;
  background: var(--background);
  border-radius: var(--radius-control);
  margin-bottom: 24px;
}
.auth-google,
.auth-submit {
  width: 100%;
  min-height: 52px;
  cursor: pointer;
  font-size: 1rem;
}
.auth-google {
  background: white !important;
  border-color: var(--input) !important;
}
.auth-google:hover {
  background: var(--background) !important;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  background: var(--border);
  flex: 1;
}
.auth-form {
  display: grid;
  gap: 20px;
}
.auth-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.auth-field label {
  font-size: 1rem;
  font-weight: 500;
}
.auth-field input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 18px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--input);
  border-radius: var(--radius-control);
}
.auth-field input:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}
.auth-field input[aria-invalid="true"] {
  border: 2px solid var(--destructive);
}
.auth-password {
  display: flex;
  align-items: center;
  border: 1px solid var(--input);
  border-radius: var(--radius-control);
}
.auth-password input {
  border: 0;
  flex: 1;
}
.password-toggle {
  flex: none;
  padding: 8px 12px;
  min-width: 64px;
  min-height: 44px;
  margin-right: 4px;
  font-size: 0.875rem;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
}
.auth-help,
.auth-legal,
.auth-live {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.auth-help {
  margin: 0;
}
.auth-legal {
  margin: 24px 0;
}
.auth-switch {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  text-align: center;
}
.auth-main a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-forgot {
  font-size: 0.875rem;
  justify-self: start;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.auth-live {
  margin: 24px 0 0;
  text-align: center;
}
.auth-live a {
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
}
.auth-feedback {
  padding: 16px;
  margin-top: 24px;
  border: 1px solid var(--input);
  border-radius: var(--radius-control);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--background);
}
.auth-feedback[hidden] {
  display: none;
}
@media (max-width: 560px) {
  .auth-main {
    padding-block: 32px 48px;
  }
  .auth-card {
    padding: 24px 20px;
  }
  .auth-card h1 {
    font-size: 2rem;
  }
}

.auth-form[hidden] {
  display: none;
}
