/* Lindon Digital — lindondigital.com (v6: typography pass)
   Type: Plus Jakarta Sans for everything structural; Libre Baskerville (the logo's L) for quotes.
   Scale (base 18px): 14 · 16 · 18 · 22 · 28 · 40 · 56 · 76. Body measure ≤ 64ch. Long text is never centered. */
:root {
  --ink: #0d1b2e;
  --text: #1f2a37;
  --text-2: #4b5563;
  --muted: #7a8494;
  --bg: #ffffff;
  --gray: #f4f5f7;
  --line: #e4e7ec;
  --navy: #0d2a4a;
  --blue: #1f5f99;
  --blue-hover: #174c7c;
  --yellow: #ffe500;
  --max: 1120px;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Libre Baskerville", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-kerning: normal; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .wrap { padding: 0 20px; } body { font-size: 17px; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgba(13, 27, 46, .07); }
.nav .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; transition: background .2s; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.more { color: var(--blue); text-decoration: none; font-weight: 600; font-size: 16px; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.more::after { content: " ›"; }

/* Hero — the one memorable moment: the family of app icons */
.hero { padding: 104px 0 24px; text-align: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -.035em; max-width: 13em; margin: 0 auto; }
.hero .lead { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--text-2); max-width: 32em; margin: 26px auto 0; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; margin-top: 36px; }
.icons { display: flex; justify-content: center; gap: clamp(14px, 3vw, 32px); margin: 72px auto 0; padding-bottom: 48px; }
.icons img { width: clamp(70px, 11vw, 124px); height: clamp(70px, 11vw, 124px); border-radius: 23%; box-shadow: 0 22px 44px -22px rgba(13, 27, 46, .45); animation: float 7s ease-in-out infinite; }
.icons img:nth-child(2) { animation-delay: .9s; margin-top: 28px; }
.icons img:nth-child(3) { animation-delay: 1.8s; }
.icons img:nth-child(4) { animation-delay: 2.7s; margin-top: 28px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Sections */
section { padding: 112px 0; }
@media (max-width: 600px) { section { padding: 80px 0; } }
.gray { background: var(--gray); }
.h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.03em; }
.sec-intro { max-width: 40em; margin-bottom: 52px; }
.sec-intro p { margin-top: 18px; font-size: 20px; line-height: 1.5; color: var(--text-2); }

/* Mission: heading left, text right; left-aligned for readability */
.mission { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .mission { grid-template-columns: 1fr; gap: 24px; } }
.mission .body { max-width: 36em; }
.mission .body .first { font-size: 22px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.mission .body p + p { margin-top: 20px; color: var(--text-2); }

/* Values */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--gray); border-radius: 24px; padding: 36px 36px 40px; }
.value .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eaf1f9; color: var(--blue); margin-bottom: 22px; }
.value .ic svg { width: 22px; height: 22px; }
.value h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 10px; }
.value p { font-size: 17px; color: var(--text-2); max-width: 30em; }

/* Families */
.families { background: var(--navy); color: #fff; border-radius: 32px; padding: clamp(40px, 7vw, 88px); position: relative; overflow: hidden; }
.families::before { content: ""; position: absolute; right: -15%; bottom: -55%; width: 70%; height: 110%; background: radial-gradient(closest-side, rgba(31, 95, 153, .6), transparent); }
.families > * { position: relative; }
.families blockquote { margin: 0; max-width: 20em; font: 400 clamp(28px, 3.6vw, 42px)/1.32 var(--serif); letter-spacing: -.01em; text-wrap: balance; hanging-punctuation: first; }
.families blockquote em { font-style: normal; color: var(--yellow); }
.families .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 56px; }
@media (max-width: 860px) { .families .cols { grid-template-columns: 1fr; gap: 20px; } }
.families .cols p { font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 18px; }

/* Apps — left-aligned cards, one alignment per card */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } }
.app { background: var(--gray); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; }
@media (max-width: 600px) { .app { padding: 30px 26px; } }
.app .icon { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 14px 30px -16px rgba(13, 27, 46, .45); margin-bottom: 26px; }
.app .top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.app h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.025em; }
.soon { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff3b0; color: #6b5600; font-size: 13px; font-weight: 600; }
.app .meta { margin-top: 6px; font-size: 15px; color: var(--muted); }
.app .tag { margin-top: 16px; font-size: 19px; line-height: 1.4; font-weight: 600; color: var(--ink); max-width: 24em; }
.app .desc { margin-top: 10px; font-size: 16.5px; color: var(--text-2); max-width: 32em; }
.app .more { margin-top: auto; padding-top: 22px; }

/* Founder */
.founder { display: grid; grid-template-columns: auto minmax(0, 40em); justify-content: center; gap: 72px; align-items: start; }
@media (max-width: 880px) { .founder { grid-template-columns: 1fr; gap: 32px; } }
.founder .side { position: sticky; top: 104px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
@media (max-width: 880px) { .founder .side { position: static; align-items: center; text-align: center; } }
.founder .id { display: inline-flex; flex-direction: column; align-items: center; }
.monogram { width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(140deg, var(--navy), var(--blue)); color: #fff; display: grid; place-items: center; font: 400 32px var(--serif); margin-bottom: 18px; }
.founder .side h3 { font-size: 28px; letter-spacing: -.02em; white-space: nowrap; }
.founder .side .role { color: var(--muted); font-size: 16px; margin-top: 2px; }
.essay { max-width: 40em; }
.essay p { font-size: 18px; line-height: 1.7; color: var(--text-2); }
.essay p + p { margin-top: 22px; }
.essay .open { font: 400 clamp(26px, 3vw, 34px)/1.3 var(--serif); color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.essay .q { font: italic 400 21px/1.55 var(--serif); color: var(--ink); padding-left: 24px; border-left: 3px solid var(--yellow); margin: 30px 0; }
.essay .sig { font: italic 400 20px var(--serif); color: var(--ink); }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -.03em; }
.contact p { margin: 18px auto 0; font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 26em; }
.contact .btn { margin-top: 30px; }

/* Footer */
footer { background: var(--gray); color: var(--muted); font-size: 14px; line-height: 1.5; padding: 48px 0 32px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid #d9dde3; }
@media (max-width: 700px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }
footer .brand { font-size: 16px; }
footer .brand img { width: 28px; height: 28px; }
footer .tagline { margin-top: 12px; color: var(--text-2); max-width: 22em; }
footer h4 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li + li { margin-top: 8px; }
footer a { text-decoration: none; color: var(--text-2); }
footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* App sub-pages (e.g. /stepbloom/) */
.app-hero { padding: 80px 0 40px; text-align: center; }
.app-hero .app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 18px 36px -18px rgba(13, 27, 46, .45); }
.app-hero .eyebrow { font-size: 17px; font-weight: 600; color: var(--blue); }
.app-hero h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.08; letter-spacing: -.03em; margin: 8px 0 14px; }
.app-hero .lead { font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 30em; margin: 0 auto; }
.tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 30px; padding: 5px; background: var(--gray); border-radius: 999px; }
.tabs a { padding: 8px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text-2); }
.tabs a:hover { color: var(--ink); }
.tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(13, 27, 46, .14); }
.doc { padding: 24px 0 112px; }
.doc .wrap { max-width: 800px; }
.doc .updated { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.doc-card { background: var(--gray); border-radius: 28px; padding: 44px 48px; margin-top: 20px; }
@media (max-width: 600px) { .doc-card { padding: 30px 24px; border-radius: 22px; } }
.doc-card h2 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 14px; }
.doc-card h2:not(:first-child) { margin-top: 34px; }
.doc-card p { font-size: 17px; line-height: 1.7; color: var(--text-2); max-width: 38em; }
.doc-card p + p { margin-top: 14px; }
.doc-card b { color: var(--ink); font-weight: 600; }
.doc-card a { color: var(--blue); }
