:root {
  --ttyc-blue: #4176d9;
  --ttyc-blue-dark: #315fb5;
  --ttyc-ink: #172033;
  --ttyc-muted: #5d6a7e;
  --ttyc-surface: #f1f5fc;
  --ttyc-border: rgba(65, 118, 217, 0.14);
  --ttyc-shadow: 0 22px 62px rgba(49, 95, 181, 0.12);
}

body {
  color: var(--ttyc-ink);
  background:
    radial-gradient(circle at 8% 14%, rgba(65, 118, 217, 0.1), transparent 28rem),
    radial-gradient(circle at 92% 44%, rgba(151, 191, 255, 0.14), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #f7faff 46%, #ffffff 100%);
}

.ttyc-hero {
  position: relative;
  min-height: clamp(380px, 48vw, 520px);
  margin-bottom: 0;
  background-image:
    linear-gradient(105deg, rgba(18, 22, 28, 0.56) 0%, rgba(34, 43, 58, 0.36) 48%, rgba(255, 255, 255, 0.14) 100%),
    url("../../images/yoga_wall.avif");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.ttyc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18), transparent 18rem),
    linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.48) 100%);
  pointer-events: none;
}

.ttyc-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -34%;
  left: -10%;
  height: 30%;
  background: rgba(255, 255, 255, 0.78);
  transform: rotate(-2deg);
}

.ttyc-hero .blue-cover {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: clamp(58px, 7vw, 92px) clamp(22px, 5vw, 72px) clamp(78px, 8vw, 112px);
  background: transparent;
}

.ttyc-hero .content {
  width: min(900px, 100%);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.ttyc-hero-title {
  margin: 0;
  color: #ffffff;
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(30px, 4.1vw, 48px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.ttyc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: clamp(22px, 3vw, 34px);
}

.ttyc-hero-actions .ttyc-primary-button.btn.btn-primary {
  color: #1f2933;
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  min-height: 48px;
  padding: 17px 30px;
  font-size: 18px;
  box-shadow:
    0 0 0 1px rgba(31, 41, 55, 0.08),
    0 0 18px rgba(31, 41, 55, 0.18),
    0 14px 34px rgba(31, 41, 55, 0.28) !important;
  filter: none;
}

.ttyc-hero-actions .ttyc-primary-button.btn.btn-primary:hover {
  color: #111827;
  background: #f4f7fb;
  border-color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(31, 41, 55, 0.1),
    0 0 22px rgba(31, 41, 55, 0.22),
    0 16px 38px rgba(31, 41, 55, 0.32) !important;
  filter: none;
}

.ttyc-hero-actions .ttyc-secondary-button.btn.btn-secondary {
  border-color: rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  min-height: 48px;
  padding: 17px 30px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 18px;
  backdrop-filter: blur(12px);
}

.ttyc-hero-actions .ttyc-secondary-button.btn.btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.82);
}

.ttyc-story,
.ttyc-modules,
.ttyc-notes {
  width: min(1120px, calc(100% - 40px));
  margin: clamp(34px, 5vw, 68px) auto 0;
}

.ttyc-story__header,
.ttyc-modules,
.ttyc-notes {
  padding: clamp(28px, 4.5vw, 54px);
  border: 1px solid var(--ttyc-border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ttyc-shadow);
  backdrop-filter: blur(14px);
}

.ttyc-eyebrow {
  margin: 0 0 10px;
  color: var(--ttyc-blue-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ttyc-story__header h2,
.ttyc-section-header h2 {
  max-width: 860px;
  margin: 0;
  color: var(--ttyc-ink);
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ttyc-story__header h2::after,
.ttyc-section-header h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin: 22px 0 0;
  border-radius: 999px;
  background: var(--ttyc-blue);
}

.ttyc-story p,
.ttyc-modules p,
.ttyc-notes p,
.ttyc-module-content li,
.ttyc-note-card li {
  color: var(--ttyc-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.76;
}

.ttyc-story__header p {
  max-width: 940px;
  margin: 24px 0 0;
}

.ttyc-feature {
  position: relative;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(65, 118, 217, 0.14);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(241, 245, 252, 0.96), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top right, rgba(65, 118, 217, 0.16), transparent 24rem);
  box-shadow: 0 1px 2px rgba(49, 95, 181, 0.06);
}

.ttyc-feature::before {
  content: "";
  position: absolute;
  top: clamp(28px, 4vw, 44px);
  bottom: clamp(28px, 4vw, 44px);
  left: clamp(18px, 3vw, 30px);
  width: 4px;
  border-radius: 999px;
  background: var(--ttyc-blue);
}

.ttyc-feature p {
  margin: 0;
  padding-left: clamp(18px, 4vw, 34px);
}

.ttyc-card-grid,
.ttyc-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.ttyc-card,
.ttyc-note-card {
  position: relative;
  min-height: 250px;
  padding: clamp(24px, 3vw, 32px);
  padding-right: clamp(78px, 7vw, 92px);
  border: 1px solid rgba(65, 118, 217, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 2px rgba(49, 95, 181, 0.06);
  overflow: hidden;
}

.ttyc-card--calm,
.ttyc-note-card--calm {
  background: var(--ttyc-surface);
}

.ttyc-card--wide,
.ttyc-note-card--wide {
  grid-column: 1 / -1;
  min-height: auto;
}

.ttyc-card__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(65, 118, 217, 0.12);
  border-radius: 50%;
  color: var(--ttyc-blue);
  background: rgba(238, 244, 255, 0.92);
}

.ttyc-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ttyc-card h3,
.ttyc-note-card h3,
.ttyc-module-content h3 {
  margin: 0;
  color: var(--ttyc-ink);
  font-family: "Roboto", Arial, sans-serif;
  font-size: clamp(20px, 2.1vw, 27px);
  font-weight: 520;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.ttyc-card p,
.ttyc-note-card p {
  margin: 16px 0 0;
}

.ttyc-inline-link {
  color: var(--ttyc-blue-dark);
  font-weight: 560;
  text-decoration: none;
}

.ttyc-inline-link:hover {
  color: var(--ttyc-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ttyc-section-header {
  margin-bottom: clamp(22px, 3.5vw, 36px);
}

.ttyc-module-list {
  display: grid;
  gap: 14px;
}

.ttyc-module-card {
  border: 1px solid rgba(65, 118, 217, 0.12);
  border-radius: 24px;
  background: var(--ttyc-surface);
  box-shadow: 0 1px 2px rgba(49, 95, 181, 0.06);
  overflow: hidden;
}

.ttyc-module-card summary {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.ttyc-module-card summary::-webkit-details-marker {
  display: none;
}

.ttyc-module-card summary::after {
  content: "+";
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ttyc-blue);
  background: #ffffff;
  font-size: 24px;
  line-height: 1;
}

.ttyc-module-card[open] summary::after {
  content: "−";
}

.ttyc-module-card summary span {
  color: var(--ttyc-blue-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ttyc-module-card summary strong {
  color: var(--ttyc-ink);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 520;
  line-height: 1.25;
}

.ttyc-module-content {
  padding: 0 24px 26px;
}

.ttyc-module-content h3 {
  margin-top: 24px;
  font-size: clamp(18px, 1.8vw, 22px);
}

.ttyc-module-content ul,
.ttyc-note-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.ttyc-module-content p,
.ttyc-module-note {
  margin: 18px 0 0;
}

@media (max-width: 900px) {
  .ttyc-hero {
    min-height: 430px;
    background-position: center;
  }

  .ttyc-hero .blue-cover {
    align-items: flex-end;
    padding: 72px 28px 96px;
  }

  .ttyc-story,
  .ttyc-modules,
  .ttyc-notes {
    width: min(100% - 28px, 760px);
  }

  .ttyc-card-grid,
  .ttyc-notes-grid {
    grid-template-columns: 1fr;
  }

  .ttyc-card,
  .ttyc-note-card {
    min-height: auto;
  }

  .ttyc-module-card summary {
    grid-template-columns: 1fr auto;
  }

  .ttyc-module-card summary span {
    grid-column: 1 / -1;
  }

  .ttyc-module-card summary strong {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .ttyc-hero {
    min-height: 470px;
  }

  .ttyc-hero .blue-cover {
    padding: 64px 18px 92px;
  }

  .ttyc-hero-actions,
  .ttyc-hero-actions .btn {
    width: 100%;
  }

  .ttyc-story__header,
  .ttyc-modules,
  .ttyc-notes,
  .ttyc-feature,
  .ttyc-card,
  .ttyc-note-card {
    border-radius: 24px;
    padding: 22px 18px;
  }

  .ttyc-card {
    padding-top: 78px;
  }

  .ttyc-feature::before {
    top: 22px;
    bottom: 22px;
    left: 18px;
  }

  .ttyc-feature p {
    padding-left: 18px;
  }

  .ttyc-module-card summary,
  .ttyc-module-content {
    padding-right: 18px;
    padding-left: 18px;
  }
}
