:root {
  color-scheme: light;
  --bg: #f7f8f7;
  --panel: #ffffff;
  --text: #151817;
  --muted: #5d6864;
  --line: #dce3df;
  --accent: #0f7a68;
  --accent-soft: #e4f3ef;
  --shadow: 0 14px 40px rgba(18, 28, 25, 0.08);
}

* {
  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;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 247, 0.92);
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  z-index: 1;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

.main {
  padding: 56px 0 72px;
}

.landing {
  width: min(1120px, calc(100% - 36px));
}

.hero {
  margin-bottom: 32px;
}

.hero-app {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
}

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

.app-icon {
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(18, 28, 25, 0.16);
  display: block;
  height: 92px;
  margin-bottom: 22px;
  width: 92px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

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

h1 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

h3 {
  margin: 22px 0 8px;
  font-size: 1.06rem;
}

p {
  margin: 0 0 14px;
}

ul {
  padding-left: 1.25rem;
  margin: 0 0 18px;
}

li + li {
  margin-top: 8px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row,
.legal-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button-link {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  min-height: 38px;
  padding: 7px 16px;
  text-decoration: none;
}

.button-link.secondary {
  background: transparent;
  color: var(--accent);
}

.preview-stack {
  min-height: 500px;
  position: relative;
}

.device-frame {
  background: #111817;
  border: 1px solid rgba(20, 34, 31, 0.12);
  box-shadow: 0 20px 55px rgba(18, 28, 25, 0.18);
  overflow: hidden;
}

.device-frame img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.lightbox-link {
  color: inherit;
  cursor: zoom-in;
  display: block;
  height: 100%;
  text-decoration: none;
  width: 100%;
}

.lightbox-link:focus-visible {
  outline: 3px solid rgba(15, 122, 104, 0.6);
  outline-offset: -6px;
}

.lightbox-link img {
  transition: transform 180ms ease;
}

@media (hover: hover) {
  .lightbox-link:hover img {
    transform: scale(1.015);
  }
}

.phone-frame {
  border-radius: 34px;
  height: 460px;
  margin: 0;
  width: 212px;
}

.preview-stack .phone-frame {
  position: absolute;
  right: 116px;
  top: 0;
  transform: rotate(-3deg);
}

.preview-stack .secondary-phone {
  right: 0;
  top: 64px;
  transform: rotate(4deg);
}

.tablet-frame {
  border-radius: 24px;
  height: 250px;
  margin: 0;
  width: 400px;
}

.stat-grid,
.feature-grid,
.screenshot-row {
  display: grid;
  gap: 14px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.metric-card,
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  font-size: 1.04rem;
  margin-bottom: 5px;
}

.metric-card span,
.feature-card p,
.section-heading p,
.legal-note p,
figcaption {
  color: var(--muted);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.75fr);
  margin-bottom: 22px;
}

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

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

.feature-card {
  padding: 22px;
}

.feature-card h3 {
  margin-top: 0;
}

.screenshot-row {
  align-items: start;
  grid-template-columns: 220px 220px minmax(300px, 1fr);
}

.screenshot-row .device-frame {
  max-width: 100%;
}

figcaption {
  background: var(--panel);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 14px 14px;
}

.legal-note {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
}

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

.card,
.section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card {
  display: block;
  padding: 22px;
  color: var(--text);
  text-decoration: none;
}

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

.section {
  padding: 28px;
  margin-top: 18px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  background: var(--accent-soft);
  border: 1px solid rgba(15, 122, 104, 0.18);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 6px 12px;
}

.notice {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  color: #17443b;
  padding: 14px 16px;
}

.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.lang-label {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 26px 0 34px;
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }

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

  .main {
    padding-top: 36px;
  }

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

  .section {
    padding: 22px;
  }

  .hero-app,
  .section-heading,
  .legal-note {
    grid-template-columns: 1fr;
  }

  .preview-stack {
    min-height: 420px;
  }

  .preview-stack .phone-frame {
    height: 390px;
    right: auto;
    top: 0;
    width: 180px;
  }

  .preview-stack .secondary-phone {
    left: 120px;
    right: auto;
    top: 46px;
  }

  .stat-grid,
  .feature-grid,
  .screenshot-row {
    grid-template-columns: 1fr;
  }

  .phone-frame,
  .tablet-frame {
    height: auto;
    width: 100%;
  }

  .tablet-frame {
    border-radius: 18px;
  }
}
