:root {
  --navy: #061258;
  --cobalt: #163bf3;
  --ink: #111940;
  --muted: #505a77;
  --line: #dfe5f2;
  --paper: #f4f6ff;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: white;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #5877ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 11; top: 12px; left: 12px; padding: 12px; background: white; }
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px #0612580c;
}
.top, .footer { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 80px; }
.brand img { width: 156px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 38px); color: #303959; font-size: .94rem; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover, .solution-copy a:hover { color: var(--cobalt); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.3; }
.button-dark { background: var(--navy); color: white; }
.button-primary { background: var(--cobalt); color: white; }
.button-outline { background: white; border-color: #cdd6ed; color: var(--navy); }
.button-light { background: white; color: var(--navy); }
.button:hover { filter: brightness(.91); }
.hero { background: radial-gradient(ellipse at 82% 35%, #e4ebff, transparent 61%), #f7f8ff; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(26px, 4vw, 65px); padding-block: clamp(52px, 7vw, 104px); }
.kicker { color: var(--cobalt); font-weight: 700; font-size: .875rem; letter-spacing: .13em; margin: 0 0 14px; }
h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; font-weight: 800; margin: 0; color: var(--navy); }
h1 { font-size: clamp(3.2rem, 6vw, 5.75rem); line-height: .99; letter-spacing: -.077em; }
h1 em { font-style: normal; color: var(--cobalt); }
h2 { font-size: clamp(2.3rem, 4.1vw, 3.65rem); line-height: 1.04; letter-spacing: -.066em; }
h3 { font-size: 1.25rem; letter-spacing: -.035em; }
p { line-height: 1.65; }
.lead { color: var(--muted); max-width: 440px; margin: 23px 0 28px; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.payment-scene {
  min-width: 0;
  position: relative;
  display: grid;
  align-content: center;
  gap: 21px;
  padding: clamp(17px, 3vw, 32px);
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  color: white;
  background: radial-gradient(ellipse at 90% 100%, #244eff 0%, transparent 60%), linear-gradient(130deg, #061258, #101d82);
  box-shadow: 0 24px 48px #0d21732b;
}
.payment-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(#ffffff17 1px, transparent 1px), linear-gradient(90deg, #ffffff17 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(130deg, transparent 8%, black);
}
.scene-top, .checkout, .scene-controls { position: relative; }
.scene-top { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; font-size: .875rem; color: #e8ecff; }
.scene-top i { display: inline-block; width: 8px; height: 8px; margin-right: 4px; background: #86acff; border-radius: 50%; }
.checkout { width: min(100%, 322px); margin-inline: auto; color: var(--ink); background: white; border-radius: 17px; padding: 18px; box-shadow: 0 18px 40px #030a4d66; }
.checkout-header, .checkout-method, .link-ticket, .checkout-ticket div { display: flex; align-items: center; gap: 10px; }
.checkout-header img { object-fit: contain; }
.checkout-header small, .checkout-method small, .link-ticket small { display: block; color: var(--muted); }
.upi { margin-left: auto; font-size: .875rem; font-weight: 700; padding: 4px 8px; border-radius: 5px; color: var(--cobalt); background: var(--paper); }
.amount { display: grid; gap: 5px; padding-block: 18px; margin-block: 11px; border-block: 1px solid var(--line); }
.amount span { color: var(--muted); }
.amount strong { font-family: Manrope, sans-serif; font-size: 2.2rem; line-height: 1.1; letter-spacing: -.06em; color: var(--navy); }
.scene-symbol, .symbol { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; border-radius: 8px; background: #e9edff; color: var(--cobalt); }
.scene-controls { justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; border: 1px solid #ffffff45; background: #060f6055; padding: 4px; border-radius: 10px; }
.scene-controls button { color: white; background: transparent; border: 0; border-radius: 6px; padding: 8px 10px; font-size: .875rem; cursor: pointer; }
.scene-controls button[aria-pressed="true"] { color: var(--navy); background: white; font-weight: 700; }
.section { padding-block: clamp(58px, 8vw, 105px); }
.section-heading { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; align-items: end; margin-bottom: 29px; }
.section-heading > p { max-width: 350px; margin: 0; color: var(--muted); }
.solutions-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.solution { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.solution-art { min-height: 153px; display: grid; place-items: center; padding: 16px; }
.art-qr { background: #e9edff; }
.art-link { background: #e6f2ff; }
.art-checkout { background: #eeebff; }
.qr-ticket, .link-ticket, .checkout-ticket { padding: 12px; border-radius: 10px; background: white; box-shadow: 0 7px 22px #06125824; font-size: .875rem; color: var(--navy); }
.qr-ticket { text-align: center; transform: rotate(-7deg); }
.qr-art { width: 57px; height: 57px; margin: 6px auto 0; background: repeating-conic-gradient(var(--navy) 0 25%, white 0 50%) 0 0 / 12px 12px; border: 4px solid white; outline: 1px solid var(--line); }
.link-ticket { transform: rotate(4deg); }
.checkout-ticket { min-width: 190px; transform: rotate(-4deg); }
.checkout-ticket div { justify-content: space-between; margin-top: 9px; }
.mini-button { background: var(--cobalt); color: white; border-radius: 5px; padding: 5px 7px; font-size: .8rem; }
.solution-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 21px; }
.solution-copy p, .steps p, .questions p { color: var(--muted); margin: 7px 0 17px; }
.solution-copy a { margin-top: auto; font-weight: 700; color: var(--navy); text-underline-offset: 4px; }
.start { background: var(--paper); }
.start-grid, .faq, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 6vw, 86px); }
.start-grid .button { margin-top: 24px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { counter-increment: steps; display: flex; align-items: flex-start; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li::before { content: counter(steps); display: grid; flex: 0 0 35px; height: 35px; place-items: center; border-radius: 50%; background: #e1e8ff; color: var(--navy); font-weight: 700; }
.steps p { margin-bottom: 0; }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { padding-block: 15px; color: var(--navy); cursor: pointer; font-weight: 700; }
.contact { background: radial-gradient(ellipse at 85% 100%, #182b9a, transparent 65%), var(--navy); color: white; }
.contact h2, .contact h3 { color: white; }
.contact .kicker { color: #b8c9ff; }
.contact p:not(.kicker) { color: #e1e7ff; margin-block: 15px 22px; }
.contact-info { display: grid; gap: 16px; }
.contact-info h3 { margin-bottom: 6px; }
.contact-info a { display: block; width: fit-content; text-underline-offset: 3px; }
.contact-info a, address { color: #e1e7ff; line-height: 1.65; font-style: normal; }
.footer { color: var(--muted); }
.footer .brand img { width: 128px; }
@media (max-width: 1000px) {
  .wide { display: none; }
}
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; }
  .payment-scene { min-height: 365px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .solution { display: grid; grid-template-columns: 1fr 1.35fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .top { flex-wrap: wrap; gap: 10px; padding-block: 14px; }
  .top .brand img { width: 124px; }
  .top .button { min-height: 42px; padding-inline: 10px; font-size: .9rem; }
  .nav { order: 1; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }
  h1 { font-size: clamp(2.8rem, 11.5vw, 4.8rem); }
  .section-heading, .start-grid, .faq, .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .solution { display: flex; }
  .contact-info { padding-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}

/* Product navigation */
.top { position: relative; }
.nav { align-items: center; gap: clamp(10px, 2vw, 24px); }
.nav > a, .product-menu summary { padding: 9px 10px; border-radius: 8px; }
.nav > a:hover, .product-menu[open] summary, .product-menu summary:hover {
  color: var(--cobalt);
  background: var(--paper);
}
.product-menu { position: relative; }
.product-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
}
.product-menu summary::-webkit-details-marker { display: none; }
.menu-chevron {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.product-menu[open] .menu-chevron { transform: translateY(4px) rotate(225deg); }
.product-dropdown {
  position: absolute;
  z-index: 5;
  inset: calc(100% + 12px) auto auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(520px, calc(100vw - 64px));
  padding: 10px;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: white;
  box-shadow: 0 20px 48px #06125828;
}
.product-dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; }
.product-dropdown a:hover, .product-dropdown a:focus-visible { background: var(--paper); }
.menu-icon {
  flex: 0 0 37px;
  display: grid;
  place-items: center;
  height: 37px;
  border-radius: 9px;
  color: var(--cobalt);
  background: #e9edff;
  font-size: 1.2rem;
}
.product-dropdown strong { display: block; color: var(--navy); line-height: 1.25; }
.product-dropdown small { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; font-weight: 500; }
.product-dropdown .menu-overview {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 11px 12px;
  color: var(--cobalt);
  background: var(--paper);
}
@media (prefers-reduced-motion: no-preference) {
  .nav > a, .product-menu summary, .product-dropdown a { transition: background-color .18s, color .18s; }
  .menu-chevron { transition: transform .2s; }
  .product-menu[open] .product-dropdown { animation: menu-open .24s cubic-bezier(.2,.75,.25,1) both; transform-origin: top left; }
  @keyframes menu-open {
    from { opacity: 0; transform: translateY(-7px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}
@media (max-width: 1000px) {
  .product-menu { position: static; }
  .product-dropdown { inset: calc(100% - 3px) auto auto 0; }
}
@media (max-width: 680px) {
  .nav > a, .product-menu summary { padding-inline: 5px; }
  .product-dropdown { width: 100%; max-height: min(62vh, 470px); overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 480px) {
  .product-dropdown { grid-template-columns: 1fr; }
}
.catalogue { background: var(--paper); }
.merchant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.merchant-grid article { border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 30px); }
.merchant-grid p, .about p:not(.kicker) { color: var(--muted); }
.merchant-grid a { color: var(--cobalt); font-weight: 700; text-underline-offset: 4px; }
.merchant-grid article { background: #f8f9ff; }
.about { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(24px, 6vw, 80px); }
.about-panel { display: grid; justify-items: center; gap: 12px; border-radius: 22px; background: radial-gradient(circle at 75% 10%, #dce5ff, transparent 72%), var(--paper); padding: clamp(28px, 6vw, 70px) 24px; }
.about-panel img { width: min(100%, 290px); height: auto; }
.about-panel p { margin: 0; }
.pricing-banner { background: linear-gradient(120deg, var(--navy), #182caa); color: white; }
.pricing-banner .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-block: 39px; }
.pricing-banner h2 { color: white; }
.pricing-banner .kicker { color: #c5d1ff; }
.site-footer { background: #f6f8ff; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .85fr 1fr; gap: 22px; padding-block: 42px; }
.footer-grid h2 { font-size: 1rem; margin-bottom: 10px; letter-spacing: 0; }
.footer-grid a:not(.brand) { display: block; width: fit-content; padding-block: 5px; text-decoration: none; overflow-wrap: anywhere; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid p { margin-block: 9px 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 17px; }
.pricing-main { background: radial-gradient(ellipse at top right, #e4ebff, transparent 68%), #f7f8ff; }
.pricing-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.quote-form { display: grid; gap: 16px; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--line); border-radius: 18px; background: white; }
.quote-form h2 { font-size: clamp(1.65rem, 3vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 6px; min-width: 0; font-weight: 700; }
.quote-form :is(input, select, textarea) { width: 100%; min-width: 0; font: inherit; font-weight: 400; color: var(--ink); border: 1px solid #bac5e0; border-radius: 8px; padding: 11px; background: white; }
.quote-form textarea { resize: vertical; }
.quote-form button { justify-self: start; cursor: pointer; }
.quote-form p { margin: 0; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .payment-scene { animation: enter .65s ease-out both; }
  .payment-scene { animation-delay: .12s; }
  .checkout { animation: float 6s ease-in-out 1s infinite; }
  .merchant-grid article { transition: transform .2s ease, box-shadow .2s ease; }
  .merchant-grid article:hover { transform: translateY(-4px); box-shadow: 0 12px 26px #06125814; }
  @keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}
@media (max-width: 850px) {
  .merchant-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .top { flex-wrap: wrap; gap: 10px; padding-block: 14px; }
  .nav { order: 1; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; gap: 9px; }
}
@media (max-width: 600px) {
  .merchant-grid, .about, .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.merchant-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}
.merchant-actions .button { padding-inline: 13px; white-space: nowrap; }
.merchant-actions .button-primary:hover { color: white; }
.mobile-menu-toggle { display: none; }
.mobile-menu-icon {
  width: 16px;
  height: 12px;
  border-block: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
@media (max-width: 920px) {
  :root { scroll-padding-top: 84px; }
  .top { min-height: 68px; gap: 12px; padding-block: 10px; flex-wrap: wrap; }
  .top .brand img { width: 132px; }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
  }
  .mobile-menu-toggle[aria-expanded="true"] { background: var(--paper); }
  .merchant-actions { margin: 8px 0 0; flex-wrap: wrap; }
  .mobile-menu-toggle[aria-expanded="false"]:not([hidden]) + .nav { display: none; }
  .nav {
    order: 1;
    display: grid;
    width: 100%;
    gap: 2px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav > a, .product-menu summary { min-height: 44px; padding: 10px; }
  .product-menu summary { justify-content: space-between; }
  .product-dropdown {
    position: static;
    width: 100%;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block: 4px;
    box-shadow: none;
  }
  .product-dropdown a { min-width: 0; }
  .actions .button { min-height: 48px; }
}
@media (max-width: 480px) {
  .product-dropdown { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .wrap { width: calc(100% - 32px); }
  .pricing-grid { min-width: 0; }
  .pricing-intro a, .contact-info a { overflow-wrap: anywhere; }
}

/* Payment preview and product catalogue */
.scene-top { font-weight: 700; letter-spacing: .025em; }
.checkout { --preview-accent: #2247ed; border-top: 4px solid var(--preview-accent); }
.checkout[data-mode="link"] { --preview-accent: #6749d8; }
.checkout[data-mode="checkout"] { --preview-accent: #087e87; }
.checkout-method { min-height: 52px; }
.scene-symbol { color: var(--preview-accent); }
.scene-symbol svg, .menu-icon svg { width: 22px; height: 22px; }
.scene-controls button { min-height: 40px; }
@media (prefers-reduced-motion: no-preference) {
  .scene-top i { animation: preview-pulse 2.8s ease-in-out infinite; }
  .checkout { transition: border-color .25s ease; }
  .scene-controls button { transition: color .2s, background-color .2s; }
  @keyframes preview-pulse {
    0%, 100% { box-shadow: 0 0 0 0 #86acff00; }
    45% { box-shadow: 0 0 0 5px #86acff42; }
  }
}
.product-dropdown a { align-items: flex-start; }
.product-dropdown .menu-overview { grid-column: auto; align-items: center; margin: 0; }
.menu-icon { flex: 0 0 39px; height: 39px; }

/* Full-width product panels */
.catalogue { background: #f4f6fb; }
.product-heading { max-width: 720px; margin: 0 0 clamp(24px, 4vw, 44px); }
.product-heading > p:last-child { color: var(--muted); margin: 12px 0 0; }
.product-stack { display: grid; gap: clamp(18px, 3vw, 34px); }
.product-card {
  --photo-x: 0%;
  --photo-y: 0%;
  --panel: #091643;
  --glow: #2d49bd;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy visual";
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  overflow: hidden;
  padding: clamp(24px, 4.5vw, 58px);
  border: 1px solid #ffffff2b;
  border-radius: clamp(19px, 2.5vw, 32px);
  color: white;
  background: radial-gradient(ellipse at 90% 12%, var(--glow), transparent 65%), var(--panel);
  box-shadow: 0 21px 42px #08154326;
}
.product-card:nth-child(even) {
  grid-template-areas: "visual copy";
  background: radial-gradient(ellipse at 10% 12%, var(--glow), transparent 65%), var(--panel);
}
#payment-pages { --photo-x: 33.333333%; --panel: #122452; --glow: #245c8f; }
#product-links { --photo-x: 66.666667%; --panel: #25184c; --glow: #573a99; }
#mini-stores { --photo-x: 100%; --panel: #09184a; --glow: #3551b8; }
#digital-sounds { --panel: #0b313e; --glow: #187d87; }
#smart-billing-terminal { --photo-x: 33.333333%; --panel: #172344; --glow: #3a5888; }
#upi-intent { --photo-x: 66.666667%; --panel: #10175d; --glow: #324dce; }
#digital-sounds, #smart-billing-terminal, #upi-intent { --photo-y: 100%; }
.product-photo {
  grid-area: visual;
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid #ffffff5c;
  border-radius: clamp(14px, 2vw, 24px);
  background: #dce5ff url("images/omnipey-product-visuals.jpg") var(--photo-x) var(--photo-y) / 400% 200% no-repeat;
  box-shadow: 12px 12px 0 #ffffff19, 0 20px 36px #02051e60;
}
.product-card-content { grid-area: copy; max-width: 440px; }
.product-card h3 {
  color: white;
  font-size: clamp(2.1rem, 4.3vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -.065em;
}
.product-card p { color: #e0e8ff; margin: 16px 0 24px; font-size: clamp(1rem, 1.4vw, 1.125rem); }
.product-card .button:focus-visible { outline-color: #a9c0ff; }
@media (min-width: 860px) and (min-height: 660px) and (prefers-reduced-motion: no-preference) {
  .product-card { position: sticky; top: calc(118px + var(--stack-offset, 0px)); scroll-margin-top: 36px; }
  .product-card:nth-child(2) { --stack-offset: 6px; }
  .product-card:nth-child(3) { --stack-offset: 12px; }
  .product-card:nth-child(4) { --stack-offset: 18px; }
  .product-card:nth-child(5) { --stack-offset: 24px; }
  .product-card:nth-child(6) { --stack-offset: 30px; }
  .product-card:nth-child(7) { --stack-offset: 36px; }
  .product-card:has(:focus-visible) { z-index: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .product-card.product-entered .product-photo { animation: product-visual-enter .55s cubic-bezier(.2,.75,.25,1) both; }
  @keyframes product-visual-enter {
    from { opacity: .72; transform: translateY(15px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}
@media (max-width: 640px) {
  .product-card, .product-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "visual" "copy";
    gap: 24px;
    padding: 22px;
  }
  .product-photo { width: min(100%, 290px); box-shadow: 7px 7px 0 #ffffff19, 0 13px 24px #02051e50; }
  .product-card p { margin: 10px 0 17px; }
}
