:root {
  color-scheme: light dark;
  --bg: #f6f7f5;
  --surface: #ffffff;
  --ink: #121716;
  --muted: #68736f;
  --line: #dfe5e1;
  --blue: #3854cf;
  --green: #2f7f5f;
  --purple: #6a45a6;
  --orange: #b76328;
  --shadow: 0 18px 45px rgba(28, 39, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

p,
dd,
span,
strong {
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

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

main {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(44px, 8vw, 86px) 0 40px;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 3.15rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  width: 100%;
  max-width: 690px;
  color: var(--muted);
  font-size: 1.16rem;
  overflow-wrap: break-word;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 14px;
  margin: 30px 0 0;
}

.meta-list div,
.quick-summary article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.meta-list div {
  padding: 16px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-weight: 720;
}

.app-preview {
  justify-self: center;
  width: 100%;
  max-width: 300px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101615;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.quick-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 12px 0 40px;
}

.quick-summary article {
  min-height: 132px;
  padding: 18px;
}

.quick-summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.quick-summary span {
  color: var(--muted);
  font-size: 0.94rem;
}

.policy {
  max-width: 820px;
  padding: 10px 0 70px;
}

.policy section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.policy h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.policy p {
  color: var(--muted);
}

.policy p:last-child {
  margin-bottom: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 840px) {
  .masthead {
    grid-template-columns: 1fr;
  }

  .app-preview {
    max-width: 260px;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  main {
    width: 74vw;
    max-width: 300px;
  }

  .masthead-copy,
  .meta-list,
  .quick-summary,
  .policy {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 2.42rem;
  }

  .lead {
    font-size: 1.04rem;
    max-width: 100%;
  }

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

  footer {
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101513;
    --surface: #171f1c;
    --ink: #eef5f1;
    --muted: #a7b3ae;
    --line: #2b3632;
    --blue: #7b91ff;
    --green: #63c996;
    --purple: #a78be4;
    --orange: #eea064;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  }
}
