:root {
  --bg: #f7f5ef;
  --bg-strong: #ece7dc;
  --text: #192233;
  --muted: #667184;
  --line: #d8d2c4;
  --card: rgba(255, 255, 255, 0.78);
  --teal: #0f766e;
  --coral: #d45f45;
  --amber: #d99a24;
  --ink: #111827;
  --shadow: 0 24px 70px rgba(25, 34, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(15, 118, 110, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(212, 95, 69, 0.13), transparent 24rem),
    linear-gradient(180deg, var(--bg) 0%, #fffdf8 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--teal);
  font-weight: 700;
  text-decoration-color: rgba(15, 118, 110, 0.28);
  text-underline-offset: 4px;
}

a:hover,
a:focus-visible {
  color: #0a5f59;
  text-decoration-color: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(216, 210, 196, 0.75);
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

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

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 9px 12px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

main {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-height: calc(88vh - 72px);
  padding: 86px 0 64px;
}

.label {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 2.45vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  white-space: nowrap;
}

.visual-panel {
  position: relative;
  display: grid;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(216, 210, 196, 0.86);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 231, 220, 0.86)),
    repeating-linear-gradient(90deg, rgba(25, 34, 51, 0.035) 0 1px, transparent 1px 42px);
  box-shadow: var(--shadow);
  place-items: center;
}

.visual-panel::before,
.visual-panel::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.visual-panel::before {
  inset: 34px auto auto 42px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  background: rgba(15, 118, 110, 0.06);
}

.visual-panel::after {
  right: 54px;
  bottom: 36px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(212, 95, 69, 0.26);
  background: rgba(212, 95, 69, 0.07);
}

.logo-lockup {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.logo-d {
  color: var(--teal);
  font-size: clamp(4.6rem, 11vw, 9.2rem);
  font-weight: 900;
  line-height: 0.82;
}

.logo-letters {
  color: var(--ink);
  font-size: clamp(3.2rem, 7.6vw, 6.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.88;
}

.logo-orbit,
.denoise-row {
  position: absolute;
}

.logo-orbit {
  z-index: 1;
  width: 270px;
  height: 96px;
  border: 2px solid rgba(15, 118, 110, 0.24);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.orbit-two {
  border-color: var(--coral);
  transform: rotate(12deg);
  opacity: 0.42;
}

.denoise-row {
  z-index: 1;
  display: flex;
  gap: 8px;
}

.denoise-row span {
  display: block;
  width: 28px;
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}

.denoise-row span:nth-child(2) {
  background: rgba(15, 118, 110, 0.48);
}

.denoise-row span:nth-child(3) {
  background: rgba(217, 154, 36, 0.52);
}

.denoise-row span:nth-child(4) {
  background: rgba(212, 95, 69, 0.48);
}

.denoise-row span:nth-child(5) {
  background: rgba(17, 24, 39, 0.2);
}

.row-one {
  top: 44px;
  right: 64px;
}

.row-two {
  bottom: 48px;
  left: 64px;
}

.content-section,
.schedule-section,
.resources-section,
.tutors {
  padding: 0 0 clamp(64px, 9vw, 104px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: clamp(34px, 5vw, 56px);
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.schedule-section h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
}

.content-grid,
.resource-grid,
.tutor-list {
  display: grid;
  gap: 16px;
}

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

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

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

article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  border: 1px solid rgba(216, 210, 196, 0.92);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 10px 34px rgba(25, 34, 51, 0.08);
  padding: 22px;
}

.summary-card {
  min-height: 230px;
}

.summary-card h3 {
  margin-bottom: 14px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  border: 1px solid rgba(216, 210, 196, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(25, 34, 51, 0.08);
  overflow: hidden;
}

.timeline-item summary {
  display: grid;
  grid-template-columns: 112px 1fr 28px;
  gap: 18px;
  align-items: start;
  cursor: pointer;
  list-style: none;
  padding: 22px;
}

.timeline-item summary::-webkit-details-marker {
  display: none;
}

.timeline-item summary::after {
  display: grid;
  width: 28px;
  height: 28px;
  align-self: center;
  border: 1px solid rgba(15, 118, 110, 0.32);
  border-radius: 50%;
  color: var(--teal);
  content: "+";
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  place-items: center;
}

.timeline-item[open] summary {
  border-bottom: 1px solid rgba(216, 210, 196, 0.72);
}

.timeline-item[open] summary::after {
  content: "-";
}

.timeline-item time {
  color: var(--teal);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.25;
}

.timeline-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.15;
}

.timeline-item small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.module-details {
  display: grid;
  gap: 16px;
  padding: 20px 22px 22px 152px;
}

.module-details p {
  max-width: 860px;
  margin: 0;
}

.demo-box {
  max-width: 900px;
  border-left: 3px solid var(--amber);
  background: rgba(236, 231, 220, 0.45);
  padding: 16px 18px;
}

.demo-box strong {
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.demo-box p {
  margin-top: 8px;
}

.placeholder {
  color: #8a5a12;
  font-weight: 650;
}

.resource-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  border: 1px solid rgba(216, 210, 196, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 34px rgba(25, 34, 51, 0.08);
  padding: 22px;
  text-decoration: none;
}

.resource-card span {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.resource-card strong {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

.resource-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.resource-card:hover,
.resource-card:focus-visible {
  border-color: rgba(15, 118, 110, 0.44);
  color: var(--teal);
  transform: translateY(-2px);
}

.person-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.initials {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
}

.role {
  margin: 0;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 850;
  text-align: right;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 7px 0;
  color: var(--muted);
}

article a {
  margin-top: auto;
  overflow-wrap: anywhere;
  padding-top: 18px;
  font-size: 0.94rem;
}

@media (max-width: 1200px) {
  h1 {
    max-width: 980px;
    font-size: clamp(2.15rem, 5.2vw, 3.5rem);
    white-space: normal;
  }
}

@media (max-width: 1020px) {
  h1 {
    font-size: clamp(2rem, 5.2vw, 3rem);
  }

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

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 12px;
  }

  nav {
    width: 100%;
  }

  nav a {
    flex: 1;
    text-align: center;
  }

  main {
    width: min(100% - 32px, 1400px);
  }

  .hero {
    gap: 14px;
    padding-top: 46px;
  }

  h1 {
    font-size: 1.85rem;
    white-space: normal;
  }

  .visual-panel {
    min-height: 240px;
  }

  .row-one {
    left: 34px;
  }

  .row-two {
    right: 30px;
  }

  .node-field {
    right: 28px;
    grid-template-columns: repeat(3, 22px);
    gap: 18px;
  }

  .node-field span {
    width: 22px;
    height: 22px;
  }

  .resource-grid,
  .tutor-list {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    min-height: 0;
  }

  .timeline-item summary {
    grid-template-columns: 1fr 28px;
  }

  .timeline-item time {
    grid-column: 1 / -1;
  }

  .module-details {
    padding-left: 22px;
  }

  article {
    min-height: 0;
  }
}
