/* =========================================================================
   devices.css — pure-CSS device frames, faux ChargeGuard UI, nav, footer
   Ported from the Claude Design handoff (labs-apps).
   ========================================================================= */

/* ---------- Top nav (sticky, translucent) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--nav-border); }
.nav-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x);
  height: 56px; display: flex; align-items: center; gap: 1.5rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  letter-spacing: -.01em; color: var(--ink); background: none; border: 0; padding: 0;
}
.wordmark:hover { text-decoration: none; }
.wordmark .zen-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--zen), #5e5ce6);
  font-weight: 700; font-size: .9375rem;
}
/* stacked lockup: "apps" small under the Zen Labs name */
.wordmark-text { display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark-text .zen-name { font-weight: 600; font-size: 1.0625rem; }
.wordmark-text .zen-sub {
  font-size: .625rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-faint); margin-top: 3px;
}

/* right-side controls */
.nav-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; flex: none; cursor: pointer;
  display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--hairline); color: var(--ink);
  transition: background .2s, color .2s;
}
.theme-toggle:hover { background: var(--hairline-2); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}

/* hamburger button */
.nav-burger {
  width: 38px; height: 38px; border-radius: 50%; flex: none; cursor: pointer;
  display: grid; place-items: center; gap: 0;
  background: var(--paper-2); border: 1px solid var(--hairline); color: var(--ink);
  transition: background .2s;
}
.nav-burger:hover { background: var(--hairline-2); }
.nav-burger span {
  display: block; width: 17px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-burger span + span { margin-top: 4px; }
.nav.open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* dropdown menu panel (burger target, all breakpoints) */
.nav-menu {
  position: absolute; top: calc(56px - 6px); right: var(--pad-x);
  display: flex; flex-direction: column; gap: .15rem;
  min-width: 220px; padding: .6rem; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--hairline);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right;
  pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 120;
}
.nav.open .nav-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.nav-link {
  background: none; border: 0; cursor: pointer; color: var(--ink-soft);
  font-size: .95rem; font-weight: 500; padding: .6rem .75rem; border-radius: 10px;
  text-align: left; transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.nav-link.active { color: var(--ink); background: var(--paper-2); }
.nav-langs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem;
  margin-top: .4rem; padding-top: .6rem; border-top: 1px solid var(--hairline);
}
.nav-langs-label {
  width: 100%; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .15rem; padding: 0 .15rem;
}
.nav-langs button {
  flex: 1; min-width: 42px; cursor: pointer; font-size: .8125rem; font-weight: 600;
  padding: .4rem .25rem; border-radius: 9px; color: var(--ink-soft);
  background: var(--paper-2); border: 1px solid transparent; transition: all .18s;
}
.nav-langs button:hover { color: var(--ink); border-color: var(--hairline); }
.nav-langs button.active { color: #fff; background: linear-gradient(135deg, var(--zen), #5e5ce6); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; min-height: min(78vh, 760px);
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 1rem; }
  .hero-copy .lede { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stage { order: -1; }
}
.hero-copy .h-hero { margin-bottom: 1.25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; align-items: center; }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 460px; }

/* Home hero — realistic Apple Watch Ultra (Milanese loop) + Apple Watch SE */
.hero-watches { position: relative; display: grid; place-items: center; width: 100%; min-height: 420px; }
.hero-watches .hw { width: auto; will-change: transform; animation: cg-float 6.8s ease-in-out infinite; }
.hero-watches .hw--ultra {
  position: relative; z-index: 2; height: clamp(300px, 46vh, 472px);
  filter: drop-shadow(0 30px 46px rgba(0,0,0,.5));
}
.hero-watches .hw--se {
  position: absolute; z-index: 1; height: clamp(190px, 30vh, 300px); left: 1%; bottom: 3%;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.55)); animation-delay: -2.8s;
}
@media (max-width: 560px) { .hero-watches .hw--se { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-watches .hw { animation: none; } }

/* Home hero — crossfade through realistic Apple Watch renders */
.hero-cycle { position: relative; display: grid; place-items: center; width: 100%; min-height: 460px; z-index: 1; }
.hero-cycle .wcyc {
  grid-area: 1 / 1; width: auto; height: clamp(320px, 50vh, 500px);
  opacity: 0; transition: opacity 1.1s ease;
  filter: drop-shadow(0 30px 52px rgba(0,0,0,.5)); will-change: opacity;
}
.hero-cycle .wcyc.on { opacity: 1; }
@media (max-width: 880px) { .hero-cycle .wcyc { height: clamp(280px, 44vh, 430px); } }
@media (prefers-reduced-motion: reduce) { .hero-cycle .wcyc { transition: none; } }

/* soft accent glow behind hero device */
.glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(46% 46% at 64% 42%,
    color-mix(in oklab, var(--app-accent) 22%, transparent), transparent 70%);
  filter: blur(8px);
}

/* ---------- Apple Watch frame ---------- */
.watch { position: relative; width: 196px; height: 238px; z-index: 1; }
.watch-band {
  position: absolute; left: 50%; transform: translateX(-50%); width: 96px;
  background: linear-gradient(180deg, #3a3a3c, #1c1c1e);
  z-index: 0;
}
.watch-band.top { top: -54px; height: 90px; border-radius: 18px 18px 8px 8px; }
.watch-band.bot { bottom: -54px; height: 90px; border-radius: 8px 8px 18px 18px; }
.watch-case {
  position: absolute; inset: 0; z-index: 1;
  border-radius: 58px;
  background: linear-gradient(150deg, #4a4a4d, #161618 60%);
  padding: 12px;
  box-shadow: var(--device-shadow), inset 0 0 0 1px rgba(255,255,255,.12);
}
.watch-crown {
  position: absolute; right: -5px; top: 78px; width: 7px; height: 34px;
  border-radius: 3px; background: linear-gradient(90deg, #5a5a5d, #2a2a2c); z-index: 2;
}
.watch-screen {
  width: 100%; height: 100%; border-radius: 47px; background: #000;
  overflow: hidden; position: relative; color: #fff;
}

/* Watch face — ChargeGuard complication */
.wf {
  position: absolute; inset: 0; padding: 14px 16px;
  display: flex; flex-direction: column;
  font-feature-settings: "tnum";
}
.wf-top { display: flex; justify-content: space-between; align-items: baseline; }
.wf-date { font-size: 11px; color: #ff9f0a; font-weight: 600; }
.wf-time { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.wf-center { flex: 1; display: grid; place-items: center; }
.cg-ring {
  --pct: 78; --acc: #30d158; --acc2: #00c7be;
  position: relative; width: 116px; height: 116px; border-radius: 50%;
  background:
    radial-gradient(closest-side, #000 76%, transparent 77% 100%),
    conic-gradient(var(--acc) 0, var(--acc2) calc(var(--pct) * 1%), #2c2c2e calc(var(--pct) * 1%) 100%);
  display: grid; place-items: center;
}
.cg-ring .cg-pct { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.cg-ring .cg-pct sup { font-size: 14px; font-weight: 600; }
.cg-ring .cg-state { display: flex; align-items: center; gap: 3px; font-size: 10px; color: var(--success); margin-top: 3px; font-weight: 600; }
.cg-ring .cg-state svg { width: 9px; height: 9px; }
.wf-bottom { font-size: 10.5px; color: #98989d; text-align: center; padding-bottom: 2px; }
.wf-bottom b { color: #fff; font-weight: 600; }

/* ---------- iPhone frame ---------- */
.iphone {
  position: relative; width: 270px; aspect-ratio: 9 / 19.5; z-index: 2;
  border-radius: 44px; padding: 11px;
  background: linear-gradient(155deg, #44444a, #161618 55%);
  box-shadow: var(--device-shadow), inset 0 0 0 1px rgba(255,255,255,.14);
}
.iphone-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--paper); position: relative;
}
.iphone .island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 26px; background: #000; border-radius: 14px; z-index: 5;
}
/* faux iPhone ChargeGuard app screen */
.app-screen {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background:
    radial-gradient(120% 60% at 50% -8%, color-mix(in oklab, var(--app-accent) 30%, #000) , transparent 60%),
    #0b0f0c;
  color: #fff; padding: 46px 20px 18px;
}
.as-statusbar { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 0 4px 8px; }
.as-title { font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: rgba(255,255,255,.6); text-align: center; margin-bottom: 10px; }
.as-bigring {
  --pct: 78; align-self: center; position: relative;
  width: 168px; height: 168px; border-radius: 50%; margin: 6px 0 14px;
  background:
    radial-gradient(closest-side, #0b0f0c 72%, transparent 73% 100%),
    conic-gradient(#30d158 0, #00c7be calc(var(--pct)*1%), rgba(255,255,255,.12) calc(var(--pct)*1%) 100%);
  display: grid; place-items: center; text-align: center;
}
.as-bigring .big-pct { font-size: 46px; font-weight: 700; letter-spacing: -.03em; line-height: .9; }
.as-bigring .big-pct sup { font-size: 22px; font-weight: 600; }
.as-bigring .big-state { font-size: 12px; color: var(--success); font-weight: 600; margin-top: 6px; display: inline-flex; gap: 4px; align-items: center; }
.as-bigring .big-state svg { width: 11px; height: 11px; }
.as-rows { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.as-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.08); border-radius: 12px; padding: 11px 13px;
  font-size: 13px;
}
.as-row .as-k { color: rgba(255,255,255,.65); display: inline-flex; align-items: center; gap: 7px; }
.as-row .as-k svg { width: 14px; height: 14px; opacity: .8; }
.as-row .as-v { font-weight: 600; }
.as-row .as-v.good { color: var(--success); }

/* hero composition: watch overlapping phone */
.duo { position: relative; display: grid; place-items: center; }
.duo .iphone { transform: translateX(-26px) rotate(-3deg); }
.duo .watch { position: absolute; right: 2px; bottom: 16px; transform: rotate(4deg) scale(.92); z-index: 3; }
@media (max-width: 880px) { .duo .iphone { transform: rotate(-3deg) scale(.92); } .duo .watch { right: -6px; transform: rotate(4deg) scale(.82); } }

/* notification toast mock */
.notif {
  width: 290px; background: rgba(40,40,42,.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-radius: 18px; padding: 12px 14px; color: #fff; display: flex; gap: 11px; align-items: flex-start;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); border: .5px solid rgba(255,255,255,.12);
}
.notif .n-icon { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: linear-gradient(150deg, #30d158, #00c7be); color: #04210f; }
.notif .n-body { flex: 1; min-width: 0; }
.notif .n-top { display: flex; justify-content: space-between; font-size: 11.5px; }
.notif .n-app { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: rgba(255,255,255,.7); }
.notif .n-time { color: rgba(255,255,255,.45); }
.notif .n-title { font-size: 13.5px; font-weight: 600; margin: 2px 0 1px; }
.notif .n-msg { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.3; }

/* ---------- How it works ---------- */
.steps { counter-reset: step; }
.step .step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in oklab, var(--app-accent) 16%, var(--paper));
  color: var(--app-accent); font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.1875rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }

/* ---------- Freemium comparison ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 1.75rem; }
.plan--pro { border-color: var(--app-accent); box-shadow: 0 0 0 1px var(--app-accent), var(--card-shadow); }
.plan h3 { font-size: 1.375rem; display: flex; align-items: center; gap: .6rem; }
.plan .price { font-size: 1rem; color: var(--ink-soft); margin: .35rem 0 1.25rem; }
.plan .price b { color: var(--ink); font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: 1rem; color: var(--ink); line-height: 1.4; }
.plan li svg { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--app-accent); }
.plan li.off { color: var(--ink-faint); }
.plan li.off svg { color: var(--hairline); }
.plans--single { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
.tag-pro {
  font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #04210f; background: var(--app-accent); padding: .2rem .5rem; border-radius: 980px;
}

/* ---------- Screenshot gallery (image slots) ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2.5vw,2rem); align-items: end; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; } }
.shot { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.shot .shot-cap { font-size: .9375rem; color: var(--ink-soft); text-align: center; }
.shot-frame-phone {
  width: 100%; max-width: 240px; aspect-ratio: 9 / 19.5; border-radius: 34px; padding: 9px;
  background: linear-gradient(155deg, #44444a, #161618 55%);
  box-shadow: var(--card-shadow); overflow: hidden;
}
.shot-frame-phone .img-slot { border-radius: 26px; overflow: hidden; }
.shot-frame-watch {
  width: 150px; height: 182px; border-radius: 44px; padding: 10px;
  background: linear-gradient(150deg, #4a4a4d, #161618 60%); box-shadow: var(--card-shadow); overflow: hidden;
}
.shot-frame-watch .img-slot { border-radius: 36px; overflow: hidden; }

/* Device showcase — two watches flanking the iPhone (real renders, idle float). */
.shots--devices {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2.5rem;
}
.shots--devices::before {                        /* soft on-brand glow behind the row */
  content: ""; position: absolute; inset: 0 0 16% 0;
  background: radial-gradient(50% 55% at 50% 45%,
    color-mix(in oklab, var(--app-accent, #30d158) 22%, transparent), transparent 72%);
  filter: blur(60px); z-index: 0; pointer-events: none;
}
.device { position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.device img {
  width: auto; object-fit: contain;
  filter: drop-shadow(0 26px 32px rgba(0, 0, 0, .5));
  animation: cg-float 6s ease-in-out infinite; will-change: transform;
}
.device--watch img { height: clamp(150px, 19vw, 232px); }
.device--phone img { height: clamp(320px, 44vw, 470px); }
.device:nth-child(2) img { animation-delay: -2s; }
.device:nth-child(3) img { animation-delay: -4s; }
.device figcaption { font-size: .9375rem; color: var(--ink-soft); text-align: center; }
@keyframes cg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@media (max-width: 680px) {
  .shots--devices { gap: 1.25rem; }
  .device--phone img { height: 320px; } .device--watch img { height: 150px; }
  .device--watch figcaption { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) { .device img { animation: none; } }

/* Hero — real iPhone + Watch Ultra, side by side (no overlap on desktop) */
.duo--real {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(.75rem, 3vw, 2.25rem);
}
.duo--real .duo-phone {
  height: clamp(360px, 52vh, 560px); width: auto;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, .5));
  animation: cg-float 6.5s ease-in-out infinite; will-change: transform;
}
.duo--real .duo-watch {
  height: clamp(150px, 22vh, 244px); width: auto; margin-bottom: 3%; flex: none;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .55));
  animation: cg-float 6.5s ease-in-out infinite; animation-delay: -2.6s; will-change: transform;
}
/* on small screens stack the watch slightly over the phone corner to save width */
@media (max-width: 560px) {
  .duo--real { gap: 0; }
  .duo--real .duo-watch { position: absolute; right: 0; bottom: 4%; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .duo--real .duo-phone, .duo--real .duo-watch { animation: none; } }

/* Lenis momentum smooth-scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--hairline); padding-block: clamp(2.5rem,5vw,4rem); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; justify-content: space-between; }
.footer-brand { max-width: 280px; }
.footer-brand p { color: var(--ink-soft); font-size: .9375rem; margin: .75rem 0 0; line-height: 1.5; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 2.5rem 3.5rem; }
.footer-col h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); font-weight: 600; margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-col a, .footer-col button {
  color: var(--ink-soft); font-size: .9375rem; background: none; border: 0; padding: 0; cursor: pointer;
  text-align: left; font-family: inherit;
}
.footer-col a:hover, .footer-col button:hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .8125rem; color: var(--ink-faint);
}
.footer-bottom .legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom .legal-links a { color: var(--ink-faint); font-size: .8125rem; }
.footer-bottom .legal-links a:hover { color: var(--ink); }
.builtby { display: inline-flex; align-items: center; gap: .5rem; }

/* ---------- Sub-page header (legal/support) ---------- */
.subhead { padding-block: clamp(2.5rem,6vw,4.5rem) clamp(1.5rem,3vw,2rem); border-bottom: 1px solid var(--hairline); }
.crumbs { font-size: .9375rem; color: var(--ink-soft); margin-bottom: 1rem; display: flex; gap: .5rem; align-items: center; }
.crumbs a { color: var(--zen); font-size: .9375rem; }
.crumbs .sep { color: var(--hairline); }
.subhead h1 { font-size: clamp(2rem, 5vw, 3rem); }
.subhead .sub-lede { color: var(--ink-soft); font-size: 1.1875rem; margin-top: .75rem; max-width: 60ch; }

/* contact cards */
.contact-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin: 1rem 0 2rem; }
@media (max-width: 560px) { .contact-row { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 1.4rem; background: var(--paper); }
.contact-card .ck { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); font-weight: 600; }
.contact-card .cv { font-size: 1.1875rem; font-weight: 600; margin-top: .3rem; }
.contact-card .cv a { color: var(--app-accent); }

/* cross-link cards */
.xlinks { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
@media (max-width: 640px) { .xlinks { grid-template-columns: 1fr; } }
.xlink { border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 1.25rem 1.4rem; cursor: pointer; background: var(--paper); text-align: left; font-family: inherit; transition: border-color .2s, transform .2s; display: block; color: inherit; }
.xlink:hover { border-color: var(--app-accent); transform: translateY(-2px); text-decoration: none; }
.xlink .xt { font-weight: 600; font-size: 1.0625rem; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.xlink .xd { color: var(--ink-soft); font-size: .9375rem; margin-top: .3rem; }

/* Sibling product hero — single floating device */
.hero-solo { display: block; margin-inline: auto; height: clamp(340px, 52vh, 540px); width: auto;
  filter: drop-shadow(0 30px 42px rgba(0,0,0,.5)); animation: cg-float 6.5s ease-in-out infinite; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero-solo { animation: none; } }
