@font-face {
  font-family: "Racing Sans One";
  src: url("./assets/RacingSansOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f8faf7;
  --ink: #0d1310;
  --ink-soft: #2a332e;
  --muted: #59635d;
  --line: #dfe7e0;
  --surface: #ffffff;
  --surface-soft: #eef5f0;
  --green: #2edb65;
  --green-deep: #0c7a3b;
  --cyan: #58d5e8;
  --blue: #347da4;
  --amber: #eda43a;
  --shadow: 0 24px 76px rgba(13, 19, 16, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-140%);
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 247, 0.88);
  border-bottom: 1px solid rgba(13, 19, 16, 0.08);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
  padding: 18px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  justify-self: start;
}

.brand-mark {
  display: inline-block;
  font-family: "Racing Sans One", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.brand-mark::first-letter {
  color: var(--ink);
}

.nav-links {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.94rem;
  font-weight: 700;
  gap: 28px;
  justify-content: center;
}

.nav-links a,
.site-footer a {
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--green-deep);
}

.nav-cta,
.button {
  border-radius: 8px;
  font-weight: 800;
}

.nav-cta {
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  justify-self: end;
  padding: 12px 18px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.74fr);
  min-height: calc(88svh - 74px);
  padding: clamp(42px, 6vw, 76px) clamp(20px, 5vw, 64px) 36px;
}

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

h1 {
  font-family: "Racing Sans One", ui-sans-serif, system-ui, sans-serif;
  font-size: 7.6rem;
  line-height: 0.84;
  margin-bottom: 24px;
}

.hero-line {
  color: var(--green-deep);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  max-width: 690px;
}

.hero-description,
.section-intro p,
.privacy-copy p,
.tester-copy p {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.6;
}

.hero-description {
  margin-top: 24px;
  max-width: 650px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 0.98rem;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

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

.button-primary {
  background: var(--green);
  box-shadow: 0 16px 36px rgba(46, 219, 101, 0.26);
  color: #06120a;
}

.button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.proof-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 42px 0 0;
  max-width: 640px;
  padding-top: 22px;
}

.proof-list div {
  padding-right: 22px;
}

.proof-list dt {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-list dd {
  color: var(--muted);
  line-height: 1.35;
  margin: 7px 0 0;
}

.hero-media {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-self: center;
  width: min(100%, 430px);
}

.phone-shell {
  aspect-ratio: 443 / 960;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.08)),
    #090d0b;
  border: 10px solid #111714;
  border-radius: 44px;
  box-shadow: var(--shadow);
  max-height: min(64svh, 660px);
  overflow: hidden;
  position: relative;
  width: min(100%, 320px);
}

.phone-shell::before {
  background: #050706;
  border-radius: 0 0 16px 16px;
  content: "";
  height: 24px;
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 112px;
  z-index: 2;
}

.phone-shell video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.media-note {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
  margin: 18px auto 0;
  max-width: 360px;
  text-align: center;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 64px);
}

.section-intro {
  display: grid;
  gap: 18px;
  max-width: 850px;
}

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

.section-label {
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  font-size: 4.4rem;
  line-height: 0.98;
  max-width: 840px;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.18;
}

.problem-section,
.tester-section,
.privacy-section {
  display: grid;
  gap: clamp(34px, 6vw, 80px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
}

.problem-grid,
.step-grid,
.capability-list {
  display: grid;
  gap: 16px;
}

.problem-grid,
.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.problem-grid article,
.step-grid article,
.capability-list article,
.feedback-box,
.faq-list details {
  background: var(--surface);
  border: 1px solid rgba(13, 19, 16, 0.09);
  border-radius: 8px;
}

.problem-grid article,
.step-grid article,
.capability-list article {
  min-height: 218px;
  padding: 24px;
}

.problem-grid span,
.step-grid span {
  color: var(--green-deep);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 58px;
}

.problem-grid p,
.step-grid p,
.capability-list p,
.feedback-box li,
.faq-list p,
.site-footer {
  color: var(--muted);
  line-height: 1.55;
}

.problem-grid p,
.step-grid p,
.capability-list p {
  margin-top: 12px;
}

.how-section {
  background: var(--ink);
  color: #fff;
}

.how-section .section-label,
.how-section .step-grid span {
  color: var(--green);
}

.how-section .step-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
}

.how-section .step-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.capabilities-section {
  background:
    linear-gradient(180deg, rgba(88, 213, 232, 0.12), rgba(46, 219, 101, 0.08)),
    var(--surface-soft);
}

.capability-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.capability-list article {
  min-height: 190px;
}

.capability-list h3::before {
  background: var(--green);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 10px;
  margin-right: 10px;
  width: 10px;
}

.privacy-section {
  align-items: start;
}

.privacy-copy {
  display: grid;
  gap: 18px;
}

.privacy-list {
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: clamp(26px, 4vw, 42px);
}

.privacy-list li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
}

.privacy-list li::before {
  background: var(--cyan);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 0.68em;
  width: 8px;
}

.privacy-list a,
.faq-list a,
.legal-content a {
  color: inherit;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.privacy-list a {
  color: #fff;
}

.legal-header {
  position: sticky;
}

.legal-page {
  padding: clamp(46px, 7vw, 88px) clamp(20px, 5vw, 64px) clamp(70px, 8vw, 110px);
}

.article-page {
  padding: clamp(46px, 7vw, 88px) clamp(20px, 5vw, 64px) clamp(70px, 8vw, 110px);
}

.article-layout {
  display: grid;
  gap: clamp(30px, 5vw, 62px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  max-width: 1180px;
}

.article-hero {
  display: grid;
  gap: 22px;
  max-width: 830px;
}

.article-hero h1 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3rem, 6vw, 5.9rem);
  font-weight: 950;
  line-height: 0.95;
  margin: 0;
}

.article-hero p,
.article-content p,
.article-summary li,
.article-cta p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.article-summary {
  align-self: start;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  padding: 28px;
  position: sticky;
  top: 104px;
}

.article-summary h2 {
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.1;
}

.article-summary ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding-left: 18px;
}

.article-summary li {
  color: rgba(255, 255, 255, 0.72);
}

.article-content {
  display: grid;
  gap: 22px;
  grid-column: 1;
  max-width: 820px;
}

.article-content h2 {
  border-top: 1px solid var(--line);
  font-size: 1.9rem;
  line-height: 1.08;
  margin-top: 14px;
  padding-top: 30px;
}

.article-cta {
  background: var(--surface-soft);
  border: 1px solid rgba(13, 19, 16, 0.09);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
}

.article-cta h2 {
  border: 0;
  margin: 0;
  padding: 0;
}

.legal-hero {
  max-width: 920px;
}

.legal-hero h1 {
  font-size: clamp(4rem, 11vw, 7.6rem);
  margin: 14px 0 24px;
}

.legal-hero p:last-child {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
  max-width: 760px;
}

.legal-content {
  display: grid;
  gap: 0;
  margin-top: clamp(44px, 7vw, 74px);
  max-width: 920px;
}

.legal-content article {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 28px 0;
}

.legal-content h2 {
  font-size: 1.72rem;
  line-height: 1.08;
}

.legal-content p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 780px;
}

.tester-section {
  align-items: center;
}

.tester-copy {
  display: grid;
  gap: 18px;
}

.feedback-box {
  padding: clamp(24px, 4vw, 40px);
}

.feedback-box ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding-left: 20px;
}

.faq-section {
  background: var(--surface);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  max-width: 980px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 850;
  list-style: none;
  padding: 22px 24px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--green-deep);
  content: "+";
  float: right;
  font-size: 1.4rem;
  line-height: 0.8;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  border-top: 1px solid var(--line);
  padding: 18px 24px 22px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

@media (max-width: 1100px) {
  h1 {
    font-size: 5.8rem;
  }

  .hero-line,
  h2 {
    font-size: 3.2rem;
  }

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

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero,
  .article-layout,
  .problem-section,
  .privacy-section,
  .tester-section {
    grid-template-columns: 1fr;
  }

  .article-summary {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-media {
    justify-self: start;
  }

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

  .problem-grid article,
  .step-grid article,
  .capability-list article {
    min-height: 0;
  }

  .problem-grid span,
  .step-grid span {
    margin-bottom: 38px;
  }
}

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

  .brand-mark {
    font-size: 1.3rem;
  }

  .nav-cta {
    font-size: 0.84rem;
    padding: 10px 14px;
  }

  .hero {
    gap: 26px;
    padding-bottom: 24px;
    padding-top: 30px;
  }

  h1 {
    font-size: 4rem;
    margin-bottom: 16px;
  }

  .hero-line,
  h2 {
    font-size: 2.35rem;
  }

  .legal-content h2 {
    font-size: 1.45rem;
  }

  .hero-description,
  .section-intro p,
  .privacy-copy p,
  .tester-copy p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .proof-list {
    display: none;
  }

  .phone-shell {
    border-radius: 30px;
    border-width: 7px;
    max-height: 346px;
    width: min(100%, 160px);
  }

  .phone-shell::before {
    border-radius: 0 0 10px 10px;
    height: 15px;
    width: 70px;
  }

  .media-note {
    text-align: left;
  }

  .step-grid,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 64px;
    padding-top: 64px;
  }
}

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