@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Instrument+Sans:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #f7f4ec;
  --bg-strong: #fffdf8;
  --bg-soft: #edf4ed;
  --surface: rgba(255, 252, 245, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-tinted: rgba(225, 244, 235, 0.68);
  --line: rgba(34, 59, 52, 0.12);
  --line-strong: rgba(34, 59, 52, 0.22);
  --text: #162420;
  --text-muted: #516762;
  --text-soft: #70817b;
  --mint: #31b08a;
  --mint-strong: #148062;
  --mint-soft: rgba(49, 176, 138, 0.12);
  --rose: #d66795;
  --rose-soft: rgba(214, 103, 149, 0.14);
  --shadow-soft: 0 16px 42px rgba(18, 35, 31, 0.08);
  --shadow-lg: 0 40px 90px rgba(18, 35, 31, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100vw - 32px));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0d0a;
  --bg-strong: #17130f;
  --bg-soft: #201a14;
  --surface: rgba(31, 26, 20, 0.86);
  --surface-strong: rgba(23, 19, 15, 0.95);
  --surface-tinted: rgba(56, 44, 32, 0.7);
  --line: rgba(210, 171, 113, 0.2);
  --line-strong: rgba(210, 171, 113, 0.34);
  --text: #f6efe3;
  --text-muted: #d2c1a8;
  --text-soft: #a99678;
  --mint: #c28b45;
  --mint-strong: #e0b36d;
  --mint-soft: rgba(194, 139, 69, 0.16);
  --rose: #94724f;
  --rose-soft: rgba(148, 114, 79, 0.18);
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 44px 110px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(98, 221, 182, 0.18), transparent 24%),
    radial-gradient(circle at 85% 16%, rgba(214, 103, 149, 0.13), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
}

:root[data-theme="dark"] body {
  background:
    linear-gradient(115deg, rgba(93, 65, 35, 0.15) 0 1px, transparent 1px 42px),
    radial-gradient(circle at top left, rgba(194, 139, 69, 0.17), transparent 28%),
    radial-gradient(circle at 78% 10%, rgba(246, 239, 227, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-strong) 100%);
}

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(49, 176, 138, 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, var(--mint) 0%, var(--mint-strong) 100%);
  color: #04100d;
}

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

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

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 48px;
  align-items: center;
}

.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-size: clamp(2.5rem, 5vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  max-width: 13ch;
}

.hero-title span,
.section-title em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: color-mix(in srgb, var(--rose) 76%, var(--text));
}

.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-copy {
  position: relative;
  z-index: 2;
}

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

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

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-stat {
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-stat-value {
  display: block;
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-stat-label {
  color: var(--text-soft);
  line-height: 1.45;
}

.hero-art {
  position: relative;
  min-height: 700px;
}

.hero-glow {
  position: absolute;
  inset: 8% 10% auto auto;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(98, 221, 182, 0.36) 0%, transparent 62%);
  filter: blur(12px);
}

.hero-poster,
.hero-device {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.hero-poster {
  top: 2%;
  right: 0;
  width: min(390px, 62%);
  border-radius: 32px;
  background: #050505;
  transform: rotate(3deg);
}

.hero-device {
  background: #09110f;
}

.hero-device-main {
  left: 2%;
  bottom: 10%;
  width: min(270px, 42%);
  border-radius: 34px;
  transform: rotate(-7deg);
  animation: float-a 7s ease-in-out infinite;
}

.hero-device-secondary {
  right: 16%;
  bottom: 2%;
  width: min(250px, 38%);
  border-radius: 30px;
  transform: rotate(8deg);
  animation: float-b 9s ease-in-out infinite;
}

.hero-poster img,
.hero-device img,
.story-visual img {
  width: 100%;
  height: auto;
}

.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: 18px 0 38px;
}

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

.campaign-fineprint {
  margin-top: 16px;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 0.94rem;
}

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

.campaign-code-label {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 0.78rem;
  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: 48px;
  padding: 0 16px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.campaign-code-copy {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  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: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.campaign-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.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: 22px 0 0;
  border-top: 1px solid var(--line-strong);
}

.journey-number {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.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-lg);
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  box-shadow: var(--shadow-soft);
}

.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;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.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(49, 176, 138, 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);
}

.exercise-card-featured {
  border-color: color-mix(in srgb, var(--mint) 46%, var(--line));
  background:
    radial-gradient(circle at top left, rgba(98, 221, 182, 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(49, 176, 138, 0.16), rgba(214, 103, 149, 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(98, 221, 182, 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-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

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

.plan-panel-pro {
  background:
    radial-gradient(circle at top right, rgba(98, 221, 182, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(20, 128, 98, 0.16) 0%, rgba(214, 103, 149, 0.12) 100%);
}

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

.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: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

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

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

.faq-item {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.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: color-mix(in srgb, var(--surface-strong) 94%, transparent);
}

.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(98, 221, 182, 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(26px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@keyframes float-a {
  0%,
  100% {
    transform: rotate(-7deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-10px);
  }
}

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

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

  .hero-grid,
  .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-art {
    min-height: 620px;
  }

  .hero-stats {
    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;
  }

  .hero-art {
    min-height: 520px;
  }

  .hero-poster {
    width: min(320px, 70%);
  }

  .hero-device-main {
    width: min(210px, 48%);
  }

  .hero-device-secondary {
    width: min(190px, 44%);
    right: 8%;
  }
}

@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;
  }

  .hero-art {
    min-height: 440px;
  }

  .hero-poster {
    width: min(250px, 62%);
    top: 8%;
  }

  .hero-device-main {
    left: 0;
    bottom: 8%;
    width: min(174px, 46%);
  }

  .hero-device-secondary {
    width: min(160px, 40%);
  }

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

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

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

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