@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root {
  /* Material-inspired semantic tokens */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-variant: #fff7f2;
  --text: #111111;
  --muted: #5f5f5f;
  --line: #ebebeb;
  --accent: #f96815;
  --accent-dark: #dd5f12;
  --accent-soft: rgba(249, 104, 21, 0.1);
  --focus-ring: rgba(249, 104, 21, 0.34);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  z-index: 20;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--accent);
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  padding: 0.2rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

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

.nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.7rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.lang-toggle a.active {
  color: var(--accent);
  font-weight: 600;
}

.hero {
  padding: 7.4rem 0 4.4rem;
  text-align: center;
}

.section {
  padding: 4.2rem 0;
}

.hero-grid {
  display: block;
}

.hero-intro {
  max-width: 920px;
  margin: 0 auto;
}

.eyebrow {
  color: var(--text);
  font-weight: 500;
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 0.45rem;
  vertical-align: middle;
}

h1 {
  font-size: clamp(2.15rem, 6vw, 4.2rem);
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.2rem;
  color: var(--accent);
}

h2,
h3 {
  font-family: "EB Garamond", Georgia, serif;
  line-height: 1.2;
  font-weight: 600;
}

h2 {
  position: relative;
  padding-left: 0.75rem;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 3px;
  height: 0.95em;
  background: var(--accent);
  border-radius: 999px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.55rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.74rem 1.18rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease,
    transform 140ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--text);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-card,
.card,
.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.card:hover,
.article:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--accent);
  background: #fffdfa;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.cards {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
}

.guided-grid .card {
  position: relative;
  overflow: hidden;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease,
    background-color 190ms ease;
}

.guided-grid .card h3 {
  transition: color 180ms ease;
}

.guided-grid .card h2 {
  transition: color 180ms ease;
}

.guided-grid .article h2 {
  transition: color 180ms ease;
}

.guided-grid .card:hover,
.guided-grid .card.is-active {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--accent);
  background: #fffdfa;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.guided-grid .card:hover h3,
.guided-grid .card.is-active h3 {
  color: var(--accent);
}

.guided-grid .card:hover h2,
.guided-grid .card.is-active h2 {
  color: var(--accent);
}

.guided-grid .article:hover h2,
.guided-grid .article.is-active h2 {
  color: var(--accent);
}

.services-page h1 {
  color: var(--text);
}

.services-page .lead {
  color: var(--text);
}

.services-page .card {
  border-left: 1px solid var(--line);
}

.services-page .card h2 {
  color: var(--text);
}

.services-page .muted {
  color: var(--muted);
}

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

.articles {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
}


.proof-strip {
  margin-top: 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-strip p {
  margin: 0;
  padding: 0.9rem 1rem;
  text-align: center;
  font-size: 0.88rem;
}

.proof-strip p:first-child {
  background: var(--surface-variant);
  color: var(--accent-dark);
  font-weight: 600;
}

.proof-strip p + p {
  border-left: 1px solid var(--line);
}

.section-accent {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.muted {
  color: var(--muted);
}

.narrow {
  max-width: 780px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 2.2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  gap: 1rem;
  font-size: 0.92rem;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem 0;
    gap: 0.65rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 5.8rem;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip p + p {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

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

}
