:root {
  --bg: #edf5f8;
  --bg-strong: #e4f0f4;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #172635;
  --muted: #617284;
  --muted-strong: #415264;
  --line: rgba(17, 33, 48, 0.08);
  --line-strong: rgba(17, 33, 48, 0.13);
  --coral: #ff726d;
  --coral-strong: #ff5c61;
  --rose: #ffd8df;
  --ice: #d9edf1;
  --shadow: 0 28px 70px rgba(100, 124, 138, 0.16);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1.1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 121, 129, 0.18), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.92), transparent 15%),
    linear-gradient(180deg, #f3f8fa 0%, #ecf4f7 100%);
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 28rem;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
}

.ambient-left {
  top: 8rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(255, 118, 122, 0.19), transparent 66%);
}

.ambient-right {
  top: 30rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(217, 237, 241, 0.95), transparent 62%);
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  left: 50%;
  top: 1rem;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin-top: 0;
  padding: 1rem 1.2rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  backdrop-filter: none;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-visible {
  transform: translate(-50%, 0);
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 40px rgba(93, 118, 132, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ff8e90, #ff6368);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 24px rgba(255, 92, 97, 0.24);
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-copy strong {
  font-size: 0.95rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-strong));
  color: #fff;
  box-shadow: 0 20px 38px rgba(255, 92, 97, 0.22);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
  color: var(--text);
}

.section {
  padding: 4.8rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 7rem);
  padding-top: 6.25rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--coral-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 7vw, 6.6rem);
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.hero-copy p,
.section-copy p,
.cta-copy p,
.page-intro p,
.snapshot-note {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 0.95rem;
}

.hero-lede {
  margin: 0;
  max-width: 34rem;
  font-size: 1rem;
}

.hero-actions,
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions {
  margin: 1.2rem 0 0.4rem;
}

.trust-grid,
.snapshot-grid,
.category-grid,
.stack-grid,
.compound-grid,
.detail-grid,
.route-grid,
.format-grid,
.related-grid,
.release-grid,
.cta-grid {
  display: grid;
  gap: 1rem;
}

.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.card,
.trust-card,
.hero-panel,
.hero-glass,
.stack-card,
.category-card,
.compound-card,
.detail-card,
.route-card,
.format-card,
.release-card,
.cta-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.trust-card,
.hero-glass,
.stack-card,
.category-card,
.compound-card,
.detail-card,
.route-card,
.format-card,
.release-card {
  border-radius: var(--radius-lg);
}

.trust-card {
  padding: 1.2rem;
}

.trust-card strong,
.snapshot-card strong,
.detail-stat strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.45rem;
}

.trust-card span,
.snapshot-card span,
.detail-stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  min-height: 42rem;
}

.hero-panel {
  position: relative;
  height: 100%;
  min-height: 42rem;
  border-radius: 3rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.96), transparent 16%),
    linear-gradient(160deg, rgba(255, 194, 203, 0.52), rgba(255, 112, 111, 0.18) 58%, rgba(217, 237, 241, 0.86));
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  filter: blur(5px);
}

.hero-panel::before {
  top: 8%;
  left: -10%;
  width: 12rem;
  height: 12rem;
}

.hero-panel::after {
  right: -8%;
  bottom: -8%;
  width: 14rem;
  height: 14rem;
}

.hero-vial {
  position: absolute;
  bottom: 2rem;
  border-radius: 2rem 2rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.18)),
    linear-gradient(180deg, rgba(255, 122, 126, 0.18), rgba(255, 114, 109, 0.62));
  box-shadow: 0 20px 44px rgba(151, 87, 91, 0.18);
}

.hero-vial::before {
  content: "";
  position: absolute;
  top: -0.95rem;
  left: 18%;
  width: 64%;
  height: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8589, #ff6469);
  box-shadow: 0 10px 18px rgba(255, 92, 97, 0.22);
}

.hero-vial-a {
  left: 2rem;
  width: 7rem;
  height: 19rem;
}

.hero-vial-b {
  left: 9rem;
  width: 5.7rem;
  height: 13rem;
}

.hero-vial-c {
  right: 2.4rem;
  width: 8rem;
  height: 22rem;
}

.hero-glass {
  position: absolute;
  padding: 1.15rem;
}

.hero-glass.top {
  top: 1.2rem;
  left: 1.2rem;
  width: 15rem;
}

.hero-glass.mid {
  right: 1.2rem;
  bottom: 5.5rem;
  width: 15.8rem;
}

.hero-glass.bottom {
  left: 4rem;
  bottom: 1.2rem;
  width: 12rem;
  background: linear-gradient(160deg, rgba(255, 114, 109, 0.98), rgba(255, 95, 97, 0.88));
  color: #fff;
}

.label {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--coral-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-glass.bottom .label,
.hero-glass.bottom li {
  color: rgba(255, 255, 255, 0.86);
}

.hero-glass strong,
.stack-card h3,
.compound-card h3,
.detail-card h3 {
  font-size: 1.2rem;
}

.hero-glass small,
.hero-glass p,
.stack-card p,
.category-card p,
.compound-card p,
.detail-card p,
.route-card p,
.format-card p,
.release-card p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-glass.bottom p,
.hero-glass.bottom small {
  color: rgba(255, 255, 255, 0.9);
}

.hero-glass ul {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.8;
}

.section-head,
.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head p,
.split-head p {
  max-width: 37rem;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.stack-card,
.compound-card,
.detail-card,
.route-card,
.format-card,
.release-card {
  padding: 1.45rem;
}

.category-chip,
.compound-chip,
.stack-chip,
.page-chip {
  display: inline-flex;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 112, 111, 0.1);
  color: var(--coral-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stack-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack-card {
  display: grid;
  gap: 0.95rem;
}

.stack-link,
.compound-link,
.inline-link {
  color: var(--muted-strong);
  font-weight: 700;
}

.compound-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compound-card {
  display: grid;
  gap: 1rem;
}

.compound-meta,
.detail-stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.meta-pill {
  padding: 0.42rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.compound-list,
.detail-list,
.route-list,
.format-list,
.release-list,
.related-list,
.stack-pair-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.compound-list li,
.detail-list li,
.route-list li,
.format-list li,
.release-list li,
.related-list li,
.stack-pair-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.compound-list li::before,
.detail-list li::before,
.route-list li::before,
.format-list li::before,
.release-list li::before,
.related-list li::before,
.stack-pair-list li::before {
  content: "";
  position: absolute;
  top: 0.68rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--coral);
}

.qa-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}

.release-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.cta-panel {
  padding: 1.6rem;
  border-radius: var(--radius-xl);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 92, 97, 0.42);
  box-shadow: 0 0 0 4px rgba(255, 92, 97, 0.12);
}

.page-hero {
  padding-top: 2.5rem;
}

.page-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.page-summary-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.92), transparent 18%),
    linear-gradient(160deg, rgba(255, 215, 221, 0.7), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.snapshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.snapshot-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.route-grid,
.format-grid,
.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-stat-list {
  margin-top: 1rem;
}

.detail-stat {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.62);
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--muted-strong);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  .hero,
  .qa-panel,
  .cta-grid,
  .page-intro {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-visual,
  .hero-panel {
    min-height: 36rem;
  }

  .category-grid,
  .stack-grid,
  .snapshot-grid,
  .route-grid,
  .format-grid,
  .related-grid,
  .release-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    left: 50%;
    top: 0.6rem;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
    padding: 0.72rem 0.9rem;
    border-radius: 1.75rem;
    width: calc(100% - 1rem);
  }

  .brand {
    width: auto;
    flex: 1;
    justify-content: flex-start;
    gap: 0.7rem;
  }

  .brand-mark {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.9rem;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    display: none;
  }

  .button {
    min-height: 2.45rem;
    padding: 0.56rem 0.82rem;
    font-size: 0.84rem;
  }

  .site-nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.82rem;
  }

  .hero {
    min-height: calc(100dvh - 1rem);
    align-content: start;
    gap: 0.7rem;
    padding: 7rem 0 1rem;
  }

  .hero-copy {
    gap: 0.65rem;
  }

  .eyebrow {
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(2rem, 8vw, 2.85rem);
    line-height: 0.9;
  }

  .hero-lede {
    max-width: none;
    font-size: 0.82rem;
    line-height: 1.36;
  }

  .hero-actions,
  .hero-links {
    gap: 0.65rem;
  }

  .hero-links {
    display: none;
  }

  .hero-actions {
    margin: 0.35rem 0 0;
  }

  .trust-grid {
    margin-top: 0.1rem;
    gap: 0.55rem;
  }

  .trust-card {
    padding: 0.5rem 0.45rem;
    border-radius: 1rem;
  }

  .trust-card strong {
    font-size: 0.88rem;
    margin-bottom: 0.08rem;
  }

  .trust-card span {
    display: block;
    font-size: 0.58rem;
    line-height: 1.08;
  }

  .hero-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    min-height: 9rem;
    padding: 3rem 0.3rem 0.3rem;
    border-radius: 1.8rem;
  }

  .hero-vial-a {
    left: 0.8rem;
    width: 2.75rem;
    height: 5rem;
    bottom: 2.75rem;
  }

  .hero-vial-b {
    left: 3rem;
    width: 2.1rem;
    height: 3.4rem;
    bottom: 2.95rem;
  }

  .hero-vial-c {
    right: 0.8rem;
    width: 3rem;
    height: 5.5rem;
    bottom: 2.8rem;
  }

  .hero-glass.top,
  .hero-glass.mid,
  .hero-glass.bottom {
    position: relative;
    inset: auto;
    width: auto;
    margin: 0;
    padding: 0.45rem;
    border-radius: 1.1rem;
    min-height: 0;
  }

  .hero-glass.top {
    grid-column: 1 / -1;
  }

  .hero-glass.mid,
  .hero-glass.bottom {
    grid-column: span 1;
  }

  .hero-glass strong {
    font-size: 0.72rem;
  }

  .hero-glass small,
  .hero-glass p,
  .hero-glass li {
    font-size: 0.56rem;
    line-height: 1.14;
  }

  .hero-glass .label {
    margin-bottom: 0.18rem;
    font-size: 0.46rem;
  }

  .hero-glass.bottom ul {
    line-height: 1.4;
  }

  .hero-glass.bottom li + li {
    margin-top: 0.22rem;
  }

  .trust-grid,
  .category-grid,
  .stack-grid,
  .compound-grid,
  .snapshot-grid,
  .detail-grid,
  .route-grid,
  .format-grid,
  .related-grid,
  .release-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .split-head,
  .site-footer {
    flex-direction: column;
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
