@charset "UTF-8";
/* ============================================================
   RUNTIME THEME VARIABLES (CSS custom properties)
   These MUST stay as CSS variables (not $scss vars) because
   html.dark swaps them at runtime for light/dark mode.
   ============================================================ */
:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #111111;
  --textmain: #111111;
  --text-muted: #6b7280;
  --text-muted-light: #9ca3af;
  --surface: #f5f5f5;
  --surface-hover: #e9e9e9;
  --border: #d4d4d4;
  --border-subtle: #e5e5e5;
  --primary: #0f4525; /* was #14532d */
  --primary-hover: #124f28; /* was #166534 */
  --primary-active: #0b321b; /* was #0f3d21 */
  --primary-foreground: #ffffff;
  /* Editorial accent scale — same hue family as --primary, for
     restrained structural use (kickers, rules, numerals) rather
     than large fills. Keeps body content black/white/gray. */
  --accent-tint-1: #eaf3ee; /* faint wash, e.g. section backgrounds */
  --accent-tint-2: #cfe4d8; /* subtle borders/dividers */
  --accent-shade-1: #0a2e18; /* deep green for large display text */
  --header-background: rgba(255, 255, 255, 0.88);
  --shadow-color: rgba(0, 0, 0, 0.08);
  --shadow-strong: rgba(0, 0, 0, 0.15);
  --focus-ring: rgba(15, 69, 37, 0.25);
  --container-width: 80rem;
}

html.dark {
  color-scheme: dark;
  --background: #010804;
  --foreground: #ffffff;
  --textmain: #ffffff;
  --text-muted: #a3a3a3;
  --text-muted-light: #737373;
  --surface: #181d1b;
  --surface-hover: #262626;
  --border: #404040;
  --border-subtle: #262626;
  --primary: #168b42; /* was #1ca54f */
  --primary-hover: #3bc66b; /* was #4ade80 */
  --primary-active: #127b38; /* was #16a34a */
  --primary-foreground: #010804;
  --accent-tint-1: #0f1f16; /* faint wash on dark backgrounds */
  --accent-tint-2: #1c3527; /* subtle borders/dividers */
  --accent-shade-1: #4ade80; /* brighter green for large display text on dark */
  --header-background: rgba(24, 29, 27, 0.88); /* was solid #181d1b — fully opaque, which hid the backdrop blur behind the mobile nav/language panels */
  --shadow-color: rgba(0, 0, 0, 0.35);
  --shadow-strong: rgba(0, 0, 0, 0.6);
  /*--focus-ring: rgba(22, 139, 66, 0.3);*/
  --focus-ring: rgba(65, 182, 110, 0.395);
}

/* ============================================================
   COMPILE-TIME SCSS VARIABLES
   Sass-only. Do not use for anything the browser must read
   after compilation (they don't survive into the CSS output).
   ============================================================ */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  /* contain (not none) stops scroll-chaining/rubber-band bounce
     from propagating past the page edges, while still allowing
     the browser's native pull-to-refresh gesture — "none" blocks
     both. */
  overscroll-behavior-y: contain;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--textmain);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 200ms ease, color 200ms ease;
}

button,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

/* ========================================
   Layout
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

main {
  flex: 1;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}
/* ========================================
   Reduced motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* ============================================================
   EDITORIAL UTILITIES
   Opt-in classes for a more considered, editorial feel —
   restrained use of the brand green as a structural accent,
   not a decorative fill. Body copy stays black/white/gray;
   these are for kickers, section markers, and hairline rules.
   Nothing here is applied automatically — add the class where
   you want the effect.
   ============================================================ */
.editorial-kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.editorial-index {
  color: var(--text-muted-light);
  font-weight: 400;
}

.editorial-rule {
  border: 0;
  border-top: 1px solid var(--accent-tint-2);
  margin: 0;
}

.editorial-numeral {
  color: var(--accent-tint-2);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.editorial-wash {
  background: var(--accent-tint-1);
}

.editorial-emphasis {
  color: var(--accent-shade-1);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--header-background);
  /* With viewport-fit=cover, the page (and this sticky header)
     now extends under the iPhone Dynamic Island / notch area.
     This padding keeps the header's own background color filling
     that space (matching the page background, light or dark)
     while pushing the actual nav content below the island so
     nothing sits underneath it. */
  padding-top: env(safe-area-inset-top, 0px);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px var(--shadow-color);
}

.site-header.nav-expansion-open,
.site-header.nav-expansion-open .header-inner,
.site-header.nav-expansion-open .nav-expansion,
.site-header.nav-expansion-open .nav-expansion-panel {
  background: var(--background) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.main-nav {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  height: 64px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--textmain);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================
   Brand
   ======================================== */
/* ========================================
   Mega menu (expansion panel)

   Behavior: a nav-link with class .has-dropdown, when its
   data-menu-open="true" attribute is set by JS, triggers
   .nav-expansion to expand open. Visually it's the same
   background/blur surface as the header, growing straight
   down from the bottom edge — not a separate floating panel.
   ======================================== */
.nav-expansion {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  background: var(--background);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 16px 32px var(--shadow-color);
  transition: max-height 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.nav-expansion-open .nav-expansion {
  max-height: 420px;
}

.nav-expansion-panel {
  display: none;
}

.nav-expansion-panel.is-active {
  display: block;
}

.nav-expansion-inner {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2.5rem 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.nav-expansion-inner--featured {
  grid-template-columns: 2fr 1fr;
}

.nav-expansion-featured {
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--surface);
  color: var(--textmain);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 150ms ease;
}

.nav-expansion-featured:hover {
  background: var(--surface-hover);
}

.nav-expansion-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1), transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.nav-expansion-open .nav-expansion-column {
  opacity: 1;
  transform: translateY(0);
}

.nav-expansion-column:nth-child(1) {
  transition-delay: 40ms;
}

.nav-expansion-column:nth-child(2) {
  transition-delay: 80ms;
}

.nav-expansion-column:nth-child(3) {
  transition-delay: 120ms;
}

.nav-expansion-column:nth-child(4) {
  transition-delay: 160ms;
}

.nav-expansion-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-expansion-column h3 {
  margin: 0 0 0.25rem;
  color: var(--text-muted-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-expansion-subtitle {
  display: block;
  text-decoration: none;
  transition: color 150ms ease;
}

.nav-expansion-subtitle:hover h3 {
  color: var(--primary);
}

.nav-expansion-column a {
  color: var(--textmain);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 150ms ease;
}

.nav-expansion-column a:hover {
  color: var(--primary);
}

.nav-expansion-column a small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.nav-expansion-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ========================================
   Page backdrop (dims content behind the open mega menu)
   ======================================== */
.nav-page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--shadow-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.nav-page-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   Mobile menu trigger (hamburger)
   ======================================== */
.mobile-nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--textmain);
  cursor: pointer;
}

.mobile-nav-toggle-icon,
.mobile-nav-toggle-icon::before,
.mobile-nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.mobile-nav-toggle-icon {
  position: relative;
}

.mobile-nav-toggle-icon::before,
.mobile-nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-nav-toggle-icon::before {
  top: -6px;
}

.mobile-nav-toggle-icon::after {
  top: 6px;
}

.mobile-nav-toggle[aria-expanded=true] .mobile-nav-toggle-icon {
  background: transparent;
}

.mobile-nav-toggle[aria-expanded=true] .mobile-nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-nav-toggle[aria-expanded=true] .mobile-nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========================================
   Mobile menu panel

   Reuses .main-nav's links but presented as a full-width
   dropdown panel under the header, since .main-nav itself
   is display:none below $bp-max-tablet.
   ======================================== */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  background: var(--header-background);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: max-height 420ms cubic-bezier(0.16, 1, 0.3, 1), border-color 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.mobile-nav-open .mobile-nav {
  max-height: min(80vh, 640px);
  overflow-y: auto;
  border-bottom-color: var(--border-subtle);
}

.mobile-nav-inner {
  padding: 1rem 24px 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-nav-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.6rem 0.15rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 150ms ease;
}
.mobile-nav-search svg {
  flex-shrink: 0;
}
.mobile-nav-search:focus-within {
  border-bottom-color: var(--primary);
}
.mobile-nav-search .search-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--textmain);
  font-size: 1rem;
  outline: none;
}
.mobile-nav-search .search-input::placeholder {
  color: var(--text-muted);
}

.mobile-nav-inner .search-results:empty {
  display: none;
}

.mobile-nav-inner .search-results {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.5rem;
}

.mobile-nav-link {
  padding: 0.9rem 0;
  color: var(--textmain);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:last-child {
  border-bottom: 0;
}

.search-toggle {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--textmain);
  cursor: pointer;
}

.nav-expansion-inner--search {
  display: block;
  max-width: 640px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--textmain);
  font-size: 1.25rem;
  outline: none;
}

.search-input:focus {
  border-bottom-color: var(--primary);
}

.search-results {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.search-result-link {
  padding: 0.6rem 0;
  color: var(--textmain);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
}

.search-result-link:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-flex;
  }
  .mobile-nav {
    display: block;
  }
  .nav-expansion {
    display: none;
  }
}
@media (max-width: 480px) {
  .header-inner {
    height: 3.75rem;
  }
  .brand {
    font-size: 1rem;
  }
  .brand-icon {
    width: 2rem;
    height: 2rem;
  }
  .header-actions {
    gap: 4px;
  }
  .language-button {
    min-width: 44px;
    padding: 0 0.4rem;
  }
}
.language-menu {
  position: relative;
}

.language-button {
  height: 32px;
  min-width: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--textmain);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.language-button:hover {
  background: var(--surface);
}

.language-button[aria-expanded=true] {
  background: var(--surface);
  border-color: var(--border);
}

.language-button:focus-visible,
.theme-toggle:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.language-chevron {
  transition: transform 120ms ease;
}

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

/* ============================================================
   VISIBILITY
   Driven entirely by aria-expanded on the button, via :has() —
   no JS class/hidden-attribute toggling needed, same approach
   already used elsewhere in this codebase (see _context-menu.scss).
   Desktop: fades/slides in as a small floating card.
   Mobile (below): becomes a full-width sliding panel instead,
   matching .mobile-nav's own max-height technique exactly.
   ============================================================ */
.language-dropdown {
  position: absolute;
  z-index: 1010;
  top: calc(100% + 6px);
  right: 0;
  width: 170px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 25px var(--shadow-color), 0 2px 6px var(--shadow-color);
  opacity: 0;
  transform: translateY(-3px);
  pointer-events: none;
  transition: opacity 100ms ease-out, transform 100ms ease-out;
}

.language-menu:has(.language-button[aria-expanded=true]) .language-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-option {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--textmain);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 100ms ease, color 100ms ease;
}

.language-option:hover {
  background: var(--surface);
}

.language-option.active {
  color: var(--primary);
  font-weight: 600;
}

.language-code {
  color: var(--text-muted-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.language-option.active .language-code {
  color: var(--primary);
}

@media (max-width: 480px) {
  .language-dropdown {
    width: 160px;
  }
}
@media (max-width: 900px) {
  .language-dropdown {
    position: fixed;
    top: 3.75rem;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--header-background);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    opacity: 1;
    transform: none;
    transition: max-height 420ms cubic-bezier(0.16, 1, 0.3, 1), border-color 420ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .language-menu:has(.language-button[aria-expanded=true]) .language-dropdown {
    max-height: min(60vh, 420px);
    overflow-y: auto;
    padding: 0.5rem 24px calc(0.5rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-subtle);
  }
  .language-option {
    height: auto;
    padding: 0.9rem 0.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 1rem;
  }
  .language-option:last-child {
    border-bottom: 0;
  }
  .language-option:hover {
    background: transparent;
    color: var(--primary);
  }
}
.theme-toggle {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--background);
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.theme-toggle:hover {
  background: var(--surface);
  color: var(--foreground);
}

.theme-icon {
  display: block;
}

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

.theme-icon-moon {
  display: block;
}

.dark .theme-icon-sun {
  display: block;
}

.dark .theme-icon-moon {
  display: none;
}

.context-language-wrapper {
  position: relative;
}

.context-menu-language {
  justify-content: space-between;
  gap: 0.55rem;
}

.context-menu-language-arrow {
  margin-left: auto;
  width: 16px;
  flex: 0 0 16px;
  text-align: center;
  line-height: 1;
  opacity: 0.65;
}

.context-language-submenu {
  position: absolute;
  top: 0;
  left: calc(100% + 6px);
  display: none;
  min-width: 150px;
  padding: 0.35rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  box-shadow: 0 12px 30px var(--shadow-color), 0 3px 8px var(--shadow-color);
  z-index: 10001;
}

.context-language-submenu.is-open {
  display: block;
}

.context-language-wrapper:has(.context-menu-language.open-left) .context-language-submenu {
  left: auto;
  right: calc(100% + 6px);
}

.context-language-option {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: var(--textmain);
  font: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 100ms ease, color 100ms ease;
}

.context-language-option:hover,
.context-language-option.active {
  background: var(--surface);
  color: var(--foreground);
}

.context-language-option:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -2px;
}

.context-menu-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  min-height: calc(100vh - 4rem);
  min-height: calc(100dvh - 4rem);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 1rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  cursor: default;
  user-select: none;
  max-width: 56rem;
  margin: 0 auto;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-title,
.hero-title * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
}

.hero-gradient {
  user-select: none;
  display: inline;
  color: transparent;
  background: linear-gradient(to right, var(--primary), var(--primary-hover), #22c55e);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  cursor: default;
  user-select: none;
  max-width: 42rem;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.625;
  font-weight: 400;
}

.hero-description * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 8rem;
  }
  .hero-title {
    font-size: 3.75rem;
  }
  .hero-description {
    font-size: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}
.download-buttons {
  user-select: none;
  max-width: 28rem;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.download-button {
  user-select: none;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.download-button * {
  user-select: none;
}

.download-button:hover {
  transform: translateY(-1px);
}

.download-button:active {
  transform: translateY(0);
}

.download-windows {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 20px 25px -5px var(--focus-ring), 0 8px 10px -6px var(--focus-ring);
}

html.dark .download-windows {
  color: var(--foreground);
}

.download-windows:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.download-windows:active {
  background: var(--primary-active);
  border-color: var(--primary-active);
}

.download-mac {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  box-shadow: 0 10px 15px -3px var(--shadow-color), 0 4px 6px -4px var(--shadow-color);
}

.download-mac:hover {
  background: var(--surface-hover);
}

.platform-icon {
  -webkit-user-drag: none;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: currentColor;
}

.mac-icon {
  -webkit-user-drag: none;
  width: 1.375rem;
  height: 1.375rem;
}

.release-info {
  -webkit-user-drag: none;
  user-select: none;
  margin: 1rem 0 0;
  color: var(--text-muted-light);
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .download-buttons {
    max-width: none;
    flex-direction: row;
  }
  .download-button {
    width: auto;
  }
}
.product-preview-section {
  padding: 3rem 0;
  background: var(--background);
}

.product-preview-header {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--textmain);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
}

.section-description {
  margin: 1rem auto 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.product-preview-frame {
  width: 100%;
  min-height: 420px;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px var(--shadow-color);
}

.product-preview-placeholder {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  border-radius: 0.875rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .product-preview-section {
    padding: 4rem 0;
  }
  .product-preview-frame {
    min-height: 280px;
  }
  .product-preview-placeholder {
    min-height: 250px;
  }
}
.site-footer {
  width: 100%;
  margin-top: 6rem;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}
.site-footer .footer-content {
  width: 100%;
  color: var(--text-muted-light);
  font-size: 0.875rem;
}
.site-footer .footer-main {
  display: flex;
  justify-content: space-between;
  gap: 6rem;
  padding-bottom: 5rem;
  min-width: 0;
}
.site-footer .footer-brand {
  max-width: 280px;
  min-width: 0;
}
.site-footer .footer-logo {
  display: inline-block;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.site-footer .footer-tagline {
  max-width: 240px;
  margin: 1rem 0 0;
  color: var(--text-muted-light);
  font-size: 0.875rem;
  line-height: 1.7;
}
.site-footer .footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5rem;
  min-width: 0;
}
.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.site-footer .footer-column h2 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
}
.site-footer .footer-column a {
  color: var(--text-muted-light);
  font-size: 0.825rem;
  text-decoration: none;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}
.site-footer .footer-column a:hover {
  color: var(--text);
}
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  min-width: 0;
}
.site-footer .footer-bottom p {
  margin: 0;
}
.site-footer .footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer .footer-legal a {
  color: var(--text-muted-light);
  text-decoration: none;
}
.site-footer .footer-legal a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .site-footer {
    margin-top: 5rem;
    padding: 4rem 0 2rem;
  }
  .site-footer .footer-main {
    gap: 3rem;
  }
  .site-footer .footer-nav {
    gap: 2.5rem;
  }
}
@media (max-width: 768px) {
  .site-footer {
    margin-top: 4rem;
    padding: 3.5rem 1.25rem 1.5rem;
  }
  .site-footer .footer-main {
    flex-direction: column;
    gap: 3rem;
    padding-bottom: 3rem;
  }
  .site-footer .footer-brand {
    max-width: 100%;
  }
  .site-footer .footer-tagline {
    max-width: 100%;
  }
  .site-footer .footer-nav {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .site-footer .footer-legal {
    gap: 0.75rem 1.25rem;
  }
}
@media (max-width: 480px) {
  .site-footer {
    padding: 3rem 1rem 1.25rem;
  }
  .site-footer .footer-main {
    gap: 2.5rem;
  }
  .site-footer .footer-nav {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .site-footer .footer-column {
    gap: 0.65rem;
  }
  .site-footer .footer-column h2 {
    margin-bottom: 0.35rem;
  }
  .site-footer .footer-bottom {
    padding-top: 1.25rem;
  }
  .site-footer .footer-legal {
    gap: 0.5rem 1rem;
  }
}
.faq-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 5rem 1.5rem;
}
.faq-section .faq-container {
  width: 100%;
  max-width: 800px;
}
.faq-section .faq-title {
  margin: 0 0 2.5rem;
  color: #111;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.faq-section .faq-list {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.faq-section .faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.faq-section .faq-question {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-section .faq-question:hover {
  color: #666;
}
.faq-section .faq-question:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.faq-section .faq-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-left: 1rem;
  color: currentColor;
}
.faq-section .faq-icon::before, .faq-section .faq-icon::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.faq-section .faq-icon::before {
  transform: translate(-50%, -50%);
}
.faq-section .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-section .faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.faq-section .faq-answer {
  min-height: 0;
  overflow: hidden;
}
.faq-section .faq-answer p {
  margin: 0;
  padding: 0 0 1.5rem;
  color: #666;
  font-size: 1rem;
  line-height: 1.65;
  transform: translateY(-6px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.faq-section .faq-item.is-active .faq-answer-wrapper {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-section .faq-item.is-active .faq-answer p {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.05s;
}
.faq-section .faq-item.is-active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0.85;
}
.faq-section .faq-item.is-active .faq-question {
  color: #111;
}
@media (prefers-reduced-motion: reduce) {
  .faq-section .faq-question,
  .faq-section .faq-icon::before,
  .faq-section .faq-icon::after,
  .faq-section .faq-answer-wrapper,
  .faq-section .faq-answer p {
    transition: none;
  }
}

.os-download-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.os-download-modal.is-open {
  pointer-events: auto;
}

/* ========================================
   BACKDROP
   ======================================== */
.os-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--shadow-strong);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.os-download-modal.is-open .os-modal-backdrop {
  opacity: 1;
}

/* ========================================
   MODAL CARD
   ======================================== */
.os-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px var(--shadow-strong);
  color: var(--foreground);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.os-download-modal.is-open .os-modal-card {
  opacity: 1;
}

/* ========================================
   CLOSE BUTTON
   ======================================== */
.os-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.os-modal-close:hover {
  background: var(--surface-hover);
  color: var(--textmain);
}

.os-modal-close:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ========================================
   TITLE
   ======================================== */
.os-modal-card h2 {
  margin: 0 2rem 0.75rem 0;
  color: var(--textmain);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ========================================
   DESCRIPTION
   ======================================== */
.os-modal-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================
   ACTIONS
   ======================================== */
.os-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.os-modal-button {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.os-modal-button:active {
  transform: scale(0.98);
}

.os-modal-button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ========================================
   CONTINUE BUTTON
   ======================================== */
.os-modal-continue {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.os-modal-continue:hover {
  background: var(--primary-hover);
}

/* ========================================
   CORRECT VERSION BUTTON
   ======================================== */
.os-modal-correct {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--textmain);
}

.os-modal-correct:hover {
  background: var(--surface-hover);
}

/* ========================================
   MOBILE
   ======================================== */
@media (max-width: 480px) {
  .os-download-modal {
    padding: 1rem;
  }
  .os-modal-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }
}
.toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--textmain);
  box-shadow: 0 12px 30px var(--shadow-color);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10001;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.contact-page {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.contact-page__header {
  max-width: 700px;
  margin-bottom: 4rem;
}

.contact-page__header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
}

.contact-page__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.contact-page__content {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.75fr);
  gap: 3rem;
  align-items: start;
}

.contact-page__form,
.contact-page__details {
  padding: 0;
  border: 0;
  border-radius: 0;
}

.contact-page__details {
  padding-left: 3rem;
  border-left: 1px solid var(--border-subtle);
}

.contact-page__form form {
  display: grid;
  gap: 1.5rem;
}

.contact-page__form input,
.contact-page__form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.875rem 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  transition: border-color 150ms ease;
}

.contact-page__form input:focus,
.contact-page__form textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.contact-page__form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-page__form button {
  width: fit-content;
  padding: 0.875rem 1.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
  font: inherit;
  transition: background-color 150ms ease;
}

.contact-page__form button:hover {
  background: var(--primary-hover);
}

.contact-page__details h2 {
  margin-top: 0;
}

.contact-page__details p,
.contact-page__details address {
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-page__details address {
  font-style: normal;
}

@media (max-width: 768px) {
  .contact-page {
    padding: 6rem 0 3rem;
  }
  .contact-page__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-page__form,
  .contact-page__details {
    padding: 0;
  }
  .contact-page__details {
    padding-left: 0;
    padding-top: 2.5rem;
    border-left: 0;
    border-top: 1px solid var(--border-subtle);
  }
}
.software-hero {
  padding: 8rem 0 3rem;
}

.software-hero-title {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}

.software-hero-description {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.software-filters {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.software-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.software-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.software-filter {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.software-filter:hover {
  border-color: var(--primary);
}

.software-filter.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.software-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 220px;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 150ms ease;
}
.software-search svg {
  flex-shrink: 0;
}
.software-search:focus-within {
  border-bottom-color: var(--primary);
}

.software-search-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--textmain);
  font-size: 0.9375rem;
  outline: none;
}
.software-search-input::placeholder {
  color: var(--text-muted);
}

.software-grid-section {
  padding: 3rem 0 6rem;
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem 2rem;
}

.software-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  color: var(--textmain);
  text-decoration: none;
  transition: transform 150ms ease, opacity 150ms ease;
}

.software-card:hover {
  transform: translateY(-2px);
}

.software-card:hover .software-card-cta {
  color: var(--primary);
}

.software-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background: var(--surface);
  font-weight: 700;
}

.software-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.software-card-description {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
}

.software-card-cta {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 150ms ease;
}

.software-card.is-hidden {
  display: none;
}

.software-empty-state {
  margin: 2rem 0 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  text-align: center;
}

.software-empty-state.is-hidden {
  display: none;
}

@media (max-width: 640px) {
  .software-hero {
    padding: 6rem 0 2rem;
  }
  .software-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .software-search {
    min-width: 0;
  }
}
.error-page {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 8rem 0 5rem;
  text-align: center;
}

.error-page__header {
  margin: 0 auto 3rem;
  max-width: 700px;
}

.error-page__code {
  margin: 0 0 1rem;
  color: var(--text-muted-light);
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1;
}

.error-page__header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
}

.error-page__header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.error-page__content {
  display: flex;
  justify-content: center;
}

.error-page__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.error-page__link:hover, .error-page__link:focus-visible {
  background: var(--primary-hover);
}
.error-page__link:active {
  background: var(--primary-active);
}

@media (max-width: 640px) {
  .error-page {
    padding: 6rem 0 3rem;
  }
  .error-page__header {
    margin-bottom: 2rem;
  }
}
.legal-page {
  width: 100%;
  padding: 4rem 0 6rem;
}

.legal-page__container {
  width: min(100% - 2rem, 800px);
  margin: 0 auto;
}

.legal-page__header {
  margin-bottom: 3rem;
}

.legal-page__header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.legal-page__updated {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal-page__body {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.legal-page__body h2 {
  margin: 2.5rem 0 1rem;
  color: var(--text);
  font-size: 1.375rem;
  line-height: 1.3;
}
.legal-page__body h2:first-child {
  margin-top: 0;
}
.legal-page__body p {
  margin: 0 0 1rem;
}
.legal-page__body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.legal-page__body li {
  margin: 0 0 0.5rem;
}
.legal-page__body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.about-hero {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 8rem 0 3rem;
}

.about-hero-title {
  margin: 0.75rem 0 1rem;
  max-width: 40rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}

.about-hero-description {
  max-width: 42rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.about-mission {
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--accent-tint-2);
  border-bottom: 1px solid var(--border-subtle);
}

.about-mission-grid {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  padding-top: 3rem;
}

.about-mission-column h2 {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
}

.about-mission-column p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-who {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 4rem 0;
}

.about-who h2 {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
}

.about-who p {
  max-width: 46rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.about-cta {
  border-top: 1px solid var(--border-subtle);
}

.about-cta-inner {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 4rem 0 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about-cta-inner h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.about-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.about-cta-link:hover, .about-cta-link:focus-visible {
  background: var(--primary-hover);
}
.about-cta-link:active {
  background: var(--primary-active);
}

@media (max-width: 640px) {
  .about-hero {
    padding: 6rem 0 2rem;
  }
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.service-hero {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 8rem 0 3rem;
}

.service-hero-title {
  margin: 0.75rem 0 1rem;
  max-width: 40rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}

.service-hero-description {
  max-width: 42rem;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.service-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.service-hero-cta:hover, .service-hero-cta:focus-visible {
  background: var(--primary-hover);
}
.service-hero-cta:active {
  background: var(--primary-active);
}

.service-details {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.service-details-grid {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.service-detail h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.service-detail .editorial-numeral {
  display: block;
  margin-bottom: 1rem;
}

.service-detail p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.service-cta-inner {
  width: min(100% - 2rem, 1100px);
  margin: 0 auto;
  padding: 4rem 0 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.service-cta-inner h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.service-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--textmain);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.service-cta-link:hover, .service-cta-link:focus-visible {
  border-color: var(--primary);
  background: var(--surface);
}

@media (max-width: 768px) {
  .service-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 640px) {
  .service-hero {
    padding: 6rem 0 2rem;
  }
  .service-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}