:root {
  --black: #111111;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --bg: #ffffff;
  --font: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 68rem;
  --measure: 38rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

/* --- Hero --- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.14) 1px, transparent 1.15px);
  background-size: 22px 22px;
  background-position: center center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 62% 58% at 50% 46%,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.78) 58%,
    #ffffff 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 44rem;
}

.logo {
  width: min(28rem, 86vw);
  height: auto;
  margin: 0 auto 2.25rem;
}

.hero h1 {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
  margin-bottom: 2.15rem;
  color: var(--black);
}

.br-wide {
  display: none;
}

.cta {
  display: inline-block;
  background: var(--black);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.cta:hover {
  background: #333;
}

.cta:active {
  transform: translateY(1px);
}


/* --- Language switch --- */

.lang {
  position: absolute;
  top: 1.35rem;
  right: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
}

.lang-sep {
  color: #c8c8c8;
  font-weight: 400;
  letter-spacing: 0;
}

.lang a {
  color: var(--muted);
  text-decoration: none;
}

.lang a:hover {
  color: var(--black);
}

.lang [aria-current="page"] {
  color: var(--black);
}

/* --- Sections --- */

.section {
  padding: 5.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
}

h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 2.5rem;
}

/* --- Service cards --- */

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

.card {
  padding: 1.75rem 1.5rem 1.85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.card-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 1.2rem;
}

.card-mark svg {
  display: block;
  width: 40px;
  height: 40px;
}

.card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* --- Why --- */

.reasons {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 3rem;
}

.reasons h3 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.reasons p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* --- About --- */

.about-body {
  max-width: var(--measure);
}

.about-body p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  letter-spacing: -0.01em;
}

.about-body p + p {
  margin-top: 1.1rem;
}

.about-lead {
  font-size: 1.15rem;
  line-height: 1.55;
  letter-spacing: -0.015em;
  margin-bottom: 1.35rem;
}

.about-point {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.75rem;
}

.chips li {
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.32rem 0.65rem;
  line-height: 1.3;
}

/* --- Contact --- */

.contact-lead {
  max-width: var(--measure);
  color: var(--muted);
  margin: -1.25rem 0 1.5rem;
  font-size: 1.05rem;
}

.email {
  display: inline-block;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  padding-bottom: 0.12rem;
  line-height: 1.3;
}

.email:hover {
  opacity: 0.65;
}

.linkedin-wrap {
  margin-top: 1.35rem;
}

.linkedin {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.linkedin:hover {
  color: var(--black);
  border-bottom-color: var(--black);
}

/* --- Footer --- */

.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 1.5rem 2rem;
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* --- Responsive --- */

@media (min-width: 700px) {
  .br-wide {
    display: block;
  }
}

@media (max-width: 820px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .reasons {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 540px) {
  .hero {
    min-height: 0;
    padding: 4.5rem 1.25rem 3.75rem;
  }

  .logo {
    margin-bottom: 1.75rem;
  }

  .section {
    padding: 3.75rem 1.25rem;
  }

  h2 {
    margin-bottom: 1.75rem;
  }

  .about-lead {
    font-size: 1.08rem;
  }

  .about-body p {
    font-size: 1.02rem;
  }

  .lang {
    top: 1.1rem;
    right: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cta {
    transition: none;
  }
}
