:root {
  color-scheme: light;
  --ink: #1e2924;
  --muted: #65716b;
  --paper: #f7f3eb;
  --card: #fffdf8;
  --accent: #e85d3f;
  --accent-soft: #f8d9cc;
  --line: rgba(30, 41, 36, 0.14);
  --shadow: 0 18px 50px rgba(44, 48, 43, 0.09);
  --radius: 24px;
  font-family: Inter, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 10%, rgba(232, 93, 63, 0.13), transparent 28rem),
    var(--paper);
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand span {
  color: var(--accent);
}

.social-link {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.social-link span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  color: var(--card);
  background: var(--ink);
  border-radius: 50%;
}

.hero {
  display: grid;
  align-content: center;
  min-height: 500px;
  padding: 80px 0;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.7rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 620px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.services {
  padding: 48px 0 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-heading p:last-child {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-left: 88px;
}

.service-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-status {
  align-self: flex-start;
  margin: 0 0 1.5rem;
  padding: 0.25rem 0.75rem;
  color: #8c3a26;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.service-description {
  margin: 0.7rem 0 1.4rem;
  color: var(--muted);
}

.service-audience {
  margin: auto 0 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.service-audience strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.service-action[aria-disabled="true"] {
  color: var(--muted);
  background: #eeeae2;
  cursor: not-allowed;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 700;
  text-underline-offset: 0.25em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 72px;
  }

  .social-link {
    font-size: 0;
  }

  .social-link span {
    font-size: 0.8rem;
  }

  .hero {
    min-height: 430px;
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.4rem);
  }

  .hero-copy br {
    display: none;
  }

  .services {
    padding: 28px 0 80px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .service-card {
    min-height: 290px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

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