:root {
  color-scheme: light;
  --bg: #f4f8fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: rgba(16, 20, 28, 0.84);
  --text: #0f1723;
  --muted: #5f6c7d;
  --line: rgba(17, 24, 39, 0.10);
  --accent: #0a84ff;
  --accent-strong: #0068d9;
  --mint: #52d7c6;
  --mint-soft: #dffaf5;
  --shadow: 0 24px 60px rgba(9, 18, 30, 0.12);
  --shadow-strong: 0 28px 90px rgba(9, 18, 30, 0.22);
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  background: rgba(244, 248, 251, 0.78);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-download {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--accent);
}

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

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
}

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

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(7, 14, 24, 0.14) 0%, rgba(8, 14, 24, 0.48) 58%, rgba(8, 14, 24, 0.86) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: end;
  padding: 126px 0 56px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 9.2ch;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  line-height: 0.94;
}

.hero-text {
  max-width: 660px;
  margin: 20px 0 0;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

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

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
}

.hero-list li::before {
  content: "•";
  margin-right: 8px;
  color: var(--mint);
}

.hero-stack {
  position: relative;
  min-height: min(72vh, 780px);
  align-self: stretch;
}

.hero-shot {
  position: absolute;
  width: min(47vw, 360px);
  border-radius: 40px;
  box-shadow: var(--shadow-strong);
}

.hero-shot-back {
  right: 6%;
  top: 8%;
  transform: rotate(6deg);
}

.hero-shot-front {
  left: 8%;
  bottom: 0;
  transform: rotate(-7deg);
}

.signal-strip {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: #f9fffe;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid var(--line);
}

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

.signal-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--muted);
}

.signal-grid strong {
  font-size: 1.03rem;
}

.section {
  padding: 92px 0;
}

.section h2 {
  max-width: 11ch;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 0.98;
}

.section p {
  color: var(--muted);
  line-height: 1.72;
}

.section-intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(223, 250, 245, 0.92) 100%);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}

.intro-copy p:last-child {
  max-width: 54ch;
}

.intro-photo img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.showcase-section {
  background: #0d1117;
  color: white;
}

.showcase-section p {
  color: rgba(255, 255, 255, 0.72);
}

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

.showcase-story {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.showcase-story img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.showcase-story-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.story-copy {
  max-width: 46ch;
}

.video-section {
  background: #121c25;
  color: white;
}

.video-section p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 780px;
}

.section-heading-tight {
  max-width: 620px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.video-card h3 {
  margin: 0;
  font-size: 1.16rem;
}

.video-card p {
  margin: 0;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.video-frame video,
.video-frame img,
.video-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-frame video {
  object-fit: cover;
}

.video-fallback {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.10) 0%, rgba(8, 14, 24, 0.80) 100%);
}

.video-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
}

.video-shell-ready .video-fallback {
  opacity: 0;
  pointer-events: none;
}

.steps-section {
  background: #f7fbff;
}

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

.step-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step-number {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.step-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.step-card p {
  margin: 0;
}

.download-section {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.download-media,
.download-shade {
  position: absolute;
  inset: 0;
}

.download-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-shade {
  background: linear-gradient(90deg, rgba(10, 14, 20, 0.86) 0%, rgba(10, 14, 20, 0.54) 48%, rgba(10, 14, 20, 0.28) 100%);
}

.download-layout {
  position: relative;
  z-index: 1;
  padding: 108px 0;
}

.download-copy {
  max-width: 540px;
  color: white;
}

.download-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.download-meta {
  align-self: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f1f6fa;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

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

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

.legal-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #f4f8fb 0%, #ebf7f3 100%);
}

.legal-main {
  padding: 108px 0 72px;
}

.legal-hero {
  max-width: 760px;
  margin-bottom: 28px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.96;
}

.legal-hero p {
  margin: 16px 0 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

.legal-card {
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card h2 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.08;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.legal-meta {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .hero-layout,
  .intro-layout,
  .showcase-story-wide,
  .video-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero-layout {
    padding-bottom: 40px;
  }

  .hero-stack {
    min-height: 640px;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-download {
    display: none;
  }

  .hero-layout {
    padding-top: 108px;
  }

  .hero h1 {
    max-width: 8.5ch;
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

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

  .hero-stack {
    min-height: 520px;
  }

  .hero-shot {
    width: min(74vw, 340px);
  }

  .hero-shot-back {
    right: 0;
    top: 2%;
  }

  .hero-shot-front {
    left: 0;
    bottom: 0;
  }

  .section {
    padding: 74px 0;
  }

  .section h2 {
    max-width: 10ch;
    font-size: clamp(2.25rem, 10vw, 3.8rem);
  }

  .intro-photo img {
    min-height: 300px;
  }

  .download-section {
    min-height: auto;
  }

  .download-layout {
    padding: 88px 0;
  }

  .legal-main {
    padding-top: 96px;
  }
}
