:root {
  --ink: #18212b;
  --muted: #5e6a75;
  --paper: #fbf8f2;
  --white: #ffffff;
  --teal: #087a82;
  --teal-dark: #055a61;
  --coral: #f06f61;
  --gold: #f3bd4d;
  --line: #dde4e4;
  --shadow: 0 20px 60px rgba(24, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(251, 248, 242, 0.92);
  border-bottom: 1px solid rgba(24, 33, 43, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from 120deg, var(--gold), var(--coral), var(--teal), var(--gold));
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.72);
}

nav a {
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(40px, 8vw, 92px) clamp(18px, 5vw, 64px);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(251, 248, 242, 0.96) 0%, rgba(251, 248, 242, 0.78) 42%, rgba(251, 248, 242, 0.12) 100%);
}

.hero-content {
  position: relative;
  max-width: 660px;
}

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

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
}

.subheadline {
  max-width: 620px;
  margin: 24px 0 32px;
  color: #2d3a44;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  color: var(--white);
  background: var(--teal);
}

.primary:hover {
  background: var(--teal-dark);
}

.secondary {
  color: var(--teal-dark);
  background: #e6f4f1;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-strip div {
  padding: 28px clamp(18px, 4vw, 44px);
  background: var(--white);
}

.value-strip strong,
.value-strip span,
.next-steps strong,
.next-steps span {
  display: block;
}

.value-strip span,
.next-steps span {
  margin-top: 6px;
  color: var(--muted);
}

.page-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px) 0;
}

.form-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.form-intro h1,
.thanks-panel h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
}

.form-intro p:not(.eyebrow),
.thanks-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.12rem;
}

.request-form,
.thanks-panel {
  padding: clamp(20px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

label > span,
legend {
  color: #31404c;
  font-size: 0.95rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8fbfb;
  border: 1px solid #cdd8d8;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.request-form > fieldset,
.request-form > label,
.submit-button {
  margin-top: 24px;
}

.choice-grid,
.segmented {
  display: grid;
  gap: 10px;
}

.choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.segmented {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid label,
.segmented label {
  position: relative;
}

.choice-grid input,
.segmented input {
  position: absolute;
  opacity: 0;
}

.choice-grid span,
.segmented span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: var(--teal-dark);
  background: #eef8f6;
  border: 1px solid #c7e4df;
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.choice-grid input:checked + span,
.segmented input:checked + span {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.thanks-page {
  display: grid;
  min-height: calc(100vh - 68px);
  place-items: center;
  padding: 36px 18px;
}

.thanks-panel {
  width: min(780px, 100%);
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.next-steps div {
  padding: 18px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero {
    min-height: 680px;
    align-items: end;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(251, 248, 242, 0.98) 0%, rgba(251, 248, 242, 0.86) 52%, rgba(251, 248, 242, 0.22) 100%);
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .value-strip,
  .field-grid,
  .choice-grid,
  .choice-grid.compact,
  .next-steps {
    grid-template-columns: 1fr;
  }

  .button,
  .submit-button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
