/* Backup Disk — home page only (dark, animated). Loaded after /assets/site.css. */
.bd { overflow: hidden; }
.bd svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type ---------- */
.bd-display { font-size: clamp(46px, 8vw, 104px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 22px 0 0; }
.bd-display.sm { font-size: clamp(40px, 6vw, 76px); }
.bd-grad { background: linear-gradient(95deg, #7dd3fc 0%, #60a5fa 35%, #a78bfa 70%, #f0abfc 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: bd-shine 8s ease-in-out infinite alternate; }
@keyframes bd-shine { to { background-position: 100% 0; } }
.bd-lead { font-size: clamp(18px, 2vw, 22px); color: var(--text-2); max-width: 680px; margin: 26px auto 0; line-height: 1.5; }
.bd-h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 0; }
.bd-sub { color: var(--text-2); font-size: clamp(17px, 1.7vw, 20px); max-width: 720px; margin: 22px auto 0; line-height: 1.55; }
.bd-sub.left { margin-left: 0; }
.bd-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: #93c5fd; letter-spacing: .01em;
  padding: 7px 14px; border-radius: 999px; background: rgba(59,130,246,.12); border: 1px solid rgba(96,165,250,.22); margin-bottom: 22px; }
.bd-eyebrow svg { font-size: 16px; }
.bd-head { margin-bottom: 64px; }

/* ---------- hero ---------- */
.bd-hero { position: relative; padding: 56px 0 0; isolation: isolate; }
.bd-sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bd-sky i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: bd-drift 18s ease-in-out infinite alternate; }
.bd-sky .a1 { width: 720px; height: 520px; left: -12%; top: -10%; background: radial-gradient(circle, #1d4ed8, transparent 70%); }
.bd-sky .a2 { width: 680px; height: 560px; right: -14%; top: 4%; background: radial-gradient(circle, #6d28d9, transparent 70%); animation-delay: -6s; }
.bd-sky .a3 { width: 900px; height: 500px; left: 20%; top: 46%; background: radial-gradient(circle, #0e7490, transparent 70%); opacity: .4; animation-delay: -12s; }
@keyframes bd-drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }
#bd-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.bd-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(transparent, var(--bg)); z-index: 2; pointer-events: none; }
.bd-hero-icon { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 20px 60px -10px rgba(59,130,246,.75);
  animation: bd-bob 6s ease-in-out infinite; }
@keyframes bd-bob { 50% { transform: translateY(-8px); } }
.bd-pill { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-2); padding: 6px 16px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bd-pill b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #fff; padding: 4px 10px; border-radius: 999px; background: linear-gradient(100deg, var(--b), var(--v)); }
.bd-badges { margin-top: 38px; }
.bd-badges .badges { justify-content: center; }
.bd-note { font-size: 14px; color: var(--text-3); margin-top: 16px; }

.bd-stage { position: relative; max-width: 1180px; margin: 56px auto 0; padding: 0 24px 120px; perspective: 1600px; }
.bd-mac { margin: 0; border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 120px -20px rgba(0,0,0,.9), 0 0 120px -30px rgba(59,130,246,.45); }
.bd-mac img { width: 100%; display: block; }
.bd-stage > .bd-mac { width: 78%; transform: rotateX(8deg); transform-origin: 50% 100%; animation: bd-rise 1.4s cubic-bezier(.2,.8,.2,1) both .1s; }
@keyframes bd-rise { from { opacity: 0; transform: translateY(60px) rotateX(18deg); } }
.bd-phone { margin: 0; position: relative; border-radius: 15% / 7%; padding: 8px; background: linear-gradient(160deg, #3a3f52, #12141c 40%, #2a2e3c);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06), 0 40px 90px -20px rgba(0,0,0,.95); }
.bd-phone img { width: 100%; display: block; border-radius: 12.6% / 5.9%; }
.bd-hero-phone { padding: clamp(5px, .9vw, 10px); position: absolute; right: 4%; bottom: 40px; width: 25%; min-width: 170px; animation: bd-rise2 1.4s cubic-bezier(.2,.8,.2,1) both .35s; }
@keyframes bd-rise2 { from { opacity: 0; transform: translate(60px, 80px) rotate(4deg); } }
.bd-beam { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.bd-beam path { animation: bd-dash 1.2s linear infinite; }
@keyframes bd-dash { to { stroke-dashoffset: -32; } }
.bd-packets { position: absolute; inset: 0 24px 120px; pointer-events: none; z-index: 3; }
.bd-packets i { position: absolute; left: 0; top: 0; width: 18px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, #60a5fa, #a78bfa);
  box-shadow: 0 0 18px 4px rgba(96,165,250,.6); offset-path: path("M 600 260 C 790 210, 870 340, 990 350"); offset-rotate: 0deg;
  animation: bd-fly 2.6s cubic-bezier(.45,.05,.55,.95) infinite; opacity: 0; }
.bd-packets i:nth-child(2) { animation-delay: .52s; } .bd-packets i:nth-child(3) { animation-delay: 1.04s; }
.bd-packets i:nth-child(4) { animation-delay: 1.56s; } .bd-packets i:nth-child(5) { animation-delay: 2.08s; }
@keyframes bd-fly { 0% { offset-distance: 0%; opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: scale(1); } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; transform: scale(.5); } }
.bd-float { position: absolute; z-index: 4; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 14px; border-radius: 16px;
  background: rgba(16,22,48,.72); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.7); animation: bd-pop .8s cubic-bezier(.2,1.4,.4,1) both; }
.bd-float b { display: block; font-size: 16px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bd-float small { display: block; font-size: 12.5px; color: var(--text-3); }
.bd-float .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(255,255,255,.06); animation: bd-pulse 2s infinite; }
.dot.g { background: var(--g); } .dot.b { background: var(--c); } .dot.v { background: var(--v); }
@keyframes bd-pulse { 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
@keyframes bd-pop { from { opacity: 0; transform: translateY(20px) scale(.9); } }
.bd-float.f1 { left: 0; top: 18%; animation-delay: 1.1s; }
.bd-float.f2 { right: 0; top: 4%; animation-delay: 1.3s; }
.bd-float.f3 { left: 12%; bottom: 150px; animation-delay: 1.5s; }
@media (max-width: 760px) {
  .bd-stage > .bd-mac { width: 100%; }
  .bd-hero-phone { width: 34%; min-width: 0; right: 2%; bottom: 30px; }
  .bd-float { padding: 9px 12px; border-radius: 12px; } .bd-float b { font-size: 13px; } .bd-float small { font-size: 11px; }
  .bd-float.f1, .bd-float.f3 { display: none; } .bd-float.f2 { right: 8px; top: -34px; }
  .bd-pill { font-size: 13px; }
  .bd-packets, .bd-beam { display: none; }
}

/* ---------- stats ---------- */
.bd-stats { padding: 10px 0 40px; position: relative; z-index: 3; }
.bd-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.bd-stat { background: var(--bg); padding: 30px 26px; text-align: center; }
.bd-stat strong { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #9fb4e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bd-stat strong em { font-style: normal; font-weight: 500; opacity: .6; }
.bd-stat span { color: var(--text-3); font-size: 14.5px; }
@media (max-width: 760px) { .bd-stats-grid { grid-template-columns: 1fr 1fr; } .bd-stat { padding: 22px 12px; } .bd-stat strong { font-size: 26px; } .bd-stat span { font-size: 13px; } }

/* ---------- sections ---------- */
.bd-section { padding: 130px 0; position: relative; }
.bd-alt { background: linear-gradient(180deg, var(--bg), var(--bg-soft) 18%, var(--bg-soft) 82%, var(--bg)); }
@media (max-width: 760px) { .bd-section { padding: 90px 0; } .bd-head { margin-bottom: 44px; } }
.bd-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; color: #bfdbfe;
  background: linear-gradient(145deg, rgba(59,130,246,.3), rgba(139,92,246,.2)); border: 1px solid rgba(147,197,253,.22); }

/* ---------- speed race ---------- */
.bd-race { max-width: 980px; margin: 0 auto; padding: 34px; border-radius: 28px; position: relative;
  background: linear-gradient(160deg, rgba(20,30,70,.85), rgba(10,14,36,.9)); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 60px 120px -40px rgba(37,99,235,.5), inset 0 1px 0 rgba(255,255,255,.08); }
.bd-race-top { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.bd-chip { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.bd-clock { margin-left: auto; font-family: var(--font-mono); font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.bd-replay { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 600; color: #93c5fd; background: none; border: 1px solid rgba(147,197,253,.25); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.bd-replay:hover { background: rgba(147,197,253,.1); }
.bd-lane { display: grid; grid-template-columns: 170px 1fr 150px; gap: 20px; align-items: center; padding: 18px 0; }
.bd-lane + .bd-lane { border-top: 1px dashed rgba(255,255,255,.1); }
.bd-lane-label b { display: block; font-size: 17px; } .bd-lane-label small { color: var(--text-3); font-size: 13px; }
.bd-track { position: relative; height: 54px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.bd-fill { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: 13px; transition: width .12s linear; }
.slow .bd-fill { background: linear-gradient(90deg, rgba(251,146,60,.15), rgba(251,146,60,.45)); }
.fast .bd-fill { background: linear-gradient(90deg, rgba(56,189,248,.25), #3b82f6 70%, #8b5cf6); box-shadow: 0 0 30px rgba(59,130,246,.6); }
.bd-files, .bd-pkgs { position: absolute; inset: 0; }
.bd-files i { position: absolute; top: 50%; left: 0; width: 11px; height: 14px; margin-top: -7px; border-radius: 2px 5px 2px 2px; background: #fdba74; box-shadow: 0 0 8px rgba(251,146,60,.6); animation: bd-file 4.2s linear forwards; }
@keyframes bd-file { from { transform: translateX(-14px); opacity: 0; } 8% { opacity: .95; } 90% { opacity: .95; } to { transform: translateX(var(--to, 120px)); opacity: 0; } }
.bd-pkgs i { position: absolute; top: 50%; left: 0; width: 34px; height: 26px; margin-top: -13px; border-radius: 7px;
  background: linear-gradient(135deg, #93c5fd, #6366f1); box-shadow: 0 0 16px rgba(129,140,248,.8), inset 0 -6px 0 rgba(0,0,0,.15); animation: bd-pkg .9s cubic-bezier(.5,0,.5,1) forwards; }
.bd-pkgs i::after { content: ""; position: absolute; left: 45%; top: 0; bottom: 0; width: 10%; background: rgba(255,255,255,.4); }
@keyframes bd-pkg { from { transform: translateX(-40px) scale(.6); opacity: 0; } 20% { opacity: 1; transform: translateX(var(--from, 0)) scale(1); } to { transform: translateX(var(--to, 600px)) scale(.8); opacity: 0; } }
.bd-lane-meta { text-align: right; }
.bd-count { display: block; font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.bd-state { font-size: 13px; color: var(--text-3); }
.slow .bd-state { color: #fdba74; }
.fast .bd-state.done { color: var(--g); font-weight: 650; }
.fast .bd-state.done::before { content: "✓ "; }
.bd-race-note { margin: 18px 0 0; font-size: 12.5px; color: var(--text-3); text-align: center; }
@media (max-width: 760px) {
  .bd-race { padding: 22px 18px; border-radius: 22px; }
  .bd-race-top { flex-wrap: wrap; }
  .bd-lane { grid-template-columns: 1fr auto; gap: 10px; }
  .bd-track { grid-column: 1 / -1; grid-row: 2; height: 44px; }
}
.bd-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 980px; margin: 40px auto 0; }
.bd-mini { padding: 28px; border-radius: 22px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.bd-mini h3 { font-size: 19px; margin: 18px 0 8px; } .bd-mini p { color: var(--text-2); font-size: 15.5px; margin: 0; }
@media (max-width: 860px) { .bd-three { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.bd-steps { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.bd-step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bd-step-list li { position: relative; display: flex; gap: 18px; padding: 24px; border-radius: 20px; cursor: pointer; border: 1px solid transparent; overflow: hidden; transition: background .3s, border-color .3s, opacity .3s; opacity: .55; }
.bd-step-list li:hover { opacity: .85; }
.bd-step-list li[aria-selected="true"] { opacity: 1; background: rgba(255,255,255,.04); border-color: var(--line); }
.bd-step-list .n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; background: rgba(255,255,255,.08); }
.bd-step-list li[aria-selected="true"] .n { background: linear-gradient(135deg, var(--b), var(--v)); box-shadow: 0 8px 20px -6px rgba(99,102,241,.8); }
.bd-step-list h3 { font-size: 19px; margin: 6px 0 6px; } .bd-step-list p { margin: 0; color: var(--text-2); font-size: 15.5px; }
.bd-step-list .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--c), var(--v)); }
.bd-step-list li[aria-selected="true"] .bar { animation: bd-bar var(--step-ms, 5s) linear forwards; }
.bd-steps.paused .bar { animation-play-state: paused !important; }
@keyframes bd-bar { to { width: 100%; } }
.bd-step-media { position: relative; aspect-ratio: 1.3; display: grid; place-items: center; }
.bd-step-media > * { position: absolute; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .6s, transform .8s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.bd-step-media > .on { opacity: 1; transform: none; }
.bd-step-media .bd-mac.sm { width: 100%; }
.bd-step-media .bd-phone.md { width: 38%; padding: 9px; }
@media (max-width: 900px) { .bd-steps { grid-template-columns: 1fr; gap: 36px; } .bd-step-media { order: -1; } }

/* ---------- bento ---------- */
.bd-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bd-card { position: relative; overflow: hidden; padding: 32px; border-radius: 26px; background: linear-gradient(170deg, #0f1736, #0a0f26);
  border: 1px solid var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s; }
.bd-card:hover { transform: translateY(-4px); border-color: rgba(147,197,253,.25); }
.bd-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(96,165,250,.13), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.bd-card:hover::before { opacity: 1; }
.bd-card h3 { font-size: 22px; margin: 20px 0 8px; letter-spacing: -.02em; } .bd-card p { color: var(--text-2); font-size: 15.5px; margin: 0; position: relative; }
.span2 { grid-column: span 2; } .span3 { grid-column: span 3; } .span4 { grid-column: span 4; }
.glow-b { background: radial-gradient(120% 120% at 100% 0%, rgba(37,99,235,.35), transparent 55%), linear-gradient(170deg, #0f1736, #0a0f26); }
.glow-g { background: radial-gradient(120% 120% at 50% 100%, rgba(16,185,129,.25), transparent 60%), linear-gradient(170deg, #0f1736, #0a0f26); }
.glow-v { background: radial-gradient(120% 120% at 0% 100%, rgba(139,92,246,.3), transparent 55%), linear-gradient(170deg, #0f1736, #0a0f26); }
.span4 { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.bd-key { display: flex; gap: 10px; }
.bd-key span { width: 54px; height: 70px; border-radius: 14px; display: grid; place-items: center; font-size: 34px; font-weight: 750;
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(52,211,153,.5); box-shadow: inset 0 0 20px rgba(52,211,153,.12); opacity: .15; transform: translateY(8px); }
.in .bd-key span { animation: bd-digit .5s cubic-bezier(.2,1.4,.4,1) forwards; }
.in .bd-key span:nth-child(2) { animation-delay: .25s; } .in .bd-key span:nth-child(3) { animation-delay: .5s; } .in .bd-key span:nth-child(4) { animation-delay: .75s; }
.in .bd-key span:nth-child(5) { animation-delay: 1s; } .in .bd-key span:nth-child(6) { animation-delay: 1.25s; }
@keyframes bd-digit { to { opacity: 1; transform: none; } }
.bd-radar { position: relative; height: 120px; margin-top: 18px; }
.bd-radar i { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; border: 2px solid rgba(52,211,153,.6); animation: bd-wave 3s ease-out infinite; }
.bd-radar i:nth-child(2) { animation-delay: 1s; } .bd-radar i:nth-child(3) { animation-delay: 2s; }
.bd-radar b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 20px var(--g); }
@keyframes bd-wave { from { transform: scale(.4); opacity: 1; } to { transform: scale(4); opacity: 0; } }
.bd-card-shot { display: block; width: 72%; margin: 26px auto -120px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px -10px rgba(0,0,0,.8); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.bd-card-shot.wide { width: 120%; max-width: none; margin: 30px 0 -40px; border-radius: 12px; }
.bd-card:hover .bd-card-shot { transform: translateY(-14px); }
.span2:has(.bd-card-shot) { padding-bottom: 0; max-height: 520px; }
.bd-meter { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 14.5px; }
.bd-meter div { display: flex; justify-content: space-between; } .bd-meter .muted { margin-top: 10px; color: var(--text-3); }
.bd-meter i { display: block; height: 10px; margin-top: 10px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.bd-meter i b { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--c), var(--v)); transition: width 2s cubic-bezier(.2,.8,.2,1) .3s; }
.in .bd-meter i b { width: 62%; }
.bd-live { display: flex; align-items: center; gap: 24px; margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.bd-live .ring { position: relative; width: 74px; height: 74px; flex: none; }
.bd-live .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); stroke-width: 4.5; }
.bd-live .ring circle { stroke: rgba(255,255,255,.08); }
.bd-live .ring circle.p { stroke: url(#none); stroke: var(--c); stroke-dasharray: 113.1; stroke-dashoffset: calc(113.1 - 113.1 * var(--pct, 0)); transition: stroke-dashoffset .3s linear; }
.bd-live .ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 750; font-size: 15px; font-variant-numeric: tabular-nums; }
.bd-live .rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; flex: 1; }
.bd-live b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; } .bd-live small { color: var(--text-3); font-size: 12.5px; }
@media (max-width: 960px) { .span2, .span3, .span4 { grid-column: span 3; } .span4 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .bd-bento { grid-template-columns: 1fr; } .span2, .span3, .span4 { grid-column: auto; }
  .bd-key span { width: 42px; height: 56px; font-size: 26px; border-radius: 11px; } .bd-key { gap: 7px; }
  .bd-live { flex-direction: column; align-items: stretch; } .bd-live .ring { margin: 0 auto; }
}

/* ---------- gallery ---------- */
.bd-tabs { display: inline-flex; margin-top: 34px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.bd-tabs button { font: inherit; font-size: 15px; font-weight: 600; color: var(--text-2); background: none; border: 0; padding: 9px 22px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.bd-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(100deg, var(--b), var(--v)); box-shadow: 0 6px 18px -6px rgba(99,102,241,.8); }
.bd-gallery { display: none; }
.bd-gallery.on { display: block; animation: bd-fade .6s ease both; }
@keyframes bd-fade { from { opacity: 0; transform: translateY(16px); } }
.bd-rail { display: flex; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(24px, calc((100vw - 1180px) / 2 + 24px)) 40px; scrollbar-width: none; }
.bd-rail::-webkit-scrollbar { display: none; }
.bd-rail figure { flex: none; scroll-snap-align: center; }
.bd-rail figcaption { position: absolute; left: 0; right: 0; bottom: -38px; text-align: center; font-size: 15px; font-weight: 600; color: var(--text-2); }
.bd-rail .bd-phone { width: 260px; margin-bottom: 30px; }
.bd-rail .bd-mac { width: min(860px, 84vw); overflow: visible; margin-bottom: 30px; position: relative; }
.bd-rail .bd-mac img { border-radius: 14px; }
.bd-ipad { position: relative; margin: 0 0 30px; width: min(420px, 74vw); padding: 11px; border-radius: 5.5%; background: linear-gradient(160deg, #3a3f52, #12141c 40%, #2a2e3c); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 40px 90px -20px rgba(0,0,0,.95); }
.bd-ipad img { border-radius: 3.6%; width: 100%; }
.bd-rail .bd-phone figcaption { bottom: -40px; }
.bd-gallery[data-tab="ipad"] .bd-rail, .bd-gallery[data-tab="mac"] .bd-rail { justify-content: safe center; }

/* ---------- pro ---------- */
.bd-pro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; padding: 60px; border-radius: 32px;
  background: radial-gradient(90% 120% at 100% 50%, rgba(139,92,246,.28), transparent 60%), radial-gradient(80% 100% at 0% 0%, rgba(37,99,235,.3), transparent 60%), #0b1130;
  border: 1px solid rgba(255,255,255,.1); }
.bd-checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.bd-checks li { position: relative; padding-left: 32px; color: var(--text-2); }
.bd-checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #052e1c; background: var(--g); }
.bd-gauge { text-align: center; }
.bd-gauge-bar { position: relative; height: 22px; border-radius: 12px; background: rgba(255,255,255,.07); overflow: visible; }
.bd-gauge-bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 12px; background: linear-gradient(90deg, var(--c), var(--b), var(--v)); box-shadow: 0 0 24px rgba(99,102,241,.7); }
.bd-gauge-bar .lim { position: absolute; left: 38%; top: -34px; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: #fdba74; }
.bd-gauge-bar .lim::after { content: ""; position: absolute; left: 50%; top: 24px; width: 2px; height: 40px; background: #fdba74; border-radius: 2px; }
.in .bd-gauge-bar i { animation: bd-gauge 4s cubic-bezier(.6,0,.2,1) .3s forwards; }
.in .bd-gauge-bar .lim { animation: bd-break 4s ease .3s forwards; }
@keyframes bd-gauge { 0% { width: 0; } 40% { width: 38%; } 55% { width: 38%; } 100% { width: 100%; } }
@keyframes bd-break { 0%, 50% { opacity: 1; transform: translateX(-50%); } 60% { transform: translateX(-50%) translateY(-6px) rotate(-12deg); } 100% { opacity: 0; transform: translateX(-50%) translateY(40px) rotate(-40deg); } }
.bd-inf { font-size: 130px; line-height: 1; font-weight: 300; margin-top: 18px; background: linear-gradient(95deg, #7dd3fc, #a78bfa, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: scale(.6); }
.in .bd-inf { animation: bd-inf .9s cubic-bezier(.2,1.5,.4,1) 3.6s forwards; }
@keyframes bd-inf { to { opacity: 1; transform: none; } }
.bd-gauge small { color: var(--text-3); font-size: 14px; }
@media (max-width: 900px) { .bd-pro { grid-template-columns: 1fr; padding: 36px 24px; gap: 40px; } }

/* ---------- faq & guides ---------- */
.bd .faq details { border-color: var(--line); }
.bd-guides { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; margin: 56px auto 0; }
.bd-guides a { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--text); transition: transform .3s, border-color .3s; }
.bd-guides a:hover { text-decoration: none; transform: translateY(-3px); border-color: rgba(147,197,253,.3); }
.bd-guides svg { font-size: 26px; color: #93c5fd; flex: none; }
.bd-guides b { display: block; } .bd-guides small { color: var(--text-3); font-size: 14px; }
@media (max-width: 640px) { .bd-guides { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.bd-cta { position: relative; padding: 150px 0 160px; isolation: isolate; overflow: hidden; }
.bd-cta .bd-sky .a1 { left: 10%; top: 10%; } .bd-cta .bd-sky .a2 { right: 5%; top: 30%; }

@media (prefers-reduced-motion: reduce) {
  .bd *, .bd *::before, .bd *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .bd-packets { display: none; }
}
@media (max-width: 900px) { .bd-step-media { aspect-ratio: 1.05; } .bd-step-media .bd-phone.md { width: 44%; } }
@media (max-width: 640px) { .bd br.d { display: none; } }
