:root {
  --ink: #172029;
  --muted: #5f6975;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --line: #dfe4df;
  --accent: #000000;
  --accent-dark: #000000;
  --radius: 8px;
  --content: min(1080px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  width: var(--content);
  height: 74px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.page-shell {
  display: grid;
  width: var(--content);
  height: 100svh;
  margin: 0 auto;
  grid-template-rows: auto auto;
  align-content: center;
  gap: clamp(28px, 5vh, 54px);
  padding: 92px 0 28px;
}

.intro {
  max-width: 760px;
}

.eyebrow,
.card-label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.3rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.intro p:last-child {
  max-width: none;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  white-space: nowrap;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.business-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 14px 44px rgba(23, 32, 41, 0.07);
}

.business-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.business-card p:not(.card-label) {
  margin-bottom: 24px;
  color: var(--muted);
}

.business-card a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 780;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 17px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.icon-button {
  width: 44px;
  padding: 0;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  color: #000;
  fill: currentColor;
}

@media (max-width: 780px) {
  :root {
    --content: min(100vw - 28px, 620px);
  }

  .page-shell {
    gap: 20px;
    padding-top: 78px;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .business-card {
    min-height: 0;
    padding: 16px;
  }

  .business-card h2 {
    margin-bottom: 6px;
  }

  .business-card p:not(.card-label) {
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  :root {
    --content: calc(100vw - 24px);
  }

  .site-header {
    height: 64px;
  }

  .page-shell {
    padding-top: 68px;
    padding-bottom: 16px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(3rem, 16vw, 4.1rem);
  }

  .intro p:last-child {
    font-size: 1rem;
    white-space: normal;
  }

  .business-card {
    padding: 13px;
  }

}

@media (max-width: 480px) and (max-height: 720px) {
  .page-shell {
    gap: 12px;
  }

  .eyebrow,
  .card-label {
    margin-bottom: 5px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 3.25rem);
  }

  .intro p:last-child {
    display: none;
  }

  .business-card {
    padding: 10px 12px;
  }

  .business-card h2 {
    font-size: 1.08rem;
  }

  .business-card p:not(.card-label) {
    display: none;
  }
}
