:root {
  --teal: #426c6e;
  --dark: #294d4f;
  --eucalyptus: #8dae9a;
  --sand: #f5f2eb;
  --paper: #faf8f4;
  --lavender: #8e889c;
  --ink: #263f40;
  --muted: #60716f;
  --white: #fffdf9;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.55;
}
button, input, textarea { font: inherit; }
button, input[type="range"], input[type="radio"] { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.area-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(22px, 6vw, 92px);
  border-bottom: 1px solid #dbe2dc;
  background: #fff;
}
.area-brand img {
  display: block;
  width: 205px;
  max-width: 48vw;
}
.area-header nav { display: flex; align-items: center; gap: 17px; font-size: 12px; white-space: nowrap; }
.area-header nav a { border-bottom: 1px solid transparent; }
.area-header nav a:hover, .area-header nav a:focus-visible { border-color: var(--teal); }
.area-header .back-link { color: var(--teal); font-weight: 700; }
.area-header nav a[aria-current="page"] { border-color: var(--teal); color: var(--teal); font-weight: 700; }
.area-header .session-link {
  padding: 7px 12px;
  border: 1px solid #b7c7be;
  border-radius: 99px;
  color: var(--teal);
  font-weight: 700;
}
.area-header .session-link:hover, .area-header .session-link:focus-visible { background: #edf2ee; }

.area-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) 0 72px;
}
.area-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font: 400 clamp(48px, 6vw, 78px)/1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.lead { max-width: 690px; margin: 0; color: var(--muted); font-size: 17px; }
.prototype-note {
  max-width: 245px;
  padding: 14px 16px;
  border-left: 2px solid var(--lavender);
  background: #efedf1;
  color: #5e5968;
  font-size: 11px;
}
.prototype-note strong { display: block; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .1em; }

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  min-height: 510px;
  border: 1px solid #d5ded7;
  background: var(--white);
  box-shadow: 0 24px 65px #294d4f12;
}
.stage { position: relative; min-width: 0; background: #edf2ee; overflow: hidden; }
.settings {
  padding: 28px;
  border-left: 1px solid #d5ded7;
  background: var(--white);
}
.settings h2, .form-card h2 {
  margin: 0 0 25px;
  font: 400 27px/1.1 Georgia, "Times New Roman", serif;
}
.field { display: block; margin: 0 0 24px; }
.field-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
input[type="range"] { width: 100%; accent-color: var(--teal); }
.action {
  width: 100%;
  border: 0;
  padding: 13px 18px;
  background: var(--teal);
  color: white;
  font-weight: 700;
}
.action:hover, .action:focus-visible { background: var(--dark); }
.action.secondary { margin-top: 10px; border: 1px solid var(--teal); background: transparent; color: var(--teal); }
.action.secondary:hover, .action.secondary:focus-visible { background: #edf2ee; }
.smallprint { margin: 22px 0 0; color: var(--muted); font-size: 10px; }

.visual-stage { min-height: 510px; }
.visual-track {
  position: absolute;
  inset: 50% 8% auto;
  height: 1px;
  background: #bdcdc3;
}
.visual-dot {
  --duration: 2.8s;
  --dot-size: 58px;
  position: absolute;
  top: calc(50% - var(--dot-size) / 2);
  left: 10%;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 10px 30px #426c6e50;
  animation: move-dot var(--duration) ease-in-out infinite alternate;
  animation-play-state: paused;
}
.visual-dot.running { animation-play-state: running; }
@keyframes move-dot { to { left: calc(90% - var(--dot-size)); } }
.stage-label {
  position: absolute;
  left: 22px;
  bottom: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.breathing-stage {
  min-height: 510px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #e5ece6, #f3f1ec 68%);
}
.breathing-orb {
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lavender);
  color: white;
  box-shadow: 0 0 0 26px #8e889c12, 0 0 0 52px #8e889c0b;
  transition: transform 4s ease-in-out, background 1s ease;
}
.breathing-orb.inhale { transform: scale(1.33); }
.breathing-orb span { font: 400 24px Georgia, "Times New Roman", serif; }
.breathing-time { margin: 14px 0 0; font-size: 12px; text-align: center; color: var(--muted); }

.form-workspace { display: block; padding: clamp(24px, 5vw, 58px); background: #eef0e8; }
.form-card { max-width: 720px; margin: 0 auto; padding: clamp(28px, 5vw, 55px); background: var(--white); box-shadow: 0 18px 45px #294d4f12; }
.form-card fieldset { margin: 0 0 28px; padding: 0; border: 0; }
.form-card legend { margin-bottom: 16px; font-weight: 700; }
.rating { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.rating label { position: relative; }
.rating input { position: absolute; opacity: 0; }
.rating span {
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid #ccd7cf;
  background: white;
  font-weight: 700;
}
.rating input:checked + span { border-color: var(--teal); background: var(--teal); color: white; }
.rating input:focus-visible + span { outline: 2px solid var(--lavender); outline-offset: 2px; }
.form-card label[for="reflection"] { display: block; margin-bottom: 8px; font-weight: 700; }
.form-card textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border: 1px solid #ccd7cf;
  padding: 13px;
  background: white;
}
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 25px; }
.form-actions .action { width: auto; min-width: 170px; }
.form-status { margin: 0; color: var(--teal); font-size: 12px; }

.instrument-catalog {
  border: 1px solid #d5ded7;
  background: var(--white);
  box-shadow: 0 24px 65px #294d4f12;
}
.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: end;
  padding: clamp(28px, 5vw, 50px);
  border-bottom: 1px solid #d5ded7;
}
.catalog-head h2 {
  margin: 0;
  font: 400 clamp(31px, 4vw, 45px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.catalog-head > p { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.catalog-section-label {
  padding: 11px clamp(20px, 4vw, 34px);
  border-bottom: 1px solid #d5ded7;
  background: #edf2ee;
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.instrument-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px 180px;
  gap: 24px;
  align-items: center;
  min-height: 108px;
  padding: 20px clamp(20px, 4vw, 34px);
  border-bottom: 1px solid #d5ded7;
}
.instrument-row:last-child { border-bottom: 0; }
.instrument-row:hover { background: #fafbf9; }
.template-row { min-height: 134px; background: #f2f0f3; }
.template-row:hover { background: #efedf1; }
.instrument-ident {
  min-width: 0;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}
.instrument-code {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #bac9c0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.instrument-ident h3 {
  margin: 0 0 4px;
  font: 400 20px/1.15 Georgia, "Times New Roman", serif;
}
.instrument-ident p { max-width: 610px; margin: 0; color: var(--muted); font-size: 11px; }
.instrument-status {
  justify-self: start;
  padding: 7px 9px;
  border: 1px solid #ddd6c9;
  background: #f7f3e9;
  color: #756b57;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.instrument-status.ready { border-color: #b9cabf; background: #e7efe9; color: var(--teal); }
.instrument-status.free { border-color: #9fbca9; background: #e2efe5; color: #315e45; }
.instrument-status.basic { border-color: #c7c0d0; background: #efedf2; color: #655f73; }
.instrument-actions { display: grid; grid-template-columns: 1fr 58px; gap: 7px; }
.instrument-actions.three { grid-template-columns: 1fr 1fr; }
.instrument-actions.three :is(a, span):first-child { grid-column: 1 / -1; }
.instrument-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  padding: 8px 11px;
  background: var(--teal);
  color: white;
  font-size: 9px;
  font-weight: 700;
}
.instrument-actions a:last-child { background: var(--lavender); }
.instrument-actions a.restricted { background: var(--lavender); }
.instrument-actions a:hover, .instrument-actions a:focus-visible { background: var(--dark); }
.instrument-actions.disabled span {
  display: grid;
  min-height: 35px;
  place-items: center;
  border: 1px solid #d6ddd8;
  color: #9ca7a1;
  font-size: 8px;
}
.template-category { margin-top: 30px; }
.template-section-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 30px;
  border: 1px solid #d5ded7;
  background: var(--white);
}
.template-section-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-right: 1px solid #d5ded7;
  font-size: 11px;
  font-weight: 700;
}
.template-section-nav a:last-child { border-right: 0; }
.template-section-nav a:hover, .template-section-nav a:focus-visible { background: #edf2ee; }
.template-section-nav span { color: var(--teal); font: 400 18px Georgia, "Times New Roman", serif; }
.worksheet-actions { grid-template-columns: 1fr 1fr; }
.planned-row { background: #fbfbf9; }
.planned-row:hover { background: #f7f8f5; }
.instrument-actions.planned { grid-template-columns: 1fr; }
.instrument-actions.planned span {
  min-height: 39px;
  padding: 8px 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.emdr-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #d5ded7;
  background: var(--white);
  box-shadow: 0 24px 65px #294d4f12;
}
.emdr-info-grid article { padding: clamp(28px, 5vw, 52px); }
.emdr-info-grid article + article { border-left: 1px solid #d5ded7; background: #edf2ee; }
.emdr-info-grid h2, .emdr-launch h2 {
  margin: 0 0 18px;
  font: 400 clamp(27px, 3.5vw, 39px)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.emdr-info-grid article > p:last-child,
.emdr-launch p,
.emdr-guidance-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.emdr-guidance { margin-top: 30px; }
.emdr-guidance-note { margin-top: 22px; }
.emdr-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 45px;
  align-items: center;
  margin-top: 30px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #d5ded7;
  background: var(--white);
}
.emdr-launch-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-width: 245px;
  padding: 16px 18px;
  background: var(--teal);
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.emdr-launch-action:hover, .emdr-launch-action:focus-visible { background: var(--dark); }
.emdr-safety-note {
  margin: 20px 0 0;
  padding: 15px 18px;
  border-left: 2px solid var(--lavender);
  background: #efedf1;
  color: #5e5968;
  font-size: 11px;
}

.audio-safety-note, .audio-review-note {
  margin: 0 0 24px;
  padding: 15px 18px;
  border-left: 2px solid var(--lavender);
  background: #efedf1;
  color: #5e5968;
  font-size: 11px;
}
.audio-review-note { margin: 24px 0 0; }
.audio-catalog {
  border: 1px solid #d5ded7;
  background: var(--white);
  box-shadow: 0 24px 65px #294d4f12;
}
.audio-catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: end;
  padding: clamp(28px, 5vw, 50px);
  border-bottom: 1px solid #d5ded7;
}
.audio-catalog-head h2 {
  margin: 0;
  font: 400 clamp(31px, 4vw, 45px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.audio-catalog-head > p { margin: 0 0 4px; color: var(--muted); font-size: 12px; }
.hypnose-audio-list { display: grid; grid-template-columns: 1fr; }
.hypnose-audio-card {
  display: grid;
  grid-template-columns: minmax(220px, .38fr) minmax(360px, 1fr);
  gap: 10px 28px;
  align-items: center;
  min-height: 122px;
  padding: 22px clamp(20px, 4vw, 34px);
  border-bottom: 1px solid #d5ded7;
}
.hypnose-audio-card:last-child { border-bottom: 0; }
.hypnose-audio-card:nth-child(even) { background: #f7f8f5; }
.audio-copy { min-width: 0; }
.audio-copy > span {
  color: var(--teal);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.audio-copy h3 {
  margin: 4px 0 5px;
  font: 400 21px/1.15 Georgia, "Times New Roman", serif;
}
.audio-copy p {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 9px;
}
.hypnose-audio { width: 100%; min-width: 0; accent-color: var(--teal); }

.template-choice {
  border: 1px solid #d5ded7;
  background: var(--white);
  box-shadow: 0 24px 65px #294d4f12;
}
.template-choice-head {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  column-gap: 55px;
  padding: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid #d5ded7;
}
.template-choice-head .eyebrow { grid-column: 1 / -1; }
.template-choice-head h2, .design-rules h2 {
  margin: 0;
  font: 400 clamp(29px, 4vw, 43px)/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.template-choice-head > p:last-child { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.template-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.template-card {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: clamp(27px, 4vw, 46px);
  border-right: 1px solid #d5ded7;
}
.template-card:last-child { border-right: 0; }
.template-number {
  position: absolute;
  top: 31px;
  right: 34px;
  color: #c3d0c8;
  font: 400 37px Georgia, serif;
}
.template-type {
  margin: 0 0 17px;
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.template-card h3 {
  max-width: 350px;
  margin: 0 0 15px;
  font: 400 29px/1.13 Georgia, "Times New Roman", serif;
}
.template-card p:not(.template-type) { max-width: 440px; margin: 0; color: var(--muted); font-size: 13px; }
.template-card ul { margin: 24px 0 0; padding: 0; list-style: none; font-size: 11px; }
.template-card li { margin-top: 8px; }
.template-card li::before { content: "✓"; margin-right: 9px; color: var(--teal); font-weight: 700; }
.pdf-card { background: #f2f0f3; }
.action-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding: 15px 17px;
  background: var(--teal);
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.action-link:hover, .action-link:focus-visible { background: var(--dark); }
.action-link span { font-size: 18px; }

.design-rules {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  margin-top: 34px;
  padding: clamp(30px, 5vw, 55px);
  border: 1px solid #d5ded7;
  background: #edf2ee;
}
.design-rules ol { margin: 0; padding: 0; list-style: none; }
.design-rules li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid #ccd8cf; }
.design-rules li:first-child { padding-top: 0; }
.design-rules li:last-child { padding-bottom: 0; border-bottom: 0; }
.design-rules li > span { color: var(--teal); font: 400 20px Georgia, serif; }
.design-rules strong { display: block; margin-bottom: 3px; font-size: 13px; }
.design-rules li p { margin: 0; color: var(--muted); font-size: 11px; }

.area-switcher {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 35px;
  border: 1px solid #d5ded7;
  background: var(--white);
}
.area-switcher a { padding: 19px 22px; border-right: 1px solid #d5ded7; }
.area-switcher a:last-child { border-right: 0; }
.area-switcher a:hover, .area-switcher a:focus-visible { background: #edf2ee; }
.area-switcher small { display: block; color: var(--muted); }
.area-switcher strong { font: 400 18px Georgia, "Times New Roman", serif; }
.area-switcher .current { background: var(--teal); color: white; }
.area-switcher .current small { color: #d8e4dc; }

.area-footer {
  padding: 28px 22px;
  border-top: 1px solid #dbe2dc;
  color: var(--muted);
  text-align: center;
  font-size: 10px;
}

@media (max-width: 1040px) {
  .area-header nav .product-nav-link:not([aria-current="page"]) { display: none; }
}
@media (max-width: 820px) {
  .area-intro { grid-template-columns: 1fr; }
  .prototype-note { max-width: none; }
  .workspace { grid-template-columns: 1fr; }
  .settings { border-top: 1px solid #d5ded7; border-left: 0; }
  .visual-stage, .breathing-stage { min-height: 390px; }
  .template-choice-head, .design-rules { grid-template-columns: 1fr; gap: 24px; }
  .template-grid { grid-template-columns: 1fr; }
  .emdr-info-grid, .emdr-launch { grid-template-columns: 1fr; }
  .emdr-info-grid article + article { border-top: 1px solid #d5ded7; border-left: 0; }
  .emdr-launch { gap: 24px; }
  .emdr-launch-action { min-width: 0; }
  .template-card { min-height: 390px; border-right: 0; border-bottom: 1px solid #d5ded7; }
  .template-card:last-child { border-bottom: 0; }
  .catalog-head, .audio-catalog-head { grid-template-columns: 1fr; gap: 18px; }
  .hypnose-audio-card { grid-template-columns: 1fr; }
  .instrument-row { grid-template-columns: 1fr auto; }
  .instrument-actions { grid-column: 1 / -1; grid-template-columns: 1fr 90px; }
  .instrument-actions.three { grid-template-columns: 1fr 1fr; }
  .template-section-nav { grid-template-columns: 1fr; }
  .template-section-nav a { border-right: 0; border-bottom: 1px solid #d5ded7; }
  .template-section-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .area-shell { width: min(100% - 28px, 1180px); padding-top: 42px; }
  h1 { font-size: 45px; }
  .lead { font-size: 15px; }
  .area-header { min-height: 70px; padding: 12px 16px; }
  .area-header nav { gap: 13px; }
  .area-header .back-link { font-size: 12px; }
  .area-header nav .product-nav-link { display: none; }
  .area-header .session-link { padding: 6px 10px; font-size: 11px; }
  .area-switcher { grid-template-columns: 1fr; }
  .area-switcher a { border-right: 0; border-bottom: 1px solid #d5ded7; }
  .area-switcher a:last-child { border-bottom: 0; }
  .rating { gap: 5px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .action { width: 100%; }
  .instrument-row { grid-template-columns: 1fr; gap: 13px; }
  .instrument-ident { grid-template-columns: 66px minmax(0, 1fr); gap: 14px; }
  .instrument-status { justify-self: start; }
  .instrument-actions { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .visual-dot { animation: none; left: calc(50% - var(--dot-size) / 2); }
  .breathing-orb { transition: none; }
}
