@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --green: #57b642;
  --green-deep: #3f9a2e;
  --ink: #16211a;
  --body: #3a453d;
  --muted: #5c675f;
  --line: rgba(22, 33, 26, 0.1);
  --paper: #ffffff;
  --mist: #f4f7f3;
  --surface: #ffffff;
  --red: #d23b34;
  --orange: #d06e12;
  --shadow: 0 24px 50px rgba(22, 40, 18, 0.14), 0 2px 8px rgba(22, 40, 18, 0.06);
  --nav: 76px;
  --nav-bg: rgba(255, 255, 255, 0.78);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.92);
  --menu-bg: #ffffff;
  --social-hover: #e7f6e2;
  --cta-glow: rgba(87, 182, 66, 0.2);
  color-scheme: light;
}

html[data-theme="dark"] {
  --ink: #f2f2f2;
  --body: #c8c8c8;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #000000;
  --mist: #0a0a0a;
  --surface: #111111;
  --shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
  --nav-bg: rgba(0, 0, 0, 0.78);
  --nav-bg-scrolled: rgba(0, 0, 0, 0.92);
  --menu-bg: #111111;
  --social-hover: rgba(87, 182, 66, 0.18);
  --cta-glow: rgba(87, 182, 66, 0.16);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1, h2, .quote p, .stat {
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--green);
  color: #13210e;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--green);
  color: #13210e;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mark {
  font-style: italic;
  font-weight: 600;
  color: var(--green);
}

.brand-mark {
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
}

.hero-copy h1 .brand-mark {
  color: #57b642;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--green-deep);
  color: #13210e;
  transform: scale(1.06);
}

.btn:active {
  background: #348228;
}

.btn-small {
  height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--green);
  border-color: var(--green);
  color: #13210e;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--nav-bg);
  backdrop-filter: saturate(1.3) blur(16px);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--nav-bg-scrolled);
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--nav);
  gap: 16px;
}

.brand-start {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--ink);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--social-hover);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

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

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

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

.logo-dark {
  display: none;
}

html[data-theme="dark"] .logo-light {
  display: none;
}

html[data-theme="dark"] .logo-dark {
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.brand img {
  width: auto;
  height: 32px;
  border-radius: 0;
}

.brand .brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand-small img {
  height: 28px;
}

.brand-small .brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.nav-links {
  order: 2;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--body);
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).is-active::after {
  transform: scaleX(1);
}

.nav-links a:not(.btn).is-active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  order: 3;
  margin-left: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.hero {
  padding: 28px 0 72px;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 5.6vw, 5.35rem);
  max-width: 8.2em;
}

.lead {
  margin-top: 22px;
  max-width: 38rem;
  color: var(--body);
  font-size: 1.125rem;
  font-weight: 370;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cluster {
  position: relative;
  height: 620px;
}

.glow {
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(87, 182, 66, 0.28), rgba(87, 182, 66, 0) 68%);
  z-index: 0;
  pointer-events: none;
}

.device {
  position: relative;
  background: linear-gradient(165deg, #3c403e 0%, #1a1c1b 42%, #0e0f0e 100%);
  border-radius: 38px;
  padding: 8px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.device img {
  width: 100%;
  border-radius: 30px;
}

.device-front,
.device-left,
.device-right {
  position: absolute;
}

.device-front {
  z-index: 2;
  width: 244px;
  left: 42%;
  top: 0;
  transform: translateX(-50%);
}

.device-left {
  z-index: 1;
  width: 198px;
  left: 0;
  top: 72px;
  transform: rotate(-8deg);
}

.device-right {
  z-index: 1;
  width: 198px;
  right: -18px;
  top: 102px;
  transform: rotate(8deg);
}

.page-intro {
  padding: 88px 0 8px;
}

.page-intro h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.page-intro .lead {
  max-width: 36rem;
}

.page-intro + .story {
  padding-top: 64px;
}

.page-close {
  padding: 8px 0 120px;
}

.page-close h2 {
  margin: 6px 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.12;
  max-width: 18ch;
}

.page-close p {
  max-width: 40rem;
  color: var(--body);
}

.page-close p + p {
  margin-top: 12px;
}

.page-close a {
  color: #2f8a24;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-close a:hover {
  color: var(--ink);
}

.about-intro {
  padding: 96px 0 40px;
}

.about-intro h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 6vw, 5rem);
}

.about-intro .lead {
  margin-top: 18px;
  max-width: 36rem;
}

.about-idea {
  padding: 40px 0 20px;
}

.about-idea-inner {
  max-width: 40rem;
}

.about-idea h2 {
  margin: 6px 0 16px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.12;
  max-width: 18ch;
}

.about-purpose {
  padding: 48px 0 28px;
}

.about-purpose-head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.about-purpose-head h2 {
  margin: 6px 0 14px;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  max-width: 16ch;
}

.about-purpose-head p {
  color: var(--body);
  max-width: 38rem;
}

.about-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.about-pillars li {
  display: grid;
  gap: 18px;
  padding: 28px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.about-pillars li:last-child {
  border-right: 0;
  padding-right: 0;
}

.about-pillars li:not(:first-child) {
  padding-left: 28px;
}

.about-pillar-num {
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--green);
}

.about-pillars h3 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.about-pillars p {
  margin: 0;
  color: var(--body);
  font-size: 1rem;
}

.about-pillars .reveal:nth-child(1) { transition-delay: 0.05s; }
.about-pillars .reveal:nth-child(2) { transition-delay: 0.12s; }
.about-pillars .reveal:nth-child(3) { transition-delay: 0.19s; }

.about-prose {
  max-width: 40rem;
}

.about-prose p {
  color: var(--body);
}

.about-prose p + p {
  margin-top: 16px;
}

.about-founder {
  padding: 24px 0 120px;
}

.about-founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
  gap: 56px;
  align-items: center;
}

.about-founder h2 {
  margin: 6px 0 18px;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.05;
  max-width: 12ch;
}

.about-founder .actions {
  margin-top: 28px;
}

.founder-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 4 / 5;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.contact-stage {
  padding: 112px 0 88px;
}

.contact-stage-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 56px;
}

.contact-stage h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 7vw, 5.4rem);
}

.contact-stage .lead {
  margin-top: 20px;
  max-width: 34rem;
  font-size: 1.2rem;
}

.contact-mail-list {
  display: grid;
  gap: 14px;
}

.contact-mail {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 108px;
  padding: 26px 26px;
  border-radius: 24px;
  background: var(--green);
  color: #ffffff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-mail:hover {
  background: var(--green-deep);
  color: #13210e;
  transform: scale(1.06);
}

.contact-mail-alt {
  background: var(--mist);
  color: var(--ink);
  border: 1px solid var(--line);
}

html[data-theme="dark"] .contact-mail-alt {
  background: var(--surface);
  border-color: var(--line);
}

.contact-mail-alt:hover {
  background: var(--green);
  border-color: var(--green);
  color: #13210e;
}

.contact-mail-alt .contact-mail-icon {
  background: var(--surface);
}

html[data-theme="dark"] .contact-mail-alt .contact-mail-icon {
  background: #1c1c1c;
}

html[data-theme="dark"] .contact-mail-alt .contact-mail-cta {
  background: rgba(255, 255, 255, 0.08);
}

.contact-mail-alt:hover .contact-mail-icon {
  background: rgba(19, 33, 14, 0.12);
}

.contact-mail-alt .contact-mail-cta {
  background: rgba(22, 33, 26, 0.08);
}

.contact-mail-alt:hover .contact-mail-cta {
  background: rgba(19, 33, 14, 0.12);
}

.contact-mail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(19, 33, 14, 0.1);
}

.contact-mail-icon svg {
  width: 26px;
  height: 26px;
}

.contact-mail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-mail-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.contact-mail-address {
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.contact-mail-cta {
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(19, 33, 14, 0.12);
}

.contact-socials {
  padding: 72px 0 120px;
}

.contact-socials-head {
  max-width: 36rem;
  margin-bottom: 28px;
}

.contact-socials-head h2 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.12;
}

.contact-socials-head p {
  color: var(--body);
}

.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.channel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--mist);
  border: 1px solid transparent;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

html[data-theme="dark"] .channel {
  background: var(--surface);
  border-color: var(--line);
}

.channel:hover {
  background: var(--green);
  border-color: var(--green);
  color: #13210e;
  transform: scale(1.06);
}

.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

html[data-theme="dark"] .channel-icon {
  background: #1c1c1c;
}

.channel:hover .channel-icon {
  background: rgba(19, 33, 14, 0.12);
  color: #13210e;
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.channel-name {
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.channel-handle {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.channel:hover .channel-handle {
  color: rgba(19, 33, 14, 0.72);
}

.channel-go {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.45;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.channel:hover .channel-go {
  opacity: 1;
  transform: translateX(3px);
}

.channel-list .reveal:nth-child(1) { transition-delay: 0.05s; }
.channel-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.channel-list .reveal:nth-child(3) { transition-delay: 0.15s; }
.channel-list .reveal:nth-child(4) { transition-delay: 0.2s; }

@media (max-width: 720px) {
  .contact-stage {
    padding: 72px 0 48px;
  }

  .contact-stage-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: stretch;
  }

  .contact-mail {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .contact-mail-cta {
    grid-column: 2;
    justify-self: start;
  }

  .contact-mail-address {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .channel-list {
    grid-template-columns: 1fr;
  }

  .contact-socials {
    padding-bottom: 88px;
  }

  .about-intro {
    padding: 72px 0 28px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-pillars li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .about-pillars li:not(:first-child) {
    padding-left: 0;
  }

  .about-pillars li:last-child {
    border-bottom: 0;
  }

  .about-founder {
    padding-bottom: 88px;
  }

  .about-founder-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .founder-photo {
    order: -1;
    max-width: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .channel-list .reveal,
  .about-pillars .reveal {
    transition-delay: 0s;
  }

  .channel:hover .channel-go {
    transform: none;
  }
}

.problem {
  padding: 36px 0 28px;
}

.problem h2 {
  max-width: 14ch;
  margin-bottom: 36px;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.problem-grid article {
  padding: 28px 28px 4px 0;
}

.problem-grid article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.stat {
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 2.8vw, 3.15rem);
  line-height: 0.95;
}

.stat-label {
  max-width: 18ch;
  color: var(--body);
  font-size: 0.98rem;
  line-height: 1.45;
}

.sources {
  margin-top: 28px;
  color: var(--muted);
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.story {
  padding: 108px 0;
}

.band {
  background: var(--mist);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
}

.story-flip figure {
  order: -1;
}

.story-copy h2 {
  font-size: clamp(2.5rem, 4vw, 3.7rem);
  max-width: 12ch;
}

.story-copy > p:not(.kicker) {
  margin-top: 18px;
  max-width: 38rem;
  color: var(--body);
}

.points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.points li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.story figure,
.night figure {
  margin: 0;
}

.story .device,
.night .device {
  width: min(300px, 100%);
  margin-inline: auto;
}

figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.quote {
  padding: 28px 0 96px;
}

.quote p {
  font-size: clamp(2.6rem, 5.4vw, 4.5rem);
  text-align: center;
  max-width: 14ch;
  margin-inline: auto;
}

.night {
  background: #101613;
  color: #f3f6f3;
  padding: 108px 0;
}

.night .kicker,
.night figcaption {
  color: #aeb8b0;
}

.night .story-copy > p {
  color: #d5ddd6;
}

.night h2 {
  font-size: clamp(2.5rem, 4vw, 3.7rem);
  max-width: 12ch;
}

.night em {
  font-style: italic;
  font-weight: 600;
  color: var(--green);
  background: none;
}

.night .device {
  background: linear-gradient(165deg, #5a5e5c, #222423 40%, #121312);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.how {
  padding: 108px 0 40px;
}

.how h2 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  margin-bottom: 36px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.steps li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps {
  counter-reset: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #2f8a24;
  letter-spacing: -0.03em;
}

.steps h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.steps p {
  color: var(--body);
  max-width: 32ch;
}

.faq-page-intro {
  padding: 96px 0 28px;
}

.faq-page-intro h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 6vw, 5rem);
}

.faq-page-intro .lead {
  margin-top: 18px;
  max-width: 40rem;
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 28px;
  max-width: 44rem;
}

.faq-toc a {
  color: var(--body);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.faq-toc a:hover,
.faq-toc a:focus-visible {
  color: var(--green-deep);
  border-bottom-color: var(--green);
}

.faq-page-section {
  padding: 48px 0 36px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.faq-page-section.faq-page-band {
  background: var(--mist);
}

.faq-page-section .faq-list {
  max-width: 760px;
}

.faq-page-section .faq-item p {
  max-width: 62ch;
}

.faq {
  padding: 88px 0 40px;
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.faq-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.faq-head > p:not(.kicker) {
  margin-top: 12px;
  color: var(--body);
  max-width: 36rem;
}

.faq-cta-actions {
  margin-top: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--green);
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--body);
  max-width: 54ch;
  line-height: 1.6;
}

.faq-item a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta {
  padding: 88px 0 108px;
  background:
    radial-gradient(ellipse at 50% 0%, var(--cta-glow), transparent 58%),
    var(--paper);
}

.cta-inner {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.cta-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 22px;
}

.cta-logo {
  width: auto;
  height: 44px;
  border-radius: 0;
  margin: 0;
}

.cta-brand .brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  flex-shrink: 0;
}

.cta h2 {
  font-size: clamp(3rem, 6vw, 4.8rem);
}

.cta-inner > p:not(.kicker) {
  margin: 18px auto 28px;
  max-width: 38rem;
  color: var(--body);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 36px;
}

.footer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-bar > .brand {
  order: 1;
}

.footer-bar > .social {
  order: 2;
}

.footer-bar > .footer-links {
  order: 3;
}

.footer-bar > .legal {
  order: 4;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
}

.social a:hover {
  color: var(--ink);
  background: var(--social-hover);
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.footer-links a,
.footer-links button,
.legal,
.brand-small span {
  white-space: nowrap;
}

.footer-links a,
.footer-links button,
.legal {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--ink);
}

.footer-links button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.legal {
  margin: 0;
}

.legal-page {
  padding: 72px 0 120px;
}

.legal-page h1 {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
}

.legal-updated {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-page h2 {
  margin: 40px 0 12px;
  max-width: 40rem;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.15;
}

.legal-page h3 {
  margin: 22px 0 8px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  max-width: 40rem;
  color: var(--body);
}

.legal-page p + p,
.legal-page ul + p,
.legal-page p + ul {
  margin-top: 12px;
}

.legal-page ul {
  margin: 12px 0 0;
  padding-left: 1.15rem;
}

.legal-page li + li {
  margin-top: 6px;
}

.legal-page a {
  color: #2f8a24;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: var(--ink);
}

.legal-address {
  line-height: 1.65;
}

section[id] {
  scroll-margin-top: var(--nav);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .device-left,
  .device-right {
    display: none;
  }

  .cluster {
    height: auto;
    display: flex;
    justify-content: center;
    padding: 8px 0 12px;
  }

  .device-front {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(280px, 72vw);
  }
}

@media (max-width: 860px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    order: 4;
    margin-left: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    background: var(--menu-bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 12px 12px;
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-links .btn {
    margin-top: 6px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-flip figure {
    order: 0;
  }

  .hero-copy h1,
  .story-copy h2,
  .night h2,
  .quote p,
  .cta h2 {
    max-width: none;
  }

  .problem-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .problem-grid article:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .problem-grid article:nth-child(3),
  .problem-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }

  .story,
  .night,
  .how {
    padding: 72px 0;
  }

  .quote {
    padding: 12px 0 64px;
  }

}

@media (max-width: 520px) {
  .footer-links {
    gap: 12px;
  }

  .footer-links a,
  .footer-links button,
  .legal {
    font-size: 0.84rem;
  }
}

@media (max-width: 560px) {
  .problem-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .problem-grid article + article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }

  .actions .btn {
    width: 100%;
  }
}

.blog-intro {
  padding: 96px 0 32px;
}

.blog-intro h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5rem);
}

.blog-intro .lead {
  margin-top: 18px;
  max-width: 34rem;
}

.blog-list {
  padding: 24px 0 120px;
}

.blog-empty {
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.blog-posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 40rem;
}

.blog-post {
  display: grid;
  gap: 10px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: color 0.2s ease;
}

.blog-posts li:last-child .blog-post {
  border-bottom: 1px solid var(--line);
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-post h3 {
  font-family: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.blog-post > p:last-child {
  color: var(--body);
  max-width: 34rem;
}

.blog-post:hover h3 .mark {
  color: var(--green-deep);
}

html[data-theme="dark"] .blog-post:hover h3 .mark {
  color: var(--green);
}

.note-hero {
  padding: 96px 0 28px;
}

.note-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
}

.note-hero .kicker a {
  color: inherit;
}

.note-hero .kicker a:hover {
  color: var(--green);
}

.note-hero .lead {
  margin-top: 18px;
  max-width: 36rem;
  color: var(--body);
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.note-author a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.note-author a:hover {
  color: var(--green);
}

.note-body {
  padding: 12px 0 120px;
  display: grid;
  gap: 48px;
  max-width: 720px;
}

.note-prose {
  display: grid;
  gap: 18px;
}

.note-prose p,
.note-prose li {
  color: var(--body);
  font-size: 1.08rem;
  line-height: 1.7;
}

.note-prose h2 {
  margin-top: 28px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  max-width: 18ch;
}

.note-prose ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
}

.note-prose a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="dark"] .note-prose a {
  color: var(--green);
}

.note-prose a:hover {
  color: var(--ink);
}

.note-cta {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.note-cta h2 {
  max-width: 16ch;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.note-cta > p:not(.kicker) {
  margin-top: 14px;
  max-width: 34rem;
  color: var(--body);
}

.note-cta .actions {
  margin-top: 22px;
}

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

@media (max-width: 720px) {
  .faq-page-intro {
    padding: 72px 0 20px;
  }

  .faq-page-section {
    padding: 36px 0 28px;
  }

  .faq-toc {
    gap: 8px 12px;
    margin-top: 22px;
  }

  .blog-intro {
    padding: 72px 0 24px;
  }

  .blog-list {
    padding: 16px 0 88px;
  }

  .note-hero {
    padding: 72px 0 20px;
  }

  .note-body {
    padding: 8px 0 88px;
    gap: 36px;
  }

  .note-prose h2 {
    margin-top: 18px;
  }
}

.cookie-consent {
  position: relative;
  z-index: 90;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 92;
  display: grid;
  gap: 18px;
  width: min(720px, calc(100% - 32px));
  margin-inline: auto;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden],
.cookie-panel[hidden],
.cookie-overlay[hidden] {
  display: none !important;
}

.cookie-kicker {
  margin: 0 0 8px;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="dark"] .cookie-kicker {
  color: var(--green);
}

.cookie-banner h2,
.cookie-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
}

.cookie-banner-copy p,
.cookie-panel-lead {
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.55;
}

.cookie-banner-copy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions,
.cookie-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 93;
  background: rgba(10, 16, 12, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

html[data-theme="dark"] .cookie-overlay {
  background: rgba(0, 0, 0, 0.62);
}

.cookie-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 94;
  width: min(520px, calc(100% - 32px));
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.cookie-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.cookie-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
}

.cookie-close:hover {
  background: var(--mist);
  color: var(--ink);
}

.cookie-panel-lead {
  margin: 0 0 18px;
}

.cookie-options {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.cookie-options li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.cookie-options li:last-child {
  border-bottom: 1px solid var(--line);
}

.cookie-option-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cookie-option-copy strong {
  font-weight: 650;
  letter-spacing: -0.02em;
}

.cookie-option-copy span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.cookie-switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: inherit;
}

.cookie-switch-ui {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(22, 33, 26, 0.16);
  transition: background 0.2s ease;
}

html[data-theme="dark"] .cookie-switch-ui {
  background: rgba(255, 255, 255, 0.16);
}

.cookie-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch-ui {
  background: var(--green);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
  transform: translateX(20px);
}

.cookie-switch input:disabled {
  cursor: not-allowed;
}

.cookie-switch input:disabled + .cookie-switch-ui {
  opacity: 0.72;
}

.cookie-switch input:focus-visible + .cookie-switch-ui {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

body.cookie-panel-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .cookie-banner-actions,
  .cookie-panel-actions {
    flex-direction: column;
  }

  .cookie-banner-actions .btn,
  .cookie-panel-actions .btn {
    width: 100%;
  }

  .cookie-panel {
    top: auto;
    bottom: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    transform: none;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .cookie-switch-ui,
  .cookie-switch-ui::after {
    transition: none;
  }
}
