/* One Hour of Development — matches Software KC's navy and green */
:root {
  --navy-900: #0f1d31;
  --navy-800: #142640;
  --navy-700: #1b3150;
  --green: #7ac143;
  --green-hover: #8bcf55;
  --green-text: #3f7a1a;
  --ink: #14233a;
  --muted: #4b5b70;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --card: #ffffff;
  --line: #dfe5ec;
  --link: #3f7a1a;
  --header-bg: #ffffff;
  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eef5;
    --muted: #a9b7c8;
    --bg: #142640;
    --bg-alt: #0f1d31;
    --card: #1b3150;
    --line: #2b4263;
    --link: #8fd05a;
    --green-text: #8fd05a;
    --header-bg: #0f1d31;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -10000px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--green); color: var(--navy-900); padding: .5rem 1rem; border-radius: 6px; }

/* Header */
.site-header { background: var(--header-bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding: .9rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 8px; background: var(--green); color: var(--navy-900); font-weight: 700; font-size: 1rem; }
.brand-accent { color: var(--green-text); }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.site-nav ul a:hover { color: var(--green-text); }
@media (max-width: 760px) {
  .site-header { position: static; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: .25rem 1rem; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; padding: .85rem 1.5rem; border-radius: 6px; border: 1px solid transparent; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--green); color: var(--navy-900); }
.btn-primary:hover { background: var(--green-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-small { padding: .6rem 1.1rem; font-size: .95rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.band-dark {
  --ink: #ffffff; --muted: #b8c6d6; --link: #9bd66a; --green-text: #8fd05a; --line: #2b4263; --card: #142640;
  background-color: var(--navy-700);
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  color: #e8eef5;
}
.band-dark .btn-outline { color: #ffffff; border-color: rgba(255, 255, 255, .55); }
.eyebrow { font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-text); margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.highlight { color: var(--green-text); }
.narrow { max-width: 46rem; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.small { font-size: .9rem; color: var(--muted); }
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; } }
.panel { background: var(--navy-800); color: #e8eef5; border-radius: 14px; padding: 2rem; }

/* Cards */
.card-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-tag { display: inline-block; font-family: var(--font-head); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); margin-bottom: .75rem; }

/* Lists */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.5rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 8px; background: var(--green); color: var(--navy-900); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; }
.checklist { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .5rem; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green-text); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4em; }
.note { border-left: 4px solid var(--green); background: var(--bg-alt); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: 1.1rem; max-width: 40rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: .35rem; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: .75rem .9rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 0; }
.field-hint { font-size: .9rem; color: var(--muted); margin: .3rem 0 0; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 1rem 1.25rem; border-radius: 6px; font-weight: 500; }
.form-status.is-success { background: rgba(122, 193, 67, .15); border: 1px solid var(--green); }
.form-status.is-error { background: rgba(214, 69, 69, .12); border: 1px solid #d64545; }

/* Footer */
.site-footer { --ink: #ffffff; --link: #9bd66a; --green-text: #8fd05a; background: var(--navy-900); color: #b8c6d6; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.footer-heading { font-family: var(--font-head); font-weight: 600; color: #ffffff; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { color: #d6e0ea; text-decoration: none; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }