:root {
  --cream: #fdf8f5;
  --footer: #f2e9e9;
  --ink: #2b1d2b;
  --ink-soft: #544a54;
  --plum: #8c2354;
  --plum-deep: #76244f;
  --pill: #fae4e8;
  --sun: #fed491;
  --focus: #8c2354;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, "Avenir Next", "Segoe UI", sans-serif;
}

a { color: inherit; }

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.header,
.main {
  width: min(980px, calc(100% - 80px));
  margin-inline: auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 52px;
  height: 52px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--plum);
}

.pill {
  margin: 0;
  flex: none;
  border-radius: 999px;
  background: var(--pill);
  color: var(--plum);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0 28px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--plum);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  margin: 22px 0 0;
  max-width: 16em;
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.climb { color: var(--plum); }

.lead,
.fact {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.55;
}

.fact { margin-top: 10px; }

.rule {
  width: 52px;
  height: 3px;
  margin: 28px 0 0;
  border-radius: 999px;
  background: var(--plum);
}

.horizon {
  max-width: 28rem;
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--plum);
  vertical-align: 1px;
}

.contact {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.4;
}

.contact a,
.home-link {
  color: var(--plum);
  font-weight: 700;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

.brand:focus-visible,
.contact a:focus-visible,
.home-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

.landscape {
  display: block;
  width: 100%;
  height: auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 16px 40px 18px;
  background: var(--footer);
  color: #7d737c;
  font-size: 13px;
  line-height: 1.4;
}

.footer p { margin: 0; }

.tagline { font-style: italic; }

@media (max-width: 720px) {
  .header,
  .main { width: min(980px, calc(100% - 40px)); }

  .header { padding-top: 22px; }

  .brand img { width: 44px; height: 44px; }

  .brand-name { font-size: 18px; }

  .brand-sub { font-size: 9px; letter-spacing: 0.12em; }

  .pill { padding: 9px 12px; font-size: 11px; letter-spacing: 0.1em; }

  .main { padding: 28px 0 12px; }

  .eyebrow { letter-spacing: 0.16em; }

  h1 { font-size: clamp(32px, 8.4vw, 44px); }

  .lead,
  .fact { font-size: 16px; }

  .contact a,
  .home-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
  }
}

@media (max-width: 420px) {
  .header { align-items: flex-start; }

  .pill { margin-top: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
