:root {
  color-scheme: light;
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-2: #eef4f1;
  --text: #172126;
  --muted: #5d6970;
  --line: #d7e1dd;
  --brand: #0e7c68;
  --brand-strong: #075f51;
  --accent: #b46b18;
  --blue: #246bfe;
  --shadow: 0 18px 50px rgba(24, 41, 38, .12);
  --radius: 8px;
  --shell: 1180px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101820;
  --surface: #17232c;
  --surface-2: #20313a;
  --text: #edf7f2;
  --muted: #b5c5c1;
  --line: #31454d;
  --brand: #69d3bd;
  --brand-strong: #9de9d8;
  --accent: #e0a144;
  --blue: #8cb7ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

[data-theme="focus"] {
  color-scheme: light;
  --bg: #fbfbf4;
  --surface: #ffffff;
  --surface-2: #edf4e8;
  --text: #172017;
  --muted: #596657;
  --line: #d8e5d0;
  --brand: #356f43;
  --brand-strong: #214d2d;
  --accent: #8a5b12;
  --blue: #255f91;
  --shadow: 0 18px 48px rgba(50, 70, 42, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--text);
  color: var(--bg);
  padding: .75rem 1rem;
  border-radius: var(--radius);
}

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

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.section-pad {
  padding: 92px 0;
}

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

.nav,
.nav-links,
.nav-actions,
.brand,
.hero-actions,
.browser-badges,
.trust-row {
  display: flex;
  align-items: center;
}

.nav {
  min-height: 76px;
  gap: 1.25rem;
}

.brand {
  gap: .65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.nav-links {
  gap: 1rem;
  margin-left: auto;
}

.nav-links a,
.site-footer a {
  color: var(--muted);
  font-weight: 650;
}

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

.nav-actions {
  gap: .75rem;
}

.theme-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 3px;
}

.theme-switcher button {
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 34px;
  padding: 0 .7rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 750;
}

.theme-switcher button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  place-items: center;
  gap: 4px;
  padding: 9px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.button-small {
  min-height: 38px;
  padding-inline: .9rem;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 28%, transparent);
}

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

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

.hero {
  padding-top: 86px;
}

.hero-grid,
.split,
.focus-grid,
.privacy-panel,
.footer-grid {
  display: grid;
  gap: 3.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--brand);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-subhead,
.section-head p,
.copy-block p,
.focus-copy p,
.privacy-panel p,
.final-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-subhead {
  max-width: 620px;
  margin: 1.3rem 0 0;
}

.hero-actions {
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.trust-row,
.browser-badges,
.check-list,
.privacy-list {
  list-style: none;
  padding: 0;
}

.trust-row {
  gap: .75rem;
  flex-wrap: wrap;
  margin: 1.3rem 0 0;
}

.trust-row li,
.browser-badges span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 750;
}

.trust-row li {
  padding: .38rem .75rem;
}

.browser-badges {
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.browser-badges span {
  padding: .45rem .72rem;
  font-size: .92rem;
}

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

.browser-frame,
.focus-panel,
.privacy-panel,
.final-panel,
.shot-window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.browser-frame {
  overflow: hidden;
}

.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: left top;
  background: var(--surface-2);
}

.browser-top {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  align-items: center;
  gap: 7px;
  padding: 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .55;
}

.browser-top div {
  height: 28px;
  margin-left: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.mock-app {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 500px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 24px;
  background: color-mix(in srgb, var(--surface-2) 78%, var(--surface));
  border-right: 1px solid var(--line);
}

.mock-sidebar strong {
  margin-bottom: 1rem;
}

.mock-pill {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 750;
}

.mock-pill.active {
  background: var(--brand);
  color: #fff;
}

.mock-main {
  padding: 28px;
}

.mock-toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.mock-toolbar b {
  color: var(--brand);
}

.focus-card {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 18%, var(--surface)), color-mix(in srgb, var(--blue) 12%, var(--surface)));
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
}

.focus-card small,
.focus-task span,
.shot-heading small {
  color: var(--muted);
  font-weight: 800;
}

.focus-card h2 {
  margin-top: .65rem;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.focus-card p {
  color: var(--muted);
}

.progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 75%, var(--line));
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--brand);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mock-grid div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mock-grid strong,
.mock-grid span {
  display: block;
}

.mock-grid span {
  color: var(--muted);
  margin-top: .4rem;
}

.demo-strip {
  padding: 34px 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.demo-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 2rem;
  align-items: center;
}

.demo-grid h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.demo-steps article {
  min-height: 112px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.demo-steps strong {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: .75rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.demo-steps span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.split,
.privacy-panel,
.footer-grid {
  grid-template-columns: .85fr 1.15fr;
}

.copy-block p {
  margin-top: 0;
}

.check-list,
.privacy-list {
  display: grid;
  gap: .75rem;
  margin: 1.35rem 0 0;
}

.check-list li,
.privacy-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted);
  font-weight: 650;
}

.check-list li::before,
.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--accent);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head p {
  margin-bottom: 0;
}

.feature-grid,
.access-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.testimonial-grid figure,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card {
  min-height: 210px;
  padding: 1.25rem;
}

.feature-card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 1rem;
}

.feature-card p,
.testimonial-grid blockquote,
.faq-list p {
  color: var(--muted);
}

.focus-mode {
  background: var(--surface-2);
}

.focus-grid {
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
}

.focus-copy p {
  max-width: 560px;
}

.focus-panel {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.focus-orbit {
  position: absolute;
  width: min(70%, 420px);
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: 50%;
}

.focus-orbit::before,
.focus-orbit::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.focus-orbit::after {
  inset: 42%;
  background: var(--brand);
  border: 0;
}

.focus-task {
  position: relative;
  width: min(82%, 380px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  text-align: center;
  backdrop-filter: blur(8px);
}

.focus-task h3 {
  margin-top: .6rem;
  font-size: 1.9rem;
}

.focus-task p {
  color: var(--muted);
}

.focus-task button {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  padding: 0 1rem;
  font-weight: 800;
}

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

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface-2);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

td {
  color: var(--muted);
}

.accessibility {
  background: color-mix(in srgb, var(--surface-2) 70%, var(--bg));
}

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

.access-grid span {
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 800;
  text-align: center;
  padding: .75rem;
}

.privacy-panel,
.final-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.screenshot-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--text) 7%, transparent);
}

.screenshot-card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface-2);
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: left top;
}

.screenshot-card figcaption {
  display: grid;
  gap: .35rem;
  padding: 1rem;
}

.screenshot-card figcaption span {
  color: var(--muted);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.6rem 0 .4rem;
}

.install-grid a {
  display: grid;
  gap: .25rem;
  min-height: 82px;
  align-content: center;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.install-grid strong,
.install-grid span {
  display: block;
}

.install-grid span {
  color: var(--muted);
  font-size: .88rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 10, 12, .78);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(1180px, 100%);
  margin: 0;
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid color-mix(in srgb, #fff 20%, transparent);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

.lightbox figcaption {
  margin-top: .75rem;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  padding: 0 .85rem;
  font-weight: 850;
}

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

.testimonial-grid figure {
  margin: 0;
  padding: 1.35rem;
}

.testimonial-grid blockquote {
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.testimonial-grid figcaption {
  color: var(--text);
  font-weight: 850;
}

.faq-list {
  display: grid;
  gap: .8rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin-bottom: 0;
}

.final-cta {
  padding-top: 40px;
}

.final-panel {
  max-width: 900px;
  text-align: center;
}

.final-panel .hero-actions {
  justify-content: center;
}

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

.footer-grid {
  align-items: start;
}

.site-footer p {
  color: var(--muted);
  margin: .8rem 0 0;
}

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

.sticky-install {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.legal-page .site-header {
  position: static;
}

.legal {
  max-width: 860px;
  padding: 72px 0;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

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

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .nav-links,
  .nav-actions {
    display: none;
    width: 100%;
  }

  .nav.nav-open .nav-links,
  .nav.nav-open .nav-actions {
    display: flex;
  }

  .nav.nav-open .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding-top: .5rem;
  }

  .nav.nav-open .nav-actions {
    justify-content: space-between;
    padding-bottom: 1rem;
  }

  .legal-page .nav-links {
    display: flex;
    width: auto;
    margin-left: auto;
    flex-direction: row;
    align-items: center;
  }

  .hero-grid,
  .split,
  .focus-grid,
  .privacy-panel,
  .footer-grid,
  .gallery,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.25rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-steps,
  .install-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .section-pad {
    padding: 64px 0;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

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

  .button,
  .sticky-install {
    width: 100%;
  }

  .sticky-install {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .mock-app {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mock-sidebar strong {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .mock-main {
    padding: 18px;
  }

  .mock-grid,
  .feature-grid,
  .access-grid,
  .testimonial-grid,
  .screenshot-grid,
  .demo-steps,
  .install-grid {
    grid-template-columns: 1fr;
  }
}

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