:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --ink: #1f2a2e;
  --muted: #667176;
  --line: #d8d0c1;
  --accent: #b84c2d;
  --field: #fffaf0;
  --shadow: 0 24px 70px rgba(31, 42, 46, 0.14);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(115deg, rgba(184, 76, 45, 0.10), transparent 42%),
    radial-gradient(circle at 80% 18%, rgba(37, 100, 108, 0.12), transparent 32%),
    var(--paper);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 64px 0;
}

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

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 14vw, 10rem);
  font-weight: 500;
  line-height: 0.88;
}

.summary {
  max-width: 36rem;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.45;
}

.offer-panel {
  display: grid;
  gap: 18px;
}

.identity,
.offer-panel {
  min-width: 0;
}

.offer-card {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(31, 42, 46, 0.10);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.inquiry-form label,
.inquiry-form textarea,
.inquiry-form button,
.mail-fallback {
  grid-column: span 2;
}

.inquiry-form label:nth-child(1),
.inquiry-form label:nth-child(2) {
  grid-column: span 1;
}

.inquiry-form span {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--field) 92%, white);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  outline: none;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 76, 45, 0.16);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:hover {
  background: #324146;
}

.mail-fallback {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.mail-fallback a {
  color: inherit;
  text-decoration-color: rgba(102, 113, 118, 0.45);
  text-underline-offset: 3px;
}

@media (max-width: 940px) {
  .page-shell {
    grid-template-columns: 1fr;
    align-content: center;
    width: auto;
    max-width: none;
    margin-right: 14px;
    margin-left: 14px;
    padding: 40px 0;
  }

  h1 {
    font-size: clamp(3.8rem, 18vw, 5.4rem);
  }

  .summary {
    margin-top: 20px;
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: clamp(3.2rem, 17vw, 4.2rem);
  }

  .inquiry-form,
  .inquiry-form label:nth-child(1),
  .inquiry-form label:nth-child(2) {
    grid-column: span 2;
  }
}
