:root {
  --bg: #ffffff;
  --text: #090909;
  --muted: #5f5f5f;
  --line: #dddddd;
  --max: 760px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

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

a:hover {
  color: var(--muted);
}

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

.site-header,
main,
.site-footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav {
  color: var(--muted);
  font-size: 0.94rem;
}

.intro,
.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
p,
dl {
  margin: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 6vw, 3.6rem);
  line-height: 1.08;
  font-weight: 820;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.1;
  font-weight: 800;
}

.intro p,
.section p {
  max-width: 680px;
  color: #303030;
}

.intro p {
  font-size: clamp(1.08rem, 2.4vw, 1.3rem);
  line-height: 1.4;
}

.details-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.details-list div {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  width: 180px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

dd {
  flex: 1;
  margin: 0;
  font-size: 1.06rem;
  font-weight: 720;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.email-link {
  width: fit-content;
  border-bottom: 1px solid var(--text);
  font-weight: 720;
}

.site-footer {
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .intro,
  .section {
    padding: 38px 0;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.45rem);
  }

  .details-list div {
    flex-direction: column;
    gap: 8px;
  }

  dt {
    width: auto;
  }
}
