/* =========================================================================
   Magpie — site stylesheet
   Aesthetic: refined dark "glass + iridescent corvid".
   Deep ink backgrounds, magpie-blue iridescence, cream type, gold pin spark.
   Fonts: Fraunces (display), Hanken Grotesk (body), JetBrains Mono (clips).
   ========================================================================= */

/* ---- Reset --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---- Tokens -------------------------------------------------------------- */
:root {
  /* Ink scale */
  --ink-1000: #08080a;
  --ink-900:  #0b0b0e;
  --ink-850:  #101014;
  --ink-800:  #16161b;
  --ink-750:  #1c1c22;
  --ink-700:  #232329;
  --ink-650:  #26262c; /* popover tint, from the app Dark theme */

  /* Cream / type */
  --cream:        #f5f5f7;
  --cream-dim:    rgba(245, 245, 247, 0.62);
  --cream-faint:  rgba(245, 245, 247, 0.40);
  --cream-ghost:  rgba(245, 245, 247, 0.16);

  /* Lines */
  --line:       rgba(255, 255, 255, 0.09);
  --line-soft:  rgba(255, 255, 255, 0.06);
  --line-bright:rgba(255, 255, 255, 0.16);

  /* Magpie blues — the iridescent tail */
  --blue:        #3e8bff;
  --blue-bright: #66a6ff;
  --blue-deep:   #1a45b8;
  --teal:        #2fd6c0;
  --violet:      #8b6dff;
  --gold:        #f2b441; /* pin */

  /* Type-accent colours (per clip type) */
  --t-text:  #cfd2da;
  --t-code:  #66a6ff;
  --t-link:  #2fd6c0;
  --t-image: #b79bff;
  --t-email: #f2b441;
  --t-phone: #45d483;
  --t-file:  #9aa6bd;

  /* Iridescent accent gradient — the "shiny thing" */
  --iris: linear-gradient(115deg, #2fd6c0 0%, #3e8bff 42%, #8b6dff 100%);
  --iris-soft: linear-gradient(115deg, rgba(47,214,192,0.9), rgba(62,139,255,0.9), rgba(139,109,255,0.9));

  /* Glass */
  --glass-bg: rgba(26, 26, 32, 0.55);
  --glass-border: rgba(255, 255, 255, 0.10);

  /* Radii + shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 40px 120px rgba(0, 0, 0, 0.55);
  --shadow-blue: 0 24px 80px rgba(36, 90, 200, 0.35);

  /* Type */
  --font-display: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1120px;
}

/* ---- Base --------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background-color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Atmospheric background: layered radial glows + faint grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(62, 139, 255, 0.16), transparent 60%),
    radial-gradient(900px 620px at 8% 4%, rgba(139, 109, 255, 0.10), transparent 58%),
    radial-gradient(1200px 900px at 50% 118%, rgba(47, 214, 192, 0.08), transparent 60%),
    var(--ink-900);
}

/* Fine grain overlay for texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(62, 139, 255, 0.32);
  color: #fff;
}

/* ---- Layout primitives -------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 26px;
}

.section {
  padding-block: clamp(72px, 11vw, 150px);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
}

.h-sec {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  letter-spacing: -0.026em;
}
.h-sec em {
  font-style: italic;
  font-weight: 500;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--cream-dim);
  max-width: 56ch;
  line-height: 1.62;
}

.mono { font-family: var(--font-mono); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  color: #06121f;
  background: linear-gradient(180deg, #8fc0ff, var(--blue));
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 90px rgba(36, 90, 200, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-bright);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

/* Mac App Store badge (custom-built lockup) */
.mas-badge {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 24px 13px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #18181d, #0d0d11);
  border: 1px solid var(--line-bright);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mas-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
}
.mas-badge .apple { color: var(--cream); }
.mas-badge .mas-text { line-height: 1.12; }
.mas-badge .mas-text small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.mas-badge .mas-text strong {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mas-badge .price-pill {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--blue-bright);
  background: rgba(62, 139, 255, 0.12);
  border: 1px solid rgba(62, 139, 255, 0.3);
}

/* ---- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10, 10, 14, 0.62);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}
.brand b { font-weight: 500; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  color: var(--cream-dim);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cream) !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-bright);
  background: rgba(255, 255, 255, 0.03);
}
.nav-cta:hover { border-color: var(--blue); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 110px) clamp(48px, 7vw, 90px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.99;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--cream-dim);
  max-width: 50ch;
  line-height: 1.6;
}
.hero-cta {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--cream-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note svg { color: var(--teal); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* ---- Glass popover mockup (hero product shot) --------------------------- */
.popover {
  width: 380px;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(40, 40, 47, 0.86), rgba(26, 26, 32, 0.9));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(30px);
  overflow: hidden;
  font-size: 14px;
}
.pop-glow {
  position: relative;
}
.pop-glow::before {
  content: "";
  position: absolute;
  inset: -40px -30px auto;
  height: 160px;
  background: var(--iris);
  filter: blur(70px);
  opacity: 0.4;
  z-index: -1;
}
.pop-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 12px 9px;
}
.pop-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line-soft);
  color: var(--cream-faint);
  font-size: 13.5px;
}
.pop-search svg { width: 15px; height: 15px; color: var(--cream-faint); flex: none; }
.pop-search .ph { flex: 1; }
.pop-gear {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--cream-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
}
.pop-gear svg { width: 16px; height: 16px; }
.pop-kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--cream-faint);
}

/* Filter tabs — icon pills; "All" carries the live count */
.pop-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pop-tabs::-webkit-scrollbar { display: none; }
.pop-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  color: var(--cream-faint);
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 12px;
  transition: all 0.2s ease;
}
.pop-tab svg { width: 15px; height: 15px; }
.pop-tab .aa { font-weight: 700; font-size: 12.5px; letter-spacing: -0.01em; }
.pop-tab.is-active {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line);
}
.pop-tab .tab-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream-dim);
}

/* Section labels */
.pop-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.pop-section-label svg { width: 11px; height: 11px; color: var(--cream-faint); }

/* Rows */
.pop-list { padding: 1px 8px 4px; display: flex; flex-direction: column; gap: 1px; }
.pop-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid transparent;
  position: relative;
}
.pop-row:hover { background: rgba(255, 255, 255, 0.04); }
.pop-row.is-active {
  background: rgba(98, 108, 180, 0.26);
  border-color: rgba(150, 160, 222, 0.30);
}
/* Left type tile — glyph, colour swatch, or thumbnail */
.pop-tile {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}
.pop-tile.aa { background: rgba(255, 255, 255, 0.08); color: var(--cream); font-weight: 700; font-size: 15px; }
.pop-tile.img { background: linear-gradient(135deg, #2b3a5c, #161a2a); color: rgba(255, 255, 255, 0.7); }
.pop-tile.img svg { width: 17px; height: 17px; }
.pop-tile.swatch { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
/* Body */
.pop-body { min-width: 0; flex: 1; padding-top: 1px; }
.pop-title { font-size: 13.5px; color: var(--cream); line-height: 1.32; }
.pop-title.code { font-family: var(--font-mono); font-size: 12.5px; }
.pop-title.one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-title.clamp2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pop-meta {
  font-size: 11px;
  color: var(--cream-faint);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.pop-meta svg { width: 11px; height: 11px; color: var(--cream-faint); flex: none; }
/* Inline colour-preview bar on the selected colour clip */
.pop-colorbar {
  height: 24px;
  border-radius: 7px;
  margin-top: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
/* Right side: quick-paste hotkey, or action buttons on the active row */
.pop-hot {
  align-self: center;
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--cream-faint);
}
.pop-actions { display: flex; gap: 4px; flex: none; }
.pop-act {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--cream-dim);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}
.pop-act svg { width: 14px; height: 14px; }

/* Footer action bar */
.pop-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  color: var(--cream-faint);
}
.pop-foot .spacer { flex: 1; }
.pop-foot-item { display: inline-flex; align-items: center; gap: 5px; }
.pop-foot-item svg { width: 13px; height: 13px; color: var(--cream-dim); }
.pop-fk {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--cream-dim);
}
.pop-foot .clear { color: var(--cream-dim); }

/* Glyph tiles for the diverse clip types (neutral tile, tinted glyph) */
.pop-tile.glyph { background: rgba(255, 255, 255, 0.07); }
.pop-tile.glyph svg { width: 18px; height: 18px; }
/* Inline language badge in a code row's meta */
.code-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(102, 166, 255, 0.16);
  color: var(--blue-bright);
}
/* Row shown in its hover state (soft highlight, actions revealed) */
.pop-row.is-hover { background: rgba(255, 255, 255, 0.055); border-color: var(--line-soft); }

/* ---- Hover detail popover — the rich preview the app shows on hover ----- */
.hero-visual { position: relative; }
.pop-detail {
  width: 100%;
  max-width: 330px;
  margin: 18px auto 0;
  animation: detailPop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 1.05s both;
}
@keyframes detailPop {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}
.pd-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #06121f;
  background: linear-gradient(180deg, #8fc0ff, var(--blue));
  box-shadow: var(--shadow-blue);
}
.pd-tag svg { width: 12px; height: 12px; }
.pd {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(35, 35, 42, 0.97), rgba(21, 21, 27, 0.98));
  border: 1px solid var(--line-bright);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(28px);
  overflow: hidden;
}
/* upward pointer — the preview belongs to the hovered clip above */
.pd::before {
  content: "";
  position: absolute;
  left: 40px;
  top: -6px;
  width: 11px;
  height: 11px;
  background: rgba(35, 35, 42, 0.98);
  border-left: 1px solid var(--line-bright);
  border-top: 1px solid var(--line-bright);
  transform: rotate(45deg);
}
.pd-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px 9px;
  font-size: 12px;
  color: var(--cream-dim);
}
.pd-head .pd-ico { color: var(--t-image); display: inline-flex; }
.pd-head .pd-ico svg { width: 15px; height: 15px; }
.pd-head .pd-name { color: var(--cream); font-weight: 600; }
.pd-head .pd-dims { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--cream-faint); }
.pd-thumb {
  position: relative;
  margin: 0 12px;
  height: 80px;
  border-radius: 9px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(62, 139, 255, 0.10), rgba(139, 109, 255, 0.10)), #0d0d11;
}
.pd-receipt { width: 76%; }
.pd-receipt .l { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); margin: 7px 0; }
.pd-receipt .l.s { width: 48%; }
.pd-receipt .l.m { width: 72%; }
.pd-thumb .scan {
  position: absolute;
  left: 0; right: 0;
  top: -34px;
  height: 34px;
  background: linear-gradient(180deg, transparent, rgba(102, 166, 255, 0.4), transparent);
  animation: scanSweep 3.4s ease-in-out infinite;
}
@keyframes scanSweep { 0%, 100% { top: -34px; } 50% { top: 80px; } }
.pd-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 12px 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.pd-label svg { width: 12px; height: 12px; color: var(--blue-bright); }
.pd-label .ocr-badge {
  margin-left: auto;
  letter-spacing: 0.06em;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(102, 166, 255, 0.14);
  color: var(--blue-bright);
}
.pd-ocr {
  margin: 0 12px;
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.65;
  color: var(--cream-dim);
  white-space: pre;
  overflow: hidden;
}
.pd-detectors { padding: 2px 8px 4px; display: flex; flex-direction: column; gap: 0; }
.pd-det {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px;
  border-radius: 9px;
  transition: background 0.18s ease;
}
.pd-det:hover { background: rgba(255, 255, 255, 0.05); }
.pd-det .d-ico {
  width: 26px; height: 26px;
  border-radius: 7px;
  flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
}
.pd-det .d-ico svg { width: 13px; height: 13px; }
.pd-det .d-body { flex: 1; min-width: 0; }
.pd-det .d-val { font-size: 11.5px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-det .d-type { font-size: 9.5px; color: var(--cream-faint); }
.pd-det .d-act {
  flex: none;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--blue-bright);
  background: rgba(62, 139, 255, 0.12);
  border: 1px solid rgba(62, 139, 255, 0.3);
}
.pd-foot { display: flex; gap: 6px; padding: 8px 12px 12px; }
.pd-foot .b {
  flex: 1;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  padding: 7px 4px;
  border-radius: 8px;
  color: var(--cream-dim);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.pd-foot .b.primary { color: #06121f; background: linear-gradient(180deg, #8fc0ff, var(--blue)); border-color: transparent; }

/* On wide screens, sit the hover preview BESIDE the list (its left), not below it */
@media (min-width: 1160px) {
  .hero-grid { grid-template-columns: 0.82fr 1.18fr; gap: 40px; }
  .hero-visual {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 14px;
  }
  .pop-glow { flex: none; }
  .pop-detail {
    flex: none;
    width: 236px;
    max-width: none;
    margin: 116px 0 0;
  }
  .pd::before { display: none; }
  .pd::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    width: 11px;
    height: 11px;
    background: rgba(35, 35, 42, 0.98);
    border-right: 1px solid var(--line-bright);
    border-top: 1px solid var(--line-bright);
    transform: translateY(-50%) rotate(45deg);
  }
}


/* ---- Bento / cards ------------------------------------------------------ */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card h3 {
  font-size: 1.42rem;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.card p { color: var(--cream-dim); font-size: 0.98rem; }

.feature-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(62, 139, 255, 0.12);
  border: 1px solid rgba(62, 139, 255, 0.26);
  color: var(--blue-bright);
}
.feature-ico svg { width: 22px; height: 22px; }

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.bento .card { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-6 { grid-column: span 6; }
.bento .span-4 { grid-column: span 4; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .card,
  .bento .span-3,
  .bento .span-4,
  .bento .span-6 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento .card { grid-column: span 1 !important; }
}

/* ---- Type chips strip --------------------------------------------------- */
.type-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.type-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 17px 11px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 0.94rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.type-chip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-bright);
}
.type-chip .tdot {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, 0.05);
}
.type-chip .tdot svg { width: 16px; height: 16px; }
.type-chip small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--cream-faint);
  letter-spacing: 0.04em;
}

/* ---- Keycaps ------------------------------------------------------------ */
.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cream);
  background: linear-gradient(180deg, #2a2a31, #1a1a1f);
  border: 1px solid var(--line-bright);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.kbd-row { display: inline-flex; align-items: center; gap: 7px; }
.kbd-plus { color: var(--cream-faint); font-size: 0.9rem; }

/* ---- Floating-button demo ----------------------------------------------- */
.fab-demo {
  margin-top: 26px;
  height: 64px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.03) 22px 23px),
    rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line);
  position: relative;
  overflow: hidden;
}
.fab-track { position: absolute; inset: 0; }

/* The real Magpie floating button: 56px glass circle, thin light border,
   clipboard glyph, accent count badge, soft drop shadow. */
.fab-orb {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(165deg, #2c2c30 0%, #1a1a1d 100%);
  color: #f5f5f7;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(15, 17, 21, 0.55), 0 2px 4px rgba(0, 0, 0, 0.4);
  animation: fabSnap 6s cubic-bezier(0.6, 0, 0.2, 1) infinite;
}
.fab-orb .fab-glyph { width: 24px; height: 24px; }
.fab-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(62, 139, 255, 0.5), inset 0 0 0 0.5px rgba(255, 255, 255, 0.25);
  font-variant-numeric: tabular-nums;
}
/* Capture pulse — the ring the button flashes when a new clip lands */
.fab-orb::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0;
  pointer-events: none;
  animation: fabPulse 6s ease-out infinite;
}
@keyframes fabSnap {
  0%, 12%   { left: 14px; }
  38%, 50%  { left: calc(100% - 64px); }
  76%, 88%  { left: calc(50% - 25px); }
  100%      { left: 14px; }
}
@keyframes fabPulse {
  0%, 60%  { transform: scale(1); opacity: 0; }
  68%      { opacity: 0.7; }
  82%, 100%{ transform: scale(1.45); opacity: 0; }
}

/* ---- Theme swatch cards ------------------------------------------------- */
.theme-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 760px) {
  .theme-rail { grid-template-columns: repeat(2, 1fr); }
}
.theme-card {
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.theme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.theme-card .tc-rows { display: flex; flex-direction: column; gap: 7px; }
.theme-card .tc-bar {
  height: 9px;
  border-radius: 5px;
  background: currentColor;
  opacity: 0.85;
}
.theme-card .tc-bar.short { width: 55%; opacity: 0.5; }
.theme-card .tc-name {
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-card .tc-accent { width: 12px; height: 12px; border-radius: 50%; }

/* ---- Browser source chips ----------------------------------------------- */
.src-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.src-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--cream-dim);
}
.src-chip .dot { width: 8px; height: 8px; border-radius: 50%; }

/* ---- Privacy pillars ---------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.pillar .p-ico {
  width: 42px; height: 42px; flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(47, 214, 192, 0.1);
  border: 1px solid rgba(47, 214, 192, 0.26);
  color: var(--teal);
}
.pillar h4 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 650; margin-bottom: 4px; }
.pillar p { font-size: 0.92rem; color: var(--cream-dim); }

/* ---- Stat / number band ------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 34px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .stat-band { grid-template-columns: 1fr 1fr; gap: 28px; } }
.stat .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.03em;
  background: var(--iris);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .l { color: var(--cream-dim); font-size: 0.9rem; margin-top: 4px; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% -10%, rgba(62, 139, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-bright);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 16px; }
.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 26px;
}
.price-tag .amt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  letter-spacing: -0.03em;
}
.price-tag .per { color: var(--cream-dim); font-size: 1rem; }

/* ---- Footer ------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 60px 44px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  color: var(--cream-dim);
  font-size: 0.94rem;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-grid a:hover { color: var(--cream); }
.footer-blurb { color: var(--cream-dim); font-size: 0.92rem; max-width: 32ch; margin-top: 14px; }
.footer-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--cream-faint);
  font-size: 0.86rem;
}

/* ---- Sub-page header (privacy / support / faq) -------------------------- */
.page-head {
  padding-block: clamp(56px, 8vw, 92px) clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.page-head h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
}
.page-head .lede { margin-top: 18px; }
.updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cream-faint);
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.updated .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* ---- Prose (legal / support copy) -------------------------------------- */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.6rem;
  margin-top: 52px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  scroll-margin-top: 90px;
}
.prose h2:first-of-type { margin-top: 8px; }
.prose h3 {
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1.12rem;
  margin-top: 30px;
  margin-bottom: 8px;
}
.prose p { color: var(--cream-dim); margin-bottom: 14px; }
.prose ul, .prose ol { color: var(--cream-dim); margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(102,166,255,.4); }
.prose a:hover { text-decoration-color: var(--blue-bright); }
.prose strong { color: var(--cream); font-weight: 650; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  color: var(--blue-bright);
}
.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: rgba(47, 214, 192, 0.07);
  border: 1px solid rgba(47, 214, 192, 0.22);
  margin: 22px 0;
}
.callout svg { color: var(--teal); flex: none; margin-top: 2px; }
.callout p { color: var(--cream-dim); margin: 0; font-size: 0.94rem; }
.callout strong { color: var(--teal); }

/* Two-column page with sticky TOC */
.doc-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .doc-layout { grid-template-columns: 1fr; gap: 28px; }
  .toc { display: none; }
}
.toc {
  position: sticky;
  top: 96px;
}
.toc h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-bottom: 14px;
}
.toc a {
  display: block;
  color: var(--cream-dim);
  font-size: 0.9rem;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--line);
  transition: all 0.2s ease;
}
.toc a:hover { color: var(--cream); border-left-color: var(--blue); }

/* ---- FAQ accordion ------------------------------------------------------ */
.faq-list { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-item[open] { border-color: var(--line-bright); background: rgba(255, 255, 255, 0.04); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(62, 139, 255, 0.12);
  border: 1px solid rgba(62, 139, 255, 0.28);
  color: var(--blue-bright);
  transition: transform 0.3s ease;
}
.faq-item[open] summary .q-mark { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 22px 22px; color: var(--cream-dim); }
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--blue-bright);
}
.faq-cat {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin: 40px 0 16px;
}
.faq-cat:first-child { margin-top: 0; }

/* ---- Support topic cards ------------------------------------------------ */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 820px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .topic-grid { grid-template-columns: 1fr; } }

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(62, 139, 255, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line-bright);
}
@media (max-width: 720px) { .contact-card { grid-template-columns: 1fr; } }

/* ---- Reveal on scroll --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* utility */
.center { text-align: center; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.muted { color: var(--cream-dim); }
.divider { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--cream-dim);
  margin-bottom: 22px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.back-home:hover { color: var(--cream); gap: 12px; }

/* =========================================================================
   Motion layer — orchestrated load, ambient life, hover surprises.
   Everything here is neutralised by the prefers-reduced-motion block
   at the very bottom of this file.
   ========================================================================= */

/* Ambient aurora drift on the background glows */
body::before {
  animation: auroraDrift 30s ease-in-out infinite;
  will-change: transform;
}
@keyframes auroraDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.04); }
  33%      { transform: translate3d(-1.6%, 1.4%, 0) scale(1.08); }
  66%      { transform: translate3d(1.6%, -1%, 0) scale(1.05); }
}

/* Flowing iridescence on gradient-clipped text */
.hero h1 em,
.h-sec em,
.stat .n {
  background-size: 220% auto;
  animation: irisFlow 9s ease-in-out infinite;
}
@keyframes irisFlow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Orchestrated hero entrance (above the fold → runs on load, no JS needed) */
.hero-copy > * { animation: riseIn 0.9s cubic-bezier(0.2, 0.75, 0.2, 1) both; }
.hero-copy .eyebrow   { animation-delay: 0.05s; }
.hero-copy h1         { animation-delay: 0.16s; }
.hero-copy .hero-sub  { animation-delay: 0.34s; }
.hero-copy .hero-cta  { animation-delay: 0.50s; }
.hero-copy .hero-note { animation-delay: 0.62s; }
.hero-visual { animation: popIn 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s both; }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes popIn  { from { opacity: 0; transform: translateY(34px) scale(0.965); } to { opacity: 1; transform: none; } }

/* The hero popover comes alive: breathing glow + rows dealt in + smooth selection */
.pop-glow::before { animation: glowBreathe 7s ease-in-out infinite; }
@keyframes glowBreathe {
  0%, 100% { opacity: 0.34; transform: scaleX(1); }
  50%      { opacity: 0.55; transform: scaleX(1.08); }
}
.popover .pop-row { animation: rowIn 0.55s ease both; }
.popover .pop-list .pop-row:nth-child(1) { animation-delay: 0.55s; }
.popover .pop-list .pop-row:nth-child(2) { animation-delay: 0.64s; }
.popover .pop-list .pop-row:nth-child(3) { animation-delay: 0.73s; }
.popover .pop-list .pop-row:nth-child(4) { animation-delay: 0.82s; }
.popover .pop-list .pop-row:nth-child(5) { animation-delay: 0.91s; }
.popover .pop-list .pop-row:nth-child(6) { animation-delay: 1s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.pop-row { transition: background 0.4s ease, border-color 0.4s ease; }
.pop-row .pop-kbd { transition: opacity 0.3s ease; }

/* Keycap "typing" demo (left-to-right press wave; per-key delay set inline) */
.kbd-demo .kbd { animation: keyPress 4.5s ease-in-out infinite; }
@keyframes keyPress {
  0%, 84%, 100% { transform: translateY(0);   box-shadow: 0 3px 0 rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08); border-color: var(--line-bright); color: var(--cream); }
  4%, 9%        { transform: translateY(2px);  box-shadow: 0 1px 0 rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08); border-color: var(--blue); color: var(--blue-bright); }
}

/* Card sheen sweep + icon lift on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.07) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card:hover::after { transform: translateX(130%); }
.feature-ico { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease; }
.card:hover .feature-ico { transform: translateY(-3px) scale(1.07); border-color: rgba(62, 139, 255, 0.5); box-shadow: 0 10px 26px rgba(62, 139, 255, 0.28); }

/* Theme card sheen */
.theme-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.16) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.8s ease;
}
.theme-card:hover::after { transform: translateX(130%); }

/* Type-chip icon flourish */
.type-chip .tdot { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.type-chip:hover .tdot { transform: scale(1.14) rotate(-6deg); }

/* Nav logo tilt */
.brand img { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.brand:hover img { transform: rotate(-9deg) scale(1.08); }

/* Source chips */
.src-chip { transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.src-chip:hover { transform: translateY(-2px); border-color: var(--line-bright); background: rgba(255, 255, 255, 0.07); }

/* Pillar icon pulse on hover */
.pillar .p-ico { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pillar:hover .p-ico { transform: scale(1.1) rotate(4deg); }

/* Primary button periodic shine */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-200%);
  animation: btnShine 5.5s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 70%   { transform: translateX(-200%); }
  85%, 100% { transform: translateX(340%); }
}

/* Mac App Store badge — light sweeps across on hover */
.mas-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transform: translateX(-220%);
  transition: transform 0.9s ease;
}
.mas-badge { position: relative; overflow: hidden; }
.mas-badge:hover::after { transform: translateX(380%); }

/* CTA band — slow breathing glow */
.cta-band { animation: ctaPulse 7s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--line-bright), 0 30px 90px -40px rgba(62, 139, 255, 0.5); }
  50%      { box-shadow: 0 0 0 1px var(--line-bright), 0 36px 120px -28px rgba(62, 139, 255, 0.75); }
}

/* FAQ answer reveal */
.faq-item[open] .faq-answer { animation: answerIn 0.38s ease; }
@keyframes answerIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Staggered child reveal for grouped containers (.stagger toggled by the observer) */
.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.22s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.34s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.40s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.46s; }

/* Honour the user's motion preference: hold everything in its final, visible state */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-visual,
  .popover .pop-row,
  .pop-detail,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  body::before,
  .pop-glow::before,
  .cta-band,
  .btn-primary::after,
  .kbd-demo .kbd,
  .pd-thumb .scan,
  .hero h1 em,
  .h-sec em,
  .stat .n {
    animation: none !important;
  }
}

/* =========================================================================
   Device mockups — Magpie as it actually looks on Mac, iPhone & iPad
   ========================================================================= */
.device-rail { display: flex; flex-direction: column; align-items: center; gap: clamp(26px, 4vw, 46px); }
.device-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  width: 100%;
}

/* device-meta line: Source · [device] Device · time  ·  pin */
.dmeta { display: flex; align-items: center; gap: 5px; color: var(--cream-faint); min-width: 0; }
.dmeta .src { color: var(--cream-dim); font-weight: 500; white-space: nowrap; }
.dmeta .dev { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.dmeta .dev svg { opacity: 0.85; }
.dmeta .dot { width: 2.5px; height: 2.5px; border-radius: 50%; background: currentColor; opacity: 0.5; flex: none; }
.dmeta .pin { margin-left: auto; color: var(--gold); display: inline-flex; flex: none; }

/* ---- MacBook ----------------------------------------------------------- */
.macbook { width: min(680px, 100%); }
.mb-lid {
  position: relative;
  padding: 11px;
  border-radius: 20px;
  background: linear-gradient(180deg, #2c2c30, #161618);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.mb-notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 17px; background: #0c0c0e; border-radius: 0 0 10px 10px; z-index: 6;
}
.mb-display {
  position: relative;
  aspect-ratio: 16 / 10.3;
  border-radius: 9px;
  overflow: hidden;
  background: #0b0b0e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.mb-base {
  position: relative; height: 15px; width: 109%; margin: 0 -4.5%;
  background: linear-gradient(180deg, #3a3a3e, #1f1f22 70%);
  border-radius: 2px 2px 11px 11px;
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.5);
}
.mb-base::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 92px; height: 8px; background: #26262a; border-radius: 0 0 8px 8px;
}

/* macOS scene */
.mac-desktop {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(62, 139, 255, 0.32), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(139, 109, 255, 0.32), transparent 55%),
    radial-gradient(90% 80% at 55% 120%, rgba(47, 214, 192, 0.18), transparent 60%),
    linear-gradient(160deg, #1a2440 0%, #0d1022 70%);
  background-color: #0e1326;
}
.mac-menubar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 18px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 9px;
  background: rgba(8, 8, 12, 0.4);
  backdrop-filter: blur(12px);
  font-size: 8.5px; font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  z-index: 4;
}
.mac-menubar .mm-left { display: flex; align-items: center; gap: 9px; }
.mac-menubar .mm-left svg { width: 9px; height: 9px; }
.mac-menubar .mm-left b { font-weight: 700; }
.mac-menubar .mm-left .mu { opacity: 0.85; }
.mac-menubar .mm-right { display: flex; align-items: center; gap: 9px; }
.mac-menubar .mm-bird {
  display: inline-flex; align-items: center; gap: 4px;
  height: 14px; padding: 0 5px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.1); font-weight: 600;
}
.mac-menubar .mm-bird img { width: 10px; height: 10px; border-radius: 2px; }
.mac-menubar .mm-right svg { width: 12px; height: 9px; opacity: 0.9; }

/* background app window (atmosphere) */
.mac-win {
  position: absolute;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(24, 24, 28, 0.86);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}
.mac-win .mw-bar { height: 18px; display: flex; align-items: center; gap: 5px; padding: 0 8px; background: rgba(255, 255, 255, 0.04); }
.mac-win .mw-bar i { width: 7px; height: 7px; border-radius: 50%; }
.mac-win .mw-bar .t { margin-left: 6px; font-size: 8px; color: var(--cream-faint); }
.mac-win .mw-body { padding: 9px 11px; font-family: var(--font-mono); font-size: 8px; line-height: 1.7; color: rgba(245, 245, 247, 0.5); white-space: pre; }

/* the popover, open — scaled to a realistic on-desktop size */
.mac-desktop .popover {
  position: absolute;
  top: 28px;
  right: 16px;
  transform: scale(0.62);
  transform-origin: top right;
  z-index: 3;
}

/* the floating button resting on the desktop */
.mac-fab {
  position: absolute;
  right: 18px; bottom: 42px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(165deg, #2c2c30, #1a1a1d);
  color: #f5f5f7;
  display: grid; place-items: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.mac-fab svg { width: 20px; height: 20px; }
.mac-fab .badge {
  position: absolute; top: -3px; right: -3px;
  min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px;
  background: var(--blue); color: #fff;
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 700;
  display: grid; place-items: center; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3);
}

/* the Dock */
.mac-dock {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; padding: 4px 6px;
  background: rgba(60, 60, 66, 0.42);
  backdrop-filter: blur(14px) saturate(160%);
  border-radius: 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.mac-dock .d {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.25));
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
  display: grid; place-items: center;
}
.mac-dock .d.magpie { background: linear-gradient(160deg, #2c2c30, #16161a); color: #f5f5f7; }
.mac-dock .d.magpie svg { width: 15px; height: 15px; }
.mac-dock .d.sep { width: 0.5px; background: rgba(255, 255, 255, 0.18); border-radius: 0; box-shadow: none; }

/* ---- Shared iOS type tiles (reuse pop-tile, smaller) ------------------- */
.ios-row .pop-tile, .ipl-row .pop-tile { width: 30px; height: 30px; border-radius: 8px; }
.ios-row .pop-tile.aa, .ipl-row .pop-tile.aa { font-size: 12px; }
.ios-row .pop-tile.glyph svg, .ipl-row .pop-tile.glyph svg { width: 15px; height: 15px; }

/* ---- iPhone ------------------------------------------------------------ */
.iphone {
  position: relative;
  width: 246px;
  flex: 0 0 auto;
  aspect-ratio: 0.462;
  border-radius: 44px;
  padding: 9px;
  background: linear-gradient(145deg, #45454a, #1c1c1f 62%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.iphone::before { content: ""; position: absolute; left: -2px; top: 160px; width: 2px; height: 60px; border-radius: 2px 0 0 2px; background: linear-gradient(#3a3a3e, #222); }
.iphone::after { content: ""; position: absolute; right: -2px; top: 140px; width: 2px; height: 42px; border-radius: 0 2px 2px 0; background: linear-gradient(#3a3a3e, #222); }
.ip-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #0b0b0e; }
.ip-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 80px; height: 24px; background: #000; border-radius: 13px; z-index: 6; }

.ios-app { position: absolute; inset: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, #101015, #0b0b0e); color: var(--cream); }
.ios-status { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px 2px; font-size: 10px; font-weight: 700; }
.ios-status .sb { display: flex; align-items: center; gap: 4px; }
.ios-status .sb svg { height: 10px; width: auto; }
.ios-nav { display: flex; justify-content: flex-end; padding: 2px 14px 0; }
.ios-syncchip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--cream-dim); font-size: 9px; font-weight: 500; }
.ios-syncchip svg { width: 11px; height: 11px; }
.ios-title { font-size: 25px; font-weight: 800; letter-spacing: -0.03em; padding: 1px 16px 6px; }
.ios-search { margin: 0 16px 9px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: var(--cream-faint); font-size: 12px; }
.ios-search svg { width: 14px; height: 14px; }
.ios-chips { display: flex; gap: 6px; padding: 0 16px 11px; overflow: hidden; }
.ios-chip { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 500; color: var(--cream-dim); background: rgba(255, 255, 255, 0.05); border: 0.5px solid var(--line); white-space: nowrap; }
.ios-chip .n { font-family: var(--font-mono); font-size: 9.5px; color: var(--cream-faint); }
.ios-chip.on { color: var(--cream); background: rgba(62, 139, 255, 0.16); border-color: transparent; box-shadow: inset 0 0 0 1px var(--blue); }
.ios-chip.on .n { color: var(--cream-dim); }
.ios-chip .pinico { color: var(--gold); display: inline-flex; }
.ios-chip .pinico svg { width: 10px; height: 10px; }
.ios-save {
  margin: 1px 16px 6px;
  height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 18px -6px var(--blue);
}
.ios-save svg { width: 17px; height: 17px; }
.ios-seclabel { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-faint); padding: 7px 18px 3px; }
.ios-list { flex: 1; overflow: hidden; padding: 0 8px; }
.ios-row { display: flex; align-items: flex-start; gap: 11px; padding: 9px 9px; border-radius: 12px; }
.ios-row.sel { background: rgba(62, 139, 255, 0.13); }
.ios-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 1px; }
.ios-content { font-size: 12.5px; line-height: 1.32; color: var(--cream); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.ios-content.one { -webkit-line-clamp: 1; }
.ios-content.code { font-family: var(--font-mono); font-size: 10.5px; white-space: pre; -webkit-line-clamp: 2; opacity: 0.92; }
.ios-content.mono1 { font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.ios-content .lt { font-weight: 600; }
.ios-content .host { display: block; color: var(--blue-bright); font-size: 10px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ios-meta { font-size: 10px; }
.ios-meta .dev svg { width: 11px; height: 11px; }
.ios-chev { align-self: center; color: var(--cream-faint); flex: none; display: flex; }
.ios-chev svg { width: 15px; height: 15px; }
.ios-tabbar { display: flex; border-top: 0.5px solid var(--line-soft); padding: 6px 0 2px; }
.ios-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9.5px; font-weight: 600; color: var(--cream-faint); }
.ios-tab.on { color: var(--blue-bright); }
.ios-tab svg { width: 19px; height: 19px; }
.ios-home { width: 36%; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.5); margin: 6px auto 8px; }

/* ---- iPad — landscape NavigationSplitView (sidebar │ list │ detail) ---- */
.ipad {
  position: relative;
  width: min(640px, 100%);
  flex: 1 1 560px;
  max-width: 660px;
  aspect-ratio: 1.43;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(145deg, #4a4a4f, #242427 62%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.ipad::before { content: ""; position: absolute; top: 50%; left: 4px; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: #1a1a1d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); z-index: 5; }
.ipad-screen { position: relative; width: 100%; height: 100%; border-radius: 15px; overflow: hidden; background: #0b0b0e; }
.ipad-app { position: absolute; inset: 0; display: flex; background: linear-gradient(180deg, #101015, #0b0b0e); color: var(--cream); }

.ipad-side { width: 22%; min-width: 0; border-right: 0.5px solid var(--line-soft); padding: 9px 6px; display: flex; flex-direction: column; gap: 1px; background: rgba(255, 255, 255, 0.02); }
.ipad-brand { display: flex; align-items: center; gap: 6px; padding: 1px 6px 9px; font-size: 12px; font-weight: 700; }
.ipad-brand img { width: 16px; height: 16px; border-radius: 4px; }
.ips-item { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 7px; font-size: 10px; color: var(--cream-dim); }
.ips-item .si { width: 14px; display: inline-flex; justify-content: center; color: var(--cream-dim); }
.ips-item .si svg { width: 13px; height: 13px; }
.ips-item .sn { margin-left: auto; font-family: var(--font-mono); font-size: 8.5px; color: var(--cream-faint); }
.ips-item.on { color: var(--cream); background: rgba(62, 139, 255, 0.16); font-weight: 600; }
.ips-item .sw { width: 12px; height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3); }
.ips-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-faint); padding: 9px 8px 3px; }
.ips-spacer { flex: 1; }

.ipad-list { width: 33%; min-width: 0; border-right: 0.5px solid var(--line-soft); display: flex; flex-direction: column; }
.ipl-top { padding: 9px 9px 7px; display: flex; flex-direction: column; gap: 7px; }
.ipl-search { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: var(--cream-faint); font-size: 10px; }
.ipl-search svg { width: 12px; height: 12px; }
.ipl-save { height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 600; }
.ipl-save svg { width: 13px; height: 13px; }
.ipl-rows { flex: 1; overflow: hidden; padding: 0 5px; }
.ipl-row { display: flex; align-items: flex-start; gap: 8px; padding: 7px 6px; border-radius: 8px; }
.ipl-row .pop-tile { width: 26px; height: 26px; border-radius: 7px; }
.ipl-row .pop-tile.aa { font-size: 10px; }
.ipl-row .pop-tile.glyph svg { width: 13px; height: 13px; }
.ipl-row.sel { background: rgba(62, 139, 255, 0.16); }
.ipl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-top: 1px; }
.ipl-content { font-size: 10px; line-height: 1.3; color: var(--cream); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.ipl-content.one { -webkit-line-clamp: 1; }
.ipl-content.code { font-family: var(--font-mono); font-size: 8.5px; white-space: pre; }
.ipl-content .lt { font-weight: 600; }
.ipl-content .host { display: block; color: var(--blue-bright); font-size: 8.5px; }
.ipl-meta { font-size: 8.5px; }
.ipl-meta .dev svg { width: 9px; height: 9px; }

.ipad-detail { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ipd-head { display: flex; align-items: flex-start; gap: 9px; padding: 14px 16px 12px; }
.ipd-head .pop-tile { width: 34px; height: 34px; border-radius: 9px; }
.ipd-head .pop-tile.glyph svg { width: 17px; height: 17px; }
.ipd-head .ht { flex: 1; }
.ipd-head h5 { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; }
.ipd-head .dm { font-size: 9px; color: var(--cream-dim); margin-top: 2px; }
.ipd-head .pin { color: var(--gold); }
.ipd-head .pin svg { width: 15px; height: 15px; }
.ipd-body { flex: 1; padding: 0 16px; min-height: 0; }
.ipd-code { font-family: var(--font-mono); font-size: 9px; line-height: 1.7; color: var(--cream-dim); background: rgba(0, 0, 0, 0.3); border: 1px solid var(--line-soft); border-radius: 8px; padding: 11px 13px; white-space: pre; overflow: hidden; }
.ipd-code .k { color: var(--violet); }
.ipd-code .f { color: var(--gold); }
.ipd-code .s { color: var(--teal); }
.ipd-actions { display: flex; gap: 6px; padding: 11px 16px; border-top: 0.5px solid var(--line-soft); }
.ipd-act { display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; border-radius: 8px; font-size: 10.5px; font-weight: 600; }
.ipd-act svg { width: 14px; height: 14px; }
.ipd-act.primary { flex: 1; background: var(--blue); color: #fff; }
.ipd-act.ghost { padding: 0 14px; background: rgba(255, 255, 255, 0.06); color: var(--cream-dim); border: 1px solid var(--line); }
.ipd-act.danger { width: 36px; background: rgba(255, 255, 255, 0.06); color: #ff6b6b; border: 1px solid var(--line); }

@media (max-width: 760px) {
  .device-row { gap: 24px; }
  .ipad { width: min(560px, 100%); flex-basis: 100%; }
  .iphone { width: 226px; }
}
