:root {
  color-scheme: light dark;
  --ink: #17231d;
  --ink-strong: #07120e;
  --muted: #65726b;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #eef3ee;
  --line: rgba(23, 35, 29, 0.13);
  --green: #0e8f6a;
  --green-dark: #173d2d;
  --rose: #c34b77;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(18, 40, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  background: var(--ink-strong);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
.site-footer,
main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-strong);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(14, 143, 106, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.93rem;
  white-space: nowrap;
}

.nav a,
.footer-links a {
  text-decoration: none;
}

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

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button {
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  background: var(--ink-strong);
  color: #fff;
  font-weight: 800;
}

.button:hover,
.store-button:hover {
  transform: translateY(-1px);
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(2.5rem, 7vw, 5rem);
  align-items: center;
  min-height: 680px;
  padding: clamp(2.2rem, 5vw, 4.8rem) 0;
}

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

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

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

h1,
h2,
h3 {
  color: var(--ink-strong);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 15.5ch;
  margin-bottom: 1.1rem;
  font-size: clamp(3rem, 6.4vw, 5.35rem);
}

h2 {
  max-width: 16ch;
  margin-bottom: 0.9rem;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}

.lead {
  max-width: 39rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.store-button {
  min-width: 176px;
  min-height: 58px;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--ink-strong);
  border-radius: var(--radius);
  background: var(--ink-strong);
  color: #fff;
  box-shadow: 0 14px 30px rgba(7, 18, 14, 0.16);
}

.store-button span {
  display: block;
  font-size: 0.78rem;
  line-height: 1.1;
  opacity: 0.78;
}

.store-button strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.15;
}

.store-button-muted,
.store-button-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.store-button-muted:hover {
  transform: none;
}

.availability-note {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media {
  justify-self: center;
  width: min(300px, 100%);
  padding: 0.62rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.hero-media img,
.hero-media video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
}

.hero-video-play {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  width: fit-content;
  min-height: 56px;
  margin-top: 1.45rem;
  padding: 0.88rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 14px 32px rgba(14, 143, 106, 0.28);
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero-video-play.is-enhanced {
  display: inline-flex;
}

.hero-video-play:hover {
  filter: brightness(1.08);
  box-shadow: 0 17px 36px rgba(14, 143, 106, 0.34);
  transform: translateY(-1px);
}

.hero-video-play:active {
  transform: translateY(1px);
}

.hero-video-play:focus-visible {
  outline: 3px solid var(--ink-strong);
  outline-offset: 4px;
}

.hero-video-play.is-playing {
  filter: saturate(0.82);
}

.hero-video-play-icon {
  font-size: 0.98rem;
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.platform-strip div {
  padding: 1.15rem;
  background: var(--surface);
}

.platform-strip strong,
.platform-strip span {
  display: block;
}

.platform-strip strong {
  margin-bottom: 0.3rem;
  color: var(--ink-strong);
}

.platform-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: clamp(4.2rem, 8vw, 6.8rem) 0;
}

.section-head {
  max-width: 700px;
  margin-bottom: 1.7rem;
}

.section-head p,
.feature-card p,
.invoice-panel p,
.invoice-grid p,
.privacy-section p,
.final-cta p,
.legal-card p,
.support-card p {
  color: var(--muted);
}

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

.feature-card {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.1rem;
  min-height: 100%;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.88fr) minmax(260px, 0.64fr);
  grid-template-rows: auto;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 2rem);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.feature-card h3 {
  max-width: 22rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.feature-card img {
  display: block;
  justify-self: center;
  width: min(255px, 100%);
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}

.feature-card-wide img {
  width: min(285px, 100%);
  height: auto;
}

.feature-card > div {
  padding: 0 0.2rem 0.2rem;
}

.feature-card-wide > div {
  padding: 0;
}

.report-section {
  padding-top: 2rem;
}

.report-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(1.6rem, 5vw, 3rem);
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.report-copy {
  max-width: 660px;
}

.report-copy h2 {
  max-width: 14ch;
}

.report-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.report-options article {
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.report-options h3 {
  font-size: 1.05rem;
}

.report-options p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.report-media {
  justify-self: center;
  width: min(310px, 100%);
  padding: 0.58rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-soft);
}

.report-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
}

.invoice-section {
  padding-top: 2rem;
}

.invoice-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(1.6rem, 5vw, 3rem);
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.invoice-copy {
  max-width: 660px;
}

.invoice-copy h3 {
  max-width: 14ch;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.invoice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.invoice-grid article {
  min-height: 150px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.invoice-grid h3 {
  font-size: 1.05rem;
}

.invoice-grid p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.invoice-media {
  justify-self: center;
  width: min(310px, 100%);
  padding: 0.58rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface-soft);
}

.invoice-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
}

.secure-section {
  padding-top: 2rem;
}

.secure-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(1.6rem, 5vw, 3rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: 18px;
  background: #060914;
  color: #eef8ff;
  box-shadow: 0 24px 58px rgba(6, 9, 20, 0.25);
}

.secure-panel h2,
.secure-panel h3 {
  color: #fff;
}

.secure-panel .eyebrow {
  color: #69e5d3;
}

.secure-copy {
  max-width: 570px;
}

.secure-copy p {
  color: #b8c7d5;
}

.secure-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.secure-points span {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(238, 248, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #f6fbff;
  font-weight: 800;
}

.secure-media {
  justify-self: center;
  width: min(310px, 100%);
  padding: 0.58rem;
  border: 1px solid rgba(238, 248, 255, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.secure-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 24px;
}

.screenshots-section {
  padding-top: 2rem;
}

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

.screenshots figure {
  display: grid;
  grid-template-rows: auto min-content;
  justify-items: center;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.screenshots img {
  display: block;
  width: min(250px, 100%);
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}

.screenshots figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.privacy-section h2,
.privacy-section p {
  max-width: 760px;
}

.privacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.final-cta {
  padding: 5.6rem 0;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta h2 {
  max-width: 15ch;
}

.final-cta p {
  max-width: 40rem;
}

.store-actions-center {
  justify-content: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  padding: 3rem 0 5rem;
}

.legal-card,
.support-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(18, 40, 30, 0.08);
}

.legal-card h1,
.support-card h1 {
  max-width: none;
  font-size: 3.2rem;
}

.legal-card h2,
.support-card h2 {
  max-width: none;
  margin-top: 2rem;
  font-size: 2rem;
}

.legal-card h2:first-child,
.support-card h2:first-child {
  margin-top: 0;
}

.legal-card li,
.support-card li {
  margin: 0.55rem 0;
  color: var(--muted);
}

.side-note {
  position: sticky;
  top: 1rem;
  align-self: start;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--green-dark);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #dfe9e3;
    --ink-strong: #f5fbf7;
    --muted: #a8b7af;
    --paper: #101712;
    --surface: #15211a;
    --surface-soft: #162a20;
    --line: rgba(223, 233, 227, 0.15);
    --green: #62c18e;
    --green-dark: #9ee2bd;
    --rose: #f18bad;
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  }

  .hero-media {
    background: rgba(21, 33, 26, 0.74);
  }

  .store-button {
    background: #f5fbf7;
    color: #07120e;
    border-color: #f5fbf7;
  }

  .store-button-muted,
  .button.secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
  }

  .screenshots img {
    background: #0c100d;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .platform-strip,
  .feature-grid,
  .feature-card-wide,
  .report-panel,
  .invoice-panel,
  .invoice-grid,
  .secure-panel,
  .screenshots,
  .privacy-section,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    justify-self: start;
    width: min(300px, 100%);
  }

  .hero-media img,
  .hero-media video,
  .feature-card-wide img,
  .report-media img,
  .invoice-media img,
  .secure-media img {
    height: auto;
  }

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

  .feature-card img,
  .report-media img,
  .invoice-media img,
  .screenshots img {
    width: min(310px, 100%);
    height: auto;
  }

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

  .side-note {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .nav-button {
    width: 100%;
  }

  h1 {
    font-size: 2.92rem;
  }

  h2,
  .legal-card h1,
  .support-card h1 {
    font-size: 2.2rem;
  }

  .lead {
    font-size: 1.08rem;
  }

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

  .store-button,
  .button {
    width: 100%;
  }

  .hero-video-play {
    width: 100%;
  }

  .hero-media img,
  .hero-media video,
  .report-media img,
  .invoice-media img,
  .secure-media img {
    height: auto;
  }

  .feature-card img,
  .feature-card-wide img,
  .report-media img,
  .invoice-media img,
  .screenshots img {
    width: min(310px, 100%);
    height: auto;
  }

  .report-options,
  .invoice-grid {
    grid-template-columns: 1fr;
  }

  .secure-panel {
    padding: 1rem;
    border-radius: 14px;
  }

  .secure-points {
    grid-template-columns: 1fr;
  }

  .privacy-section {
    padding: 1.25rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@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;
  }
}
