:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #16243b;
  background: #fff;
  --brand-blue: #4f8edf;
  --blue: #245a9f;
  --gutter: clamp(18px, 5.5vw, 85px);
  --line: #c5d2e3;
}

* { box-sizing: border-box; }
body { margin: 0; }
.wrap { margin-inline: var(--gutter); }

header {
  min-height: 88px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; }
.brand img { display: block; width: clamp(138px, 15vw, 188px); height: auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 82px);
  align-items: start;
  margin-inline: var(--gutter);
  padding-block: clamp(38px, 7vw, 112px);
}

.hero-inner { margin: 0; padding-block: clamp(10px, 4vw, 58px); }

h1 {
  margin: 0;
  font-size: clamp(3rem, 5.9vw, 8rem);
  line-height: .97;
  letter-spacing: -.075em;
  font-weight: 650;
}

h1 span { display: block; color: var(--brand-blue); }

p {
  max-width: 40ch;
  margin: clamp(22px, 3vw, 43px) 0 25px;
  font-size: clamp(1.06rem, 1.5vw, 1.35rem);
  line-height: 1.55;
  color: #41536a;
}

.hero-visual {
  aspect-ratio: 1 / 1.12;
  background: var(--brand-blue) url(trust-evidence.webp) center / cover;
}

.contact {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 9px 19px;
  border: 1px solid var(--brand-blue);
  border-radius: 0;
  color: #0a1b32;
  background: var(--brand-blue);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.contact:hover { background: #629ce7; }
summary.contact::-webkit-details-marker { display: none; }
a:focus-visible,
:where(summary, input, textarea, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.inquiry { max-width: 460px; }

.inquiry form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.inquiry label:not([hidden]) { display: grid; gap: 5px; }

.inquiry input,
.inquiry textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #8fa4bf;
  background: #f7faff;
  color: inherit;
  font: inherit;
}

.inquiry textarea { resize: vertical; }
.inquiry button { justify-self: start; }
.inquiry .email { margin: 16px 0 0; font-size: .95rem; }
.inquiry .email a { color: var(--blue); }
.inquiry .feedback { margin: 14px 0; font-size: 1rem; }

@media (max-width: 760px) {
  header { min-height: 69px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero-inner { padding-block: 2px; }
  h1 { font-size: clamp(2.2rem, 9.5vw, 4.5rem); }
  .hero-visual { aspect-ratio: 1.15; background-position: center 38%; }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  color: #41536a;
  font-size: .875rem;
}

@media (min-width: 761px) and (max-height: 900px) {
  header { min-height: 72px; }

  .hero {
    align-items: center;
    padding-block: 30px;
  }

  .hero-inner { padding-block: 0; }
  .hero h1 { font-size: clamp(2.8rem, 5.7vw, 6rem); }
  .hero-inner > p { margin-block: 24px 22px; }
  .hero-visual { max-height: max(300px, calc(100svh - 188px)); }
  .site-footer { padding-block: 17px; }
}
