:root {
  color-scheme: light;
  --background: #f6f8f7;
  --ink: #293e57;
  --accent: #287d89;
  --muted: #576975;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; border-top: 5px solid var(--accent); }
.page { width: min(1240px, calc(100% - 112px)); min-height: calc(100svh - 5px); margin: auto; display: flex; flex-direction: column; }
.header { min-height: 145px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dce3e2; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 5px; padding-left: 5px; }
.brand-name { font-size: 30px; line-height: 1; font-weight: 750; letter-spacing: -.045em; }
.brand-name > span { color: var(--accent); }
.brand-division { font-size: 11px; line-height: 1.5; letter-spacing: .34em; text-transform: uppercase; }
.main { flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 38px; padding: 72px 0 80px; }
.intro { padding-left: 5px; }
.eyebrow { margin: 0 0 27px; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; color: var(--accent); }
.eyebrow span { width: 25px; height: 2px; background: currentColor; }
h1 { margin: 0; font-size: clamp(44px, 4.5vw, 64px); font-weight: 650; line-height: 1.12; letter-spacing: -.052em; }
h1 span { color: var(--accent); }
.description { max-width: 485px; margin: 29px 0 0; font-size: 18px; line-height: 1.85; color: var(--muted); }
.thanks { margin: 27px 0 0; max-width: 440px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.illustration { position: relative; width: 100%; max-width: 500px; justify-self: end; text-align: center; }
.illustration svg { display: block; width: 100%; height: auto; }
.illustration-caption { display: block; margin-top: -18px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #607779; }
.footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 88px; border-top: 1px solid #dce3e2; font-size: 12px; color: var(--muted); }
.footer p { margin: 18px 0; }
.footer strong { font-weight: 500; }

@media (min-width: 1600px) {
  .main { gap: 70px; }
  h1 { font-size: 70px; }
}

@media (max-width: 1000px) {
  .page { width: calc(100% - 64px); }
  .header { min-height: 120px; }
  .brand-name { font-size: 28px; }
  .main { gap: 20px; grid-template-columns: 1.25fr 1fr; padding: 64px 0; }
  h1 { font-size: clamp(40px, 5.1vw, 55px); }
  .description { font-size: 16px; }
}

@media (max-width: 700px) {
  .page { width: calc(100% - 40px); }
  .header { min-height: 100px; gap: 10px; }
  .brand { padding-left: 0; }
  .brand-name { font-size: 25px; }
  .brand-division { font-size: 10px; }
  .main { display: flex; flex-direction: column; gap: 20px; padding: 50px 0 36px; }
  .intro { padding: 0; width: 100%; }
  .eyebrow { margin-bottom: 22px; font-size: 10px; }
  h1 { font-size: clamp(37px, 8.9vw, 56px); letter-spacing: -.048em; }
  .description { margin-top: 24px; max-width: 500px; font-size: 16px; line-height: 1.8; }
  .thanks { margin-top: 22px; font-size: 13px; }
  .illustration { width: 75%; max-width: 310px; align-self: center; }
  .illustration-caption { font-size: 9px; margin-top: -12px; }
  .footer { min-height: 75px; gap: 10px; font-size: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .intro, .illustration { animation: appear .65s ease-out both; }
  .illustration { animation-delay: .12s; }
  @keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
