:root {
  --navy: #10233f;
  --navy-deep: #0a1830;
  --ink: #1d2733;
  --paper: #fafbfc;
  --card: #ffffff;
  --accent: #2e5be6;
  --accent-dark: #1f44c0;
  --accent-light: #8fa8ff;
  --muted: #5b6a7c;
  --line: #e4e7ec;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; color: var(--navy); }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--accent-dark); text-decoration: none; }
.btn {
  display: inline-block; background: var(--navy); color: #fff !important;
  padding: 12px 26px; border-radius: 6px; font-weight: 600; font-size: 0.95rem;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--navy-deep); text-decoration: none !important; }
.btn.gold { background: var(--accent); }
.btn.gold:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--navy) !important; border: 1.5px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff !important; }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 84px 0 76px; }
.hero .kicker { color: var(--accent-light); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 17ch; margin-bottom: 22px; }
.hero p { max-width: 56ch; color: #c9d3e2; font-size: 1.15rem; margin-bottom: 34px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn.ghost { border-color: #ffffff55; color: #fff !important; }
.hero .btn.ghost:hover { background: #ffffff18; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head .kicker { color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 28px; display: flex; flex-direction: column;
}
section.alt .card { background: var(--paper); }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card .tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-dark); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .price { font-family: 'Fraunces', Georgia, serif; font-size: 1.55rem; color: var(--navy); margin: 16px 0 4px; }
.card .price small { font-family: 'Inter', sans-serif; font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.card ul { list-style: none; margin: 14px 0 20px; }
.card ul li { padding-left: 24px; position: relative; margin-bottom: 9px; color: var(--ink); font-size: 0.95rem; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.card .btn { margin-top: auto; text-align: center; }
.card.featured { border: 2px solid var(--accent); position: relative; }
.card.featured::after {
  content: "Most popular first step"; position: absolute; top: -13px; left: 24px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 12px; border-radius: 20px;
}

/* Promise band */
.band { background: var(--navy); color: #fff; padding: 54px 0; }
.band .grid { gap: 34px; }
.band h3 { color: var(--accent-light); font-size: 1.15rem; margin-bottom: 8px; }
.band p { color: #c9d3e2; font-size: 0.96rem; }

/* Segments */
.seg { border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin-bottom: 30px; }
.seg h3 { font-size: 1.2rem; margin-bottom: 4px; }
.seg .who { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.seg p { color: var(--muted); font-size: 0.98rem; max-width: 68ch; }

/* Insights */
.post-card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(16, 35, 63, 0.08); }
.post-card .date { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.post-card a.title { color: var(--navy); font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; font-weight: 600; line-height: 1.3; display: block; margin-bottom: 10px; }
.post-card a.title:hover { color: var(--accent-dark); text-decoration: none; }

/* Article */
.article { max-width: 720px; margin: 0 auto; padding: 70px 24px 90px; }
.article .date { color: var(--muted); font-size: 0.88rem; margin-bottom: 12px; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 26px; }
.article h2 { font-size: 1.4rem; margin: 38px 0 14px; }
.article p { margin-bottom: 18px; }
.article .cta-box {
  background: var(--navy); color: #c9d3e2; border-radius: 10px;
  padding: 30px; margin-top: 44px;
}
.article .cta-box h3 { color: #fff; margin-bottom: 8px; }
.article .cta-box .btn { margin-top: 16px; }

/* Legal */
.legal { max-width: 780px; margin: 0 auto; padding: 70px 24px 90px; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.15rem; margin: 30px 0 10px; }
.legal p { margin-bottom: 12px; font-size: 0.95rem; color: var(--ink); }

/* Case studies */
.metric { font-family: 'Fraunces', Georgia, serif; font-size: 2.6rem; font-weight: 700; color: var(--accent); margin: 16px 0 2px; line-height: 1.1; }
.metric small { display: block; font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.fineprint { font-size: 0.85rem; color: var(--muted); margin-top: 22px; }

/* Meet Ian */
.bio-grid { display: grid; grid-template-columns: 210px 1fr; gap: 40px; align-items: start; }
.portrait { background: var(--navy); border-radius: 12px; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; position: relative; overflow: hidden; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.portrait .initials { font-family: 'Fraunces', Georgia, serif; font-size: 4.2rem; font-weight: 700; color: var(--accent-light); line-height: 1; }
.portrait .caption { color: #c9d3e2; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.bio-facts { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: 0.9rem; color: var(--muted); }
.bio-facts div { padding: 5px 0; }
.bio-facts strong { color: var(--ink); font-weight: 600; }
.bio-copy p { margin-bottom: 16px; color: var(--ink); }
.bio-copy p.lede { font-size: 1.12rem; color: var(--navy); }
@media (max-width: 720px) { .bio-grid { grid-template-columns: 1fr; } .portrait { max-width: 260px; } }

/* Emphasis */
.pullquote {
  font-family: 'Fraunces', Georgia, serif; font-size: 1.3rem; font-weight: 600;
  line-height: 1.4; color: var(--navy);
  border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; border-radius: 0;
}
.pullquote span { color: var(--accent-dark); font-style: italic; }
.article .pullquote { font-size: 1.45rem; margin: 30px 0; }
.pop { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 600; color: var(--accent-dark); }

/* AI spotlight */
.spotlight { background: var(--navy); padding: 72px 0; }
.spotlight .section-head .kicker { color: var(--accent-light); }
.spotlight .section-head h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.7rem); }
.spotlight .section-head p { color: #c9d3e2; font-size: 1.1rem; }
.spotlight .card { background: #fff; border: none; }
.spotlight .card.featured { border: 2px solid var(--accent); }
.pill {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-left: 10px; vertical-align: middle;
}

/* Photo band */
.photo-band { margin: 40px auto 0; border-radius: 12px; overflow: hidden; max-width: 780px; }
.photo-band img { display: block; width: 100%; height: 280px; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 720px) { .photo-band img { height: 190px; } }
.photo-band figcaption { background: var(--navy); color: #c9d3e2; font-size: 0.85rem; padding: 10px 18px; }

/* Contact */
.contact { text-align: center; }
.contact h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.contact p { color: var(--muted); max-width: 54ch; margin: 0 auto 30px; }

/* Footer */
footer { background: var(--navy-deep); color: #8ea0b8; padding: 44px 0; font-size: 0.88rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
footer a { color: #c9d3e2; }
footer .logo { color: #fff; font-size: 1.05rem; }

@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-links a.hide-m { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 68px 0 60px; }
}
