/* Sweet Card NFC — v2: black + pink + gold, minimal but cute. Tokens from ../shared/brand.css */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sd-font-body); font-weight: 400; color: var(--sd-cocoa); background: var(--sd-cream); line-height: 1.55; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sd-pink-deep); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
:root { --hair: rgba(201, 150, 63, .38); --hair-soft: rgba(201, 150, 63, .2); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 246, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--hair-soft); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--sd-font-serif); font-size: 21px; font-weight: 600; letter-spacing: .01em; color: var(--sd-black); }
.nav-links { display: flex; gap: 24px; }
.nav-links a, .nav-out a { text-decoration: none; font-size: 14px; letter-spacing: .02em; color: var(--sd-cocoa); opacity: .8; transition: opacity .2s, color .2s; }
.nav-links a:hover, .nav-out a:hover { opacity: 1; color: var(--sd-pink-deep); }
.nav-out { margin-left: auto; display: flex; gap: 20px; }
.nav-out a { font-size: 13px; opacity: .6; }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sd-gold-dark); }
h1, h2 { font-family: var(--sd-font-serif); font-weight: 500; color: var(--sd-black); letter-spacing: -.01em; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--sd-pink-deep); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: var(--sd-radius-pill); font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--sd-black); color: #fff; }
.btn.dark:hover { background: #241b1e; }
.btn.line { border-color: var(--hair); color: var(--sd-black); }
.btn.line:hover { border-color: var(--sd-gold); }
.btn.pink { background: var(--sd-pink); color: var(--sd-black); }
.btn.pink:hover { background: var(--sd-pink-soft); }
.btn.ghost-dark { border-color: rgba(230, 182, 90, .35); color: var(--sd-text-dark); background: transparent; }
.btn.ghost-dark:hover { border-color: var(--sd-gold-light); }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 40px; padding: 72px 0 56px; min-height: min(720px, calc(100vh - 64px)); }
.hero h1 { font-size: clamp(44px, 5.4vw, 74px); line-height: 1.02; }
.lead { font-size: 18px; font-weight: 300; color: #5a4442; max-width: 440px; margin: 24px 0 0; }
.lead strong { font-weight: 500; color: var(--sd-black); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.specline { margin: 36px 0 0; font-size: 12.5px; letter-spacing: .08em; color: #7a6260; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.specline i { width: 3px; height: 3px; border-radius: 50%; background: var(--sd-gold); }

.stage3d { position: relative; aspect-ratio: 1.12; }
.stage3d::before { /* studio sweep */
  content: ""; position: absolute; inset: 0; border-radius: 32px;
  background: radial-gradient(70% 60% at 50% 42%, #fff 0%, #FDF1F2 45%, var(--sd-blush) 100%);
  box-shadow: inset 0 0 0 1px var(--hair-soft);
}
.card3d { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.card3d.grabbing { cursor: grabbing; }
.card3d canvas { width: 100% !important; height: 100% !important; display: block; position: relative; }
.loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font-size: 13px; letter-spacing: .06em; color: #8a7270; }
.loader-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sd-pink); animation: breathe 1.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.8); opacity: .4; } }
.card3d.ready .loader { display: none; }
.stage-tools { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; z-index: 2; border-radius: 999px; background: rgba(255, 255, 255, .75); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--hair-soft), 0 6px 20px rgba(59, 36, 34, .06); }
.tool { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; letter-spacing: .04em; cursor: pointer; white-space: nowrap; color: var(--sd-cocoa); transition: background .2s, color .2s; }
.tool:hover { background: var(--sd-blush); }
.tool .dot { width: 6px; height: 6px; border-radius: 50%; background: #d9c3c5; }
.tool[aria-pressed="true"] { background: var(--sd-black); color: #fff; }
.tool[aria-pressed="true"] .dot { background: var(--sd-gold-light); box-shadow: 0 0 8px var(--sd-gold-light); }
.xray-tags .tag { position: absolute; z-index: 2; font-size: 12px; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; color: var(--sd-text-dark); background: rgba(14, 11, 12, .85); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; pointer-events: none; }
.t-coil { left: 6%; top: 9%; } .t-chip { right: 6%; top: 16%; }
.stage3d.xray .xray-tags .tag { opacity: 1; transform: none; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 8px 0 96px; }
.features article { border-top: 1px solid var(--hair); padding-top: 22px; }
.features .num { font-size: 12px; letter-spacing: .2em; color: var(--sd-gold-dark); }
.features h3 { font-family: var(--sd-font-serif); font-weight: 500; font-size: 26px; margin: 6px 0 6px; color: var(--sd-black); }
.features p { margin: 0; font-weight: 300; color: #5a4442; }

/* ---------- section heads ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.05; }
.section-head p:not(.eyebrow) { margin: 14px 0 0; font-weight: 300; font-size: 17px; color: #5a4442; }

/* ---------- simulator (dark band) ---------- */
.sim { background: var(--sd-grad-night); color: var(--sd-text-dark); padding: 96px 0; }
.sim .section-head h2 { color: var(--sd-text-dark); }
.sim .section-head p:not(.eyebrow) { color: var(--sd-muted-dark); }
.sim .eyebrow { color: var(--sd-gold-light); }
.sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sim-stage {
  position: sticky; top: 88px; min-height: 680px; border-radius: var(--sd-radius-l); overflow: hidden; user-select: none; touch-action: none;
  background: radial-gradient(70% 55% at 60% 40%, #2a2023 0%, #161113 60%, #0E0B0C 100%); box-shadow: inset 0 0 0 1px var(--sd-line-dark);
}
.sim-stage::after { content: ""; position: absolute; left: 30%; right: 8%; bottom: 84px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.phone-wrap { position: absolute; left: 62%; top: 34px; transform: translateX(-50%); perspective: 1600px; z-index: 2; }
.phone { position: relative; width: 262px; height: 548px; transform: rotateY(-9deg) rotateX(3deg); transform-style: preserve-3d; }
.phone-body {
  position: absolute; inset: 0; border-radius: 48px; padding: 9px;
  background: linear-gradient(135deg, #a39a9e 0%, #4a4246 14%, #2a2427 45%, #3d3538 80%, #9a9095 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 0 0 3px #0a0809, 30px 40px 60px rgba(0, 0, 0, .55), 6px 10px 18px rgba(0, 0, 0, .4);
}
.side { position: absolute; left: -2px; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #2a2427, #5b5357); }
.s1 { top: 104px; height: 26px; } .s2 { top: 146px; height: 48px; } .s3 { top: 204px; height: 48px; }
.s4 { left: auto; right: -2px; top: 170px; height: 74px; background: linear-gradient(270deg, #2a2427, #5b5357); }
.island { position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #000; z-index: 5; }
.glare { position: absolute; inset: 9px; border-radius: 40px; pointer-events: none; z-index: 6; background: linear-gradient(115deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 32%); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #000; isolation: isolate; font-size: 14px; }
.phone.haptic { animation: haptic .4s ease; }
@keyframes haptic {
  0%, 100% { transform: rotateY(-9deg) rotateX(3deg); }
  20% { transform: rotateY(-9deg) rotateX(3deg) translateX(-3px); }
  40% { transform: rotateY(-9deg) rotateX(3deg) translateX(3px); }
  60% { transform: rotateY(-9deg) rotateX(3deg) translateX(-1.5px); }
}
.ripples { position: absolute; left: 50%; top: 90px; width: 0; height: 0; z-index: 7; pointer-events: none; }
.ripples i { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; border-radius: 50%; border: 1.5px solid var(--sd-pink); box-shadow: 0 0 18px rgba(242, 139, 151, .45); animation: ripple 1.25s cubic-bezier(.1, .7, .3, 1) forwards; }
@keyframes ripple { from { transform: scale(.2); opacity: 1; } to { transform: scale(4.4); opacity: 0; } }
.target-hint { position: absolute; left: 50%; top: 70px; transform: translateX(-50%); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sd-pink); padding: 24px 18px 6px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 8; }
.sim-stage.dragging .target-hint { opacity: 1; }
.sim-stage.near .target-hint { color: var(--sd-black); background: radial-gradient(closest-side, rgba(242, 139, 151, .9), rgba(242, 139, 151, 0)); }

.mini-card {
  position: absolute; left: 5%; top: 420px; width: 180px; aspect-ratio: 85.6 / 54; border-radius: 9px; z-index: 4; cursor: grab; overflow: hidden; touch-action: none; background: #0E0B0C;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(var(--r, -14deg)); transition: transform .7s cubic-bezier(.2, .9, .25, 1.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .12), 0 22px 36px rgba(0, 0, 0, .55), 0 4px 10px rgba(0, 0, 0, .4);
}
.mini-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mini-card.drag { transition: none; cursor: grabbing; z-index: 9; }
.mini-card.behind { z-index: 1; }
.sim-actions { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; z-index: 10; padding: 0 12px; }

/* phone screens */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; animation: scrIn .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes scrIn { from { opacity: 0; transform: scale(.98); } }
.scr-lock { color: #fff; align-items: center; padding: 72px 18px 22px; text-align: center; background: radial-gradient(90% 55% at 50% 100%, rgba(242, 139, 151, .35) 0%, transparent 70%), linear-gradient(180deg, #1a1416, #0E0B0C); }
.scr-lock .time { font-weight: 300; font-size: 66px; line-height: 1; letter-spacing: -.02em; }
.scr-lock .date { font-size: 13px; opacity: .7; margin-top: 6px; text-transform: capitalize; }
.scr-lock .nfc-wait { margin-top: auto; display: grid; justify-items: center; gap: 10px; font-size: 13px; font-weight: 300; color: rgba(255, 255, 255, .85); }
.scr-lock .nfc-wait svg { width: 44px; height: 44px; color: var(--sd-pink); animation: breathe2 2s ease-in-out infinite; }
@keyframes breathe2 { 50% { opacity: .45; } }
.scr-lock .bar { width: 116px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .7); margin-top: 22px; }

.scr-app { background: #F5EFEF; color: var(--sd-black); padding: 54px 12px 16px; gap: 12px; }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 20px; background: rgba(255, 255, 255, .95); box-shadow: 0 6px 20px rgba(0, 0, 0, .1); animation: drop .5s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes drop { from { transform: translateY(-80px); opacity: 0; } }
.banner img { width: 34px; height: 34px; border-radius: 9px; flex: none; background: var(--sd-blush); }
.banner b { font-size: 13px; font-weight: 500; display: block; }
.banner small { font-size: 11px; color: #7a6260; }
.banner .u { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 9.5px; line-height: 1.35; word-break: break-all; color: #7a6260; margin-top: 3px; }
.u .p { color: #B07A2A; } .u .c { color: var(--sd-pink-deep); }
.scr-title { font-size: 13px; text-align: center; color: #7a6260; margin-top: 6px; letter-spacing: .04em; }
.verify { display: grid; gap: 6px; }
.verify .vs { display: flex; gap: 10px; align-items: center; font-size: 12.5px; padding: 10px 12px; border-radius: 14px; background: #fff; opacity: .4; transition: opacity .3s; }
.verify .vs.on { opacity: 1; }
.verify .vs i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; background: #e6dcdc; }
.verify .vs.on i { background: conic-gradient(var(--sd-pink) 0 30%, #f1e4e5 0); animation: spin .8s linear infinite; }
.verify .vs.ok i { background: #2f9e6e; animation: none; }
.verify .vs.bad i { background: var(--sd-pink-deep); animation: none; }
@keyframes spin { to { transform: rotate(1turn); } }

.scr-ok { background: var(--sd-blush); color: var(--sd-black); padding: 62px 16px 16px; align-items: center; text-align: center; }
.ok-badge { width: 64px; height: 64px; display: grid; place-items: center; position: relative; }
.ok-badge svg { width: 64px; height: 64px; fill: var(--sd-pink); animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); }
.ok-badge b { position: absolute; color: #fff; font-size: 20px; font-weight: 500; top: 17px; animation: pop .6s .15s both cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(0); } }
.scr-ok h4 { margin: 10px 0 0; font-family: var(--sd-font-serif); font-size: 24px; font-weight: 500; }
.scr-ok .meta { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sd-gold-dark); margin-top: 4px; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 12px; width: 100%; padding: 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--hair-soft); }
.stamps svg { width: 100%; aspect-ratio: 1; fill: none; stroke: var(--sd-pink); stroke-width: 1.4; }
.stamps svg.f { fill: var(--sd-pink); }
.stamps svg.new { animation: stampIn .7s .3s both cubic-bezier(.2, 1.7, .4, 1); }
.stamps svg.g { stroke: var(--sd-gold); }
.stamps svg.g.f { fill: url(#g-gold); }
@keyframes stampIn { from { transform: scale(2) rotate(-18deg); opacity: 0; } }
.scr-ok .left { font-size: 13px; font-weight: 300; }
.scr-ok .left b { font-weight: 500; color: var(--sd-pink-deep); }
.phone-btn-cta { margin-top: auto; width: 100%; padding: 13px; border: 0; border-radius: 16px; font-weight: 500; font-size: 14px; color: #fff; cursor: pointer; background: var(--sd-black); }
.phone-link { margin-top: 8px; font-size: 12px; color: #7a6260; background: none; border: 0; cursor: pointer; }

.scr-bad { background: linear-gradient(180deg, #1a1416, #0E0B0C); color: #fff; padding: 66px 16px 16px; align-items: center; text-align: center; }
.bad-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: var(--sd-black); background: var(--sd-pink); box-shadow: 0 0 0 10px rgba(242, 139, 151, .12); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1), shake .5s .5s; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.scr-bad h4 { margin: 18px 0 2px; font-family: var(--sd-font-serif); font-weight: 500; font-size: 24px; }
.scr-bad .reason { font-size: 13px; color: var(--sd-pink-soft); }
.scr-bad .u { margin-top: 16px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-family: ui-monospace, Consolas, monospace; font-size: 9.5px; word-break: break-all; text-align: left; color: rgba(246, 233, 234, .8); }
.scr-bad .u .p { color: var(--sd-gold-light); } .scr-bad .u .c { color: var(--sd-pink); }
.scr-bad .u mark { background: var(--sd-pink); color: var(--sd-black); border-radius: 3px; padding: 0 1px; }
.scr-bad .tip { margin-top: 14px; font-size: 12px; font-weight: 300; opacity: .75; }
.scr-bad .phone-btn-cta { background: rgba(255, 255, 255, .1); }

.scr-menu { background: #fff; }
.scr-menu .loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: var(--sd-blush); color: #7a6260; font-size: 13px; z-index: 2; transition: opacity .4s; }
.scr-menu .loading .spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #f1d6d9; border-top-color: var(--sd-pink-deep); animation: spin .8s linear infinite; }
.scr-menu .loading.done { opacity: 0; pointer-events: none; }
.scr-menu .frame-wrap { position: absolute; inset: 0; overflow: hidden; }
.scr-menu iframe { position: absolute; left: 0; top: 0; width: 390px; height: calc(100% / .625); border: 0; transform: scale(.625); transform-origin: 0 0; }
.scr-menu .back { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 3; padding: 8px 14px; border-radius: 999px; border: 0; font-size: 12px; background: rgba(14, 11, 12, .85); color: #fff; cursor: pointer; }
.mini-menu { position: absolute; inset: 0; overflow: auto; padding: 50px 12px 56px; background: var(--sd-blush); }
.mini-menu h5 { font-family: var(--sd-font-serif); font-weight: 500; font-size: 28px; margin: 0; text-align: center; }
.mini-menu .sub { text-align: center; font-size: 11px; color: #7a6260; margin-bottom: 10px; }
.mini-menu .mcat { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 6px; margin-bottom: 8px; }
.mini-menu .mcat img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.mini-menu .mcat b { font-size: 13px; font-weight: 500; display: block; }
.mini-menu .mcat small { font-size: 10.5px; color: #7a6260; }
.mini-menu .mcat span { font-weight: 500; color: var(--sd-pink-deep); padding-right: 6px; }

/* side panels (dark) */
.sim-side { display: grid; gap: 14px; }
.panel { padding: 22px; border-radius: var(--sd-radius-m); background: rgba(255, 255, 255, .03); border: 1px solid var(--sd-line-dark); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel h3 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.panel-sub { margin: 4px 0 14px; font-size: 14px; font-weight: 300; color: var(--sd-muted-dark); }
.badge { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--sd-line-dark); color: var(--sd-gold-light); white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge.soft { color: var(--sd-muted-dark); }
.badge.bump { animation: pop .4s cubic-bezier(.2, 1.6, .4, 1); }
.sun-url { display: block; margin-top: 14px; padding: 14px; border-radius: 12px; background: #000; color: rgba(246, 233, 234, .7); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 12.5px; line-height: 1.6; word-break: break-all; min-height: 72px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.sun-url .muted { font-family: var(--sd-font-body); font-weight: 300; color: rgba(246, 233, 234, .45); }
.sun-url .p { color: var(--sd-gold-light); } .sun-url .c { color: var(--sd-pink); }
.sun-url .new { animation: flash 1s ease; }
@keyframes flash { from { background: rgba(242, 139, 151, .25); } }
.url-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12px; color: var(--sd-muted-dark); }
.url-legend span { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.sw-picc { background: var(--sd-gold-light); } .sw-cmac { background: var(--sd-pink); }

.clone-btns { display: grid; gap: 8px; }
.atk { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; text-align: left; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); cursor: pointer; color: var(--sd-text-dark); transition: border-color .2s, background .2s; }
.atk:hover:not(:disabled) { border-color: var(--sd-pink); background: rgba(242, 139, 151, .06); }
.atk:disabled { opacity: .4; cursor: not-allowed; }
.atk b { font-size: 14px; font-weight: 500; }
.atk small { font-size: 12px; color: var(--sd-muted-dark); text-align: right; }
.clone-note { margin: 12px 0 0; font-size: 13px; font-weight: 300; color: var(--sd-muted-dark); }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.checks:empty { display: none; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 13px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .06); animation: scrIn .35s both; }
.checks li:nth-child(2) { animation-delay: .1s; } .checks li:nth-child(3) { animation-delay: .2s; } .checks li:nth-child(4) { animation-delay: .3s; }
.checks li i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; background: #2f9e6e; }
.checks li.bad i { background: var(--sd-pink-deep); }
.checks li.skip { opacity: .4; } .checks li.skip i { background: #554a4c; }
.checks li small { display: block; color: var(--sd-muted-dark); font-family: ui-monospace, Consolas, monospace; font-size: 11px; word-break: break-all; }
.checks li.verdict { grid-template-columns: 1fr; text-align: center; font-weight: 500; padding: 11px; border: 0; border-radius: 10px; background: rgba(47, 158, 110, .14); color: #8fe0b9; margin-top: 4px; }
.checks li.verdict.bad { background: rgba(242, 139, 151, .12); color: var(--sd-pink-soft); }

.tech summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 500; }
.tech summary::-webkit-details-marker { display: none; }
.tech summary span::before { content: "+"; display: inline-block; width: 20px; color: var(--sd-gold-light); }
.tech[open] summary span::before { content: "–"; }
.tech summary small { font-weight: 300; font-size: 12px; color: var(--sd-muted-dark); }
.tech-body { margin-top: 14px; font-size: 14px; font-weight: 300; }
.explain { padding-left: 18px; margin: 0; display: grid; gap: 6px; color: var(--sd-muted-dark); }
.explain b { font-weight: 500; color: var(--sd-text-dark); }
.explain code { font-size: 12px; color: var(--sd-pink); }
.explain-tail { color: var(--sd-muted-dark); }
.tv { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12px; table-layout: fixed; }
.tv th { text-align: left; font-weight: 400; width: 38%; padding: 7px 8px 7px 0; vertical-align: top; color: var(--sd-text-dark); }
.tv th small { display: block; color: var(--sd-muted-dark); font-size: 10.5px; }
.tv td { font-family: ui-monospace, Consolas, monospace; word-break: break-all; padding: 7px 0; color: var(--sd-gold-light); }
.tv tr + tr { border-top: 1px solid rgba(255, 255, 255, .06); }
.selftest { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.selftest .st { font-size: 12px; padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); }
.selftest .st.ok { color: #8fe0b9; border-color: rgba(143, 224, 185, .35); } .selftest .st.bad { color: var(--sd-pink); border-color: rgba(242, 139, 151, .4); }
.realnote { font-size: 12.5px; color: var(--sd-muted-dark); margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--sd-line-dark); }
.realnote b { font-weight: 500; color: var(--sd-text-dark); }

.log { list-style: none; padding: 0; margin: 10px 0 0; max-height: 210px; overflow: auto; }
.log li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: 13px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.log li.empty { display: block; border: 0; color: var(--sd-muted-dark); font-weight: 300; padding: 4px 0; }
.log b { font-weight: 500; }
.log .lk { width: 7px; height: 7px; border-radius: 50%; background: #2f9e6e; }
.log li.bad .lk { background: var(--sd-pink); }
.log code { font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: var(--sd-muted-dark); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log li > div { min-width: 0; }
.log time { font-size: 11px; color: var(--sd-muted-dark); font-variant-numeric: tabular-nums; }

/* ---------- print ---------- */
.print { padding: 104px 0 64px; }
.print-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .72fr); gap: 32px; align-items: start; }
.design { margin: 0; }
.design.stand { grid-column: 3; grid-row: 1 / span 2; }
.design-frame { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--hair-soft), 0 20px 40px rgba(59, 36, 34, .08); }
.design-frame object { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.card-ratio { aspect-ratio: 91.6 / 60; }
.stand-ratio { aspect-ratio: 107.6 / 158.4; }
.design figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.design figcaption b { display: block; font-size: 15px; font-weight: 500; color: var(--sd-black); }
.design figcaption span { font-size: 13px; font-weight: 300; color: #7a6260; }
.dl { flex: none; font-size: 13px; letter-spacing: .06em; text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--hair); color: var(--sd-black); transition: background .2s, color .2s; }
.dl::before { content: "↓ "; }
.dl:hover { background: var(--sd-black); color: #fff; border-color: var(--sd-black); }
.spec { grid-column: 1 / span 2; padding-top: 24px; border-top: 1px solid var(--hair); }
.spec h3 { margin: 0 0 16px; font-family: var(--sd-font-serif); font-weight: 500; font-size: 26px; color: var(--sd-black); }
.spec dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 20px; margin: 0; font-size: 14.5px; }
.spec dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sd-gold-dark); padding-top: 2px; }
.spec dd { margin: 0; font-weight: 300; color: #5a4442; }
.spec dd b { font-weight: 500; color: var(--sd-black); }
.spec code { font-size: 12.5px; color: var(--sd-pink-deep); }
.legend { margin: 18px 0 0; font-size: 12px; color: #7a6260; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 22px; height: 0; border-top: 1.5px dashed; }
.g-trim { color: #00AEEF; } .g-safe { color: #EC008C; }

.foot { text-align: center; padding: 56px 0 64px; border-top: 1px solid var(--hair-soft); font-size: 13px; color: #7a6260; }
.foot img { width: 56px; height: 56px; margin: 0 auto 12px; }
.foot p { margin: 4px 0; }
.foot-links { display: flex; justify-content: center; gap: 20px; margin-top: 10px !important; }
.foot-links a { text-decoration: none; color: var(--sd-black); }
.foot-links a:hover { color: var(--sd-pink-deep); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-out { display: none; }
  .print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design.stand { grid-column: auto; grid-row: auto; }
  .spec { grid-column: auto; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; min-height: 0; text-align: center; gap: 32px; }
  .lead { margin-inline: auto; }
  .cta, .specline { justify-content: center; }
  .stage3d { max-width: 640px; width: 100%; margin: 0 auto; }
  .sim-grid { grid-template-columns: 1fr; }
  .sim-stage { position: relative; top: 0; }
  .features { grid-template-columns: 1fr; gap: 24px; padding-bottom: 72px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-in { gap: 12px; height: 58px; }
  .brand span { display: none; }
  .nav-links { margin-left: auto; gap: 16px; }
  .nav-links a { font-size: 13px; }
  .hero h1 { font-size: clamp(38px, 11vw, 50px); }
  .lead { font-size: 16.5px; }
  .stage3d { aspect-ratio: .95; }
  .stage3d::before { border-radius: 24px; }
  .tool { padding: 8px 12px; }
  .sim { padding: 72px 0; }
  .sim-stage { min-height: 650px; }
  .phone-wrap { left: 60%; top: 26px; }
  .phone { width: 228px; height: 476px; }
  .phone-body { border-radius: 42px; padding: 8px; }
  .screen { border-radius: 35px; }
  .glare { inset: 8px; border-radius: 35px; }
  .scr-menu iframe { transform: scale(.543); height: calc(100% / .543); }
  .mini-card { width: 136px; left: 4%; top: 470px; }
  .ripples { top: 80px; }
  .sim-actions .btn { padding: 11px 16px; font-size: 14px; }
  .panel { padding: 18px; }
  .print { padding-top: 80px; }
  .print-grid { grid-template-columns: 1fr; gap: 28px; }
  .spec dl { grid-template-columns: 1fr; gap: 2px; }
  .spec dd { margin-bottom: 10px; }
}
@media (max-width: 380px) {
  .phone { width: 210px; height: 440px; }
  .scr-menu iframe { transform: scale(.497); height: calc(100% / .497); }
  .mini-card { width: 124px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* v3: 9 + 1 loyalty slots, "ejemplo" tag */
.stamps .slot { display: grid; justify-items: center; gap: 2px; }
.stamps .slot small { font-size: 9px; line-height: 1; color: #b49a98; letter-spacing: .04em; }
.stamps .slot.free small { color: var(--sd-gold-dark); font-weight: 500; text-transform: uppercase; }
.scr-ok .rule { font-size: 11px; letter-spacing: .06em; color: var(--sd-gold-dark); margin: -4px 0 8px; }
.panel h3 .ex { font-size: 10.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--sd-gold-light); border: 1px solid var(--sd-line-dark); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.stamps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px 6px; padding: 12px 10px; margin: 14px 0 10px; }
.stamps .slot svg { width: 72%; }
.scr-ok { padding-top: 56px; }
.scr-ok .ok-badge, .scr-ok .ok-badge svg { width: 54px; height: 54px; }
.scr-ok .ok-badge b { top: 13px; font-size: 18px; }
.scr-ok h4 { font-size: 22px; line-height: 1.1; }
@media (max-width: 640px) {
  .scr-ok { padding: 50px 12px 12px; }
  .scr-ok .ok-badge, .scr-ok .ok-badge svg { width: 42px; height: 42px; }
  .scr-ok .ok-badge b { top: 9px; font-size: 15px; }
  .scr-ok h4 { font-size: 18px; margin-top: 6px; }
  .scr-ok .meta { font-size: 10.5px; }
  .stamps { margin: 10px 0 6px; padding: 8px 6px; gap: 4px; }
  .stamps .slot small { font-size: 8px; }
  .scr-ok .rule { font-size: 9.5px; margin: -2px 0 4px; }
  .scr-ok .left { font-size: 11.5px; line-height: 1.3; }
  .phone-btn-cta { padding: 10px; font-size: 13px; }
  .phone-link { margin-top: 4px; }
}

/* celular: enlaces del menú superior más fáciles de tocar */
@media (pointer: coarse), (max-width: 760px) { .nav-links a, .foot-links a { display: inline-block; padding: 10px 4px; } }

/* límite de tiempo de sellos (misma regla que la Caja) */
.limit-note { position: relative; margin: 10px 0 0; text-align: center; font-size: 12.5px; color: #F6D9DD; }
.demo-chip { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--sd-black); background: var(--sd-gold-light, #E6B65A); border-radius: 4px; padding: 1px 5px; vertical-align: 1px; }
