:root {
  color-scheme: light;
  --ink: #24302b;
  --muted: #66766f;
  --soft: #fff8ef;
  --paper: #eef3ee;
  --surface: #fffdf8;
  --line: #eadfce;
  --teal: #0f4a3f;
  --teal-dark: #0b3b33;
  --terracotta: #f47a50;
  --sage: #7d9567;
  --honey: #e4b857;
  --rose: #d8907f;
  --blue: #506c86;
  --shadow: 0 14px 34px rgba(64, 46, 31, 0.13);
  font-family: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #0f4a3f 0 38vh, var(--paper) 38vh 100%);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: 2.42rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.52rem;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
  line-height: 1.28;
  letter-spacing: 0;
}

h4 {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.4;
}

.app-shell {
  min-height: 100vh;
}

.screen {
  display: none;
}

.screen-active {
  display: block;
}

.intro-screen.screen-active {
  display: grid;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.brand-bar span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.intro-screen {
  align-content: start;
  gap: 22px;
  min-height: 100dvh;
  padding: 18px 18px 28px;
}

.intro-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 8px 0 10px;
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.intro-actions,
.planner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.intro-actions {
  margin-top: 22px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.option-button,
.region-button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 16px;
  font-weight: 900;
}

.primary-button {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 22px rgba(47, 111, 115, 0.22);
}

.primary-button:hover {
  background: var(--teal-dark);
}

.secondary-button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.text-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.home-visual {
  display: grid;
  place-items: center;
  min-height: 300px;
}

.living-room-illustration {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1.05;
  overflow: hidden;
  border: 1px solid rgba(64, 46, 31, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #f8ddbc 0 46%, #d9b894 46% 48%, #f2dfc8 48% 100%);
  box-shadow: var(--shadow);
}

.living-room-illustration::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background:
    repeating-linear-gradient(90deg, rgba(139, 98, 62, 0.16) 0 2px, transparent 2px 46px),
    #d9b48c;
}

.window-shade {
  position: absolute;
  top: 34px;
  left: 34px;
  width: 122px;
  height: 112px;
  border: 8px solid #fff8ef;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0 48%, rgba(255, 244, 220, 0.82) 48% 52%, rgba(255, 255, 255, 0.54) 52% 100%),
    #a8c8c5;
  box-shadow: 0 8px 18px rgba(64, 46, 31, 0.12);
}

.sun-light {
  position: absolute;
  top: 56px;
  left: 116px;
  width: 96px;
  height: 150px;
  transform: skewX(-16deg);
  background: rgba(255, 235, 168, 0.42);
}

.floor-lamp {
  position: absolute;
  top: 70px;
  right: 52px;
  width: 54px;
  height: 152px;
}

.floor-lamp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  width: 42px;
  height: 36px;
  border-radius: 8px 8px 18px 18px;
  background: #ffe3a8;
  box-shadow: 0 0 22px rgba(255, 216, 119, 0.64);
}

.floor-lamp::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 27px;
  width: 5px;
  height: 108px;
  background: #7d6a58;
  box-shadow: -18px 108px 0 6px #7d6a58;
}

.sofa {
  position: absolute;
  left: 44px;
  right: 76px;
  bottom: 66px;
  height: 82px;
  border-radius: 8px 8px 18px 18px;
  background: var(--sage);
  box-shadow:
    -18px 22px 0 #668054,
    20px 22px 0 #668054,
    0 28px 0 #526f47;
}

.sofa::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 16px;
  width: 42px;
  height: 34px;
  border-radius: 8px;
  background: #f5c7ad;
  box-shadow: 56px 0 0 #f4dfa5;
}

.coffee-table {
  position: absolute;
  left: 110px;
  bottom: 30px;
  width: 118px;
  height: 20px;
  border-radius: 8px;
  background: #8b674e;
}

.coffee-table::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 18px;
  height: 30px;
  border-left: 5px solid #8b674e;
  border-right: 5px solid #8b674e;
}

.control-panel {
  position: absolute;
  top: 94px;
  right: 20px;
  width: 34px;
  height: 52px;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: inset 0 0 0 2px #d8c8b8, 0 8px 16px rgba(64, 46, 31, 0.12);
}

.control-panel::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 20px 0 var(--honey);
}

.intro-details,
.scene-strip {
  padding: 12px 18px 28px;
}

.intro-details p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.detail-grid,
.scene-strip {
  display: grid;
  gap: 12px;
}

.detail-grid {
  margin-top: 18px;
}

.detail-grid article,
.scene-strip article,
.summary-card {
  border: 1px solid rgba(64, 46, 31, 0.11);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.86);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(64, 46, 31, 0.06);
}

.detail-grid strong,
.detail-grid span,
.scene-strip strong,
.scene-strip span,
.summary-card span {
  display: block;
}

.detail-grid strong,
.scene-strip strong {
  margin: 8px 0 7px;
  font-size: 1rem;
}

.detail-grid span,
.scene-strip span,
.summary-card span {
  color: var(--muted);
  line-height: 1.62;
}

.mini-illustration,
.scene-icon,
.option-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  overflow: hidden;
}

.mini-illustration {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #f8dfc2;
}

.mini-illustration::before,
.mini-illustration::after,
.scene-icon::before,
.scene-icon::after,
.option-icon::before,
.option-icon::after {
  content: "";
  position: absolute;
}

.mini-family::before {
  width: 13px;
  height: 13px;
  top: 12px;
  left: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 15px 8px 0 var(--terracotta), 30px 0 0 var(--sage);
}

.mini-family::after {
  left: 8px;
  right: 8px;
  bottom: 12px;
  height: 14px;
  border-radius: 8px;
  background: #fff8ef;
}

.mini-scene {
  background: #e7f0dc;
}

.mini-scene::before {
  top: 11px;
  left: 14px;
  width: 26px;
  height: 20px;
  border-radius: 8px;
  background: var(--honey);
  box-shadow: 0 16px 0 var(--teal);
}

.mini-scene::after {
  left: 8px;
  right: 8px;
  bottom: 7px;
  height: 4px;
  border-radius: 8px;
  background: var(--terracotta);
}

.mini-plan {
  background: #e4edf0;
}

.mini-plan::before {
  top: 12px;
  left: 13px;
  width: 26px;
  height: 6px;
  border-radius: 8px;
  background: var(--teal);
  box-shadow: 0 12px 0 var(--sage), 0 24px 0 var(--honey);
}

.mini-plan::after {
  right: 10px;
  bottom: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--terracotta);
}

.scene-strip {
  grid-auto-flow: column;
  grid-auto-columns: minmax(178px, 72%);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 34px;
}

.scene-strip article {
  scroll-snap-align: start;
}

.scene-icon {
  width: 70px;
  height: 56px;
  border-radius: 8px;
  background: #f4d8b6;
}

.scene-morning::before {
  top: 10px;
  left: 14px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--honey);
}

.scene-morning::after {
  right: 12px;
  bottom: 10px;
  width: 22px;
  height: 32px;
  background: #fff8ef;
}

.scene-home {
  background: #dcebd8;
}

.scene-home::before {
  left: 17px;
  top: 19px;
  width: 36px;
  height: 28px;
  background: var(--sage);
}

.scene-home::after {
  left: 22px;
  top: 9px;
  width: 26px;
  height: 26px;
  transform: rotate(45deg);
  background: var(--terracotta);
}

.scene-dinner {
  background: #f5dfc7;
}

.scene-dinner::before {
  left: 18px;
  top: 18px;
  width: 34px;
  height: 24px;
  border-radius: 0 0 18px 18px;
  background: var(--rose);
}

.scene-dinner::after {
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 5px;
  border-radius: 8px;
  background: #8b674e;
}

.scene-night {
  background: #dfe7ed;
}

.scene-night::before {
  top: 11px;
  left: 22px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff8c8;
  box-shadow: inset -8px 0 0 #dfe7ed;
}

.scene-night::after {
  left: 16px;
  bottom: 11px;
  width: 40px;
  height: 10px;
  border-radius: 8px;
  background: var(--blue);
}

.planner-screen.screen-active {
  display: grid;
}

.planner-screen {
  min-height: 100dvh;
  padding: 12px;
}

.progress-panel,
.question-panel,
.summary-screen {
  border: 1px solid rgba(64, 46, 31, 0.11);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 26px rgba(64, 46, 31, 0.08);
}

.progress-panel {
  padding: 12px 12px 10px;
  margin-bottom: 12px;
}

.progress-panel .eyebrow,
.progress-panel h2 {
  display: none;
}

.step-list {
  display: flex;
  gap: 8px;
  padding: 0 2px 4px;
  margin: 0;
  overflow-x: auto;
  list-style: none;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: max-content;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.step-list span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #efe4d3;
  color: var(--muted);
  font-size: 0.78rem;
}

.step-list .active,
.step-list .done {
  color: var(--ink);
}

.step-list .active span {
  background: var(--teal);
  color: #fff;
}

.step-list .done span {
  background: var(--honey);
  color: #3b2b13;
}

.question-panel {
  padding: 18px 16px 104px;
}

.question-header p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.mobile-step-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.step-count,
.mobile-step-title {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.step-count {
  background: #e7f0dc;
  color: var(--teal-dark);
}

.mobile-step-title {
  background: #f7e1c8;
  color: #784429;
}

.question-body {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  margin-top: 18px;
}

.option-grid {
  display: grid;
  gap: 10px;
}

.option-button,
.region-button {
  background: #fffaf2;
  border-color: var(--line);
  color: var(--ink);
}

.option-button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  line-height: 1.42;
}

.option-button:hover,
.region-button:hover,
.option-button.selected,
.region-button.selected {
  border-color: var(--teal);
  background: #eef7f2;
}

.option-button.selected,
.region-button.selected {
  box-shadow: inset 0 0 0 1px var(--teal);
}

.option-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #f3dcc3;
}

.icon-couple::before,
.icon-kids::before,
.icon-three::before,
.icon-elder::before,
.icon-solo::before,
.icon-pet::before {
  width: 12px;
  height: 12px;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 14px 3px 0 var(--terracotta);
}

.icon-kids::after,
.icon-three::after,
.icon-elder::after,
.icon-solo::after,
.icon-pet::after {
  left: 7px;
  right: 7px;
  bottom: 8px;
  height: 11px;
  border-radius: 8px;
  background: #fff8ef;
}

.icon-three::before {
  box-shadow: 12px 6px 0 var(--terracotta), 22px 0 0 var(--sage);
}

.icon-elder::before {
  background: var(--sage);
}

.icon-solo::before {
  left: 13px;
  box-shadow: none;
}

.icon-pet::before {
  width: 14px;
  height: 10px;
  top: 15px;
  left: 12px;
  border-radius: 8px;
  background: var(--terracotta);
  box-shadow: 13px -4px 0 0 var(--terracotta);
}

.icon-switch::before,
.icon-dimming::before {
  left: 9px;
  top: 8px;
  width: 20px;
  height: 22px;
  border-radius: 8px;
  background: #fff8ef;
  box-shadow: inset 0 0 0 2px var(--honey);
}

.icon-dimming::after {
  top: 5px;
  right: 6px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--honey);
}

.icon-remote::before,
.icon-comfort::before {
  left: 10px;
  top: 7px;
  width: 18px;
  height: 26px;
  border-radius: 8px;
  background: var(--blue);
}

.icon-remote::after,
.icon-comfort::after {
  top: 12px;
  left: 16px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff8ef;
}

.icon-living::before,
.icon-bed::before,
.icon-home::before {
  left: 8px;
  bottom: 9px;
  width: 23px;
  height: 14px;
  border-radius: 8px;
  background: var(--sage);
}

.icon-bed::before {
  background: var(--blue);
}

.icon-home::after {
  left: 11px;
  top: 8px;
  width: 17px;
  height: 17px;
  transform: rotate(45deg);
  background: var(--terracotta);
}

.icon-moon::before,
.icon-night::before {
  left: 12px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff3a8;
  box-shadow: inset -6px 0 0 #f3dcc3;
}

.icon-away::before,
.icon-wifi::before,
.icon-wire::before,
.icon-help::before,
.icon-pause::before {
  left: 9px;
  top: 16px;
  width: 20px;
  height: 5px;
  border-radius: 8px;
  background: var(--teal);
}

.icon-wifi::before {
  top: 18px;
  height: 14px;
  border: 4px solid var(--teal);
  border-bottom: 0;
  background: transparent;
  border-radius: 18px 18px 0 0;
}

.icon-wire::before {
  top: 9px;
  height: 20px;
  border: 3px solid var(--blue);
  background: transparent;
}

.icon-help::before {
  top: 7px;
  left: 13px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--terracotta);
  box-shadow: 0 18px 0 -4px var(--terracotta);
}

.icon-pause::before {
  left: 11px;
  width: 5px;
  height: 18px;
  top: 10px;
  box-shadow: 11px 0 0 var(--teal);
}

.example-panel,
.recommendation,
.region-panel,
.custom-answer-panel,
.contact-panel {
  border: 1px solid rgba(64, 46, 31, 0.11);
  border-radius: 8px;
}

.example-panel {
  display: grid;
  gap: 13px;
  padding: 14px;
  background: #fff1dc;
}

.example-panel strong {
  display: block;
  margin-bottom: 6px;
}

.example-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.example-visual {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4d5b3;
}

.example-visual::before,
.example-visual::after {
  content: "";
  position: absolute;
}

.visual-family {
  background: linear-gradient(180deg, #f4d5b3 0 58%, #e4c29b 58% 100%);
}

.visual-family::before {
  left: 24px;
  bottom: 52px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 40px 14px 0 var(--terracotta), 84px 0 0 var(--sage);
}

.visual-family::after {
  left: 18px;
  right: 18px;
  bottom: 25px;
  height: 30px;
  border-radius: 8px;
  background: #fff8ef;
}

.visual-lighting {
  background: linear-gradient(180deg, #d4e8e0 0 52%, #f0d8b8 52% 100%);
}

.visual-lighting::before {
  top: 24px;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #ffe4a3;
  box-shadow: 0 0 0 18px rgba(255, 228, 163, 0.34);
}

.visual-lighting::after {
  left: 22px;
  right: 22px;
  bottom: 24px;
  height: 32px;
  border-radius: 8px;
  background: var(--sage);
  box-shadow: 0 -42px 0 -8px #fff8ef;
}

.visual-ac {
  background: linear-gradient(180deg, #dce9ee 0 58%, #e9d1b0 58% 100%);
}

.visual-ac::before {
  top: 22px;
  left: 24px;
  right: 24px;
  height: 32px;
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: inset 0 -6px 0 #d7e1e8;
}

.visual-ac::after {
  left: 42px;
  right: 42px;
  bottom: 34px;
  height: 42px;
  border-top: 4px solid rgba(80, 108, 134, 0.76);
  border-bottom: 4px solid rgba(80, 108, 134, 0.46);
}

.visual-curtain {
  background: linear-gradient(180deg, #bfd9d2 0 58%, #e8cba9 58% 100%);
}

.visual-curtain::before {
  top: 20px;
  bottom: 28px;
  left: 26px;
  width: 50px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 58px 0 0 rgba(255, 253, 248, 0.62);
}

.visual-curtain::after {
  top: 18px;
  left: 20px;
  right: 20px;
  height: 6px;
  border-radius: 8px;
  background: #8b674e;
}

.visual-scene {
  background: linear-gradient(180deg, #ead4c7 0 56%, #d2b390 56% 100%);
}

.visual-scene::before {
  top: 24px;
  left: 28px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--honey);
  box-shadow: 52px 10px 0 var(--teal), 26px 58px 0 var(--sage);
}

.visual-scene::after {
  left: 22px;
  right: 22px;
  bottom: 24px;
  height: 7px;
  border-radius: 8px;
  background: #8b674e;
}

.visual-network {
  background: linear-gradient(180deg, #d9e8ec 0 56%, #e8cba9 56% 100%);
}

.visual-network::before {
  left: 50%;
  top: 34px;
  width: 26px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--teal);
}

.visual-network::after {
  left: 36px;
  right: 36px;
  bottom: 34px;
  height: 56px;
  border: 4px solid rgba(47, 111, 115, 0.54);
  border-bottom: 0;
  border-radius: 70px 70px 0 0;
}

.visual-summary {
  background: linear-gradient(180deg, #f1d8bb 0 58%, #e4c29b 58% 100%);
}

.visual-summary::before {
  top: 28px;
  left: 24px;
  right: 24px;
  height: 72px;
  border-radius: 8px;
  background: #fffdf8;
}

.visual-summary::after {
  left: 44px;
  right: 44px;
  top: 48px;
  height: 6px;
  border-radius: 8px;
  background: var(--teal);
  box-shadow: 0 18px 0 var(--sage), 0 36px 0 var(--honey);
}

.recommendation {
  margin-top: 16px;
  padding: 16px;
  background: #eef7f2;
  color: #254b3f;
  font-weight: 800;
  line-height: 1.72;
}

.region-panel,
.custom-answer-panel,
.contact-panel {
  margin-top: 16px;
  padding: 16px;
  background: #fffaf2;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.region-button {
  text-align: center;
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.custom-answer-row {
  display: grid;
  gap: 10px;
}

.custom-answer-row input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fffdf8;
  color: var(--ink);
}

.custom-answer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.custom-answer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border-radius: 999px;
  padding: 8px 10px 8px 12px;
  background: #e8f2eb;
  color: #123f35;
  font-weight: 900;
}

.custom-answer-chip button {
  border: 0;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(15, 74, 63, 0.12);
  color: #123f35;
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.contact-panel input,
.contact-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fffdf8;
  color: var(--ink);
}

.planner-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 248, 239, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.summary-screen {
  width: calc(100% - 24px);
  margin: 12px auto 96px;
  padding: 20px 16px;
}

.summary-header p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.summary-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.summary-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.summary-card p {
  margin-bottom: 8px;
  font-weight: 900;
  line-height: 1.5;
}

.summary-card.wide {
  margin-top: 12px;
}

.submit-status {
  margin: 16px 0 0;
  color: var(--teal-dark);
  font-weight: 900;
  line-height: 1.55;
}

.intro-screen {
  background: var(--teal-dark);
  color: #fffdf8;
}

.brand-bar {
  color: #fffdf8;
}

.brand-bar strong {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 7px 14px;
  background: #fffdf8;
  color: #079747;
  font-size: 1.35rem;
  line-height: 1;
}

.brand-bar span,
.intro-screen .lead {
  color: rgba(255, 253, 248, 0.78);
}

.intro-screen .eyebrow {
  color: #a9c3b6;
}

.intro-screen h1 {
  color: #fffdf8;
  font-size: 2.28rem;
  line-height: 1.18;
}

.intro-screen .primary-button {
  background: var(--terracotta);
  box-shadow: 0 14px 26px rgba(244, 122, 80, 0.24);
}

.intro-screen .primary-button:hover {
  background: #e7663f;
}

.intro-screen .text-link {
  color: #f3d16b;
}

.home-visual {
  position: relative;
  margin: 0;
  min-height: 0;
}

.home-visual img {
  display: block;
  width: 100%;
  min-height: 310px;
  max-height: 54vh;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.intro-details {
  background: var(--paper);
}

.detail-grid article,
.scene-strip article,
.summary-card,
.question-panel,
.progress-panel,
.summary-screen {
  background: #fffdf8;
}

.mini-illustration,
.scene-icon {
  background-size: cover;
  background-position: center;
}

.mini-illustration::before,
.mini-illustration::after,
.scene-icon::before,
.scene-icon::after {
  display: none;
}

.mini-family {
  background-image: linear-gradient(rgba(15, 74, 63, 0.2), rgba(15, 74, 63, 0.2)), url("./assets/scene-family.jpg");
}

.mini-scene {
  background-image: linear-gradient(rgba(15, 74, 63, 0.2), rgba(15, 74, 63, 0.2)), url("./assets/scene-automation.jpg");
}

.mini-plan {
  background-image: linear-gradient(rgba(15, 74, 63, 0.2), rgba(15, 74, 63, 0.2)), url("./assets/scene-network.jpg");
}

.scene-icon {
  width: 100%;
  height: 168px;
  border-radius: 8px;
  background-color: #153f36;
  box-shadow: inset 0 -60px 70px rgba(15, 74, 63, 0.2);
}

.scene-morning {
  background-image: url("./assets/scene-curtain.jpg");
}

.scene-home {
  background-image: url("./assets/hero-home.jpg");
  background-position: center 48%;
}

.scene-away {
  background-image: url("./assets/scene-away.jpg");
  background-position: center 46%;
}

.scene-rest,
.scene-dinner {
  background-image: url("./assets/scene-dinner.jpg");
  background-position: center 58%;
}

.scene-night {
  background-image: url("./assets/scene-sleep.jpg");
  background-position: center 52%;
}

.scene-strip article {
  padding: 0;
  overflow: hidden;
}

.scene-strip strong,
.scene-strip span {
  padding-left: 14px;
  padding-right: 14px;
}

.scene-strip strong {
  margin-top: 12px;
}

.scene-strip span {
  padding-bottom: 16px;
}

.progress-panel {
  background: var(--teal-dark);
  border-color: rgba(255, 253, 248, 0.1);
}

.progress-panel h2 {
  color: #fffdf8;
}

.step-list li {
  color: rgba(255, 253, 248, 0.68);
}

.step-list .active,
.step-list .done {
  color: #fffdf8;
}

.step-list span {
  background: rgba(255, 253, 248, 0.13);
  color: rgba(255, 253, 248, 0.74);
}

.step-list .active span {
  background: var(--terracotta);
}

.step-list .done span {
  background: var(--honey);
}

.question-panel {
  overflow: hidden;
}

.example-panel {
  padding: 0;
  overflow: hidden;
  background: #fffdf8;
}

.example-panel > div:last-child {
  padding: 0 14px 15px;
}

.example-visual {
  min-height: 210px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
}

.example-visual::before,
.example-visual::after {
  display: none;
}

.visual-family {
  background-image: linear-gradient(rgba(15, 74, 63, 0.1), rgba(15, 74, 63, 0.18)), url("./assets/scene-family.jpg");
}

.visual-lighting,
.visual-lighting-ac {
  background-image: linear-gradient(rgba(15, 74, 63, 0.08), rgba(15, 74, 63, 0.18)), url("./assets/scene-lighting-ac.jpg");
}

.visual-curtain {
  background-image: linear-gradient(rgba(15, 74, 63, 0.08), rgba(15, 74, 63, 0.18)), url("./assets/scene-curtain.jpg");
}

.visual-scene {
  background-image: linear-gradient(rgba(15, 74, 63, 0.08), rgba(15, 74, 63, 0.18)), url("./assets/scene-automation.jpg");
}

.visual-network,
.visual-summary {
  background-image: linear-gradient(rgba(15, 74, 63, 0.08), rgba(15, 74, 63, 0.18)), url("./assets/scene-network.jpg");
}

.option-button {
  min-height: 58px;
  border-color: #d9e2d9;
  background: #f8fbf7;
}

.option-button span {
  display: block;
}

.option-button.selected {
  border-color: var(--teal);
  background: #e8f2eb;
}

.recommendation {
  border-color: rgba(15, 74, 63, 0.16);
  background: #e8f2eb;
  color: #123f35;
}

.planner-actions {
  background: rgba(15, 74, 63, 0.96);
  border-top-color: rgba(255, 253, 248, 0.12);
}

.planner-actions .secondary-button {
  background: rgba(255, 253, 248, 0.1);
  border-color: rgba(255, 253, 248, 0.24);
  color: #fffdf8;
}

.planner-actions .primary-button {
  background: var(--terracotta);
}

@media (min-width: 720px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  h3 {
    font-size: 1.7rem;
  }

  .intro-screen {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
    align-items: center;
    gap: 36px;
    min-height: 82vh;
    padding: 28px clamp(32px, 6vw, 88px) 24px;
  }

  .brand-bar {
    grid-column: 1 / -1;
  }

  .home-visual {
    min-height: 430px;
  }

  .living-room-illustration {
    width: min(100%, 480px);
  }

  .intro-details {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 28px;
    padding: 28px clamp(32px, 6vw, 88px);
  }

  .detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .scene-strip {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding: 4px clamp(32px, 6vw, 88px) 54px;
  }

  .planner-screen {
    grid-template-columns: 278px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
  }

  .progress-panel {
    position: sticky;
    top: 24px;
    align-self: start;
    padding: 20px;
    margin-bottom: 0;
  }

  .progress-panel .eyebrow,
  .progress-panel h2 {
    display: block;
  }

  .step-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    overflow: visible;
  }

  .question-panel {
    min-height: calc(100dvh - 48px);
    padding: 32px 32px 96px;
  }

  .question-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.82fr);
    gap: 20px;
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .example-panel {
    align-content: start;
  }

  .region-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .custom-answer-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .planner-actions {
    left: auto;
    width: min(100%, 560px);
    margin-left: auto;
    border-left: 1px solid var(--line);
    border-radius: 8px 0 0 0;
  }

  .summary-screen {
    width: min(1040px, calc(100% - 48px));
    margin: 24px auto 110px;
    padding: 34px;
  }

  .summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .intro-screen {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 0.8fr);
  }

  .planner-screen {
    grid-template-columns: 300px minmax(0, 1fr);
    padding: 28px;
  }

  .question-panel {
    padding: 42px 44px 110px;
  }

  .example-visual {
    min-height: 190px;
  }
}
