:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #414141;
  --border: #daddd8;
  --primary: #1c1c1c;
  --cta: #1c1c1c;
  --contact-bg: #eef0f2;
  --band: #fafaff;
  --footer-bg: #1c1c1c;
  --footer-text: #fafaff;
  --maxw: 72rem;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
}

a:hover,
a:focus-visible {
  color: var(--text);
}

.skip-link {
  position: absolute;
  top: -10rem;
  left: 0.5rem;
  background: #fff;
  color: #111;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  z-index: 999;
}

.skip-link:focus {
  top: 0.5rem;
}

.wrap {
  width: min(100% - 2rem, var(--maxw));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
  padding: 0.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cta:focus-visible,
a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.cta-primary {
  background: #fff;
  color: #1c1c1c;
  border: 1px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  background: #eef0f2;
  border-color: #eef0f2;
  color: #1c1c1c;
  text-decoration: none;
}

.cta-secondary {
  background: #1c1c1c;
  color: #fff;
  border: 1px solid #1c1c1c;
}

.cta-secondary:hover,
.cta-secondary:focus-visible {
  background: #111111;
  border-color: #111111;
  color: #fff;
  text-decoration: none;
}

.cta-ghost {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.cta-ghost:hover,
.cta-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.hero {
  background: #1c1c1c;
  color: #fff;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  padding: 3.2rem 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.28rem 0.62rem;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #1c1c1c;
  background: #daddd8;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.9rem, 4.8vw, 3.6rem);
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.lead {
  color: #daddd8;
  max-width: 62ch;
}

.hero-side h2 {
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.hero-side p {
  color: #daddd8;
  max-width: 44ch;
}

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section {
  padding: 3.5rem 0;
}

.section-main {
  background: #ffffff;
}

.section-soft {
  background: var(--band);
}

.section-contact {
  background: var(--contact-bg);
}

.flow > * + * {
  margin-top: 1rem;
}

.section h2 {
  margin-bottom: 0.7rem;
}

.section p,
.section li {
  max-width: 78ch;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.three-col {
  display: grid;
  gap: 1.4rem;
}

.small-gap {
  gap: 0.9rem;
}

.three-col p,
.three-col article,
.three-col ul {
  margin: 0;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid #000;
}

.site-footer .wrap {
  padding: 1.25rem 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--footer-text);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #eef0f2;
}

@media (min-width: 52rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
    align-items: end;
  }

  .three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
