:root {
  color-scheme: light;
  --ink: #162124;
  --muted: #5f6d70;
  --line: #d9e2e4;
  --paper: #f6f8f5;
  --surface: #ffffff;
  --mint: #43c59e;
  --teal: #0f7b83;
  --amber: #f0b94a;
  --coral: #e96a4c;
  --night: #101820;
  --shadow: 0 18px 46px rgba(16, 24, 32, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: rgba(16, 24, 32, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 780;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  opacity: 0.84;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  place-items: center start;
  padding: 112px clamp(20px, 6vw, 86px) 76px;
  color: #ffffff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.5) 52%, rgba(16, 24, 32, 0.08)),
    linear-gradient(0deg, rgba(16, 24, 32, 0.55), rgba(16, 24, 32, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.app-icon {
  width: 86px;
  height: 86px;
  margin-bottom: 26px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ef2cf;
}

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

h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.2rem, 11vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.13rem;
  line-height: 1.24;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.4vw, 1.34rem);
  line-height: 1.7;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 850;
}

.store-button.primary {
  color: var(--night);
  background: var(--mint);
}

.store-button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.intro-section,
.section,
.download-section {
  padding-right: clamp(20px, 6vw, 86px);
  padding-left: clamp(20px, 6vw, 86px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
  background: #ffffff;
}

.intro-copy p {
  max-width: 880px;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.85;
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.stat-strip span {
  padding: 9px 12px;
  color: #243032;
  background: #e9f4ef;
  border: 1px solid #cae3d9;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.section {
  padding-top: clamp(74px, 9vw, 116px);
  padding-bottom: clamp(74px, 9vw, 116px);
}

.section-heading {
  width: min(840px, 100%);
  margin-bottom: 34px;
}

.feature-section {
  background: var(--paper);
}

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

.feature-card {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.08);
}

.feature-card:nth-child(2) {
  border-top-color: var(--amber);
}

.feature-card:nth-child(3) {
  border-top-color: var(--teal);
}

.feature-card:nth-child(4) {
  border-top-color: var(--coral);
}

.feature-card p,
.download-section p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.screen-section {
  color: #ffffff;
  background: var(--night);
}

.screen-section .eyebrow {
  color: #8ef2cf;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.phone-shot figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 750;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 44px;
  background: #ffffff;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  color: var(--teal);
  font-weight: 900;
}

.steps p {
  margin: 0;
  line-height: 1.62;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 58px;
  color: #ffffff;
  background: #243032;
}

.download-section .eyebrow {
  color: #8ef2cf;
}

.download-section p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 86px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 62px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.42)),
      linear-gradient(0deg, rgba(16, 24, 32, 0.62), rgba(16, 24, 32, 0.08));
  }

  .intro-section,
  .workflow-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    justify-content: flex-start;
  }

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

  .feature-card {
    min-height: auto;
  }

  .screen-row {
    max-width: 460px;
    margin: 0 auto;
  }

  .download-actions {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .brand span {
    max-width: 70vw;
  }

  .hero {
    padding-top: 98px;
    padding-bottom: 56px;
  }

  .app-icon {
    width: 68px;
    height: 68px;
    border-radius: 15px;
  }

  .hero-actions,
  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .store-button {
    width: 100%;
  }

  .steps li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 6px;
  }
}
