@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Lexend/Lexend-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/Lexend/Lexend-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/Lexend/Lexend-Bold.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --ink: #07183f;
  --muted: #405374;
  --subtle: #6f82a3;
  --line: #e2eaf5;
  --line-strong: #c7d5ea;
  --paper: #f6f8fc;
  --surface: #fdfeff;
  --surface-2: #f9fbfe;
  --panel: #d7eafe;
  --accent: #0f5acd;
  --accent-1: #2d7dea;
  --accent-2: #1d5fd5;
  --sky: #33d6ff;
  --on-accent: #ffffff;
  --shadow: rgba(7, 24, 63, 0.08);
  --shadow-strong: rgba(7, 24, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Lexend", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
summary {
  overflow-wrap: anywhere;
}

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

.site-header,
.site-footer,
.hero,
.proof-strip,
.section,
.final-cta {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 18px var(--shadow);
}

.nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav {
  justify-content: center;
}

.nav a,
.nav-cta,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.nav-cta:hover,
.site-footer a:hover {
  color: var(--accent);
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--accent);
  font-weight: 700;
  background: rgba(253, 254, 255, 0.8);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: 56px;
  padding: 68px 0 64px;
}

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

.hero-icon {
  width: 84px;
  height: 84px;
  margin: 0 0 26px;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(15, 90, 205, 0.22);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(44px, 7.5vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(32px, 4.8vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

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

.supporting-line {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.55;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  width: 168px;
  min-height: 50px;
}

.app-store-button img {
  display: block;
  width: 168px;
  height: auto;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(253, 254, 255, 0.82);
  color: var(--accent);
  box-shadow: 0 12px 26px var(--shadow);
}

.phone-demo {
  justify-self: end;
  margin: 0;
}

.phone-shell {
  width: min(360px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(160deg, #ffffff, #d7eafe);
  box-shadow: 0 28px 70px var(--shadow-strong);
}

.phone-screen {
  min-height: 610px;
  border-radius: 30px;
  padding: 24px;
  background: var(--paper);
  overflow: hidden;
}

.phone-top,
.mini-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.phone-top strong,
.mini-card strong {
  color: var(--accent);
}

.memory-card,
.mini-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(253, 254, 255, 0.96);
  box-shadow: 0 18px 38px var(--shadow);
}

.memory-card {
  margin-top: 56px;
  padding: 24px;
}

.memory-card .micro {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.memory-card h2 {
  margin: 0 0 12px;
  font-size: 34px;
}

.memory-card p,
.memory-card li,
.mini-card span {
  color: var(--muted);
  line-height: 1.5;
}

.progress-track {
  height: 10px;
  margin: 24px 0;
  border-radius: 999px;
  background: var(--panel);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

.memory-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.memory-card li strong {
  color: var(--ink);
}

.mini-card {
  margin-top: 18px;
  padding: 16px;
}

.mock-caption {
  margin: 16px 0 0;
  color: var(--subtle);
  font-size: 14px;
  text-align: center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
  overflow: hidden;
  box-shadow: 0 18px 44px var(--shadow);
}

.proof-strip span {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
  text-align: center;
}

.section {
  padding: 86px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p,
.section-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.tinted {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1120px) / 2));
  background: linear-gradient(180deg, rgba(215, 234, 254, 0.42), rgba(246, 248, 252, 0));
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.feature-card,
.steps article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(253, 254, 255, 0.94);
  box-shadow: 0 18px 44px var(--shadow);
}

.feature-card {
  min-height: 220px;
  padding: 24px;
}

.feature-card span,
.steps span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

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

.feature-card p,
.steps p,
.faq-list p,
.legal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.mode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mode-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  padding: 24px;
}

.faq-list {
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  margin-inline: auto;
}

.faq-list details {
  padding: 22px 24px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.faq-list p {
  margin-top: 14px;
}

.final-cta {
  margin-top: 32px;
  margin-bottom: 64px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px;
  background: linear-gradient(135deg, var(--surface), var(--panel));
  box-shadow: 0 22px 52px var(--shadow);
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.final-cta p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.final-cta span {
  display: block;
  margin-top: 14px;
  color: var(--subtle);
  font-size: 14px;
}

.legal-page {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.legal-header h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.legal-header .lede {
  max-width: 760px;
}

.legal-content {
  margin-top: 56px;
}

.legal-content section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-content p + p {
  margin-top: 14px;
}

.site-footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    padding-bottom: 16px;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .phone-demo {
    justify-self: start;
  }

  .feature-grid,
  .feature-grid.compact,
  .steps,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero,
  .proof-strip,
  .section,
  .final-cta {
    width: min(100% - 24px, 1120px);
  }

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

  .brand span {
    display: none;
  }

  .nav {
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav-cta {
    padding: 0 12px;
  }

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

  .hero-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .lede,
  .section-heading p,
  .section-copy p,
  .final-cta p {
    font-size: 17px;
  }

  .phone-shell {
    width: 100%;
    border-radius: 30px;
  }

  .phone-screen {
    min-height: 500px;
    border-radius: 22px;
  }

  .proof-strip,
  .feature-grid,
  .feature-grid.compact,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .tinted {
    width: 100%;
    padding-inline: 12px;
  }

  .feature-card {
    min-height: 0;
  }

  .final-cta {
    padding: 30px 24px;
  }

  .site-footer {
    min-height: 118px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .legal-page {
    width: min(100% - 24px, 880px);
    padding: 52px 0 64px;
  }
}
