/* TocToc v2 · "Tropical Modernism" brand system */
:root {
  --forest: #173F35; --canopy: #236A51; --leaf: #3B8C68; --red: #E94D36; --oak: #CDA574; --lime: #F8F5EE; --graphite: #242B27;
  --bg: #F8F5EE; --surface: #FFFFFF; --surface-2: #F1EDE3; --text: #242B27; --muted: #536259; --line: #DADFD5;
  --primary: #173F35; --accent: #E94D36; --brand: #173F35;
  --grad: linear-gradient(135deg, #173F35 0%, #236A51 55%, #3B8C68 100%);
  --shadow-1: 0 1px 2px rgba(23,63,53,.06), 0 4px 14px rgba(23,63,53,.07);
  --shadow-2: 0 2px 6px rgba(23,63,53,.08), 0 18px 40px -12px rgba(23,63,53,.25);
  --r: 18px; --r-sm: 12px;
  --ease: cubic-bezier(.22,1,.36,1); --ease-door: cubic-bezier(.45,0,.25,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --display: 'Bricolage Grotesque', system-ui, sans-serif; --ui: 'Manrope', system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101C18; --surface: #1C2D25; --surface-2: #16251F; --text: #F8F5EE; --muted: #AABDB0; --line: #34483D;
    --primary: #8AD3AB; --accent: #FF7459;
    --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25);
    --shadow-2: 0 2px 6px rgba(0,0,0,.35), 0 18px 40px -12px rgba(0,0,0,.6);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.5 var(--ui); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .small { font-size: 13px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
img { max-width: 100%; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; color: var(--forest); }
.logo.light { color: #fff; }
@media (prefers-color-scheme: dark) { .logo { color: var(--text); } }
.logo .word { font: 800 26px/1 var(--display); letter-spacing: -.045em; white-space: nowrap; }
.knock-lines { width: .5em; height: .86em; font-size: 26px; flex: none; stroke: var(--red); overflow: visible; transform-origin: 0 50%; }
.logo:hover .knock-lines, .intro .knock-lines { animation: knocklines .65s var(--ease) 2; }
@keyframes knocklines { 0%, 100% { transform: none; opacity: 1; } 30% { transform: translateX(3px) scale(1.25); } 55% { transform: translateX(-1px) scale(.85); opacity: .6; } }
.powered .logo .word { font-size: 17px; } .powered .knock-lines { font-size: 17px; }

/* ---------- Toco mascot ---------- */
.toco { display: block; overflow: visible; }
.toco .head { transform-origin: 104px 116px; transform-box: view-box; }
.toco .look { transform-origin: 112px 80px; transform-box: view-box; transition: transform .35s var(--ease); }
.toco .lid { transform-origin: center; transform-box: fill-box; transform: scaleY(0); animation: blink 5.2s infinite; }
.toco .eye-happy, .toco .sweat { opacity: 0; transition: opacity .2s; }
.toco .brow { opacity: 0; transition: transform .25s var(--ease), opacity .2s; transform-box: fill-box; transform-origin: center; }
.toco .pupil { transition: transform .12s linear; }
.toco .body { transform-origin: 100px 190px; transform-box: view-box; animation: breathe 3.6s ease-in-out infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
@keyframes breathe { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.018); } }
.toco.peck .head { animation: peck .65s var(--ease); }
@keyframes peck { 0%,100% { transform: none; } 15% { transform: rotate(-12deg); } 28% { transform: translateX(7px) rotate(6deg); } 45% { transform: rotate(-10deg); } 60% { transform: translateX(7px) rotate(6deg); } 80% { transform: rotate(-2deg); } }
.toco.happy .eye { opacity: 0; } .toco.happy .eye-happy { opacity: 1; }
.toco.happy .body { animation: hop .6s var(--spring) 2; }
.toco.happy .head { animation: none; }
@keyframes hop { 0%,100% { transform: none; } 40% { transform: translateY(-8px) scaleY(1.03); } }
.toco.think .head { transform: rotate(-9deg); transition: transform .3s var(--ease); }
.toco.think .brow { opacity: 1; transform: rotate(-8deg) translateY(-2px); }
.toco.oops .sweat { opacity: 1; animation: drip 1s ease-in infinite; }
.toco.oops .brow { opacity: 1; transform: rotate(10deg); }
.toco.oops .head { animation: shake .4s ease 2; }
@keyframes drip { from { transform: translateY(-2px); } to { transform: translateY(6px); opacity: 0; } }
@keyframes shake { 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
.toco.big { width: min(260px, 60vw); height: auto; }

/* ---------- buttons ---------- */
.btn { --b: var(--forest); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 22px; font: 800 15px/1 var(--ui); text-decoration: none; background: var(--b); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px color-mix(in srgb, var(--b) 70%, transparent); transition: transform .1s, box-shadow .2s, background .2s; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .btn { --b: #2E7A5C; } }
.btn:active { transform: scale(.97); }
.btn.hot { --b: var(--red); }
.btn.wa { --b: #1FA855; }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.glass { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn.sm { padding: 8px 14px; font-size: 13px; }
.btn.block { width: 100%; padding: 17px; font-size: 16px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; } .btns.center { justify-content: center; }
.pill-link { text-decoration: none; font-weight: 800; font-size: 14px; color: #fff; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.linkbtn { border: 0; background: none; color: var(--canopy); font-weight: 800; font-size: 13px; padding: 0; margin-left: auto; }
@media (prefers-color-scheme: dark) { .linkbtn { color: var(--primary); } }

/* ---------- landing ---------- */
.hero { position: relative; background: var(--grad); color: #fff; overflow: hidden; padding: 0 20px 90px; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 20%, rgba(205,165,116,.35), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(233,77,54,.22), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 110% 120%, transparent 0 22px, rgba(255,255,255,.035) 22px 23px); pointer-events: none; }
.nav { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.hero-in { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; display: grid; gap: 24px; padding-top: 22px; }
.eyebrow { display: inline-block; font: 800 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--oak); }
.hero h1 { font-size: clamp(40px, 8vw, 72px); line-height: .98; font-weight: 800; letter-spacing: -.045em; margin: 14px 0 16px; }
.hero h1 em { font-style: normal; color: var(--oak); background: linear-gradient(transparent 70%, rgba(233,77,54,.55) 70% 88%, transparent 88%); }
.hero-lead { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.86); max-width: 52ch; margin: 0 0 26px; }
.hero-art { position: relative; min-height: 300px; display: grid; place-items: center; }
.hero-stage { position: relative; width: min(400px, 92%); aspect-ratio: 1; }
.closet { position: absolute; right: 0; bottom: 2%; width: 62%; height: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.28)); }
.closet .door-l { animation: doorhit 3.2s linear infinite; transform-box: view-box; transform-origin: 18px 150px; }
.knocker { position: absolute; left: 7%; bottom: 34%; width: 42%; z-index: 2; animation: hoverKnock 3.2s ease-in-out infinite; }
.knocker .toco { width: 100%; height: auto; filter: drop-shadow(0 18px 20px rgba(0,0,0,.25)); }
.knocker .toco .head { animation: heroPeck 3.2s infinite; }
.knocker .toco.fly .wing, .knocker .toco.fly .wing2 { animation-duration: .34s; }
.knocker .toco .shadow { display: none; }
/* two knocks at 9% and 15% of the loop: head strikes, door jolts, chips fly, "toc" bubbles pop */
@keyframes heroPeck { 0%, 4%, 22%, 100% { transform: none; } 6% { transform: translateX(-4px) rotate(-8deg); } 9% { transform: translateX(13px) rotate(3deg); } 12% { transform: translateX(-2px) rotate(-6deg); } 15% { transform: translateX(13px) rotate(3deg); } 18% { transform: translateX(-1px) rotate(-3deg); } }
@keyframes hoverKnock { 0%, 22% { transform: translate(0, 0); } 9%, 15% { transform: translate(3px, 0); } 12% { transform: translate(0, -1px); } 60% { transform: translate(-3px, -9px); } 100% { transform: translate(0, 0); } }
@keyframes doorhit { 0%, 8.5%, 11%, 14.5%, 17%, 100% { transform: none; } 9.5%, 15.5% { transform: translateX(1.6px) rotate(.6deg); } }
.chip { position: absolute; left: 41%; top: 42%; width: 7px; height: 4px; border-radius: 2px; background: #C99A62; z-index: 3; opacity: 0; animation: chip 3.2s ease-out infinite; }
.chip.c2 { animation-name: chip2; width: 5px; } .chip.c3 { animation-name: chip; animation-delay: .19s; width: 5px; height: 3px; }
@keyframes chip { 0%, 8.8% { opacity: 0; transform: none; } 9.5% { opacity: 1; transform: none; } 20% { opacity: 0; transform: translate(-26px, 16px) rotate(220deg); } 100% { opacity: 0; } }
@keyframes chip2 { 0%, 14.8% { opacity: 0; transform: none; } 15.5% { opacity: 1; transform: none; } 26% { opacity: 0; transform: translate(-18px, -12px) rotate(-200deg); } 100% { opacity: 0; } }
.knock { position: absolute; z-index: 3; font: 800 22px/1 var(--display); color: #fff; background: var(--red); padding: 8px 12px; border-radius: 999px 999px 999px 4px; box-shadow: 0 10px 20px -6px rgba(233,77,54,.6); opacity: 0; animation: knockpop 3.2s var(--spring) infinite; }
.knock.k1 { top: 20%; left: 40%; } .knock.k2 { top: 9%; left: 56%; animation-delay: .19s; }
@keyframes knockpop { 0%, 8.5% { opacity: 0; transform: scale(.4); } 11%, 46% { opacity: 1; transform: scale(1); } 54%, 100% { opacity: 0; transform: scale(.9) translateY(-6px); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--bg); z-index: 1; }
.strip { max-width: 1120px; margin: -40px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.stat { background: var(--surface); border-radius: var(--r); padding: 18px 16px; box-shadow: var(--shadow-2); }
.stat b { display: block; font: 800 34px/1 var(--display); color: var(--accent); letter-spacing: -.03em; }
.stat span { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 6px; font-weight: 600; }
.section { max-width: 1120px; margin: 0 auto; padding: 56px 20px 0; }
.h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; line-height: 1.05; }
.section > .sub { color: var(--muted); margin: 8px 0 24px; font-size: 17px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.feat { background: var(--surface); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.feat i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 14px; }
.feat i svg { width: 24px; height: 24px; }
.feat h3 { font-size: 20px; margin-bottom: 6px; } .feat p { margin: 0; color: var(--muted); font-size: 15px; }
.steps3 { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: s; }
.steps3 li { position: relative; padding: 22px; border-radius: var(--r); background: var(--surface-2); overflow: hidden; }
.steps3 b { font: 800 56px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--oak); display: block; margin-bottom: 8px; }
.steps3 h3 { font-size: 20px; } .steps3 p { margin: 6px 0 0; color: var(--muted); }
.price-card { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--grad); color: #fff; border-radius: 26px; padding: 30px; box-shadow: var(--shadow-2); position: relative; overflow: hidden; }
.price-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(205,165,116,.18); }
.price-card h3 { font-size: 46px; font-weight: 800; margin: 8px 0 10px; letter-spacing: -.04em; } .price-card h3 small { font-size: 16px; font-weight: 600; opacity: .8; }
.price-card ul { margin: 0; padding: 0; list-style: none; } .price-card li { padding-left: 24px; position: relative; margin: 6px 0; color: rgba(255,255,255,.88); }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--oak); font-weight: 800; }
.foot { max-width: 1120px; margin: 56px auto 0; padding: 28px 20px 40px; border-top: 1px solid var(--line); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.foot p { margin: 0; color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; padding-top: 40px; } .hero-art { min-height: 440px; } .hero { padding-bottom: 120px; } }
@media (max-width: 520px) { .strip { grid-template-columns: 1fr; } .stat { display: flex; gap: 14px; align-items: center; } .stat span { margin: 0; } .stat b { min-width: 72px; } }

/* intro: two panels snap together, toc toc */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; pointer-events: none; }
.intro .ip { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--grad); animation: snapL .42s var(--ease) both; }
.intro .ip.l { left: 0; } .intro .ip.r { right: 0; animation-name: snapR; background: linear-gradient(135deg, #236A51, #3B8C68); }
.intro .intro-logo { position: relative; transform: scale(1.8); opacity: 0; animation: introLogo .3s .35s var(--ease) forwards; }
.intro.out .ip.l { transform: translateX(-100%); transition: transform .45s var(--ease-door); }
.intro.out .ip.r { transform: translateX(100%); transition: transform .45s var(--ease-door); }
.intro.out .intro-logo { opacity: 0; transition: opacity .2s; }
@keyframes snapL { from { transform: translateX(-100%); } }
@keyframes snapR { from { transform: translateX(100%); } }
@keyframes introLogo { to { opacity: 1; } }

/* ---------- configurator ---------- */
.cfg { min-height: 100dvh; padding-bottom: 96px; }
.cfg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.shop { display: flex; align-items: center; gap: 10px; min-width: 0; }
.shop .mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 800 15px/1 var(--display); background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #3B8C68)); flex: none; }
.shop b { display: block; font: 800 16px/1.15 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 12px; font-weight: 600; }
.stepper { list-style: none; margin: 0; padding: 10px 12px; display: flex; gap: 4px; background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.stepper li { flex: 1; min-width: 0; }
.stepper button { width: 100%; border: 0; background: none; display: flex; align-items: center; gap: 6px; padding: 6px 4px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 13px; }
.stepper i { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line); transition: all .26s var(--ease); }
.stepper .done i { background: var(--leaf); color: #fff; box-shadow: none; }
.stepper .now button { color: var(--text); }
.stepper .now i { background: var(--red); color: #fff; box-shadow: 0 0 0 4px rgba(233,77,54,.18); transform: scale(1.08); }
.stepper span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .stepper li:not(.now) span { display: none; } .stepper li.now { flex: 2.4; } }

.cfg-grid { display: grid; }
.stage { position: sticky; top: 0; z-index: 5; height: 46vh; min-height: 300px; background: radial-gradient(120% 90% at 50% 0%, #FBF8F2, #E9E2D5); overflow: hidden; border-bottom: 1px solid var(--line); }
.gl { position: absolute; inset: 0; touch-action: none; }
.gl canvas { display: block; width: 100% !important; height: 100% !important; outline: none; cursor: grab; }
.gl canvas:active { cursor: grabbing; }
.gl-loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; grid-auto-flow: row; color: var(--forest); }
.gl-loader b { font-size: 13px; }
.gl-loader span { width: 70px; height: 12px; border-radius: 4px; background: var(--oak); animation: stack 1s var(--spring) infinite alternate; }
.gl-loader span:nth-child(2) { width: 90px; animation-delay: .15s; background: #E8DFCF; } .gl-loader span:nth-child(3) { width: 50px; animation-delay: .3s; background: var(--forest); }
.gl:not(.loading) .gl-loader { display: none; }
.gl:has(canvas) .gl-loader { display: none; }
@keyframes stack { from { transform: translateY(-6px) scaleX(.8); opacity: .6; } to { transform: none; opacity: 1; } }
.gl-fail { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--forest); font-weight: 700; }
.dims { position: absolute; inset: 0; pointer-events: none; }
.dims span { position: absolute; left: 0; top: 0; font: 800 12px/1 var(--ui); color: #173F35; background: rgba(255,255,255,.92); padding: 5px 8px; border-radius: 999px; box-shadow: 0 2px 8px rgba(23,63,53,.18), inset 0 0 0 1px rgba(23,63,53,.12); white-space: nowrap; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.stage-hud { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; z-index: 2; }
.chip { font-size: 12px; font-weight: 800; color: #173F35; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); padding: 7px 11px; border-radius: 999px; box-shadow: var(--shadow-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip.hint { color: #536259; font-weight: 700; }
@media (max-width: 560px) { .chip.hint { display: none; } }
.stage-tools { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; z-index: 2; }
.glassy { background: rgba(255,255,255,.82); backdrop-filter: blur(10px); box-shadow: var(--shadow-1), inset 0 0 0 1px rgba(23,63,53,.08); border-radius: 999px; }
.seg { display: inline-flex; padding: 4px; gap: 2px; }
.seg button { border: 0; background: none; display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #536259; transition: background .2s, color .2s; }
.seg button svg, .doorbtn svg { width: 16px; height: 16px; }
.seg button.on, .seg button:hover { background: #173F35; color: #fff; }
.doorbtn { border: 0; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 12px; font-weight: 800; color: #173F35; }
.doorbtn:active { transform: scale(.97); }
@media (max-width: 400px) { .seg button span { display: none; } }

.panel { padding: 22px 18px 30px; max-width: 640px; width: 100%; margin: 0 auto; }
.panel.in-r { animation: inR .26s var(--ease); } .panel.in-l { animation: inL .26s var(--ease); }
@keyframes inR { from { opacity: 0; transform: translateX(24px); } } @keyframes inL { from { opacity: 0; transform: translateX(-24px); } }
.kicker { font: 800 12px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.panel h2 { font-size: 30px; line-height: 1.1; font-weight: 800; margin: 8px 0 6px; }
.panel .sub { color: var(--muted); margin: 0 0 20px; }
.h3 { font: 800 17px/1.2 var(--display); margin: 24px 0 10px; display: flex; align-items: center; gap: 10px; }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type, .opt, .kind, .sw { border: 0; background: var(--surface); border-radius: var(--r-sm); box-shadow: var(--shadow-1), inset 0 0 0 1.5px var(--line); text-align: left; transition: transform .1s, box-shadow .2s var(--ease), background .2s; }
.type:active, .opt:active, .kind:active, .sw:active { transform: scale(.97); }
.type { padding: 16px; display: grid; gap: 2px; }
.type svg { width: 48px; height: 48px; color: var(--muted); margin-bottom: 8px; transition: color .2s, transform .3s var(--spring); }
.type b, .opt b, .kind b { font-weight: 800; font-size: 15px; } .type small, .opt small, .kind small { color: var(--muted); font-size: 12.5px; line-height: 1.3; font-weight: 600; }
.on.type, .on.opt, .on.kind, .on.sw { box-shadow: var(--shadow-2), inset 0 0 0 2.5px var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.type.on svg { color: var(--accent); transform: scale(1.06) rotate(-3deg); }

.field { margin: 0 0 16px; } .field > label, .field label:first-child { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.range-field label { display: flex !important; justify-content: space-between; align-items: baseline; }
.range-field label small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.range-field output { font: 800 28px/1 var(--display); letter-spacing: -.03em; color: var(--text); }
.range-field output small { font-size: 14px; color: var(--muted); font-family: var(--ui); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; margin: 4px 0 0; }
input[type=range]::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--leaf) 0 var(--p), var(--surface-2) var(--p)); box-shadow: inset 0 0 0 1px var(--line); }
input[type=range]::-moz-range-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--leaf) 0 var(--p), var(--surface-2) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 3px 10px rgba(23,63,53,.35), inset 0 0 0 7px var(--red); transition: transform .15s var(--spring); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 7px solid var(--red); box-shadow: 0 3px 10px rgba(23,63,53,.35); }
.ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 700; }
.tip-card { display: flex; gap: 12px; align-items: flex-start; background: color-mix(in srgb, var(--oak) 18%, var(--surface)); border-radius: var(--r-sm); padding: 14px; margin: 6px 0 14px; }
.tip-card svg { width: 22px; height: 22px; flex: none; color: var(--canopy); } .tip-card p { margin: 0; font-size: 14px; }

.row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row b { display: block; font-weight: 800; } .row small { color: var(--muted); font-size: 13px; font-weight: 600; }
.toggle { flex: none; width: 52px; height: 32px; border: 0; border-radius: 999px; background: var(--line); position: relative; transition: background .25s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--spring); }
.toggle.on { background: var(--leaf); } .toggle.on::after { transform: translateX(20px); }

.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sw { padding: 8px 8px 10px; display: grid; gap: 1px; }
.sw i { display: block; aspect-ratio: 1.3; border-radius: 9px; margin-bottom: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), inset 0 -8px 14px rgba(0,0,0,.06); transition: transform .3s var(--spring); }
.sw.on i { transform: scale(1.04); }
.sw b { font-size: 12px; line-height: 1.2; font-weight: 800; } .sw small { font-size: 11px; color: var(--muted); font-weight: 700; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .opts.four { grid-template-columns: repeat(4, 1fr); }
.opt { padding: 12px; display: grid; gap: 2px; align-content: start; }
.hdl { display: block; height: 28px; margin-bottom: 6px; border-radius: 6px; background: linear-gradient(#EEE9DF, #E1D9CA); position: relative; }
.hdl::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.hdl.negra::after { width: 4px; height: 20px; border-radius: 2px; background: #1C1F1E; }
.hdl.dorada::after { width: 4px; height: 20px; border-radius: 2px; background: linear-gradient(90deg, #E3C27A, #A9822F); }
.hdl.cuero::after { width: 9px; height: 15px; border-radius: 2px 2px 5px 5px; background: #7A4A2A; }
.hdl.push::after { width: 12px; height: 2px; background: #B9B1A2; top: 6px; }
@media (max-width: 560px) { .swatches, .opts.four { grid-template-columns: repeat(2, 1fr); } .opts { grid-template-columns: 1fr; } .opts .opt { grid-template-columns: 1fr; } }

/* organise */
.run { margin-bottom: 14px; }
.run-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.stepper-mini { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: 999px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.stepper-mini button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--surface); font-weight: 800; font-size: 18px; box-shadow: var(--shadow-1); }
.stepper-mini button:disabled { opacity: .35; cursor: not-allowed; }
.stepper-mini span { min-width: 26px; text-align: center; font-weight: 800; }
.stepper-mini.big button { width: 38px; height: 38px; }
.elev { display: flex; gap: 4px; padding: 6px; border-radius: 14px; background: linear-gradient(#EFE8DA, #E3D9C7); box-shadow: inset 0 2px 6px rgba(0,0,0,.08); }
@media (prefers-color-scheme: dark) { .elev { background: linear-gradient(#2A3B33, #22322B); } }
.mod { flex: 1; min-width: 0; border: 0; height: 78px; border-radius: 9px; background: var(--surface); display: grid; place-items: center; align-content: center; gap: 4px; color: var(--muted); box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: transform .28s var(--spring), background .2s, color .2s; }
.mod svg { width: 24px; height: 24px; } .mod small { font-size: 10px; font-weight: 800; }
.mod.on { background: var(--red); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 16px -6px rgba(233,77,54,.6); }
.mod-editor { background: var(--surface); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow-1), inset 0 0 0 1.5px var(--line); margin-top: 6px; animation: inR .26s var(--ease); }
.me-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.badge { background: var(--red); color: #fff; font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 999px; }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kind { padding: 10px; display: grid; gap: 1px; align-content: start; }
.kind svg { width: 26px; height: 26px; color: var(--muted); margin-bottom: 4px; } .kind.on svg { color: var(--accent); }
.kind b { font-size: 13px; line-height: 1.2; } .kind small { font-size: 11px; }
.mod-editor .row { border: 0; padding-bottom: 0; }
@media (max-width: 420px) { .kinds { grid-template-columns: 1fr 1fr; } }

/* quote */
.bigrange { background: var(--grad); color: #fff; border-radius: 22px; padding: 20px; box-shadow: var(--shadow-2); position: relative; overflow: hidden; margin-bottom: 16px; }
.bigrange::after { content: ''; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(205,165,116,.18); }
.bigrange small { color: rgba(255,255,255,.75); font-weight: 700; font-size: 13px; }
.bigrange .range { font: 800 clamp(26px, 7vw, 34px)/1.1 var(--display); letter-spacing: -.03em; margin: 4px 0 14px; }
.bars { display: grid; gap: 8px; position: relative; z-index: 1; }
.bar { display: grid; grid-template-columns: 130px 1fr 38px; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.bar i { height: 8px; border-radius: 999px; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.bar i::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--oak), #F2D3A6); animation: grow .7s var(--ease) both; animation-delay: inherit; }
.bar b { text-align: right; }
@keyframes grow { from { width: 0; } }
.disclaimer { font-size: 12px; color: rgba(255,255,255,.72); margin: 14px 0 0; line-height: 1.45; position: relative; z-index: 1; }
.summary { background: var(--surface); border-radius: var(--r); padding: 6px 16px; box-shadow: var(--shadow-1); margin-bottom: 20px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.summary dt, .summary dd { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary dt { color: var(--muted); font-weight: 700; padding-right: 16px; } .summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary dt:last-of-type, .summary dd:last-of-type { border: 0; }
.input { width: 100%; font: 600 16px/1.3 var(--ui); color: var(--text); background: var(--surface); border: 0; border-radius: var(--r-sm); padding: 13px 14px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--leaf), 0 0 0 4px color-mix(in srgb, var(--leaf) 18%, transparent); }
.photo-drop { display: flex !important; gap: 10px; align-items: center; justify-content: center; padding: 18px; border-radius: var(--r-sm); border: 2px dashed var(--line); color: var(--muted); font-weight: 700 !important; cursor: pointer; }
.photo-drop svg { width: 22px; height: 22px; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; } .photos img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.note { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.nav-btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.nav-btns .btn:last-child { flex: 1; max-width: 260px; }
.done { text-align: center; padding-top: 10px; }
.done .toco { margin: 0 auto -10px; width: 180px; }
.done h2 { font-size: 34px !important; }

/* price bar with Toco */
.pricebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -10px rgba(23,63,53,.18); }
.pricebar .in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.pb-toco { width: 62px; height: 62px; flex: none; margin: -22px 0 -6px -4px; }
.pb-toco .toco { width: 100%; height: 100%; }
.bubble { flex: 1; min-width: 0; position: relative; }
.bubble small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bubble.pop small { animation: tipIn .3s var(--ease); }
@keyframes tipIn { from { opacity: 0; transform: translateY(4px); } }
.pricebar .range { font: 800 21px/1.15 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.pricebar .range.bump { animation: bump .45s var(--spring); }
@keyframes bump { 40% { transform: scale(1.05); color: var(--accent); } }
.pricebar .btn { padding: 13px 18px; }
.pricebar .btn[hidden] { display: none; }

/* desktop */
@media (min-width: 980px) {
  .cfg-grid { grid-template-columns: 1fr 440px; height: calc(100dvh - 64px - 51px - 86px); }
  .stage { position: relative; height: auto; min-height: 0; border: 0; border-right: 1px solid var(--line); }
  .panel { overflow-y: auto; max-width: none; padding: 26px 26px 40px; }
  .cfg { padding-bottom: 86px; height: 100dvh; overflow: hidden; }
  .stepper { padding: 10px 24px; } .stepper li { flex: 0 1 auto; } .stepper button { padding: 6px 14px 6px 6px; }
  .cfg-top { padding: 12px 24px; }
  .pb-toco { width: 74px; height: 74px; margin-top: -30px; }
  .pricebar .range { font-size: 26px; }
  .nav-btns { position: sticky; bottom: -40px; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0 10px; margin-bottom: -10px; }
}

/* ---------- shop panel ---------- */
.taller-top { background: var(--grad); color: #fff; padding: 0 20px 26px; position: relative; overflow: hidden; }
.taller-top::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 10%, rgba(205,165,116,.3), transparent 70%); }
.taller-hello { max-width: 1120px; margin: 0 auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.taller-hello h1 { font-size: clamp(30px, 6vw, 44px); font-weight: 800; margin: 8px 0; }
.taller-hello .toco.big { width: 130px; flex: none; }
.link-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.85); margin: 0; }
.link-row b { word-break: break-all; color: #fff; }
.kpis { max-width: 1120px; margin: 18px auto 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); border-radius: var(--r-sm); padding: 12px 14px; backdrop-filter: blur(6px); }
.kpi small { display: block; font-size: 12px; color: rgba(255,255,255,.75); font-weight: 700; } .kpi b { font: 800 clamp(20px, 5vw, 28px)/1.1 var(--display); letter-spacing: -.02em; }
.taller-body { max-width: 860px; margin: 0 auto; padding: 18px 16px 60px; }
.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 999px; margin-bottom: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.tabs button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.lead { display: flex; gap: 14px; justify-content: space-between; background: var(--surface); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow-1); margin-bottom: 10px; animation: inR .4s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.lead-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .lead-top b { font: 800 17px/1.2 var(--display); }
.lead p { margin: 6px 0 0; font-size: 14px; }
.lead-price { text-align: right; display: grid; align-content: start; gap: 4px; } .lead-price b { font-size: 15px; white-space: nowrap; } .lead-price small { font-size: 12px; }
.tag { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tag.hot { background: rgba(233,77,54,.14); color: var(--accent); } .tag.hot::before { content: '🔥 '; }
.tag.warm { background: rgba(205,165,116,.25); color: #8A6436; }
@media (max-width: 560px) { .lead { flex-direction: column; } .lead-price { text-align: left; } .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:nth-child(2) { grid-column: span 2; order: -1; } .taller-hello .toco.big { width: 90px; } }
.card { background: var(--surface); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow-1); }
.price-table { width: 100%; border-collapse: collapse; } .price-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.price-table td:last-child { width: 150px; } .price-table .input { padding: 9px 10px; text-align: right; }
.pcts { display: flex; gap: 6px; align-items: center; width: auto !important; } .pcts .input { width: 64px; }
.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.colors button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); transition: transform .2s var(--spring); }
.colors button.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--c); transform: scale(1.08); }

/* misc */
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); z-index: 200; background: var(--graphite); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-2); animation: toastIn .3s var(--spring); max-width: calc(100vw - 32px); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 150; overflow: hidden; }
.confetti i { position: absolute; top: -20px; animation: fall var(--d) cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes fall { to { transform: translate(var(--x), 105vh) rotate(var(--r)); } }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (max-width: 420px) { .powered > span:first-child { display: none; } .shop > div:last-child { min-width: 0; } }
.doorbtn[hidden] { display: none; }

/* ---------- roaming Toco (flies across the page) ---------- */
.toco .wing { transform-origin: 98px 114px; transform-box: view-box; transition: transform .18s var(--ease); }
.toco .wing2 { transform-origin: 102px 110px; transform-box: view-box; transition: transform .18s var(--ease); }
.toco .feet { transform-origin: 100px 180px; transform-box: view-box; transition: transform .2s var(--ease); }
.toco.fly .wing { animation: flap .21s linear infinite; }
.toco.fly .wing2 { animation: flap2 .21s linear infinite; animation-delay: -.03s; }
.toco.fly.flare .wing, .toco.fly.flare .wing2 { animation-duration: .13s; }
.toco.fly.glide .wing { animation: none; transform: rotate(-4deg) scale(.96); }
.toco.fly.glide .wing2 { animation: none; transform: rotate(-10deg) scale(.96); }
.toco.fly .feet { transform: scaleY(.3); }
.toco.fly.flare .feet { transform: none; }
/* fast downstroke (0-35%), slower recovery up and back */
@keyframes flap { 0% { transform: rotate(118deg) scaleY(.9); } 35% { transform: rotate(-14deg) scaleY(1.04); } 55% { transform: rotate(10deg); } 100% { transform: rotate(118deg) scaleY(.9); } }
@keyframes flap2 { 0% { transform: rotate(104deg) scaleY(.9); } 35% { transform: rotate(-20deg) scaleY(1.02); } 55% { transform: rotate(4deg); } 100% { transform: rotate(104deg) scaleY(.9); } }
.roamer { position: fixed; left: 0; top: 0; z-index: 30; width: 76px; height: 76px; pointer-events: none; will-change: transform; filter: drop-shadow(0 10px 10px rgba(23,63,53,.22)); }
.roam-flip { width: 100%; height: 100%; transition: transform .12s linear; }
.roamer .toco { width: 100%; height: 100%; pointer-events: auto; cursor: pointer; }
.roam-say { position: absolute; bottom: calc(100% + 8px); left: 50%; width: max-content; max-width: min(230px, 70vw); background: var(--surface); color: var(--text); font: 700 14px/1.35 var(--ui); padding: 10px 14px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-2); border: 1px solid var(--line); animation: sayIn .35s var(--spring) both; transform-origin: 0 100%; }
.roam-say.r { left: auto; right: 50%; border-radius: 16px 16px 4px 16px; transform-origin: 100% 100%; }
.roam-say.below { bottom: auto; top: calc(100% + 8px); }
.roam-say.out { opacity: 0; transform: scale(.9); transition: .25s; }
@keyframes sayIn { from { opacity: 0; transform: scale(.6) translateY(6px); } }
.perch-wrap { position: relative; height: 96px; overflow: hidden; }
.perch { position: absolute; left: 0; bottom: 0; width: min(280px, 62vw); }
.perch svg { transform: scaleX(-1); }
.perch svg { display: block; width: 100%; height: auto; }
.perch-pt { position: absolute; left: 67%; top: 47%; width: 1px; height: 1px; }
.perch-wrap.r .perch { left: auto; right: 0; } .perch-wrap.r .perch svg { transform: none; } .perch-wrap.r .perch-pt { left: 33%; }
.perch-wrap + .section { padding-top: 6px; }
.roamer .shadow { display: none; }
@media (max-width: 600px) { .roamer { width: 58px; height: 58px; } }

/* waitlist (public test site only) */
.wl-card { align-items: stretch; }
.wl-offer { flex: 1 1 280px; position: relative; z-index: 1; }
.wl-offer h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wl-was { font-size: 22px; font-weight: 700; opacity: .55; text-decoration-thickness: 2px; }
.wl-box { flex: 1 1 300px; position: relative; z-index: 1; background: var(--surface); color: var(--text); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-2); }
.wl-box h4 { font: 800 22px/1.1 var(--display); margin: 0 0 14px; letter-spacing: -.02em; color: var(--text); }
.wl-box .field { margin-bottom: 12px; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-ok { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--muted, #5b625e); margin: 4px 0 14px; cursor: pointer; }
.wl-ok input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--red); }
.wl-err { color: var(--red); font-weight: 700; font-size: 14px; margin: 0 0 12px; }
.wl-done { text-align: center; padding: 18px 4px; }
.wl-done p { margin: 0; color: var(--muted, #5b625e); }
.wl-tick { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--leaf); color: #fff; font: 800 28px/1 var(--ui); margin-bottom: 12px; animation: knockpop .6s var(--spring) both; }
.wl-now { white-space: nowrap; }
@media (max-width: 420px) { .wl-card { padding: 22px 18px; } .wl-offer h3 { font-size: 40px; } .wl-box { padding: 18px; } }
