:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f7;
  --ink: #15171c;
  --muted: #606977;
  --line: #d9e0ea;
  --accent: #d8942f;
  --accent-dark: #9e5d10;
  --red: #c63834;
  --teal: #1e8c87;
  --blue: #253b66;
  --shadow: 0 24px 70px rgba(21, 23, 28, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

a:hover {
  color: var(--accent-dark);
}

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

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(21, 23, 28, 0.18);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.hero {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 48px 0 74px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 64px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 88px;
}

h2 {
  max-width: 820px;
  font-size: 48px;
}

h3 {
  font-size: 21px;
}

p {
  margin: 0;
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 23px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 850;
  line-height: 1.15;
}

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

.button-primary:hover {
  background: #9f2421;
  color: #fff;
}

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

.app-preview {
  width: min(388px, 100%);
  margin: 0;
  justify-self: end;
}

.phone-frame {
  position: relative;
  aspect-ratio: 9 / 20;
  width: 100%;
  border: 10px solid #10141d;
  border-radius: 32px;
  background: #10141d;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  pointer-events: none;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-preview figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.section,
.split-section,
.notice-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.feature-card:nth-child(2) {
  border-top-color: var(--accent);
}

.feature-card:nth-child(3) {
  border-top-color: var(--teal);
}

.feature-card:nth-child(4) {
  border-top-color: var(--blue);
}

.feature-card p,
.steps p,
.notice-panel p,
.site-footer p {
  margin-top: 12px;
  color: var(--muted);
}

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

.steps {
  display: grid;
  gap: 14px;
}

.steps article {
  display: grid;
  min-height: 126px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.notice-panel {
  border-radius: 8px;
  padding: 56px;
  background: #171b24;
  color: #fff;
}

.notice-panel .eyebrow {
  color: var(--accent);
}

.notice-panel p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
}

.legal-layout {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.legal-hero {
  padding: 46px 0 34px;
}

.legal-hero h1 {
  font-size: 66px;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(21, 23, 28, 0.08);
}

.legal-document section {
  padding: 34px 46px;
  border-top: 1px solid var(--line);
}

.legal-document section:first-child {
  border-top: 0;
}

.legal-document h2 {
  font-size: 32px;
}

.legal-document p,
.legal-document ul,
.legal-document ol {
  margin: 16px 0 0;
  color: var(--muted);
}

.legal-document ul,
.legal-document ol {
  padding-left: 22px;
}

.legal-document li {
  margin-top: 8px;
}

.legal-document a {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.meta-list {
  display: grid;
  margin: 30px 0 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meta-item {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.meta-label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.meta-item strong {
  display: block;
  margin: 0;
  font-weight: 850;
}

.note {
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}

.table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-alt);
  color: var(--ink);
}

td {
  color: var(--muted);
}

@media (max-width: 1040px) {
  h1 {
    font-size: 72px;
  }

  h2 {
    font-size: 42px;
  }

  .hero {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .app-preview {
    justify-self: start;
    width: min(360px, 100%);
  }

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

  .feature-card {
    min-height: 170px;
  }

  .meta-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .split-section,
  .notice-section,
  .legal-layout {
    width: min(100% - 28px, 1180px);
  }

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

  .nav,
  .site-footer nav {
    justify-content: flex-start;
  }

  .brand span {
    max-width: calc(100vw - 90px);
  }

  h1,
  .legal-hero h1 {
    font-size: 46px;
  }

  h2,
  .legal-document h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .lead {
    font-size: 20px;
  }

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

  .button {
    width: 100%;
  }

  .app-preview {
    width: 100%;
  }

  .notice-panel {
    padding: 28px;
  }

  .legal-document section {
    padding: 28px 20px;
  }
}
