:root {
  color-scheme: light dark;
  --bg: #f6f6f3;
  --panel: #ffffff;
  --text: #151515;
  --muted: #62656d;
  --line: #dedfe3;
  --accent: #7b1431;
  --accent-strong: #5f1027;
  --field: #fbfbfa;
  --shadow: 0 24px 80px rgba(22, 25, 32, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f12;
    --panel: #171a20;
    --text: #f4f1ec;
    --muted: #aeb3bd;
    --line: #333844;
    --accent: #c7a86a;
    --accent-strong: #e3c785;
    --field: #11141a;
    --shadow: 0 26px 90px rgba(0, 0, 0, 0.44);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.site-utility {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-utility .domain-mark {
  min-width: 0;
}

.site-utility .language-picker {
  margin-left: auto;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0 clamp(42px, 8vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.intro {
  min-width: 0;
  max-width: 760px;
  padding-top: 0;
}

.domain-mark {
  display: inline-flex;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  background: color-mix(in srgb, var(--panel) 72%, transparent);
}

.domain-mark[hidden] {
  display: none;
}

.domain-mark,
.eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 72%, transparent);
}

.language-picker {
  width: auto;
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 4px 5px 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel) 78%, transparent);
  color: var(--muted);
  font-size: 0.78rem;
}

.language-picker select {
  width: auto;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 4px 28px 4px 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: none;
}

.language-picker option,
select option {
  background: var(--panel);
  color: var(--text);
}

.language-picker select:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 5.4vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.lede {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.62;
}

.inquiry-panel {
  min-width: 0;
  width: 100%;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 94%, transparent);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-copy {
  padding: 30px 30px 8px;
}

h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.panel-copy p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.submission-confirmation {
  display: grid;
  gap: 14px;
  padding: 12px 30px 30px;
}

.submission-confirmation[hidden] {
  display: none;
}

.submission-confirmation-eyebrow {
  margin-bottom: 0;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.submission-confirmation h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.submission-confirmation p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 30px 30px;
}

.inquiry-panel.is-submitted .panel-copy {
  padding-bottom: 0;
}

.inquiry-panel.is-submitted .inquiry-form {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  background: var(--field);
  color: var(--text);
  font: inherit;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.wide,
.form-footer {
  grid-column: 1 / -1;
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-weight: 600;
}

.consent input {
  min-height: auto;
  margin-top: 2px;
}

.form-footer {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

#formStatus {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 0 22px;
  background: var(--accent-strong);
  color: var(--bg);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}

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

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

@media (max-width: 960px) {
  .shell {
    width: min(920px, calc(100% - 32px));
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 44px);
  }

  .intro {
    padding-top: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 8vw, 5.7rem);
    line-height: 0.96;
  }
}

@media (max-width: 560px) {
  .site-utility,
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .site-utility {
    padding: 24px 0;
  }

  .site-utility .language-picker {
    margin-left: 0;
  }

  .shell {
    padding: 4px 0 36px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .panel-copy,
  .inquiry-form {
    padding-left: 18px;
    padding-right: 18px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
}
