:root {
  color-scheme: light;
  --background: #f7f7f5;
  --surface: #ffffff;
  --surface-muted: #eeeeeb;
  --text: #111315;
  --muted: #5d6266;
  --border: #deded9;
  --accent: #9dc927;
  --accent-dark: #6f9417;
  --link: #111315;
  --focus: #9dc927;
  --logo-plate: #ffffff;
  --logo-line: rgb(17 19 21 / 12%);
  --logo-glow: rgb(157 201 39 / 18%);
  --button-bg: #111315;
  --button-text: #ffffff;
  --button-hover-bg: #9dc927;
  --button-hover-text: #111315;
  --shadow: 0 18px 50px rgb(17 19 21 / 7%);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --background: #0f1010;
  --surface: #171817;
  --surface-muted: #20221f;
  --text: #f4f4f1;
  --muted: #b5b8b0;
  --border: #31332f;
  --accent: #9dc927;
  --accent-dark: #b7df42;
  --link: #f4f4f1;
  --focus: #9dc927;
  --logo-plate: #ffffff;
  --logo-line: rgb(244 244 241 / 18%);
  --logo-glow: rgb(157 201 39 / 22%);
  --button-bg: #9dc927;
  --button-text: #111315;
  --button-hover-bg: #f4f4f1;
  --button-hover-text: #111315;
  --shadow: 0 18px 50px rgb(0 0 0 / 32%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --background: #0f1010;
    --surface: #171817;
    --surface-muted: #20221f;
    --text: #f4f4f1;
    --muted: #b5b8b0;
    --border: #31332f;
    --accent: #9dc927;
    --accent-dark: #b7df42;
    --link: #f4f4f1;
    --focus: #9dc927;
    --logo-plate: #ffffff;
    --logo-line: rgb(244 244 241 / 18%);
    --logo-glow: rgb(157 201 39 / 22%);
    --button-bg: #9dc927;
    --button-text: #111315;
    --button-hover-bg: #f4f4f1;
    --button-hover-text: #111315;
    --shadow: 0 18px 50px rgb(0 0 0 / 32%);
  }
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
}

html {
  background: var(--background);
  color: var(--text);
  font-size: 16px;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  line-height: 1.6;
}

body,
button,
input,
textarea {
  font: inherit;
}

a {
  color: var(--link);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
}

h2 {
  margin-bottom: 0.8rem;
  font-size: 1.7rem;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

.site-header,
.site-main,
.site-footer {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  padding: 1.05rem 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.site-logo-mark {
  position: relative;
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  overflow: hidden;
  background: var(--logo-plate);
  border: 1px solid var(--logo-line);
  border-radius: 50%;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--accent) 9%, transparent),
    0 10px 28px rgb(17 19 21 / 10%);
}

.site-logo-mark::after {
  position: absolute;
  inset: 0.18rem;
  content: '';
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: inherit;
}

.site-logo img {
  position: relative;
  z-index: 1;
  width: 1.95rem;
  height: 1.95rem;
  object-fit: contain;
}

.site-logo span {
  line-height: 1;
}

.site-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 0.85rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.site-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  min-height: 1.85rem;
  padding: 0.18rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  min-height: 1.45rem;
  padding: 0 0.45rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
}

.language-switcher a:hover {
  color: var(--text);
}

.language-switcher a[aria-current='true'] {
  color: var(--button-hover-text);
  background: var(--accent);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 1.85rem;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 3.25rem;
  height: 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(17 19 21 / 3%);
}

.theme-toggle-track::before,
.theme-toggle-track::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1;
}

.theme-toggle-track::before {
  left: 0.48rem;
  content: '☀';
}

.theme-toggle-track::after {
  right: 0.5rem;
  content: '☾';
}

.theme-toggle-thumb {
  position: absolute;
  top: 0.23rem;
  left: 0.23rem;
  width: 1.35rem;
  height: 1.35rem;
  background: var(--text);
  border-radius: 50%;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

:root[data-theme='dark'] .theme-toggle-thumb {
  background: var(--accent);
  transform: translateX(1.38rem);
}

.site-main {
  padding: 2rem 0 4rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-logo-panel {
  position: relative;
  display: flex;
  justify-content: center;
}

.brand-mark-large {
  position: relative;
  isolation: isolate;
  width: min(100%, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.brand-mark-large::before {
  position: absolute;
  inset: 8%;
  z-index: -2;
  content: '';
  background: radial-gradient(circle, var(--logo-plate) 0 58%, transparent 59%);
  border: 1px solid var(--logo-line);
  border-radius: 50%;
  box-shadow:
    0 0 42px 20px var(--logo-glow),
    0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent),
    0 0 0 18px color-mix(in srgb, var(--accent) 4%, transparent),
    0 24px 70px rgb(17 19 21 / 12%);
}

.brand-mark-large::after {
  position: absolute;
  inset: 11%;
  z-index: -1;
  content: '';
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 18px 48px rgb(17 19 21 / 10%);
}

.brand-mark-large img {
  width: min(88%, 380px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgb(17 19 21 / 18%));
}

.hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.12rem;
}

.eyebrow,
.card-label {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  padding: 3rem 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.card {
  display: block;
  min-height: 13rem;
  padding: 1.3rem;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card:hover {
  color: var(--text);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-label {
  display: block;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  color: var(--button-text);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  background: var(--button-bg);
  border: 1px solid var(--button-bg);
  border-radius: 8px;
}

.button:hover {
  color: var(--button-hover-text);
  background: var(--button-hover-bg);
  border-color: var(--button-hover-bg);
}

.button.secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}

.button.secondary:hover {
  color: var(--text);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.details {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.details div {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.details dd {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-weight: 650;
}

.content {
  max-width: 780px;
  padding: 4rem 0;
}

.content h1 {
  max-width: 16ch;
}

.content h2 {
  margin-top: 2rem;
}

.content p,
.content li {
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    position: relative;
  }

  .site-nav {
    justify-content: flex-start;
    padding-right: 8rem;
  }

  .site-actions {
    position: absolute;
    top: 1rem;
    right: 0;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-logo-panel {
    justify-content: flex-start;
  }

  .brand-mark-large {
    width: min(100%, 320px);
  }

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

  .button {
    width: 100%;
  }
}
