:root {
  --blue: #082744;
  --blue-soft: #123a5c;
  --orange: #e87500;
  --orange-dark: #c96300;
  --cream: #f7f1e8;
  --cream-soft: #fbf7ef;
  --white: #ffffff;
  --text: #10233d;
  --muted: #5d6877;
  --line: #e5dccf;
  --green: #557c65;
  --green-soft: #eef5ef;
  --earth: #8a6a3f;
  --shadow: 0 18px 46px rgba(8, 39, 68, 0.1);
  --radius: 8px;
  --container: min(1160px, calc(100% - 36px));
  --sans: "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream-soft);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
h1,
h2,
h3,
figure,
ul,
ol {
  margin-top: 0;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(232, 117, 0, 0.38);
  outline-offset: 3px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  font-weight: 850;
}

.container {
  width: var(--container);
  margin: 0 auto;
  min-width: 0;
}

main[id],
section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  min-height: 76px;
  padding: 0 max(14px, calc((100% - 1360px) / 2));
  border-bottom: 1px solid rgba(229, 220, 207, 0.86);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(8, 39, 68, 0.04);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(8, 39, 68, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  max-height: 45px;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.12;
}

.brand-copy strong {
  color: var(--blue);
  font-size: 16px;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(6px, 0.65vw, 10px);
  flex: 1 1 auto;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 730;
  line-height: 1;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: var(--radius);
  color: var(--text);
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--orange);
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 2px 0;
  border-radius: 999px;
  background: currentColor;
}

.button,
.header-button,
.mobile-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.button-primary,
.header-button.primary,
.mobile-bar a:first-child {
  background: var(--orange);
  color: var(--white);
}

.button-primary:hover,
.header-button.primary:hover {
  background: var(--orange-dark);
}

.button-secondary,
.header-button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue);
}

.button-blue {
  background: var(--blue);
  color: var(--white);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button-text {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--orange-dark);
  font-weight: 850;
}

.eyebrow,
.pill-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--serif);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.15rem, 4vw, 4.15rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

h3 {
  margin: 0 0 8px;
  color: var(--blue);
  line-height: 1.25;
  font-size: 1.16rem;
}

.hero {
  position: relative;
  padding: clamp(46px, 7vw, 84px) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(85, 124, 101, 0.12), transparent 28%),
    linear-gradient(180deg, var(--cream) 0%, #fffaf2 52%, var(--white) 100%);
}

.hero.home-hero {
  padding-bottom: 42px;
}

.hero-grid,
.split-grid,
.contact-grid,
.legal-grid,
.image-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-lead,
.section-lead {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-story {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  color: var(--text);
}

.hero-story p {
  margin: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-note {
  margin: 18px 0 0;
  color: var(--blue);
  font-weight: 780;
}

.hero-card,
.image-card,
.form-card,
.card,
.mini-card,
.faq-item,
.summary-panel,
.contact-panel,
.legal-panel,
.selection-card,
.split-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-card,
.image-card,
.split-media {
  overflow: hidden;
}

.hero-card img {
  aspect-ratio: 16 / 12;
  object-fit: cover;
}

.hero-card figcaption,
.split-media figcaption,
.image-card figcaption {
  padding: 18px 22px;
  color: var(--blue);
  font-weight: 760;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.trust-grid article {
  min-height: 96px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
}

.trust-grid span,
.card span,
.mini-card span,
.step-list span,
.factor-list span,
.selection-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.trust-grid strong {
  display: block;
  color: var(--blue);
  line-height: 1.3;
}

.section {
  padding: clamp(58px, 8vw, 92px) 0;
}

.white-section {
  background: var(--white);
}

.cream-section {
  background: var(--cream);
}

.soft-section {
  background: #f4f8f3;
}

.blue-section,
.contact-section {
  background: var(--blue);
  color: var(--white);
}

.blue-section h2,
.blue-section h3,
.contact-section h2,
.contact-section h3 {
  color: var(--white);
}

.blue-section .section-lead,
.contact-section .section-lead,
.blue-section p,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:last-child,
.card p:last-child,
.mini-card p:last-child,
.summary-panel p:last-child,
.contact-panel p:last-child,
.legal-panel p:last-child {
  margin-bottom: 0;
}

.card-grid,
.factor-list,
.motive-grid,
.selection-grid,
.legal-list {
  display: grid;
  gap: 18px;
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.mini-card,
.summary-panel,
.contact-panel,
.legal-panel,
.selection-card {
  padding: 24px;
}

.card p,
.mini-card p,
.factor-list p,
.motive-grid p,
.summary-panel p,
.legal-panel p,
.selection-card p {
  color: var(--muted);
}

.entry-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.entry-card .actions {
  margin-top: auto;
  padding-top: 20px;
}

.selection-card {
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.selection-card:hover,
.selection-card:focus-visible {
  border-color: rgba(232, 117, 0, 0.55);
  box-shadow: 0 18px 46px rgba(232, 117, 0, 0.13);
  transform: translateY(-2px);
}

.image-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.check-list,
.plain-list,
.dense-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li,
.plain-list li,
.dense-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
}

.check-list li::before,
.plain-list li::before,
.dense-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.blue-section .check-list li,
.blue-section .plain-list li,
.blue-section .dense-list li {
  color: rgba(255, 255, 255, 0.86);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  list-style: none;
}

.step-list li {
  min-height: 196px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.step-list li:last-child {
  border-right: 0;
}

.blue-section .step-list {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.blue-section .step-list li {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.blue-section .step-list p {
  color: rgba(255, 255, 255, 0.78);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 720;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.photo-strip .image-card img {
  aspect-ratio: 4 / 3;
}

.form-card {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  color: var(--blue);
  font-size: 14px;
  font-weight: 820;
}

.field label span {
  color: var(--muted);
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label,
.privacy-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
  color: var(--text);
  font-weight: 650;
}

.choice-grid input,
.privacy-line input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--orange);
}

.optional-box {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
}

.optional-box summary {
  padding: 14px 16px;
  color: var(--blue);
  font-weight: 850;
  cursor: pointer;
}

.optional-box .form-grid {
  padding: 0 16px 16px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.field-error,
.form-error {
  min-height: 20px;
  margin: 0;
  color: #9f2f24;
  font-size: 14px;
  font-weight: 720;
}

.form-status {
  margin: 10px 0 0;
  color: var(--green);
  font-weight: 780;
}

.form-note {
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.field [aria-invalid="true"] {
  border-color: #9f2f24;
  box-shadow: 0 0 0 3px rgba(159, 47, 36, 0.1);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 850;
  text-align: left;
}

.faq-item button::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 900;
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-item div {
  padding: 0 22px 22px;
}

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

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-links a,
.contact-links div {
  display: grid;
  gap: 3px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-links span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.site-footer {
  border-top: 5px solid var(--orange);
  background: #061d32;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
  gap: 48px;
  padding: 54px 0;
}

.footer-company {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-company p {
  margin: 0;
}

.footer-brand-lockup {
  min-width: 0;
  margin-bottom: 10px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 850;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.footer-nav > div {
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-nav h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
}

.footer-nav a {
  display: block;
  margin-top: 8px;
  font-weight: 650;
}

.footer-nav a:hover {
  color: var(--white);
}

.mobile-bar {
  display: none;
}

@media (max-width: 1500px) and (min-width: 1321px) {
  .site-header {
    gap: 18px;
    padding: 0 18px;
  }

  .main-nav {
    gap: 10px;
    font-size: 13.5px;
  }

  .header-actions {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1320px) {
  .site-header {
    justify-content: flex-start;
  }

  .brand-copy small {
    display: none;
  }

  .main-nav {
    margin-left: auto;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 13.5px;
  }

  .main-nav a {
    min-height: 34px;
  }

  .header-actions {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: 76px 18px auto 18px;
    z-index: 180;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 104px);
    overflow-y: auto;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 14px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background: #f4f7f9;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .legal-grid,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .four,
  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three,
  .footer-grid,
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list li {
    border-bottom: 1px solid var(--line);
  }

  .step-list li:nth-child(2n) {
    border-right: 0;
  }

  .step-list li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 76px;
    font-size: 16px;
  }

  .site-header {
    min-height: 64px;
    padding: 8px 14px;
  }

  .brand-logo {
    width: 62px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    display: none;
  }

  .main-nav {
    inset: 64px 12px auto 12px;
    max-height: calc(100dvh - 150px);
  }

  .hero,
  .hero.home-hero {
    padding: 42px 0 44px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.76rem;
    line-height: 1.12;
  }

  .hero-lead,
  .section-lead {
    font-size: 1rem;
  }

  .two,
  .three,
  .four,
  .form-grid,
  .choice-grid,
  .step-list,
  .footer-grid,
  .footer-nav,
  .photo-strip {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    border-left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid article,
  .step-list li {
    min-height: auto;
    border-bottom: 1px solid var(--line);
  }

  .step-list li,
  .step-list li:nth-child(2n) {
    border-right: 0;
  }

  .trust-grid article {
    padding: 16px 14px;
    border-right: 1px solid var(--line);
  }

  .trust-grid article:nth-child(2n) {
    border-right: 0;
  }

  .trust-grid article:nth-last-child(-n+2),
  .step-list li:last-child {
    border-bottom: 0;
  }

  .section-heading {
    text-align: left;
  }

  .actions {
    display: grid;
  }

  .hero .actions .button-secondary {
    display: none;
  }

  .hero .trust-note {
    display: none;
  }

  .button,
  .form-card .button {
    width: 100%;
  }

  .form-card,
  .card,
  .mini-card,
  .summary-panel,
  .contact-panel,
  .legal-panel,
  .selection-card {
    padding: 20px;
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 220;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 28px rgba(8, 39, 68, 0.12);
  }

  .mobile-bar a {
    min-height: 50px;
    padding: 0 10px;
    font-size: 14px;
  }

  .mobile-bar a:last-child {
    border-color: var(--line);
    background: var(--blue);
    color: var(--white);
  }
}

@media (max-width: 420px) {
  :root {
    --container: calc(100% - 28px);
  }

  h1 {
    font-size: 1.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
