/* CRM Growth Studio — site styles
   Brand colors live in the :root block below; change them there and the whole site follows. */
:root {
  --ink: #0d2430;
  --text: #33464f;
  --muted: #64767e;
  --teal: #11566e;
  --teal-dark: #0b3f52;
  --blue: #008afc;
  --sky: #6ec1e4;
  --mist: #f2f8fb;
  --line: #dde8ee;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px -24px rgba(13, 36, 48, .35);
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; background: var(--teal); color: #fff; font: 600 .98rem var(--body); text-decoration: none; border: 2px solid var(--teal); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(17, 86, 110, .7); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--mist); color: var(--teal-dark); }
.btn-light { background: #fff; color: var(--teal); border-color: #fff; }
.btn-light:hover { background: var(--mist); border-color: var(--mist); color: var(--teal-dark); }
.btn-small { padding: .6em 1.1em; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.actions.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--teal); }
.text-link:hover { color: var(--blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(221, 232, 238, .7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: var(--blue); }
.nav-toggle, .nav-burger { display: none; }

/* Eyebrow + section headings */
.eyebrow { display: inline-block; font: 600 .8rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 1em; }
.eyebrow.light { color: var(--sky); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tight { padding-top: 24px; }
.section.tint { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head p:last-child { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.center .lead { margin-inline: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0; background:
  radial-gradient(600px 400px at 85% 20%, rgba(110, 193, 228, .35), transparent 70%),
  radial-gradient(500px 380px at 5% 90%, rgba(0, 138, 252, .12), transparent 70%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.accent { background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 28px; aspect-ratio: 1; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.chip { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: grid; line-height: 1.25; }
.chip strong { font-family: var(--head); color: var(--teal); font-size: 1.35rem; }
.chip span { font-size: .82rem; color: var(--muted); }
.chip-a { left: -28px; bottom: 48px; }
.chip-b { right: -20px; top: 36px; }
.page-hero { padding: clamp(56px, 8vw, 96px) 0 40px; background: radial-gradient(700px 360px at 50% 0%, rgba(110, 193, 228, .28), transparent 70%); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); flex: 1; }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; margin-bottom: 22px; }
.card-icon .icon { width: 26px; height: 26px; }
.card-meta { font-size: .85rem; font-weight: 600; color: var(--blue); margin-bottom: .5em; flex: none !important; }
.card-link { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; text-decoration: none; }

/* Dark band */
.band { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #d8ebf2; }
.band h2 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); padding: 16px 18px; border-radius: 14px; color: #fff; font-weight: 500; }
.checks .icon { color: var(--sky); }

.story img.rounded { border-radius: 24px; aspect-ratio: 1; object-fit: cover; object-position: top; box-shadow: var(--shadow); }
.story h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Feature (sprint) */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 36px; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: linear-gradient(135deg, var(--teal-dark), var(--teal) 60%, #1a7fa3); color: #d8ebf2; }
.feature h2 { color: #fff; }
.feature-sub { font-family: var(--head); font-size: 1.2rem; color: #fff; }
.feature-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; background: rgba(255, 255, 255, .12); color: var(--sky); }
.feature-icon .icon { width: 36px; height: 36px; }
.feature p:not(.eyebrow):not(.feature-sub) { max-width: 46em; }

/* Books */
.books { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.book { display: grid; grid-template-columns: 140px 1fr; gap: 28px; background: #fff; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.book img { border-radius: 8px; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .45); }
.book p { color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img, .post-card-blank { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: linear-gradient(135deg, var(--sky), var(--teal)); }
.post-card-body { padding: 22px 24px 26px; }
.post-card time { font-size: .82rem; color: var(--blue); font-weight: 600; }
.post-card h3 { margin: .4em 0 .5em; }
.post-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.archive-title { margin-top: 72px; font-size: 1.6rem; }
.archive { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.archive a { display: flex; justify-content: space-between; gap: 24px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.archive a:hover .archive-t { color: var(--blue); }
.archive time { color: var(--muted); font-size: .9rem; white-space: nowrap; }

/* Single post */
.post-head { padding-top: 56px; }
.back { font-size: .92rem; text-decoration: none; font-weight: 600; }
.post-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: .6em; }
.post-meta { color: var(--muted); font-size: .95rem; }
.post-cover { margin: 32px auto 8px; max-width: 1000px; }
.post-cover img { width: 100%; border-radius: 22px; max-height: 560px; object-fit: cover; }
.prose { padding: 32px 0 16px; font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose img { border-radius: 14px; margin: 1.6em auto; }
.prose blockquote { margin: 1.6em 0; padding: .4em 0 .4em 1.3em; border-left: 4px solid var(--sky); color: var(--ink); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); }
.prose iframe { max-width: 100%; }
.post-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; padding: 32px; border-radius: var(--radius); background: var(--mist); }
.post-cta h2 { font-size: 1.35rem; }
.post-cta p { margin: 0; color: var(--muted); }
.post-cta .btn { flex: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px auto 96px; }
.post-nav a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); font-weight: 600; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
.post-nav a:hover { border-color: var(--sky); }
.post-nav span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.post-nav .right { text-align: right; }

/* CTA + footer */
.cta { padding: clamp(64px, 8vw, 100px) 0; background: radial-gradient(600px 300px at 20% 0%, rgba(110, 193, 228, .35), transparent 70%), linear-gradient(135deg, var(--blue), var(--teal)); color: #e6f4fa; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 34em; margin: 0 auto 1.8em; }
.site-footer { background: #0a1c25; color: #c6d6dd; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 200px; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer a, .site-footer span { display: block; color: #c6d6dd; text-decoration: none; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #8ea4ad; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8ea4ad; font-size: .85rem; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-photo { max-width: 440px; margin-inline: auto; }
  .cards, .post-grid { grid-template-columns: 1fr 1fr; }
  .books { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story img.rounded { width: 100%; max-width: 420px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-burger { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; }
  .nav-burger span::before { position: absolute; top: -7px; }
  .nav-burger span::after { position: absolute; top: 7px; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .cards, .post-grid, .footer-grid, .feature { grid-template-columns: 1fr; }
  .book { grid-template-columns: 100px 1fr; padding: 20px; gap: 18px; }
  .chip-a { left: 8px; } .chip-b { right: 8px; }
  .post-cta { flex-direction: column; align-items: flex-start; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .right { text-align: left; }
  .archive a { flex-direction: column; gap: 2px; }
}

/* Keep grid columns from growing wider than the screen */
.hero-grid > *, .split > *, .cards > *, .post-grid > *, .books > *, .footer-grid > * { min-width: 0; }
