/* raycubed — inner pages: solutions, hardware, pricing, about, demo, 404 */

.h2.small { font-size: clamp(26px, 3vw, 40px); }
.hero-tagline { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.1vw, 30px); letter-spacing: -.01em; line-height: 1.1; text-transform: uppercase; }
.page-hero.short { min-height: min(72svh, 700px); }
.page-hero.center { align-items: center; text-align: center; }
.page-hero.center .page-hero-inner { justify-items: center; }
.page-hero.center .display { max-width: 16ch; }

/* ================================================================== SOLUTIONS */
.seg-scroll { overflow-x: auto; margin: 0 calc(var(--pad) * -1) 26px; padding: 6px var(--pad); scrollbar-width: none; }
.seg-scroll::-webkit-scrollbar { display: none; }
.industry-panels { position: relative; }
.industry { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 56px); align-items: center; scroll-margin-top: 130px;
  background: radial-gradient(70% 90% at 100% 100%, rgb(30 143 255 / .14), transparent 70%), linear-gradient(180deg, rgb(255 255 255 / .055), rgb(255 255 255 / .02)); }
.industry[hidden] { display: none; }
.industry.is-entering { animation: panel-in var(--bouncy-ms) var(--bouncy) both; }
@keyframes panel-in { from { opacity: 0; filter: blur(10px); transform: translateY(16px) scale(.985); } }
.ind-copy { display: grid; gap: 18px; justify-items: start; }
.ind-challenge { font-size: 18px; color: var(--text-2); max-width: 540px; }
.ind-kit { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-kit .chip svg { --ia: var(--pink); }
.ind-visual { display: grid; place-items: center; }
.mini-feed { width: min(400px, 100%); padding: 12px; border-radius: 26px; background: rgb(10 15 36 / .55); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgb(0 0 0 / .7); }
.mf-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 14px; font-size: 14px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgb(202 40 113 / .6); } 50% { box-shadow: 0 0 0 6px rgb(202 40 113 / 0); } }
.mf-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; font-size: 14.5px; }
.mf-row + .mf-row { border-top: 1px solid var(--line); }
.mf-row small { display: block; color: var(--text-3); font-size: 12.5px; }
.mf-row em { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.mf-row em.ok { color: #9FD1FF; background: rgb(30 143 255 / .16); }
.mf-row em.warn { color: #FFB3D4; background: rgb(202 40 113 / .2); }
.mf-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; padding: 14px 12px 6px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 14px; }
.mf-total b { font-size: 22px; color: var(--white); font-variant-numeric: tabular-nums; }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--pink)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { padding: 30px; display: grid; gap: 16px; align-content: start; }
.team-card > p { color: var(--text-2); }

.day { overflow: hidden; }
.day-head { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; }
.day-controls { display: flex; gap: 10px; }
.day-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 10px; scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2)); outline: none; }
.day-track::-webkit-scrollbar { display: none; }
.day-list { list-style: none; margin: 0; padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2)); display: flex; gap: 16px; width: max-content; }
.day-card { width: 300px; min-height: 250px; padding: 28px; display: grid; gap: 12px; align-content: start; scroll-snap-align: start; }
.day-card time { font: 500 30px/1 var(--display); letter-spacing: -.03em; color: var(--blue-2); }
.day-card p { color: var(--text-2); font-size: 15px; }
.day-progress { height: 2px; margin-top: 28px; border-radius: 2px; background: var(--line); overflow: hidden; }
.day-progress i { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--pink); box-shadow: 0 0 12px var(--pink); transform-origin: left; transition: width .3s ease; }

/* ================================================================== HARDWARE */
.hw-hero .page-hero-inner { align-self: end; }
.hw-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hw-hero-art { position: relative; display: grid; place-items: center; min-height: 380px; perspective: 1200px; }
.hero-card { width: min(420px, 80vw); border-radius: 24px; animation: float 7s ease-in-out infinite; }
.card-shadow { position: absolute; bottom: 8%; left: 50%; width: 60%; height: 30px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .55), transparent); filter: blur(8px); animation: shadow 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 -8px; } 50% { translate: 0 10px; } }
@keyframes shadow { 0%, 100% { scale: .9; opacity: .7; } 50% { scale: 1.05; opacity: 1; } }

.lineup { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.product { grid-column: span 2; display: grid; grid-template-rows: 300px auto; transition: transform var(--snappy-ms) var(--snappy); }
.product.wide { grid-column: span 3; grid-template-rows: 340px auto; }
.product:hover { transform: translateY(-4px); }
.product-art { display: grid; place-items: center; perspective: 900px; background: radial-gradient(55% 55% at 50% 55%, rgb(30 143 255 / .22), transparent 70%); }
.product-meta { display: grid; gap: 10px; padding: 0 28px 28px; align-content: start; }
.product-meta > p { color: var(--text-2); }
.spec-mini { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.spec-mini li { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; color: var(--text-2); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--line); }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.price b { font: 500 24px/1 var(--display); letter-spacing: -.03em; }
.price span { font-size: 13.5px; color: var(--text-3); }
.fob-render, .band-render { --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); filter: drop-shadow(0 30px 40px rgb(0 0 0 / .55)) drop-shadow(0 0 40px rgb(30 143 255 / .35)); }
.fob-render { width: 120px; height: 170px; }
.band-render { width: 210px; height: 190px; }

.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.tap-demo { position: relative; height: 520px; display: grid; place-items: center; border-radius: var(--r-lg);
  background: radial-gradient(60% 60% at 45% 50%, rgb(30 143 255 / .25), transparent 70%), repeating-linear-gradient(90deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 22px);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.reader-render.big { width: 190px; border-radius: 42px; }
.reader-render.big::before { border-radius: 34px; inset: 9px; }
.reader-render.big .reader-sheen { border-radius: 34px; inset: 9px; }
.demo-card { position: absolute; left: 50%; top: 50%; translate: 70px 60px; rotate: 12deg; transition: translate .9s var(--bouncy), rotate .9s var(--bouncy); }
.tap-demo.is-tapping .demo-card { translate: -40px -70px; rotate: -6deg; transition: translate var(--bouncy-ms) var(--bouncy), rotate var(--bouncy-ms) var(--bouncy); }
.demo-toast { position: absolute; top: 24px; left: 50%; translate: -50% -140%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 22px; white-space: nowrap;
  background: rgb(255 255 255 / .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2), 0 20px 40px -20px rgb(0 0 0 / .6);
  opacity: 0; transition: translate .5s var(--smooth), opacity .3s ease; }
.demo-toast b { display: block; font-size: 15px; }
.demo-toast small { color: var(--text-2); font-size: 13px; }
.tap-demo.is-done .demo-toast { translate: -50% 0; opacity: 1; transition: translate var(--bouncy-ms) var(--bouncy), opacity .3s ease; }
.try-copy { display: grid; gap: 20px; justify-items: start; }
.try-note { min-height: 1.5em; }

.table-wrap.second { margin-top: 18px; }
.compat { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); }
.compat > div { display: grid; gap: 16px; }
.compat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.compat-list .chip { height: 40px; padding: 0 16px; font-size: 14px; }
.compat-list .chip svg { font-size: 17px; --ia: var(--pink); }

/* ================================================================== PRICING */
.billing { margin-top: 6px; }
.plans-section { padding-top: 0; margin-top: -40px; position: relative; z-index: 3; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 32px; display: grid; gap: 18px; align-content: start; }
.plan header { display: grid; gap: 6px; }
.plan header p { color: var(--text-2); font-size: 15px; }
.plan .btn { width: 100%; }
.plan-price { display: flex; align-items: flex-start; gap: 4px; min-height: 76px; margin-top: 6px; }
.plan-price .cur { font: 500 26px/1.3 var(--display); color: var(--text-2); }
.plan-price .amount, .plan-price .amount-text { font: 500 64px/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; display: inline-flex; }
.plan-price .amount-text { font-size: 52px; letter-spacing: -.04em; }
.plan-price .per { margin: 8px 0 0 10px; font-size: 13px; line-height: 1.35; color: var(--text-3); }
.plan-billed { margin-top: -10px; font-size: 13.5px; color: var(--text-3); }
.plan .list-check { padding-top: 18px; border-top: 1px solid var(--line); }
.plan.featured {
  background:
    radial-gradient(80% 60% at 50% 0%, rgb(202 40 113 / .22), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / .08), rgb(255 255 255 / .03));
  box-shadow: inset 0 0 0 1px rgb(202 40 113 / .55), inset 0 1px 0 rgb(255 255 255 / .12), 0 40px 80px -40px rgb(202 40 113 / .55);
}
.plan-badge { position: absolute; top: 22px; right: 22px; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: #FFD0E4; background: rgb(202 40 113 / .22); box-shadow: inset 0 0 0 1px rgb(202 40 113 / .55); }
.digit { position: relative; display: inline-block; overflow: hidden; height: 1em; line-height: 1; }
.digit > span { display: block; transition: transform var(--snappy-ms) var(--snappy), opacity .25s ease, filter .3s ease; }
.digit > .out { position: absolute; inset: 0; }
.plans-note { margin-top: 22px; font-size: 14px; text-align: center; }

.compare .table th:not(:first-child), .compare .table td { text-align: center; }
.compare .table tbody th { text-align: left; }
.compare thead th:nth-child(3) { color: #FFB3D4; }

.hw-prices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.hw-prices li { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-md); }
.hw-prices svg { font-size: 30px; --sw: 1.15; }
.hw-prices small { display: block; color: var(--text-3); font-size: 13px; }
.hw-prices em { font: 500 28px/1 var(--display); font-style: normal; letter-spacing: -.03em; }
.faq-two { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }

/* ================================================================== ABOUT */
.manifesto { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.18; letter-spacing: -.035em; max-width: 22ch; max-width: 1050px; text-wrap: balance; }
.manifesto em { font-style: normal; color: #FF8CC0; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.name-mark { display: grid; place-items: center; padding: 60px; border-radius: 40px; background: radial-gradient(60% 70% at 50% 50%, rgb(30 143 255 / .18), transparent 70%), repeating-linear-gradient(90deg, rgb(255 255 255 / .03) 0 1px, transparent 1px 20px); box-shadow: inset 0 0 0 1px var(--line); }
.name-mark img { width: min(420px, 100%); height: auto; filter: drop-shadow(0 20px 50px rgb(30 143 255 / .35)); }
.name-copy { display: grid; gap: 18px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trio-card { padding: 30px; display: grid; gap: 14px; align-content: start; }
.trio-card p { color: var(--text-2); }
.trio-n { position: absolute; top: 26px; right: 28px; font: 500 13px/1 var(--display); color: var(--text-3); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principles article { display: grid; gap: 14px; align-content: start; padding: 26px 0 0; border-top: 1px solid var(--line-2); }
.principles p { color: var(--text-2); font-size: 15px; }
.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promise-card { padding: 32px; display: grid; gap: 20px; align-content: start; }
.promise-card h3 { display: flex; align-items: center; gap: 10px; }
.promise-card.never .list-check svg { color: #FF8CC0; }
.legal-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.legal-row div { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal-row span { color: var(--text-3); font-size: 14.5px; }
.careers { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: clamp(28px, 4vw, 56px); }
.careers > div { display: grid; gap: 14px; max-width: 640px; }

/* ================================================================== DEMO */
.demo { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.demo-visual { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; padding: 140px clamp(24px, 4vw, 64px) 64px; }
.demo-visual .hero-scrim { background: linear-gradient(to top, rgb(10 15 36 / .85), rgb(10 15 36 / .25) 55%, rgb(10 15 36 / .35)), linear-gradient(to right, transparent 70%, rgb(10 15 36 / .6)); }
.demo-copy { position: relative; z-index: 2; display: grid; gap: 20px; max-width: 560px; }
.demo-copy .display { font-size: clamp(40px, 5vw, 76px); }
.demo-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.demo-points li { display: flex; gap: 14px; align-items: center; }
.demo-points .icon-tile { width: 46px; height: 46px; border-radius: 14px; font-size: 22px; }
.demo-points b { display: block; font-size: 15.5px; }
.demo-points small { color: var(--text-2); font-size: 14px; }
.demo-mail { color: var(--text-2); font-size: 15px; }
.demo-mail a { color: var(--white); text-decoration: underline; text-decoration-color: rgb(255 255 255 / .35); text-underline-offset: 3px; }
.demo-form-wrap { display: grid; align-items: center; padding: 130px clamp(24px, 4vw, 72px) 64px; background: radial-gradient(60% 50% at 50% 0%, rgb(30 143 255 / .12), transparent 70%); }
.demo-form { display: grid; gap: 22px; max-width: 560px; width: 100%; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
legend span, .field > span { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field em { font-style: normal; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.input:user-invalid, .select:user-invalid { box-shadow: inset 0 0 0 1px rgb(255 120 170 / .8), 0 0 0 4px rgb(202 40 113 / .2); }
.form-error { padding: 14px 16px; border-radius: 16px; font-size: 14.5px; color: #FFD0E4; background: rgb(202 40 113 / .16); box-shadow: inset 0 0 0 1px rgb(202 40 113 / .5); }
.form-error a { color: var(--white); text-decoration: underline; }
.submit { width: 100%; }
.submit.is-loading { pointer-events: none; opacity: .8; }
.submit.is-loading svg { animation: spin-arrow .9s linear infinite; }
@keyframes spin-arrow { to { transform: rotate(360deg); } }
.form-note { font-size: 13.5px; }
.form-note a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.demo-success { display: grid; gap: 20px; justify-items: start; max-width: 520px; margin: 0 auto; outline: none; }
.demo-success[hidden] { display: none; }
.success-check { width: 76px; height: 76px; }
.success-check circle { fill: rgb(30 143 255 / .16); stroke: var(--blue-2); stroke-width: 1.5; }
.success-check path { fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .7s .2s var(--smooth) forwards; }
.demo-success:not([hidden]) { animation: panel-in var(--bouncy-ms) var(--bouncy) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ================================================================== 404 */
.nf { position: relative; isolation: isolate; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 110px var(--pad) 70px; overflow: hidden; text-align: center; }
.nf .hero-scrim { background: linear-gradient(to top, rgb(10 15 36 / .8), transparent 55%), linear-gradient(to bottom, rgb(10 15 36 / .3), transparent 25%); }
.nf > :not(.hero-canvas):not(.hero-fallback):not(.hero-scrim) { position: relative; z-index: 2; }
.nf-copy { display: grid; gap: 14px; justify-items: center; }
.nf .hero-actions { justify-content: center; }

/* ================================================================== responsive */
@media (max-width: 1100px) {
  .lineup { grid-template-columns: repeat(2, 1fr); }
  .product, .product.wide { grid-column: span 1; grid-template-rows: 280px auto; }
  .product.wide:last-child { grid-column: 1 / -1; }
  .hw-prices { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .legal-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .industry, .team-grid, .try-grid, .compat, .plans, .faq-two, .name-grid, .trio, .promise { grid-template-columns: 1fr; }
  .hw-hero-grid { grid-template-columns: 1fr; }
  .hw-hero-art { min-height: 260px; order: -1; }
  .hero-card { width: min(320px, 72vw); }
  .plans-section { margin-top: 0; }
  .tap-demo { height: 420px; }
  .demo { grid-template-columns: 1fr; }
  .demo-visual { min-height: 78svh; }
  .demo-form-wrap { padding-top: 56px; padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  .nf { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .careers { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .lineup { grid-template-columns: 1fr; }
  .product.wide:last-child { grid-column: auto; }
  .hw-prices { grid-template-columns: 1fr 1fr; }
  .principles, .legal-row, .form-grid { grid-template-columns: 1fr; }
  .day-card { width: 78vw; }
  .day-controls { display: none; }
  .plan { padding: 26px; }
  .name-mark { padding: 36px; }
}
