:root {
  color-scheme: light dark;
  --page: #f5f7f7;
  --surface: #ffffff;
  --surface-strong: #e9efed;
  --surface-accent: #dcefe7;
  --ink: #17201e;
  --ink-soft: #52615d;
  --line: #cad4d1;
  --accent: #167a58;
  --accent-strong: #0f6548;
  --accent-ink: #ffffff;
  --code: #e6ecea;
  --shadow: 0 28px 70px rgba(31, 57, 49, 0.16);
  --radius: 18px;
  --shell: min(1180px, calc(100% - 40px));
  font-family:
    "Avenir Next", Avenir, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #101716;
    --surface: #16201e;
    --surface-strong: #1b2825;
    --surface-accent: #173429;
    --ink: #edf4f1;
    --ink-soft: #a7b7b2;
    --line: #30413c;
    --accent: #55c995;
    --accent-strong: #75d9aa;
    --accent-ink: #0b2219;
    --code: #22302d;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 31rem),
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 74%, transparent), transparent 55%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

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

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 74%, white);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--page);
  transform: translateY(-160%);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
}

.brand-mark span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--page);
}

.brand-mark span:first-child {
  top: 8px;
  left: 8px;
}

.brand-mark span:nth-child(2) {
  top: 18px;
  left: 8px;
}

.brand-mark span:last-child {
  top: 18px;
  right: 8px;
}

.brand-mark::before {
  position: absolute;
  top: 10px;
  left: 9px;
  width: 13px;
  height: 10px;
  border-bottom: 1.5px solid var(--page);
  border-left: 1.5px solid var(--page);
  content: "";
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 620;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a:active {
  transform: translateY(1px);
}

.hero {
  display: grid;
  min-height: calc(100dvh - 68px);
  grid-template-columns: minmax(0, 0.82fr) minmax(560px, 1.28fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  padding-block: clamp(72px, 9vh, 104px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 6.4vw, 6rem);
  font-weight: 680;
  letter-spacing: -0.066em;
  line-height: 0.96;
}

.hero-summary {
  max-width: 41ch;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.62;
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--ink);
}

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

.product-frame {
  position: relative;
  margin: 0 -7vw 0 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
  transform-origin: center left;
  animation: frame-in 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-frame::after {
  position: absolute;
  inset: 39px 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  content: "";
  pointer-events: none;
}

.frame-bar {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 7px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
}

.frame-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: 0.38;
}

.frame-bar strong {
  margin-left: 8px;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  font-weight: 560;
}

.product-frame img {
  width: 100%;
  height: auto;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 58%, transparent);
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr 1fr;
}

.proof-grid p {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 25px 32px;
  border-left: 1px solid var(--line);
}

.proof-grid p:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid strong {
  font-size: 0.9rem;
}

.proof-grid span {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.section {
  padding-block: clamp(84px, 11vw, 146px);
}

.section-heading {
  max-width: 690px;
  margin-bottom: 54px;
}

.section-heading h2,
.compatibility h2,
.privacy-callout h2,
.start-section > h2,
.support-header h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.8vw, 4.4rem);
  font-weight: 660;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading p,
.compatibility-layout > div > p,
.privacy-copy > p,
.support-header > p {
  max-width: 58ch;
  color: var(--ink-soft);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 18px;
}

.feature-primary,
.feature-secondary article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-primary {
  position: relative;
  display: grid;
  min-height: 490px;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface-accent) 88%, transparent), transparent 65%),
    var(--surface);
}

.feature-index {
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
}

.feature-primary h3,
.feature-secondary h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
}

.feature-primary p,
.feature-secondary p {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.tree-motif {
  position: relative;
  display: grid;
  align-self: end;
  gap: 10px;
  padding: 24px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--page);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 18%, transparent);
}

.branch {
  position: relative;
  min-height: 23px;
  padding-left: 24px;
}

.branch::before {
  position: absolute;
  top: 4px;
  left: 3px;
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  content: "";
  opacity: 0.68;
}

.branch-one,
.branch-two {
  margin-left: 21px;
}

.branch-three {
  margin-left: 42px;
  color: color-mix(in srgb, var(--accent) 76%, white);
}

.feature-secondary {
  display: grid;
  grid-template-rows: 1fr 1.15fr;
  gap: 18px;
}

.feature-secondary article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 42px);
  background: var(--surface);
}

.feature-secondary article:last-child {
  background: var(--surface-strong);
}

.compatibility {
  width: 100%;
  background: var(--ink);
  color: var(--page);
}

.compatibility-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(64px, 10vw, 150px);
}

.compatibility-layout > div > p {
  color: color-mix(in srgb, var(--page) 66%, transparent);
}

.capability-list {
  margin: 0;
}

.capability-list div {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 24px;
  padding-block: 22px;
  border-bottom: 1px solid color-mix(in srgb, var(--page) 22%, transparent);
}

.capability-list div:first-child {
  padding-top: 0;
}

.capability-list dt {
  color: color-mix(in srgb, var(--page) 58%, transparent);
  font-size: 0.78rem;
  font-weight: 660;
}

.capability-list dd {
  margin: 0;
  font-size: 1rem;
}

.privacy-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: center;
}

.text-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 720;
  text-decoration: none;
}

.text-link:hover {
  border-bottom-color: transparent;
}

.privacy-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.privacy-facts p {
  display: grid;
  min-height: 132px;
  align-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 25px;
  background: var(--surface);
}

.privacy-facts span {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.privacy-facts strong {
  max-width: 18ch;
  font-size: 0.96rem;
}

.start-section {
  padding-top: 0;
}

.start-section > h2 {
  max-width: 620px;
  margin-bottom: 48px;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.start-grid article {
  min-height: 230px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.start-grid article:last-child {
  border-right: 0;
}

.start-grid h3 {
  margin-bottom: 35px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.start-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

code {
  padding: 0.12em 0.34em;
  border-radius: 5px;
  background: var(--code);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86em;
}

.start-grid > article > code {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 9px;
}

.site-footer {
  padding-block: 42px;
  border-top: 1px solid var(--line);
}

.footer-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.footer-layout p {
  max-width: 46ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.footer-layout nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-size: 0.78rem;
  font-weight: 650;
}

.footer-layout nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-layout nav a:hover {
  color: var(--ink);
}

.legal-page,
.support-page {
  padding-block: clamp(76px, 10vw, 128px);
}

.legal-header {
  max-width: 800px;
  margin-bottom: 84px;
}

.legal-header h1,
.support-header h1 {
  max-width: none;
}

.legal-header > p:not(.kicker):not(.updated) {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.updated {
  margin-top: 28px;
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: clamp(60px, 9vw, 120px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 9px;
}

.legal-nav a {
  padding: 5px 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 630;
  text-decoration: none;
}

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

.legal-content section {
  margin-bottom: 58px;
  scroll-margin-top: 105px;
}

.legal-content h2,
.support-grid h2,
.deletion-panel h2,
.safe-report h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
}

.legal-content p,
.legal-content li,
.support-grid p,
.deletion-panel p,
.safe-report p {
  color: var(--ink-soft);
}

.legal-content ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-content section:last-child {
  margin-bottom: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-content section:last-child .button {
  margin-top: 8px;
}

.support-header {
  max-width: 780px;
  margin-bottom: 84px;
}

.support-header .button {
  margin-top: 12px;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 90px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.support-grid article {
  min-height: 260px;
  padding: clamp(30px, 5vw, 52px);
  background: var(--surface);
}

.support-grid article:nth-child(2),
.support-grid article:nth-child(3) {
  background: var(--surface-strong);
}

.deletion-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px 80px;
  margin-bottom: 90px;
  padding: clamp(34px, 6vw, 68px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--page);
}

.deletion-panel p {
  color: color-mix(in srgb, var(--page) 68%, transparent);
}

.deletion-sequence {
  display: grid;
  gap: 8px;
  align-self: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
}

.deletion-sequence span {
  position: relative;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--page) 24%, transparent);
  border-radius: 8px;
}

.deletion-sequence span:not(:last-child)::after {
  position: absolute;
  bottom: -9px;
  left: 22px;
  width: 1px;
  height: 8px;
  background: color-mix(in srgb, var(--page) 35%, transparent);
  content: "";
}

.deletion-note {
  grid-column: 1 / -1;
  max-width: 74ch;
  margin: 0;
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--page) 20%, transparent);
}

.safe-report {
  max-width: 780px;
}

.safe-report .support-actions {
  margin-top: 24px;
  gap: 28px;
}

@keyframes frame-in {
  from {
    opacity: 0;
    transform: translateY(30px) rotate(1.2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(1.2deg);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 76px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .product-frame {
    margin-right: -14vw;
  }

  .feature-layout,
  .compatibility-layout,
  .privacy-callout {
    grid-template-columns: 1fr;
  }

  .privacy-callout,
  .compatibility-layout {
    gap: 58px;
  }

  .legal-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:first-child {
    display: none;
  }

  .hero {
    gap: 46px;
    padding-top: 64px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .product-frame {
    margin-right: 0;
    animation: none;
    transform: none;
  }

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

  .proof-grid p,
  .proof-grid p:last-child {
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .proof-grid p:last-child {
    border-bottom: 0;
  }

  .feature-primary {
    min-height: 440px;
  }

  .feature-secondary,
  .privacy-facts,
  .start-grid,
  .support-grid,
  .deletion-panel {
    grid-template-columns: 1fr;
  }

  .feature-secondary {
    grid-template-rows: auto;
  }

  .capability-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .start-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .start-grid article:last-child {
    border-bottom: 0;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-layout nav {
    justify-content: flex-start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
  }

  .support-grid article {
    min-height: auto;
  }

  .deletion-panel {
    gap: 34px;
  }

  .deletion-note {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .brand > span:last-child {
    max-width: 92px;
    line-height: 1.05;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.78rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .privacy-facts {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
