/* Stream Benchhub — vibrant Layer C theme */
:root {
  --ink: #14221f;
  --ink-soft: #3a4f49;
  --paper: #f3fff9;
  --paper-deep: #dff7ec;
  --coral: #ff6b3d;
  --coral-deep: #e04f22;
  --teal: #2ec4b6;
  --teal-deep: #0f8f86;
  --sun: #ffd166;
  --navy-shape: #0f2e2a;
  --line: rgba(20, 34, 31, 0.12);
  --shadow: 0 18px 40px rgba(15, 46, 42, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(255, 209, 102, 0.45), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(46, 196, 182, 0.35), transparent 38%),
    linear-gradient(180deg, #f7fff9 0%, #e9fbf3 48%, #f3fff9 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy-shape);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.runtime-error {
  background: #ffe0d6;
  color: #7a1f00;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(243, 255, 249, 0.84);
  border-bottom: 2px solid rgba(15, 46, 42, 0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background:
    radial-gradient(circle at 30% 30%, var(--coral) 0 38%, transparent 39%),
    radial-gradient(circle at 70% 30%, var(--sun) 0 32%, transparent 33%),
    linear-gradient(135deg, var(--navy-shape), var(--teal-deep));
  box-shadow: 0 6px 0 rgba(15, 46, 42, 0.15);
  animation: bob 3.6s ease-in-out infinite;
}

.brand-text {
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--coral-deep);
}

.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--coral-deep);
}

.nav-cta:hover {
  background: var(--coral-deep);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy-shape);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #fff;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 6px;
  left: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--header-h) + 0.4rem);
    background: #fff;
    border: 2px solid var(--navy-shape);
    border-radius: var(--radius);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .nav-cta {
    text-align: center;
  }
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-tight {
  padding: 3rem 0;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--teal-deep);
  background: rgba(46, 196, 182, 0.18);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 0 var(--coral-deep);
}

.btn-primary:hover {
  color: #fff;
  background: var(--coral-deep);
}

.btn-secondary {
  background: var(--navy-shape);
  color: #fff;
  box-shadow: 0 6px 0 #071816;
}

.btn-secondary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-sun {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 6px 0 #e0b040;
}

.btn-sun:hover {
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Home hero — stacked brand-first composition */
.hero-burst {
  padding: 2.5rem 0 1rem;
  overflow: hidden;
}

.hero-burst-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
}

.hero-brand-lockup {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--navy-shape);
  margin: 0 0 1rem;
}

.hero-brand-lockup span {
  display: block;
}

.hero-brand-lockup .accent-line {
  color: var(--coral);
  -webkit-text-stroke: 0;
}

.hero-kicker {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-family: var(--font-display);
  font-weight: 700;
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.hero-copy {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-visual {
  position: relative;
  min-height: 360px;
  border-radius: 2rem;
  overflow: hidden;
  border: 3px solid var(--navy-shape);
  box-shadow: 12px 12px 0 var(--sun);
  transform: rotate(-1.5deg);
  animation: settle 1s ease both;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.hero-blob {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  filter: blur(0.5px);
  z-index: -1;
  animation: drift 8s ease-in-out infinite;
}

.hero-blob.one {
  width: 220px;
  height: 220px;
  background: rgba(255, 107, 61, 0.35);
  top: -40px;
  left: -30px;
}

.hero-blob.two {
  width: 180px;
  height: 180px;
  background: rgba(46, 196, 182, 0.4);
  bottom: 20px;
  right: -20px;
  animation-delay: -2s;
}

@media (max-width: 860px) {
  .hero-burst-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    transform: none;
    min-height: 260px;
  }

  .hero-visual img {
    min-height: 260px;
  }
}

/* Proof ribbon */
.proof-ribbon {
  margin: 2rem 0 0;
  background: var(--navy-shape);
  color: #e8fff8;
  border-radius: 1.5rem;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  box-shadow: 0 14px 0 rgba(15, 46, 42, 0.25);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--sun);
}

.proof-item span {
  font-size: 0.92rem;
  opacity: 0.9;
}

@media (max-width: 760px) {
  .proof-ribbon {
    grid-template-columns: 1fr 1fr;
  }
}

/* Featured course band */
.feature-band {
  background: linear-gradient(135deg, rgba(46, 196, 182, 0.2), rgba(255, 209, 102, 0.35));
  border: 2px solid rgba(15, 46, 42, 0.1);
  border-radius: 2rem;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.feature-band img {
  border-radius: 1.25rem;
  border: 2px solid var(--navy-shape);
  width: 100%;
  height: 260px;
  object-fit: cover;
}

@media (max-width: 800px) {
  .feature-band {
    grid-template-columns: 1fr;
  }
}

/* Benefit mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mosaic-item {
  background: #fff;
  border: 2px solid var(--navy-shape);
  border-radius: 1.35rem;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.mosaic-item:hover {
  transform: translateY(-4px) rotate(-0.4deg);
}

.mosaic-item:nth-child(2) {
  background: #fff7e6;
}

.mosaic-item:nth-child(3) {
  background: #e6fffa;
}

.mosaic-item h3 {
  font-size: 1.2rem;
}

.mosaic-dot {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  margin-bottom: 0.85rem;
  background: var(--coral);
  box-shadow: 6px 6px 0 var(--sun);
}

.mosaic-item:nth-child(2) .mosaic-dot {
  background: var(--teal);
  box-shadow: 6px 6px 0 var(--coral);
}

.mosaic-item:nth-child(3) .mosaic-dot {
  background: var(--sun);
  box-shadow: 6px 6px 0 var(--navy-shape);
}

@media (max-width: 800px) {
  .mosaic {
    grid-template-columns: 1fr;
  }
}

/* Quotes */
.quote-stack {
  display: grid;
  gap: 1rem;
}

.quote {
  background: #fff;
  border-left: 8px solid var(--coral);
  border-radius: 0 1.25rem 1.25rem 0;
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.quote.alt {
  border-left-color: var(--teal);
}

.quote.quiet {
  border-left-color: var(--sun);
}

.quote p {
  font-size: 1.05rem;
}

.quote footer {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Course cards (interaction containers) */
.course-grid,
.blog-grid,
.price-grid,
.review-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.price-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

@media (max-width: 900px) {
  .course-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

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

.course-card,
.blog-card,
.price-card {
  background: #fff;
  border: 2px solid var(--navy-shape);
  border-radius: 1.4rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0 rgba(15, 46, 42, 0.08);
  transition: transform 0.2s ease;
}

.course-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
}

.course-card img,
.blog-card img,
.page-hero-media img,
.instructor-avatar {
  width: 100%;
  object-fit: cover;
}

.course-card img {
  height: 180px;
}

.blog-card img {
  height: 200px;
}

.card-body {
  padding: 1.2rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body h2,
.card-body h3 {
  font-size: 1.2rem;
  margin: 0;
}

.meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  background: rgba(255, 107, 61, 0.15);
  color: var(--coral-deep);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

/* Pricing */
.price-card {
  padding: 1.5rem;
}

.price-card.featured {
  background: linear-gradient(180deg, #fff7e0, #fff);
  transform: translateY(-8px);
  box-shadow: 10px 10px 0 var(--coral);
}

.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin: 0.4rem 0;
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.price-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

/* Page heroes (inner) */
.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 16ch;
}

.page-hero-media {
  margin-top: 1.5rem;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 3px solid var(--navy-shape);
  box-shadow: 10px 10px 0 var(--teal);
}

.page-hero-media img {
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.4rem;
  font-size: 1.2rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  background: #fff;
  border: 2px solid var(--navy-shape);
  border-radius: 1rem;
  overflow: hidden;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--paper-deep);
  font-family: var(--font-display);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

/* Modules / FAQ / contact */
.module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.module-list li {
  background: #fff;
  border: 2px dashed rgba(15, 46, 42, 0.25);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
}

.module-list strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 0.25rem;
}

.faq details {
  background: #fff;
  border: 2px solid var(--navy-shape);
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border: 2px solid var(--navy-shape);
  border-radius: 1.4rem;
  padding: 1rem;
}

.instructor-avatar {
  width: 140px;
  height: 140px;
  border-radius: 1rem;
  object-fit: cover;
  border: 2px solid var(--navy-shape);
}

@media (max-width: 560px) {
  .instructor {
    grid-template-columns: 1fr;
  }
}

.form-panel {
  background: #fff;
  border: 3px solid var(--navy-shape);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 12px 12px 0 var(--sun);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 2px solid rgba(15, 46, 42, 0.2);
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #fbfffd;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(46, 196, 182, 0.45);
  border-color: var(--teal-deep);
}

.field [aria-invalid="true"] {
  border-color: var(--coral-deep);
}

.field-error {
  color: var(--coral-deep);
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

.form-status {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  background: var(--paper-deep);
  font-weight: 600;
}

.form-status.is-success {
  background: #d8f8e9;
  color: #0b5c45;
}

.form-status.is-error {
  background: #ffe0d6;
  color: #7a1f00;
}

.address-block {
  background: var(--navy-shape);
  color: #e8fff8;
  border-radius: 1.4rem;
  padding: 1.4rem;
}

.address-block a {
  color: var(--sun);
}

.address-block address {
  font-style: normal;
  margin-bottom: 1rem;
}

/* Case study blocks */
.case {
  background: #fff;
  border: 2px solid var(--navy-shape);
  border-radius: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.case h3 {
  margin-top: 0;
}

.stars {
  color: var(--coral-deep);
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* CTA slab */
.cta-slab {
  background:
    linear-gradient(120deg, rgba(255, 107, 61, 0.92), rgba(46, 196, 182, 0.9)),
    var(--navy-shape);
  color: #fff;
  border-radius: 2rem;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: 0 18px 0 rgba(15, 46, 42, 0.2);
}

.cta-slab h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-slab p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.cta-slab .btn-sun {
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  background: var(--navy-shape);
  color: #d9f5ee;
  position: relative;
}

.footer-wave {
  height: 28px;
  background:
    radial-gradient(circle at 10px 0, transparent 9px, var(--navy-shape) 10px) repeat-x;
  background-size: 28px 28px;
  transform: translateY(-27px);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
}

.footer-tag {
  max-width: 36rem;
  opacity: 0.88;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.footer-heading {
  font-size: 1rem;
  color: var(--sun);
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a,
.footer-contact-line a {
  color: #d9f5ee;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact-line a:hover {
  color: var(--sun);
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
  opacity: 0.92;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  font-size: 0.88rem;
  opacity: 0.75;
}

@media (max-width: 860px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 720px;
  margin: 0 auto;
}

.cookie-banner-inner {
  background: #fff;
  border: 3px solid var(--navy-shape);
  border-radius: 1.35rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 10px 10px 0 var(--teal);
  display: grid;
  gap: 0.9rem;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* 404 */
.error-stage {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-stage .code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 0.9;
  color: var(--coral);
  text-shadow: 8px 8px 0 var(--sun);
  margin: 0;
}

/* Motion */
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(12px, -10px) rotate(8deg);
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-1.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
