@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1C2622;
  --ink-2: #4B5B55;
  --ring: #1F847A;
  --teal: #156C63;
  --teal-deep: #0F554E;
  --paper: #F7F9F8;
  --card: #FFFFFF;
  --mist: #E7F1EE;
  --line: #D9E2DF;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 9vw, 112px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}

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

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: calc(1180px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--card);
  border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Üst bölüm: logodaki halka arka planda büyür */
.hero-band {
  position: relative;
  overflow: clip;
  padding-bottom: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(120% 70% at 85% 0%, var(--mist) 0%, rgba(231, 241, 238, 0) 62%),
    var(--paper);
}
.hero-band::before {
  content: "";
  position: absolute;
  top: clamp(-260px, -18vw, -80px);
  right: clamp(-300px, -16vw, -90px);
  width: clamp(340px, 62vw, 860px);
  aspect-ratio: 1;
  border: clamp(14px, 2.4vw, 30px) solid var(--ring);
  border-radius: 50%;
  opacity: 0.09;
  pointer-events: none;
}

.top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: clamp(14px, 2.2vw, 24px);
}
.logo { display: flex; align-items: center; min-height: 44px; flex: 0 1 auto; min-width: 0; }
.logo img { width: clamp(176px, 26vw, 268px); height: auto; }

/* Düğmeler */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.btn:hover { background: var(--teal-deep); }
.btn-small { min-height: 44px; padding: 8px 20px; font-size: 1rem; flex: none; }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--mist); }

.mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.mail:hover { color: var(--teal-deep); }
.mail-light, .mail-light:hover { color: #fff; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

/* Giriş */
.hero { position: relative; padding-top: clamp(32px, 6vw, 72px); }

.eyebrow {
  color: var(--teal);
  font-size: 1rem;
  font-weight: 600;
}

h1 {
  max-width: 17em;
  margin-top: 14px;
  font-size: clamp(2.25rem, 1.45rem + 3.6vw, 4.25rem);
  line-height: 1.08;
}

.lead {
  max-width: 40em;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.hero .actions { margin-top: 30px; }

/* Ekran görüntüleri */
.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(10px, 1.4vw, 16px);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(28, 38, 34, 0.05), 0 22px 44px -30px rgba(21, 108, 99, 0.45);
}
.shot img { width: 100%; }

/* Nasıl işler */
.steps { padding-top: var(--section); }

h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.15; }

.step-list {
  display: grid;
  gap: 28px;
  margin-top: clamp(26px, 3.4vw, 40px);
}
.step-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
}
.num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid var(--ring);
  border-radius: 50%;
  background: var(--paper);
  color: var(--teal);
  font-weight: 600;
  line-height: 1;
}
.step-list h3 { font-size: 1.375rem; line-height: 1.2; margin-top: 2px; }
.step-list p { margin-top: 6px; color: var(--ink-2); }

/* Öğrenci ve eğitmen */
.split {
  display: grid;
  gap: clamp(26px, 4vw, 40px);
  padding-top: var(--section);
}
.split h2 { margin-top: 8px; }

.rows { margin-top: 22px; border-bottom: 1px solid var(--line); }
.rows li { padding-block: 14px; border-top: 1px solid var(--line); }

/* Arayüz çizimleri: ürün renkleri, görsel dosyası yok */
.draw figcaption {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 0.875rem;
}
.draw-hero { margin-top: clamp(36px, 5vw, 60px); }

.draw small, .draw b, .draw em, .draw i { font-style: normal; }

/* Hasta monitörü: renkler MedicalColors ve WaveformRenderer ile aynı */
.mon {
  display: grid;
  gap: clamp(6px, 1vw, 10px);
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid #2A3742;
  border-radius: clamp(12px, 1.6vw, 18px);
  background: #0D0D0D;
  color: #F3F6F9;
  box-shadow: 0 30px 60px -36px rgba(21, 108, 99, 0.65);
}
.mon-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 20px;
  padding-bottom: clamp(6px, 1vw, 10px);
  color: #C2CDD7;
  font-size: clamp(0.8125rem, 0.76rem + 0.25vw, 0.9375rem);
}
.mon-phase { color: #94A2AF; }
.mon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(78px, 15vw, 170px);
  gap: clamp(8px, 1.6vw, 20px);
  align-items: stretch;
}
.mon-wave {
  position: relative;
  overflow: hidden;
  min-height: clamp(62px, 11vw, 118px);
  border-radius: 6px;
  background-color: #0D0D0D;
  background-image:
    linear-gradient(#262626 1px, transparent 1px),
    linear-gradient(90deg, #262626 1px, transparent 1px);
  background-size: 34px 34px;
}
.mon-wave svg {
  position: absolute;
  inset: 8% 0;
  width: 100%;
  height: 84%;
  overflow: visible;
}
.mon-wave path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.mon-wave::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6%;
  background: #0D0D0D;
  animation: sweep 7s linear infinite;
}
@keyframes sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(1667%); }
}
.mon-ecg { color: #33FF33; }
.mon-spo2 { color: #00FFFF; }
.mon-num {
  display: grid;
  align-content: center;
  justify-items: end;
  line-height: 1.05;
}
.mon-num small { font-size: 0.8125rem; opacity: 0.75; }
.mon-num b { font-size: clamp(2.25rem, 1.6rem + 3vw, 4.25rem); font-weight: 600; letter-spacing: -0.02em; }
.mon-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px clamp(8px, 1.6vw, 20px);
  padding-top: clamp(8px, 1.2vw, 14px);
  border-top: 1px solid #262626;
}
.mon-stats > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.mon-stats small { font-size: 0.8125rem; opacity: 0.75; }
.mon-stats b { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 600; line-height: 1.15; }
.mon-bp { color: #FF4D4D; }
.mon-rr { color: #FFFFFF; }
.mon-temp { color: #80D9FF; }
.mon-co2 { color: #FFFF4D; }

/* Açık tema ekranları: renkler EditorTheme ile aynı */
.ui {
  --u-bg: #DFE3E2;
  --u-surface: #EEF1EF;
  --u-raised: #F7F8F7;
  --u-border: #CFD6D2;
  --u-text: #1C2622;
  --u-text2: #46524C;
  --u-text3: #5C6860;
  --u-acc: #1F847A;
  --u-acc-strong: #156C63;
  --u-acc-weak: rgba(31, 132, 122, 0.12);
  --u-crit: #C2503C;
  --u-warn: #B9772A;
  --u-ok: #3E8C6B;
  overflow: hidden;
  border: 1px solid var(--u-border);
  border-radius: clamp(12px, 1.4vw, 16px);
  background: var(--u-surface);
  color: var(--u-text);
  font-size: 0.9375rem;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(28, 38, 34, 0.05), 0 24px 44px -32px rgba(21, 108, 99, 0.5);
}
.ui p { margin: 0; }
.ui small { font-size: 0.8125rem; color: var(--u-text3); }
.ui-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--u-border);
  border-radius: 8px;
  background: var(--u-raised);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.ui-btn-acc { border-color: var(--u-acc-strong); background: var(--u-acc-strong); color: #fff; }

/* Öğrenci paneli */
.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
  padding: 10px 12px;
  background: var(--u-bg);
  font-size: 0.875rem;
  color: var(--u-text2);
}
.panel-tabs span { padding: 6px 10px; border-radius: 8px; }
.panel-tabs .is-on { background: var(--u-raised); color: var(--u-acc-strong); font-weight: 600; }
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--u-border);
}
.panel-row p { font-weight: 500; }
.panel-row b { flex: none; font-weight: 600; }
.panel-wait {
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--u-border);
  border-top-color: var(--u-acc);
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Eğitmen bölümü */
.stack { padding-top: var(--section); display: grid; gap: clamp(26px, 4vw, 44px); }
.stack-head { display: grid; gap: 4px; }
.stack-head h2 { margin-top: 8px; }
.pair { display: grid; gap: clamp(24px, 3vw, 32px); }

/* Editör */
.ed-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 12px 16px;
  background: var(--u-bg);
}
.ed-title { min-width: 0; }
.ed-title small { letter-spacing: 0.02em; }
.ed-title p { font-weight: 600; font-size: 1rem; }
.ed-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.ed-nav { display: none; }
.ed-phases { display: grid; align-content: start; gap: 4px; padding: 12px; border-bottom: 1px solid var(--u-border); }
.ed-ph {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--u-text2);
}
.ed-ph i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--u-bg);
  font-size: 0.8125rem;
  font-weight: 600;
}
.ed-ph.is-on { background: var(--u-acc-weak); color: var(--u-text); font-weight: 500; }
.ed-ph.is-on i { background: var(--u-acc-strong); color: #fff; }
.ed-more { padding: 4px 10px 4px 44px; color: var(--u-text3); font-size: 0.875rem; }
.ed-detail { display: grid; align-content: start; gap: 8px; padding: 14px 16px 16px; background: var(--u-raised); }
.ed-vitals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.ed-vitals > div { display: grid; padding: 8px 10px; border: 1px solid var(--u-border); border-radius: 8px; background: var(--u-surface); }
.ed-vitals b { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.ed-h { font-weight: 600; }
.ed-h span { color: var(--u-text3); font-weight: 400; }
.ed-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 9px 12px;
  border: 1px solid var(--u-border);
  border-radius: 8px;
  background: #fff;
}
.ed-act p { flex: 1 1 14em; min-width: 0; }
.ed-act em {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(194, 80, 60, 0.12);
  color: #A63F2D;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Rapor */
.rep { padding: clamp(16px, 2vw, 24px); background: var(--u-raised); }
.rep-kick { letter-spacing: 0.1em; font-weight: 600; }
.rep-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 2px; }
.rep-head p { font-size: 1.0625rem; font-weight: 600; }
.rep-pill { padding: 3px 10px; border-radius: 999px; background: rgba(62, 140, 107, 0.15); color: #2C6F53; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.rep-score { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 16px; }
.rep-pct { color: #2C6F53; line-height: 1; }
.rep-pct b { font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; }
.rep-pct span { font-size: 1.375rem; font-weight: 600; }
.rep-pct small { display: block; margin-top: 4px; }
.rep-meter { display: grid; gap: 8px; }
.rep-bar { height: 8px; border-radius: 99px; background: var(--u-bg); overflow: hidden; }
.rep-bar i { display: block; width: 78%; height: 100%; border-radius: 99px; background: var(--u-ok); }
.rep-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.rep-chips > div { display: grid; padding: 8px 10px; border: 1px solid var(--u-border); border-radius: 8px; background: #fff; }
.rep-chips b { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.c-ok b { color: #2C6F53; }
.c-bad b { color: #A63F2D; }
.c-warn b { color: #8F5A1D; }

/* Pano */
.pano { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--u-border); }
.pano > div { display: grid; align-content: start; gap: 2px; padding: clamp(14px, 1.8vw, 20px); background: var(--u-raised); }
.pano b { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 600; line-height: 1.2; }
.pano span { color: var(--u-text3); font-size: 0.8125rem; }

/* Her yerden erişim */
.reach { padding-top: var(--section); }
.reach h2 { margin-top: 8px; }
.reach-list { display: grid; gap: 0; margin-top: clamp(20px, 3vw, 32px); border-top: 2px solid var(--ink); }
.reach-list li { padding-block: 16px; border-bottom: 1px solid var(--line); }
.reach-list h3 { font-size: 1.1875rem; line-height: 1.25; }
.reach-list p { margin-top: 4px; color: var(--ink-2); }

/* Bölüm girişleri */
.stack-lead, .split-lead { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.split-lead { margin-top: 14px; }

/* Saniyeli rapor satırları */
.rep-lines { display: grid; gap: 6px; margin-top: 16px; }
.rep-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  padding: 8px 12px;
  border: 1px solid var(--u-border);
  border-radius: 8px;
  background: #fff;
}
.rep-line time { flex: none; width: 3.1em; color: var(--u-acc-strong); font-weight: 600; font-variant-numeric: tabular-nums; }
.rep-line p { flex: 1 1 12em; min-width: 0; }
.rep-line em {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(194, 80, 60, 0.12);
  color: #A63F2D;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.rep-line u { font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.rep-line.is-miss { background: rgba(185, 119, 42, 0.08); }
.rep-line.is-miss time, .rep-line.is-miss u { color: #8F5A1D; }
.rep-line.is-extra u { color: var(--u-text3); }

/* Beden haritası akışı: JavaScript yok, yalnızca CSS */
.bm { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.bm-left { display: grid; place-items: center; padding: clamp(14px, 2vw, 24px) 8px; background: var(--u-bg); }
.bm-body { position: relative; width: min(100%, 158px); }
.bm-body img { width: 100%; height: auto; }
.bm-pt {
  position: absolute;
  width: 15px;
  height: 15px;
  margin: -7.5px 0 0 -7.5px;
  border: 2px solid var(--u-acc-strong);
  border-radius: 50%;
  background: #fff;
}
.bm-carotid { left: 52.5%; top: 20.5%; }
.bm-lung { left: 41%; top: 29%; }
.bm-heart { left: 56%; top: 35%; animation: bmPoint 13s infinite; }
.bm-abd { left: 50%; top: 47%; }
.bm-cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--u-text);
  border-radius: 50%;
  background: rgba(28, 38, 34, 0.14);
  animation: bmCursor 13s infinite;
}
.bm-right { display: grid; background: var(--u-raised); }
.bm-panel { grid-area: 1 / 1; display: grid; align-content: start; gap: 6px; padding: clamp(14px, 2vw, 22px); opacity: 0; min-width: 0; }
.bm-p1 { animation: bmP1 13s infinite; }
.bm-p2 { animation: bmP2 13s infinite; }
.bm-p3 { animation: bmP3 13s infinite; }
.bm-p4 { animation: bmP4 13s infinite; }
.ui .bm-title { font-size: 1.0625rem; font-weight: 600; }
.ui .bm-sub { margin-top: 8px; font-weight: 600; }
.bm-empty { margin-top: 10px; padding: 18px 10px; border: 1px dashed var(--u-border); border-radius: 8px; color: var(--u-text3); text-align: center; }
.bm-add { justify-self: start; }
.bm-list { display: grid; gap: 4px; margin-top: 4px; }
.bm-list > div { padding: 7px 10px; border: 1px solid var(--u-border); border-radius: 8px; background: #fff; }
.bm-list .is-pick { border-color: var(--u-acc-strong); background: var(--u-acc-weak); font-weight: 600; }
.bm-sound { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 7px 10px; border: 1px solid var(--u-border); border-radius: 8px; background: #fff; }
.bm-status { justify-self: start; padding: 3px 10px; border-radius: 999px; background: rgba(185, 119, 42, 0.14); color: #8F5A1D; font-size: 0.8125rem; font-weight: 600; }
.bm-steps { display: grid; gap: 4px; margin-top: 12px; counter-reset: bm; }
.bm-steps li { counter-increment: bm; color: var(--ink-2); font-size: 0.9375rem; }
.bm-steps li::before { content: counter(bm) ". "; font-weight: 600; }
.bm-steps .s1 { animation: bmS1 13s infinite; }
.bm-steps .s2 { animation: bmS2 13s infinite; }
.bm-steps .s3 { animation: bmS3 13s infinite; }
@keyframes bmCursor {
  0% { left: 86%; top: 72%; opacity: 1; }
  14%, 28% { left: 56%; top: 35%; opacity: 1; }
  34%, 100% { left: 56%; top: 35%; opacity: 0; }
}
@keyframes bmPoint {
  0%, 14% { background: #fff; box-shadow: none; }
  16%, 66% { background: var(--u-acc-strong); box-shadow: none; }
  68%, 100% { background: var(--u-acc-strong); box-shadow: 0 0 0 5px rgba(31, 132, 122, 0.28); }
}
@keyframes bmP1 { 0%, 14% { opacity: 1; } 16%, 100% { opacity: 0; } }
@keyframes bmP2 { 0%, 14% { opacity: 0; } 16%, 38% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes bmP3 { 0%, 38% { opacity: 0; } 40%, 64% { opacity: 1; } 66%, 100% { opacity: 0; } }
@keyframes bmP4 { 0%, 64% { opacity: 0; } 66%, 100% { opacity: 1; } }
@keyframes bmS1 { 0%, 38% { color: var(--teal); font-weight: 600; } 40%, 100% { color: var(--ink-2); font-weight: 400; } }
@keyframes bmS2 { 0%, 38% { color: var(--ink-2); font-weight: 400; } 40%, 64% { color: var(--teal); font-weight: 600; } 66%, 100% { color: var(--ink-2); font-weight: 400; } }
@keyframes bmS3 { 0%, 64% { color: var(--ink-2); font-weight: 400; } 66%, 100% { color: var(--teal); font-weight: 600; } }

/* Hedefler */
.goals { padding-top: var(--section); }
.goals h2 { margin-top: 8px; }
.goals-lead { max-width: 40em; margin-top: 12px; color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.goal-list { display: grid; gap: 12px; margin-top: clamp(20px, 3vw, 32px); }
.goal-list li { display: grid; align-content: start; justify-items: start; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.goal-list h3 { font-size: 1.125rem; line-height: 1.25; }
.goal-list p { color: var(--ink-2); font-size: 0.9375rem; }
.tag { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 0.8125rem; font-weight: 500; }
.tag-now { border-color: var(--teal); background: var(--teal); color: #fff; }

/* Bilgiler */
.facts { padding-top: var(--section); }
.facts dl {
  display: grid;
  gap: 20px;
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.facts dt { color: var(--teal); font-size: 1rem; font-weight: 600; }
.facts dd { margin-top: 4px; }

/* Kapanış */
.close { padding-top: var(--section); }
.close-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  border-radius: clamp(14px, 2vw, 24px);
  background: var(--teal);
  color: #fff;
}
.close-card::after {
  content: "";
  position: absolute;
  right: clamp(-150px, -9vw, -70px);
  bottom: clamp(-190px, -12vw, -110px);
  width: clamp(240px, 34vw, 460px);
  aspect-ratio: 1;
  border: clamp(12px, 1.8vw, 22px) solid #fff;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}
.close-card > * { position: relative; z-index: 1; }
.close-card p { margin-top: 10px; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); }
.close-card .actions { margin-top: 26px; }

/* Alt bilgi */
.foot {
  display: grid;
  gap: 8px;
  padding-block: clamp(28px, 4vw, 40px);
  color: var(--ink-2);
  font-size: 0.9375rem;
}
.foot-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-meta span { display: inline-flex; align-items: center; min-height: 44px; }

/* Geniş ekran */
@media (min-width: 720px) {
  .mon-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ed-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ed-phases { border-bottom: 0; border-right: 1px solid var(--u-border); }

  .step-list {
    position: relative;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .step-list::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 24px;
    right: 33%;
    height: 3px;
    background: var(--line);
  }
  .step-list li {
    position: relative;
    grid-template-columns: 1fr;
    align-content: start;
    row-gap: 16px;
  }
  .num { grid-row: auto; }
  .step-list p { margin-top: -8px; }

  .reach-list { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .goal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dl { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
  .foot { grid-template-columns: 1fr auto; align-items: center; gap: 8px 32px; }
}

@media (min-width: 960px) {
  .ed-body { grid-template-columns: 148px minmax(0, 4fr) minmax(0, 7fr); }
  .ed-nav {
    display: grid;
    align-content: start;
    gap: 2px;
    padding: 12px 8px;
    border-right: 1px solid var(--u-border);
    color: var(--u-text2);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.03em;
  }
  .ed-nav span { padding: 7px 8px; border-radius: 6px; }
  .ed-nav .is-on { background: var(--u-acc-weak); color: var(--u-acc-strong); font-weight: 600; }

  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    column-gap: clamp(40px, 5vw, 72px);
  }
  .stack-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(40px, 5vw, 72px);
  }
  .stack-head .rows { margin-top: 0; }
  .pair { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }

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

@media (max-width: 719px) {
  .rep-line em, .rep-line u { margin-left: calc(2.91rem + 10px); }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .mon-wave::after { display: none; }
  .panel-wait { animation: none; }
  .bm-cursor { display: none; }
  .bm-heart, .bm-p1, .bm-p2, .bm-p3, .bm-p4, .bm-steps li { animation: none; }
  .bm-p4 { opacity: 1; }
  .bm-heart { background: var(--u-acc-strong); box-shadow: 0 0 0 5px rgba(31, 132, 122, 0.28); }
}
