:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f4f7f3;
  --ink: #18201d;
  --muted: #66706b;
  --line: #dde4df;
  --mint: #17a873;
  --mint-dark: #0a7150;
  --coral: #e8664f;
  --gold: #c99831;
  --shadow: 0 18px 44px rgba(31, 43, 37, 0.12);
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(221, 228, 223, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.brand-link,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-link img,
.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(24, 32, 29, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.hero {
  position: relative;
  min-height: calc(100svh - 132px);
  overflow: hidden;
  background: #0f1512;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 44px;
  transform: rotate(-4deg) scale(1.08);
  transform-origin: center;
  opacity: 0.72;
}

.hero-shot {
  width: 24%;
  max-width: 286px;
  min-width: 190px;
  aspect-ratio: 480 / 853;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.shot-a,
.shot-c {
  transform: translateY(34px);
}

.shot-b,
.shot-d {
  transform: translateY(-28px);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 21, 18, 0.94) 0%, rgba(15, 21, 18, 0.78) 45%, rgba(15, 21, 18, 0.35) 100%),
    linear-gradient(0deg, rgba(15, 21, 18, 0.44), rgba(15, 21, 18, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: calc(100svh - 132px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 74px 0 84px;
  color: #fff;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 4.25rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.hero p {
  width: min(590px, 100%);
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.action-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-weight: 800;
}

.action-button svg {
  width: 20px;
  height: 20px;
}

.action-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.action-primary {
  background: var(--mint);
  border-color: var(--mint);
  color: #fafffb;
}

.action-primary:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
}

.preview-section {
  padding: 72px 0 82px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--mint-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  width: min(720px, 100%);
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}

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

.screen-item {
  margin: 0;
}

.screen-item img {
  width: 100%;
  aspect-ratio: 480 / 853;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screen-item figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-align: center;
}

.feature-section {
  padding: 76px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: start;
}

.feature-heading {
  position: sticky;
  top: 104px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-item svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 8px;
  color: #fff;
}

.feature-item:nth-child(1) svg {
  background: var(--mint);
}

.feature-item:nth-child(2) svg {
  background: var(--coral);
}

.feature-item:nth-child(3) svg {
  background: var(--gold);
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  line-height: 1.3;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

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

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

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: right;
}

@media (max-width: 900px) {
  .hero-media {
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px;
  }

  .hero-scrim {
    background: linear-gradient(0deg, rgba(15, 21, 18, 0.9), rgba(15, 21, 18, 0.54));
  }

  .hero h1 {
    font-size: 3.25rem;
  }

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

  .feature-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-heading {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    height: 66px;
  }

  .nav-links {
    display: none;
  }

  .brand-link img,
  .footer-brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: calc(100svh - 118px);
  }

  .hero-media {
    transform: rotate(-5deg) scale(1.18);
    opacity: 0.64;
  }

  .hero-shot {
    width: 48%;
    min-width: 158px;
    max-width: 210px;
  }

  .hero-content {
    min-height: calc(100svh - 118px);
    padding: 58px 0 68px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .action-button {
    width: 100%;
  }

  .preview-section,
  .feature-section {
    padding: 54px 0;
  }

  .section-heading h2 {
    font-size: 1.72rem;
  }

  .screen-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
  }

  .screen-item {
    flex: 0 0 76%;
    scroll-snap-align: start;
  }

  .feature-item {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px;
  }

  .feature-item svg {
    width: 42px;
    height: 42px;
    padding: 10px;
  }
}
