@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --cream: #fbf8f3;
  --surface: #fefdfb;
  --sand: #f4eee4;
  --ink: #2e2a26;
  --muted: #6b655d;
  --muted-soft: #8c857b;
  --sage: #7e9270;
  --sage-dark: #6b7f5e;
  --sage-press: #5e7052;
  --sage-tint: #e8ede2;
  --clay: #bc6b4e;
  --border: #e6dfd3;
  --border-strong: #d8cfbe;
  --white: #fefdfb;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.intro {
  position: sticky;
  top: 40px;
  padding: 32px 0;
}

.brand {
  display: inline-flex;
  margin-bottom: 56px;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
}

.eyebrow,
.step {
  margin: 0 0 14px;
  color: var(--sage-press);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 620px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.95;
}

.copy {
  max-width: 500px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.form-panel {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  padding: clamp(22px, 4vw, 40px);
}

.panel-head {
  margin-bottom: 28px;
}

.panel-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
}

form {
  display: grid;
  gap: 22px;
}

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

label,
legend {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 0 16px;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--sage);
}

.hint {
  margin: 0;
  color: var(--muted-soft);
  font-size: 13px;
}

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

.choice-list label,
.segmented label,
.checkbox-field label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--cream);
  padding: 13px 14px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

.choice-list input,
.segmented input,
.checkbox-field input {
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--sage);
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.checkbox-field a {
  color: var(--sage-press);
  font-weight: 700;
}

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

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--clay);
  font-size: 14px;
  font-weight: 700;
}

.submit,
.youtube {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--sage);
  color: var(--white);
  padding: 0 26px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 140ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 140ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.submit:hover,
.youtube:hover {
  background: var(--sage-dark);
}

.submit:active,
.youtube:active {
  transform: scale(0.98);
}

.submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.thanks {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 32px;
}

.thanks-card {
  width: min(660px, 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  padding: clamp(28px, 6vw, 56px);
}

.thanks-card h1,
.thanks-card h2 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.thanks-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  text-decoration: none;
}

@media (max-width: 860px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 28px;
  }

  .intro {
    position: static;
    padding: 0;
  }

  .brand {
    margin-bottom: 34px;
  }
}

@media (max-width: 560px) {
  .segmented {
    grid-template-columns: 1fr;
  }

  .form-panel {
    border-radius: 20px;
  }
}
