:root {
  color-scheme: light;
  --white: #fff;
  --ink: #152236;
  --muted: #506176;
  --navy: #101b2d;
  --navy-deep: #0b1423;
  --line: #dce5ee;
  --accent: #a5dbf6;
  --surface: #f1f6fa;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; text-underline-offset: 0.22em; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.18; text-wrap: balance; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #237bb7; outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section h2 { font-size: clamp(2rem, 3.7vw, 3.12rem); letter-spacing: -.04em; }
.skip { position: absolute; top: .5rem; left: .75rem; z-index: 3; transform: translateY(-200%); background: var(--white); padding: .6rem 1rem; }
.skip:focus { transform: none; }

.header { background: var(--navy-deep); color: var(--white); border-bottom: 1px solid #fff2; }
.header-inner { display: flex; min-height: 4.9rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: block; flex: 0 0 auto; }
.wordmark img { display: block; width: 13.75rem; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.7rem); }
.nav a { text-decoration: none; color: #cbd5e1; font-size: .95rem; }
.nav a:hover, .nav a:focus-visible { color: var(--white); text-decoration: underline; }
.header-cta { border: 1px solid #a5dbf680; border-radius: .3rem; padding: .45rem .95rem; white-space: nowrap; text-decoration: none; font-size: .9rem; }
.header-cta:hover { background: #a5dbf625; }

.hero { color: var(--white); background-color: var(--navy); position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--navy) url("hero.jpg") right 53% / auto 115% no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #101b2d 3%, #101b2d 30%, #101b2df2 41%, #101b2d73 65%, #101b2d0d 100%); }
.hero-inner { display: grid; align-items: center; min-height: clamp(32rem, 44vw, 39rem); padding-block: 4rem; }
.hero-copy { max-width: 53rem; }
.hero h1 { max-width: 53rem; font-size: clamp(2rem, 4.25vw, 4.2rem); font-weight: 700; letter-spacing: -.055em; text-wrap: initial; overflow-wrap: break-word; }
.hero p { color: #d1deec; max-width: 31rem; margin-top: 1.4rem; font-size: clamp(1.03rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .65rem 1.22rem; border: 1px solid transparent; border-radius: .32rem; font-weight: 650; text-decoration: none; line-height: 1.25; cursor: pointer; }
.button-primary { color: #0d2438; background: var(--accent); }
.button-primary:hover { background: #d0edfc; }
.button-ghost { color: var(--white); background: #101b2d40; border-color: #d8e8f381; }
.button-ghost:hover { background: #d8e8f32a; }
.button-dark { color: var(--white); background: #193957; }
.button-dark:hover { background: #245079; }
.button:disabled { opacity: .65; cursor: wait; }

.equipment-grid { margin: 2rem 0 1.3rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; list-style: none; }
.equipment-grid li { min-height: 9.3rem; padding: 1.35rem 1.45rem; border: 1px solid var(--line); border-top: 3px solid #86b6d3; border-radius: .35rem; background: linear-gradient(170deg, #f8fbfd, #fff 80%); }
.equipment-grid h3, .steps h3 { font-size: 1.18rem; letter-spacing: -.02em; }
.equipment-grid p, .steps p { margin-top: .6rem; color: var(--muted); }
.equipment-note { color: var(--muted); }
.equipment-note a, .email-option a { color: #1e587f; font-weight: 600; }
.process { background: var(--surface); }
.steps { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem 2rem; counter-reset: step; }
.steps li { border-top: 1px solid #b8cdde; padding-top: 1.15rem; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; margin-bottom: .75rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; color: #284b67; background: #dcecf6; font-weight: 700; font-size: .88rem; }

.quote { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.quote-intro > p { margin-top: 1rem; max-width: 23rem; color: var(--muted); }
.email-option { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 1.65rem; }
.email-option h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.email-option p, .field-help, .form-mode { color: var(--muted); font-size: .9rem; }
.email-option a { overflow-wrap: anywhere; }
.quote-form { padding: clamp(1rem, 3vw, 1.85rem); border: 1px solid var(--line); background: #f8fbfd; border-radius: .5rem; }
.quote-form label { display: block; min-width: 0; font-size: .93rem; font-weight: 650; }
.quote-form > label { margin-block: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.quote-form input, .quote-form textarea { display: block; width: 100%; min-width: 0; margin-top: .34rem; padding: .5rem .67rem; border: 1px solid #bbcbd8; border-radius: .3rem; background: var(--white); color: var(--ink); font-weight: 400; }
.quote-form textarea { resize: vertical; }
.quote-form textarea::placeholder { color: #65778b; }
.quote-form input[type="file"] { padding: .45rem; }
.quote-form input::file-selector-button { margin-right: .5rem; padding: .3rem .55rem; border: 0; border-radius: .2rem; background: #e2edf5; color: var(--ink); font: inherit; cursor: pointer; }
.field-help { display: block; margin-top: .3rem; font-weight: 400; }
.form-footer { display: flex; gap: .7rem 1rem; align-items: center; flex-wrap: wrap; }
.form-mode { flex: 1 1 10rem; }
.form-status { margin-top: 1rem; padding: .65rem .8rem; border: 1px solid #afcbea; border-radius: .3rem; background: #eaf4fd; color: #1e4769; }
.form-status[data-error="true"] { border-color: #e6b6b6; background: #fff0f0; color: #7c2323; }

.footer { color: var(--white); background: var(--navy-deep); padding-block: 2.3rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; align-items: end; }
.footer h2 { font-size: 1.28rem; margin-bottom: .55rem; }
.footer a { color: var(--accent); }
.footer dl { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.footer dt { color: #b6c5d7; font-size: .88rem; }
.footer dd { font-variant-numeric: tabular-nums; }

@media (max-width: 57rem) {
  .hero::before { background-size: cover; }
  .hero::after { background: linear-gradient(90deg, #101b2dfc 8%, #101b2de8 38%, #101b2d6b 100%); }
  .quote { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 48rem) {
  .header-inner { flex-wrap: wrap; gap: .4rem .75rem; padding-block: .75rem; }
  .wordmark img { width: 11.75rem; }
  .nav { order: 2; width: 100%; justify-content: space-between; gap: .4rem; }
  .nav a { font-size: .875rem; }
}

@media (max-width: 43rem) {
  .shell { width: calc(100% - 2rem); }
  .hero-inner { min-height: 30rem; align-items: end; padding-block: 3.5rem; }
  .hero::before { background-position: 70% center; }
  .hero::after { background: linear-gradient(90deg, #101b2de0, #101b2d61), linear-gradient(0deg, #101b2d, #101b2d05 90%); }
  .hero h1 { font-size: clamp(1.75rem, 6.3vw, 2.7rem); }
  .hero h1 br { display: none; }
  .equipment-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .equipment-grid li { padding: 1.05rem; min-height: 0; }
  .quote, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 25rem) {
  .equipment-grid { grid-template-columns: 1fr; }
  .header-cta { padding-inline: .65rem; }
  .wordmark img { width: 11.25rem; }
}
