/* Delaram Design landing page. Warm ivory surfaces, slate type, one clay accent, serif display
   type over a quiet sans, thin line icons. Motion is CSS-first and gated by the html class
   (motion / motion-quick / no-motion) that the inline head script sets. */

:root {
  --ivory: #faf9f5;
  --paper: #f0eee6;
  --oat: #e8e4d8;
  --line: rgba(20, 20, 19, 0.12);
  --line-strong: rgba(20, 20, 19, 0.22);
  --ink: #141413;
  --ink-2: #3d3d3a;
  --muted: #6b6a64;
  --clay: #d97757;
  --clay-deep: #c4623f;
  --clay-soft: #f3d9cc;
  --kraft: #d4a27f;
  --manilla: #ebdbbc;
  --cactus: #bcd1ca;
  --olive: #788c5d;
  --sky: #6a9bcc;
  --heather: #cbcadb;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(20, 20, 19, 0.04), 0 8px 28px -10px rgba(20, 20, 19, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.no-motion { scroll-behavior: auto; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--ink); color: var(--ivory); border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mark { width: 26px; height: 26px; color: var(--clay); }

/* ---- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #2b2b29; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper); }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-deep); }
.btn-small { padding: 10px 16px; font-size: 15px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 8px; }

/* ---- Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(250, 249, 245, 0.82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover .mark { transform: rotate(45deg); }
.brand .mark { transition: transform .6s var(--ease); }
.wordmark { font: 500 21px/1 var(--serif); letter-spacing: -0.01em; }
.wm-light { color: var(--muted); }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.top-nav a:hover { color: var(--ink); }

/* ---- Hero */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; padding: 72px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); background: #fff; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--clay-soft); }
h1 { margin-top: 26px; font: 400 clamp(42px, 5.4vw, 70px)/1.04 var(--serif); letter-spacing: -0.025em; }
h1 em { font-style: italic; color: var(--clay-deep); white-space: nowrap; }
.lede { margin-top: 24px; max-width: 34em; font-size: 19px; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 15px; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ic { width: 17px; height: 17px; color: var(--olive); stroke-width: 2; }

.hero-demo { position: relative; }
.halo { position: absolute; inset: -6% -8% -10% -4%; border-radius: 40px; background: radial-gradient(60% 55% at 70% 30%, rgba(217, 119, 87, 0.20), transparent 70%), radial-gradient(50% 50% at 20% 85%, rgba(188, 209, 202, 0.55), transparent 70%); filter: blur(10px); z-index: -1; }
.composer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 18px; }
.composer-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 14px; }
.composer-head .mark { width: 22px; height: 22px; }
.composer-title { font: 500 16px/1 var(--sans); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 500 12.5px/1 var(--sans); }
.chip-live { margin-left: auto; background: #eef3ec; color: #4c6138; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--olive); animation: live 2s ease-in-out infinite; }
@keyframes live { 50% { opacity: .35; } }

.prompt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 15px; color: var(--ink-2); }
.prompt .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--clay); opacity: 0; }
.motion .caret { animation: caret .9s steps(1) 0s 5; }
@keyframes caret { 50% { opacity: 1; } }

/* Photo stage: the empty room sits on top of the designed one and is clipped from the right by
   --pos (100% = all empty, 0% = all designed). site.js animates --pos once, then the range input
   lets the visitor drag it. */
.stage { position: relative; margin-top: 14px; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper); isolation: isolate; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-before { position: absolute; inset: 0; clip-path: inset(0 0 0 calc(100% - var(--pos))); z-index: 1; }
.stage-before img { filter: saturate(.92); }
.stage-handle { position: absolute; top: 0; bottom: 0; left: calc(100% - var(--pos)); width: 2px; margin-left: -1px; background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(20,20,19,.08); z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s; }
.stage-handle .grip { position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(20,20,19,.22); }
.stage-handle .grip .ic { width: 18px; height: 18px; }
.stage.comparing .stage-handle, .stage:hover .stage-handle { opacity: 1; }
.stage-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.stage-tag { position: absolute; top: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 500 12px/1 var(--sans); background: rgba(250,249,245,.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; transition: opacity .4s; }
.stage-tag .mark { width: 13px; height: 13px; }
.tag-before { right: 12px; opacity: 0; }
.tag-after { left: 12px; }
.stage.is-empty .tag-before, .stage.comparing .tag-before { opacity: 1; }
.stage.is-empty .tag-after { opacity: 0; }
.hotspots { position: absolute; inset: 0; z-index: 6; pointer-events: none; transition: opacity .4s; }
.stage.is-empty .hotspots, .stage.comparing .hotspots, .stage.wiping .hotspots { opacity: 0; }
.hs { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; pointer-events: auto; }
.hs-dot { position: absolute; inset: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(217,119,87,.9), 0 4px 12px rgba(20,20,19,.3); }
.hs-dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); opacity: 0; }
.motion .hs-dot::after, .motion-quick .hs-dot::after { animation: ping 2.6s ease-out infinite; }
.hs[data-k="1"] .hs-dot::after { animation-delay: .65s; } .hs[data-k="2"] .hs-dot::after { animation-delay: 1.3s; } .hs[data-k="3"] .hs-dot::after { animation-delay: 1.95s; }
@keyframes ping { 0% { transform: scale(.5); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.hs-label { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translate(-50%, 6px); padding: 7px 11px; border-radius: 10px; background: var(--ink); color: var(--ivory); font: 500 12.5px/1 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.hs.active .hs-label, .hs:hover .hs-label, .hs:focus-visible .hs-label { opacity: 1; transform: translate(-50%, 0); }
.scan { position: absolute; top: 0; bottom: 0; left: calc(100% - var(--pos)); width: 120px; margin-left: -60px; background: linear-gradient(90deg, transparent, rgba(255,240,225,.55), transparent); z-index: 2; opacity: 0; pointer-events: none; }
.stage.wiping .scan { opacity: 1; }

.items { margin-top: 12px; display: grid; gap: 2px; }
.item { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; transition: background .3s; }
.item:hover { background: var(--ivory); }
.item.flash { background: var(--clay-soft); }
.thumb { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--paper) url("/assets/img/hero-living.webp?v=20261014b") no-repeat; background-size: var(--z) auto; background-position: var(--x) var(--y); }
.item-name { display: flex; flex-direction: column; min-width: 0; }
.item-name b { font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-name small { color: var(--muted); font-size: 12.5px; }
.item-price { font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 12px 10px 2px; border-top: 1px solid var(--line); font-size: 13.5px; }
.fits { display: inline-flex; align-items: center; gap: 6px; color: #4c6138; }
.fits .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.total { color: var(--muted); }
.total b { margin-left: 6px; color: var(--ink); font: 500 20px/1 var(--serif); font-variant-numeric: tabular-nums; }
.demo-note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* Hero sequence. Full: prompt types, the mark spins while it "thinks", the empty room wipes away
   to the designed one and the rows slide in in step. Quick: a short settle. No-motion: everything is simply there. */
.motion .composer-head .spin { animation: spin 1.2s var(--ease) .2s 3; }
@keyframes spin { to { transform: rotate(180deg); } }
.composer-head .spin { transform-origin: center; }
.motion .item, .motion-quick .item { opacity: 0; animation: row .6s var(--ease) forwards; }
.motion .item { animation-delay: calc(2.8s + var(--n) * .25s); }
.motion-quick .item { animation-delay: calc(.15s + var(--n) * .06s); }
@keyframes row { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.motion .composer-foot { opacity: 0; animation: row .6s var(--ease) 4s forwards; }
.motion .hero-copy > *, .motion-quick .hero-copy > * { opacity: 0; animation: rise .9s var(--ease) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .05s; } .hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; } .hero-copy > :nth-child(4) { animation-delay: .42s; } .hero-copy > :nth-child(5) { animation-delay: .54s; }
.motion-quick .hero-copy > * { animation-duration: .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Category band */
.band { padding: 26px 0 30px; border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.band-label { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.marquee { 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; gap: 14px; }
.motion .marquee-track, .motion-quick .marquee-track { animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.marquee-track span { padding: 10px 18px; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); font: 400 19px/1 var(--serif); white-space: nowrap; color: var(--ink-2); }
.no-motion .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
.no-motion .marquee-track span:nth-child(n+15) { display: none; }

/* ---- Sections */
.section { padding: 110px 0; }
.section-tint { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.kicker { font: 500 14px/1 var(--sans); color: var(--clay-deep); margin-bottom: 16px; }
.kicker-light { color: var(--clay); }
h2 { font: 400 clamp(34px, 4.2vw, 52px)/1.08 var(--serif); letter-spacing: -0.02em; }
.sub { margin-top: 18px; font-size: 18.5px; color: var(--ink-2); max-width: 40em; }
h3 { font: 500 22px/1.25 var(--serif); letter-spacing: -0.01em; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp { padding: 22px 22px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.cmp-generic { background: var(--paper); }
.cmp h3 { margin: 22px 4px 14px; }
.cmp-list { display: grid; gap: 10px; padding: 0 4px; }
.cmp-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.cmp-list .ic { margin-top: 3px; stroke-width: 2; }
.ic.no { color: #a8a69d; }
.ic.yes { color: var(--olive); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 22px 22px 30px; border-radius: var(--radius-lg); background: var(--ivory); border: 1px solid var(--line); }
.step-art { border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.step-art svg { width: 100%; height: auto; }
.step-n { display: block; margin: 22px 0 8px; font: 500 13px/1 var(--sans); color: var(--clay-deep); letter-spacing: .06em; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.s1-bubble { fill: var(--paper); }
.s1-type { fill: var(--ink); opacity: .75; transform-box: fill-box; transform-origin: left; }
.s1-reply { fill: var(--clay-soft); }
.s1-dot { fill: var(--clay); }
.in-view .s1-type { animation: type 2.4s steps(12) infinite; }
@keyframes type { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); } }
.in-view .s1-dot { animation: bounce 1.2s ease-in-out infinite; animation-delay: calc(var(--k) * .15s); }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
.s2-grid rect { fill: var(--paper); stroke: var(--line-strong); }
.s2-grid .s2-pick { fill: var(--clay-soft); stroke: var(--clay); }
.s2-lens circle { fill: rgba(255,255,255,.55); stroke: var(--ink); stroke-width: 2.2; }
.s2-lens path { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.s2-lens { transform: translate(100px, 86px); }
.in-view .s2-lens { animation: lens 5s var(--ease) infinite; }
@keyframes lens { 0% { transform: translate(42px, 38px); } 22% { transform: translate(100px, 38px); } 44% { transform: translate(158px, 38px); } 66% { transform: translate(42px, 86px); } 88%, 100% { transform: translate(100px, 86px); } }
.s3-card { fill: var(--ivory); stroke: var(--line-strong); }
.s3-sw { fill: #e3d6bf; }
.in-view .s3-sw { animation: swatch 4.5s ease-in-out infinite; }
@keyframes swatch { 0%, 28% { fill: #e3d6bf; } 36%, 61% { fill: var(--clay); } 69%, 94% { fill: var(--cactus); } 100% { fill: #e3d6bf; } }
.s3-txt { fill: #e3dfd4; }
.s3-btn { fill: var(--ink); }
.s3-arrow { fill: none; stroke: var(--ivory); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.in-view .s3-arrow { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(3px); } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { padding: 34px 30px 38px; background: var(--ivory); transition: background .3s; }
.feature:hover { background: #fff; }
.feature h3 { margin: 22px 0 10px; }
.feature p { color: var(--ink-2); font-size: 16px; }
.f-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--clay-soft); color: var(--clay-deep); transition: transform .4s var(--ease); }
.f-ic .ic { width: 23px; height: 23px; }
.feature:hover .f-ic { transform: rotate(-6deg) scale(1.06); }

/* Brands */
.brands { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 64px; border-radius: 32px; background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.brands::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(217,119,87,.28), transparent 65%); }
.brands > * { position: relative; }
.brands .sub { color: #cfcdc4; }
.brand-points { display: grid; gap: 20px; margin: 34px 0 36px; }
.brand-points li { display: flex; gap: 16px; align-items: flex-start; }
.bp-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(250,249,245,.08); color: var(--clay); flex: none; }
.brand-points b { display: block; font-weight: 500; }
.brand-points div span { display: block; margin-top: 3px; color: #b4b2a9; font-size: 15.5px; line-height: 1.5; }
.promo { background: var(--ivory); color: var(--ink); border-radius: var(--radius-lg); padding: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.reveal-ready .brands-art.reveal { transform: translateY(24px) rotate(1.5deg); }
.reveal-ready .brands-art.is-visible { transform: rotate(-1.2deg); }
.promo-top { display: flex; justify-content: space-between; align-items: center; }
.chip-sponsored { background: var(--clay-soft); color: var(--clay-deep); }
.promo-fit { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.promo-fit .ic { width: 16px; height: 16px; color: var(--olive); }
.promo-img { margin-top: 14px; }
.promo-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.promo-row b { display: block; font-weight: 500; }
.promo-row small { color: var(--muted); font-size: 13px; }
.promo-price { font: 500 22px/1 var(--serif); }
.promo-stats { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); align-items: end; }
.promo-stats small { display: block; color: var(--muted); font-size: 12px; }
.promo-stats b { font: 500 22px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.spark svg { width: 100%; height: 34px; }
.spark-line { fill: none; stroke: var(--clay); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 140; stroke-dashoffset: 0; }
.reveal-ready .brands-art .spark-line { stroke-dashoffset: 140; transition: stroke-dashoffset 1.6s var(--ease) .5s; }
.reveal-ready .brands-art.is-visible .spark-line { stroke-dashoffset: 0; }
.demo-note-light { color: #8d8b83; }

/* Trust */
.trust { padding-top: 40px; padding-bottom: 40px; }
.trust-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; padding: 36px 40px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.trust-grid > div { display: flex; align-items: center; gap: 16px; }
.trust-grid p { color: var(--ink-2); font-size: 17px; }

/* FAQ */
.faq-wrap .section-head { margin-bottom: 30px; }
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 2px; cursor: pointer; list-style: none; font: 400 21px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .35s var(--ease); color: var(--muted); }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--clay-deep); }
.faq details p { padding: 0 2px 24px; color: var(--ink-2); max-width: 44em; }

/* Join */
.join { text-align: center; padding: 72px 32px; border-radius: 32px; background: var(--paper); border: 1px solid var(--line); position: relative; overflow: hidden; }
.join-mark { width: 44px; height: 44px; margin: 0 auto 22px; }
.motion .join.is-visible .join-mark, .motion-quick .join.is-visible .join-mark { animation: spin 1.6s var(--ease) .2s 1; }
.join .sub { margin-inline: auto; }
.join-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 32px auto 0; max-width: 620px; }
.join-form input, .join-form select { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font: 400 16px var(--sans); color: var(--ink); }
.join-form input { flex: 1 1 240px; }
.join-form select { flex: 0 1 190px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6a64' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.join-form input:focus, .join-form select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(217, 119, 87, .18); }
.join-form .btn { height: 50px; }
.form-msg { min-height: 1.6em; margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.form-msg.ok { color: #4c6138; }
.form-msg.err { color: var(--clay-deep); }

/* Footer */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot p { font-size: 14px; color: var(--muted); }

/* Scroll reveals: armed by site.js only, so nothing hides without it. */
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
.reveal-ready .compare .reveal:nth-child(2), .reveal-ready .steps .reveal:nth-child(2) { transition-delay: .12s; }
.reveal-ready .steps .reveal:nth-child(3) { transition-delay: .24s; }
.reveal-ready .features .reveal:nth-child(3n+2) { transition-delay: .08s; }
.reveal-ready .features .reveal:nth-child(3n) { transition-delay: .16s; }
.reveal-ready .features .reveal { transform: none; }

/* ---- Photography and motion graphics (images generated for the brand set) */
img { max-width: 100%; }
.cmp-photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--paper); }
.cmp-delaram .cmp-photo img { object-position: center 20%; }
.cmp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cmp:hover .cmp-photo img { transform: scale(1.04); }
.cmp-generic .cmp-photo img { filter: saturate(1.15) blur(.3px); }
.motion .cmp-generic.is-visible .cmp-photo img, .motion-quick .cmp-generic.is-visible .cmp-photo img { animation: dream 9s ease-in-out infinite; }
@keyframes dream { 50% { filter: saturate(1.35) hue-rotate(-12deg) blur(1px); transform: scale(1.05); } }
.qchip { position: absolute; padding: 8px 12px; border-radius: 999px; background: rgba(250,249,245,.9); color: var(--ink-2); font: 500 13px/1 var(--sans); box-shadow: 0 6px 18px rgba(20,20,19,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.qchip::before { content: "?"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; background: #a8a69d; color: #fff; font-size: 11px; }
.reveal-ready .cmp-generic .qchip { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.5s + var(--q) * .35s); }
.reveal-ready .cmp-generic.is-visible .qchip { opacity: 1; transform: none; }
.motion .cmp-generic.is-visible .qchip, .motion-quick .cmp-generic.is-visible .qchip { animation: bob 4.5s ease-in-out infinite; animation-delay: calc(var(--q) * -1.4s); }
@keyframes bob { 50% { translate: 0 -6px; } }
.ptag { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; gap: 3px; padding: 9px 12px 9px 26px; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 8px 22px rgba(20,20,19,.16); font: 400 12px/1.2 var(--sans); color: #4c6138; white-space: nowrap; }
.ptag b { color: var(--ink); font-weight: 500; font-size: 13px; }
.ptag::before { content: ""; position: absolute; left: 11px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 3px var(--clay-soft); }
.reveal-ready .cmp-delaram .ptag { opacity: 0; transform: translate(-50%, 10px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.5s + var(--t) * .3s); }
.reveal-ready .cmp-delaram.is-visible .ptag { opacity: 1; transform: translate(-50%, 0); }

/* App section: phone with drifting fact chips */
.app-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.app-visual { position: relative; display: grid; place-items: center; }
.app-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,119,87,.22), transparent), radial-gradient(closest-side at 30% 80%, rgba(188,209,202,.5), transparent); filter: blur(20px); }
.app-phone { position: relative; width: min(440px, 100%); height: auto; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(20,20,19,.35); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font: 500 14px/1 var(--sans); white-space: nowrap; }
.float-chip .ic { width: 17px; height: 17px; color: var(--clay-deep); }
.fc-1 { left: -2%; top: 16%; } .fc-2 { right: -4%; top: 44%; } .fc-3 { left: 2%; bottom: 14%; }
.reveal-ready .app-visual .float-chip { opacity: 0; transform: translateY(14px) scale(.95); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready .app-visual.is-visible .float-chip { opacity: 1; transform: none; }
.reveal-ready .app-visual .fc-1 { transition-delay: .5s; } .reveal-ready .app-visual .fc-2 { transition-delay: .8s; } .reveal-ready .app-visual .fc-3 { transition-delay: 1.1s; }
.motion .app-visual.is-visible .float-chip, .motion-quick .app-visual.is-visible .float-chip { animation: bob 5s ease-in-out infinite; }
.fc-2 { animation-delay: -1.6s !important; } .fc-3 { animation-delay: -3.2s !important; }
.app-points { display: grid; gap: 18px; margin-top: 32px; }
.app-points li { display: flex; gap: 16px; align-items: center; }
.app-points b { display: block; font-weight: 500; }
.app-points span span, .app-points div span { color: var(--muted); font-size: 15.5px; }

/* Rooms bento with slow Ken Burns drift and hotspot labels */
.bento { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.tile { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.tile-media { position: absolute; inset: 0; overflow: hidden; }
.tile-kitchen { aspect-ratio: 3 / 2; min-height: 0; }
.tile-media.kb { overflow: visible; transform-origin: 55% 45%; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.motion .tile.is-visible .kb, .motion-quick .tile.is-visible .kb { animation: kenburns 22s ease-in-out infinite alternate; }
.tile-bedroom .kb { animation-direction: alternate-reverse !important; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
.tile figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 7; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: rgba(250,249,245,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: 420px; }
.tile figcaption b { font: 500 20px/1.2 var(--serif); }
.tile figcaption span { color: var(--ink-2); font-size: 15px; }
.kitchen-spots { pointer-events: none; }
.reveal-ready .tile .hs { opacity: 0; transition: opacity .5s var(--ease); }
.reveal-ready .tile.is-visible .hs { opacity: 1; }
.reveal-ready .tile.is-visible .hs:nth-child(2) { transition-delay: .3s; } .reveal-ready .tile.is-visible .hs:nth-child(3) { transition-delay: .6s; } .reveal-ready .tile.is-visible .hs:nth-child(4) { transition-delay: .9s; }
.kitchen-spots .hs:nth-child(2) .hs-dot::after { animation-delay: .65s; } .kitchen-spots .hs:nth-child(3) .hs-dot::after { animation-delay: 1.3s; } .kitchen-spots .hs:nth-child(4) .hs-dot::after { animation-delay: 1.95s; }
.kitchen-spots .hs:nth-child(3) .hs-label { left: auto; right: -6px; transform: translate(0, 6px); }
.kitchen-spots .hs:nth-child(3).active .hs-label, .kitchen-spots .hs:nth-child(3):hover .hs-label { transform: none; }
.kitchen-spots .hs:nth-child(4) .hs-label { left: -6px; transform: translate(0, 6px); }
.kitchen-spots .hs:nth-child(4).active .hs-label, .kitchen-spots .hs:nth-child(4):hover .hs-label { transform: none; }

/* Brands: laptop photo with the sponsored card floating over it */
.brands-art { position: relative; padding-bottom: 8px; }
.laptop { width: 100%; height: auto; border-radius: 20px; opacity: .92; }
.brands-art .promo { position: relative; width: 78%; margin: -34% 0 0 auto; }
.promo-img { border-radius: 12px; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 8; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.reveal-ready .brands-art .promo-img img { transform: translateX(-14px) scale(1.06); opacity: 0; transition: transform 1.2s var(--ease) .35s, opacity .8s var(--ease) .35s; }
.reveal-ready .brands-art.is-visible .promo-img img { transform: none; opacity: 1; }

/* Join: materials flat lay behind the form, copy sits on the open linen */
.join { text-align: left; padding: 0; min-height: 520px; display: flex; align-items: center; background: #efe9df; }
.join-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.motion .join.is-visible .join-bg, .motion-quick .join.is-visible .join-bg { animation: pan 30s ease-in-out infinite alternate; }
@keyframes pan { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.1) translateX(-2%); } }
.join::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246,242,234,.94) 0%, rgba(246,242,234,.82) 40%, rgba(246,242,234,0) 68%); }
.join-inner { position: relative; z-index: 1; padding: 64px; max-width: 760px; }
.join-inner .join-mark { margin: 0 0 22px; }
.join-inner .sub { margin-inline: 0; }
.join-inner .join-form { justify-content: flex-start; margin-left: 0; }

/* ---- Responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; }
  .brands { grid-template-columns: 1fr; padding: 44px 28px; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-grid { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: 1fr; }
  .tile-bedroom { min-height: 460px; }
  .join::after { background: linear-gradient(180deg, rgba(246,242,234,.95) 0%, rgba(246,242,234,.86) 60%, rgba(246,242,234,.55) 100%); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top-nav { display: none; }
  .top-row { justify-content: space-between; }
  .compare, .steps, .features { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .wrap { width: min(1180px, 100% - 32px); }
  .composer { padding: 14px; }
  .item-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .join-inner { padding: 44px 20px; }
  .tile-kitchen { aspect-ratio: auto; background: #fff; border: 1px solid var(--line); }
  .tile-kitchen .tile-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
  .tile-kitchen figcaption { position: static; max-width: none; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 16px 18px 20px; }
  .float-chip { font-size: 12.5px; padding: 8px 11px; }
  .fc-2 { right: 0; }
  .kitchen-spots .hs-label { font-size: 11.5px; }
  .ptag { font-size: 11px; } .ptag b { font-size: 12px; }
  .join-form select, .join-form .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .btn-small { padding: 9px 12px; font-size: 14px; }
  .wm-light { display: none; }
}
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
