/* Ubity Commerce product site. Same family as the BioPunch product site (Sora + Inter, light page, dark mode, round cards), in the Commerce red.
   Red ramp from the icon colour #e8443c. Buttons use 600: white text on 500 fails 4.5:1. */
:root {
  --b50: #FFF1EF; --b100: #FFE0DB; --b200: #FFC3BA; --b300: #FF9F90; --b400: #F9705F;
  --b500: #E8443C; --b600: #CF2F2B; --b700: #AB2323; --b800: #7F1B1D; --b900: #4A1012;
  --page: #FBF6F5; --card: #fff; --soft: #F6ECEA; --line: #EADBD8; --head: #1F1413; --text: #4A3B39; --muted: #6B5A57;
  --accent: var(--b600); --accent-text: var(--b700); --chip: var(--b50);
  --display: "Sora", "IBM Plex Sans Arabic", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", "IBM Plex Sans Arabic", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(1.1rem, 4vw, 2.5rem); --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
:root.dark {
  --page: #1A1110; --card: #241817; --soft: #2E1F1D; --line: #3A2826; --head: #fff; --text: #D9C8C5; --muted: #C2ADA9;
  --accent: var(--b300); --accent-text: var(--b300); --chip: #3A2826;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 17px; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; } ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); color: var(--head); letter-spacing: -.02em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
/* hidden by clipping, not by an off-screen position: an off-screen box makes a right-to-left page scroll sideways */
.skip, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 1rem; top: 1rem; z-index: 99; background: #fff; color: #000; padding: .5rem 1rem; border-radius: 8px; }
.kicker { font-size: .8rem; font-weight: 600; color: var(--accent-text); letter-spacing: .02em; }
svg.i { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 14px; font-weight: 600; font-size: .95rem; border: 1px solid var(--line); background: var(--card); color: var(--head); cursor: pointer; transition: transform .3s var(--ease), background .2s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(127, 27, 29, .12); }
.btn.main { background: var(--b600); border-color: var(--b600); color: #fff; } .btn.main:hover { background: var(--b700); }
.btn.sm { min-height: 40px; padding: .4rem 1rem; font-size: .88rem; border-radius: 12px; }

.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--page) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: .75rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 1.08rem var(--display); color: var(--head); white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 22.4%; }
.top nav { display: flex; gap: .25rem; } .top .side { display: flex; align-items: center; gap: .25rem; }
.nl { padding: .5rem .75rem; border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--text); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; font-family: inherit; }
.nl:hover { background: var(--soft); color: var(--head); }
@media (max-width: 980px) { .top nav { display: none; } }
@media (max-width: 420px) { .brand span, #theme { display: none; } }
.top .btn { white-space: nowrap; }

.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset-block-start: -30%; inset-inline-end: -15%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--b400) 30%, transparent), transparent 72%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
h1 { font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; margin: 1rem 0 1.25rem; }
h1 em, h2 em { font-style: normal; color: var(--accent-text); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 34rem; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.note { margin-top: .9rem; font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }

/* hero drawing: three devices with the shop's own name. A picture, hidden from screen readers. Always left-to-right inside. */
.stage { position: relative; aspect-ratio: 1 / .88; min-width: 0; margin-bottom: 2.4rem; }
.win, .ph { position: absolute; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(74, 16, 18, .18); overflow: hidden; }
.win { left: 0; top: 0; width: 76%; max-height: 94%; border-radius: 14px; }
.bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.bar u { flex: 1; margin-inline-start: 8px; border-radius: 8px; background: var(--soft); text-decoration: none; font-size: 9px; line-height: 17px; color: var(--muted); padding-inline: 10px; direction: ltr; text-align: left; }
.shop { padding: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.shop header { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font: 700 13px var(--display); color: var(--head); }
.shop header i { font: 500 9px var(--sans); font-style: normal; color: var(--muted); }
.pc { background: var(--soft); border-radius: 10px; padding: 7px; font-size: 10px; line-height: 1.35; color: var(--head); }
.pc::before, .row::before { content: ""; display: block; background: linear-gradient(140deg, var(--c1, #FF9F90), var(--c2, #CF2F2B)); }
.pc::before { aspect-ratio: 1.3; border-radius: 7px; margin-bottom: 6px; }
.pc b { display: block; font-weight: 600; } .pc s { text-decoration: none; color: var(--accent-text); font-weight: 600; font-size: 9px; }
.ph { width: 27%; aspect-ratio: 9 / 18.4; border-radius: 24px; padding: 6px; background: #1F1413; border-color: #1F1413; }
:root.dark .ph { border-color: #6B5A57; background: #0E0908; }
.ph.a { right: 29%; bottom: 0; } .ph.b { right: 0; bottom: 7%; transform: rotate(3deg); }
.scr { height: 100%; border-radius: 18px; background: var(--page); padding: 13px 8px 8px; display: flex; flex-direction: column; gap: 6px; font-size: 9.5px; line-height: 1.3; color: var(--head); }
.scr h4 { margin: 0; font: 700 12px var(--display); } .scr h4 small { display: block; font: 500 8px var(--sans); color: var(--muted); }
.row { overflow: hidden; display: flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 5px; min-width: 0; }
.row::before { flex: none; width: 22px; height: 22px; border-radius: 6px; }
.row div { min-width: 0; } .row b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .row span { color: var(--muted); font-size: 8px; }
.row em { margin-inline-start: auto; font-style: normal; font-weight: 600; font-size: 7.5px; padding: 2px 5px; border-radius: 9px; background: var(--b100); color: var(--b800); white-space: nowrap; }
.row em.ok { background: #D5F5E2; color: #0A4A25; }
.pay { margin-top: auto; background: var(--b600); color: #fff; font-weight: 600; font-size: 9px; text-align: center; padding: 8px; border-radius: 10px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 42px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; }
.bars i { flex: 1; background: var(--b400); border-radius: 2px 2px 0 0; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: .8rem; }
@media (max-width: 520px) { .win { width: 70%; } .ph { width: 33%; border-radius: 18px; } .ph.a { right: 34%; } .scr { border-radius: 13px; } }
.stage figcaption { position: absolute; inset-inline-start: 0; bottom: -2.2rem; margin: 0; }

.facts ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.3rem; }
.facts strong { display: block; font: 800 2.3rem/1.1 var(--display); color: var(--accent-text); }
.facts span { font-size: .9rem; }
@media (max-width: 820px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.head { max-width: 46rem; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
h2 { font-weight: 800; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; margin: .6rem 0 .9rem; }
.head p:last-child { font-size: 1.08rem; }
.band { background: var(--card); border-block: 1px solid var(--line); }
h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .35rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.cell { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; transition: transform .35s var(--ease), box-shadow .35s; }
.band .cell { background: var(--page); }
.cell:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(127, 27, 29, .1); }
.cell p, .step p { font-size: .95rem; }
.chip { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--chip); color: var(--accent-text); margin-bottom: 1rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: .15rem .55rem; border-radius: 99px; background: var(--chip); color: var(--accent-text); margin-inline-start: .4rem; vertical-align: middle; }

/* one order, from tap to door */
.path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.step { position: relative; background: var(--page); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem 1.2rem; counter-increment: s; }
.step::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--b600); color: #fff; font: 700 .95rem var(--display); margin-bottom: .9rem; }
.step .who { display: block; font-size: .75rem; font-weight: 600; color: var(--accent-text); margin-bottom: .3rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 2.3rem; inset-inline-end: -1rem; width: 1rem; border-top: 2px dashed var(--b300); }
.step.opt { border-style: dashed; }
@media (max-width: 980px) { .path { grid-template-columns: minmax(0, 1fr); } .step:not(:last-child)::after { top: auto; bottom: -1rem; inset-inline-end: auto; inset-inline-start: 2.2rem; width: 0; height: 1rem; border-top: 0; border-inline-start: 2px dashed var(--b300); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.list { display: grid; gap: 1.15rem; } .list li { display: flex; gap: .9rem; } .list .chip { margin: 0; }
.map { width: 100%; height: auto; display: block; border-radius: 22px; border: 1px solid var(--line); background: var(--soft); }
.map text { font: 600 13px var(--sans); fill: var(--head); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1rem; }
.plans + .plans { margin-top: 1rem; }
.ticks { margin-top: .8rem; display: grid; gap: .4rem; font-size: .92rem; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; } .ticks svg { color: var(--accent-text); margin-top: .2rem; width: 1rem; height: 1rem; }
.all { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.all h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; } .all h3 .chip { margin: 0; width: 36px; height: 36px; }
.small { font-size: .88rem; color: var(--muted); margin-top: 1rem; }

/* honest table */
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: start; padding: 1rem 1.2rem; vertical-align: top; } tr + tr > * { border-top: 1px solid var(--line); }
th { font-weight: 600; color: var(--head); width: 38%; }
@media (max-width: 600px) { th, td { display: block; width: auto; } td { border-top: 0 !important; padding-top: 0; } }

.steps3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; counter-reset: s; }

.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-weight: 600; color: var(--head); font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-text); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 1.2rem; max-width: 44rem; }

.demo .box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); background: linear-gradient(135deg, var(--b700), var(--b900)); color: #FFF1EF; border-radius: 28px; padding: clamp(1.5rem, 5vw, 3.5rem); }
.demo h2, .demo h3 { color: #fff; } .demo .ticks svg { color: #fff; }
.direct { display: grid; gap: .55rem; margin-top: 1.6rem; font-weight: 600; color: #fff; } .direct a { display: inline-flex; gap: .55rem; align-items: center; } .direct a:hover { text-decoration: underline; }
.direct bdo { unicode-bidi: bidi-override; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-content: start; background: var(--card); color: var(--text); border-radius: 20px; padding: clamp(1.1rem, 3vw, 1.8rem); }
.f { display: flex; flex-direction: column; gap: .35rem; min-width: 0; } .f.w, .send { grid-column: 1 / -1; }
.f span { font-size: .85rem; font-weight: 600; color: var(--head); } .f small { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; background: var(--page); border: 1px solid var(--line); border-radius: 12px; color: var(--head); font: 400 1rem var(--sans); padding: .65rem .8rem; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; } #status { font-size: .92rem; font-weight: 600; }
@media (max-width: 860px) { .demo .box { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .f { grid-column: 1 / -1; } }

footer { border-top: 1px solid var(--line); background: var(--card); padding: 2rem 0 2.4rem; font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; } footer a:hover { color: var(--accent-text); }

/* reveal only with JS, so the page is complete without it; off under reduced motion */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; } *, *::before, *::after { transition: none !important; } }
