:root {
  color-scheme: dark;
  --background: #080d0a;
  --surface: #101914;
  --surface-green: #14251c;
  --border: #294237;
  --text: #f1f7f2;
  --muted: #adc1b4;
  --accent: #7ad9a3;
  --accent-hover: #a0e9be;
  --on-accent: #0b2116;
  --radius: 16px;
  --radius-large: 24px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

:where(a, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}

.wrap {
  max-width: 1168px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 28px);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 750;
  white-space: nowrap;
}

.logo i {
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .75rem;
  font-style: normal;
  letter-spacing: .04em;
}

.logo span { font-size: 1.08rem; }
.logo b { color: var(--accent); }

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav a svg { width: 17px; height: 17px; }
.nav a:hover { background: var(--surface); color: var(--text); }
.nav a[aria-current="page"] { background: var(--surface-green); color: var(--accent); }

main { padding: clamp(18px, 3vw, 36px) 0 60px; }

.hero,
.ph {
  display: grid;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
}

.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas: "copy photo" "stats photo";
  gap: 24px clamp(22px, 3.5vw, 42px);
  margin: 0 0 28px;
  padding: clamp(18px, 3.2vw, 40px);
  background: radial-gradient(ellipse at top right, #1b422e, transparent 70%), var(--surface);
}

.hero-txt { grid-area: copy; align-self: end; }

.chip {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-green);
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
}

h1, h2, h3 { line-height: 1.18; }

h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4.6vw, 3.15rem);
  font-weight: 780;
  line-height: 1.12;
  letter-spacing: -.04em;
  text-wrap: balance;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.28rem, 2.05vw, 1.62rem);
  letter-spacing: -.024em;
}

h3 {
  margin: 0 0 7px;
  font-size: 1.05rem;
  letter-spacing: -.012em;
}

.lead {
  max-width: 60ch;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  transition: background-color .18s, border-color .18s, color .18s;
}

.b1 { background: var(--accent); color: var(--on-accent); }
.b1:hover { background: var(--accent-hover); color: var(--on-accent); }

.hero .b1::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-5-5m5 5l5-5M4 20h16'/%3E%3C/svg%3E");
}

.b2 {
  border-color: #507563;
  background: var(--surface-green);
  color: var(--text);
}

.b2:hover { border-color: var(--accent); color: var(--accent-hover); }

.stats {
  display: grid;
  grid-area: stats;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
  gap: 14px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.stats li { display: grid; align-content: start; gap: 5px; }
.stats b { color: var(--accent); font-size: 1.65rem; line-height: 1; }
.stats span { color: var(--muted); font-size: .8rem; line-height: 1.35; }

.hero-photo,
.page-photo,
.tile-photo,
.nf-photo {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface-green);
  object-fit: cover;
}

.hero-photo {
  grid-area: photo;
  aspect-ratio: 6 / 5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ph {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(18px, 3vw, 32px);
  margin: 0 0 26px;
  padding: clamp(18px, 2.8vw, 32px);
  background: linear-gradient(130deg, var(--surface-green), var(--surface) 75%);
}

.ph h1 { font-size: clamp(1.85rem, 4.2vw, 3.1rem); }
.ph .lead { margin-bottom: 0; }

.page-photo,
.tile-photo,
.nf-photo { aspect-ratio: 16 / 9; }

.page-photo,
.nf-photo {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .82rem;
}

.crumb a { color: var(--accent); }
.crumb b { font-weight: 600; }

.sec { margin: 0 0 40px; }
main .sec:last-child { margin-bottom: 0; }

.answer {
  margin: 0 0 36px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface-green);
}

.answer h2 { margin-bottom: 7px; font-size: 1.15rem; }
.answer p { margin: 0; color: var(--muted); }

.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}

.tile:hover { border-color: var(--accent); background: var(--surface-green); color: var(--text); }
.tile-photo { border-bottom: 1px solid var(--border); }

.tile-body {
  position: relative;
  padding: 16px 36px 18px 16px;
}

.tile-body::after {
  position: absolute;
  inset: 20px 18px auto auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  content: "";
  transform: rotate(45deg);
}

.tile p { margin: 0; color: var(--muted); font-size: .91rem; }

.tbl-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.tbl {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.tbl th,
.tbl td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: .92rem;
}

.tbl th { background: var(--surface-green); color: var(--accent); }
.tbl td { color: var(--muted); }
.tbl td:first-child { color: var(--text); font-weight: 650; }
.tbl tr:last-child td { border-bottom: 0; }

.prose {
  max-width: 76ch;
  overflow-wrap: anywhere;
}

.prose p, .prose li { color: var(--muted); }
.prose b { color: var(--text); }
.prose ol, .prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }

.warn {
  padding: 18px 20px;
  border: 1px solid #765438;
  border-radius: var(--radius);
  background: #292117;
  color: #f3dfce;
}

.warn h2 { color: #ffd2a6; }

.steps, .checks, .feats {
  display: grid;
  gap: 14px;
}

.steps, .checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps { counter-reset: step; }

.steps li,
.checks li,
.feat {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps li { padding: 18px 18px 18px 66px; counter-increment: step; }
.checks li { padding: 60px 18px 18px; }

.steps li::before,
.checks li::before {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--surface-green);
  color: var(--accent);
  font-weight: 750;
}

.steps li::before { content: counter(step); }

.checks li::before {
  content: "";
  background: var(--surface-green) center / 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237ad9a3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}

.steps p, .checks p, .feat p { margin: 0; color: var(--muted); font-size: .95rem; }

.checks, .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feat { padding: 18px; }
.feat b { display: block; margin-bottom: 8px; color: var(--accent); font-size: .83rem; }

.faq details,
.probs details {
  margin-bottom: 9px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.faq details[open],
.probs details[open] { border-color: #527a63; background: var(--surface-green); }

.faq summary,
.probs summary {
  position: relative;
  padding: 14px 44px 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
}

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

.faq summary::after,
.probs summary::after {
  position: absolute;
  inset: 20px 18px auto auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  content: "";
  transform: rotate(45deg);
}

.faq details[open] summary::after,
.probs details[open] summary::after { transform: translateY(3px) rotate(225deg); }

.faq p, .probs p { margin: 0; padding: 0 16px 16px; color: var(--muted); }

.foot {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: .89rem; }
.foot nav a:hover { color: var(--accent-hover); text-decoration: underline; }
.note { max-width: 82ch; margin: 0 0 8px; color: var(--muted); font-size: .85rem; }
.copy { margin: 0; color: var(--muted); font-size: .8rem; }

.nf {
  display: grid;
  grid-template-columns: minmax(0, 30rem);
  place-content: center;
  justify-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 24px 16px;
  text-align: center;
}

.nf-photo { margin-bottom: 20px; }
.nf .cta { justify-content: center; }

@media (max-width: 960px) {
  .tiles, .checks, .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 72px; scroll-padding-bottom: 84px; }
  .top-in { min-height: 60px; }

  .nav {
    position: fixed;
    inset: auto 8px calc(8px + env(safe-area-inset-bottom)) 8px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 4px 20px #0008;
  }

  .nav a {
    flex-direction: column;
    gap: 4px;
    padding: 5px 2px;
    font-size: .68rem;
    line-height: 1.2;
  }

  .nav a:hover { background: var(--surface-green); }
  .foot { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 700px) {
  .hero, .ph { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero { grid-template-areas: "copy" "photo" "stats"; }
  .hero-photo { max-height: 340px; object-position: center 35%; }
  .page-photo { max-height: 280px; }
}

@media (max-width: 560px) {
  .tiles, .checks, .feats { grid-template-columns: minmax(0, 1fr); }
  .tile-photo { max-height: 216px; }
  .hero .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .tile { transition: none; }
}
