@import url("https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800&family=Outfit:wght@500;600;700&display=swap");

:root {
  color-scheme: light;
  --font-sans: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --bg: #f4f0e5;
  --bg-strong: #fefcf5;
  --bg-soft: #e6f2e7;
  --surface: rgba(254, 252, 245, 0.84);
  --surface-strong: rgba(254, 252, 245, 0.94);
  --surface-tinted: rgba(230, 242, 231, 0.68);
  --line: rgba(36, 54, 44, 0.12);
  --line-strong: rgba(36, 54, 44, 0.22);
  --text: #1a2820;
  --text-muted: #59675e;
  --text-soft: #78847c;
  --mint: #61886b;
  --mint-strong: #36573f;
  --mint-soft: rgba(101, 138, 111, 0.14);
  --rose: #b77852;
  --rose-soft: rgba(186, 118, 82, 0.14);
  --shadow-soft: 0 16px 42px rgba(18, 35, 31, 0.08);
  --shadow-lg: 0 40px 90px rgba(18, 35, 31, 0.16);
  --shadow-hover: 0 22px 52px rgba(28, 42, 34, 0.11);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-card: 26px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(62rem 42rem at 8% -12%, rgba(101, 138, 111, 0.18), transparent 62%),
    radial-gradient(48rem 34rem at 94% -6%, rgba(186, 118, 82, 0.11), transparent 60%),
    linear-gradient(180deg, #fffcf5 0%, #f6f2e7 48%, #f2eee2 100%);
}

.bento {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--bg-strong) 92%, transparent);
  box-shadow: 0 14px 38px rgba(28, 42, 34, 0.07);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.bento-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header-inner {
  width: var(--container);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 14px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.brand-subtitle {
  color: var(--text-soft);
  font-size: 0.84rem;
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.header-nav a:not(.button) {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: color 140ms ease, background-color 140ms ease;
}

.header-nav a:not(.button):hover,
.header-nav a:not(.button):focus-visible {
  background: var(--mint-soft);
  color: var(--text);
  outline: none;
}

.nav-chip {
  border: 1px solid color-mix(in srgb, var(--rose) 28%, transparent);
  background: var(--rose-soft);
  color: color-mix(in srgb, var(--rose) 72%, var(--text));
  font-weight: 700;
}

.header-more {
  position: relative;
}

.header-more summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  list-style: none;
}

.header-more summary::-webkit-details-marker {
  display: none;
}

.header-more summary::after {
  content: "↓";
  margin-left: 6px;
  font-size: 0.8em;
}

.header-more[open] summary,
.header-more summary:hover,
.header-more summary:focus-visible {
  background: var(--mint-soft);
  color: var(--text);
  outline: none;
}

.header-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.header-more-menu a {
  width: 100%;
  justify-content: flex-start;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.switch-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch-label {
  color: var(--text-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.switch-select {
  min-height: 42px;
  max-width: 190px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.switch-select:focus-visible {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
  outline: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle-line {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 140ms ease, opacity 140ms ease;
}

.menu-toggle.is-open .menu-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.content-main {
  padding: 64px 0 32px;
}

.content-article {
  max-width: 900px;
}

.content-article h1 {
  max-width: 860px;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.2rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.content-article h2 {
  margin: 46px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
}

.content-article h3 {
  margin: 32px 0 10px;
  font-size: 1.28rem;
}

.content-article p,
.content-article li {
  color: var(--text-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.content-article a:not(.button) {
  color: var(--mint-strong);
  font-weight: 700;
}

.content-lead,
.content-article > p:first-of-type {
  max-width: 760px;
  color: var(--text-muted);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.content-table th,
.content-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-table th {
  background: var(--surface-tinted);
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0;
}

.content-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.content-card span {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.content-card strong {
  display: block;
  margin: 14px 0 10px;
  font-size: 1.2rem;
}

.content-card p {
  margin: 0;
  font-size: 0.96rem;
}

.content-cta {
  margin: 56px 0 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 0%, rgba(101, 138, 111, 0.18), transparent 28%),
    var(--surface-strong);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.button-primary {
  background: linear-gradient(135deg, #7ba184 0%, #5f8367 55%, #43604c 100%);
  color: #fbf9f2;
  box-shadow: 0 12px 28px rgba(67, 96, 76, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 34px rgba(67, 96, 76, 0.32);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button-compact {
  min-height: 40px;
  padding: 0 14px;
}

.hero-section {
  padding: 32px 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-strong);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--mint);
}

.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #0b1512;
  box-shadow: var(--shadow-lg);
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}

.hero-banner-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 17, 15, 0.92) 0%, rgba(9, 17, 15, 0.66) 38%, rgba(9, 17, 15, 0.14) 66%, transparent 84%),
    linear-gradient(0deg, rgba(9, 17, 15, 0.55) 0%, transparent 45%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: clamp(32px, 5vw, 64px);
}

.hero-banner-content .hero-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fbf9f4;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-banner-content .hero-title {
  color: #fbf9f4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero-banner-content .hero-title span {
  color: #e8ac86;
}

.hero-banner-content .hero-body {
  color: rgba(251, 249, 244, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.hero-side-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-side-row-cards {
  display: contents;
}

.hero-side {
  margin-top: 18px;
}

.hero-side-card {
  padding: 24px;
}

.hero-lang-card {
  background: linear-gradient(160deg, rgba(101, 138, 111, 0.2), var(--bg-strong) 65%);
}

.hero-lang-count {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
}

.hero-lang-label {
  margin: 8px 0 0;
  font-weight: 700;
  font-size: 1.02rem;
}

.hero-lang-body {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.hero-lang-chip {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--mint-strong);
  font-size: 0.76rem;
  font-weight: 600;
}

.hero-lang-chip-extra {
  display: none;
}

.hero-lang-chips.is-expanded .hero-lang-chip-extra {
  display: inline-flex;
}

.hero-lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--mint-strong);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.hero-lang-toggle:hover,
.hero-lang-toggle:focus-visible {
  color: color-mix(in srgb, var(--mint-strong) 80%, var(--text));
  outline: none;
}

.hero-side-eyebrow {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-side-title {
  margin: 10px 0 8px;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-side-body {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  max-width: 20ch;
}

.hero-title span,
.section-title span,
.section-title em {
  color: var(--rose);
}

.hero-body,
.section-body,
.story-body,
.plan-lead,
.faq-item p,
.trust-point p,
.journey-step p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.hero-actions,
.campaign-actions,
.plans-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.campaign-actions {
  margin-top: 4px;
}

.hero-note {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.section,
.final-section {
  padding: 42px 0 84px;
}

.section-tinted {
  background:
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.28) 18%, transparent 100%);
}

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

.campaign-section {
  padding: 12px 0 28px;
}

.campaign-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid color-mix(in srgb, var(--rose) 18%, var(--line));
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at top right, rgba(186, 118, 82, 0.16), transparent 26%),
    linear-gradient(135deg, var(--surface-strong) 0%, var(--surface-tinted) 100%);
  box-shadow: var(--shadow-soft);
}

.campaign-title {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  margin: 0 0 8px;
}

.campaign-fineprint {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.86rem;
}

.campaign-code-block {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
}

.campaign-code-label {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.campaign-code-display {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.campaign-code-value {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.campaign-code-copy {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.campaign-code-copy:hover,
.campaign-code-copy:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.campaign-code-hint {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.campaign-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.campaign-points,
.story-bullets,
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.campaign-points li,
.story-bullets li,
.plan-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.55;
}

.campaign-points li::before,
.story-bullets li::before,
.plan-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--rose) 100%);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.journey-step {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--bg-strong) 92%, transparent);
  box-shadow: 0 14px 38px rgba(28, 42, 34, 0.07);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.journey-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.journey-number {
  margin: 0 0 14px;
  display: block;
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
}

.journey-step h3,
.story-title,
.plan-title,
.trust-point h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.story-stack {
  display: grid;
  gap: 28px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.92fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  box-shadow: var(--shadow-soft);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.story-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.story-row-reversed {
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 0.92fr);
}

.story-row-reversed .story-copy {
  order: 2;
}

.story-row-reversed .story-visual {
  order: 1;
}

.story-label,
.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: color-mix(in srgb, var(--mint-strong) 72%, var(--text));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-visual {
  overflow: hidden;
  width: min(100%, 320px);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.exercise-archive-section {
  position: relative;
}

.exercise-archive-shell {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(101, 138, 111, 0.16), transparent 24%),
    linear-gradient(135deg, var(--surface-strong) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-soft);
}

.exercise-archive-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.38fr);
  gap: 14px;
  margin-bottom: 18px;
}

.archive-control {
  display: grid;
  gap: 8px;
}

.archive-control span {
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.archive-control input,
.archive-control select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-strong);
  color: var(--text);
}

.archive-control input:focus-visible,
.archive-control select:focus-visible {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px var(--mint-soft);
  outline: none;
}

.archive-meta-row,
.archive-load-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 20px;
}

.archive-load-row {
  justify-content: center;
  margin: 24px 0 0;
}

.archive-count,
.archive-empty {
  margin: 0;
  color: var(--text-soft);
  font-weight: 700;
}

.exercise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.exercise-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  box-shadow: 0 14px 34px rgba(18, 35, 31, 0.07);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.exercise-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.exercise-card-featured {
  border-color: color-mix(in srgb, var(--mint) 46%, var(--line));
  background:
    radial-gradient(circle at top left, rgba(101, 138, 111, 0.2), transparent 34%),
    color-mix(in srgb, var(--surface-strong) 96%, transparent);
}

.exercise-image-wrap {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(101, 138, 111, 0.16), rgba(186, 118, 82, 0.12)),
    var(--bg-soft);
}

.exercise-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: blur(12px) saturate(0.86);
  transform: scale(1.08);
  opacity: 0.72;
}

.exercise-card-featured .exercise-image {
  filter: none;
  transform: none;
  opacity: 1;
}

.exercise-image-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 18, 16, 0.28) 100%);
}

.exercise-image-lock span,
.exercise-card-kicker {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exercise-card-copy {
  padding: 18px;
}

.exercise-card-copy h3 {
  margin: 10px 0 8px;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.exercise-card-copy p {
  color: var(--text-muted);
  line-height: 1.55;
}

.exercise-card-kicker {
  margin: 0;
  background: var(--mint-soft);
}

.exercise-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.exercise-chip-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.exercise-blur-panel {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: var(--bg-soft);
  filter: blur(2.6px);
}

.exercise-blur-panel span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-muted) 34%, transparent);
}

.exercise-blur-panel span:nth-child(2) {
  width: 82%;
}

.exercise-blur-panel span:nth-child(3) {
  width: 62%;
}

.exercise-lock-note {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.exercise-detail-button {
  margin-top: 18px;
}

.exercise-detail-page {
  min-height: 100vh;
  padding: 34px 0 72px;
}

.detail-back-link {
  display: inline-flex;
  margin: 0 0 20px;
  color: color-mix(in srgb, var(--mint-strong) 72%, var(--text));
  font-weight: 800;
  text-decoration: none;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.exercise-detail-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(101, 138, 111, 0.18), transparent 30%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.exercise-detail-media {
  overflow: hidden;
  border-radius: 28px;
  background: var(--bg-soft);
}

.exercise-detail-image {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.exercise-detail-copy {
  display: grid;
  gap: 18px;
}

.exercise-detail-copy .section-title {
  margin: 0;
}

.exercise-detail-section {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.exercise-detail-section h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.exercise-instruction-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.3rem;
  color: var(--text-muted);
  line-height: 1.65;
}

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

.exercise-detail-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}

.exercise-detail-meta dt {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exercise-detail-meta dd {
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 700;
}

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

.plan-panel {
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.plan-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.plan-panel-free {
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
}

.plan-panel-pro {
  background:
    radial-gradient(circle at top right, rgba(101, 138, 111, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(54, 87, 63, 0.16) 0%, rgba(186, 118, 82, 0.12) 100%);
}

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

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.highlight-card-wide {
  grid-column: span 2;
}

.highlight-card-mint {
  background: linear-gradient(150deg, rgba(101, 138, 111, 0.16), var(--bg-strong) 70%);
}

.highlight-card-rose {
  background: linear-gradient(150deg, rgba(186, 118, 82, 0.14), var(--bg-strong) 70%);
}

.highlight-card-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 210px;
}

.highlight-card-photo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--highlight-photo);
  background-size: cover;
  background-position: center center;
}

.highlight-card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(9, 17, 15, 0.9) 0%,
    rgba(9, 17, 15, 0.6) 42%,
    rgba(9, 17, 15, 0.18) 72%,
    transparent 92%
  );
}

.highlight-grid .highlight-card-photo h3 {
  color: #fbf9f4;
}

.highlight-grid .highlight-card-photo p {
  color: rgba(251, 249, 244, 0.88);
}

.plans-note-wrap {
  margin-top: 14px;
}

.plans-note-link {
  color: color-mix(in srgb, var(--mint-strong) 72%, var(--text));
  font-weight: 700;
}

.plans-note-link:hover,
.plans-note-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.trust-point {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--bg-strong) 92%, transparent);
  box-shadow: 0 14px 38px rgba(28, 42, 34, 0.07);
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.trust-point:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.faq-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--bg-strong) 92%, transparent);
  box-shadow: 0 14px 38px rgba(28, 42, 34, 0.07);
  overflow: hidden;
}

.faq-item {
  padding: 20px 22px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  transition: background-color 200ms ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.faq-item[open] {
  background: var(--mint-soft);
}

.faq-item p {
  margin: 14px 0 0;
}

.final-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(101, 138, 111, 0.18), transparent 26%),
    linear-gradient(135deg, var(--surface-strong) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  padding: 0 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-label {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-value,
.footer-link {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.footer-rights {
  margin: 24px 0 0;
  color: var(--text-soft);
  max-width: 62ch;
  line-height: 1.6;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  padding: 64px 0 40px;
}

.legal-article {
  max-width: 920px;
}

.legal-title {
  margin: 0;
  max-width: 880px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.6rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.legal-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
}

.legal-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
}

.legal-tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.legal-tab[aria-current="page"] {
  background: var(--text);
  color: var(--surface);
}

.legal-section-stack {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.legal-section {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0 0, color-mix(in srgb, var(--accent) 12%, transparent), transparent 36%),
    var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.legal-section h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.legal-section p,
.legal-section li {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-section p {
  margin: 0;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 1.2rem;
}

.legal-updated {
  margin: 26px 0 0;
  color: var(--text-soft);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .site-header-inner {
    align-items: flex-start;
    padding: 18px 0 22px;
  }

  .campaign-shell,
  .story-row,
  .plans-grid,
  .exercise-detail-shell,
  .exercise-grid,
  .trust-grid,
  .faq-layout,
  .final-shell {
    grid-template-columns: 1fr;
  }

  .story-row-reversed .story-copy,
  .story-row-reversed .story-visual {
    order: initial;
  }

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

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
    box-shadow: var(--shadow-lg);
  }

  .header-panel.is-open {
    display: flex;
  }

  .header-nav,
  .header-controls,
  .switch-group {
    flex-direction: column;
    align-items: stretch;
  }

  .header-more {
    width: 100%;
  }

  .header-more summary {
    justify-content: center;
  }

  .header-more-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
  }

  .switch-select {
    max-width: none;
    width: 100%;
  }

  .exercise-archive-toolbar {
    grid-template-columns: 1fr;
  }

  .exercise-detail-image {
    min-height: 300px;
  }

  .exercise-detail-meta {
    grid-template-columns: 1fr;
  }

  .header-nav a:not(.button),
  .button-compact {
    justify-content: center;
  }

  .hero-section {
    padding-top: 36px;
  }
}

@media (max-width: 720px) {
  .legal-main {
    padding-top: 38px;
  }

  .site-header-inner {
    gap: 12px;
    min-height: 76px;
  }

  .container {
    width: min(100vw - 24px, var(--container));
  }

  .hero-title,
  .section-title {
    max-width: none;
  }

  .campaign-shell,
  .story-row,
  .plan-panel,
  .exercise-archive-shell,
  .final-shell {
    padding: 22px;
  }

  .journey-grid,
  .content-card-grid,
  .exercise-grid,
  .trust-grid,
  .highlight-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card-wide {
    grid-column: auto;
  }

  .archive-meta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-banner {
    min-height: 360px;
  }

  .hero-banner-scrim {
    background: linear-gradient(
      180deg,
      rgba(9, 17, 15, 0.9) 0%,
      rgba(9, 17, 15, 0.82) 45%,
      rgba(9, 17, 15, 0.62) 75%,
      rgba(9, 17, 15, 0.5) 100%
    );
  }

  .hero-banner-content {
    max-width: none;
    padding: 26px 22px;
  }

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

