:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-warm: #fff4f3;
  --text: #111827;
  --muted: #536173;
  --line: #d9e0ea;
  --red: #c7342a;
  --red-deep: #a82922;
  --teal: #0f9f8f;
  --teal-soft: #e6f7f4;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  overflow-x: clip;
}

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

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

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
  margin: 0;
}

.section-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 224, 234, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav a,
.header-link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.header-link:hover {
  color: var(--red);
}

.header-link {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
  padding: 76px 0 88px;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 10.4ch;
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(3.05rem, 5.2vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero-copy p {
  max-width: 560px;
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(199, 52, 42, 0.24);
}

.button-primary:hover {
  background: var(--red-deep);
}

.button-secondary {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--text);
}

.button-secondary:hover {
  border-color: #b8c3d3;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--red);
  font-size: 0.98rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  min-height: 44px;
  padding: 11px 13px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #263346;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.hero-media {
  position: relative;
  min-height: 530px;
  min-width: 0;
}

.marquee,
.floating-shot,
.screenshot-stack figure,
.privacy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.marquee {
  position: absolute;
  top: 18px;
  right: 0;
  width: min(100%, 650px);
  box-shadow: var(--shadow);
}

.floating-shot {
  position: absolute;
  right: 36px;
  bottom: 6px;
  width: min(88%, 570px);
  box-shadow: var(--shadow);
}

@media (min-width: 941px) and (max-width: 1240px) {
  .hero {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.98fr);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 5vw, 4.35rem);
  }

  .hero-copy p {
    max-width: 520px;
  }

  .marquee {
    width: min(100%, 610px);
  }

  .floating-shot {
    right: 22px;
    width: min(88%, 540px);
  }
}

.intro-band {
  background:
    linear-gradient(90deg, rgba(199, 52, 42, 0.08), transparent 38%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.7fr);
  gap: 52px;
  align-items: center;
  padding: 72px 0;
}

h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.signal-row {
  display: grid;
  gap: 10px;
}

.signal-row span {
  display: block;
  padding: 18px 20px;
  border-left: 5px solid var(--red);
  background: #ffffff;
  color: #243042;
  font-size: 1.2rem;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
}

.walkthrough {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 44px;
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-item {
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line);
}

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

.feature-number {
  display: block;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 900;
}

.feature-item h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.feature-item p {
  font-size: 0.98rem;
}

.showcase {
  background: var(--bg-warm);
  border-block: 1px solid #f1d5d1;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.9fr);
  gap: 52px;
  align-items: start;
  padding: 90px 0;
}

.showcase-copy {
  position: sticky;
  top: 110px;
}

.screenshot-stack {
  display: grid;
  gap: 18px;
}

.screenshot-stack figure {
  margin: 0;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(126, 37, 31, 0.1);
}

.screenshot-stack img {
  width: 100%;
}

.screenshot-stack figcaption {
  padding: 14px 16px;
  color: #354155;
  font-size: 0.94rem;
  font-weight: 750;
}

.privacy {
  padding: 96px 0;
}

.privacy-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.74fr);
  gap: 54px;
  padding: 46px;
  background:
    linear-gradient(135deg, rgba(15, 159, 143, 0.13), transparent 36%),
    #ffffff;
  box-shadow: var(--shadow);
}

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

.privacy-list li {
  padding-left: 18px;
  border-left: 4px solid var(--teal);
  color: var(--muted);
  line-height: 1.55;
}

.privacy-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.install {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 32px;
  align-items: center;
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.install-copy {
  max-width: 760px;
}

.install-copy strong {
  color: var(--text);
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  font-size: 0.95rem;
}

.site-footer p a {
  display: inline-flex;
  margin-left: 12px;
  color: var(--red);
  font-weight: 800;
}

.legal-page {
  padding: 74px 0 92px;
}

.legal-shell {
  width: min(calc(100% - 40px), 880px);
  margin: 0 auto;
  min-width: 0;
}

.legal-header {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(2.55rem, 6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.legal-updated {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 750;
}

.legal-content {
  padding-top: 40px;
}

.legal-content h2 {
  margin-top: 44px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.08;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.legal-content p {
  margin: 0 0 18px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-content code {
  display: inline-block;
  max-width: 100%;
  padding: 4px 7px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  color: #263346;
  font-size: 0.96em;
}

@media (max-width: 940px) {
  .site-header {
    gap: 16px;
  }

  .nav {
    display: none;
  }

  .hero,
  .intro-grid,
  .section-heading,
  .showcase-grid,
  .privacy-card,
  .install {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 44px;
  }

  .hero-media {
    min-height: 500px;
  }

  .marquee {
    left: 0;
    right: auto;
  }

  .floating-shot {
    right: 18px;
    width: min(92%, 620px);
  }

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

  .feature-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .showcase-copy {
    position: static;
  }

  .install-actions {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header,
  .site-footer {
    width: calc(100% - 36px);
  }

  .site-header {
    min-height: 66px;
  }

  .header-link {
    padding: 8px 11px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 34px 0 62px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.82rem, 13.4vw, 3.55rem);
    line-height: 0.98;
  }

  .hero-copy p {
    max-width: 31ch;
    font-size: 1rem;
  }

  .actions,
  .proof-list {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }

  .proof-list {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    display: grid;
    min-height: 0;
    padding-top: 10px;
  }

  .marquee,
  .floating-shot {
    position: static;
    width: 100%;
  }

  .floating-shot {
    justify-self: center;
    width: 92%;
    margin-top: -56px;
  }

  .intro-grid,
  .walkthrough,
  .showcase-grid,
  .privacy,
  .install {
    padding-block: 62px;
  }

  .privacy-card {
    padding: 26px;
  }

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

  .site-footer p a {
    display: flex;
    margin: 8px 0 0;
  }

  .legal-shell {
    width: calc(100% - 36px);
  }

  .legal-page {
    padding: 54px 0 68px;
  }

  .legal-header h1 {
    max-width: 11ch;
    font-size: 2.25rem;
    line-height: 1.02;
  }

  .legal-content {
    padding-top: 32px;
  }

  .legal-content h2 {
    margin-top: 36px;
    font-size: 1.55rem;
  }

  .legal-content p,
  .legal-content li {
    font-size: 1rem;
    line-height: 1.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
