:root {
  --bg: #071425;
  --surface: #0d2036;
  --ink: #f0f0f0;
  --muted: #b3bfd0;
  --accent: #c92a2a;
  --accent-2: #8f1d1d;
  --line: #2a3f59;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 12% 10%, #1a3352 0%, var(--bg) 52%) fixed;
  color: var(--ink);
  line-height: 1.5;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.inner {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  backdrop-filter: blur(10px);
  background: rgba(7, 20, 37, 0.8);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  border-radius: 6px;
}

.brand-top {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-bottom {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-top: 2.1rem;
  margin-bottom: 1rem;
  padding: 6rem 2.2rem 3.2rem;
  background: linear-gradient(180deg, rgba(7, 20, 37, 0.42), rgba(7, 20, 37, 0.72));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 20, 37, 0.85), rgba(7, 20, 37, 0.32)),
    url("/images/spokane-lower-falls.jpg") center center / cover no-repeat;
  opacity: 0.85;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
}

h1,
h2,
h3 {
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.3rem);
  max-width: 16ch;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 1rem 0 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}

.hero .btn-ghost {
  background: rgba(13, 32, 54, 0.9);
  border-color: #3f5e82;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0;
  margin: 2rem 0 0;
}

.stats li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 0.8rem;
  color: var(--muted);
}

.stats span {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.panel h2 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  margin-bottom: 0.7rem;
}

.section-lead {
  margin: 0 0 1rem;
}

.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-link:hover {
  color: #df4040;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.grid-3 article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.015);
}

.grid-3 p,
.panel p,
.panel li {
  color: var(--muted);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.domain-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.015);
}

.domain-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.domain-head h3 {
  font-size: 1.05rem;
}

.icon-badge {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3a3d43;
  background: rgba(255, 255, 255, 0.03);
  color: #d2d6dd;
  flex-shrink: 0;
}

.icon-badge i {
  font-size: 0.85rem;
  line-height: 1;
}

.domain-card p {
  margin: 0.45rem 0 0;
}

.domain-card strong {
  color: var(--ink);
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.expect-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.015);
}

.expect-grid h3 {
  margin-bottom: 0.45rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.pill {
  border: 1px solid #3a3d43;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
  color: #d8dbe0;
}

.callout ul {
  margin: 0.4rem 0 0;
}

.final-cta {
  margin-bottom: 3rem;
}

.questions-contact {
  margin: -1.75rem auto 2.25rem;
}

.questions-contact h2 {
  margin-bottom: 0.45rem;
}

.questions-contact .small {
  margin: 0.2rem 0;
}

.ml-form-embedContainer {
  width: 100%;
  margin-top: 1rem;
}

.ml-form-align-center {
  width: 100%;
}

.ml-form-embedWrapper {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 680px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
}

.ml-form-embedBody,
.ml-form-successBody {
  padding: 1rem;
}

.ml-block-form {
  margin: 0;
}

.ml-form-embedContent h4,
.ml-form-successContent h4 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.ml-form-embedContent p,
.ml-form-successContent p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.ml-form-fieldRow {
  margin-bottom: 0.65rem;
}

.ml-form-fieldRow input,
.ml-form-fieldRow textarea {
  width: 100%;
  border: 1px solid #3a3d43;
  border-radius: 10px;
  background: #14161a;
  color: var(--ink);
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.ml-form-fieldRow textarea {
  min-height: 92px;
  resize: vertical;
}

.ml-form-fieldRow input::placeholder,
.ml-form-fieldRow textarea::placeholder {
  color: #8f96a1;
}

.ml-form-embedPermissionsContent p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.2rem 0 0.75rem;
}

.ml-form-recaptcha {
  margin: 0.7rem 0 0.85rem;
}

.ml-form-embedSubmit {
  margin-top: 0.5rem;
}

.ml-form-embedSubmit button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* MailerLite hard overrides for consistent chapter styling */
#mlb2-37840067.ml-form-embedContainer {
  width: 100% !important;
  margin: 1rem 0 0 !important;
}

#mlb2-37840067 .ml-form-align-center {
  width: 100% !important;
}

#mlb2-37840067 .ml-form-embedWrapper,
#mlb2-37840067 .ml-form-embedWrapper.embedForm,
#mlb2-37840067 .ml-form-embedWrapper.embedDefault,
#mlb2-37840067 .ml-form-embedWrapper.embedPopup {
  max-width: 100% !important;
  width: 100% !important;
  background: #0d2036 !important;
  border: 1px solid #2a3f59 !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

#mlb2-37840067 .ml-form-embedBody,
#mlb2-37840067 .ml-form-successBody {
  padding: 1rem !important;
}

#mlb2-37840067 .ml-form-embedContent h4,
#mlb2-37840067 .ml-form-successContent h4 {
  color: #f0f0f0 !important;
  font-family: "Space Grotesk", "Segoe UI", sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 0 0.45rem !important;
}

#mlb2-37840067 .ml-form-embedContent p,
#mlb2-37840067 .ml-form-successContent p,
#mlb2-37840067 .ml-form-embedPermissionsContent p {
  color: #b8bcc3 !important;
  font-family: "Space Grotesk", "Segoe UI", sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

#mlb2-37840067 .ml-form-successContent .ml-success-accent {
  color: #c92a2a !important;
  font-weight: 600 !important;
}

#mlb2-37840067 .ml-form-formContent {
  margin-bottom: 0.5rem !important;
}

#mlb2-37840067 .ml-form-fieldRow {
  margin: 0 0 0.65rem !important;
}

#mlb2-37840067 .ml-form-fieldRow.ml-last-item {
  margin-bottom: 0 !important;
}

#mlb2-37840067 input[type="text"],
#mlb2-37840067 input[type="email"],
#mlb2-37840067 textarea {
  width: 100% !important;
  background: #102844 !important;
  color: #f0f0f0 !important;
  border: 1px solid #355171 !important;
  border-radius: 10px !important;
  font-family: "Space Grotesk", "Segoe UI", sans-serif !important;
  font-size: 0.96rem !important;
  line-height: 1.4 !important;
  padding: 0.68rem 0.8rem !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#mlb2-37840067 textarea {
  min-height: 96px !important;
  resize: vertical !important;
}

#mlb2-37840067 input::placeholder,
#mlb2-37840067 textarea::placeholder {
  color: #8f96a1 !important;
}

#mlb2-37840067 input:focus,
#mlb2-37840067 textarea:focus {
  outline: none !important;
  border-color: #c92a2a !important;
  box-shadow: 0 0 0 3px rgba(201, 42, 42, 0.2) !important;
}

#mlb2-37840067 .ml-form-embedPermissions {
  margin-top: 0.7rem !important;
}

#mlb2-37840067 .ml-form-recaptcha {
  margin: 0.75rem 0 0.85rem !important;
  padding: 0.55rem !important;
  border: 1px solid #2a3f59 !important;
  border-radius: 10px !important;
  background: #0c1d33 !important;
  overflow-x: auto !important;
}

#mlb2-37840067 .ml-form-embedSubmit {
  margin: 0.35rem 0 0 !important;
}

#mlb2-37840067 .ml-form-embedSubmit button {
  width: 100% !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background: linear-gradient(135deg, #c92a2a, #8f1d1d) !important;
  color: #fff !important;
  font-family: "Space Grotesk", "Segoe UI", sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  padding: 0.72rem 1rem !important;
  cursor: pointer !important;
}

#mlb2-37840067 .ml-form-embedSubmit button:hover {
  background: linear-gradient(135deg, #d73434, #9b2424) !important;
}

#mlb2-37840067 .ml-field-group.ml-error input,
#mlb2-37840067 .ml-field-group.ml-error textarea {
  border-color: #ff4d4f !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.2) !important;
}

#mlb2-37840067 .ml-field-error,
#mlb2-37840067 .ml-form-feedback {
  margin: 0.4rem 0 0;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  color: #ff8787 !important;
  font-family: "Space Grotesk", "Segoe UI", sans-serif !important;
}

#mlb2-37840067 .ml-form-feedback {
  margin-top: 0.65rem;
}

.small,
.small a {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2.8rem;
  color: #90959d;
  font-size: 0.9rem;
}

.page-credit {
  margin-top: 0.55rem;
}

.page-credit a {
  color: #c7d6ee;
}

.faq-page {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding-top: 1.2rem;
}

.faq-page h1 {
  font-size: clamp(1.85rem, 4.4vw, 2.8rem);
  max-width: none;
}

.faq-content {
  margin-top: 1.2rem;
}

.faq-content h2 {
  margin: 0 0 1rem;
}

.faq-content h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.15rem;
}

.faq-content p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .stats,
  .grid-3,
  .domains-grid,
  .expect-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4.6rem 1.2rem 2.4rem;
  }

  .site-header .inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
  }

  .ml-form-embedBody,
  .ml-form-successBody {
    padding: 0.8rem;
  }

  .ml-form-recaptcha .g-recaptcha {
    transform: scale(0.94);
    transform-origin: left top;
  }

  #mlb2-37840067 .ml-form-recaptcha {
    padding: 0.45rem !important;
  }

  #mlb2-37840067 .ml-form-embedBody,
  #mlb2-37840067 .ml-form-successBody {
    padding: 0.85rem !important;
  }
}
