:root {
  color-scheme: light;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: #101e25;
  background: #edf4f3;
  font-size: 100%;
  line-height: 1.5;
  --muted: #38535b;
  --accent: #994019;
  --action: #174a49;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 12% 35%, #dbece8, transparent 60%);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(23rem, 29rem);
  gap: clamp(2rem, 6vw, 6rem);
  width: min(100% - 5rem, 73rem);
  min-height: 100vh;
  margin-inline: auto;
  padding-block: clamp(2rem, 7vh, 5rem);
  align-items: center;
}

.intro {
  min-width: 0;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-block-end: 3rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  justify-self: start;
  align-self: start;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover, .brand:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.brand img { display: block; }

.announcement {
  align-self: center;
  padding-block: 2rem;
}

h1, h2, p { margin: 0; }

h1 {
  font-size: clamp(3rem, 7.1vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 700;
  overflow-wrap: anywhere;
}

h1::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: .19rem;
  margin-block: 1.65rem 1.4rem;
  border-radius: 1rem;
  background: #d36a38;
}

.announcement p:first-of-type {
  max-width: 23ch;
  font-weight: 600;
  font-size: clamp(1.3rem, 2.5vw, 2.05rem);
  line-height: 1.22;
  letter-spacing: -.035em;
}

.announcement p + p {
  color: var(--muted);
  margin-block-start: 1rem;
  max-width: 38ch;
  font-size: 1.0625rem;
}

.inquiry {
  min-width: 0;
  border: 1px solid #cadbd7;
  background: #fff;
  border-radius: 1.4rem;
  padding: clamp(1.3rem, 2.6vw, 2.25rem);
  box-shadow: 0 18px 60px #143b3811;
}

h2 {
  font-size: clamp(1.4rem, 2.25vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -.04em;
  margin-block-end: 1.15rem;
}

.fields { display: grid; }
label { font-weight: 600; margin-block-end: .27rem; }
.fields input, .fields textarea {
  width: 100%;
  min-width: 0;
  min-height: 2.7rem;
  padding: .55rem .7rem;
  margin: 0 0 .75rem;
  border: 1px solid #758b89;
  border-radius: .45rem;
  color: inherit;
  background: #fff;
  font: inherit;
}

.fields textarea { min-height: 5rem; resize: vertical; }
#company { margin-block-end: .3rem; }
.hint { color: var(--muted); margin-block-end: .75rem; }
.verification { margin-block: .35rem .9rem; }
.cf-turnstile { min-height: 65px; }

button {
  display: block;
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-radius: .53rem;
  background: var(--action);
  color: #fff;
  padding: .65rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover { background: #103938; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
#form-status:not(:empty), .fallback, noscript p { margin-block-start: .7rem; }
[hidden] { display: none; }
a { color: var(--action); }

@media (max-width: 56rem) {
  .layout { width: min(100% - 3rem, 68rem); gap: 2rem; }
  h1 { font-size: clamp(3rem, 7.4vw, 4.3rem); }
}

@media (max-width: 46rem) {
  .layout {
    display: block;
    width: min(100% - 2rem, 30rem);
    padding-block: 1.35rem 2.1rem;
  }

  .intro { padding-block-end: 0; }
  .announcement { padding-block: 2.25rem 1.7rem; }
  h1 { font-size: clamp(2.85rem, 11.85vw, 4.5rem); }
  h1::after { margin-block: 1.1rem .9rem; }
  .announcement p:first-of-type { max-width: 27ch; }
}

@media (max-width: 22.75rem) {
  .layout { width: min(100% - 1rem, 30rem); }
  .inquiry { padding-inline: max(.25rem, calc((100vw - 322px) / 2)); }
}

@media (max-width: 21.25rem) {
  .inquiry { margin-inline: -.25rem; padding-inline: .75rem; }
  .verification { margin-inline-start: -.5rem; }
}
