* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
}

body {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.30),
      rgba(0, 0, 0, 0.35)
    ),
    url("../images/ic1805-background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.homepage {
  min-height: 100vh;
  overflow-y: auto;
}

.top-nav {
  width: 100%;
  padding: 22px 36px;
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2px);
}

.top-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

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

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 20px 7vw 70px;
}

.hero-content {
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 45px;
  align-items: center;
}
.title-block {
  max-width: 760px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.95);
}

.title-block h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 6.2vw, 6.7rem);
  line-height: 0.95;
  font-weight: 700;
}

.title-block p {
  margin: 0;
  max-width: 700px;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.35;
}

.button-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 430px;
  justify-self: center;
  width: 100%;
}

.hero-button {
  display: block;
  width: 100%;
  padding: 16px 24px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85);
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-button:hover,
.hero-button:focus {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hidden-preload {
  display: none;
}

@media (max-width: 850px) {
  body {
    background-attachment: scroll;
  }

.top-nav {
  padding: 12px 14px;
  gap: 14px;
}

  .top-nav a {
    font-size: 0.95rem;
  }

.title-block h1 {
  font-size: clamp(2.8rem, 13vw, 4.1rem);
}

.title-block p {
  margin-bottom: 10px;
  font-size: clamp(1.05rem, 5vw, 1.35rem);
}

.button-panel {
  margin-top: 8px;
}

  .hero {
    padding: 42px 24px 60px;
    align-items: flex-start;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .title-block {
    text-align: center;
    margin: 0 auto;
  }

  .button-panel {
    max-width: 380px;
    margin: 0 auto;
  }

  .hero-button {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    padding: 14px 18px;
  }
}

.page {
  min-height: 100vh;
}

.content-page {
  min-height: calc(100vh - 78px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 70px 24px;
}

.content-card {
  width: min(950px, 100%);
  padding: 42px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.68);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.content-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
}

.content-card p {
  font-size: 1.25rem;
  line-height: 1.5;
}

.guide-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.guide-item {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.guide-item h2 {
  margin: 0 0 10px;
  font-size: 1.65rem;
}

.guide-item p {
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.guide-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.guide-links a {
  display: inline-block;
  padding: 11px 18px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guide-links a:hover,
.guide-links a:focus {
  background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 850px) {
  .content-page {
    padding: 38px 18px 70px;
  }

  .content-card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .content-card p {
    font-size: 1.05rem;
  }

  .guide-item {
    padding: 20px;
  }

  .guide-links {
    flex-direction: column;
  }

  .guide-links a {
    text-align: center;
  }
}

.inline-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.inline-link:visited {
  color: #ffffff;
}

.inline-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
  border-radius: 4px;
}
.inline-link:hover,
.inline-link:focus {
  text-decoration-thickness: 3px;
}

.blog-image {
  margin: 32px 0;
}

.blog-image img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.blog-image a {
  display: inline-block;
}

.blog-image a:hover img,
.blog-image a:focus img {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.blog-image figcaption {
  margin-top: 10px;
  max-width: 760px;
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.9;
}


.blog-image-centered {
  text-align: center;
}

.blog-image-centered img {
  margin-left: auto;
  margin-right: auto;
}

.blog-image-centered figcaption {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.meteor-kit-float {
  float: left;
  width: 33%;
  max-width: 310px;
  min-width: 260px;
  margin: 6px 28px 18px 0;
}

.meteor-kit-float img {
  width: 100%;
  max-width: 310px;
}

.meteor-kit-float figcaption {
  max-width: 310px;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 700px) {
  .meteor-kit-float {
    float: none;
    max-width: 320px;
    margin: 24px auto;
  }

  .meteor-kit-float img,
  .meteor-kit-float figcaption {
    max-width: 320px;
  }
}

.blog-image-float {
  float: right;
  max-width: 320px;
  margin: 0 0 18px 28px;
}

.blog-image-float img {
  width: 100%;
  max-width: 320px;
}

.blog-image-float figcaption {
  max-width: 320px;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .blog-image-float {
    float: none;
    max-width: 100%;
    margin: 28px 0;
  }

  .blog-image-float img,
  .blog-image-float figcaption {
    max-width: 100%;
  }
}