:root {
  --bg: #111a23;
  --bg-deep: #0c141b;
  --panel: #18242e;
  --panel-light: #1e2d38;

  --text: #f4f7f8;
  --muted: #b9c3cb;
  --subtle: #8695a1;

  --orange: #d47a45;
  --orange-hover: #df8750;

  --border: #2a3945;

  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(212, 122, 69, 0.07),
      transparent 30%
    ),
    var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

header {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(12, 20, 27, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--orange);
}

.newsletter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--orange);
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.newsletter-link:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

main {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 110px 0 90px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  margin: 0 0 34px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.headline-first,
.headline-second {
  display: block;
}

.headline-first {
  color: var(--text);
}

.headline-second {
  color: var(--orange);
  margin-top: 14px;
}

.intro {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  line-height: 1.75;
  color: var(--muted);
}

.audience {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--subtle);
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

.section-label {
  margin-bottom: 30px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gaps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gap {
  padding: 24px 25px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-size: 1rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.gap:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 122, 69, 0.55);
  background: var(--panel-light);
}

.gap strong {
  color: var(--text);
  font-weight: 700;
}

.newsletter {
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      rgba(212, 122, 69, 0.07),
      transparent 45%
    ),
    var(--panel);
}

.newsletter h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.28;
  letter-spacing: 0;
  font-weight: 800;
}

.newsletter-copy {
  max-width: 790px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.newsletter-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.newsletter-status:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* Project page */

.project-main {
  max-width: 900px;
}

.project-hero {
  padding: 96px 0 72px;
}

.project-hero .section-label {
  margin-bottom: 18px;
}

.project-title {
  margin: 0 0 26px;
  max-width: 820px;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.project-intro {
  max-width: 790px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.75;
}

.project-meta {
  color: var(--subtle);
  font-size: 0.9rem;
  font-weight: 600;
}

.project-section {
  padding: 62px 0;
  border-top: 1px solid var(--border);
}

.project-section h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 800;
}

.project-section p {
  max-width: 790px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

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

.project-list {
  max-width: 790px;
  margin: 26px 0 28px;
  padding-left: 22px;
  color: var(--muted);
}

.project-list li {
  margin-bottom: 11px;
  padding-left: 4px;
}

.project-list li::marker {
  color: var(--orange);
}

.project-figure {
  width: 100%;
  margin: 38px 0 42px;
}

.project-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-deep);
}

.project-figure figcaption {
  max-width: 790px;
  margin-top: 12px;
  color: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.6;
}

.validation-grid {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.validation-item {
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.validation-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 1rem;
}

.validation-item span {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.project-end {
  padding-bottom: 80px;
}

.project-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.project-button:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

footer {
  margin-top: 36px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 42px;
}

.footer-brand {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.footer-brand span {
  color: var(--orange);
}

.footer-description {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: var(--subtle);
  font-size: 0.8rem;
}

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

.footer-meta a:hover {
  color: var(--orange);
}

.publisher {
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 760px) {
  .header-inner,
  main,
  .footer-inner {
    width: min(100% - 30px, var(--max-width));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 1.3rem;
  }

  .newsletter-link {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero {
    padding: 78px 0 64px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
    line-height: 1.16;
  }

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

  .section {
    padding: 58px 0;
  }

  .newsletter {
    padding: 30px 24px;
  }

  .project-hero {
    padding: 70px 0 54px;
  }

  .project-title {
    font-size: clamp(2.45rem, 12vw, 3.8rem);
    line-height: 1.16;
  }

  .project-section {
    padding: 50px 0;
  }

  .project-section h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
    line-height: 1.32;
  }

  .project-figure {
    margin: 30px 0 34px;
  }

  .project-figure figcaption {
    font-size: 0.78rem;
  }

  .validation-item {
    padding: 19px 20px;
  }

  .project-end {
    padding-bottom: 64px;
  }

  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }
}
