/* =========================================================
   GetMadTools — product pages (Madconfig, MadPDF). Same family as the store:
   white, Bricolage Grotesque + Inter, cards and bands; each app has its own accent.
     body.mc → indigo   body.mp → coral
   3D: the hero scene (network floor / paper stack) tilts with the mouse (app.js);
   screenshots and cards tilt in CSS 3D. Only transform/opacity animate.
   ========================================================= */
:root {
  --ink: #111827; --text: #1F2937; --muted: #4B5563; --muted2: #6B7280;
  --ind: #4F46E5; --ind-d: #3730A3; --ind-dd: #312E81; --lav: #EEF0FF; --soft-i: #F5F6FF;
  --coral: #FF6B4A; --on-coral: #1F1147; --coral-t: #9A3412; --coral-d: #C2410C; --peach: #FFEDE8; --soft-c: #FFF6F3;
  --disp: "Bricolage Grotesque", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif; --mono: "JetBrains Mono", Consolas, monospace; --naskh: "Noto Naskh Arabic", "Segoe UI", serif;
  --pad: clamp(16px, 5vw, 72px); --max: 1280px;
  color-scheme: light;
}
body.mc { --acc: var(--ind); --acc-t: var(--ind); --acc-d: var(--ind-d); --tint: var(--lav); --soft: var(--soft-i); --line: #E8E9F5; --line2: #DADCF0; --on-acc: #FFFFFF; --shadow-c: 49,46,129; --dots: #C7CBF5; }
body.mp { --acc: var(--coral); --acc-t: var(--coral-d); --acc-d: var(--coral-t); --tint: var(--peach); --soft: var(--soft-c); --line: #F3E4DF; --line2: #F3D3CA; --on-acc: var(--on-coral); --shadow-c: 154,52,18; --dots: #F6C9BC; }
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--acc-t); } a:hover { color: var(--acc-d); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--disp); color: var(--ink); margin: 0; letter-spacing: -.04em; line-height: 1.02; font-weight: 800; }
code { font-family: var(--mono); font-size: .9em; color: var(--acc-d); background: var(--tint); padding: 1px 6px; border-radius: 5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acc { color: var(--acc-t); }
.stk { background: var(--coral); color: var(--on-coral); padding: 0 .12em; border-radius: .16em; display: inline-block; transform: rotate(-1.5deg); }
.k { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-t); }
::selection { background: var(--acc); color: var(--on-acc); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.h2 { font-size: clamp(32px, 4vw, 54px); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
.word { text-decoration: none; font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: var(--ink); }
.word:hover { color: var(--ink); } .word b { color: var(--acc); font-weight: 800; }
.menu { display: flex; gap: 24px; font-size: 15px; }
.menu a { color: var(--muted); text-decoration: none; transition: color .2s; } .menu a:hover { color: var(--ink); }
.back { margin-left: auto; color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.back:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; background: var(--acc); color: var(--on-acc); text-decoration: none; font-weight: 700; font-size: 16px; border: 0; cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(var(--shadow-c), .8); transition: transform .2s, box-shadow .2s; }
.btn:hover { color: var(--on-acc); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn-xl { min-height: 58px; padding: 0 30px; font-size: 17px; }
.line { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; background: #fff; transition: border-color .2s, transform .2s; }
.line:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.line span { display: flex; flex-direction: column; line-height: 1.15; } .line small { font-size: 11px; font-weight: 500; color: var(--muted2); }

/* ---------- hero ---------- */
.hero { padding-block: 60px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.pill { margin: 0; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-d); background: var(--tint); padding: 8px 14px; border-radius: 999px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.hero h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: .98; letter-spacing: -.045em; }
.sub { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.meta { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.meta li::before { content: "✓ "; color: var(--acc-t); font-weight: 700; }

/* hero 3D scene (shared frame) */
.scene { position: relative; height: 520px; border-radius: 32px; background-color: var(--soft); background-image: radial-gradient(var(--dots) 1.2px, transparent 1.2px); background-size: 22px 22px; border: 1px solid var(--line); overflow: hidden; perspective: 1300px; perspective-origin: 50% 25%; }
.tiltable { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.hud, .chip { position: absolute; background: #fff; border: 1px solid var(--line2); border-radius: 14px; padding: 12px 16px; box-shadow: 0 24px 40px -24px rgba(var(--shadow-c), .55); animation: bob 6s ease-in-out infinite; }
.hud small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted2); }
.hud b { display: block; font-family: var(--disp); font-size: 34px; line-height: 1.05; color: var(--ink); }
.hud span { font-size: 12px; color: var(--muted); }
.hud.hot { background: var(--coral); border-color: var(--coral); }
.hud.hot small, .hud.hot b { color: var(--on-coral); } .hud.hot b { font-size: 20px; }
.chip { font-size: 13px; font-weight: 600; color: var(--ink); padding: 10px 14px; border-radius: 12px; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* Madconfig: network floor */
.floor { position: absolute; left: 50%; top: 52%; width: 620px; height: 620px; margin: -310px 0 0 -310px; border-radius: 50%; transform: rotateX(62deg); transform-style: preserve-3d;
  background-image: radial-gradient(circle, var(--dots) 1.4px, transparent 1.5px); background-size: 24px 24px; animation: turn 40s linear infinite; }
.floor .ring { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; border: 2px solid var(--ind); border-radius: 50%; opacity: 0; transform: scale(.04); animation: ping 3.6s ease-out infinite; }
.floor .ring:nth-child(2) { animation-delay: 1.2s; } .floor .ring:nth-child(3) { animation-delay: 2.4s; }
.floor .wire { position: absolute; left: 50%; top: 50%; height: 2px; background: #A5ABEF; transform-origin: 0 50%; }
.floor .node { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--ind); box-shadow: 0 0 0 7px rgba(79,70,229,.14); }
.floor .node.c { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: var(--coral); box-shadow: 0 0 0 10px rgba(255,107,74,.18); }
@keyframes turn { to { transform: rotateX(62deg) rotateZ(360deg); } }
@keyframes ping { 0% { transform: scale(.04); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }

/* MadPDF: paper stack */
.stack { position: absolute; left: 50%; top: 50%; width: 300px; height: 396px; margin: -198px 0 0 -150px; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-24deg); animation: sway 8s ease-in-out infinite; }
.sheet { position: absolute; inset: 0; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -30px rgba(154,52,18,.55); }
.sheet.s3 { transform: translateZ(-60px) translateX(46px) rotate(6deg); background: #FFD3C8; }
.sheet.s2 { transform: translateZ(-30px) translateX(22px) rotate(3deg); background: #FFE6DF; }
.sheet.s1 { padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.sheet.s1 > i { display: block; height: 8px; border-radius: 4px; background: #E5E7EB; }
.sheet.s1 > i.a { background: #FFB4A2; }
.inv { display: flex; justify-content: space-between; align-items: center; }
.inv b { font-family: var(--disp); font-size: 18px; letter-spacing: .04em; color: var(--ind-dd); }
.inv span { font-family: var(--mono); font-size: 11px; color: var(--muted2); }
.ar1 { margin: 4px 0 0; font-family: var(--naskh); font-weight: 700; font-size: 20px; color: var(--ind-dd); text-align: right; }
.ar2 { margin: 0; font-family: var(--naskh); font-size: 14px; color: var(--muted); text-align: right; }
.sig { width: 150px; margin-top: auto; }
.sig path { fill: none; stroke: var(--ind); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: sign 5s ease-in-out infinite; }
.stamp { position: absolute; right: 22px; bottom: 26px; font-family: var(--disp); font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--coral-d); border: 2.5px solid var(--coral); border-radius: 8px; padding: 4px 10px; transform: translateZ(20px) rotate(-10deg); animation: stamp 5s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotateX(12deg) rotateY(-12deg) translateY(-10px); } }
@keyframes sign { 0%, 15% { stroke-dashoffset: 600; } 50%, 100% { stroke-dashoffset: 0; } }
@keyframes stamp { 0%, 50% { opacity: 0; transform: translateZ(20px) rotate(-10deg) scale(1.8); } 58%, 100% { opacity: 1; transform: translateZ(20px) rotate(-10deg) scale(1); } }

/* ---------- stats ---------- */
.stats { margin-block: 20px 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.stats > div { background: #fff; padding: 24px; }
.stats > div:last-child { background: var(--tint); }
.stats b { display: block; font-family: var(--disp); font-weight: 800; font-size: 48px; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.stats > div:last-child b { color: var(--acc-t); }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- bands (tinted sections) ---------- */
.band { background: var(--soft); border-block: 1px solid var(--line); }
.band > .wrap { padding-block: 72px; }

/* ---------- inside: screenshot tabs ---------- */
.inside { display: flex; flex-direction: column; gap: 26px; align-items: center; text-align: center; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tabs button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; color: #374151; font: 500 14px var(--body); cursor: pointer; transition: all .2s; }
.tabs button:hover { border-color: var(--ink); }
.tabs button.on { background: var(--acc); border-color: var(--acc); color: var(--on-acc); font-weight: 700; }
.screen { width: 100%; max-width: 1080px; perspective: 1600px; }
.screen-in { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; border: 1px solid var(--line2); background: #fff; box-shadow: 0 60px 100px -50px rgba(var(--shadow-c), .7);
  transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, -6deg)); transition: transform .6s cubic-bezier(.16,1,.3,1); will-change: transform; }
.screen-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .5s; }
.screen-in img.on { opacity: 1; }
.screen-in picture { display: contents; }

/* ---------- feature cards ---------- */
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; perspective: 1200px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.card:hover { transform: translateY(-6px) rotateX(5deg); box-shadow: 0 24px 40px -24px rgba(var(--shadow-c), .45); }
.ic { width: 46px; height: 46px; border-radius: 13px; background: var(--tint); color: var(--acc-t); display: grid; place-items: center; }
.ic.alt { background: var(--peach); color: var(--coral-d); }
body.mp .ic.alt { background: var(--lav); color: var(--ind); }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.tagm { margin-top: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--acc-d); text-transform: uppercase; }

/* ---------- two-column sections ---------- */
.two { padding-block: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 48px; align-items: center; }
.two-copy { display: flex; flex-direction: column; gap: 18px; }
.two-copy > p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.ticks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--text); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 8px; background: var(--acc); color: var(--on-acc); display: grid; place-items: center; font-size: 13px; font-weight: 700; }

/* vault cards */
.offices { display: flex; flex-direction: column; gap: 14px; font-family: var(--mono); perspective: 1200px; }
.office { background: #fff; border: 1px solid var(--line2); border-radius: 16px; padding: 18px 20px; box-shadow: 0 24px 40px -30px rgba(var(--shadow-c), .5); }
.office:nth-child(2) { margin-left: 40px; }
.office small { font-size: 11px; letter-spacing: .12em; color: var(--muted2); }
.office .row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.office .row b { font-family: var(--disp); font-size: 22px; color: var(--ink); }
.office .row span { color: var(--acc-t); font-size: 13px; }
.office .key { display: block; font-size: 13px; color: var(--acc-d); background: var(--tint); padding: 8px 10px; border-radius: 8px; }
.office.warn { border: 1px dashed var(--coral); }
.office.warn .row span { color: var(--coral-d); } .office.warn .key { color: var(--coral-t); background: var(--peach); }

/* steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; perspective: 1200px; }
.steps .card b { font-family: var(--disp); font-weight: 800; font-size: 44px; letter-spacing: -.04em; color: var(--acc-t); line-height: 1; }
.keycard { margin: 40px auto 0; max-width: 640px; padding: 24px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line2); font-family: var(--mono); box-shadow: 0 40px 70px -40px rgba(var(--shadow-c), .6); transform: perspective(1200px) rotateX(16deg) rotateY(-10deg); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.keycard:hover { transform: none; }
.keycard small { font-size: 11px; letter-spacing: .2em; color: var(--acc-t); }
.keycard code { display: block; background: none; padding: 0; color: var(--ink); font-size: 14px; margin: 14px 0 18px; overflow-wrap: anywhere; }
.keycard .kf { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); }
.keycard .ok { color: #047857; font-weight: 600; }

/* arabic samples */
.samples { display: flex; flex-direction: column; gap: 14px; }
.samples img { border-radius: 16px; border: 1px solid var(--line2); box-shadow: 0 40px 70px -40px rgba(var(--shadow-c), .55); transform: perspective(1400px) rotateY(10deg) rotateX(4deg); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.samples img:hover { transform: none; }
.sample { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; text-align: right; }
.sample small { display: block; text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted2); }
.sample p { margin: 6px 0 0; font-family: var(--naskh); font-weight: 700; font-size: 24px; color: var(--ind-dd); }
.sample span { display: block; text-align: left; font-size: 13px; color: var(--muted); margin-top: 4px; }
.mix { font-family: var(--naskh); }

/* privacy */
.zeros { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 30px; }
.zeros .card { align-items: center; text-align: center; }
.zeros b { font-family: var(--disp); font-weight: 800; font-size: 60px; line-height: 1; color: var(--acc-t); }
.online { margin: 22px auto 0; max-width: 880px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px; }
.online h3 { font-size: 20px; margin-bottom: 10px; }
.online ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }

/* ---------- download band ---------- */
.dl { padding-block: 72px; }
.dl-card { background: var(--acc); border-radius: 32px; padding: clamp(28px, 5vw, 60px); position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; align-items: center; }
.dl-card::after { content: ""; position: absolute; right: -70px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.16); pointer-events: none; }
.dl-card h2 { color: var(--on-acc); font-size: clamp(32px, 3.6vw, 50px); }
.dl-card .ver { margin: 10px 0 0; font-size: 16px; color: var(--on-acc); opacity: .85; }
.dl-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.dl-main { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; }
body.mp .dl-main { background: var(--ink); color: #fff; }
.dl-main:hover { color: var(--ink); } body.mp .dl-main:hover { color: #fff; }
.dl-alt { display: inline-flex; align-items: center; min-height: 56px; padding: 0 22px; border-radius: 14px; border: 1px solid rgba(255,255,255,.45); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.dl-alt:hover { color: #fff; border-color: #fff; }
.dl-notes { margin-top: 18px; display: grid; gap: 12px; max-width: 880px; }
.dl-notes p { margin: 0; font-size: 14px; color: var(--muted); }
.smart { border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; font-size: 14px; color: var(--muted); background: #fff; }
.smart summary { cursor: pointer; color: var(--ink); font-weight: 600; }

/* ---------- team licence card ---------- */
.team { padding-block: 0 72px; }
.team-card { border-radius: 26px; background: var(--ink); color: #CBD5E1; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 30px; align-items: center; }
.team-card h2 { color: #fff; font-size: clamp(28px, 3.2vw, 44px); }
.team-card p { margin: 0 0 18px; }
.team-card .line { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* ---------- faq ---------- */
.faq { max-width: 960px; margin: 0 auto; padding: 72px var(--pad) 80px; }
.faq h2 { margin-bottom: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; background: #fff; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 16px 30px -22px rgba(var(--shadow-c), .45); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-family: var(--disp); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--acc-t); font-size: 24px; font-weight: 600; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); line-height: 1.6; }

/* ---------- contact + footer ---------- */
.contact { text-align: center; padding-block: 20px 90px; }
.contact h2 { font-size: clamp(30px, 4vw, 52px); }
.contact .mail { display: inline-block; margin-top: 10px; font-family: var(--disp); font-weight: 800; font-size: clamp(22px, 3vw, 36px); letter-spacing: -.03em; color: var(--acc-t); text-decoration: none; border-bottom: 3px solid var(--tint); }
.contact p { color: var(--muted); }
.foot { border-top: 1px solid var(--line); padding: 26px var(--pad); display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; font-size: 14px; color: var(--muted2); }
.foot .word { font-size: 18px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; } .foot nav a:hover { color: var(--acc-t); }
.foot p { margin: 0 0 0 auto; }

/* ---------- scroll reveal (app.js) ---------- */
.rv { opacity: 0; transform: perspective(1000px) translateY(46px) rotateX(16deg); transform-origin: 50% 100%; transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) { .menu { display: none; } }
@media (max-width: 600px) {
  .top { gap: 12px; }
  .top .btn-sm { display: none; }
  .scene { height: 440px; border-radius: 24px; }
  .floor { width: 460px; height: 460px; margin: -230px 0 0 -230px; }
  .floor .ring { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
  .stack { width: 230px; height: 304px; margin: -152px 0 0 -115px; }
  .sheet.s1 { padding: 22px 20px; gap: 9px; }
  .hud { padding: 9px 12px; } .hud b { font-size: 24px; }
  .chip { font-size: 12px; }
  .cta .btn, .cta .line { width: 100%; }
  .office:nth-child(2) { margin-left: 0; }
  .foot p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .floor, .floor .ring, .stack, .sig path, .stamp, .hud, .chip { animation: none; }
  .sig path { stroke-dashoffset: 0; }
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
