:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #1d2430;
  --muted: #5f6b7a;
  --line: #d9dee7;
  --accent: #1f6feb;
  --accent-dark: #164c9c;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 2px solid var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  line-height: 1;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.nav a:hover,
.text-link:hover {
  text-decoration: underline;
}

.intro {
  padding: 72px 0 36px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.7rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

.lead {
  max-width: 720px;
  font-size: 1.18rem;
  color: var(--text);
}

.section {
  padding: 28px 0;
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-card,
.info-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.project-card {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

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

.project-features {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.project-features li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  color: var(--muted);
}

.project-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2da44e;
  font-weight: 700;
}

.project-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 0;
  min-width: 220px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.info-box {
  margin-top: 18px;
  padding: 24px;
}

.site-footer {
  margin-top: 44px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    gap: 12px;
  }

  .intro {
    padding-top: 48px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-actions {
    min-width: 0;
  }
}


.intro-logo {
  display: block;
  width: min(72vw, 420px);
  max-width: 100%;
  height: auto;
  margin: 0 0 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.brand-logo-link {
  line-height: 1;
}

.header-logo {
  display: block;
  width: 152px;
  max-width: 42vw;
  height: auto;
}

@media (max-width: 700px) {
  .header-logo {
    width: 132px;
  }
}


.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.language-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.language-switch a.active {
  color: var(--text);
  pointer-events: none;
}

.language-switch span {
  color: var(--muted);
}

.project-card img,
.section img {
  max-width: 100%;
  height: auto;
}
