:root {
  --bg: #f4f6fa;
  --surface: #fff;
  --ink: #152036;
  --muted: #5b6780;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --line: #e8edf5;
  --soft: #e8f0ff;
  --r: 14px;
  --shadow: 0 6px 18px rgba(21, 32, 54, .05);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  background: var(--bg);
  color: var(--ink);
}
a { color: var(--accent); }
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .7rem 2rem;
  min-height: 92px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .85rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.05;
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .28);
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
}
.brand-kicker {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-name {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -.01em;
  color: #3b4a63;
}
.top nav {
  display: flex;
  gap: .25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top nav a {
  color: var(--muted);
  text-decoration: none;
  padding: .32rem .55rem;
  border-radius: 9px;
  font-size: .88rem;
}
.top nav a:hover { color: var(--ink); background: var(--bg); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  border-radius: 8px;
  padding: .32rem .9rem;
  min-height: 34px;
  font-size: .88rem;
  font-weight: 650;
}
.btn:hover { background: var(--accent-hover); }
.wrap {
  width: min(1120px, calc(100% - 4rem));
  margin: .7rem auto 2.5rem;
  flex: 1;
}
.hero { margin: 1.1rem 0 1.75rem; max-width: 46rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 .55rem;
}
h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -.03em;
  margin: 0 0 .7rem;
  line-height: 1.15;
}
.lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 42rem;
}
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.hero-actions .btn { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn-ghost {
  background: #e8eefc;
  color: var(--ink) !important;
}
.btn-ghost:hover { background: #d9e4fb; }

.author-block {
  display: grid;
  grid-template-columns: minmax(180px, .26fr) minmax(0, .44fr) minmax(220px, .3fr);
  gap: 1.1rem;
  align-items: start;
  margin: 0 0 2.25rem;
}
.author-block img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--r);
  background: #1b1b1b;
}
.author-copy p { color: #4b5568; margin: 0 0 .5rem; font-size: .92rem; }
.author-copy p strong { color: var(--ink); }
.author-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow);
}
.author-sign { margin: 0 0 .55rem; }
.author-sign span { color: #6b7280; font-size: .88rem; }
.author-card p { margin: 0 0 .55rem; color: #374151; font-size: .9rem; line-height: 1.4; }
.author-card p:last-child { margin-bottom: 0; }

.block { margin: 0 0 2rem; }
.block > h2 {
  font-size: 1.28rem;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0 0 .35rem;
}
.block-lead {
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .95rem;
}
.apps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.apps > li {
  display: flex;
  min-width: 0;
}
.apps a, .apps .soon {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 4.2rem;
  align-items: start;
  gap: .9rem;
  padding: 1rem 1.05rem;
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  min-height: 168px;
  box-sizing: border-box;
}
.apps a:hover {
  transform: translateY(-1px);
  border-color: #d7e4fb;
  box-shadow: 0 10px 22px rgba(21, 32, 54, .08);
}
.apps img { width: 48px; height: 48px; border-radius: 12px; }
.app-copy { min-width: 0; }
.app-title { font-weight: 700; font-size: 1rem; margin-bottom: .2rem; line-height: 1.25; min-height: 1.25em; }
.app-url {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .35rem;
  line-height: 1.3;
  min-height: 1.02rem;
}
.app-desc {
  font-size: .88rem;
  color: #4b5568;
  line-height: 1.4;
  margin: 0;
  min-height: calc(1.4em * 3);
}
.badge {
  align-self: start;
  margin-top: .15rem;
  justify-self: end;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #9a3412;
  background: #ffedd5;
  padding: .22rem .5rem;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-ready {
  color: #166534;
  background: #dcfce7;
}
.apps .soon { opacity: .78; }

.foot {
  padding: 1.1rem 1.5rem 1.3rem;
  font-size: .82rem;
  background: #eef2f7;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.home-foot__brand .brand { margin: 0 0 .55rem; }
.home-foot__brand p { margin: 0; }
.home-foot__brand p + p { margin-top: .28rem; }
.home-foot__copy { opacity: .85; }
.home-foot a { color: var(--accent); text-decoration: none; }
.home-foot a:hover { color: var(--ink); }
.home-foot .brand,
.home-foot .brand:hover { color: inherit; }
.foot-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.15rem;
  justify-content: flex-end;
}

.legal { max-width: 46rem; }
.legal h1 { margin-bottom: .35rem; }
.legal h2 { font-size: 1.05rem; margin: 1.35rem 0 .4rem; }
.legal p, .legal li { line-height: 1.55; }
.legal ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.legal .muted { margin: 0 0 1.15rem; color: var(--muted); font-size: .92rem; }
.reqs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
}
.reqs dl { margin: 0; display: grid; gap: .85rem; }
.reqs dt { color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.reqs dd { margin: .15rem 0 0; font-size: 1.02rem; }

@media (max-width: 900px) {
  .top { min-height: 84px; padding: .55rem .85rem; }
  .brand img { width: 48px; height: 48px; }
  .brand-kicker { font-size: 1.28rem; }
  .brand-name { font-size: .92rem; }
  .top nav a:not(.btn) { display: none; }
  .wrap { width: calc(100% - 1.5rem); margin-top: .65rem; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero-actions .btn { width: 100%; }
  .author-block, .apps { grid-template-columns: 1fr; }
  .author-block img { max-height: none; aspect-ratio: 1; }
  .foot { flex-direction: column; }
  .foot-links ul { justify-content: flex-start; }
}
