@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b1220;
  --bg-soft: #111a2d;
  --card: #f8fbff;
  --text: #11223a;
  --muted: #49607a;
  --brand: #61dafb;
  --brand-2: #7c8cff;
  --ring: #8ec5ff;
  --shadow: 0 18px 34px rgba(0, 9, 28, 0.22);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom, var(--bg), #ffffff 35%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 10px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 18, 34, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.brand {
  margin: 0;
  font-weight: 800;
  color: #ecf7ff;
  letter-spacing: 0.35px;
}

.topbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.topbar a {
  color: #ecf7ff;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 8px;
  border-radius: 8px;
}

.topbar a:hover,
.topbar a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 56px;
  display: grid;
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.hero {
  color: #eef7ff;
  background:
    linear-gradient(120deg, rgba(97, 218, 251, 0.2), rgba(124, 140, 255, 0.22)),
    var(--bg-soft);
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #b8f1ff;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.meta {
  margin: 12px 0;
  color: #cde4ff;
}

.lede {
  margin: 0;
  max-width: 70ch;
  color: #ecf7ff;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: #102746;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

p + p {
  margin-top: 10px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.timeline {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}

.timeline li {
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef6ff;
  border: 1px solid #d7e7f8;
}

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

.highlight {
  display: grid;
  gap: 10px;
  background: #f4faff;
  border: 1px solid #d8e7f8;
  border-radius: 14px;
  overflow: hidden;
}

.highlight img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.highlight div {
  padding: 0 12px 12px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.photo-grid figure {
  margin: 0;
  background: #f4faff;
  border: 1px solid #d8e7f8;
  border-radius: 14px;
  overflow: hidden;
}

.photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

figcaption {
  color: #4d627a;
  font-size: 0.9rem;
  padding: 10px 12px 12px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rating {
  margin: 6px 0 12px;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: #143767;
}

.rating span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4d627a;
}

.qa-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.qa-list li {
  padding: 12px;
  border-radius: 12px;
  background: #f2f8ff;
  border: 1px solid #dbe9f9;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.85);
  padding: 52px 14px 14px;
  display: none;
}

.modal.open {
  display: block;
}

.modal-image {
  display: block;
  max-width: min(96vw, 980px);
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

.modal-caption {
  color: #eff7ff;
  text-align: center;
  margin-top: 10px;
  font-size: 0.95rem;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.3);
  outline: 2px solid var(--ring);
}

@media (max-width: 920px) {
  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  main {
    padding-inline: 14px;
  }

  .card {
    padding: 18px;
  }

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