:root {
  --background: #f8fbfa;
  --surface: #ffffff;
  --surface-soft: #f1fbf8;
  --surface-blue: #e0f2fe;
  --primary: #0f766e;
  --secondary: #134e4a;
  --accent: #14b8a6;
  --soft-accent: #ccfbf1;
  --warning: #f59e0b;
  --pharmacy-green: #2e7d32;
  --border: #d7e5e2;
  --text: #1f2937;
  --muted: #64748b;
  --shadow: 0 18px 45px rgba(15, 76, 70, 0.12);
  --shadow-soft: 0 10px 25px rgba(15, 76, 70, 0.08);
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 12%, rgba(204, 251, 241, 0.7), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(224, 242, 254, 0.85), transparent 30%),
    linear-gradient(180deg, #f8fbfa 0%, #effaf6 48%, #f8fbfa 100%);
  color: var(--text);
  font-family: "Noto Sans", Arial, sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(20, 184, 166, 0.18) 1.2px, transparent 1.2px),
    radial-gradient(circle, rgba(15, 118, 110, 0.12) 1px, transparent 1px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  z-index: -1;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 251, 250, 0.86);
  border-bottom: 1px solid rgba(215, 229, 226, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--secondary);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.22);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.94rem;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--secondary);
  background: rgba(204, 251, 241, 0.78);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--secondary);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.hero-label {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr);
  gap: 28px;
  align-items: stretch;
}

.label-card,
.index-label,
.profile-card,
.record-card,
.outcomes-sheet,
.dialog-sheet {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.label-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 520px;
  padding: 34px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.label-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 13px;
  pointer-events: none;
}

.label-card::after {
  content: "Rx";
  position: absolute;
  right: 32px;
  bottom: 22px;
  color: rgba(15, 118, 110, 0.07);
  font-size: clamp(7rem, 13vw, 12rem);
  font-weight: 900;
  line-height: 1;
  z-index: 0;
}

.label-card > * {
  position: relative;
  z-index: 1;
}

.label-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--secondary);
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-card h1 {
  max-width: 760px;
  margin: 0;
  color: var(--secondary);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.tagline {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--primary);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.student-strip {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) minmax(220px, 1.55fr) minmax(120px, 0.85fr);
  gap: 10px;
  margin: 30px 0 0;
}

.student-strip div {
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f6fcfa);
}

.student-strip dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.student-strip dd {
  margin: 0;
  color: var(--secondary);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.index-label {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 520px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(204, 251, 241, 0.62), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.index-label::before,
.index-label::after,
.molecule::before,
.molecule::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.index-label::before {
  width: 170px;
  height: 170px;
  right: -54px;
  top: -48px;
  border: 22px solid rgba(20, 184, 166, 0.13);
}

.index-label::after {
  width: 86px;
  height: 32px;
  left: 30px;
  bottom: 34px;
  background: rgba(20, 184, 166, 0.14);
  box-shadow: 42px 0 0 rgba(15, 118, 110, 0.08);
}

.safety-stamp {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--secondary);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.index-label h2 {
  margin: 0 0 18px;
  color: var(--secondary);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
}

#module-index {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#module-index li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

#module-index .index-number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  background: var(--soft-accent);
  color: var(--secondary);
  font-weight: 900;
}

#module-index .index-title {
  color: var(--secondary);
  font-weight: 850;
  line-height: 1.35;
}

.lab-note {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  padding: 16px;
  border: 1px dashed rgba(15, 118, 110, 0.32);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.74);
}

.lab-note span {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
}

.lab-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.molecule {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 50%;
  opacity: 0.75;
}

.molecule-one {
  left: -76px;
  top: 120px;
}

.molecule-two {
  right: -82px;
  bottom: 80px;
}

.molecule::before {
  width: 24px;
  height: 24px;
  left: 28px;
  top: 34px;
  background: var(--soft-accent);
}

.molecule::after {
  width: 14px;
  height: 14px;
  right: 34px;
  bottom: 42px;
  background: rgba(245, 158, 11, 0.45);
}

.section {
  padding: 78px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.48);
  border-block: 1px solid rgba(215, 229, 226, 0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.module-rail h2 {
  margin: 0;
  color: var(--secondary);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profile-card {
  min-height: 260px;
  padding: 22px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.profile-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--soft-accent);
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-card h3 {
  margin: 0 0 12px;
  color: var(--secondary);
  font-size: 1.08rem;
  line-height: 1.35;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.module-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.module-rail {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.module-rail p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.module-records {
  display: grid;
  gap: 16px;
}

.record-card {
  position: relative;
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 20px;
  padding: 22px;
  border-radius: var(--radius);
  overflow: hidden;
}

.record-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--primary);
}

.record-card.is-featured {
  border-color: rgba(245, 158, 11, 0.42);
  background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
}

.record-card.is-featured::before {
  background: var(--warning);
}

.module-badge {
  min-height: 104px;
  padding: 12px;
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--secondary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.module-badge span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.module-badge strong {
  font-size: 2.15rem;
  line-height: 1;
}

.record-content {
  min-width: 0;
}

.record-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.record-code,
.record-focus {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.record-code {
  background: var(--soft-accent);
  color: var(--secondary);
}

.record-focus {
  background: rgba(245, 158, 11, 0.16);
  color: #9a5b00;
}

.record-card h3 {
  margin: 0;
  color: var(--secondary);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.record-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.record-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.record-tags span {
  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.record-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--secondary);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 76, 70, 0.1);
}

.button-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.button-secondary {
  border-color: rgba(15, 118, 110, 0.22);
  background: var(--soft-accent);
}

.outcomes-sheet {
  padding: 30px;
  border-radius: var(--radius-lg);
}

.outcome-table {
  display: grid;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.outcome-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.outcome-row + .outcome-row {
  border-top: 1px solid var(--border);
}

.outcome-term {
  padding: 18px;
  background: var(--surface-soft);
  color: var(--secondary);
  font-weight: 900;
}

.outcome-description {
  padding: 18px;
  color: var(--muted);
}

.record-dialog {
  width: min(920px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
}

.record-dialog::backdrop {
  background: rgba(19, 78, 74, 0.42);
  backdrop-filter: blur(3px);
}

.dialog-sheet {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--secondary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.dialog-sheet h3 {
  max-width: 760px;
  margin: 0 44px 22px 0;
  color: var(--secondary);
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.15;
}

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

.detail-item {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: linear-gradient(180deg, #fff, #f8fcfb);
}

.detail-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.detail-item h4 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.detail-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  padding: 28px 0;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.86);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner strong {
  color: white;
}

@media (max-width: 980px) {
  .hero-grid,
  .module-layout {
    grid-template-columns: 1fr;
  }

  .label-card,
  .index-label {
    min-height: auto;
  }

  .module-rail {
    position: static;
  }

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

@media (max-width: 760px) {
  .container,
  .nav-shell {
    width: min(100% - 28px, var(--container));
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    border-radius: 9px;
  }

  .hero-label {
    padding: 48px 0 54px;
  }

  .label-card,
  .index-label,
  .outcomes-sheet {
    padding: 22px;
  }

  .label-card::before {
    inset: 12px;
  }

  .label-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
  }

  .student-strip,
  .profile-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .record-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .module-badge {
    min-height: auto;
    flex-direction: row;
    align-items: center;
  }

  .outcome-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand span:last-child {
    max-width: 190px;
    line-height: 1.2;
  }

  .label-card h1 {
    font-size: 1.86rem;
    line-height: 1.12;
  }

  .record-actions,
  .dialog-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
