:root {
  --bg: #fafaf7;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-soft: #475569;
  --text-faint: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #b45309;
  --accent-dark: #92400e;
  --max-width: 1080px;
  --max-width-narrow: 680px;
  --radius: 14px;
  --radius-sm: 8px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Iowan Old Style", "Charter", Georgia, "Apple Garamond", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; transition: color 0.15s ease, text-decoration-color 0.15s ease; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.site { min-height: 100vh; display: flex; flex-direction: column; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--max-width-narrow); }
.text-center { text-align: center; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 24px;
}
.brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.site-nav { display: flex; gap: 28px; font-size: 15px; }
.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); }

@media (max-width: 640px) {
  .site-nav { display: none; }
}

/* HERO */
.hero { padding: 88px 0 72px; }
.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin: 0 0 20px;
  font-weight: 500;
}
.hero-headline {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 880px;
  margin-bottom: 32px;
}
.hero-subhead {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 0 18px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .hero-headline { font-size: 38px; }
  .hero-subhead { font-size: 17px; }
}

/* SECTIONS */
section { padding: 64px 0; border-top: 1px solid var(--border); }
.section-headline {
  font-size: 36px;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
@media (max-width: 720px) {
  section { padding: 48px 0; }
  .section-headline { font-size: 28px; margin-bottom: 28px; }
}

/* PILLARS */
.pillar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 36px; }
.pillar {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}
.pillar-number {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  padding-top: 4px;
}
.pillar-body h3 { font-size: 22px; margin-bottom: 8px; }
.pillar-body p { color: var(--text-soft); margin: 0; }

@media (max-width: 640px) {
  .pillar { grid-template-columns: 48px 1fr; gap: 16px; }
  .pillar-number { font-size: 18px; }
  .pillar-body h3 { font-size: 19px; }
}

/* APPS */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.app-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.app-card:hover {
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}
.app-domain {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  font-weight: 500;
  text-transform: lowercase;
  margin: 0;
}
.app-name {
  font-size: 26px;
  margin: 0;
  letter-spacing: -0.01em;
}
.app-tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}
.app-blurb {
  font-size: 15px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}
.app-card-soon { border-style: dashed; }
.app-card-soon .app-domain { color: var(--accent); }

/* FOUNDER */
.founder p { color: var(--text-soft); font-size: 18px; margin: 0 0 18px; max-width: 640px; }
.founder p:last-child { margin-bottom: 0; }

/* CONTACT */
.contact-line {
  font-size: 22px;
  margin: 16px 0 12px;
}
.contact-line a { font-family: var(--font-display); font-weight: 600; }
.contact-soft { color: var(--text-faint); font-size: 14px; margin: 0; }

/* FOOTER */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  font-size: 14px;
}
.footer-line { margin: 0; color: var(--text-soft); }
.footer-line + .footer-line { margin-top: 4px; }
.footer-soft a { color: var(--text-faint); margin-right: 6px; }
.footer-soft a:hover { color: var(--text); }
