@font-face {
  font-family: "Instrument Sans";
  src: url("../images/67e95a303757b975d2da1b5e_Instrument%20Sans%20Regular.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("../images/67e95a303757b975d2da1b62_InstrumentSans%20SemiBold.woff2") format("woff2");
  font-display: swap;
  font-weight: 600;
}

:root {
  color-scheme: light;
  --primary: #0B5FA8;
  --primary-dark: #08406F;
  --secondary: #4FA8DA;
  --ink: #17202a;
  --muted: #6b7280;
  --line: #ececf0;
  --fill: #f4f5f7;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* One column, one measure. Every edge on this page aligns to it. */
main {
  width: min(460px, 100%);
  margin: 0 auto;
  padding: 88px 24px 96px;
}

a {
  color: inherit;
}

.brand {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

h1 {
  margin: 40px 0 0;
  font-size: clamp(2rem, 7vw, 2.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lede {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* Calling is the fastest route to a booked appointment, so it is the only
   filled colour on the page. Nothing else competes with it. */
.call {
  display: block;
  margin-top: 32px;
  padding: 17px 20px 19px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease;
}

.call:hover,
.call:active {
  background: var(--primary-dark);
}

.call:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.call__label {
  display: block;
  color: rgb(255 255 255 / 78%);
  font-size: 0.8125rem;
  font-weight: 600;
}

.call__number {
  display: block;
  margin-top: 2px;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* The two direct lines sit under the main number as quiet secondary rows —
   the corporate number stays the one filled call to action. */
.call-locations {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.call-locations a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 150ms ease;
}

.call-locations a:hover,
.call-locations a:focus-visible {
  background: var(--fill);
}

.call-locations__name {
  color: var(--muted);
  font-size: 0.875rem;
}

.call-locations__number {
  font-weight: 600;
}

.or {
  margin: 48px 0 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

label {
  font-size: 0.8125rem;
  font-weight: 600;
}

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

/* Fields are defined by tone, not by outlines — no strokes to align. */
input,
select,
textarea {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: var(--fill);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease;
}

input,
select {
  height: 52px;
  padding: 0 16px;
}

/* Native arrow removed so the control matches the text inputs; the chevron is
   drawn as a background so no extra markup is needed. */
select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236b6b6b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

select:invalid {
  color: var(--muted);
}

textarea {
  min-height: 116px;
  padding: 15px 16px;
  line-height: 1.5;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  box-shadow:
    inset 0 0 0 1.5px var(--primary),
    0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
}

.field-note {
  margin: 2px 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

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

/* Consent notice — the checkbox has to opt out of the full-width input sizing
   above, so it is reset explicitly rather than by exception. */
.consent__label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  cursor: pointer;
  font-weight: 400;
}

.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.consent__text {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

button {
  height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: opacity 150ms ease;
}

button:hover,
button:active {
  opacity: 0.86;
}

button:disabled {
  cursor: wait;
  opacity: 0.5;
}

/* Takes up no room until it has something to say. */
.form-status {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="success"] {
  color: color-mix(in srgb, var(--secondary) 78%, #000);
}

.form-status[data-state="error"] {
  color: #a51d2d;
}

.noscript-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.office {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.office p,
.office address {
  margin: 0;
}

.office address {
  font-style: normal;
}

.office .office-label {
  color: var(--ink);
  font-weight: 600;
}

.office-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}

.office-location__name {
  color: var(--ink);
  font-weight: 600;
}

.office-location a {
  color: inherit;
}

.office-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.office-legal a {
  color: inherit;
}

@media (max-width: 420px) {
  .office-locations {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 520px) {
  main {
    padding: 56px 24px 80px;
  }

  h1 {
    margin-top: 32px;
  }
}

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