/* homivaai.app. Floating pill header, soft-serif headline with an inline photo, a moving wall of rooms,
   then stats, a tabbed "how it works" card, a dark Homiva Web band, a reel, room tabs with a before/after
   slider, the mobile app, taped cards, a comparison table and the FAQ. Colour comes from the room photos;
   terracotta is the only accent. */
:root {
  --bg: #ffffff;
  --soft: #f6f5f3;
  --ink: #141312;
  --ink-2: #3b3835;
  --muted: #6e6964;
  --line: #ebe8e4;
  --accent: #c8553d;
  --accent-soft: #fbefea;
  --green: #1f9d55;
  --dark: #0d0c12;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --maxw: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.serif { font-family: var(--serif); font-weight: 340; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -.025em; }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.h2 { margin: 0; font: 600 clamp(32px, 4.4vw, 54px)/1.04 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.sub { margin: 0; color: var(--muted); font-size: clamp(16px, 1.35vw, 18px); max-width: 40em; text-wrap: pretty; }
.center { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; }
.center > * { max-width: 100%; min-width: 0; }
section.s { padding-block: clamp(72px, 10vw, 128px); }

/* Header */
.head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 30; padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); margin-top: 10px; }
.head-in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 8px 8px 8px 20px; background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); border-radius: 999px; box-shadow: 0 0 0 1px var(--line), 0 8px 30px -12px rgba(20,19,18,.18); }
.logo { font: 700 22px/1 var(--sans); letter-spacing: -.055em; text-decoration: none; }
.logo i { font-style: normal; color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; }
.nav a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.soon { font: 500 9.5px/1 var(--mono); background: var(--accent-soft); color: var(--accent); border-radius: 5px; padding: 3px 5px; margin-left: 4px; vertical-align: 2px; white-space: nowrap; }
.head-cta { display: flex; gap: 6px; align-items: center; }
.menu { display: none; width: 40px; height: 40px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.menu span, .menu span::before { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 0 auto; position: relative; }
.menu span::before { content: ""; position: absolute; top: 5px; }
.menu span { transform: translateY(-3px); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; border-radius: 999px; padding: 11px 18px; font: 500 14.5px/1 var(--sans); white-space: nowrap; transition: transform .15s ease, box-shadow .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: #2b2926; }
.btn.ghost { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.acc { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(200,85,61,.6); }
.btn.acc:hover { background: #b84a33; }
.btn.lg { padding: 15px 24px; font-size: 16px; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn[aria-disabled="true"] { cursor: default; pointer-events: none; }
.arrow::after { content: "→"; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 84px); }
.hero h1 { margin: 0; font-size: clamp(40px, 7.2vw, 86px); line-height: 1.02; text-wrap: balance; overflow-wrap: break-word; }
.inline-photo { display: inline-block; width: .9em; height: .9em; border-radius: .22em; vertical-align: -.1em; margin: 0 .06em; overflow: hidden; transform: rotate(-4deg); box-shadow: 0 6px 14px -4px rgba(0,0,0,.3), 0 0 0 3px #fff; position: relative; }
.inline-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity .6s; }
.inline-photo img + img { opacity: 0; }
.inline-photo.on img + img { opacity: 1; }
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -2%; width: 104%; bottom: -.08em; height: .3em; overflow: visible; }
.scribble path { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 0; animation: draw 1.2s .4s ease both; }
@keyframes draw { from { stroke-dashoffset: 420; } }
.hero .sub { margin-top: 18px; }

.search { margin: 30px auto 0; width: 100%; max-width: 680px; background: #fff; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -22px rgba(20,19,18,.28); padding: 8px; text-align: left; }
.search form { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 14px; }
.search svg.mag { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16.5px; padding: 12px 0; }
.search input::placeholder { color: #a6a09a; }
.search .btn { padding: 12px 18px; border-radius: 14px; }
.tags { display: flex; align-items: center; gap: 6px; padding: 8px 10px 6px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tags::-webkit-scrollbar { display: none; }
.tags em { font: 500 10.5px/1 var(--mono); font-style: normal; color: #a6a09a; letter-spacing: .1em; margin-right: 4px; flex: none; }
.tag { flex: none; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; text-decoration: none; transition: box-shadow .15s; }
.tag:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.search-msg { min-height: 20px; font-size: 13px; color: var(--muted); padding: 0 14px 4px; }
.search-msg a { color: var(--ink); }

/* Moving wall. Each column holds its list twice and every figure carries its own bottom margin, so
   -50% is exactly one list and the loop has no seam. Pure CSS transforms on the compositor. */
.wall { position: relative; height: 560px; overflow: hidden; margin-top: 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding-inline: 20px; max-width: 1360px; margin-inline: auto; mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); contain: layout paint; }
.wall .col { display: flex; flex-direction: column; will-change: transform; animation: wall-up var(--dur, 60s) linear infinite; backface-visibility: hidden; }
.wall .col.down { animation-name: wall-down; }
.wall figure { margin: 0 0 12px; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--soft); flex: none; transform: translateZ(0); }
.wall img { width: 100%; height: 100%; object-fit: cover; }
.wall figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 5px 9px; font-size: 11.5px; font-weight: 500; white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
@keyframes wall-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes wall-down { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }

.trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; }
.trust .dot { width: 4px; height: 4px; border-radius: 50%; background: #cfc9c3; }

/* Marquee */
.mq-label { text-align: center; font: 500 12px/1 var(--mono); letter-spacing: .16em; color: var(--muted); margin: 64px 0 22px; text-transform: uppercase; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 50s linear infinite; will-change: transform; }
.marquee-track span { font-size: clamp(22px, 2.4vw, 30px); color: #8e8882; white-space: nowrap; display: inline-flex; align-items: center; gap: 14px; margin-right: 40px; }
.marquee-track span i { width: 26px; height: 26px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; }
.stats div { padding: 30px 28px; display: grid; gap: 8px; align-content: start; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { font: 600 clamp(38px, 4.4vw, 56px)/1 var(--sans); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14.5px; }

/* Tabbed card */
.tabcard { margin-top: 44px; border-radius: 26px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; background: #fff; }
.tabbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tabbar button { position: relative; border: 0; background: #fff; padding: 18px 12px; cursor: pointer; font-size: 14.5px; color: var(--muted); display: flex; gap: 8px; justify-content: center; align-items: center; }
.tabbar button + button { border-left: 1px solid var(--line); }
.tabbar button em { font: 500 11px/1 var(--mono); font-style: normal; color: #b3ada7; }
.tabbar button[aria-selected="true"] { color: var(--ink); background: var(--soft); }
.tabbar button[aria-selected="true"] em { color: var(--accent); }
.tabbar .prog { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--accent); width: 0; }
.tabbody { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 470px; }
.tabtext { padding: clamp(28px, 4vw, 52px); display: grid; align-content: center; gap: 16px; }
.tabtext h3 { margin: 0; font: 600 clamp(26px, 2.6vw, 34px)/1.08 var(--sans); letter-spacing: -.04em; }
.tabtext p { margin: 0; color: var(--muted); }
.tabtext .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tabvis { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #ffd9c7 0%, rgba(255,217,199,0) 55%), radial-gradient(90% 80% at 10% 100%, #f2b49f 0%, rgba(242,180,159,0) 60%), linear-gradient(135deg, #f6e7dc 0%, #efcbb9 50%, #e9876c 100%); display: grid; place-items: center; padding: 32px; }
.tabpanel[hidden] { display: none; }
.tabpanel { display: contents; }
.phone { width: 240px; aspect-ratio: 9 / 19; border-radius: 40px; background: #111; padding: 9px; box-shadow: 0 30px 60px -20px rgba(70,25,10,.55); position: relative; }
.phone .scr { position: absolute; inset: 9px; border-radius: 32px; overflow: hidden; background: #fff; }
.phone .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone .notch { position: absolute; top: 18px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 20px; background: #111; z-index: 3; }
.phone .ui { position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 3; display: grid; gap: 8px; }
.phone .ui .chips { display: flex; gap: 5px; overflow: hidden; }
.phone .ui .chips span { flex: none; background: rgba(255,255,255,.92); border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 500; }
.phone .ui .chips span.on { background: var(--ink); color: #fff; }
.phone .ui .go { background: var(--accent); color: #fff; border-radius: 14px; text-align: center; padding: 11px; font-size: 12.5px; font-weight: 600; }
.phone .shutter { position: absolute; left: 50%; bottom: 22px; width: 58px; height: 58px; margin-left: -29px; border-radius: 50%; border: 4px solid #fff; z-index: 3; box-shadow: 0 0 0 2px rgba(0,0,0,.2); }
.phone .frame { position: absolute; inset: 70px 22px 110px; border: 2px solid rgba(255,255,255,.85); border-radius: 14px; z-index: 3; }
.phone .split-bar { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 3; box-shadow: 0 0 10px rgba(0,0,0,.3); }
.callout { position: absolute; background: #fff; border-radius: 12px; padding: 8px 12px; font-size: 12.5px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.3); display: flex; gap: 8px; align-items: center; z-index: 4; white-space: nowrap; }
.callout i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* Dark band */
.dark { background: var(--dark); color: #f3f1ee; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent); }
.dark::after { content: ""; position: absolute; left: 50%; top: 55%; width: 900px; height: 600px; margin-left: -450px; background: radial-gradient(closest-side, rgba(200,85,61,.35), transparent); }
.dark .wrap { position: relative; z-index: 1; }
.dark .sub { color: #a9a39d; }
.badge-dark { display: inline-flex; gap: 8px; align-items: center; font: 500 11px/1 var(--mono); letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #d6d1cc; }
.badge-dark b { color: #fff; background: var(--accent); padding: 3px 6px; border-radius: 4px; font-weight: 600; }
.flow { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.flow-col { display: grid; gap: 14px; }
.glass { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); border-radius: 18px; padding: 18px; }
.glass .top { display: flex; justify-content: space-between; gap: 10px; font: 500 11px/1 var(--mono); color: #8f8984; letter-spacing: .06em; margin-bottom: 12px; }
.glass .top b { color: #6ee7a3; font-weight: 500; }
.glass .big { font: 600 22px/1.2 var(--sans); letter-spacing: -.03em; }
.glass .muted { color: #a9a39d; font-size: 13.5px; margin-top: 4px; }
.browser { width: 100%; border-radius: 16px; overflow: hidden; background: #1a1920; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px -30px rgba(200,85,61,.45); }
.bbar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #24232b; }
.bbar i { width: 10px; height: 10px; border-radius: 50%; background: #4a4852; }
.bbar span { margin-left: 10px; flex: 1; font: 500 11.5px/1 var(--mono); color: #a9a39d; background: #17161c; border-radius: 8px; padding: 7px 10px; }
.bbody { position: relative; aspect-ratio: 4 / 3; }
.bbody img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: opacity .6s; }
.bbody img:not(.on) { opacity: 0; }
.bchips { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.bchips span { background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 500; transition: background .3s, color .3s; }
.bchips span.on { background: var(--ink); color: #fff; }
.dark-cta { display: grid; justify-items: center; gap: 14px; margin-top: 44px; }
.btn.soon-btn { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.btn.soon-btn i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(200,85,61,.6); } 50% { box-shadow: 0 0 0 5px rgba(200,85,61,0); } }
.dark-note { margin: 0; color: #8f8984; font-size: 13.5px; text-align: center; }

/* Reel */
.reel-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.reel-side { display: grid; gap: 14px; justify-items: end; }
.reel-side .sub { max-width: 30em; text-align: right; }
.reel-nav { display: flex; gap: 8px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 18px; }
.round:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.reel { margin-top: 34px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; padding-left: max(20px, calc((100vw - var(--maxw)) / 2 + 20px)); padding-right: 20px; scroll-padding-left: max(20px, calc((100vw - var(--maxw)) / 2 + 20px)); }
.reel::-webkit-scrollbar { display: none; }
.reel figure { margin: 0; flex: none; width: clamp(210px, 22vw, 260px); scroll-snap-align: start; border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 3 / 4.3; background: #111; }
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.reel figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 25%, transparent 55%, rgba(0,0,0,.75) 100%); pointer-events: none; }
.reel figure > a { position: absolute; inset: 0; z-index: 2; }
.reel figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; color: #fff; display: grid; gap: 4px; }
.reel figcaption b { font: 600 26px/1 var(--sans); letter-spacing: -.04em; }
.reel figcaption span { font: 500 11px/1.4 var(--mono); opacity: .8; text-transform: uppercase; }
.reel .tagtop { position: absolute; top: 12px; left: 12px; z-index: 1; font: 600 10px/1 var(--mono); letter-spacing: .08em; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 6px; padding: 5px 7px; text-transform: uppercase; }
.reel .last { background: var(--soft); display: grid; place-items: center; }
.reel .last::after { display: none; }
.reel .last a { position: static; text-decoration: none; text-align: center; display: grid; gap: 8px; padding: 20px; }
.reel .last b { font: 600 40px/1 var(--sans); letter-spacing: -.05em; }

/* Room tabs */
.rooms-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.rt { display: inline-flex; align-items: center; gap: 8px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 6px 14px 6px 6px; cursor: pointer; font-size: 14.5px; text-decoration: none; }
.rt img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.rt[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.rt.plain { padding-left: 14px; color: var(--muted); }
.room-card { margin-top: 20px; border-radius: 26px; box-shadow: 0 0 0 1px var(--line); padding: clamp(18px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.room-card[hidden] { display: none; }
.room-card .meta { display: grid; gap: 14px; }
.room-card .meta h3 { margin: 0; font: 600 clamp(24px, 2.4vw, 30px)/1.1 var(--sans); letter-spacing: -.035em; }
.room-card .meta p { margin: 0; color: var(--muted); }
.room-card .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.room-card .kpis div { display: grid; gap: 4px; align-content: start; }
.room-card .kpis div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.room-card .kpis b { font: 600 26px/1 var(--sans); letter-spacing: -.04em; }
.room-card .kpis span { font-size: 12.5px; color: var(--muted); }
.pal { display: flex; gap: 6px; }
.pal i { width: 30px; height: 30px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.cmp { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; --pos: 50%; background: var(--soft); touch-action: pan-y; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.room-card .cmp { aspect-ratio: 1 / 1; }
.room-card .cmp img { object-position: center 62%; }
.cmp .b { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.cmp .bar::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 600 14px/1 var(--sans); letter-spacing: 1px; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.cmp .lb { position: absolute; top: 12px; z-index: 1; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; background: rgba(255,255,255,.92); border-radius: 6px; padding: 6px 8px; pointer-events: none; text-transform: uppercase; }
.cmp .lb.l { left: 12px; } .cmp .lb.r { right: 12px; }

/* Mobile app */
.mob { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.mob-text { display: grid; gap: 18px; justify-items: start; }
.mob-text h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; }
.qr-row { display: flex; align-items: center; gap: 16px; }
.qr { width: 148px; height: 148px; padding: 10px; background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(20,19,18,.4); flex: none; }
.qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.qr-note { display: grid; gap: 4px; justify-items: start; }
.qr-note .hand { font: italic 400 22px/1 var(--serif); color: var(--accent); transform: rotate(-4deg); }
.qr-note svg { width: 60px; height: 40px; }
.stores-row { display: flex; gap: 8px; flex-wrap: wrap; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.ph { display: grid; gap: 12px; justify-items: center; text-align: center; }
.ph .phone { width: 100%; max-width: 200px; }
.ph:nth-child(2) .phone { transform: translateY(-24px); }
.ph b { font-size: 15px; }
.ph small { color: var(--muted); font-size: 13px; max-width: 22ch; }
.ph .ico { width: 30px; height: 30px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 600 12px/1 var(--mono); }

/* Why + taped cards */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-left { position: sticky; top: 110px; display: grid; gap: 18px; justify-items: start; }
.why-left blockquote { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; }
.why-left small { color: var(--muted); }
.scribble-arrow { width: 70px; height: 40px; }
.taped { display: grid; gap: 28px; padding-top: 10px; }
.tcard { position: relative; background: #fff; border-radius: 18px; padding: 24px 24px 22px; box-shadow: 0 0 0 1px var(--line), 0 18px 36px -24px rgba(20,19,18,.35); display: grid; gap: 10px; }
.tcard:nth-child(odd) { transform: rotate(-.8deg); }
.tcard:nth-child(even) { transform: rotate(.7deg); margin-left: 18px; }
.tcard .tape { position: absolute; top: -12px; width: 86px; height: 24px; opacity: .85; }
.tcard:nth-child(odd) .tape { left: 26px; background: #f4c9b8; transform: rotate(-4deg); }
.tcard:nth-child(even) .tape { right: 30px; background: #cfd8f3; transform: rotate(5deg); }
.tcard h3 { margin: 0; font: 600 24px/1.1 var(--sans); letter-spacing: -.035em; }
.tcard p { margin: 0; color: var(--ink-2); }
.tcard small { font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .06em; }

/* Comparison */
.table-wrap { overflow-x: auto; margin-top: 36px; width: 100%; }
table.cmp-t { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.cmp-t th, .cmp-t td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp-t th:first-child, .cmp-t td:first-child { text-align: left; color: var(--ink-2); }
.cmp-t thead th { font-weight: 500; color: var(--muted); font-size: 13.5px; }
.cmp-t thead th.us { color: #fff; }
.cmp-t thead th.us span { background: var(--ink); padding: 7px 14px; border-radius: 999px; }
.cmp-t td.us { background: var(--soft); font-weight: 600; }
.yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }
.yes.grey { background: #9b958f; }
.no { color: #c2bcb6; }
.circled { position: relative; display: inline-block; padding: 2px 8px; }
.circled svg { position: absolute; inset: -8px -12px; width: calc(100% + 24px); height: calc(100% + 16px); overflow: visible; }
.circled ellipse { fill: none; stroke: var(--accent); stroke-width: 2; }

/* FAQ */
.faq { max-width: 780px; margin: 36px auto 0; text-align: left; width: 100%; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; font-weight: 500; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 12px; height: 12px; flex: none; margin-top: 6px; border-right: 1.8px solid var(--ink); border-bottom: 1.8px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); }
details p { margin: -6px 0 20px; color: var(--muted); max-width: 62ch; }

/* Final CTA */
.final { text-align: center; position: relative; overflow: hidden; }
.final h2 { margin: 0; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; }
.final .ctas { display: flex; gap: 10px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.final .fan { display: flex; justify-content: center; margin-top: 44px; }
.final .fan img { width: clamp(90px, 11vw, 140px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: 0 0 0 3px #fff, 0 14px 30px -12px rgba(0,0,0,.4); margin: 0 -14px; }

/* Footer */
.foot { background: var(--soft); border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 44px 110px; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; font-size: 14px; }
.foot h4 { margin: 0 0 12px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 10px 0 0; color: var(--muted); max-width: 32ch; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 16px; font-size: 13.5px; }
.langs a[aria-current="true"] { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Mobile sticky CTA */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px)); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 30%); }
.mbar .in { display: flex; gap: 8px; background: #fff; border-radius: 18px; padding: 6px; box-shadow: 0 0 0 1px var(--line), 0 10px 30px -10px rgba(0,0,0,.25); }
.mbar .btn { flex: 1; padding: 14px; }
.mbar .btn.ghost { flex: 0 0 auto; }

/* Mobile menu sheet */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(13,12,18,.35); display: none; }
.sheet.open { display: block; }
.sheet .panel { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); left: 12px; right: 12px; background: #fff; border-radius: 22px; padding: 14px; display: grid; gap: 4px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.4); }
.sheet .panel a:not(.btn) { text-decoration: none; padding: 14px 12px; border-radius: 12px; font-size: 17px; }
.sheet .panel a:not(.btn):hover { background: var(--soft); }
.sheet .panel .btn { margin-top: 6px; }

/* Sub pages */
.page-hero { padding-top: clamp(48px, 7vw, 88px); }
.page-hero h1 { margin: 0; font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; text-wrap: balance; }
.style-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.sc { text-decoration: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; min-width: 0; }
.sc figure { margin: 0; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: var(--soft); position: relative; }
.sc img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.sc:hover img { transform: scale(1.04); }
.sc .row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; }
.sc b { font-size: clamp(20px, 2.4vw, 26px); overflow-wrap: anywhere; }
.sc small { color: var(--muted); font-size: 13px; }
.sc .dots { position: absolute; left: 10px; bottom: 10px; display: flex; }
.sc .dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; margin-left: -5px; }
.sc .dots i:first-child { margin-left: 0; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; max-width: 860px; }
.chip-cloud span, .chip-cloud a { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14.5px; }
.sp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.sp-text { display: grid; gap: 20px; }
.sp-text h1 { margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; }
.crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.swatch-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.swatch-row div { display: grid; gap: 6px; }
.swatch-row i { aspect-ratio: 1; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch-row span { font: 500 10.5px/1 var(--mono); color: var(--muted); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu { display: block; }
  .head-cta { margin-left: auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tabbody { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tabvis { min-height: 440px; }
  .flow { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .flow-col { width: 100%; max-width: 420px; }
  .browser { max-width: 520px; }
  .room-card, .why, .sp, .mob { grid-template-columns: minmax(0, 1fr); }
  .why-left { position: static; }
  .phones { max-width: 560px; }
  .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .mbar { display: block; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); height: 470px; }
  .wall .col:nth-child(n+4) { display: none; }
  .reel-side { justify-items: start; }
  .reel-side .sub { text-align: left; }
}
@media (max-width: 600px) {
  .head-in { padding: 6px 6px 6px 16px; }
  .head-cta .btn.ink { padding: 10px 14px; }
  .search .btn span { display: none; }
  .search .btn { padding: 12px 14px; }
  .wall { height: 420px; gap: 8px; padding-inline: 12px; }
  .wall figure { margin-bottom: 8px; border-radius: 14px; }
  .wall figcaption { font-size: 10.5px; padding: 4px 7px; left: 6px; bottom: 6px; }
  .wall figcaption span { display: none; }
  .tabbar button { padding: 14px 6px; font-size: 13px; flex-direction: column; gap: 4px; }
  .tabvis { min-height: 400px; }
  .phone { width: 200px; }
  .callout { font-size: 11.5px; }
  .tcard:nth-child(even) { margin-left: 0; }
  .swatch-row { gap: 6px; }
  .swatch-row i { border-radius: 9px; }
  .swatch-row span { font-size: 9px; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .final .fan img { margin: 0 -18px; }
  .phones { gap: 8px; }
  .ph small { display: none; }
  .ph b { font-size: 13px; }
  .qr { width: 120px; height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .marquee { overflow-x: auto; }
}

/* style × room pages */
.sr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.sr h2 { margin: 0 0 18px; font: 600 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -.03em; }
.sr ul, .sr ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sr li { display: grid; gap: 4px; padding: 16px 18px; background: var(--bg); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.sr li span { color: var(--muted); }
.sr ol { counter-reset: tip; }
.sr ol li { counter-increment: tip; }
.sr ol li::before { content: counter(tip, decimal-leading-zero); font: 500 12px/1 var(--mono); color: var(--accent); }
.sr .avoid { margin: 18px 0 0; }
.render-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.sr-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.sr-gallery img { width: 100%; height: auto; border-radius: 18px; }
@media (max-width: 980px) { .sr { grid-template-columns: 1fr; } .sr-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* room idea hubs, guides, style quiz */
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.row-head + .style-grid { margin-top: 28px; }
.chip-cloud a { text-decoration: none; }
.guide-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.guide-card { display: grid; gap: 8px; text-decoration: none; color: var(--ink); }
.guide-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; }
.guide-card img { width: 100%; height: 100%; object-fit: cover; }
.guide-card small { color: var(--muted); }
.article { max-width: 760px; display: grid; gap: 18px; }
.article h1 { margin: 8px 0 0; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; }
.article .meta { margin: 0; color: var(--muted); font: 500 12px/1 var(--mono); }
.article h2 { margin: 24px 0 0; font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--sans); letter-spacing: -.03em; }
.article h3 { margin: 12px 0 0; font: 600 20px/1.25 var(--sans); }
.article p, .article li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.article p, .article ul, .article ol { margin: 0; }
.article ul, .article ol { display: grid; gap: 8px; padding-left: 22px; }
.article a { color: var(--accent); }
.article figure { margin: 8px 0; }
.article figure img { width: 100%; height: auto; border-radius: 18px; }
.quiz { display: grid; gap: 48px; max-width: 1080px; }
.qz { border: 0; margin: 0; padding: 0; min-width: 0; }
.qz legend { padding: 0; margin-bottom: 18px; font: 600 clamp(22px, 2.4vw, 30px)/1.2 var(--sans); letter-spacing: -.03em; }
.qz legend span { font: 500 12px/1 var(--mono); color: var(--accent); margin-right: 8px; vertical-align: middle; }
.qz-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.qz-opt { display: grid; gap: 8px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--ink); }
.qz-opt img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; }
.qz-opt:hover img { transform: translateY(-2px); }
.qz-opt[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--accent); }
.qz-opt[aria-pressed="true"] span { color: var(--accent); font-weight: 600; }
.qz-res { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--soft); }
.qz-res[hidden] { display: none; }
.qz-res > img { width: 100%; height: auto; border-radius: 18px; }
.qz-res .chip-cloud { justify-content: flex-start; margin-top: 18px; }
@media (max-width: 760px) { .qz-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qz-res { grid-template-columns: 1fr; } }
.sty-list { display: grid; gap: 28px; margin-top: 40px; }
.sty { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: center; scroll-margin-top: 100px; }
.sty > img { width: 100%; height: auto; border-radius: 20px; }
.sty h3 { margin: 0 0 10px; font-size: clamp(28px, 3vw, 38px); }
.sty p { margin: 0 0 16px; color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 34em; }
.sty .pal { margin-bottom: 18px; }
@media (max-width: 760px) { .sty { grid-template-columns: 1fr; } }
.nf-suggest { margin-top: 28px; display: grid; gap: 12px; justify-items: center; }
.nf-suggest h2 { margin: 0; font: 600 18px/1.3 var(--sans); }
.nf-suggest ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.nf-suggest a { display: inline-block; padding: 12px 18px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-weight: 600; text-decoration: none; }
.tiles { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.tiles b { font: 600 18px/1.25 var(--sans); }
.tiles span { color: var(--muted); }
figure.cap { margin: 0; position: relative; }
figure.cap img { width: 100%; height: auto; border-radius: 18px; display: block; }
figure.cap figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 6px 11px; font-size: 13px; font-weight: 500; }
.note { padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--accent-soft); }
.note-line { color: var(--muted); font-size: 15px; }
.sty > .cmp { width: 100%; }
@media (max-width: 980px) { .tiles, .tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles, .tiles.three { grid-template-columns: 1fr; } }
