:root {
  --accent: #245ee8;
  --background: #f6f8fb;
  --ink: #172033;
  --line: #d9e1eb;
  --muted: #5f6b7d;
  --primary: #06674f;
  --primary-strong: #044f3d;
  --shadow: 0 22px 60px rgba(24, 36, 56, 0.14);
  --shadow-soft: 0 12px 34px rgba(24, 36, 56, 0.08);
  --soft-blue: #edf4ff;
  --soft-green: #eaf7f2;
  --surface: #ffffff;
  --warm: #f4b43f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--ink);
  font-family: Inter, Roboto, Arial, Helvetica, sans-serif;
  margin: 0;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(36, 94, 232, 0.42);
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  background: rgba(246, 248, 251, 0.94);
  border-bottom: 1px solid rgba(217, 225, 235, 0.78);
  backdrop-filter: blur(14px);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - 1040px) / 2 + 24px));
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  gap: 10px;
  text-decoration: none;
}

.mark {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 18px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

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

.site-nav a,
.language-option {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a {
  white-space: nowrap;
}

.site-nav a:hover,
.language-option:hover {
  color: var(--primary);
}

.language-switcher {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  padding: 3px;
}

.language-option {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  min-height: 32px;
  padding: 0 10px;
}

.language-option.is-active {
  background: var(--primary);
  color: #ffffff;
}

.header-download {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 14px;
  text-decoration: none;
  white-space: nowrap;
}

.header-download:hover {
  background: var(--primary);
}

main {
  overflow: hidden;
}

#features,
#screens,
#download {
  scroll-margin-top: 88px;
}

.hero {
  color: #ffffff;
  display: grid;
  min-height: min(660px, calc(100svh - 112px));
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(9, 19, 43, 0.94), rgba(9, 19, 43, 0.78) 44%, rgba(9, 19, 43, 0.22)),
    linear-gradient(0deg, rgba(9, 19, 43, 0.28), rgba(9, 19, 43, 0));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-inner {
  align-items: center;
  display: grid;
  margin: 0 auto;
  max-width: 1040px;
  padding: 70px 24px 62px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-content {
  max-width: 590px;
}

.eyebrow {
  color: #9fe8cd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  font-size: 72px;
  line-height: 0.95;
  margin: 0;
}

.lead {
  color: #e7edf7;
  font-size: 19px;
  line-height: 1.65;
  margin: 20px 0 0;
  max-width: 640px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.play-icon {
  font-size: 18px;
  line-height: 1;
}

.hero-note {
  color: #cbd8ea;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin: 16px 0 0;
}

.hero-points {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  max-width: 720px;
}

.hero-point {
  border-top: 2px solid rgba(159, 232, 205, 0.58);
  padding-top: 12px;
}

.hero-point strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.hero-point span {
  color: #d9e3f2;
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.summary-band {
  background:
    linear-gradient(90deg, rgba(234, 247, 242, 0.74), rgba(255, 255, 255, 0.92) 36%, rgba(237, 244, 255, 0.8)),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.summary-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1040px;
  padding: 24px;
}

.summary-item {
  border-left: 1px solid var(--line);
  padding: 8px 26px;
}

.summary-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.summary-item strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.summary-item small {
  color: var(--primary);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.summary-item span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.section {
  margin: 0 auto;
  max-width: 1040px;
  padding: 72px 24px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  max-width: 680px;
}

.section-heading h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 205px;
  padding: 22px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feature-card::before {
  background: var(--primary);
  border-radius: 999px;
  content: "";
  display: block;
  height: 8px;
  margin-bottom: 18px;
  width: 42px;
}

.feature-card:nth-child(2n)::before {
  background: var(--accent);
}

.feature-card:nth-child(3n)::before {
  background: var(--warm);
}

.feature-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 9px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.screens-section {
  padding-top: 78px;
}

.screenshot-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screenshot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.screenshot-card img {
  aspect-ratio: 9 / 16;
  background: var(--soft-blue);
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.screenshot-card figcaption {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  padding: 16px 18px 18px;
}

.use-case-band {
  background:
    linear-gradient(135deg, #ffffff, #f3f8ff 58%, #eef8f4),
    var(--surface);
  border-block: 1px solid var(--line);
  margin-top: 78px;
}

.use-case-inner {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin: 0 auto;
  max-width: 1040px;
  padding: 62px 24px;
}

.use-case-copy h2 {
  font-size: 32px;
  line-height: 1.16;
  margin: 0 0 14px;
}

.use-case-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.step {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 36px 1fr;
  list-style: none;
  padding: 18px;
}

.step-marker {
  align-items: center;
  background: var(--soft-green);
  border-radius: 8px;
  color: var(--primary);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.step strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.step-content {
  display: block;
}

.step-description {
  color: var(--muted);
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.download {
  background:
    linear-gradient(135deg, var(--primary), #083f57 58%, #172033),
    var(--primary);
  color: #ffffff;
  margin-top: 0;
}

.download-inner {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1040px;
  padding: 52px 24px;
}

.download h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.download p {
  color: #d9f0e8;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
}

.download .button.primary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--primary);
  flex: 0 0 auto;
}

.download .button.primary:hover {
  background: #eef7f4;
}

.download-meta {
  color: #bfe9db;
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-top: 13px;
}

footer {
  color: var(--muted);
  font-size: 13px;
  margin: 0 auto;
  max-width: 1040px;
  padding: 30px 24px 38px;
}

.footer-row {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

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

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (hover: hover) {
  .feature-card:hover {
    border-color: rgba(6, 103, 79, 0.34);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .header-download {
    width: 100%;
    justify-content: center;
  }

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

  .use-case-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #features,
  #screens,
  #download {
    scroll-margin-top: 72px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding:
      10px max(14px, env(safe-area-inset-right))
      10px max(14px, env(safe-area-inset-left));
  }

  .brand {
    font-size: 18px;
    gap: 8px;
  }

  .mark {
    font-size: 17px;
    height: 34px;
    width: 34px;
  }

  .header-actions {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-end;
    width: auto;
  }

  .site-nav {
    display: none;
  }

  .language-switcher {
    flex: 0 0 auto;
  }

  .language-option {
    min-height: 34px;
    min-width: 38px;
    padding: 0 8px;
  }

  .header-download {
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    width: auto;
  }

  .hero {
    background: #09132b;
    min-height: min(620px, calc(100svh - 74px));
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(9, 19, 43, 0.38) 0%,
      rgba(9, 19, 43, 0.78) 36%,
      rgba(9, 19, 43, 0.96) 75%,
      #09132b 100%
    );
  }

  .hero-image {
    opacity: 0.62;
    object-position: center center;
  }

  .hero-inner {
    align-items: end;
    max-width: none;
    min-height: inherit;
    min-width: 0;
    padding: 148px 18px 28px;
    width: 100%;
  }

  .hero-content {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .eyebrow {
    font-size: 12px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: 44px;
    line-height: 1;
  }

  .lead {
    font-size: 16px;
    line-height: 1.55;
    margin-top: 14px;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 46px;
    padding: 0 16px;
    width: 100%;
  }

  .hero-note {
    font-size: 13px;
    margin-top: 12px;
  }

  .hero-points {
    gap: 10px;
    grid-auto-columns: minmax(190px, 76vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin: 22px -18px 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 0 18px 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hero-points::-webkit-scrollbar {
    display: none;
  }

  .hero-point {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 2px solid rgba(159, 232, 205, 0.58);
    border-radius: 8px;
    padding: 12px;
    scroll-snap-align: start;
  }

  .summary-grid {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .summary-band {
    background: var(--surface);
  }

  .summary-grid {
    padding: 16px 18px;
  }

  .summary-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(24, 36, 56, 0.06);
    padding: 15px;
  }

  .summary-item:first-child {
    border-left: 1px solid var(--line);
    padding: 15px;
  }

  .summary-item strong {
    font-size: 16px;
  }

  .summary-item span {
    font-size: 13px;
  }

  .section,
  .screens-section {
    padding: 46px 18px 0;
  }

  .section-heading {
    gap: 8px;
    margin-bottom: 18px;
  }

  .section-heading h2,
  .use-case-copy h2,
  .download h2 {
    font-size: 26px;
  }

  .section-heading p,
  .use-case-copy p,
  .download p {
    font-size: 15px;
    line-height: 1.55;
  }

  .feature-grid {
    gap: 12px;
    grid-auto-columns: minmax(244px, 82vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-inline: -18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 18px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

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

  .feature-card {
    min-height: 184px;
    padding: 18px;
    scroll-snap-align: start;
  }

  .feature-card::before {
    height: 6px;
    margin-bottom: 14px;
    width: 36px;
  }

  .screenshot-gallery {
    gap: 14px;
    grid-auto-columns: minmax(240px, 78vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-inline: -18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 18px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .screenshot-gallery::-webkit-scrollbar {
    display: none;
  }

  .screenshot-card {
    scroll-snap-align: center;
  }

  .screenshot-card figcaption {
    font-size: 14px;
    padding: 14px 15px 16px;
  }

  .use-case-band {
    margin-top: 50px;
  }

  .use-case-inner,
  .download-inner {
    padding: 40px 18px;
  }

  .use-case-inner {
    gap: 24px;
  }

  .step {
    background: var(--surface);
    gap: 10px;
    grid-template-columns: 32px 1fr;
    padding: 14px;
  }

  .step-marker {
    height: 32px;
    width: 32px;
  }

  .step strong {
    font-size: 16px;
  }

  .download-inner,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-inner {
    gap: 24px;
  }

  .download .button.primary {
    width: 100%;
  }

  footer {
    padding: 24px 18px 32px;
  }

  .footer-row {
    gap: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 8px;
    padding: 9px 12px;
  }

  .brand {
    font-size: 17px;
  }

  .mark {
    height: 32px;
    width: 32px;
  }

  .header-download {
    font-size: 13px;
    padding: 0 10px;
  }

  .language-option {
    min-width: 36px;
    padding: 0 7px;
  }

  .hero-inner {
    padding-top: 132px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 15px;
  }
}

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

  .button {
    transition: none;
  }
}
