:root {
  color-scheme: dark;
  --bg: #141718;
  --surface: #202425;
  --surface-strong: #292e30;
  --text: #ffffff;
  --subtext: rgba(255, 255, 255, 0.74);
  --muted: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.12);
  --green: #86ffae;
  --yellow: #ffd922;
  --blue: #79a8ff;
  --coral: #ffb486;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(134, 255, 174, 0.14), transparent 32rem),
    linear-gradient(180deg, #15191a 0%, #101313 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(20, 23, 24, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.trust-row,
.store-buttons,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav {
  gap: 28px;
  color: var(--subtext);
  font-size: 14px;
}

.site-nav a,
.footer-links a {
  transition: color 180ms ease;
}

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

.nav-cta,
.primary-button,
.secondary-button,
.store-badge {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    border-color 180ms ease;
}

.nav-cta,
.primary-button {
  color: #141718;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}

.nav-cta {
  padding: 0 18px;
  font-size: 14px;
}

.primary-button {
  padding: 0 22px;
}

.secondary-button {
  padding: 0 20px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.store-badge {
  min-width: 188px;
  min-height: 58px;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #050607;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.store-badge img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.store-badge span {
  display: grid;
  gap: 1px;
  text-align: left;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.store-badge strong {
  font-size: 18px;
  line-height: 1.1;
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.store-badge:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 56px;
  align-items: center;
  min-height: min(720px, calc(100vh - 72px));
  padding: 48px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 30px;
  color: var(--subtext);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--subtext);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.preview-card,
.preview-phone {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.preview-card {
  left: 8%;
  right: 0;
  top: 72px;
  border-radius: 28px;
}

.preview-card img {
  width: 100%;
  height: auto;
}

.preview-phone {
  width: 31%;
  min-width: 154px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
}

.preview-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-phone-left {
  left: 0;
  bottom: 20px;
  transform: rotate(-4deg);
}

.preview-phone-right {
  right: 4%;
  bottom: 0;
  transform: rotate(5deg);
}

.feature-band,
.workflow-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.feature-band {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.feature-grid article,
.steps div,
.privacy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.feature-grid article {
  min-height: 250px;
  padding: 22px;
}

.feature-mark {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--coral);
  font-weight: 900;
}

.feature-grid p,
.steps p,
.privacy-card p,
.split-heading p,
.site-footer p {
  color: var(--subtext);
  line-height: 1.55;
}

.story-section,
.privacy-section {
  padding: 100px 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
  max-width: none;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.story-grid figure {
  margin: 0;
}

.story-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.story-grid figcaption {
  padding-top: 12px;
  color: var(--text);
  font-weight: 750;
}

.workflow-band {
  padding: 86px 0;
}

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

.steps div {
  padding: 24px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 32px;
  border-radius: 12px;
  color: #141718;
  background: var(--blue);
  font-weight: 900;
}

.privacy-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 44px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(134, 255, 174, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.055);
}

.privacy-points {
  display: grid;
  gap: 18px;
}

.privacy-points p {
  margin: 0;
  padding: 18px;
  border-left: 3px solid var(--green);
  background: rgba(0, 0, 0, 0.18);
}

.download-section {
  padding: 0 0 96px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 8px;
  padding: 34px;
  background: linear-gradient(90deg, rgba(41, 46, 48, 0.95), rgba(32, 36, 37, 0.95));
}

.download-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
}

.download-card > div {
  flex: 1;
}

.download-card h2 {
  font-size: clamp(26px, 3vw, 42px);
}

.store-buttons {
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

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

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

.site-footer p {
  margin: 6px 0 0;
  font-size: 14px;
}

.footer-links {
  align-items: flex-start;
  gap: 28px;
  color: var(--subtext);
  font-size: 14px;
}

.footer-links div {
  display: grid;
  gap: 8px;
}

.footer-links span {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 620px);
    margin: 0 auto;
    min-height: 0;
  }

  .preview-card,
  .preview-phone {
    position: static;
    transform: none;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  }

  .preview-card {
    grid-column: 1 / -1;
    order: -1;
  }

  .preview-phone {
    width: 100%;
    min-width: 0;
    max-width: 240px;
    justify-self: center;
  }

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

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

  .split-heading,
  .privacy-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hero-visual {
    display: block;
  }

  .preview-phone {
    display: none;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 60px;
    padding: 0 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hero {
    gap: 22px;
    padding: 28px 0 42px;
  }

  h1 {
    max-width: 12ch;
    margin-bottom: 16px;
    font-size: 38px;
    line-height: 1.03;
  }

  .hero-lede {
    max-width: 34ch;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
  }

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

  .store-badge {
    min-width: 0;
    min-height: 52px;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 10px;
  }

  .store-badge img {
    width: 22px;
    height: 22px;
  }

  .store-badge small {
    font-size: 9px;
  }

  .store-badge strong {
    font-size: 14px;
  }

  .trust-row {
    gap: 8px;
  }

  .trust-row span {
    padding: 7px 10px;
    font-size: 12px;
  }

  .preview-card {
    border-radius: 18px;
  }

  .feature-band,
  .story-section,
  .privacy-section,
  .workflow-band {
    padding: 64px 0;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 0;
  }

  .feature-mark {
    margin-bottom: 28px;
  }

  .story-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .story-grid figure {
    min-width: 72%;
    scroll-snap-align: start;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

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

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}
