:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --surface-alt: #f1eee6;
  --text: #2a2a2a;
  --muted: #5f5a52;
  --border: #ddd6c8;
  --accent: #6a7564;
  --accent-hover: #55604f;
  --link: #2f5f9e;
  --link-hover: #21497a;
  --max-width: 1160px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --radius: 0.75rem;
  --section-space: 4.5rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  flex-shrink: 0;
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand a:hover {
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
  margin-right: 0;
  transform: translateY(1px);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--link);
  font-size: 0.98rem;
  padding: 0.2rem 0;
}

.site-nav a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.intro,
.hero,
.section {
  padding: var(--section-space) 0;
}

.intro {
  padding-top: 2.75rem;
  padding-bottom: 1.5rem;
}

.intro p {
  max-width: 65ch;
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.hero {
  background: var(--surface);
  box-shadow: var(--shadow);
  padding-top: 3.25rem;
  padding-bottom: 3.75rem;
}

.hero-split .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-copy p:last-child {
  margin-bottom: 0;
}

.hero-logo-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 1.5rem;
}

.hero-logo {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin-left: auto;
}

.section-alt {
  background: var(--surface-alt);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  margin-bottom: 1.25rem;
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin-bottom: 0.9rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  max-width: 68ch;
}

ul {
  margin-top: 0;
  margin-bottom: 1.1rem;
  padding-left: 1.25rem;
  max-width: 68ch;
}

li {
  margin-bottom: 0.5rem;
}

.button-link {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.button-link:hover {
  background: var(--accent-hover);
  color: #ffffff;
  text-decoration: none;
}

.button-link:focus-visible,
.site-nav a:focus-visible,
.site-footer nav a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.price-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.price-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 4rem;
  padding: 2.25rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

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

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-split .container {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-logo-wrap {
    justify-content: flex-start;
    padding-left: 0;
  }

  .hero-logo {
    width: min(340px, 100%);
    margin-left: 0;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 3.5rem;
  }

  .site-header .container,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header .container {
    gap: 0.85rem;
  }

  .site-nav {
    gap: 0.75rem 1rem;
    justify-content: flex-start;
  }

  .brand-logo {
    height: 30px;
    margin-right: 0;
    transform: translateY(1px);
  }

  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .intro {
    padding-top: 2.25rem;
    padding-bottom: 1.25rem;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .button-link {
    width: auto;
  }
}