:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-muted: #ebe7dd;
  --text: #1f2428;
  --text-muted: #5e676f;
  --border: #d8d2c4;
  --accent: #293b4a;
  --accent-soft: #dfe7ec;
  --shadow: 0 20px 60px rgba(31, 36, 40, 0.08);
  --radius: 20px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 239, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: white;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--text-muted);
}

.hero-text {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.25rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.hero-card,
.card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
}

.hero-card p {
  margin: 14px 0 20px;
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.section {
  padding: 76px 0;
}

.intro {
  padding-top: 40px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  font-size: 1.1rem;
}

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

.card {
  padding: 26px;
}

.card p {
  margin-bottom: 0;
}

.muted {
  background: var(--surface-muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.split p:first-child {
  margin-top: 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.principles div {
  min-height: 96px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 750;
}

.contact {
  padding-bottom: 96px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 34px;
}

.contact-box {
  min-width: 280px;
  padding: 22px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.contact-box a {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--accent);
}

.note {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-box {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .cards,
  .principles {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}
