:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: #101010;
  --panel-2: #171717;
  --ink: #f7f3ea;
  --muted: #aaa69c;
  --line: rgba(247, 243, 234, 0.14);
  --line-strong: rgba(247, 243, 234, 0.24);
  --orange: #ff5f2e;
  --cyan: #26e0bd;
  --lime: #c9ff45;
  --blue: #4b8dff;
  --pink: #ff4f9a;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.54);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 95, 46, 0.12), transparent 36rem),
    linear-gradient(245deg, rgba(38, 224, 189, 0.09), transparent 32rem),
    var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.74);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
}

.brand-icon,
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #000 url("images/app-icon.png") center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 28px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(247, 243, 234, 0.76);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 780;
  white-space: nowrap;
}

.button.primary,
.play-badge {
  color: #050505;
  background: var(--ink);
  box-shadow: 0 18px 34px rgba(247, 243, 234, 0.12);
}

.button.primary:hover,
.play-badge:hover {
  background: #ffffff;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.play-badge::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}

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

.kinetic-hero {
  position: relative;
  min-height: calc(100svh - 68px);
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.kinetic-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -32% -10%;
  height: 42%;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 95, 46, 0.26), rgba(38, 224, 189, 0.18), rgba(75, 141, 255, 0.18));
  filter: blur(44px);
  transform: skewY(-5deg);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0 82px;
}

.split {
  min-height: calc(100svh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.74fr);
  gap: 64px;
  align-items: center;
}

.hero-copy,
.hero-device,
.story-copy,
.story-rail,
.tool-layout > *,
.privacy-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.final-cta h2 {
  margin: 0;
  max-width: 800px;
  color: var(--ink);
  font-size: 76px;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy > p:not(.eyebrow),
.page-hero p,
.final-cta p {
  margin: 24px 0 0;
  max-width: 660px;
  color: rgba(247, 243, 234, 0.72);
  font-size: 20px;
}

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

.proof-strip {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.proof-strip div {
  padding: 16px;
}

.proof-strip div + div {
  border-left: 1px solid var(--line);
}

.proof-strip dt {
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
}

.proof-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-device {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 660px;
  transform-style: preserve-3d;
}

.phone-frame {
  position: relative;
  width: min(310px, 68vw);
  aspect-ratio: 720 / 1602;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background: #020202;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-phone {
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 160ms ease;
}

.phone-frame img,
.shot-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 29px;
}

.metric-card {
  position: absolute;
  z-index: 3;
  width: 190px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric-card strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.year-card {
  right: 0;
  top: 96px;
}

.trust-card {
  left: 0;
  bottom: 126px;
}

.mini-progress,
.progress-shell {
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.mini-progress i,
.progress-fill {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--lime));
}

.scroll-story {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.story-copy {
  position: sticky;
  top: 108px;
  min-height: 360px;
}

.story-copy h2,
.section-header h2,
.tool-layout h2,
.privacy-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0;
}

.story-copy p:not(.eyebrow),
.section-header p,
.tool-layout p,
.privacy-grid p {
  color: rgba(247, 243, 234, 0.68);
  font-size: 17px;
}

.story-rail {
  display: grid;
  gap: 22px;
}

.shot-panel {
  min-height: 78svh;
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(260px, 360px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 46%),
    var(--panel);
  overflow: hidden;
}

.shot-panel.is-active {
  border-color: rgba(255, 95, 46, 0.64);
  box-shadow: 0 0 0 1px rgba(255, 95, 46, 0.16), 0 28px 70px rgba(255, 95, 46, 0.12);
}

.shot-panel span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 850;
}

.shot-panel h3 {
  margin: 24px 0 10px;
  font-size: 34px;
  line-height: 1;
}

.shot-panel p {
  max-width: 420px;
  margin: 0;
  color: rgba(247, 243, 234, 0.66);
}

.shot-panel img {
  justify-self: end;
  width: min(290px, 100%);
  aspect-ratio: 720 / 1602;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.52);
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.section-header {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header.wide {
  max-width: 980px;
}

.widget-matrix {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.widget-matrix article {
  min-height: 300px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.widget-matrix article + article {
  border-left: 1px solid var(--line);
}

.widget-matrix article:nth-child(even) {
  background: rgba(255, 255, 255, 0.075);
}

.widget-matrix h3 {
  margin: 70px 0 10px;
  font-size: 24px;
  line-height: 1.05;
}

.widget-matrix p {
  margin: 0;
  color: rgba(247, 243, 234, 0.62);
}

.matrix-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0b0b0b;
}

.matrix-icon.bar {
  background: linear-gradient(#0b0b0b, #0b0b0b) padding-box, linear-gradient(90deg, var(--orange) 58%, rgba(255,255,255,0.32) 58%) border-box;
}

.matrix-icon.clock {
  border-radius: 50%;
  background: conic-gradient(var(--cyan) 0 74%, rgba(255,255,255,0.18) 74% 100%);
}

.matrix-icon.grid-icon {
  background:
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(247, 243, 234, 0.64) 9px 11px, transparent 11px 20px),
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(247, 243, 234, 0.64) 9px 11px, transparent 11px 20px),
    #0b0b0b;
}

.matrix-icon.pulse {
  background:
    linear-gradient(90deg, transparent 0 20%, var(--pink) 20% 28%, transparent 28% 39%, var(--pink) 39% 48%, transparent 48% 100%),
    #0b0b0b;
}

.matrix-icon.flag {
  background:
    linear-gradient(90deg, var(--orange) 0 12%, transparent 12%),
    linear-gradient(135deg, var(--orange) 0 42%, transparent 42%),
    #0b0b0b;
}

.year-tool-section {
  background:
    linear-gradient(180deg, transparent, rgba(255, 95, 46, 0.08)),
    var(--bg);
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 42px;
  align-items: center;
}

.tool-panel {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.tool-output {
  display: grid;
  gap: 14px;
}

.tool-percent {
  color: var(--lime);
  font-size: 70px;
  line-height: 0.95;
  font-weight: 880;
}

.tool-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.tool-detail div {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.progress-shell {
  height: 14px;
  margin: 24px 0;
}

.privacy-section {
  background: var(--ink);
  color: #080808;
}

.privacy-section .eyebrow {
  color: #6b3900;
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.64fr);
  gap: 52px;
  align-items: center;
}

.privacy-grid h2,
.privacy-grid p {
  color: #080808;
}

.privacy-stack {
  display: grid;
  gap: 12px;
}

.privacy-stack span {
  padding: 18px 20px;
  border: 1px solid rgba(8, 8, 8, 0.18);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.055);
  font-size: 22px;
  font-weight: 780;
}

.final-cta {
  padding: 100px 0;
  text-align: center;
}

.final-cta .container {
  display: grid;
  justify-items: center;
}

.final-icon {
  margin-bottom: 28px;
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(255, 255, 255, 0.12);
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .button {
  margin-top: 28px;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050505;
}

.footer .container {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--ink);
  text-decoration: none;
}

.trust-row,
.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.trust-row span,
.mini-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
}

.page-hero {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background: var(--hero-image, none) center / cover no-repeat, #080808;
  position: relative;
  isolation: isolate;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.82));
}

.page-hero .container {
  padding: 90px 0 64px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.feature-card,
.seo-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-card h3,
.seo-card h3 {
  margin: 0 0 10px;
}

.feature-card p,
.seo-card p {
  color: var(--muted);
}

.seo-card a {
  color: var(--cyan);
  font-weight: 760;
  text-decoration: none;
}

.showcase,
.screenshot-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: center;
}

.phone-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.phone-shot {
  min-width: 220px;
  margin: 0;
}

.phone-shot img {
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tool-heading {
  margin: 0;
  font-size: 58px;
  line-height: 1.02;
}

.year-input {
  width: 100%;
  max-width: 220px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #111111;
}

@media (max-width: 980px) {
  .split,
  .scroll-story,
  .tool-layout,
  .privacy-grid,
  .showcase,
  .screenshot-layout {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-hero h1,
  .final-cta h2 {
    font-size: 54px;
  }

  .story-copy {
    position: relative;
    top: auto;
    min-height: 0;
  }

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

  .widget-matrix article + article {
    border-left: 0;
  }

  .widget-matrix article {
    border-top: 1px solid var(--line);
  }

  .story-copy h2,
  .section-header h2,
  .tool-layout h2,
  .privacy-grid h2 {
    font-size: 42px;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 62px;
  }

  .nav-links {
    display: none;
  }

  .split {
    gap: 34px;
  }

  .hero-inner {
    padding: 48px 0 60px;
  }

  .hero h1,
  .page-hero h1,
  .final-cta h2 {
    font-size: 42px;
  }

  .hero-copy > p:not(.eyebrow),
  .page-hero p,
  .final-cta p {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

  .phone-frame {
    width: min(270px, 74vw);
  }

  .metric-card {
    width: 156px;
  }

  .year-card {
    top: 56px;
  }

  .trust-card {
    bottom: 58px;
  }

  .shot-panel {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .shot-panel img {
    justify-self: center;
    width: min(270px, 78vw);
  }

  .widget-matrix,
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .widget-matrix article {
    min-height: 220px;
  }

  .widget-matrix h3 {
    margin-top: 42px;
  }

  .tool-percent {
    font-size: 54px;
  }

  .footer .container {
    padding: 20px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
