:root {
  --paper: #F4F4F0;
  --paper-2: #ECECE6;
  --white: #FFFFFF;
  --ink: #17171A;
  --ink-2: #55555A;
  --line: #DCDCD5;
  --gold: #A8803A;
  --gold-2: #C9A45C;
  --night: #0E0E0F;
  --ok: #2F6B4B;
  --warn: #8A4B14;
  --err: #9B2C2C;
  --fd: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --fu: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--fu); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .035 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
h1, h2, h3 { font-family: var(--fd); font-weight: 600; line-height: .98; letter-spacing: -.005em; margin: 0; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 22ch; }
h3 { font-size: 1.7rem; line-height: 1.05; }
p { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.fine { font-size: .85rem; color: var(--ink-2); }
[hidden] { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; border-radius: 8px; padding: .85rem 1.4rem; font-weight: 500; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { box-shadow: 0 6px 18px rgba(23,23,26,.22); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #94702F; box-shadow: 0 6px 18px rgba(168,128,58,.35); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-sm { padding: .5rem 1rem; min-height: 40px; font-size: .92rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* nav */
.nav { position: fixed; z-index: 30; top: 12px; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 24px)); display: flex; align-items: center; gap: 1.5rem; padding: .45rem .55rem .45rem 1.1rem; border-radius: 12px; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(244,244,240,.88); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(23,23,26,.06); }
.brand { font-family: var(--fd); font-weight: 700; font-size: 1.7rem; letter-spacing: .02em; text-decoration: none; line-height: 1; }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; font-size: .93rem; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* hero */
.hero { min-height: 100svh; padding: 120px var(--gutter) 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 80px); align-items: center; max-width: 1440px; margin: 0 auto; }
.hero-lede { color: var(--ink-2); margin-bottom: 1.2rem; }
.hero h1 { font-size: clamp(3.3rem, 6.4vw, 6.2rem); font-weight: 600; letter-spacing: -.01em; max-width: 13ch; line-height: .92; }
.hero-sub { margin-top: 1.6rem; font-size: 1.12rem; max-width: 46ch; color: var(--ink-2); }
.hero-cta { margin-top: 2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.try { display: block; margin-top: 2.4rem; max-width: 340px; }
.try span { display: block; font-size: .86rem; color: var(--ink-2); margin-bottom: .35rem; }
.try input { width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font: inherit; }
.try input:focus { outline: 2px solid var(--gold); border-color: transparent; }

.stage { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: 760px; justify-self: end; }
.stage-front, .stage-back { position: absolute; width: 82%; aspect-ratio: 90 / 50; border-radius: 3px; overflow: hidden; }
.stage-front { left: 0; top: 16%; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 30px 60px -20px rgba(23,23,26,.38), 0 12px 24px -12px rgba(23,23,26,.2); transform: rotate(-2.2deg); background: var(--white); }
.stage-back { right: 0; top: 34%; transform: rotate(3.5deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); background: var(--night); }
.stage-front > svg, .stage-back > svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s var(--ease); }
.stage-front > svg.on, .stage-back > svg.on { opacity: 1; }
.stage-caption { position: absolute; left: 0; bottom: 4%; display: flex; align-items: center; gap: 1rem; font-size: .9rem; color: var(--ink-2); }
.ticks { display: flex; gap: 4px; }
.ticks button { width: 22px; height: 22px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.ticks button::after { content: ''; width: 14px; height: 2px; background: var(--line); transition: background .3s, width .3s; }
.ticks button.on::after { background: var(--gold); width: 18px; }
.hero-in { animation: heroIn .9s var(--ease) both; }
.stage-front { animation: cardIn 1.1s var(--ease) .1s both; }
.stage-back { animation: cardIn 1.1s var(--ease) .35s both; }
@keyframes cardIn { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; min-height: 0; }
  .stage { max-width: 560px; justify-self: start; }
}

/* sections */
section { position: relative; }
.sec-head { max-width: 1100px; margin: 0 auto 2.5rem; display: grid; gap: 1rem; }
.sec-head p { max-width: 62ch; color: var(--ink-2); font-size: 1.05rem; }
.strip, .how, .gallery, .products, .finishes, .teams, .faq { padding: clamp(56px, 9vw, 120px) var(--gutter); max-width: 1440px; margin: 0 auto; }
.strip { padding-block: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-block: 1px solid var(--line); max-width: none; background: var(--white); }
.strip p { max-width: 38ch; color: var(--ink-2); font-size: .95rem; margin-inline: auto; }
.strip strong { color: var(--ink); font-weight: 600; }
@media (max-width: 800px) { .strip { grid-template-columns: 1fr; } .strip p { margin: 0; } }

/* how */
.steps { list-style: none; counter-reset: s; margin: 0 auto; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.steps li { counter-increment: s; display: grid; grid-template-rows: 210px auto auto; gap: .6rem; align-content: start; }
.steps h3::before { content: counter(s) '. '; color: var(--gold); }
.steps p { color: var(--ink-2); font-size: .95rem; }
.step-visual { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; overflow: hidden; position: relative; }
.fields-demo { display: grid; gap: 4px; align-content: center; }
.fd { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.fd i { font-style: normal; font-size: .7rem; color: var(--ink-2); }
.fd b { font-weight: 500; font-size: .9rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.clean-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 14px 30px; }
.cd-before, .cd-after { border-radius: 8px; display: grid; place-items: center; padding: 14px; }
.cd-before { background: #D8D2C4; }
.cd-before img { background: #D8D2C4; }
.cd-after { background-color: #fff; background-image: linear-gradient(45deg, #e8e8e2 25%, transparent 25%, transparent 75%, #e8e8e2 75%), linear-gradient(45deg, #e8e8e2 25%, transparent 25%, transparent 75%, #e8e8e2 75%); background-size: 12px 12px; background-position: 0 0, 6px 6px; }
.cd-before img, .cd-after img { max-height: 76px; width: auto; }
.cd-l, .cd-r { position: absolute; bottom: 8px; font-size: .75rem; color: var(--ink-2); }
.cd-l { left: 18px; } .cd-r { right: 18px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; align-content: center; }
.mini-grid div { aspect-ratio: 90/50; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.mini-grid svg { width: 100%; height: 100%; }
.price-demo { display: grid; align-content: center; gap: 10px; }
.pd { display: flex; justify-content: space-between; gap: 8px; font-size: .84rem; }
.pd b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pd.total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 1rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* gallery */
.gallery { max-width: none; background: var(--paper-2); }
.gallery .sec-head h2 { max-width: 24ch; }
.gal-track { display: flex; gap: 28px; overflow-x: auto; padding: 36px var(--gutter) 48px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x proximity; scrollbar-width: thin; }
.gal-item { flex: 0 0 min(440px, 78vw); scroll-snap-align: start; }
.gal-item .card, .card { aspect-ratio: 90/50; border-radius: 3px; overflow: hidden; background: var(--white); box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 22px 40px -22px rgba(23,23,26,.4); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gal-item:hover .card { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 30px 46px -22px rgba(23,23,26,.45); }
.card svg { width: 100%; height: 100%; }
.gal-item figcaption { margin-top: 14px; font-size: .92rem; color: var(--ink-2); }
.gal-item { margin: 0; }
.gal-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* products */
.prod-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); max-width: 1100px; margin: 0 auto; }
.prod { display: grid; gap: .9rem; align-content: start; }
.prod-card { aspect-ratio: 90/50; border-radius: 3px; overflow: hidden; box-shadow: 0 24px 44px -22px rgba(23,23,26,.45); }
.prod-card svg { width: 100%; height: 100%; }
.prod p { color: var(--ink-2); max-width: 52ch; }
.ptable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; max-width: 480px; }
.ptable th, .ptable td { padding: .55rem 0; border-bottom: 1px solid var(--line); text-align: right; font-weight: 500; }
.ptable th:first-child { text-align: left; font-weight: 400; color: var(--ink-2); }
.ptable thead th { font-size: .82rem; color: var(--ink-2); font-weight: 400; }
.budget { max-width: 1100px; margin: 2.4rem auto 0; color: var(--ink-2); }
@media (max-width: 800px) { .prod-row { grid-template-columns: 1fr; } }

/* finishes */
.finishes { max-width: none; background: var(--night); color: #E9E6DD; }
.finishes .sec-head p { color: #A9A69B; }
.fin-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); max-width: 1100px; margin: 0 auto; }
.fin { display: grid; gap: .8rem; align-content: start; }
.fin-tile { aspect-ratio: 4/3; border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.fin-tile svg { width: 60%; }
.fin p { color: #A9A69B; font-size: .96rem; }
.fin .tag { color: var(--gold-2); font-weight: 500; font-size: .95rem; }
@media (max-width: 860px) { .fin-row { grid-template-columns: 1fr; } .fin-tile { aspect-ratio: 16/9; } }

/* custom */
.custom { padding: clamp(56px, 9vw, 110px) var(--gutter); }
.custom-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.custom-inner > div:first-child { display: grid; gap: 1rem; }
.custom-inner > div:first-child p { color: var(--ink-2); max-width: 46ch; }
.custom-opts { display: grid; gap: 14px; }
.co { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; }
.co .price { font-family: var(--fd); font-weight: 600; font-size: 1.8rem; line-height: 1; }
.co p { grid-column: 1 / -1; color: var(--ink-2); font-size: .93rem; }
.custom-opts .btn { justify-self: start; }
@media (max-width: 800px) { .custom-inner { grid-template-columns: 1fr; } }

/* teams */
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 1rem; align-content: start; }
.team-card p { color: var(--ink-2); }
.roster { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .88rem; }
.roster div { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; padding: .55rem .8rem; border-bottom: 1px solid var(--line); }
.roster div:last-child { border: 0; }
.roster .flag { color: var(--warn); }
.roster .ok { color: var(--ok); }
.reorder-demo { display: grid; gap: 8px; }
.reorder-demo span { border: 1px solid var(--line); border-radius: 8px; padding: .6rem .9rem; font-size: .93rem; }
@media (max-width: 800px) { .teams { grid-template-columns: 1fr; } }

/* faq */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq .sec-head { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1.1rem 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--gold); transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 1.2rem; color: var(--ink-2); max-width: 62ch; }

/* final / footer */
.final { background: var(--night); color: #F1EEE5; text-align: center; padding: clamp(72px, 12vw, 150px) var(--gutter); display: grid; gap: 2rem; justify-items: center; }
.final h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 14ch; }
.footer { background: var(--night); color: #A9A69B; padding: 36px var(--gutter) 48px; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; border-top: 1px solid #26262a; }
.footer .brand { color: #F1EEE5; }
.footer nav { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: .92rem; align-items: center; }
.footer a { text-decoration: none; }
.footer a:hover, .footer .linklike:hover { color: #F1EEE5; }

/* dialogs */
.dlg { border: 0; border-radius: 14px; padding: 0; max-width: min(560px, calc(100% - 32px)); width: 100%; background: var(--white); color: var(--ink); }
.dlg::backdrop { background: rgba(14,14,15,.55); }
.dlg form { padding: 28px; display: grid; gap: 1rem; }
.dlg-wide { max-width: min(1100px, calc(100% - 32px)); }
.dlg p { color: var(--ink-2); }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.compare-grid figure { margin: 0; display: grid; gap: .5rem; }
.compare-grid figcaption { font-size: .92rem; }

/* ================= STUDIO ================= */
.studio { position: fixed; inset: 0; z-index: 50; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.studio-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1.2rem; padding: .7rem var(--gutter); background: rgba(244,244,240,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.studio-close { background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .9rem; min-height: 40px; }
.studio-close:hover { border-color: var(--ink); }
.progress { list-style: none; margin: 0 auto 0 0; padding: 0; display: flex; gap: .3rem; font-size: .88rem; overflow-x: auto; }
.progress li { padding: .35rem .7rem; border-radius: 99px; color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s; }
.progress li.cur { background: var(--ink); color: var(--white); }
.progress li.done { color: var(--ink); }
.progress li.done::before { content: '✓ '; color: var(--gold); }
.saved { font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 760px) { .saved { display: none; } .progress li:not(.cur) { display: none; } }

.studio-body { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) 120px; }
.s-in { animation: sIn .5s var(--ease) both; }
@keyframes sIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.s-title { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 18ch; }
.s-lead { color: var(--ink-2); margin-top: .8rem; max-width: 56ch; }
.form { display: grid; gap: 1.1rem; margin-top: 2rem; max-width: 560px; }
.form.wide { max-width: 860px; grid-template-columns: 1fr 1fr; }
.form.wide .full { grid-column: 1 / -1; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .9rem; font-weight: 500; }
.field label small { font-weight: 400; color: var(--ink-2); }
.field input, .field select { padding: .8rem .95rem; border: 1px solid #C9C9C0; border-radius: 8px; background: var(--white); font: inherit; min-height: 48px; width: 100%; }
.field input:focus, .field select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.field .err { color: var(--err); font-size: .86rem; }
.hint { color: var(--ink-2); font-size: .9rem; }
.hint.good { color: var(--ok); }
.row-actions { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-top: .6rem; }
@media (max-width: 640px) { .form.wide { grid-template-columns: 1fr; } }

.drop { border: 1.5px dashed #B9B9AF; border-radius: 14px; padding: 2.4rem 1.4rem; text-align: center; background: var(--white); display: grid; gap: .5rem; justify-items: center; transition: border-color .2s, background .2s; max-width: 640px; margin-top: 2rem; }
.drop.over { border-color: var(--gold); background: #FBF8F1; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.logo-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 2rem; max-width: 820px; }
.lc { border: 2px solid var(--line); border-radius: 14px; padding: 14px; background: var(--white); display: grid; gap: .6rem; cursor: pointer; text-align: left; transition: border-color .2s, transform .2s var(--ease); }
.lc:hover { transform: translateY(-2px); }
.lc[aria-pressed="true"] { border-color: var(--gold); }
.lc .pic { aspect-ratio: 4/3; display: grid; place-items: center; border-radius: 8px; padding: 14px; }
.lc .pic img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.lc.cleaned .pic { background-color: #fff; background-image: linear-gradient(45deg, #ebebe5 25%, transparent 25%, transparent 75%, #ebebe5 75%), linear-gradient(45deg, #ebebe5 25%, transparent 25%, transparent 75%, #ebebe5 75%); background-size: 16px 16px; background-position: 0 0, 8px 8px; }
.lc.original .pic { background: #fff; }
.lc b { font-weight: 500; }
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 99px; font-size: .8rem; font-weight: 500; }
.b-ready { background: #E3F0E8; color: var(--ok); }
.b-clean { background: #E3F0E8; color: var(--ok); }
.b-review { background: #F6EAD6; color: var(--warn); }
.b-redraw { background: #F4DCDC; color: var(--err); }
.notice { border-left: 3px solid var(--gold); background: var(--white); padding: .9rem 1.1rem; border-radius: 0 8px 8px 0; max-width: 640px; margin-top: 1.4rem; color: var(--ink-2); }
.notice.warn { border-color: var(--warn); }
.notice.err { border-color: var(--err); }
@media (max-width: 560px) { .logo-compare { grid-template-columns: 1fr; } }

.making { min-height: 55vh; display: grid; place-content: center; gap: 1.6rem; justify-items: start; }
.making ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.making li { display: flex; align-items: center; gap: .7rem; color: #9A9A92; transition: color .3s; }
.making li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; }
.making li.on { color: var(--ink); }
.making li.on::before { border-color: var(--gold); animation: pulse 1s ease-in-out infinite; }
.making li.done { color: var(--ink); }
.making li.done::before { background: var(--gold); border-color: var(--gold); }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(168,128,58,.2); } }

/* results */
.res-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.seg button { background: none; border: 0; padding: .55rem 1rem; min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.rec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 2rem; }
.lay { display: grid; gap: .7rem; align-content: start; }
.lay .card { cursor: zoom-in; position: relative; }
.lay .card:hover { transform: translateY(-3px); }
.lay-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.lay-top .badge { background: #EFE5CF; color: #6F5420; }
.lay-name { font-weight: 500; }
.lay-why { color: var(--ink-2); font-size: .92rem; }
.lay-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.lay-actions .btn { padding: .55rem .9rem; min-height: 42px; font-size: .92rem; }
.icon-btn { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); display: grid; place-items: center; transition: transform .15s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn[aria-pressed="true"] { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.all-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; margin-top: 1.6rem; }
.sel { outline: 2px solid var(--gold); outline-offset: 5px; }
.more { margin-top: 2.4rem; display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; margin-top: 2rem; }
.panel summary { padding: 0; font-weight: 500; }
.edit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px 22px; margin-top: 1.2rem; }
.edit-row { display: grid; gap: .3rem; }
.edit-row .opts { display: flex; gap: 1rem; font-size: .84rem; color: var(--ink-2); }
.edit-row .opts label { display: flex; gap: .3rem; align-items: center; font-weight: 400; cursor: pointer; }
.compare-bar { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 60; background: var(--ink); color: var(--white); padding: .6rem .7rem .6rem 1.1rem; border-radius: 12px; display: flex; gap: 1rem; align-items: center; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.compare-bar .btn { min-height: 38px; padding: .4rem .9rem; }

/* print step */
.print-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 2rem; align-items: start; }
.print-prev { position: sticky; top: 90px; display: grid; gap: 1rem; }
.print-prev .card { box-shadow: 0 30px 56px -24px rgba(23,23,26,.5); }
.opt-group { border: 0; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .6rem; }
.opt-group legend { font-family: var(--fd); font-weight: 600; font-size: 1.6rem; padding: 0; margin-bottom: .5rem; line-height: 1; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; transition: border-color .2s, background .2s; min-height: 56px; }
.opt:hover { border-color: #B7B7AD; }
.opt:has(input:checked) { border-color: var(--gold); background: #FCFAF5; }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt input { accent-color: var(--gold); width: 18px; height: 18px; }
.opt small { display: block; color: var(--ink-2); font-size: .84rem; line-height: 1.35; }
.opt .p { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.opt.na { opacity: .55; }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; display: grid; gap: .5rem; }
.summary .line { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.summary .line span:last-child { font-variant-numeric: tabular-nums; }
.summary .total { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .8rem; align-items: baseline; }
.summary .total b { font-family: var(--fd); font-size: 2.6rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.summary .meta { color: var(--ink-2); font-size: .86rem; }
.agree { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); margin-top: .4rem; }
.agree input { margin-top: .25rem; accent-color: var(--gold); width: 18px; height: 18px; }
.done-box { max-width: 640px; }
@media (max-width: 900px) {
  .print-grid { grid-template-columns: 1fr; }
  .print-prev { position: static; }
  .summary.sticky { position: sticky; bottom: 0; margin: 0 -16px; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 30px rgba(23,23,26,.12); z-index: 4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .stage-front, .stage-back { animation: none; }
}
@media (max-width: 900px) { .rec-row { grid-template-columns: 1fr; } }
