:root {
  color-scheme: dark;
  --bg-primary: #000000;
  --bg-default: #050706;
  --bg-elevated: #0c100e;
  --bg-surface: #121614;
  --bg-surface-alt: #1c2420;
  --text-primary: #f5f5f5;
  --text-secondary: #a2aaa5;
  --text-muted: #7b8b83;
  --brand: #64ffda;
  --brand-soft: rgba(100, 255, 218, 0.16);
  --feed: #69f0ae;
  --humidity: #448aff;
  --shed: #b388ff;
  --warning: #ffd740;
  --danger: #ff453a;
  --environment: #4dd0e1;
  --border: rgba(216, 230, 222, 0.16);
  --border-strong: rgba(100, 255, 218, 0.36);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(100, 255, 218, 0.045), transparent 460px),
    linear-gradient(90deg, rgba(216, 230, 222, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(216, 230, 222, 0.025) 1px, transparent 1px),
    var(--bg-default);
  background-size: auto, 96px 96px, 96px 96px, auto;
  color: var(--text-primary);
  font-family:
    Figtree,
    "Noto Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  min-width: 320px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--brand);
  border-radius: var(--radius-s);
  background: var(--bg-primary);
  color: var(--brand);
  padding: 10px 12px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--container));
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 0;
  backdrop-filter: blur(18px);
}

.site-header::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 72px;
  z-index: -1;
  background: rgba(5, 7, 6, 0.78);
  border-bottom: 1px solid rgba(216, 230, 222, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 16px;
  font-weight: 700;
}

.brand small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 44px;
  border-radius: var(--radius-s);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(216, 230, 222, 0.08);
  color: var(--text-primary);
  outline: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  background: rgba(216, 230, 222, 0.04);
  padding: 3px;
}

.language-switch a {
  min-height: 36px;
  border-radius: 6px;
  color: var(--text-muted);
  padding: 0 10px;
}

.language-switch a[aria-current="page"] {
  background: var(--brand);
  color: var(--bg-primary);
  font-weight: 800;
}

.language-switch a[aria-current="page"]:hover,
.language-switch a[aria-current="page"]:focus-visible {
  background: var(--brand);
  color: var(--bg-primary);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--bg-surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text-primary);
  border-radius: 2px;
}

.section {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 64px;
  min-height: min(760px, calc(100vh - 144px));
  padding-top: 56px;
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 760px;
  font-size: 72px;
  font-weight: 750;
}

h1 span {
  display: block;
}

h2 {
  font-size: 44px;
  font-weight: 720;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

.hero-lede,
.section-heading p,
.align-left p,
.report-card p,
.contact-panel p,
.site-footer p {
  color: var(--text-secondary);
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 18px;
}

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

.button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: var(--radius-m);
  padding: 0 18px;
  text-decoration: none;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.button-primary {
  background: var(--brand);
  color: var(--bg-primary);
  border: 1px solid var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #9be7d0;
  border-color: #9be7d0;
  outline: none;
}

.button-secondary {
  background: rgba(216, 230, 222, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(216, 230, 222, 0.1);
  border-color: var(--border-strong);
  outline: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  color: var(--text-secondary);
  padding: 8px 10px;
  font-size: 13px;
}

.hero-visual {
  justify-self: center;
  width: min(100%, 430px);
  max-width: 100%;
  min-width: 0;
}

.phone-frame {
  border: 1px solid rgba(216, 230, 222, 0.18);
  border-radius: 34px;
  background: linear-gradient(180deg, #151b18, #050706);
  box-shadow: var(--shadow);
  padding: 14px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px 12px;
  color: var(--text-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.app-screen {
  overflow: hidden;
  border: 1px solid rgba(216, 230, 222, 0.14);
  border-radius: 24px;
  background: var(--bg-default);
  padding: 18px;
}

.screen-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.screen-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.screen-head h2 {
  margin-top: 6px;
  font-size: 24px;
}

.screen-head img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.progress-card,
.task-item,
.timeline-panel,
.report-card,
.contact-panel,
.feature-card,
.principle-grid article {
  border: 1px solid var(--border);
  background: rgba(18, 22, 20, 0.86);
}

.progress-card {
  border-radius: var(--radius-l);
  margin-top: 20px;
  padding: 16px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 13px;
}

.progress-top strong {
  color: var(--brand);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bg-surface-alt);
  margin-top: 12px;
}

.progress-bar span {
  display: block;
  width: 62%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--environment));
}

.task-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.task-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius-m);
  padding: 12px;
}

.task-item img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  background: rgba(216, 230, 222, 0.06);
}

.task-item strong,
.task-item span {
  display: block;
}

.task-item strong {
  font-size: 14px;
}

.task-item span {
  color: var(--text-muted);
  font-size: 12px;
}

.task-item b {
  border-radius: var(--radius-s);
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
}

.task-item.overdue b {
  color: #151100;
  background: var(--warning);
}

.task-item.done b {
  color: #00140d;
  background: var(--feed);
}

.calendar-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-top: 16px;
}

.calendar-strip span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  color: var(--text-muted);
  font-size: 12px;
}

.calendar-strip .today {
  color: var(--bg-primary);
  border-color: var(--brand);
  background: var(--brand);
  font-weight: 800;
}

.visual-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 10px 0;
  color: var(--text-muted);
  font-size: 13px;
}

.visual-note span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  margin-top: 7px;
  flex: 0 0 auto;
}

.visual-note p {
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 17px;
}

.species-band {
  padding-top: 40px;
}

.species-shell {
  position: relative;
  width: min(100%, 940px);
  margin: 0 auto;
}

.species-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: clamp(28px, 12vw, 180px);
  scroll-snap-type: x mandatory;
  padding: 8px clamp(28px, 12vw, 180px) 20px;
  scrollbar-width: none;
}

.species-grid::-webkit-scrollbar {
  display: none;
}

.species-grid figure {
  flex: 0 0 clamp(238px, 42vw, 340px);
  scroll-snap-align: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(18, 22, 20, 0.96), rgba(5, 7, 6, 0.98));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
}

.species-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.species-grid figcaption {
  color: var(--text-primary);
  padding: 14px 16px 16px;
  font-size: 15px;
  font-weight: 700;
}

.species-control {
  cursor: pointer;
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 7, 6, 0.86);
  color: var(--text-primary);
  transform: translateY(-50%);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.species-control:hover,
.species-control:focus-visible {
  background: rgba(100, 255, 218, 0.12);
  border-color: var(--border-strong);
  color: var(--brand);
  outline: none;
}

.species-control span {
  font-size: 34px;
  line-height: 1;
  transform: translateY(-2px);
}

.species-prev {
  left: 10px;
}

.species-next {
  right: 10px;
}

.species-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.species-dots button {
  cursor: pointer;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(216, 230, 222, 0.3);
  padding: 0;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    width 180ms ease;
}

.species-dots button.is-active {
  width: 24px;
  background: var(--brand);
}

.species-dots button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

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

.feature-card,
.principle-grid article {
  border-radius: var(--radius-l);
  padding: 22px;
}

.feature-card img,
.principle-grid img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: rgba(216, 230, 222, 0.06);
}

.feature-card h3,
.principle-grid strong {
  display: block;
  margin-top: 18px;
}

.feature-card p,
.principle-grid p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  align-items: center;
  gap: 54px;
}

.inline-actions {
  margin-top: 22px;
}

.text-link {
  color: var(--brand);
  font-weight: 700;
  text-underline-offset: 5px;
}

.text-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

.timeline-panel {
  display: grid;
  gap: 12px;
  border-radius: var(--radius-l);
  padding: 18px;
}

.timeline-panel article {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid rgba(216, 230, 222, 0.1);
  padding: 0 0 14px;
}

.timeline-panel article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 8px;
}

.timeline-dot.feed {
  background: var(--feed);
}

.timeline-dot.humidity {
  background: var(--humidity);
}

.timeline-dot.shed {
  background: var(--shed);
}

.timeline-panel strong,
.timeline-panel p,
.timeline-panel time {
  display: block;
}

.timeline-panel p {
  margin: 4px 0 0;
  color: var(--text-secondary);
}

.timeline-panel time {
  color: var(--text-muted);
  font-size: 13px;
  white-space: nowrap;
}

.report-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: center;
  border-radius: 24px;
  padding: 34px;
}

.report-card p {
  margin: 18px 0 0;
}

.report-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: #f5f5f5;
  padding: 22px;
  min-height: 220px;
}

.pro-section {
  padding-top: 32px;
}

.pro-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pro-summary,
.pro-feature-list article {
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: rgba(18, 22, 20, 0.86);
}

.pro-summary {
  display: grid;
  align-content: start;
  padding: 28px;
}

.pro-summary p {
  margin: 18px 0 0;
  color: var(--text-secondary);
}

.pro-summary .button {
  margin-top: 24px;
  width: 100%;
}

.pro-price {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-m);
  background: var(--brand-soft);
  padding: 16px;
}

.pro-price strong {
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pro-price span {
  color: var(--text-secondary);
  font-size: 14px;
}

.pro-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pro-feature-list article {
  padding: 18px;
}

.pro-feature-list strong {
  display: block;
  color: var(--text-primary);
}

.pro-feature-list p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.report-line {
  height: 12px;
  border-radius: 999px;
  background: #c8d1cc;
  margin-bottom: 12px;
}

.report-line.strong {
  width: 72%;
  background: #18201c;
}

.report-line.short {
  width: 48%;
}

.mini-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 10px;
  height: 110px;
  margin-top: 28px;
}

.mini-chart span {
  display: block;
  border-radius: 8px 8px 2px 2px;
  background: #4dd0e1;
}

.mini-chart span:nth-child(1) {
  height: 46%;
}

.mini-chart span:nth-child(2) {
  height: 70%;
  background: #64ffda;
}

.mini-chart span:nth-child(3) {
  height: 58%;
  background: #b388ff;
}

.mini-chart span:nth-child(4) {
  height: 82%;
  background: #69f0ae;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
  border-radius: 24px;
  padding: 34px;
}

.contact-panel p {
  margin: 18px 0 0;
}

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

.contact-list a,
.contact-list p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: rgba(216, 230, 222, 0.04);
  color: var(--text-primary);
  margin: 0;
  padding: 12px 14px;
  text-decoration: none;
}

.contact-list a {
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  background: rgba(100, 255, 218, 0.08);
  border-color: var(--border-strong);
  outline: none;
}

.contact-list span {
  color: var(--text-muted);
}

.download-hero {
  padding-top: 80px;
}

.download-hero h1 {
  margin: 0 auto;
  font-size: 58px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.download-card {
  display: grid;
  gap: 18px;
  align-content: start;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: rgba(18, 22, 20, 0.86);
  padding: 22px;
}

.download-card-primary {
  border-color: var(--border-strong);
  background:
    linear-gradient(180deg, rgba(100, 255, 218, 0.1), rgba(18, 22, 20, 0.88)),
    var(--bg-surface);
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-card-head img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
}

.download-card-head p,
.download-card p,
.download-note p {
  margin: 0;
  color: var(--text-secondary);
}

.download-card-head h2 {
  margin-top: 2px;
  font-size: 24px;
}

.qr-frame {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: #f5f5f5;
  padding: 12px;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.qr-frame:hover,
.qr-frame:focus-visible {
  border-color: var(--brand);
  transform: translateY(-2px);
  outline: none;
}

.qr-frame img {
  width: 100%;
  aspect-ratio: 1;
}

.qr-frame-coming-soon {
  position: relative;
  cursor: default;
}

.qr-frame-coming-soon:hover,
.qr-frame-coming-soon:focus-visible {
  border-color: var(--border);
  transform: none;
  outline: none;
}

.qr-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: calc(var(--radius-m) - 1px);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.download-card .button {
  width: 100%;
}

.download-note {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: rgba(216, 230, 222, 0.04);
  padding: 18px;
}

.download-note strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer {
  display: grid;
  gap: 18px;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding: 32px 0 44px;
}

.footer-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

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

.site-footer p {
  max-width: 720px;
  margin: 0;
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration-color: rgba(123, 139, 131, 0.45);
  text-underline-offset: 5px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand);
  outline: none;
}

.legal-page {
  max-width: 820px;
  padding-top: 80px;
}

.legal-doc {
  min-width: 0;
}

.legal-page h1 {
  font-size: 58px;
}

.legal-page h2 {
  margin-top: 42px;
  font-size: 26px;
}

.legal-page p {
  color: var(--text-secondary);
  font-size: 17px;
}

.legal-page a {
  color: var(--brand);
  text-decoration-color: rgba(100, 255, 218, 0.5);
  text-underline-offset: 5px;
}

.legal-page a:hover,
.legal-page a:focus-visible {
  color: #9be7d0;
  outline: none;
}

.legal-meta {
  margin: 18px 0 28px;
  border-left: 3px solid var(--brand);
  background: rgba(100, 255, 218, 0.08);
  padding: 12px 14px;
  color: var(--text-primary) !important;
  font-size: 14px !important;
}

.legal-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: rgba(18, 22, 20, 0.72);
}

.legal-toc a {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(216, 230, 222, 0.1);
  border-radius: var(--radius-s);
  background: rgba(216, 230, 222, 0.04);
  color: var(--text-secondary);
  padding: 8px 10px;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  background: rgba(100, 255, 218, 0.08);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--text-secondary);
}

.legal-list li::marker {
  color: var(--brand);
}

.legal-table {
  display: block;
  width: 100%;
  margin: 22px 0 10px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  border-spacing: 0;
  background: rgba(18, 22, 20, 0.72);
}

.legal-table thead,
.legal-table tbody,
.legal-table tr {
  min-width: 760px;
}

.legal-table th,
.legal-table td {
  min-width: 180px;
  border-bottom: 1px solid rgba(216, 230, 222, 0.1);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--text-primary);
  background: rgba(216, 230, 222, 0.06);
  font-size: 14px;
}

.legal-table td {
  color: var(--text-secondary);
  font-size: 14px;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-contact {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  background: rgba(216, 230, 222, 0.04);
  color: var(--text-secondary);
  font-style: normal;
  padding: 16px;
}

.legal-note {
  margin-top: 42px;
  color: var(--text-muted) !important;
  font-size: 14px !important;
}

@media (max-width: 900px) {
  .site-header {
    width: min(calc(100% - 24px), var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    background: rgba(12, 16, 14, 0.98);
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero,
  .split-section,
  .report-card,
  .pro-panel,
  .contact-panel,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 44px;
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    width: min(100%, 390px);
  }

  .feature-grid,
  .principle-grid,
  .pro-feature-list {
    grid-template-columns: 1fr;
  }

  .species-shell {
    width: min(100%, 720px);
  }

  .report-card,
  .pro-summary,
  .contact-panel {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  main,
  .hero,
  .hero-copy,
  .hero-visual,
  .phone-frame,
  .app-screen {
    max-width: 100%;
    min-width: 0;
  }

  .section {
    width: min(calc(100% - 24px), var(--container));
    padding: 44px 0;
  }

  .hero {
    gap: 18px;
    padding-top: 28px;
    padding-bottom: 18px;
  }

  h1 {
    font-size: 32px;
    line-height: 1.13;
  }

  h2 {
    font-size: 32px;
  }

  .legal-page h1 {
    font-size: 42px;
  }

  .download-hero h1 {
    font-size: 42px;
  }

  .legal-page h2 {
    font-size: 22px;
  }

  .legal-page p {
    font-size: 16px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
    margin-top: 26px;
    padding: 10px;
  }

  .legal-table {
    border-radius: var(--radius-m);
  }

  .legal-table thead,
  .legal-table tbody,
  .legal-table tr {
    min-width: 680px;
  }

  .legal-table th,
  .legal-table td {
    min-width: 160px;
    padding: 12px;
  }

  .hero-lede,
  .section-heading p {
    font-size: 16px;
  }

  .hero-lede {
    margin-top: 18px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    max-height: 3.3em;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 44px;
  }

  .trust-row {
    display: none;
  }

  .hero-visual {
    justify-self: stretch;
    width: 100%;
    max-height: 120px;
    overflow: hidden;
  }

  .visual-note {
    display: none;
  }

  .species-shell {
    width: calc(100% + 24px);
    margin-left: -12px;
  }

  .species-grid {
    gap: 12px;
    scroll-padding-inline: 26px;
    padding-inline: 26px;
  }

  .species-grid figure {
    flex-basis: min(74vw, 280px);
  }

  .species-control {
    display: none;
  }

  .phone-frame {
    border-radius: 28px;
    padding: 10px;
  }

  .app-screen {
    border-radius: 20px;
    padding: 14px;
  }

  .task-item {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .task-item b {
    grid-column: 2;
    justify-self: start;
  }

  .timeline-panel article {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .timeline-panel time {
    grid-column: 2;
  }

  .report-preview {
    min-height: 180px;
  }

  .contact-list a,
  .contact-list p {
    display: grid;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
