/* maxzax.app: the remote. Loaded after site.css on the home page. Yellow room, ink remote, Zax on the screen. */
.rmt { --rubber: #ECEAE4; --rubber-edge: #A9A598; --red: #FF4D5E; --floor: #E2D83A; }
html, body { overflow-x: clip; }
.rmt section { padding: 110px 0; }
.rmt .top { background: color-mix(in srgb, var(--yellow) 92%, transparent); }
.rmt .top nav a { color: #3B3934; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

h2 { text-wrap: balance; }
/* ---- hero: the room */
.hero-r { background: var(--yellow); padding: 34px 0 0 !important; overflow: clip; position: relative; }
.hero-r::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 74px; background: var(--floor); z-index: 0; }
.hero-copy { display: grid; grid-template-columns: 1fr; gap: 26px; }
.hero-r h1 { font-size: clamp(92px, 11.4vw, 166px); line-height: .86; white-space: nowrap; }
.hero-r h1 br.m { display: none; }
.hero-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 48px; align-items: end; }
.hero-side .lede { color: #3B3934; margin: 0; max-width: 44ch; }
.hero-side .cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; justify-content: flex-end; }
.hero-side .small-note { grid-column: 1 / -1; color: #5E5A3E; margin: 0; }

.room { position: relative; z-index: 1; display: grid; grid-template-columns: 270px minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "try tv" "rc tv"; column-gap: 28px; align-items: end; margin-top: 34px; padding-bottom: 26px; }
.try { grid-area: try; margin: 0 0 22px 18px; font-weight: 600; font-size: 16px; color: #3B3934; align-self: end; }
.try span { display: inline-block; margin-left: 4px; }

/* the screen */
.tv { grid-area: tv; justify-self: end; width: min(740px, 100%); display: flex; flex-direction: column; align-items: center; }
.tv-screen { width: 100%; aspect-ratio: 16 / 9.4; background: radial-gradient(120% 90% at 30% 10%, #1B1D2A 0%, #0D0D10 60%); border: 14px solid #17171B; border-radius: 26px;
  box-shadow: 0 0 0 1px #000, 0 40px 60px -30px rgba(40, 35, 0, .55); color: #F5F4F1; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.tv-screen.flash::before { content: ""; position: absolute; inset: 0; background: rgba(92, 230, 255, .10); animation: flash .35s ease-out forwards; pointer-events: none; }
@keyframes flash { to { opacity: 0; } }
.tv-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; font-size: 13px; color: #A6A2AD; border-bottom: 1px solid #23232A; }
.tv-led { width: 8px; height: 8px; border-radius: 50%; background: var(--max); box-shadow: 0 0 10px var(--max); }
.tv-led.busy { background: #5CE6FF; box-shadow: 0 0 10px #5CE6FF; }
.tv-led.wait { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }
.tv-led.off { background: var(--red); box-shadow: 0 0 10px var(--red); }
.tv-clock { margin-left: auto; font-variant-numeric: tabular-nums; }
.tv-body { flex: 1; display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 22px; align-items: center; padding: 18px 28px 22px 18px; min-height: 0; }
.tv-zax { aspect-ratio: 1; width: 100%; max-width: 230px; justify-self: center; }
.tv-zax .orb, .last-zax .orb { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 18px 26px rgba(47, 91, 255, .35)); }
.tv-job { min-width: 0; }
.tv-ask { font: 600 clamp(17px, 1.9vw, 23px)/1.25 var(--font); letter-spacing: -.015em; margin: 0 0 14px; color: #F5F4F1; text-wrap: balance; }
.tv-ask.idle { color: #A6A2AD; font-weight: 500; }
.tv-ask.typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: #5CE6FF; margin-left: 3px; vertical-align: -.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.tv-steps li { display: flex; gap: 10px; align-items: center; color: #77737F; transition: color .2s; }
.tv-steps li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #3A3A42; box-sizing: border-box; }
.tv-steps li.doing { color: #F5F4F1; }
.tv-steps li.doing::before { border-color: #5CE6FF; border-right-color: transparent; animation: spin .8s linear infinite; }
.tv-steps li.done { color: #C9C6CF; }
.tv-steps li.done::before { border: 0; background: var(--max) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.tv-steps li.halt { color: #77737F; text-decoration: line-through; }
@keyframes spin { to { transform: rotate(360deg); } }
.tv-out { margin-top: 14px; min-height: 0; }
.tv-out > * { animation: pop .35s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.tv-neck { width: 96px; height: 46px; background: linear-gradient(90deg, #17171B, #2A2A30 50%, #17171B); }
.tv-foot { width: 300px; height: 16px; border-radius: 10px 10px 4px 4px; background: #17171B; }

/* results on the screen */
.o { display: inline-flex; align-items: center; gap: 12px; background: #1C1C22; border: 1px solid #2B2B33; border-radius: 16px; padding: 12px 16px; font-size: 14px; max-width: 100%; }
.o b { display: block; font-size: 15px; color: #fff; font-weight: 600; }
.o small { display: block; color: #A6A2AD; font-size: 13px; }
.o .ic { width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center; font: 700 12px/1 var(--font); color: #111; }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 22px; margin-left: 6px; }
.eq i { width: 4px; background: var(--max); border-radius: 2px; animation: eq .9s ease-in-out infinite alternate; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; } .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { from { height: 4px; } to { height: 22px; } }
.o-bar { width: min(260px, 50vw); height: 8px; border-radius: 99px; background: #2B2B33; overflow: hidden; margin-top: 8px; }
.o-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2F5BFF, #5CE6FF); border-radius: inherit; transition: width 1.4s ease; }
.o s { color: #77737F; }
.o-ask { display: block; }
.o-ask q { display: block; margin: 6px 0 12px; color: #fff; font-weight: 600; quotes: "“" "”"; }
.o-ask .row { display: flex; gap: 8px; flex-wrap: wrap; }
.o-ask button { border: 0; border-radius: 999px; padding: 9px 16px; font: 600 14px/1 var(--font); cursor: pointer; background: #2B2B33; color: #fff; }
.o-ask button.yes { background: var(--max); color: #111; }

/* the remote */
.rc { grid-area: rc; position: relative; width: 248px; justify-self: start; margin-bottom: -8px; transform: rotate(-6deg); transform-origin: 50% 100%;
  background: linear-gradient(160deg, #2C2C33 0%, #17171B 55%, #101013 100%); border-radius: 52px 52px 44px 44px; padding: 20px 18px 22px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .09), inset 0 -3px 0 rgba(0, 0, 0, .5), 0 34px 40px -16px rgba(50, 45, 0, .55); }
.rc-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 8px 16px; }
.rc-eye { width: 34px; height: 14px; border-radius: 10px; background: #3A0E14; box-shadow: inset 0 2px 3px rgba(0, 0, 0, .6); position: relative; }
.rc-eye::after { content: ""; position: absolute; inset: 3px 11px; border-radius: 4px; background: #6B1A24; }
.rc-eye.on::after { background: #FF6B7A; box-shadow: 0 0 14px 4px rgba(255, 90, 110, .8); }
.rc-mark { color: #fff; font: 700 17px/1 var(--font); letter-spacing: -.045em; font-stretch: 85%; opacity: .92; }
.rc-row { display: grid; grid-template-columns: 1fr 64px; gap: 10px; margin-bottom: 14px; }
.rc-mic, .rc-stop, .rc-key { -webkit-tap-highlight-color: transparent; cursor: pointer; border: 0; font-family: var(--font); transition: transform .08s, box-shadow .08s, background .15s; }
.rc-mic { height: 64px; border-radius: 32px; background: var(--max); color: #0B3B22; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 5px 0 #1E9A52, inset 0 2px 0 rgba(255, 255, 255, .45); }
.rc-mic svg { width: 22px; height: 22px; }
.rc-stop { height: 64px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-size: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 5px 0 #B3263A, inset 0 2px 0 rgba(255, 255, 255, .35); }
.rc-stop i { width: 14px; height: 14px; border-radius: 3px; background: #fff; }
.rc-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rc-key { min-height: 66px; border-radius: 18px; background: var(--rubber); color: var(--ink); font-weight: 650; font-size: 13.5px; line-height: 1.15; text-align: left; padding: 10px 12px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 6px; box-shadow: 0 5px 0 var(--rubber-edge), inset 0 2px 0 #fff; }
.rc-key i { font-style: normal; font-size: 16px; line-height: 1; color: var(--zax); }
.rc-mic:active, .rc-mic.down, .rc-stop:active, .rc-key:active, .rc-key.down { transform: translateY(4px); box-shadow: 0 1px 0 var(--rubber-edge), inset 0 2px 0 #fff; }
.rc-mic:active, .rc-mic.down { box-shadow: 0 1px 0 #1E9A52, inset 0 2px 0 rgba(255, 255, 255, .45); }
.rc-stop:active { box-shadow: 0 1px 0 #B3263A; }
.rc-key.on { background: #fff; box-shadow: 0 5px 0 var(--rubber-edge), inset 0 0 0 3px var(--zax); }
.rc-key.on.down { box-shadow: 0 1px 0 var(--rubber-edge), inset 0 0 0 3px var(--zax); }
.rc-key.hint { animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%, 100% { box-shadow: 0 5px 0 var(--rubber-edge), inset 0 2px 0 #fff, 0 0 0 0 rgba(47, 91, 255, .5); } 50% { box-shadow: 0 5px 0 var(--rubber-edge), inset 0 2px 0 #fff, 0 0 0 7px rgba(47, 91, 255, 0); } }
.rc-grip { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.rc-grip i { width: 26px; height: 4px; border-radius: 2px; background: #2E2E35; }
.rc :focus-visible { outline: 3px solid #5CE6FF; outline-offset: 3px; }

@media (max-width: 980px) {
  .hero-side { grid-template-columns: 1fr; } .hero-side .cta { justify-content: flex-start; }
  .room { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "try" "tv" "rc"; margin-top: 34px; padding-bottom: 40px; }
  .hero-r::after { height: 160px; }
  .tv { justify-self: stretch; width: 100%; }
  .rc { justify-self: center; transform: none; width: min(380px, 100%); margin: 26px 0 0; border-radius: 40px; }
  .rc-keys { grid-template-columns: 1fr 1fr 1fr; }
  .rc-key { min-height: 62px; font-size: 13px; }
}
@media (max-width: 700px) { .hero-r h1 { white-space: normal; font-size: clamp(92px, 30vw, 150px); } .hero-r h1 br.m { display: inline; } .try { margin-left: 2px; } }
@media (max-width: 560px) {
  .tv-screen { border-width: 9px; border-radius: 18px; aspect-ratio: auto; min-height: 300px; }
  .tv-body { grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; align-items: start; }
  .tv-foot, .tv-neck { display: none; }
  .tv-screen { min-height: 270px; }
  .rc { margin-top: 14px; padding: 16px 14px 14px; }
  .rc-head { padding-bottom: 12px; }
  .rc-mic, .rc-stop { height: 54px; } .rc-row { grid-template-columns: 1fr 54px; margin-bottom: 10px; }
  .rc-key { min-height: 54px; padding: 8px 10px; gap: 4px; font-size: 12.5px; }
  .rc-grip { margin-top: 12px; }
  .tv-steps { font-size: 14px; }
  .o-bar { width: 160px; }
}

/* ---- set up: the leaflet */
.setup { padding-top: 120px !important; }
.leaflet { background: #fff; border-radius: 6px; padding: 44px 44px 48px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(0, 0, 0, .3); transform: rotate(-.4deg); }
.leaflet-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 40px; margin-bottom: 30px; }
.leaflet-head h2 { margin: 0; }
.leaflet-head p { margin: 0; color: var(--ink-2); max-width: 36ch; font-size: 18px; }
.figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.figs li { padding: 0 30px; display: flex; flex-direction: column; gap: 6px; }
.figs li:first-child { padding-left: 0; }
.figs li:last-child { padding-right: 0; }
.figs li + li { border-left: 2px dashed var(--line); }
.figs svg { width: 100%; max-width: 230px; height: auto; margin-bottom: 14px; }
.fig { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.figs h3 { font-size: 22px; margin: 0; }
.figs p { margin: 0; color: var(--ink-2); }
.figs .btn { align-self: flex-start; margin-top: 14px; }
@media (max-width: 860px) { .leaflet { padding: 30px 22px; transform: none; } .figs { grid-template-columns: 1fr; gap: 30px; } .figs li { padding: 0 !important; } .figs li + li { border-left: 0; border-top: 2px dashed var(--line); padding-top: 30px !important; } }

/* ---- channels */
.channels { padding-top: 40px !important; }
.guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ch { background: var(--card); border-radius: 22px; padding: 22px 24px 26px; min-height: 220px; display: flex; flex-direction: column; }
.ch.w2 { grid-column: span 2; }
.ch h3 { font-size: 22px; margin-top: auto; }
.ch p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.chn { align-self: flex-start; font: 700 13px/1 var(--font); padding: 6px 10px 5px; border-radius: 8px; border: 2px solid currentColor; margin-bottom: 26px; letter-spacing: .02em; }
.ch.c-yellow { background: var(--yellow); }
.ch.c-yellow p { color: #3B3934; }
.ch.c-yellow h3 { font-size: 30px; }
.ch.c-night { background: var(--night-2); color: #fff; }
.ch.c-night p { color: #C9C6CF; }
.ch.c-blue { background: var(--zax); color: #fff; }
.ch.c-blue p { color: #DCE4FF; }
@media (max-width: 980px) { .guide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guide { grid-template-columns: 1fr; } .ch.w2 { grid-column: auto; } .ch { min-height: 0; } .ch h3 { margin-top: 0; } }

/* ---- safety: the flip cover */
.safety { background: var(--night); color: #F5F4F1; }
.safety h2 { color: #F5F4F1; }
.safe-grid { display: grid; grid-template-columns: 420px 1fr; gap: 70px; align-items: center; }
.switch-box { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.pay-switch { position: relative; width: 260px; height: 220px; border-radius: 28px; perspective: 700px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, #111 18px 36px); padding: 18px; }
.pay-switch::before { content: ""; position: absolute; inset: 18px; border-radius: 16px; background: #1E1E24; }
.pay-key { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--rubber); color: var(--ink); font: 700 22px/1 var(--font); box-shadow: 0 7px 0 var(--rubber-edge), inset 0 2px 0 #fff; transition: transform .08s, box-shadow .08s; }
.pay-key:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--rubber-edge); }
.pay-lid { position: absolute; inset: 10px; border-radius: 22px; border: 2px solid rgba(255, 140, 150, .7); cursor: pointer; transform-origin: 50% 0; transition: transform .55s cubic-bezier(.3, 1.4, .5, 1);
  background: linear-gradient(170deg, rgba(255, 92, 108, .55), rgba(200, 30, 50, .45)); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); color: #fff; font: 700 15px/1 var(--font);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 16px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35); }
.pay-lid[aria-expanded="true"] { transform: rotateX(118deg); }
.pay-lid span { background: rgba(0, 0, 0, .35); padding: 7px 12px; border-radius: 999px; transition: opacity .2s; }
.pay-lid[aria-expanded="true"] span { opacity: 0; }
.switch-box { padding-top: 60px; }
.pay-note { margin: 0; text-align: center; color: #C9C6CF; max-width: 30ch; min-height: 3em; font-size: 16px; }
.rules { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; }
.rules li { color: #C9C6CF; font-size: 16px; padding-top: 16px; border-top: 1px solid var(--night-line); }
.rules b { display: block; color: #fff; font-size: 19px; margin-bottom: 4px; }
@media (max-width: 980px) { .safe-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } }

/* ---- recharge vouchers */
.vouchers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vch { background: var(--card); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; position: relative; }
.vch-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.vch-top h3 { margin: 0; font-size: 24px; }
.vch-tag { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); white-space: nowrap; }
.vch .price { font: 400 92px/.86 var(--display); }
.vch .per { color: var(--ink-2); font-size: 15px; margin-top: 6px; min-height: 22px; }
.vch-meta { margin: 22px 0 0; padding-top: 18px; border-top: 2px dashed var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
.vch-meta::before, .vch-meta::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.vch-meta::before { left: -36px; } .vch-meta::after { right: -36px; }
.vch-meta dt { font-size: 13px; color: var(--ink-3); }
.vch-meta dd { margin: 2px 0 0; font-weight: 650; font-size: 15px; }
.vch ul { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.vch li { padding-left: 24px; position: relative; color: var(--ink-2); }
.vch li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--max); }
.vch .btn { margin-top: auto; width: 100%; }
.vch .btn.light { background: var(--bg); }
.vch.pro { background: var(--zax); color: #fff; }
.vch.pro .per, .vch.pro li, .vch.pro dt { color: #DCE4FF; }
.vch.pro .vch-tag { background: var(--yellow); color: var(--ink); }
.vch.pro .vch-meta { border-top-color: rgba(255, 255, 255, .35); }
.vch.pro .btn { background: #fff; color: var(--ink); }
.vch.pro .err { color: #fff; }
.vch.max { background: var(--night-2); color: #fff; }
.vch.max .per, .vch.max li, .vch.max dt { color: #C9C6CF; }
.vch.max .vch-tag { background: #2B2B31; color: #fff; }
.vch.max .vch-meta { border-top-color: var(--night-line); }
.vch.max .btn { background: var(--max); color: var(--ink); }
.vch.max .err { color: #FF7A88; }
@media (max-width: 1080px) { .vouchers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vouchers { grid-template-columns: 1fr; } }

/* ---- questions, last call, footer */
.qs { padding-top: 40px !important; }
.last { padding-top: 0 !important; }
.last-box { background: var(--max); border-radius: 34px; padding: 46px 56px; display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: center; }
.last-zax { aspect-ratio: 1; width: 100%; }
.last-box h2 { margin: 0 0 6px; }
.last-box p { margin: 0 0 22px; font-size: 19px; color: #0B3B22; }
@media (max-width: 700px) { .last-box { grid-template-columns: 1fr; padding: 34px 26px; gap: 10px; } .last-zax { width: 150px; } }
.giant-wrap { padding-top: 20px; color: var(--ink); }
.giant { width: 100%; height: auto; display: block; }
footer { padding-top: 0; }
footer > .wrap:last-child { padding-top: 28px; border-top: 1px solid var(--line); margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  .rc-key.hint, .eq i, .tv-steps li.doing::before, .tv-ask.typing::after { animation: none; }
  .pay-lid, .o-bar i { transition: none; }
  .leaflet { transform: none; }
}
