* {
  box-sizing: border-box;
}

:root {
  --bg: #f4efe7;
  --panel: #fffaf2;
  --text: #1c1a17;
  --muted: #6f665c;
  --line: #ded3c3;
  --accent: #111111;
  --accent-soft: #e9ddcc;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 34rem),
    var(--bg);
}

a {
  color: inherit;
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 36px;
}

.hero {
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(55, 42, 26, 0.08);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.tagline {
  margin-bottom: 44px;
  font-size: 22px;
  color: var(--muted);
}

.message {
  max-width: 760px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.message h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.lead {
  margin-bottom: 18px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.message p:not(.lead) {
  max-width: 660px;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}

.principles,
.form-section {
  margin-top: 28px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 250, 242, 0.74);
}

.principles > h2,
.form-intro h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.principle-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
}

.principle-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.principle-grid p,
.form-intro p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}

.form-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.stuck-form {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}

select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
  background: #fffdf8;
}

select:focus,
textarea:focus {
  outline: 2px solid rgba(17, 17, 17, 0.16);
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

button {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  font: inherit;
  font-weight: 700;
  color: #ffffff;
  background: var(--accent);
  cursor: pointer;
}

button:hover {
  transform: translateY(-1px);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 22px, 1120px);
    padding-top: 20px;
  }

  .hero,
  .principles,
  .form-section {
    padding: 24px;
    border-radius: 20px;
  }

  .tagline {
    margin-bottom: 30px;
  }

  .lead {
    font-size: 23px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    min-height: 0;
  }

  .footer {
    display: grid;
  }
}