:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #62615d;
  --line: rgba(21, 21, 21, 0.14);
  --paper: #f6f3ec;
  --panel: #fffaf0;
  --accent: #e4422f;
  --accent-dark: #b72c20;
  --green: #1d7f65;
  --shadow: 0 24px 70px rgba(29, 24, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(18px, 4vw, 52px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  background: rgba(246, 243, 236, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 15px;
}

.nav {
  gap: clamp(14px, 3vw, 28px);
  color: inherit;
  font-size: 14px;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 18, 17, 0.84) 0%, rgba(22, 24, 21, 0.66) 42%, rgba(22, 24, 21, 0.08) 78%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%23232624'/%3E%3Cstop offset='.45' stop-color='%23584f3e'/%3E%3Cstop offset='1' stop-color='%23d8aa72'/%3E%3C/linearGradient%3E%3Cfilter id='grain'%3E%3CfeTurbulence baseFrequency='.7' numOctaves='3' seed='7'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .18'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3C/defs%3E%3Crect width='1400' height='900' fill='url(%23a)'/%3E%3Cpath d='M0 690 C210 610 310 760 520 690 S840 430 1080 520 S1260 650 1400 590 V900 H0Z' fill='%23f2d2a2' opacity='.45'/%3E%3Ccircle cx='1030' cy='290' r='220' fill='%23f05a3f' opacity='.34'/%3E%3Ccircle cx='820' cy='610' r='160' fill='%231d7f65' opacity='.28'/%3E%3Crect x='0' y='0' width='1400' height='900' filter='url(%23grain)' opacity='.28'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 88px clamp(22px, 5vw, 72px) 44px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd2c8;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

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

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

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

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

.button.primary.dark {
  margin-top: 10px;
  background: var(--ink);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #fff;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 84px clamp(22px, 5vw, 70px) 24px;
}

.phone-shell {
  width: min(330px, 78vw);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 16px;
  background: rgba(18, 19, 18, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: rotate(4deg);
  animation: floatIn 900ms ease both;
}

.phone-top {
  width: 76px;
  height: 7px;
  margin: 2px auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.scan-window {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(150deg, #2b2f2d, #dbb37d);
}

.portrait {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 34%, #f0c392 0 10%, transparent 11%),
    radial-gradient(ellipse at 50% 76%, #2b2926 0 31%, transparent 32%),
    linear-gradient(145deg, transparent 0 47%, rgba(255, 255, 255, 0.12) 48% 52%, transparent 53%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.18), rgba(10, 10, 10, 0.38));
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  z-index: 2;
  height: 2px;
  background: #9bfff0;
  box-shadow: 0 0 24px #9bfff0;
  animation: scan 3s ease-in-out infinite;
}

.score-orbit {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: grid;
  width: 98px;
  height: 98px;
  place-items: center;
  border: 8px solid rgba(255, 255, 255, 0.28);
  border-top-color: var(--accent);
  border-right-color: var(--green);
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.9);
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 4px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.metric-row strong {
  color: #fff;
}

.section {
  padding: clamp(76px, 11vw, 150px) clamp(22px, 5vw, 72px);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}

.two-column p,
.platform-row p,
.signal-list p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.platform {
  background: #151515;
  color: #fff;
}

.platform-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: 62px;
}

.platform-row p,
.platform .flow-item p {
  color: rgba(255, 255, 255, 0.68);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.flow-item {
  min-height: 240px;
  padding: 28px 22px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.flow-item:last-child {
  border-right: 0;
}

.flow-item span {
  display: block;
  margin-bottom: 54px;
  color: #ffd2c8;
  font-weight: 900;
}

.flow-item p {
  margin-bottom: 0;
  line-height: 1.6;
}

.signal {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: start;
}

.signal-list {
  border-top: 1px solid var(--line);
}

.signal-list p {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.signal-list strong {
  color: var(--ink);
}

.cta-section {
  background: var(--panel);
}

.cta-section h2 {
  max-width: 760px;
  margin-bottom: 22px;
}

.cta-section p:not(.section-kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.footer p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 760px;
}

.footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(230px);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) rotate(4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(4deg);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 18px;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    min-height: 86svh;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero-visual {
    padding-top: 20px;
  }

  .phone-shell {
    transform: rotate(0);
  }

  .two-column,
  .platform-row,
  .signal {
    grid-template-columns: 1fr;
  }

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

  .flow-item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
    line-height: 1.05;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .scan-window {
    min-height: 300px;
  }

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

  .flow-item {
    min-height: 0;
    padding-bottom: 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .flow-item:last-child {
    border-bottom: 0;
  }

  .flow-item span {
    margin-bottom: 24px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
