/* Brand tokens: the same palette and type as the Shopify theme
   (Themes/springboard-site, config/settings_data.json color_palette).
   Change a brand color in both places. */
:root {
  color-scheme: light;
  --cream: #faf8f4;     /* page background */
  --navy: #14243a;      /* text */
  --ink-soft: #47566b;  /* secondary text */
  --line: #dfe3e0;      /* borders */
  --midnight: #00042a;  /* header, footer */
  --orange: #c4471c;    /* buttons and accents on light backgrounds */
  --cyan: #04e4ff;      /* announcement text on midnight */
  --white: #ffffff;
  --radius: 14px;
  --font-heading: "Roboto", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
}

h1, h2, h3, legend { font-family: var(--font-heading); }
a { color: var(--orange); }

/* Header and footer: midnight, like the Shopify site */
.announcement {
  padding: 0.6rem 1rem;
  background: var(--midnight);
  border-bottom: 1px solid #1b2150;
  color: var(--cyan);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.site-header { background: var(--midnight); }
.site-header__inner,
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.site-header__logo img { display: block; width: 240px; max-width: 60vw; height: auto; }
.site-header__menu { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.site-header__menu a { color: var(--white); text-decoration: none; }
.site-header__menu a:hover { text-decoration: underline; }

.site-footer { margin-top: 4rem; background: var(--midnight); color: var(--white); }
.site-footer__inner { padding-block: 2.5rem; }
.site-footer__brand img { display: block; width: 192px; height: auto; }
.site-footer__brand p { margin: 0.75rem 0 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.875rem; color: #c9cfdc; }
.site-footer__legal a { color: inherit; }

/* Page body */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; }
.intro, .lede { color: var(--ink-soft); margin: 0 0 2rem; }

/* Form */
fieldset {
  border: none;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  margin: 0;
}
fieldset:first-of-type { border-top: none; }

legend {
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0 0 0.6rem;
  width: 100%;
}
.help { color: var(--ink-soft); font-size: 0.95rem; margin: -0.3rem 0 0.6rem; }

label.option {
  display: block;
  padding: 0.45rem 0.25rem;
  cursor: pointer;
}
label.option:hover { color: var(--orange); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--orange); }

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #b9c1bd;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
  margin-top: 0.3rem;
}
input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.field { margin: 0.75rem 0; }
.conditional { margin-top: 0.75rem; padding-left: 1rem; border-left: 3px solid var(--line); }
.conditional legend { font-size: 1rem; }
.optional { color: var(--ink-soft); font-weight: 400; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons: orange primary, outlined secondary, as on the Shopify site */
.button, button.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--orange);
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #a93c17; border-color: #a93c17; }
.button--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.button--secondary:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.button[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* Result page */
.plans { display: grid; gap: 1.5rem; margin: 1.5rem 0; }
.plan {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.plan--primary { border: 2px solid var(--orange); }
.plan__eyebrow {
  margin: 0;
  color: var(--orange);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan h2 { margin: 0.25rem 0; font-size: 1.6rem; }
.plan__price { margin: 0; font-weight: 600; }
.plan__note { color: var(--ink-soft); margin: 0.5rem 0 0; }
.plan__costs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; margin: 1.25rem 0 0.5rem; }
.plan__costs div { padding: 0.75rem 1rem; border-radius: 10px; background: var(--cream); }
.plan__costs dt { color: var(--ink-soft); font-size: 0.9rem; }
.plan__costs dd { margin: 0; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }
.plan__fineprint { color: var(--ink-soft); font-size: 0.9rem; margin: 0.5rem 0 1rem; }
.plan__confirm { display: flex; gap: 0.5rem; align-items: center; font-weight: 600; cursor: pointer; }
.result__note { padding: 0.9rem 1rem; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.result__ref { color: var(--ink-soft); font-size: 0.9rem; }
