/* Agile Board Practice. Plain, corporate on purpose: system fonts, navy and slate, square-ish corners. */

:root {
  --navy: #1e3a5f;
  --navy-2: #16304f;
  --teal: #0f6e64;
  --teal-2: #0b5850;
  --ink: #1f2933;
  --ink-2: #4a5866;
  --ink-3: #6b7785;
  --line: #d9dee5;
  --band: #f4f6f9;
  --hero: #eef2f7;
  --white: #ffffff;
  --ok: #1f7a3d;
  --err: #b3261e;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1d4e89; }
a:hover { color: var(--navy-2); }
h1, h2, h3 { color: var(--navy-2); line-height: 1.25; margin: 0 0 14px; }
h1 { font-size: 40px; letter-spacing: -0.01em; }
h2 { font-size: 28px; }
h3 { font-size: 18px; margin-bottom: 6px; }
p { margin: 0 0 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
/* Narrow sections keep the page's left edge and only limit the line length. */
.narrow > * { max-width: 780px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-2); font-weight: 700; font-size: 18px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--navy-2); text-decoration: underline; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: 4px; border: 1px solid transparent; font: 600 16px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-2); color: var(--white); }
.btn-small { height: 38px; padding: 0 14px; font-size: 15px; }
.btn:disabled { opacity: 0.6; cursor: default; }

.waitlist { margin: 22px 0 18px; max-width: 520px; }
.waitlist-row { display: flex; gap: 8px; }
.waitlist input[type=email] { flex: 1; min-width: 0; height: 46px; padding: 0 12px; border: 1px solid #b8c2cc; border-radius: 4px; font: 16px var(--font); color: var(--ink); background: var(--white); }
.waitlist input[type=email]:focus, .waitlist select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.role-label { display: inline-block; margin: 10px 6px 0 0; font-size: 15px; color: var(--ink-2); }
.waitlist select { margin-top: 10px; height: 36px; padding: 0 8px; border: 1px solid #b8c2cc; border-radius: 4px; font: 15px var(--font); color: var(--ink); background: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-note { font-size: 14px; color: var(--ink-3); margin: 10px 0 0; }
.form-msg { margin: 12px 0 0; padding: 10px 12px; border-radius: 4px; font-size: 15px; }
.form-msg.ok { background: #e7f4ea; color: var(--ok); border: 1px solid #bfdfc7; }
.form-msg.err { background: #fbeceb; color: var(--err); border: 1px solid #f0c7c3; }

/* Hero */
.hero { background: var(--hero); border-bottom: 1px solid var(--line); padding: 56px 0 60px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--ink-2); }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--ink-2); }
.facts li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 6px; }
.hero-shot { margin: 0; }
.hero-shot img { border: 1px solid #c9d1da; border-radius: 6px; box-shadow: 0 12px 32px rgba(22, 48, 79, 0.16); background: var(--white); }
.hero-shot figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; text-align: center; }

/* Sections */
.section { padding: 64px 0; }
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band:not(.section) { padding: 64px 0; }
.section-intro { color: var(--ink-2); margin-bottom: 26px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.two-col.reverse > figure { order: -1; }
.illus { margin: 0; }
.illus img { border-radius: 6px; border: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 4px; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--ink-2); margin: 0; font-size: 16px; }
.after-steps { margin-top: 26px; color: var(--ink-2); }

.lessons { list-style: none; counter-reset: lesson; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.lessons li { counter-increment: lesson; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 4px; padding: 18px 20px; }
.lessons h3::before { content: "Lesson " counter(lesson) ": "; color: var(--teal); }
.lessons p { margin: 0; color: var(--ink-2); font-size: 16px; }

.ticks { padding: 0; margin: 0 0 16px; list-style: none; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; margin: 0; }
.terms > div { border-top: 1px solid var(--line); padding: 14px 0; }
.terms dt { font-weight: 700; color: var(--navy-2); margin-bottom: 4px; }
.terms dd { margin: 0; color: var(--ink-2); font-size: 16px; }

details { background: var(--white); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--navy-2); }
details p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

.cta { background: var(--navy); color: #dfe7f1; }
.cta h2 { color: var(--white); }
.cta .form-note, .cta .role-label { color: #b9c7d8; }
.cta .form-note a { color: #dfe7f1; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--ink-3); }
.footer-in p { margin: 0 0 6px; }
.disclaimer { max-width: 760px; }

/* Plain pages */
.page { padding: 48px 0 64px; }
.page h1 { font-size: 34px; }
.page h2 { font-size: 22px; margin-top: 30px; }

@media (max-width: 900px) {
  h1 { font-size: 32px; }
  .nav { display: none; }
  .header-in { justify-content: space-between; }
  .hero-in, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse > figure { order: 0; }
  .steps, .lessons { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .waitlist-row { flex-direction: column; }
  .waitlist input[type=email] { flex: none; width: 100%; }
  .terms { grid-template-columns: 1fr; }
  .header-in .btn-small { display: none; }
}
