/* ===== One-page layout: background, rhythm and motion =====
   Motion rules: fade, zoom, rotation and morphing only (no sliding or wiping). Everything stops for "reduce motion". */
:root { --sy: 0; --p: 0; }
body { background: #04060B; }

/* ---------- fixed animated background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #04060B; transform: translate3d(0, calc(var(--sy) * -0.04px), 0); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.o1 { width: 62vmax; height: 46vmax; inset-inline-start: -16vmax; top: -18vmax; background: radial-gradient(closest-side, #0068FD, transparent); animation: orbA 24s ease-in-out infinite alternate; }
.o2 { width: 46vmax; height: 58vmax; inset-inline-end: -14vmax; top: 34vh; background: radial-gradient(closest-side, #0A3FB0, transparent); animation: orbB 30s ease-in-out infinite alternate; }
.o3 { width: 52vmax; height: 36vmax; inset-inline-start: 18vw; bottom: -16vmax; background: radial-gradient(closest-side, rgba(14, 116, 144, 0.9), transparent); animation: orbC 26s ease-in-out infinite alternate; }
@keyframes orbA { from { transform: rotate(0deg) scale(1); } to { transform: rotate(38deg) scale(1.18); } }
@keyframes orbB { from { transform: rotate(0deg) scale(1.1); } to { transform: rotate(-42deg) scale(0.9); } }
@keyframes orbC { from { transform: rotate(0deg) scale(0.95); } to { transform: rotate(30deg) scale(1.2); } }
.gridl { position: absolute; inset: 0; background-image: linear-gradient(rgba(106, 170, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(106, 170, 255, 0.07) 1px, transparent 1px); background-size: 68px 68px; -webkit-mask-image: radial-gradient(ellipse at 50% 28%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 28%, #000 10%, transparent 72%); }
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 70; transform-origin: left center; transform: scaleX(var(--p)); background: linear-gradient(90deg, #0068FD, #6AAAFF); }
html[dir="rtl"] .progress { transform-origin: right center; }

/* ---------- header ---------- */
.site-header { background: transparent; border-bottom: 1px solid transparent; transition: background-color 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s; }
.site-header.scrolled { background: rgba(5, 7, 10, 0.78); border-bottom-color: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.09); }

/* ---------- hero ---------- */
.hero.full { min-height: calc(100svh - 74px); display: grid; place-items: center; padding: 96px 0 150px; background: none; overflow: hidden; position: relative; }
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.7rem, 6.8vw, 5.8rem); max-width: 17ch; text-shadow: 0 0 60px rgba(0, 104, 253, 0.35); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 40ch; }
.hero [data-enter] { animation: heroIn 1.1s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; filter: blur(14px); transform: scale(0.94); } to { opacity: 1; filter: blur(0); transform: none; } }
.hero .cune { animation: heroIn 1.1s var(--ease) both, glow 4.5s ease-in-out 1.2s infinite; }
@keyframes glow { 0%, 100% { text-shadow: 0 0 10px rgba(106, 170, 255, 0.25); } 50% { text-shadow: 0 0 30px rgba(106, 170, 255, 0.85); } }
.cue { position: absolute; bottom: 38px; left: 50%; margin-left: -14px; width: 28px; height: 46px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); display: grid; justify-items: center; padding-top: 9px; transition: box-shadow 0.3s; }
.cue:hover { box-shadow: inset 0 0 0 2px #fff; }
.cue i { width: 4px; height: 9px; border-radius: 3px; background: #fff; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- key facts ---------- */
.facts { padding: 0; margin-top: -72px; position: relative; z-index: 2; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; background: rgba(10, 14, 22, 0.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0, 104, 253, 0.55); }
.facts li { display: flex; gap: 16px; align-items: flex-start; padding: 28px 26px; position: relative; transition: background-color 0.4s; }
.facts li + li { border-inline-start: 1px solid rgba(255, 255, 255, 0.08); }
.facts li:hover { background: rgba(0, 104, 253, 0.12); }
.facts .fi { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 104, 253, 0.18); box-shadow: inset 0 0 0 1px rgba(106, 170, 255, 0.35); }
.facts .fi svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.facts li:hover .fi svg { transform: rotateY(360deg); transition: transform 0.9s var(--ease); }
.facts b { display: block; font-size: 1.12rem; letter-spacing: -0.01em; }
.facts span:not(.fi) { display: block; margin-top: 4px; color: var(--ink-2); font-size: 0.95rem; }

/* ---------- sections ---------- */
main > section.sec { padding: 124px 0; position: relative; background: transparent; }
main > section.sec + section.sec::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1144px, calc(100% - 56px)); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent); }
.sec.prod:nth-of-type(n) { background: transparent; }
.sec.prod .copy { order: 0 !important; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-text); }
.eyebrow i { font-style: normal; padding: 4px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(106, 170, 255, 0.5); letter-spacing: 0.06em; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.92rem; }
.head h2, .sec .copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.head.center { margin-inline: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }
.sec .lead { color: var(--ink-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two .rows li { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
.subh { font-size: 1.3rem; margin-bottom: 8px; color: var(--blue-text); }
#about::after, #kanon::after, #iatros::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#about::after { background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
#kanon::after { background: radial-gradient(60% 50% at 85% 20%, rgba(0, 104, 253, 0.22), transparent 70%); }
#iatros::after { background: radial-gradient(60% 55% at 12% 50%, rgba(34, 211, 238, 0.16), transparent 70%); }

/* ---------- glass cards and 3D tilt (rotation only) ---------- */
.pcard, .pkg:not(.pro), form#leadForm { background: rgba(10, 14, 22, 0.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.09); }
.pcard, .pkg { transition: transform 0.25s ease-out, box-shadow 0.4s, border-color 0.4s, opacity 0.8s var(--ease), filter 0.8s var(--ease); }
.pcard:hover, .pkg:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.012) !important; border-color: rgba(106, 170, 255, 0.55); box-shadow: 0 30px 70px -34px rgba(0, 104, 253, 0.7); }
.pkg.pro { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 30px 90px -30px rgba(0, 104, 253, 0.9); animation: proGlow 5s ease-in-out infinite; }
@keyframes proGlow { 0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 30px 90px -30px rgba(0, 104, 253, 0.7); } 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45), 0 30px 110px -20px rgba(0, 104, 253, 1); } }
.reel { box-shadow: 0 40px 100px -40px rgba(0, 104, 253, 0.6); border-color: rgba(255, 255, 255, 0.12); }
.logo-panel { background: radial-gradient(520px 300px at 50% 35%, rgba(0, 104, 253, 0.4), transparent 70%), #07090E; }
.btn-solid { position: relative; overflow: hidden; }
.btn-solid::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.35), transparent 60%); opacity: 0; transition: opacity 0.35s; }
.btn-solid:hover::after { opacity: 1; }
.feat li { transition: background-color 0.4s; padding-inline: 10px; border-radius: 6px; }
.feat li:hover { background: rgba(0, 104, 253, 0.1); }
.faq details { transition: background-color 0.3s; }
.faq details[open] { background: rgba(255, 255, 255, 0.03); }

/* ---------- reveal: fade + zoom + soft focus (no sliding) ---------- */
html.rv [data-r] { opacity: 0; transform: scale(0.965); filter: blur(5px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease); transition-delay: var(--d, 0s); }
html.rv [data-r].in, html.rv.all [data-r] { opacity: 1; transform: none; filter: none; }

/* ---------- contact: the blue panel ---------- */
.contact .wrap { position: relative; overflow: hidden; width: calc(100% - 56px); padding: 60px 56px; border-radius: 28px; background: linear-gradient(135deg, #0068FD 0%, #0A4FD0 55%, #06298F 100%); box-shadow: 0 50px 120px -50px rgba(0, 104, 253, 0.9); isolation: isolate; }
.contact .wrap::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; inset-inline-end: -12%; top: -40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), transparent); z-index: -1; animation: orbA 18s ease-in-out infinite alternate; }
.contact .eyebrow, .contact .eyebrow i { color: #fff; box-shadow: none; }
.contact .eyebrow i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
.contact .lead { color: #fff; }
.contact .reach a { border-bottom-color: rgba(255, 255, 255, 0.28); color: #fff; }
.contact .reach svg { stroke: #fff; }
.contact form#leadForm { background: rgba(4, 8, 20, 0.62); border-color: rgba(255, 255, 255, 0.18); }

/* ---------- footer ---------- */
.site-footer { background: rgba(0, 0, 0, 0.72); border-top: 1px solid rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-block: 64px 40px; }
.f-brand p { margin-top: 18px; max-width: 34ch; color: var(--ink-2); line-height: 1.7; }
.foot-grid h4 { font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
html[dir="rtl"] .foot-grid h4 { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.foot-grid nav, .f-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.foot-grid a { color: var(--ink-2); padding: 5px 0; transition: color 0.2s; }
.foot-grid a:hover { color: #fff; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: var(--ink-2); font-size: 0.92rem; }

/* ---------- screens ---------- */
@media (max-width: 1000px) {
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-inline-start: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .two { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact .wrap { padding: 44px 30px; }
  main > section.sec { padding: 92px 0; }
}
@media (max-width: 560px) {
  .hero.full { padding: 72px 0 130px; }
  .facts { margin-top: -56px; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li + li { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .contact .wrap { width: calc(100% - 36px); padding: 34px 22px; border-radius: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; }
  main > section.sec { padding: 72px 0; }
  .orb { filter: blur(60px); }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .cue i, .hero .cune, .hero [data-enter], .pkg.pro, .contact .wrap::before { animation: none !important; }
  .pcard:hover, .pkg:hover { transform: none !important; }
  html.rv [data-r] { transition: none; }
}

/* ---------- plans: extras and single features ---------- */
.pkgs { align-items: stretch; }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.addon { display: flex; flex-direction: column; gap: 14px; padding: 34px 30px; border-radius: 16px; background: rgba(10, 14, 22, 0.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.09); }
.addon .tag { align-self: flex-start; padding: 4px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(106, 170, 255, 0.5); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-text); margin: 0; }
html[dir="rtl"] .addon .tag { letter-spacing: 0; text-transform: none; font-size: 0.9rem; }
.addon h3 { font-size: 1.9rem; letter-spacing: -0.02em; }
.addon-text { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); font-weight: 500; font-size: 0.95rem; transition: background-color 0.25s, box-shadow 0.25s; }
.chip:hover span { box-shadow: inset 0 0 0 1px rgba(106, 170, 255, 0.8); }
.chip input:checked + span { background: #0068FD; box-shadow: none; color: #fff; }
.chip input:checked + span::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.chip input:focus-visible + span { outline: 3px solid #6AAAFF; outline-offset: 3px; }
.addon-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 62px; }
.count { color: var(--blue-text); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 1000px) { .addons { grid-template-columns: 1fr; } }
.hint { color: var(--ink-2); font-size: 0.92rem; }
@media (min-width: 1001px) { .pkg-sub { min-height: 3.1em; } }

/* ===== Phones: the same page with far less text (titles, pictures and buttons first) ===== */
@media (max-width: 700px) {
  main > section.sec { padding: 56px 0; }
  .head { margin-bottom: 26px; }
  .head h2, .sec .copy h2 { font-size: 1.85rem; }
  .eyebrow { margin-bottom: 12px; }
  .head .lead, .contact .lead, #about .head .lead { display: none; }
  .hero.full { padding: 56px 0 120px; }
  .hero h1 { font-size: 2.5rem; }

  /* facts: four small tiles, titles only */
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { flex-direction: column; gap: 10px; padding: 18px 14px; border: 0; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1); }
  .facts li + li { border: 0; }
  .facts span:not(.fi) { display: none; }
  .facts b { font-size: 1rem; }

  /* products and Kanōn ERP */
  .pcards { gap: 14px; }
  .pcard .pic { aspect-ratio: 16 / 7; }
  .pcard .txt { padding: 16px 18px; gap: 6px; }
  .pcard .txt p { display: none; }
  #kanon .pts { display: none; }
  .features-dummy { display: none; }
  .feat { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .feat li { padding: 14px 6px; gap: 10px; align-items: center; }
  .feat p { display: none; }
  .feat h3 { font-size: 1rem; line-height: 1.3; }
  .feat .fi svg { width: 20px; height: 20px; }

  /* plans */
  .pkg-sub, .addon-text, .hint { display: none; }
  .pkg { padding: 22px 20px; gap: 14px; }
  .pkg h3, .addon h3 { font-size: 1.45rem; }
  .opts { gap: 7px; }
  .opts li { font-size: 0.92rem; }
  .addon { padding: 22px 18px; gap: 10px; }
  .chip span { padding: 8px 12px; font-size: 0.88rem; }
  .addon-foot { min-height: 0; padding-top: 6px; }
  .guarantee { font-size: 0.92rem; padding: 12px 16px; margin-bottom: 24px; }

  /* services and about: titles only */
  #services .rows li p, #about .rows li p, #services .note { display: none; }
  .rows li { padding: 15px 0; gap: 0; }
  .rows h3 { font-size: 1.12rem; }
  .subh { font-size: 1.1rem; margin-top: 8px; }
  .two { gap: 24px; }

  /* questions: the first four */
  .faq details:nth-child(n+5) { display: none; }
  .faq summary { padding: 18px 0; font-size: 1.02rem; }

  /* contact and footer */
  .contact .wrap { padding: 28px 18px; }
  .reach a { min-height: 46px; }
  .field textarea { min-height: 80px; }
  .f-brand p { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; padding-block: 40px 20px; }
  .foot-grid .f-brand, .foot-grid .f-contact { grid-column: 1 / -1; }
  .f-bottom { flex-direction: row; justify-content: space-between; padding-block: 16px 22px; font-size: 0.85rem; }
}

@media (max-width: 700px) {
  /* plan lists as small tags instead of long check lists */
  .pkg .opts { display: flex; flex-wrap: wrap; gap: 6px; }
  .pkg .opts li { padding: 5px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); font-size: 0.85rem; }
  .pkg .opts li::before { display: none; }
  .pkg.pro .opts li { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
  .pkg { gap: 12px; }
  .pcard .pic { aspect-ratio: 16 / 5; }
  /* contact: three round buttons instead of three text rows */
  .reach { display: flex; gap: 12px; margin-top: 4px; }
  .reach a { width: 52px; height: 52px; min-height: 0; padding: 0; border: 0; border-radius: 50%; justify-content: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
  .reach a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- NFC card: 3D viewer ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.device .wrap { display: grid; grid-template-columns: 0.8fr 1.3fr; gap: 56px; align-items: center; }
.d3-copy .lead { margin-top: 16px; max-width: 34ch; }
.d3-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.d3-specs li { padding: 8px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); font-weight: 500; font-size: 0.95rem; }
.d3 { border-radius: 24px; overflow: hidden; background: #0b0f16; box-shadow: 0 50px 110px -50px rgba(0, 104, 253, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.d3-stage { position: relative; aspect-ratio: 4 / 3; min-height: 340px; background: radial-gradient(120% 90% at 50% 25%, #f3f4f7 0%, #dfe3ea 70%, #cdd3dd 100%); cursor: grab; }
.d3-stage:active { cursor: grabbing; }
.d3-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.d3-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d3-poster[hidden] { display: none; }
.d3-stage::after { content: attr(data-hint); }
.d3-ui { display: grid; gap: 14px; padding: 18px 22px 22px; background: #0b0f16; }
.d3-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.d3-row > b { width: 64px; font-size: 0.95rem; color: #fff; }
.d3-sw { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sw { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.sw:hover { transform: scale(1.12); }
.sw[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 0 0 3px #0b0f16, 0 0 0 5px #fff; }
.sw:focus-visible, .pick:focus-within { outline: 3px solid var(--blue-text); outline-offset: 4px; }
.pick { position: relative; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; cursor: pointer; background: conic-gradient(#f43f5e, #f59e0b, #84cc16, #06b6d4, #6366f1, #d946ef, #f43f5e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.pick input { position: absolute; inset: -6px; width: 44px; height: 44px; opacity: 0; cursor: pointer; }
.d3-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.d3-act .btn { min-height: 44px; padding: 0 20px; }
.d3-act [aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--blue-text); }
@media (max-width: 1000px) { .device .wrap { grid-template-columns: 1fr; gap: 30px; } .d3-copy .lead { max-width: none; } }
@media (max-width: 700px) {
  .d3-stage { min-height: 300px; aspect-ratio: 1 / 1; }
  .d3-ui { padding: 16px 16px 18px; }
  .d3-row > b { width: 100%; }
  .d3-specs { display: none; }
  .d3-act .btn { flex: 1 1 40%; }
  .d3-act .btn-solid { flex-basis: 100%; }
}

/* ---------- NFC reader: price and order window ---------- */
.d3-desc { margin-top: 14px; max-width: 40ch; color: rgba(255, 255, 255, 0.78); text-wrap: pretty; }
.d3-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 22px; }
.d3-price b { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; }
.d3-price span { padding: 4px 12px; border-radius: 99px; background: rgba(0, 194, 255, 0.14); color: #7fe0ff; font-weight: 600; font-size: 0.9rem; }
.d3-bulk { margin-top: 8px; color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }
dialog.order { margin: auto; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 28px 26px 24px; border: 0; border-radius: 18px; background: #0b0f16; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 120px -20px rgba(0, 0, 0, 0.8); }
dialog.order form { background: none; padding: 0; border-radius: 0; }
dialog.order::backdrop { background: rgba(3, 6, 12, 0.72); backdrop-filter: blur(4px); }
dialog.order[open] { animation: orderIn 0.35s var(--ease); }
@keyframes orderIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
dialog.order h3 { font-size: 1.5rem; padding-inline-end: 36px; }
.o-x { position: absolute; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: rgba(255, 255, 255, 0.75); }
.o-x:hover { background: rgba(255, 255, 255, 0.1); }
.o-sum { margin: 10px 0 18px; padding: 10px 14px; border-radius: 10px; background: rgba(0, 104, 253, 0.18); font-weight: 600; }
.o-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field input[type="color"] { padding: 4px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { dialog.order[open] { animation: none; } }
