/* A quiet editorial stage for the working browser preview. */
.experience {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
  background: #f5f4f0;
  color: #262b29;
}

.experience .section-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: min(100%, 66rem);
  gap: 2.5rem;
  position: relative;
}

.experience-header {
  max-width: 31rem;
  margin: 0;
  text-align: center;
  color: #62675f;
}

.experience-header .section-eyebrow {
  color: #61695f;
  font-size: .6875rem;
  letter-spacing: .13em;
}

.experience-header h2 {
  max-width: 8em;
  margin: 1.25rem auto;
  color: #252c28;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.experience-header > p:last-child {
  max-width: 24rem;
  margin-inline: auto;
  color: #646961;
  font-size: 1rem;
  line-height: 1.65;
}

.experience .demo-shell {
  --base: #14171b;
  --today: #191d20;
  --card: #23272a;
  --line: #353b3e;
  --text: #f3f4ef;
  --secondary: #b0b8b5;
  --accent: #c6ddc8;
  --accent-strong: #cfbaff;
  position: relative;
  z-index: 1;
  width: min(100%, 24.375rem);
  min-width: 0;
  margin: 0;
  padding: 2.875rem .875rem 1rem;
  border: 6px solid #22272a;
  border-radius: 2.75rem;
  outline: 1px solid #5b625b;
  background: radial-gradient(ellipse at 100% 0%, #39473a36, transparent 50%), #14171b;
  color: var(--text);
  box-shadow: 0 1px 0 1px #ffffff90, 0 30px 65px -35px #22392d66, 0 80px 100px -75px #29223680;
  transform: none;
}

.experience .demo-shell::before {
  content: '';
  position: absolute;
  top: .875rem;
  left: 50%;
  width: 3.5rem;
  height: .3125rem;
  border-radius: 1rem;
  background: #080b0d;
  box-shadow: 0 1px 0 #ffffff0a;
  transform: translateX(-50%);
  pointer-events: none;
}

.experience .feature-links {
  gap: .1875rem;
  padding: .25rem;
  border: 1px solid #ffffff08;
  border-radius: 1rem;
  background: #252a2c;
}

.experience .feature-links a {
  min-height: 2.75rem;
  padding: .5rem .25rem;
  border-radius: .75rem;
  color: #bdc4c0;
  font-size: .8125rem;
  letter-spacing: -.01em;
  transition: none;
}

.experience .feature-links a[aria-selected='true'] {
  background: #e0e6d9;
  color: #222923;
  box-shadow: 0 1px 3px #0002;
}

.experience .feature-links a:hover:not([aria-selected='true']) { background: #ffffff09; color: #fff; }
.experience .feature-panel { min-width: 0; min-height: 40rem; }
.experience .feature-copy { padding: 1.625rem .375rem 1.375rem; }
.experience .feature-copy h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; letter-spacing: -.035em; text-wrap: balance; }
.experience .feature-copy > p { margin-top: .5rem; font-size: .8125rem; line-height: 1.5; }
.experience .demo-today, .experience .focus-demo { padding: 1rem; border: 1px solid #ffffff07; border-radius: 1.375rem; background: var(--today); }
.experience .demo-rank { display: none; }
.experience .demo-heading { gap: .5rem; }
.experience .mini-label { font-size: .625rem; letter-spacing: .08em; }
.experience .demo-heading h4 { margin-top: .375rem; font-size: 1.875rem; font-weight: 400; letter-spacing: -.05em; }
.experience .demo-tag { border-color: #455047; border-radius: .375rem; color: #b6c5b8; font-size: .5625rem; }
.experience .demo-progress { margin-top: 1.5rem; gap: .5rem; font-size: .75rem; }
.experience .progress-track { height: .1875rem; background: #354038; }
.experience .progress-track span { transition: none; }
.experience .habit-list { gap: .625rem; margin-top: 1.125rem; }
.experience .habit-toggle { min-height: 4.625rem; gap: .625rem; padding: .75rem .625rem; border: 1px solid #ffffff07; border-radius: .875rem; background: var(--card); transition: none; }
.experience .habit-toggle:hover { background: #2a302e; }
.experience .habit-toggle[aria-pressed='true'] { border-color: #b9d2bc33; background: #26322b; }
.experience .habit-icon { width: 1.875rem; height: 1.875rem; border-radius: .625rem; background: #37333e; color: #d2c3e9; }
.experience .habit-icon.peach { background: #3b342e; color: #dfbd98; }
.experience .habit-icon.sage { background: #303d36; color: #b4d6bc; }
.experience .habit-text strong { font-size: .8125rem; font-weight: 500; line-height: 1.4; }
.experience .habit-text small { font-size: .6875rem; line-height: 1.45; }
.experience .habit-checkbox { width: 1.25rem; height: 1.25rem; border-color: #6b776e; transition: none; }
.experience .habit-feedback { min-height: 1.25rem; margin-top: 1rem; font-size: .6875rem; }

.experience .focus-demo { padding: 1.5rem .75rem; }
.experience .focus-label { font-size: .625rem; color: #becbbe; letter-spacing: .12em; }
.experience .timer-ring { width: min(100%, 12rem); height: auto; aspect-ratio: 1; margin: 1.75rem auto; border-width: 2px; background: linear-gradient(#191d20, #191d20) padding-box, conic-gradient(#c6ddc8 calc(var(--timer-progress, 0) * 1turn), #3f4d43 0) border-box; }
.experience .timer-ring > span:first-child { font-size: clamp(2.75rem, 9vw, 3.5rem); font-weight: 400; letter-spacing: -.06em; }
.experience .timer-ring > span:last-child { font-size: .6875rem; }
.experience .timer-status { min-height: 2.5rem; font-size: .8125rem; }
.experience .timer-controls { gap: .5rem; }
.experience .timer-controls .button { min-height: 2.875rem; padding: .75rem 1.125rem; border-radius: .75rem; font-size: .8125rem; background: #e0e6d9; color: #222923; }
.experience .timer-reset { width: 2.875rem; height: 2.875rem; border-radius: .75rem; background: #262d29; color: #c6ddc8; }
.experience .demo-footnote { margin-top: 1.25rem; font-size: .6875rem; line-height: 1.6; }

.experience .rank-section { padding: 0 .25rem 1rem; }
.experience .rank-display { position: relative; isolation: isolate; }
.experience .rank-display::before { content: ''; position: absolute; z-index: -1; inset: 0 0 25%; background: radial-gradient(ellipse, #b6a0f51b, transparent 68%); pointer-events: none; }
.experience .rank-display > img { width: 10.5rem; height: 10.5rem; margin: -.5rem auto .25rem; }
.experience .rank-caption > span { font-size: .625rem; color: #bbc3bf; }
.experience .rank-caption h3 { margin-top: .375rem; font-size: 1.625rem; font-weight: 400; letter-spacing: -.04em; }
.experience .rank-caption p { font-size: .8125rem; }
.experience .rank-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .375rem; margin-top: 1.375rem; }
.experience .rank-picker button { min-height: 4.5rem; border-radius: .875rem; transition: none; }
.experience .rank-picker button img { width: 2.5rem; height: 2.5rem; }
.experience .rank-picker button > span { font-size: .6875rem; }
.experience .rank-picker button[aria-pressed='true'] { border-color: #c2b0e16b; background: #c2b0e114; }
.experience .demo-shell a:focus-visible, .experience .demo-shell button:focus-visible { outline: 2px solid #d8c8ff; outline-offset: 2px; }
.experience .demo-shell button, .experience .demo-shell button:active, .experience .feature-links a:active { transform: none; transition: none; }

.experience .demo-disclaimer { max-width: 24.375rem; margin: -1.25rem 0 0; color: #686d64; font-size: .6875rem; line-height: 1.7; text-align: center; }

@media (min-width: 800px) {
  .experience { background: radial-gradient(ellipse at 75% 42%, #dee7dc 0, #e9e7ef80 24%, transparent 52%), #f5f4f0; }
  .experience .section-container { grid-template-columns: minmax(0, 1fr) minmax(0, 24.375rem); column-gap: clamp(3rem, 8vw, 9rem); row-gap: 2.5rem; align-items: center; }
  .experience-header { justify-self: start; text-align: left; }
  .experience-header h2 { margin-inline: 0; }
  .experience-header > p:last-child { max-width: 20rem; margin-inline: 0; }
  .experience .demo-shell { grid-column: 2; grid-row: 1; }
  .experience .demo-disclaimer { grid-column: 2; }
}

@media (max-width: 359px) {
  .experience .demo-shell { padding-inline: .625rem; border-width: 5px; border-radius: 2.25rem; }
  .experience .demo-today { padding: .75rem; }
  .experience .habit-toggle { gap: .5rem; padding-inline: .5rem; }
  .experience .habit-text small { display: block; }
  .experience .habit-icon { width: 1.625rem; height: 1.625rem; }
  .experience .habit-text strong { font-size: .75rem; }
  .experience .habit-text small { font-size: .625rem; }
  .experience .feature-panel { min-height: 41.25rem; }
}

@media (prefers-contrast: more) {
  .experience-header .section-eyebrow, .experience-header > p:last-child, .experience .demo-disclaimer { color: #3e473d; }
  .experience .demo-shell { --secondary: #d3d9d6; border-color: #343d35; outline-color: #263029; }
  .experience .habit-toggle, .experience .feature-links { border-color: #7a887e; }
}

@media (prefers-reduced-motion: reduce) {
  .experience *, .experience *::before, .experience *::after { animation: none !important; transition: none !important; }
}
html[data-reduced-motion='true'] .experience *,
html[data-motion-paused='true'] .experience *,
html[data-reduced-motion='true'] .experience *::before,
html[data-motion-paused='true'] .experience *::before { animation: none !important; transition: none !important; }
