:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --cream: #fffefa;
  --ink: #252c25;
  --muted: #596055;
  --green: #254638;
  --green-dark: #172e25;
  --line: #dedacf;
  --serif: 'Songti SC', 'Noto Serif CJK SC', SimSun, serif;
  --sans: system-ui, 'Microsoft YaHei', 'PingFang SC', sans-serif;
  font: 16px/1.65 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, .button { cursor: pointer; }
button:disabled { cursor: default; opacity: .52; }
:focus-visible { outline: 3px solid #95630f; outline-offset: 3px; }
.shell { width: min(1260px, calc(100% - 88px)); margin-inline: auto; }
.topbar { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.brand, nav { display: flex; align-items: center; gap: 12px; }
.brand { font-size: 19px; font-weight: 750; letter-spacing: .08em; }
.brand img { display: block; border-radius: 10px; }
nav { gap: 30px; font-size: 14px; color: var(--muted); white-space: nowrap; }
nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.nav-demo { color: var(--green); font-weight: 700; }
.nav-demo span { margin-left: 5px; }
.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(62px, 8vw, 116px) 80px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--green); font-size: 13px; font-weight: 750; letter-spacing: .18em; }
.eyebrow::before { content: ''; display: block; width: 22px; height: 1px; background: #957545; }
h1, h2, h3, p { margin-block-start: 0; }
h1, .workflow h2 { font-family: var(--serif); font-weight: 760; }
h1 { margin: 22px 0 24px; font-size: clamp(48px, 6.05vw, 93px); line-height: 1.16; letter-spacing: -.055em; }
.hero-desc { max-width: 395px; margin-bottom: 30px; color: var(--muted); font-size: clamp(15px, 1.4vw, 19px); line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 43px; padding: 8px 13px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.button.primary { background: var(--green); color: #fffdf4; }
.button.primary:hover:not(:disabled) { background: var(--green-dark); }
.hero-copy .button { min-height: 50px; padding-inline: 19px; font-size: 15px; }
.button.quiet { border-color: #dedbd2; background: #fbfaf5; color: var(--green); }
.button.quiet:hover:not(:disabled) { border-color: #6f8a79; background: #f0f4ed; }
.demo-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.studio { min-width: 0; background: var(--cream); border: 1px solid #e8e2d6; border-radius: 20px; padding: 17px; box-shadow: 0 25px 55px #352c2417, 0 3px 11px #3e332313; scroll-margin-top: 14px; }
.studio-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 0 2px 13px; }
.sample-tag { color: #666755; font-size: 11px; font-weight: 650; }
.studio h2 { margin: 1px 0 0; font-size: 21px; line-height: 1.3; letter-spacing: .035em; }
.view-switch { display: flex; background: #eeece4; padding: 3px; border-radius: 10px; }
.view-switch button { border: 0; border-radius: 8px; min-width: 54px; min-height: 38px; padding: 4px 9px; background: transparent; font-size: 13px; font-weight: 650; }
.view-switch button[aria-pressed="true"] { background: var(--cream); color: var(--green); box-shadow: 0 1px 3px #28201922; }
.scene-frame { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; border: 1px solid #ddd7cd; border-radius: 12px; background: #e3ded2; }
.floor-plan, .spatial-view { position: absolute; inset: 0; }
.floor-plan {
  --wall: #d3c8b6;
  border: solid var(--wall); border-width: 9px 12px 10px 10px;
  background: repeating-linear-gradient(90deg, #bba3820c 0 1px, transparent 1px 35px), repeating-linear-gradient(0deg, #79705308 0 1px, transparent 1px 7px), #ece1cf;
  box-shadow: inset 2px 3px 14px #5246321e;
}
.rug { position: absolute; left: 19%; top: 18%; width: 53%; height: 64%; border-radius: 8px; background: repeating-linear-gradient(90deg, #fff5e92b 0 1px, transparent 1px 5px), #d7c6a9; box-shadow: 0 3px 8px #68583a26, inset 0 0 0 2px #ae997f66; }
.window-light { position: absolute; inset: -5% -2% 4% 52%; background: linear-gradient(114deg, transparent 26%, #fffbe578 40%, #fff7d92e 100%); clip-path: polygon(46% 5%, 100% 16%, 100% 62%, 17% 92%, 0 67%); pointer-events: none; }
.orientation { position: absolute; top: 10px; left: 11px; color: #51442f; font-size: 11px; letter-spacing: .12em; }
.room-window { position: absolute; right: -12px; top: 14%; height: 64%; width: 19px; display: grid; place-items: center; z-index: 2; background: repeating-linear-gradient(0deg, #9a9992 0 2px, #e6e7e0 2px 33px); color: #3d4a41; border: 1px solid #aaa08e; font-size: 10px; }
.furniture { display: block; position: absolute; translate: -50% -50%; border-radius: 14%; pointer-events: none; }
.furniture.table { background: repeating-linear-gradient(90deg, #7c573229 0 1px, transparent 1px 6px), #b48c60; box-shadow: 4px 7px 11px #61493655, inset 0 0 0 2px #c69d72; border-radius: 16% / 22%; }
.furniture.table::after { content: ''; position: absolute; top: 25%; left: 44%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: #e7e0c7; box-shadow: 1px 2px 4px #684f35a0, inset 0 0 0 4px #e2cba5; }
.furniture.chair { background: #c8ab85; box-shadow: 3px 4px 7px #69513960, inset 0 0 0 2px #a5815e; border-radius: 28%; }
.furniture.chair::before { content: ''; position: absolute; inset: 18%; border-radius: 24%; background: #e2cdb0; }
.furniture.cabinet { background: repeating-linear-gradient(0deg, #63431d5e 0 1px, transparent 1px 34%), #a58158; box-shadow: 4px 4px 9px #281a1f31; border-radius: 5px; }
.furniture.plant { background: radial-gradient(circle at 25% 35%, #89a77f 0 16%, transparent 19%), radial-gradient(circle at 71% 40%, #60785d 0 24%, transparent 28%), radial-gradient(circle at 52% 73%, #678d66 0 20%, #395840 54%, transparent 60%); }
.furniture.movable { border: 2px solid #324c3b; touch-action: none; cursor: grab; pointer-events: auto; }
.furniture.movable:active { cursor: grabbing; }
.furniture.movable:disabled { opacity: 1; cursor: default; }
.furniture.origin { outline: 1.5px dashed #614a32; outline-offset: 2px; }
.furniture.ghost { background: #538fc1bb; border: 2px solid #265983; box-shadow: 2px 3px 9px #1a487050; }
.furniture.ghost::before { background: #b5d2e7; }
.floor-key { pointer-events: none; position: absolute; bottom: 7px; left: 8px; display: flex; gap: 11px; background: #fffdf5e0; color: #4a493e; padding: 3px 8px; border-radius: 7px; font-size: 10px; }
.floor-key span { display: flex; align-items: center; gap: 4px; }
.floor-key i { width: 10px; height: 8px; border: 1px dashed #614a32; border-radius: 2px; background: #c8ab85; }
.floor-key span:nth-child(2) i { border: 1px solid #265983; background: #85aecf; }
.spatial-view { display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.studio-content { padding: 13px 1px 1px; }
.selection { display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 9px; }
.item-symbol { display: grid; place-items: center; width: 35px; height: 35px; color: #435849; background: #eaece1; border-radius: 9px; font-weight: 700; }
.selection strong, .selection span { display: block; overflow-wrap: anywhere; }
.selection strong { font-size: 14px; }
.selection span { font-size: 11px; color: var(--muted); line-height: 1.5; }
form, .handoff { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
label { display: block; margin-bottom: 5px; font-size: 12px; color: var(--muted); }
.comment-row { display: flex; align-items: stretch; gap: 8px; }
.comment-row input { min-width: 0; flex: 1; background: #fffdf9; border: 1px solid #dcd7ca; border-radius: 9px; padding: 8px 10px; color: var(--ink); font-size: 13px; }
.comment-row input::placeholder { color: #747368; }
.handoff p { margin: 0 0 4px; font-size: 13px; overflow-wrap: anywhere; }
.handoff-status { font-weight: 750; color: var(--green); }
.handoff-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.noscript { margin: 12px 0 0; font-size: 13px; }
.workflow { background: #eceee4; border-block: 1px solid #dee3d4; padding-block: 66px; }
.workflow h2 { margin: 13px 0 30px; font-size: clamp(29px, 4vw, 50px); line-height: 1.3; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.steps article { border-top: 1px solid #a9b4a4; padding-top: 20px; }
.step-icon { color: var(--green); font-size: 23px; line-height: 1; }
.steps h3 { margin: 9px 0 6px; font-size: 18px; }
.steps p { margin: 0; max-width: 310px; color: var(--muted); font-size: 14px; }
.footer { padding-block: 25px 30px; text-align: center; font-size: 12px; color: var(--muted); }
.footer p { margin-bottom: 4px; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 44px); }
  .hero { padding-block: 60px; gap: 25px; }
  .studio { padding: 12px; }
  .comment-row .button, .selection .button { font-size: 12px; padding-inline: 8px; }
  .desktop-break { display: none; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 32px); }
  .topbar { min-height: 67px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 32px; height: 32px; }
  nav { gap: 13px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 35px 45px; gap: 26px; }
  .hero-copy h1 { margin-block: 15px; font-size: clamp(44px, 12vw, 69px); }
  .hero-desc { margin-bottom: 16px; }
  .hero-copy .button { min-height: 44px; }
  .demo-note { margin-top: 8px; }
  .studio { border-radius: 15px; }
  .scene-frame { aspect-ratio: 16 / 11; }
  .workflow { padding-block: 40px; }
  .steps { grid-template-columns: 1fr; gap: 19px; }
  .steps article { padding-top: 15px; }
}
@media (max-width: 359px) {
  .shell { width: calc(100% - 22px); }
  .topbar nav a:first-child { display: none; }
  .comment-row { flex-wrap: wrap; }
  .comment-row input { flex-basis: 100%; }
}
