:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #1f1f1c;
  --muted: #5f5f59;
  --line: #d8d8d2;
  --accent: #2f4f5f;
  --max-width: 960px;
  --radius: 10px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.site-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo {
  max-width: 420px;
  width: 100%;
  height: auto;
}

.tagline {
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  max-width: 700px;
  margin: 0;
}

.nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.98rem;
}

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

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

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

.button-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--text);
  color: var(--text);
  font-size: 0.96rem;
  transition: all 0.2s ease;
}

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

.button.secondary {
  border-color: var(--line);
  color: var(--muted);
}

.button.secondary:hover {
  background: #ecece7;
  color: var(--text);
}

.section {
  padding: 3rem 0;
}

.section h2 {
  font-size: 1.7rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

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

.card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
}

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

.list-clean {
  margin: 0;
  padding-left: 1.2rem;
}

.list-clean li + li {
  margin-top: 0.45rem;
}

.about-box,
.contact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.small {
  font-size: 0.95rem;
  color: var(--muted);
}

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

  .site-header {
    padding-top: 2rem;
  }

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