:root {
  color-scheme: light;
  --ink: #08275a;
  --muted: #64708a;
  --blue: #2f82f6;
  --sky: #eef9ff;
  --peach: #fff3ea;
  --mint: #e9fbf1;
  --paper: rgba(255, 255, 255, 0.82);
  --line: rgba(8, 39, 90, 0.12);
  --shadow: 0 24px 70px rgba(64, 86, 120, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 14%, var(--sky), transparent 34%),
    radial-gradient(circle at 84% 26%, var(--peach), transparent 30%),
    linear-gradient(180deg, #f8fcff 0%, #fff8f1 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.96rem;
  font-weight: 650;
}

nav a {
  color: var(--muted);
}

nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 56px;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  padding: 30px 0 72px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(3.7rem, 11vw, 8.3rem);
}

h2 {
  font-size: 1.45rem;
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-weight: 750;
  box-shadow: 0 14px 30px rgba(47, 130, 246, 0.24);
}

.button:hover {
  text-decoration: none;
}

.button.secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.app-mark {
  justify-self: center;
  width: min(100%, 300px);
  aspect-ratio: 1;
}

.app-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: -40px auto 72px;
}

.feature-band article,
.article-shell {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.feature-band article {
  padding: 24px;
}

.feature-band p {
  color: var(--muted);
  margin: 10px 0 0;
}

.article-shell {
  width: min(820px, calc(100% - 32px));
  margin: 48px auto 72px;
  padding: clamp(26px, 5vw, 54px);
}

.article-shell h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 18px 0 34px;
}

.article-shell section {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 26px;
}

.article-shell p,
.article-shell li {
  color: var(--muted);
}

.article-shell ul {
  padding-left: 1.2rem;
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

footer p {
  margin: 4px 0;
}

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
    padding-top: 36px;
  }

  .app-mark {
    justify-self: start;
    width: 178px;
  }

  .feature-band {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
}
