/* BreakerOps site styles
   Edit colors here. Contrast was checked for the pairs used below. */
:root {
  --navy: #1b3a5c;
  --navy-dark: #132b45;
  --orange: #e8762b;        /* accents only: rules, borders, marks */
  --orange-text: #b4561a;   /* darker orange for any orange text on white (4.9:1) */
  --ink: #1b3a5c;           /* body text (11.6:1 on white) */
  --muted: #4a5d72;         /* secondary text (6.8:1 on white) */
  --surface: #ffffff;
  --tint: #f4f7fa;          /* light blue-gray panels */
  --tint-warm: #fdf3ec;     /* light orange panel */
  --line: #d9e1ea;
  --focus: #e8762b;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step-0: 1.0625rem;      /* 17px body */
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.35rem + 1.9vw, 2.625rem);
  --measure: 40rem;
  --wrap: 72rem;
  --gutter: 1rem;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; color: var(--navy); }
h1 { font-size: var(--step-3); font-weight: 750; letter-spacing: -0.01em; }
h2 { font-size: var(--step-2); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 640px) { :root { --gutter: 1.5rem; } }

.measure { max-width: var(--measure); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  min-height: 44px;
}
.brand svg { width: 28px; height: 28px; flex: none; }
.brand .ops { color: var(--orange-text); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}
.site-nav a:hover { background: var(--tint); }
.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--orange);
  border-radius: 6px 6px 0 0;
}
.site-nav .nav-cta { margin-left: 0.5rem; }

/* Mobile nav: only collapses when JS is running (html.js). Without JS the links stay visible. */
@media (max-width: 799px) {
  .js .nav-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }
  .site-nav { width: 100%; }
  .js .site-nav { display: none; padding-bottom: 0.75rem; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { width: 100%; border-radius: 6px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); border-radius: 0 6px 6px 0; background: var(--tint); }
  .site-nav .nav-cta { margin: 0.5rem 0 0; }
  .site-nav .nav-cta a { justify-content: center; }
  html:not(.js) .site-nav { padding-bottom: 0.75rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
  line-height: 1.2;
}
.btn:hover { background: var(--navy-dark); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--tint); }
.btn--small { min-height: 44px; padding: 0.5rem 1rem; font-size: 1rem; }
.site-nav .btn { color: #fff; }
.site-nav .btn:hover { background: var(--navy-dark); }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
@media (min-width: 800px) { .section { padding: 4rem 0; } }
.section--tint { background: var(--tint); }
.section--tight { padding: 2.25rem 0; }

.hero { padding: 2.5rem 0 2.75rem; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .hero { padding: 4rem 0; } }
.hero h1 { max-width: 46rem; }
.hero .lede { font-size: var(--step-1); color: var(--muted); max-width: 40rem; margin-bottom: 1.5rem; }
.hero .wrap::before {
  content: ""; display: block; width: 3rem; height: 4px; background: var(--orange); border-radius: 2px;
  margin-bottom: 1.25rem;
}

.page-head { padding: 2.5rem 0 1rem; }
@media (min-width: 800px) { .page-head { padding: 3.5rem 0 1.5rem; } }
.page-head .intro { font-size: 1.125rem; color: var(--muted); max-width: var(--measure); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.375rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink); }

/* Short how-it-works strip: lighter, compact, no card chrome */
.strip-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; }
.strip-head h2 a { text-decoration: none; }
.strip-head h2 a:hover { text-decoration: underline; }
.strip {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .strip { grid-template-columns: repeat(3, 1fr); } }
.strip li { padding-left: 0.875rem; border-left: 3px solid var(--orange); }
.strip strong { display: block; color: var(--navy); }
.strip p { margin: 0.125rem 0 0; color: var(--muted); }
.text-link { font-weight: 700; }

/* ---------- Panels ---------- */
.panel {
  background: var(--tint-warm);
  border: 1px solid #f3d3bd;
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  max-width: 48rem;
}
@media (min-width: 640px) { .panel { padding: 1.75rem 2rem; } }
.panel ul { margin: 0; padding-left: 1.25rem; }
.panel li { margin-bottom: 0.5rem; }
.panel li:last-child { margin-bottom: 0; }

.fit { max-width: var(--measure); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 2.5rem 0; }
@media (min-width: 800px) { .cta-band { padding: 3rem 0; } }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.cta-band p { margin: 0; font-size: var(--step-1); font-weight: 600; color: #fff; max-width: 34rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; }
.faq-item { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h2 { font-size: var(--step-1); margin-bottom: 0.5rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2rem; }
.email-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.5rem; }
.email-list a {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 1.125rem;
}
.form-wrap { max-width: 44rem; }
.form-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--tint);
  overflow: hidden;
}
/* Heights are deliberately generous so the Google Form never scrolls inside the frame.
   Google does not let the parent page measure the form; re-check these after any form edit. */
.form-frame iframe {
  display: block;
  width: 100%;
  border: 0;
  height: 1900px;
}
@media (min-width: 420px) { .form-frame iframe { height: 1800px; } }
@media (min-width: 700px) { .form-frame iframe { height: 1650px; } }
.form-fallback { margin-top: 0.75rem; }
.form-fallback a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.next-steps { margin-top: 2rem; max-width: var(--measure); }
.next-steps h2 { font-size: var(--step-1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #fff; padding: 2.5rem 0; font-size: 1rem; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.footer-info p { margin: 0 0 0.375rem; }
.footer-name { font-weight: 800; font-size: 1.125rem; }
.footer-note { color: #d6e0ea; margin-top: 0.75rem !important; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1rem; }
@media (min-width: 800px) { .footer-nav ul { justify-content: flex-end; } }
.footer-nav a, .footer-info a { display: inline-flex; align-items: center; min-height: 44px; }

.card h2, .card h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.context { font-size: 1.125rem; }
.strip-head h2 a::after { content: " \2192"; color: var(--orange-text); }
.section--after-head { padding-top: 1rem; }
.cta-band--center .cta-band-inner { justify-content: flex-start; }
.strip-head h2 a { display: inline-flex; align-items: center; min-height: 44px; }
.strip p { font-size: 1rem; line-height: 1.5; }
.strip strong { font-size: 1rem; }
@media (min-width: 900px) { .card { padding: 1.5rem 1.5rem 1.75rem; } .cards--3 .card { min-height: 12rem; } }
