:root {
  --navy: #0b1526;
  --navy-ink: #e8eef4;
  --ink: #1a2330;
  --muted: #5a6570;
  --line: #e3e6ea;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --accent: #1e7a6b;
  --accent-ink: #145c51;
  --max: 42rem;
  --wide: 64rem;
}

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

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--accent-ink);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 0.25rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--wide));
  margin-inline: auto;
}

.site-header {
  background: var(--navy);
  color: var(--navy-ink);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding-block: 0.75rem;
}

.wordmark {
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  white-space: nowrap;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: #fff;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  justify-content: flex-end;
}

.site-header nav a {
  color: #c5d0db;
  text-decoration: none;
  font-size: 0.85rem;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
}

main {
  flex: 1;
  width: min(100% - 2rem, var(--max));
  margin: 2.25rem auto 3.5rem;
}

.hero {
  margin-bottom: 2.5rem;
  padding-bottom: 0.25rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 1rem;
}

.hero p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  margin: 2.15rem 0 0.7rem;
}

h3 {
  font-size: 1.02rem;
  margin: 1.5rem 0 0.5rem;
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.4rem;
}

.meta {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

blockquote,
.notice-quote {
  margin: 1.15rem 0 1.35rem;
  padding: 1rem 1.1rem;
  background: var(--soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 0.3rem 0.3rem 0;
}

blockquote p,
.notice-quote p {
  margin: 0;
}

.examples {
  background: var(--soft);
  border-radius: 0.4rem;
  padding: 0.35rem 1.1rem 0.2rem;
  margin: 1rem 0 1.35rem;
}

.examples p {
  margin: 0.85rem 0;
}

.examples p + p {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.emergency {
  font-weight: 550;
}

.site-footer {
  background: var(--navy);
  color: #b7c2ce;
  padding: 2rem 0 2.25rem;
  font-size: 0.88rem;
}

.site-footer .wrap {
  display: grid;
  gap: 0.85rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
}

.site-footer a {
  color: #e8eef4;
}

.site-footer p {
  margin: 0;
}

.site-footer .copyright {
  color: #8f9ba8;
  margin-top: 0.35rem;
}

.not-found {
  text-align: left;
  padding: 1.5rem 0 2rem;
}

.not-found h1 {
  margin-bottom: 0.6rem;
}


.notice-card {
  margin: 1.15rem 0 1.35rem;
  padding: 1.35rem 1.4rem 1.25rem;
  background: #f7f4ee;
  border: 1px solid #d7d0c3;
  border-radius: 0.2rem;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.06);
}

.notice-card-brand {
  margin: 0 0 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.notice-card-line {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.notice-card-wording {
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  margin: 1.5rem 0 0.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #c5ccd3;
  border-radius: 0.3rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.contact-form button {
  appearance: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 650;
  padding: 0.6rem 1.15rem;
  border-radius: 0.3rem;
  cursor: pointer;
}

.contact-form button:hover {
  background: #16243a;
}

.form-success {
  background: #e8f5f1;
  border: 1px solid #b7d9d0;
  color: var(--accent-ink);
  border-radius: 0.35rem;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1.25rem;
}

.form-error {
  background: #f8ecec;
  border: 1px solid #e0c5c5;
  color: #6b2424;
  border-radius: 0.35rem;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1.25rem;
}

.form-error li {
  margin-bottom: 0.2rem;
}

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

@media (max-width: 40rem) {
  html {
    font-size: 100%;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  main {
    margin-top: 1.6rem;
  }
}

.consent-mock {
  margin: 1.15rem 0 0.75rem;
}

.consent-mock-label {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.consent-mock-frame {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.06);
}

.consent-mock-chrome {
  margin: 0;
  padding: 0.65rem 1rem;
  background: var(--navy);
  color: #fff;
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.consent-mock-box {
  padding: 1rem 1.1rem 1.05rem;
  background: #fff;
}

.consent-mock-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.consent-mock-phone {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #c5ccd3;
  border-radius: 0.3rem;
  font: inherit;
  background: #f7f8f9;
  color: var(--muted);
}

.consent-mock-label-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}

.consent-mock-label-row input[type="checkbox"] {
  margin-top: 0.2rem;
  flex: none;
}

.consent-mock-note {
  margin: 0.4rem 0 0 1.7rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.consent-version {
  font-size: 0.88rem;
  color: var(--muted);
}

.contractor-screen {
  margin: 1.15rem 0 1.5rem;
}

.contractor-screen-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: 0 1px 2px rgba(11, 21, 38, 0.06);
  max-width: 27.5rem;
}

.contractor-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.contractor-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.contractor-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}

.contractor-example-note {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.contractor-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  padding: 1rem 1.05rem 1.05rem;
}

.contractor-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contractor-phone {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid #c5ccd3;
  border-radius: 0.3rem;
  font: inherit;
  background: #f7f8f9;
  color: var(--muted);
}

.contractor-checkbox {
  margin: 0 0 0.7rem;
}

.contractor-save {
  appearance: none;
  border: 0;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 650;
  font-size: 0.92rem;
  padding: 0.5rem 1.05rem;
  border-radius: 0.3rem;
  opacity: 0.55;
  cursor: not-allowed;
}

.contractor-orders-heading {
  margin: 1.1rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 550;
}

.contractor-orders-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
