/* Homepage content, using the active preset and shared shell. */
.ui-section :where(h1,h2,h3,p) {
  margin-top: 0;
}
.ui-section :where(h1,h2,h3) {
  font-family: var(--gs-font-heading);
  line-height: 1.14;
  letter-spacing: var(--gs-tracking-heading);
}
.home-v2 :focus-visible {
  outline: var(--gs-focus-width) solid var(--p-ink);
  outline-offset: var(--gs-focus-offset);
}
.ui-section a:not(.gs-button) {
  color: var(--p-action);
}
.ui-wrap {
  width: min(100% - 2 * var(--gs-gutter),var(--gs-content-width));
  margin-inline: auto;
}
.ui-section {
  padding: clamp(var(--gs-space-16),8vw,8rem) 0;
  background: var(--gs-neutral-0);
}
.ui-section--rule {
  border-top: var(--gs-border-width) solid var(--p-border);
}
.ui-kicker {
  margin: 0 0 var(--gs-space-4);
  color: var(--p-action);
  font-size: var(--gs-text-sm);
  font-weight: var(--gs-weight-bold);
  letter-spacing: var(--gs-tracking-eyebrow);
  text-transform: uppercase;
}
.ui-section h2 {
  max-width: 18ch;
  margin-bottom: var(--gs-space-5);
  font-size: clamp(2.25rem,3.5vw,3.75rem);
  font-weight: var(--gs-weight-bold);
}
.ui-section h3 {
  margin-bottom: var(--gs-space-3);
  font-size: var(--gs-text-xl);
}
.ui-lead {
  max-width: 46rem;
  margin-bottom: var(--gs-space-8);
  color: var(--p-muted);
  font-size: var(--gs-text-lg);
  line-height: 1.55;
}
.ui-small {
  max-width: 58rem;
  margin-top: var(--gs-space-6);
  color: var(--p-muted);
  font-size: var(--gs-text-sm);
}
.ui-tag {
  display: inline-block;
  width: fit-content;
  color: var(--p-muted);
  font-size: var(--gs-text-xs);
  font-weight: var(--gs-weight-bold);
  letter-spacing: var(--gs-tracking-eyebrow);
  text-transform: uppercase;
}
.ui-split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.9fr);
  gap: clamp(var(--gs-space-8),6vw,var(--gs-space-16));
  align-items: center;
}
.ui-two, .ui-three {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: var(--gs-space-5);
}
.ui-three {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.ui-panel {
  min-width: 0;
  padding: clamp(var(--gs-space-5),3vw,var(--gs-space-10));
  border: var(--gs-border-width) solid var(--p-border-strong);
  border-radius: var(--gs-radius-card);
  background: var(--gs-neutral-0);
}
.ui-panel p {
  color: var(--p-muted);
}
.ui-panel a {
  text-underline-offset: .25em;
}
.ui-text-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--gs-control-height);
  font-weight: var(--gs-weight-bold);
  text-underline-offset: .25em;
}
.ui-directory {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: var(--gs-space-8);
}
.ui-directory > div {
  border: var(--gs-border-width) solid var(--p-border-strong);
  border-radius: var(--gs-radius-card);
  overflow: hidden;
}
.ui-directory h3 {
  padding: var(--gs-space-4) var(--gs-space-6);
  margin: 0;
  background: var(--p-soft);
}
.ui-directory a {
  display: grid;
  gap: var(--gs-space-1);
  padding: var(--gs-space-4) var(--gs-space-6);
  border-top: var(--gs-border-width) solid var(--p-border);
  font-size: var(--gs-text-lg);
  font-weight: var(--gs-weight-bold);
  text-decoration: none;
}
.ui-directory a span {
  color: var(--p-muted);
  font-size: var(--gs-text-md);
  font-weight: var(--gs-weight-regular);
}
.ui-directory a:hover {
  background: var(--p-soft);
}
.ui-directory a:hover {
  text-decoration: underline;
}
/* Image inside a landing section split (our-story founder photo).
   --portrait caps a photograph's width. */
.ui-photo {
  margin: 0;
  justify-self: center;
  width: 100%;
}
.ui-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--gs-radius-card);
}
.ui-photo--portrait {
  max-width: 20rem;
}
.ui-photo figcaption {
  margin-top: var(--gs-space-3);
  color: var(--p-muted);
  font-size: var(--gs-text-sm);
}
.ui-price-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: var(--gs-space-4);
  margin: var(--gs-space-8) 0;
}
.ui-price {
  padding: var(--gs-space-6);
  border: var(--gs-border-width) solid var(--p-border-strong);
  border-radius: var(--gs-radius-card);
  background: var(--gs-neutral-0);
}
.ui-price h3 {
  font-size: var(--gs-text-md);
}
.ui-price__amount {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  margin: var(--gs-space-6) 0 var(--gs-space-4);
  white-space: nowrap;
}
.ui-price__amount strong {
  font: var(--gs-weight-bold) clamp(2rem,3vw,3.3rem)/1 var(--gs-font-heading);
  letter-spacing: var(--gs-tracking-heading);
}
.ui-price__amount span {
  font-size: var(--gs-text-md);
}
.ui-price > p:last-child {
  color: var(--p-muted);
  margin: 0;
}
@media (max-width: 68em) {
.ui-split {
  grid-template-columns: minmax(0,1fr);
}
}
@media (max-width: 42em) {
.ui-wrap {
  width: min(100% - 2 * var(--gs-space-5),var(--gs-content-width));
}
.ui-section {
  padding: var(--gs-space-16) 0;
}
.ui-section h2 {
  font-size: clamp(2.1rem,8vw,3rem);
}
.ui-two, .ui-three, .ui-directory, .ui-price-grid {
  grid-template-columns: minmax(0,1fr);
}
.ui-price__amount strong {
  font-size: 2.5rem;
}
}

/* Homepage actions and practice browser */
.home-icon {
  width:1.5em; height:1.5em; fill:none; stroke:currentColor;
  stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
}
.plan-person {display:flex;flex-direction:column;align-items:start;}
.plan-person .p-person__who {display:flex;align-items:center;gap:var(--gs-space-3);}
.p-person__who b {display:block;color:var(--p-ink);}
.plan-person .p-avatar {
  display:grid;place-items:center;width:3rem;aspect-ratio:1;border:var(--gs-border-width) solid var(--p-border-strong);
  border-radius:50%;font-weight:var(--gs-weight-bold);color:var(--p-action);
}
.plan-person .p-chips {display:flex;flex-wrap:wrap;list-style:none;padding:0;gap:var(--gs-space-2);margin:0 0 var(--gs-space-6);}
.p-chips li {border:var(--gs-border-width) solid var(--p-border);border-radius:var(--gs-radius-control);padding:var(--gs-space-1) var(--gs-space-3);font-size:var(--gs-text-sm);}
.p-chip-caps {font-weight:var(--gs-weight-bold);font-size:var(--gs-text-sm);}
.plan-person .p-status {display:flex;align-items:center;gap:var(--gs-space-2);border-top:var(--gs-border-width) solid var(--p-border);width:100%;padding-top:var(--gs-space-3);margin:auto 0 0;font-size:var(--gs-text-sm);}
.p-status svg {flex:none;}

/* Claude's scroll-driven angle is inherited by the counter-rotating labels. */
@property --orbit-angle {syntax:"<angle>";inherits:true;initial-value:0deg;}
.p-orbit2 {container:discipline-orbit / inline-size;width:100%;max-width:36rem;margin-inline:auto;overflow:clip;}
.p-orbit2__stage {position:relative;width:100%;aspect-ratio:1;}
.p-orbit2__ring,.p-orbit2__core {position:absolute;left:50%;top:50%;translate:-50% -50%;border-radius:50%;}
.p-orbit2__ring {width:74%;aspect-ratio:1;border:var(--gs-border-width) dashed var(--p-border-strong);}
.p-orbit2__ring--inner {width:45%;border-style:solid;border-color:var(--p-border);}
.p-orbit2__core {display:grid;justify-items:center;align-content:center;width:30%;aspect-ratio:1;background:var(--p-page);}
.p-orbit2__core img {width:66%;height:auto;}
.p-orbit2__core span,.p-orbit2__name {font-size:var(--gs-text-sm);font-weight:var(--gs-weight-bold);}
.p-orbit2__spin {position:absolute;inset:0;margin:0;padding:0;list-style:none;transform:rotate(var(--orbit-angle));}
.p-orbit2__node {position:absolute;top:50%;left:50%;width:24%;transform:translate(-50%,-50%) rotate(var(--a)) translateX(37cqi) rotate(calc(-1 * var(--a)));}
.p-orbit2__pos {display:grid;justify-items:center;gap:var(--gs-space-1);text-align:center;transform:rotate(calc(-1 * var(--orbit-angle)));}
.p-orbit2__bubble {display:grid;place-items:center;width:clamp(2.5rem,9cqi,4rem);aspect-ratio:1;background:var(--p-page);border:var(--gs-border-width) solid var(--p-border-strong);border-radius:50%;}
.field-glyph {width:1.8em;height:1.8em;}
.p-orbit2__name {background:var(--p-page);line-height:1.2;overflow-wrap:anywhere;}
@keyframes orbit-progress {from{--orbit-angle:-35deg}to{--orbit-angle:55deg}}
@keyframes orbit-arrive {from{opacity:0;scale:.78}to{opacity:1;scale:1}}
@supports (animation-timeline:view()) {
  @media(prefers-reduced-motion:no-preference) {
    .p-orbit2 {animation:orbit-progress linear both;animation-timeline:view();animation-range:cover 10% cover 90%;}
  }
}
@media(prefers-reduced-motion:no-preference){
  .p-orbit2.is-in .p-orbit2__core,.p-orbit2.is-in .p-orbit2__bubble {animation:orbit-arrive .5s ease-out backwards;}
  .p-orbit2.is-in .p-orbit2__bubble {animation-delay:calc(.15s + var(--i)*.075s);}
}
@container discipline-orbit (max-width:27rem){
  .p-orbit2__stage {aspect-ratio:auto;padding-block:var(--gs-space-3);}
  .p-orbit2__spin {position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--gs-space-3) 0;transform:none;}
  .p-orbit2__node {position:static;width:auto;transform:none;grid-column:span 2;}
  .p-orbit2__node:nth-child(1),.p-orbit2__node:nth-child(6) {grid-column:2 / span 2;}
  .p-orbit2__node:nth-child(2) {grid-column:4 / span 2;}
  .p-orbit2__node:nth-child(3),.p-orbit2__node:nth-child(4),.p-orbit2__node:nth-child(5) {grid-column:5 / span 2;}
  .p-orbit2__node:nth-child(7) {grid-column:4 / span 2;grid-row:5;}
  .p-orbit2__node:nth-child(8),.p-orbit2__node:nth-child(9),.p-orbit2__node:nth-child(10) {grid-column:1 / span 2;}
  .p-orbit2__node:nth-child(8) {grid-row:4;}
  .p-orbit2__node:nth-child(9) {grid-row:3;}
  .p-orbit2__node:nth-child(10) {grid-row:2;}
  .p-orbit2__node:nth-child(6) {grid-row:5;}
  .p-orbit2__pos {transform:none;}
  .p-orbit2__name {font-size:var(--gs-text-xs);hyphens:manual;}
  .p-orbit2__ring--outer {width:74%;height:83%;}
  .p-orbit2__core {width:27%;}

}

.chapter-heading {max-width:55rem;margin-bottom:var(--gs-space-8);}
.visual-chapter h2 {font-size:clamp(var(--gs-text-3xl),5.7vw,5rem);line-height:1.02;max-width:16ch;}
.chapter-intro {color:var(--p-muted);font-size:var(--gs-text-xl);line-height:1.45;max-width:54ch;}
.chapter-intro strong {color:var(--p-ink);}
.chapter-browser {position:relative;min-width:0;}
.chapter-rail {position:relative;display:grid;gap:var(--gs-space-4);grid-template-columns:repeat(3,minmax(0,1fr));}
.care-gallery {grid-template-columns:repeat(4,minmax(0,1fr));}
.chapter-card {overflow:hidden;display:flex;flex-direction:column;min-width:0;border:var(--gs-border-width) solid var(--p-border-strong);border-radius:var(--gs-radius-panel);background:var(--p-page);}
.preview-visit,.preview-plan {--model-tint:var(--gs-color-illustration-plan);}
.preview-treatment,.preview-board {--model-tint:var(--gs-color-illustration-care);}
.preview-review,.preview-gloop {--model-tint:var(--gs-color-illustration-change);}
.preview-history {--model-tint:var(--gs-color-illustration-history);}
.chapter-art {
  position:relative;isolation:isolate;display:grid;align-items:end;justify-items:center;
  min-height:16rem;padding:var(--gs-space-5) var(--gs-space-3) 0;
  background:linear-gradient(150deg,color-mix(in srgb,var(--model-tint),var(--p-page) 36%),var(--model-tint));
}
.app-model {
  position:relative;top:var(--gs-space-2);width:min(100%,19rem);box-sizing:border-box;
  display:grid;align-content:start;gap:var(--gs-space-2);min-height:14rem;
  padding:var(--gs-space-4);color:var(--p-ink);background:var(--p-page);
  border:var(--gs-border-width) solid var(--p-border);border-radius:var(--gs-radius-panel);
  box-shadow:0 .35rem 1rem color-mix(in srgb,var(--p-ink) 12%,transparent);
}
.app-model strong {font:var(--gs-weight-bold) var(--gs-text-xl)/1.15 var(--gs-font-heading);}
.app-model small,.product-caption {font-size:var(--gs-text-sm);line-height:1.35;color:var(--p-muted);}
.model-label,.model-row,.model-responses {display:flex;align-items:center;gap:var(--gs-space-2);}
.model-label,.model-state {font-size:var(--gs-text-sm);line-height:1.25;font-weight:var(--gs-weight-medium);}
.app-model .home-icon {width:1.1em;height:1.1em;}
.sheet-handle {width:2.5rem;height:.25rem;border-radius:var(--gs-radius-control);background:var(--p-border-strong);justify-self:center;}
.model-row {border-top:var(--gs-border-width) solid var(--p-border);padding-top:var(--gs-space-2);}
.model-row>.home-icon {background:var(--model-tint);box-sizing:content-box;padding:var(--gs-space-2);border-radius:var(--gs-radius-control);}
.model-row span,.model-change span,.model-timeline span {display:grid;}
.app-model b {font-size:var(--gs-text-md);line-height:1.25;}
.model-state,.model-specialists .model-label {justify-self:start;padding:var(--gs-space-1) var(--gs-space-2);border-radius:var(--gs-radius-control);background:var(--model-tint);}
.model-responses {margin-top:var(--gs-space-2);}
.model-responses span {flex:1;text-align:center;font-size:var(--gs-text-sm);border:var(--gs-border-width) solid var(--p-border-strong);border-radius:var(--gs-radius-control);padding:var(--gs-space-2) 0;}
.model-change,.model-timeline,.model-specialists {display:grid;gap:var(--gs-space-2);}
.model-change {border-inline-start:.2rem solid var(--model-tint);padding-inline-start:var(--gs-space-3);gap:var(--gs-space-1);}
.model-change span {font-size:var(--gs-text-sm);color:var(--p-muted);}
.model-change b,.model-timeline b {color:var(--p-ink);}
.model-change i {line-height:1;color:var(--p-muted);}
.model-timeline {margin:var(--gs-space-2) 0 0 var(--gs-space-1);border-inline-start:.16rem solid var(--model-tint);}
.model-timeline span {position:relative;padding:0 0 var(--gs-space-3) var(--gs-space-4);}
.model-timeline span::before {content:"";position:absolute;inset:.25rem auto auto -.34rem;width:.55rem;height:.55rem;background:var(--p-ink);border-radius:50%;}
.preview-gloop {align-content:center;gap:var(--gs-space-2);}
.product-caption {font-weight:var(--gs-weight-medium);color:var(--p-ink);}
.product-render {width:min(95%,19rem);height:12rem;object-fit:contain;}
.chapter-copy {padding:var(--gs-space-8) var(--gs-space-5) var(--gs-space-5);display:flex;flex:1;align-items:start;flex-direction:column;}
.chapter-copy p {margin:0 0 var(--gs-space-3);color:var(--p-muted);}
.chapter-copy a {margin-top:auto;font-weight:var(--gs-weight-bold);text-underline-offset:.2em;}
.chapter-copy .ui-tag {margin-bottom:var(--gs-space-3);}
@media(min-width:42.001rem) {
  .chapter-card {display:grid;grid-template-rows:subgrid;grid-row:span 2;row-gap:0;}
}
@media(max-width:64rem) and (min-width:42.001rem){.care-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:42rem){
  .chapter-rail {--rail-card-width:85%;--rail-gap:var(--gs-space-4);display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none;}
  .chapter-card {flex:0 0 85%;scroll-snap-align:center;}
  .chapter-browser[data-view="grid"] .chapter-rail {display:grid;grid-template-columns:minmax(0,1fr);overflow:visible;scroll-snap-type:none;}
  .chapter-browser[data-view="grid"] .chapter-card {flex:none;}
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gs-space-3);
}
.home-actions .gs-button--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--gs-space-6);
  min-height: var(--gs-control-height);
  color: var(--p-action);
  background: var(--p-page);
  border: var(--gs-border-width) solid var(--p-action);
  text-decoration: none;
}
.home-actions .gs-button--secondary:hover {
  background: var(--p-soft);
}
.practice-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(var(--gs-space-6), 5vw, var(--gs-space-16));
}
.practice-browser {
  position: relative;
  min-width: 0;
}
.practice-rail {
  --practice-gap: var(--gs-space-4);
  --practice-width: 81%;
  --rail-card-width: var(--practice-width);
  --rail-gap: var(--practice-gap);
  position: relative;
  display: flex;
  gap: var(--practice-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: var(--gs-space-2);
}
.practice-rail > a {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: var(--gs-space-5) var(--gs-space-2);
  flex: 0 0 var(--practice-width);
  scroll-snap-align: center;
  border: var(--gs-border-width) solid var(--p-border-strong);
  border-radius: var(--gs-radius-card);
  padding: var(--gs-space-5);
  text-decoration: none;
  background: var(--p-page);
}
.practice-rail > a:focus-visible {
  outline-offset: calc(0px - var(--gs-focus-width));
}
.practice-rail > a:hover strong {
  text-decoration: underline;
}
.practice-browser[data-view="grid"] .practice-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  overflow: visible;
  scroll-snap-type: none;
}
.practice-browser[data-view="grid"] .practice-rail::after { content: none; }
.practice-browser[data-view="grid"] .practice-rail > a { width: auto; }
.practice-rail img {
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(8rem, 14vw, 12rem);
  object-fit: contain;
}
.practice-rail strong, .practice-rail small {
  display: block;
}
.practice-rail strong {
  font-size: var(--gs-text-lg);
  line-height: var(--gs-leading-tight);
}
.practice-rail small {
  margin-top: var(--gs-space-2);
  color: var(--p-muted);
  font-size: var(--gs-text-sm);
}

.routine-copy > span { display:block; margin-top:var(--gs-space-2); color:var(--p-muted); }
.practice-rail::-webkit-scrollbar, .chapter-rail::-webkit-scrollbar { display:none; }
.practice-controls[hidden], .practice-controls button[hidden] { display:none; }
.practice-controls button {
  position:absolute; top:50%; translate:0 -50%; border:var(--gs-border-width) solid var(--p-border-strong);
  border-radius:50%; background:var(--p-page); color:var(--p-action); min-width:var(--gs-control-height);
  min-height:var(--gs-control-height); cursor:pointer; font:var(--gs-weight-medium) var(--gs-text-2xl)/1 var(--gs-font-body);
  box-shadow:var(--gs-shadow-float);
}
.practice-controls button:disabled { opacity: .45; cursor: default; }
[data-practice-prev] { left:0; }
[data-practice-next] { right:0; }
[data-practice-position] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(max-width:42rem) { .practice-layout {grid-template-columns:minmax(0,1fr);} }
/* Topic continuation rows use the landing section typography and shared destination cards. */
.journey-row { margin-top:var(--gs-space-10); }
.journey-rail {
  --row-gap:var(--gs-space-4);
  gap:var(--row-gap);
  grid-template-columns:repeat(3,minmax(0,1fr));
  padding:var(--gs-space-2);
  margin-inline:calc(-1 * var(--gs-space-2));
}
.journey-row[data-view="carousel"] .journey-rail {
  --rail-card-width:calc((100% - 2 * var(--row-gap)) / 3); --rail-gap:var(--row-gap);
  display:flex;
  overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory;
  scrollbar-width:none;
}
.journey-row[data-view="carousel"] .journey-rail:has(> li:nth-child(4)) {--rail-card-width:calc((100% - 2 * var(--row-gap)) / 2.85);}
.journey-row[data-view="carousel"] .journey-rail > li {flex:0 0 var(--rail-card-width);}
.journey-row [data-practice-prev] { left:calc(-1 * min(var(--gs-space-4), var(--gs-gutter) / 2)); }
.journey-row [data-practice-next] { right:calc(-1 * min(var(--gs-space-4), var(--gs-gutter) / 2)); }
.journey-rail > li { scroll-snap-align:center; }
.journey-rail .gs-card__title { margin:0; }
.journey-toggle {
  margin-top:var(--gs-space-2); padding:0; border:0; background:transparent; color:var(--p-action);
  font-family:inherit; font-size:var(--gs-text-md); text-decoration:underline; cursor:pointer;
}
.journey-toggle[hidden] {display:none;}
@media (max-width:64rem) {
  .journey-rail {grid-template-columns:repeat(2,minmax(0,1fr));}
  .journey-row[data-view="carousel"] .journey-rail,
  .journey-row[data-view="carousel"] .journey-rail:has(> li:nth-child(4)) {--rail-card-width:45%;}
}
@media (max-width:42rem) {
  .journey-rail {grid-template-columns:minmax(0,1fr);}
  .journey-row[data-view="carousel"] .journey-rail,
  .journey-row[data-view="carousel"] .journey-rail:has(> li:nth-child(4)) {--rail-card-width:85%;}
}
/* Illustrated web-to-app sequence and close */
.ui-connected {
  --p-r-box:var(--gs-radius-md);
  --p-r-btn:var(--gs-radius-md);
  --p-r-card:var(--gs-radius-panel);
  --p-r-pill:var(--gs-radius-control);
  --p-hue-2:var(--p-soft);
  --gs-color-soft:var(--p-soft);
  --gs-color-surface:var(--gs-neutral-0);
  --gs-color-action:var(--p-action);
  --gs-color-on-action:var(--p-on-action);
  --gs-color-text:var(--p-ink);
  --gs-color-text-muted:var(--p-muted);
  --gs-color-border:var(--p-border);
  --gs-color-border-strong:var(--p-border-strong);
  --gs-color-notice-bg:var(--p-soft-strong);
}
.ui-connected .p-ico {
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:none;
}
.ui-connected-link {
  text-align:center;
  margin:var(--gs-space-8) 0 0;
}
.ui-close-inner {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  align-items:center;
  gap:var(--gs-space-8);
}
.ui-close h2 {
  max-width:14ch;
}

.ui-close {overflow:clip;}
.bello-edge {justify-self:end;display:grid;justify-items:center;margin-inline-end:calc(-1 * var(--gs-gutter));}
.bello-frames {position:relative;width:clamp(8rem,16vw,14rem);aspect-ratio:342/477;}
.bello-frames img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}
.bello-frames img:not(:first-child) {visibility:hidden;}
.bello-edge.is-waving img:nth-child(2) {animation:wave-middle .76s step-end 3;}
.bello-edge.is-waving img:nth-child(3) {animation:wave-high .76s step-end 3;}
.bello-edge.is-waving img:first-child {animation:wave-low .76s step-end 3;}
@keyframes wave-low {0%,100%{visibility:visible}25%,75%{visibility:hidden}}
@keyframes wave-middle {0%,50%,100%{visibility:hidden}25%,75%{visibility:visible}}
@keyframes wave-high {0%,75%,100%{visibility:hidden}50%{visibility:visible}}
@media(max-width:42rem){.ui-close-inner{grid-template-columns:minmax(0,1fr);gap:var(--gs-space-3)}.bello-edge{margin-inline-end:0;}}
@media(prefers-reduced-motion:reduce){.bello-edge.is-waving img{animation:none;}}
.p-w2a {
  --w2a-gap: var(--gs-space-10);
  --w2a-h: 20rem;
  --w2a-mid: calc(var(--w2a-h) / 2);
}
.p-w2a__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--w2a-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-w2a__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gs-space-5);
  min-width: 0;
}
.p-w2a__step > p {
  text-align:center;
  align-items:center;
  flex-direction:column;
  display: flex;
  gap: var(--gs-space-3);
  margin: 0;
  font-size: var(--gs-text-md);
  overflow-wrap: anywhere;
}
.p-w2a__step > p > span {
  flex: none;
  font: var(--gs-weight-bold) var(--gs-text-sm)/1.6 var(--gs-font-heading);
  color: var(--gs-color-text-muted);
}
.p-w2a__step > div {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--gs-space-3);
  min-height: var(--w2a-h);
  overflow: hidden;
  border: var(--gs-border-width) solid var(--gs-color-border);
  background: var(--gs-color-surface);
  color: var(--gs-color-text);
  box-shadow: var(--gs-shadow-float);
  font-size: var(--gs-text-sm);
}
.p-w2a__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: var(--w2a-mid);
  left: 100%;
  width: var(--w2a-gap);
  border-top: var(--gs-border-width-strong) dashed var(--gs-color-border-strong);
}
.p-w2a__step:not(:last-child)::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: calc(var(--w2a-mid) - .3rem + 1px);
  left: 100%;
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background: var(--gs-color-action);
  opacity: 0;
}
.p-w2a__browser {
  border-radius: var(--p-r-box);
}
.p-w2a__page {
  flex: 1;
  justify-content: center;
}
.p-w2a__chrome {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: var(--gs-space-2) var(--gs-space-3);
  border-bottom: var(--gs-border-width) solid var(--gs-color-border);
  background: var(--gs-color-soft);
}
.p-w2a__chrome i {
  flex: none;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--gs-color-border-strong);
}
.p-w2a__chrome span {
  flex: 1;
  min-width: 0;
  margin-left: var(--gs-space-2);
  padding: 2px var(--gs-space-2);
  border-radius: var(--p-r-pill);
  background: var(--gs-color-surface);
  color: var(--gs-color-text-muted);
  font-size: var(--gs-text-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-w2a__page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gs-space-2);
  padding: 0 var(--gs-space-4) var(--gs-space-4);
  text-align: center;
}
.p-w2a__art {
  display: grid;
  place-items: end center;
  width: 6.5rem;
  height: 6.5rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--p-hue-2);
}
.p-w2a__art img {
  width: 80%;
  height: auto;
}
.p-w2a__done {
  display: inline-flex;
  align-items: center;
  gap: var(--gs-space-1);
  font-weight: var(--gs-weight-medium);
}
.p-w2a__done .p-ico, .p-w2a__toast .p-ico {
  width: 1rem;
  height: 1rem;
}
.p-w2a__btn {
  align-self: stretch;
  padding: var(--gs-space-2) var(--gs-space-3);
  border: var(--gs-border-width) solid var(--gs-color-border-strong);
  border-radius: var(--p-r-btn);
  font-weight: var(--gs-weight-medium);
  text-align: center;
}
.p-w2a__btn--ink {
  border-color: var(--gs-color-action);
  background: var(--gs-color-action);
  color: var(--gs-color-on-action);
}
.p-w2a__sheet {
  justify-content: flex-end;
  padding: var(--gs-space-4) var(--gs-space-5) var(--gs-space-5);
  border-radius: var(--p-r-card);
}
.p-w2a__grab {
  align-self: center;
  width: 2.5rem;
  height: .25rem;
  margin-bottom: auto;
  border-radius: var(--p-r-pill);
  background: var(--gs-color-border-strong);
}
.p-w2a__sheet b {
  font: var(--gs-weight-medium) var(--gs-text-lg)/var(--gs-leading-snug) var(--gs-font-heading);
}
.p-w2a__field {
  padding: var(--gs-space-2) var(--gs-space-3);
  border: var(--gs-border-width) solid var(--gs-color-border);
  border-radius: var(--p-r-btn);
  color: var(--gs-color-text-muted);
}
.p-w2a__step > .p-w2a__phone {
  position: relative;
  gap: var(--gs-space-2);
  width: min(15rem, 100%);
  height: var(--w2a-h);
  min-height: 0;
  align-self: center;
  padding: var(--gs-space-8) var(--gs-space-3) 0;
  border: .35rem solid var(--gs-color-text);
  border-bottom: 0;
  border-radius: 2rem 2rem 0 0;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
.p-w2a__notch {
  position: absolute;
  top: .45rem;
  left: 50%;
  width: 3.5rem;
  height: .9rem;
  border-radius: var(--p-r-pill);
  background: var(--gs-color-text);
  transform: translateX(-50%);
}
.p-w2a__phonetitle {
  font: var(--gs-weight-medium) var(--gs-text-lg)/1.2 var(--gs-font-heading);
}
.p-w2a__toast {
  display: inline-flex;
  align-items: center;
  gap: var(--gs-space-1);
  align-self: flex-start;
  max-width: 100%;
  padding: 2px var(--gs-space-2);
  border-radius: var(--p-r-pill);
  background: var(--gs-color-action);
  color: var(--gs-color-on-action);
  font-size: var(--gs-text-xs);
  font-weight: var(--gs-weight-bold);
  overflow-wrap: anywhere;
}
.p-w2a__item {
  display: flex;
  gap: var(--gs-space-2);
  align-items: center;
  padding: var(--gs-space-2);
  border: var(--gs-border-width) solid var(--gs-color-border);
  border-radius: var(--p-r-box);
  font-size: var(--gs-text-xs);
  color: var(--gs-color-text-muted);
  min-width: 0;
}
.p-w2a__item > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-wrap: anywhere;
}
.p-w2a__item b {
  color: var(--gs-color-text);
  font-size: var(--gs-text-sm);
  font-weight: var(--gs-weight-medium);
}
.p-w2a__item .p-ico {
  width: 1.125rem;
  height: 1.125rem;
}
.p-w2a__item.is-done {
  background: var(--gs-color-notice-bg);
}
.js .p-w2a__step > div {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .6s, transform .7s cubic-bezier(.2, .9, .25, 1);
  transition-delay: calc(var(--i) * .9s);
}
.js .p-w2a.is-in .p-w2a__step > div {
  opacity: 1;
  transform: none;
}
.js .p-w2a.is-in .p-w2a__step:not(:last-child)::before {
  animation: p-hop .9s ease-in-out both;
  animation-delay: calc(var(--i) * .9s + .5s);
}
.js .p-w2a__toast {
  opacity: 0;
  transform: scale(.8);
  transition: opacity .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: 2.6s;
}
.js .p-w2a.is-in .p-w2a__toast {
  opacity: 1;
  transform: none;
}
@keyframes p-hop { 0% {
  opacity: 1;
  translate: 0 0;
} 90% {
  opacity: 1;
  translate: calc(var(--w2a-gap) - .6rem) 0;
} 100% {
  opacity: 0;
  translate: calc(var(--w2a-gap) - .6rem) 0;
} }
@keyframes p-hop-down { 0% {
  opacity: 1;
  translate: 0 0;
} 90% {
  opacity: 1;
  translate: 0 calc(var(--w2a-gap) - .6rem);
} 100% {
  opacity: 0;
  translate: 0 calc(var(--w2a-gap) - .6rem);
} }
@media (max-width: 52rem) {
.p-w2a__steps {
  grid-template-columns: minmax(0, 1fr);
  max-width: 24rem;
  margin-inline: auto;
}
.p-w2a__step:not(:last-child)::after {
  top: 100%;
  left: 50%;
  width: 0;
  height: var(--w2a-gap);
  border-top: 0;
  border-left: var(--gs-border-width-strong) dashed var(--gs-color-border-strong);
}
.p-w2a__step:not(:last-child)::before {
  top: 100%;
  left: calc(50% - .3rem + 1px);
}
.js .p-w2a.is-in .p-w2a__step:not(:last-child)::before {
  animation-name: p-hop-down;
}
}
@media (prefers-reduced-motion: reduce) {
.js .p-w2a__step > div, .js .p-w2a__toast {
  opacity: 1;
  transform: none;
  transition: none;
}
.js .p-w2a.is-in .p-w2a__step:not(:last-child)::before {
  animation: none;
}
}

.p-directory-domain { margin-block:var(--gs-space-10); }
.p-domain-head { display:flex; align-items:center; justify-content:space-between; gap:var(--gs-space-3); margin-bottom:var(--gs-space-3); }
.p-domain-head h2 { margin:0; }
.p-domain-controls { display:flex; gap:var(--gs-space-2); }
.p-domain-controls button, .p-catalog-field button { position:static; translate:none; transform:none; cursor:pointer; color:var(--gs-color-text); background:var(--gs-color-surface); border:var(--gs-border-width) solid var(--gs-color-border); border-radius:var(--gs-radius-control); min-height:var(--gs-control-height); min-width:var(--gs-control-height); }
.p-directory-domain .journey-rail { display:grid; }
.p-directory-domain:not([data-view="grid"]) .journey-rail { --rail-card-width:min(79%,17rem); --rail-gap:var(--row-gap); display:flex; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:thin; list-style:none; }
.p-directory-domain:not([data-view="grid"]) .journey-rail > li { flex:0 0 var(--rail-card-width); }
/* On phones the edge cards share the same snap position as interior cards. */
@media (max-width:40em) {
[data-card-row][data-view="carousel"][data-overflow="true"] :is(.practice-rail,.journey-rail,.chapter-rail)::before,
[data-card-row][data-view="carousel"][data-overflow="true"] :is(.practice-rail,.journey-rail,.chapter-rail)::after {
  content:"";
  flex:0 0 max(0px,calc((100% - var(--rail-card-width)) / 2 - var(--rail-gap)));
}
}

/* Shared illustrated catalogue cards. */
.p-rc { box-sizing: border-box; display: flex; flex-direction: column; min-width: 0; overflow: hidden; scroll-snap-align: start; border: var(--gs-border-width) solid var(--gs-color-border); border-radius: calc(var(--gs-radius-panel) + var(--gs-space-2)); background: var(--gs-color-surface); }
.p-rc__link { display:flex; flex:1; flex-direction:column; color:inherit; text-decoration:none; border-radius:inherit; }
.p-rc__link:hover .p-rc__title, .p-rc__link:focus-visible .p-rc__title { text-decoration:underline; }
.p-rc__link:focus-visible { outline:var(--gs-focus-width) solid var(--gs-color-focus); outline-offset:calc(-1 * var(--gs-focus-width)); }
.p-rc__art { position: relative; aspect-ratio: 8 / 7; max-height: 15rem; background: var(--gs-color-soft); }
.p-rc__art img { position: absolute; inset: 10% var(--gs-space-5); width: calc(100% - 2 * var(--gs-space-5)); height: 80%; object-fit: contain; }
.p-rc__body { display: flex; flex: 1; flex-direction: column; padding: var(--gs-space-4) var(--gs-space-5) var(--gs-space-5); }
.p-rc__title { font-size: var(--gs-text-lg); font-weight: var(--gs-weight-bold); line-height: var(--gs-leading-snug); letter-spacing: var(--gs-tracking-heading); overflow-wrap: anywhere; }
.p-rc__title:has(.p-rc__arrow) { display:flex; justify-content:space-between; align-items:baseline; gap:var(--gs-space-3); }
.p-rc__arrow { flex:none; font-weight:var(--gs-weight-medium); }
.p-rc__line { margin-top: var(--gs-space-2); font-size: var(--gs-text-sm); color: var(--gs-color-text-muted); font-variant-numeric: tabular-nums; }
.p-rc__spacer { flex: 1 1 auto; min-height: var(--gs-space-4); }
.p-rc__btn { display: flex; align-items: center; justify-content: center; gap: var(--gs-space-2); min-height: calc(var(--gs-control-height) + var(--gs-space-2)); border: var(--gs-border-width) solid var(--gs-color-action); border-radius: var(--gs-radius-control); background: var(--gs-color-action); color: var(--gs-color-on-action); font-weight: var(--gs-weight-medium); text-decoration: none; }
.p-rc__btn:hover { background: var(--gs-color-action-hover); }
.p-rc__btn svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.p-rc__btn--app { border-color: var(--gs-color-border-strong); background: transparent; color: var(--gs-color-text); }
.p-rc__btn--app:hover { background: var(--gs-color-secondary-hover); }

.p-directory-domain .p-rc__art { aspect-ratio: 2 / 1; }
