@font-face {
  font-family: "Comfortaa";
  src: url("./assets/Comfortaa.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("./assets/NunitoSans.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Nunito Sans", system-ui, sans-serif;
  --cream: #fff8e9;
  --soft-cream: rgba(255, 247, 228, 0.78);
  --amber: #f3a638;
  --amber-bright: #ffc66a;
  --ink: #20170f;
  --glass-edge: rgba(255, 239, 201, 0.42);
  --focus: #ffe2a4;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background: #19130d;
  color: var(--cream);
}

button,
input {
  font: inherit;
}

.scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background-image: url("./assets/page-02-autumn-passage-v3.png");
  background-position: center center;
  background-size: cover;
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 12, 8, 0.45) 0%, rgba(17, 12, 8, 0.16) 39%, transparent 65%),
    linear-gradient(180deg, rgba(13, 10, 7, 0.1), transparent 34%, rgba(13, 9, 5, 0.18));
}

.scene__shade {
  position: absolute;
  inset: -10% 46% -10% -10%;
  z-index: -1;
  background: radial-gradient(ellipse at 36% 44%, rgba(10, 8, 6, 0.5), rgba(10, 8, 6, 0.08) 67%, transparent 78%);
  filter: blur(18px);
  pointer-events: none;
}

.scene__glow {
  position: absolute;
  right: 17%;
  top: 26%;
  z-index: -1;
  width: min(24vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 62, 0.14), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.experience {
  width: min(780px, 50vw);
  padding: clamp(58px, 7.5vh, 92px) 0 122px clamp(42px, 5.4vw, 102px);
}

.intro {
  max-width: 690px;
  text-shadow: 0 3px 22px rgba(8, 5, 3, 0.52);
}

.eyebrow {
  margin: 0 0 18px;
  color: #ffd89a;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: clamp(1.42rem, 1.7vw, 1.78rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-shadow: 0 3px 16px rgba(4, 3, 2, 0.96), 0 0 24px rgba(255, 177, 57, 0.28);
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 16ch;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: clamp(3rem, 4.1vw, 4.8rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.supporting-copy {
  max-width: 39ch;
  margin: 20px 0 0;
  color: rgba(255, 250, 238, 0.96);
  font-size: clamp(1.08rem, 1.18vw, 1.3rem);
  font-weight: 650;
  line-height: 1.58;
  text-shadow: 0 3px 15px rgba(4, 3, 2, 0.96), 0 0 20px rgba(4, 3, 2, 0.68);
}

.process-preview {
  position: absolute;
  right: clamp(28px, 4vw, 72px);
  bottom: 22px;
  left: clamp(28px, 4vw, 72px);
  z-index: 8;
  display: block;
  width: auto;
  margin: 0;
  padding: 14px clamp(22px, 3vw, 46px) 16px;
  border: 1px solid rgba(185, 232, 213, 0.3);
  border-radius: 22px;
  background: rgba(7, 24, 18, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 32px rgba(3, 10, 8, 0.32);
  backdrop-filter: blur(15px) saturate(122%);
  -webkit-backdrop-filter: blur(15px) saturate(122%);
}

.process-preview__title {
  max-width: none;
  margin: 0 0 10px;
  color: #ffe1a8;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: clamp(1.12rem, 1.3vw, 1.36rem);
  font-weight: 600;
  letter-spacing: 0.035em;
  text-align: center;
  text-shadow: 0 3px 14px rgba(4, 3, 2, 0.96), 0 0 18px rgba(255, 177, 57, 0.24);
}

.process-flow {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(38px, 7vw, 120px);
}

.process-flow::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, rgba(126, 194, 187, 0.48), rgba(255, 200, 107, 0.78));
  box-shadow: 0 2px 10px rgba(5, 3, 2, 0.78), 0 0 12px rgba(255, 181, 68, 0.22);
}

.process-flow__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  text-align: center;
}

.process-flow__node {
  display: grid;
  width: 70px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 238, 202, 0.38);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.3), transparent 32%),
    linear-gradient(145deg, rgba(95, 157, 151, 0.42), rgba(41, 30, 22, 0.62));
  color: rgba(255, 248, 233, 0.9);
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 24px rgba(5, 3, 2, 0.25);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, color 260ms ease, transform 260ms ease;
}

.process-flow__stage:nth-child(2) .process-flow__node {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(145deg, rgba(95, 157, 151, 0.42), rgba(41, 30, 22, 0.62));
}

.process-flow__stage:nth-child(3) .process-flow__node {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(145deg, rgba(95, 157, 151, 0.42), rgba(41, 30, 22, 0.62));
}

.process-flow__stage.is-active .process-flow__node,
.process-flow__stage:nth-child(2).is-active .process-flow__node,
.process-flow__stage:nth-child(3).is-active .process-flow__node {
  border-color: rgba(255, 231, 181, 0.78);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.48), transparent 32%),
    linear-gradient(145deg, #ffd27c, #db8521);
  color: #2c1d11;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 0 30px rgba(255, 177, 57, 0.42),
    0 10px 26px rgba(5, 3, 2, 0.32);
  transform: scale(1.1);
}

.process-flow__label {
  color: #fff8e9;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 3px 12px rgba(3, 9, 7, 0.96);
  transition: color 260ms ease, text-shadow 260ms ease;
}

.process-flow__stage.is-active .process-flow__label {
  color: #fff5de;
  text-shadow: 0 0 14px rgba(255, 179, 62, 0.38), 0 2px 10px rgba(5, 3, 2, 0.84);
}

.thought-vessel {
  position: relative;
  width: min(580px, 44vw);
  margin-top: clamp(34px, 5.2vh, 60px);
  padding: 1px;
  border: 1px solid var(--glass-edge);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 203, 120, 0.08) 33%, rgba(91, 46, 19, 0.2) 78%),
    rgba(60, 35, 20, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset -18px -20px 42px rgba(57, 28, 14, 0.22),
    0 22px 56px rgba(8, 5, 3, 0.32);
  backdrop-filter: blur(17px) saturate(118%);
  -webkit-backdrop-filter: blur(17px) saturate(118%);
}

.thought-vessel::before,
.thought-vessel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.thought-vessel::before {
  inset: 5px 7px auto 8px;
  height: 48%;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 57%);
}

.thought-vessel::after {
  right: 12%;
  bottom: -8px;
  width: 56%;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 165, 53, 0.2);
  filter: blur(15px);
}

.thought-vessel__inner {
  position: relative;
  z-index: 1;
  padding: 22px 24px 24px;
}

label,
.placed-thought__label {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 244, 219, 0.76);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.thought-entry {
  display: flex;
  align-items: center;
  gap: 12px;
}

input {
  min-width: 0;
  flex: 1;
  height: 50px;
  padding: 0 17px;
  border: 1px solid rgba(255, 244, 219, 0.28);
  border-radius: 18px;
  outline: none;
  background: rgba(28, 19, 13, 0.48);
  color: #fffaf0;
  box-shadow: inset 0 1px 7px rgba(0, 0, 0, 0.24);
  caret-color: var(--amber-bright);
}

input::placeholder {
  color: rgba(255, 244, 222, 0.55);
}

input:focus-visible {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(255, 226, 164, 0.21), inset 0 1px 7px rgba(0, 0, 0, 0.24);
}

button {
  min-height: 50px;
  border: 1px solid rgba(255, 228, 173, 0.72);
  border-radius: 18px;
  padding: 0 22px;
  background: linear-gradient(145deg, #ffc86c, #e99127);
  color: var(--ink);
  font-weight: 850;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.64),
    0 9px 22px rgba(89, 42, 9, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 12px 25px rgba(89, 42, 9, 0.34);
}

button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.form-message {
  min-height: 1.35em;
  margin: 9px 2px 0;
  color: #ffd599;
  font-size: 0.9rem;
  line-height: 1.35;
}

.placed-thought {
  position: relative;
  width: min(520px, 41vw);
  margin-top: clamp(28px, 4vh, 42px);
  padding: 23px 27px 25px;
  border: 1px solid rgba(255, 237, 197, 0.38);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 9%, rgba(255, 255, 255, 0.24), transparent 35%),
    linear-gradient(145deg, rgba(255, 194, 101, 0.18), rgba(74, 39, 21, 0.46));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 45px rgba(10, 6, 3, 0.28);
  backdrop-filter: blur(19px) saturate(125%);
  -webkit-backdrop-filter: blur(19px) saturate(125%);
  animation: settle 520ms cubic-bezier(0.2, 0.8, 0.24, 1) both;
}

.placed-thought__text {
  overflow-wrap: anywhere;
  margin: 0;
  color: #fffaf0;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: clamp(1.28rem, 1.55vw, 1.65rem);
  font-weight: 650;
  line-height: 1.35;
}

.placed-thought__assurance {
  margin: 14px 0 19px;
  color: var(--soft-cream);
  font-size: 0.98rem;
}

.continue-button {
  min-height: 44px;
  padding: 0 19px;
  font-size: 0.96rem;
}

.placed-thought__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.choose-task-again {
  min-height: 44px;
  border-color: rgba(255, 240, 212, 0.24);
  padding: 0 18px;
  background: rgba(31, 21, 15, 0.46);
  color: rgba(255, 247, 230, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.proof-label {
  position: fixed;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 247, 229, 0.64);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.64);
  text-transform: uppercase;
}

.attention-field {
  position: absolute;
  top: clamp(74px, 9vh, 104px);
  right: clamp(30px, 4vw, 76px);
  z-index: 1;
  width: min(680px, 55vw);
  color: var(--cream);
}

.attention-field__title {
  width: fit-content;
  margin: 0 auto 12px;
  padding: 10px 18px;
  border: 1px solid rgba(185, 232, 213, 0.34);
  border-radius: 18px;
  background: rgba(7, 24, 18, 0.78);
  color: #fff8e9;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: clamp(1.5rem, 1.85vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 3px 16px rgba(4, 3, 2, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 28px rgba(3, 10, 8, 0.3);
  backdrop-filter: blur(14px) saturate(122%);
  -webkit-backdrop-filter: blur(14px) saturate(122%);
}

.attention-field__stage {
  position: relative;
  display: grid;
  width: 100%;
  height: min(400px, 52vh);
  min-height: 360px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(176px, 1.28fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
}

.attention-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: rgba(255, 213, 142, 0.34);
  filter: drop-shadow(0 0 7px rgba(255, 174, 61, 0.2));
}

.attention-paths path {
  fill: none;
  stroke: currentColor;
  stroke-dasharray: 3 8;
  stroke-linecap: round;
  stroke-width: 1.4;
  transition: opacity 360ms ease, stroke-width 360ms ease;
}

.task-chip {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  border: 1px solid rgba(160, 236, 211, 0.68);
  border-radius: 22px;
  padding: 0 14px;
  background:
    linear-gradient(145deg, rgba(112, 205, 181, 0.5), rgba(38, 115, 77, 0.66) 48%, rgba(17, 45, 38, 0.82)),
    rgba(25, 83, 65, 0.7);
  color: #fffaf0;
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  font-weight: 760;
  letter-spacing: 0.015em;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 14px 34px rgba(7, 18, 14, 0.5),
    0 0 28px rgba(70, 184, 151, 0.2);
  text-shadow: 0 2px 10px rgba(4, 3, 2, 0.82);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  animation: task-invitation-pulse 3.2s ease-in-out infinite;
  transition: opacity 360ms ease, filter 360ms ease, transform 360ms ease, border-color 180ms ease;
}

.task-chip:nth-of-type(even) {
  animation-delay: -1.6s;
}

.task-chip:hover,
.task-chip:focus-visible,
.task-chip[aria-pressed="true"] {
  animation: none;
  opacity: 1;
  border-color: rgba(255, 213, 144, 0.76);
  filter: brightness(1.12);
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 16px 38px rgba(7, 18, 14, 0.52),
    0 0 38px rgba(102, 235, 194, 0.42);
}

.task-chip--appointment {
  grid-column: 1;
  grid-row: 1;
}

.task-chip--laundry {
  grid-column: 3;
  grid-row: 1;
}

.task-chip--bills {
  grid-column: 1;
  grid-row: 2;
}

.task-chip--kitchen {
  grid-column: 2;
  grid-row: 3;
}

.task-chip--room {
  grid-column: 1;
  grid-row: 3;
}

.task-chip--call {
  grid-column: 3;
  grid-row: 3;
}

.task-chip--groceries {
  grid-column: 2;
  grid-row: 1;
}

.task-chip--email {
  grid-column: 3;
  grid-row: 2;
}

.focus-core {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  min-height: 132px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  grid-column: 2;
  grid-row: 2;
  border: 1px solid rgba(157, 235, 207, 0.52);
  border-radius: 28px;
  padding: 18px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.24), transparent 31%),
    linear-gradient(145deg, rgba(43, 125, 96, 0.46), rgba(10, 43, 33, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 15px 36px rgba(3, 12, 9, 0.3),
    0 0 28px rgba(80, 198, 158, 0.14);
  text-align: center;
  text-shadow: 0 2px 10px rgba(2, 10, 7, 0.72);
  translate: none;
  transition: width 420ms ease, min-height 420ms ease, background 420ms ease, box-shadow 420ms ease;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.focus-core__label {
  color: #ffd58e;
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(3, 9, 7, 0.96);
  text-transform: uppercase;
}

.focus-core__value {
  display: block;
  max-width: 19ch;
  margin-top: 7px;
  color: #fffaf0;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: 1.04rem;
  line-height: 1.28;
}

.attention-field__explanation {
  width: fit-content;
  margin: 14px auto 0;
  padding: 8px 14px;
  border: 1px solid rgba(185, 232, 213, 0.3);
  border-radius: 14px;
  background: rgba(7, 24, 18, 0.78);
  color: #fff8e9;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 3px 12px rgba(3, 9, 7, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(3, 10, 8, 0.26);
  backdrop-filter: blur(13px) saturate(120%);
  -webkit-backdrop-filter: blur(13px) saturate(120%);
}

.attention-field.is-focused .task-chip {
  animation: none;
  opacity: 0.07;
  filter: blur(2px) saturate(55%);
  transform: scale(0.92);
}

.attention-field.is-focused .attention-paths path {
  opacity: 0.05;
  stroke-width: 0.7;
}

.attention-field.is-focused .focus-core {
  width: 100%;
  min-height: 142px;
  border: 1px solid rgba(174, 239, 217, 0.7);
  background:
    radial-gradient(circle at 32% 23%, rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(72, 166, 132, 0.58), rgba(14, 61, 46, 0.76));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 0 50px rgba(71, 196, 153, 0.28),
    0 19px 44px rgba(5, 3, 2, 0.32);
  animation: focus-arrive 520ms cubic-bezier(0.18, 0.8, 0.22, 1) both;
}

.attention-field.is-focused .focus-core__value {
  font-size: 1.08rem;
}

.step-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: 24px clamp(38px, 7vw, 112px) 24px 24px;
}

.step-layer[hidden] {
  display: none;
}

.step-layer__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0 48%, rgba(10, 7, 5, 0.72) 100%);
}

.first-step-popup {
  position: relative;
  width: min(470px, calc(100vw - 48px));
  border: 1px solid rgba(255, 238, 198, 0.48);
  border-radius: 30px;
  padding: clamp(27px, 3.2vw, 42px);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.15), transparent 32%),
    linear-gradient(145deg, rgba(75, 116, 108, 0.96), rgba(72, 39, 21, 0.98) 62%, rgba(30, 20, 14, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset -18px -20px 42px rgba(42, 24, 15, 0.22),
    0 30px 80px rgba(5, 3, 2, 0.5),
    0 0 48px rgba(238, 154, 43, 0.14);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
  animation: step-arrive 360ms cubic-bezier(0.18, 0.78, 0.22, 1) both;
}

.step-popup__close {
  position: absolute;
  top: 17px;
  right: 19px;
  display: grid;
  width: 36px;
  min-height: 36px;
  place-items: center;
  border-color: rgba(255, 244, 220, 0.25);
  border-radius: 50%;
  padding: 0 0 3px;
  background: rgba(26, 18, 13, 0.28);
  color: rgba(255, 248, 233, 0.82);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
}

.step-popup__eyebrow {
  margin: 0 45px 9px 0;
  color: var(--amber-bright);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.first-step-popup h2 {
  margin: 0;
  color: #fffaf0;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.15;
}

.step-popup__instruction {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 17px 19px;
  border: 1px solid rgba(255, 228, 175, 0.35);
  border-radius: 22px;
  background: rgba(25, 17, 11, 0.3);
}

.step-popup__number {
  display: grid;
  width: 42px;
  min-width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 237, 201, 0.58);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd27e, #df8c24);
  color: #2b1d12;
  font-family: "Comfortaa", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(79, 35, 7, 0.3);
}

.step-popup__instruction p {
  margin: 0;
  color: #fff9ed;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  font-weight: 740;
  line-height: 1.4;
}

.step-popup__assurance {
  margin: 16px 2px 0;
  color: rgba(255, 246, 226, 0.75);
  font-size: 0.94rem;
  line-height: 1.45;
}

.step-popup__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.step-popup__secondary {
  border-color: rgba(255, 240, 212, 0.24);
  background: rgba(31, 21, 15, 0.3);
  color: rgba(255, 247, 230, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@keyframes step-arrive {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.975);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes focus-arrive {
  from {
    transform: scale(0.88);
  }

  to {
    transform: scale(1);
  }
}

@keyframes task-invitation-pulse {
  0%,
  100% {
    opacity: 0.72;
    filter: brightness(0.9) saturate(0.9);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.26),
      0 12px 28px rgba(7, 18, 14, 0.44),
      0 0 14px rgba(70, 184, 151, 0.1);
  }

  50% {
    opacity: 1;
    filter: brightness(1.14) saturate(1.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.48),
      0 16px 38px rgba(7, 18, 14, 0.52),
      0 0 40px rgba(102, 235, 194, 0.44);
  }
}

@keyframes task-drift {
  from {
    margin-top: -2px;
  }

  to {
    margin-top: 3px;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .scene {
    background-position: 62% center;
  }

  .scene::before {
    background:
      linear-gradient(90deg, rgba(17, 12, 8, 0.64), rgba(17, 12, 8, 0.14) 74%, transparent),
      linear-gradient(180deg, rgba(13, 10, 7, 0.05), transparent 40%, rgba(13, 9, 5, 0.2));
  }

  .experience {
    width: min(720px, 78vw);
    padding-bottom: 48px;
    padding-left: clamp(30px, 7vw, 62px);
  }

  .process-preview {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(720px, calc(100% - 60px));
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0 30px 28px;
  }

  .thought-vessel,
  .placed-thought {
    width: min(580px, 70vw);
  }

  .attention-field {
    position: relative;
    top: auto;
    right: auto;
    width: min(680px, calc(100% - 60px));
    margin: -20px 30px 76px;
  }

  .attention-field__stage {
    height: 400px;
  }
}

@media (min-width: 1101px) and (max-height: 650px) {
  .attention-field__stage {
    height: 230px;
    min-height: 230px;
    gap: 10px 14px;
  }

  .task-chip {
    min-height: 52px;
  }

  .focus-core {
    min-height: 100px;
    padding: 12px;
  }

  .attention-field__explanation {
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .scene {
    min-height: 100svh;
    background-position: 66% center;
  }

  .scene::before {
    background:
      linear-gradient(180deg, rgba(16, 11, 7, 0.56) 0%, rgba(16, 11, 7, 0.22) 55%, rgba(16, 11, 7, 0.42) 100%),
      linear-gradient(90deg, rgba(16, 11, 7, 0.34), transparent 90%);
  }

  .experience {
    width: 100%;
    min-height: auto;
    padding: 52px 22px 48px;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(2.62rem, 12vw, 3.55rem);
  }

  .supporting-copy {
    max-width: 34ch;
    margin-top: 16px;
    font-size: 1.08rem;
  }

  .process-preview {
    width: auto;
    margin: 0 22px 28px;
    padding: 16px 18px;
  }

  .process-preview__title {
    margin: 0 0 10px;
    text-align: left;
  }

  .process-flow {
    width: 100%;
    max-width: 350px;
    gap: 12px;
  }

  .process-flow__node {
    width: 58px;
  }

  .process-flow__label {
    font-size: 1rem;
  }

  .thought-vessel,
  .placed-thought {
    width: 100%;
  }

  .thought-vessel {
    margin-top: 30px;
    border-radius: 28px;
  }

  .thought-vessel__inner {
    padding: 20px;
  }

  .thought-entry {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .thought-entry button {
    align-self: flex-start;
  }

  .proof-label {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 24px 15px 12px;
    font-size: 0.58rem;
    text-align: right;
  }

  .attention-field {
    width: auto;
    margin: -28px 22px 68px;
  }

  .attention-field__title {
    margin: 0 0 13px;
    padding: 10px 14px;
    font-size: clamp(1.42rem, 7vw, 1.72rem);
    text-align: left;
  }

  .attention-field__stage {
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    gap: 11px;
  }

  .attention-paths {
    display: none;
  }

  .task-chip {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 18px;
    font-size: 1rem;
    translate: none;
  }

  .task-chip--appointment {
    grid-column: 1;
    grid-row: 1;
  }

  .task-chip--laundry {
    grid-column: 2;
    grid-row: 1;
  }

  .task-chip--bills {
    grid-column: 1;
    grid-row: 2;
  }

  .task-chip--kitchen {
    grid-column: 2;
    grid-row: 2;
  }

  .task-chip--room {
    grid-column: 1;
    grid-row: 4;
  }

  .task-chip--call {
    grid-column: 2;
    grid-row: 4;
  }

  .task-chip--groceries {
    grid-column: 1;
    grid-row: 5;
  }

  .task-chip--email {
    grid-column: 2;
    grid-row: 5;
  }

  .focus-core {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 104px;
    margin-top: 10px;
    border-radius: 28px;
    grid-column: 1 / -1;
    grid-row: 3;
    translate: none;
  }

  .attention-field.is-focused .focus-core {
    width: 100%;
    min-height: 118px;
  }

  .attention-field__explanation {
    margin: 18px 0 0;
    text-align: left;
  }

  .placed-thought__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .placed-thought__actions button {
    width: 100%;
  }

  .step-layer {
    align-items: end;
    padding: 14px;
  }

  .first-step-popup {
    width: 100%;
    max-height: calc(100svh - 28px);
    overflow-y: auto;
    border-radius: 28px;
    padding: 28px 22px 24px;
  }

  .step-popup__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .step-popup__actions button {
    width: 100%;
  }
}

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

  .task-chip {
    animation: none !important;
    opacity: 1;
    filter: none;
  }
}
