:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --card: #fffdf9;
  --ink: #162126;
  --muted: #576168;
  --line: rgba(0, 49, 54, 0.14);
  --deep: #003136;
  --accent: #e4007f;
  --primary: var(--deep);
  --primary-soft: rgba(0, 49, 54, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.back {
  color: var(--deep);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  padding: 0 0 20px;
  margin-bottom: 20px;
  color: var(--ink);
  border-bottom: 2px solid var(--deep);
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 8px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-family: "Avenir Next Condensed", "Arial Narrow", "Avenir Next", sans-serif;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
  max-width: 60ch;
}

.card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0;
  margin-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

p,
li,
dd,
dt {
  font-size: 14px;
  line-height: 1.8;
}

p,
dl,
ol,
ul {
  margin: 0;
}

.stack {
  display: grid;
  gap: 12px;
}

.muted {
  color: var(--muted);
  font-weight: 700;
}

.notice {
  background: transparent;
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 14px;
}

.label {
  display: inline-block;
  color: var(--deep);
  font-size: 11px;
  font-weight: 900;
  padding: 0;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 12px;
}

.row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.row:first-child {
  border-top: none;
  padding-top: 0;
}

dt {
  color: var(--deep);
  font-weight: 900;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

dd {
  margin: 0;
  font-weight: 700;
}

.placeholder {
  color: var(--accent);
}

a {
  color: var(--deep);
}

ul {
  padding-left: 1.2em;
}

li::marker {
  color: var(--accent);
}

.contactForm {
  display: grid;
  gap: 16px;
}

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

.field span {
  font-size: 12px;
  font-weight: 900;
  color: var(--deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
  border-radius: 0;
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 180px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--deep);
}

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

.formActions {
  display: grid;
  gap: 10px;
  align-items: start;
}

.submitButton {
  appearance: none;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: #fff;
  font: inherit;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 0;
  cursor: pointer;
}

.submitButton:hover {
  background: #072f33;
}

.formStatus {
  min-height: 1.8em;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.formStatus[data-kind="success"] {
  color: var(--deep);
}

.formStatus[data-kind="error"] {
  color: var(--accent);
}

@media (max-width: 719px) {
  .shell {
    width: min(100% - 24px, 980px);
    padding-top: 18px;
  }

  .hero {
    padding-bottom: 16px;
  }

  .card {
    padding: 16px 0;
  }
}

@media (min-width: 720px) {
  .grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
