/* ============================================================
   OGStudio — light, rounded, big type
   ============================================================ */

:root {
  /* ground — white site */
  --bg:        #ffffff;
  --bg-2:      #f6f6f9;
  --surface:   #ffffff;
  --line:      #e8e8ef;

  /* ink */
  --ink:       #14151c;
  --ink-2:     #5c6072;
  --ink-3:     #6e7385;

  /* dark — hero and the publisher band share it */
  --dark:      #0b0c11;
  --dark-2:    #15171f;
  --dark-line: #292c38;
  --dark-ink:  #f5f6fa;
  --dark-ink2: #a6abbd;

  /* brand — yellow, pink, blue on black and white */
  --yellow:    #ffd23f;
  --yellow-dk: #f0bb16;
  --pink:      #ff4f8b;
  --pink-dk:   #d81b60;
  --blue:      #3aa8f0;
  --blue-dk:   #1e8fd8;

  /* Text-safe versions. The brand colours are tuned for fills; on white they
     fall well under WCAG contrast (yellow is ~1.4:1), so anything that renders
     as words or icons uses these instead. Redefined inside .dark below, where
     the bright originals are the legible ones. */
  --yellow-ink: #7d5c04;
  --pink-ink:   #c2185b;
  --pink-lg:    #e8225f;   /* large text only — vivid, still 4.3:1 on white */
  --blue-ink:   #0a63a6;
  --gray:      #9aa0ad;

  --accent:    var(--yellow);
  --accent-ink: var(--yellow-ink);

  --r-xl: 40px;
  --r-lg: 28px;
  --r:    20px;
  --r-sm: 14px;

  --sp:   clamp(2.5rem, 4.5vw, 4.25rem);   /* vertical rhythm between sections */
  --wrap: 1200px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22,.68,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
h1 { font-size: clamp(2.9rem, 7.4vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.028em; }
h4 { font-size: 1.12rem; letter-spacing: -.02em; font-weight: 700; }
p  { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.narrow { width: min(800px, 100% - 3rem); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--pink-dk); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* ---------- scroll reveal ---------- */
/* Only hide when JS is actually running — otherwise a script failure
   would leave most of the page invisible. */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Nav
   ============================================================ */

.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 76px; padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: color-mix(in srgb, #fff 80%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.stuck { border-bottom-color: var(--line); background: color-mix(in srgb, #fff 88%, transparent); }

.brand { display: inline-flex; align-items: center; gap: 0; font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; color: var(--ink); }
.brand .og     { color: var(--pink-lg); }
.brand .studio { color: var(--ink); }

.nav-menu { display: flex; align-items: center; gap: clamp(.5rem, 1.8vw, 1.6rem); font-size: .97rem; font-weight: 600; }
.nav-menu > a { color: var(--ink-2); padding: .45rem .2rem; transition: color .18s var(--ease); }
.nav-menu > a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: .7rem 1.35rem !important; border-radius: 999px;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(20,21,28,.75); }

.nav-toggle {
  display: none; position: relative;
  width: 46px; height: 46px; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%;
  display: block; width: 20px; height: 2px; margin-left: -10px;
  background: var(--ink); border-radius: 2px;
  transition: transform .24s var(--ease), opacity .16s var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translateY(-7px); }
.nav-toggle span:nth-child(2) { transform: translateY(0); }
.nav-toggle span:nth-child(3) { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(0) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed; inset: 84px 1rem auto 1rem;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: .5rem 1.4rem 1.4rem;
    box-shadow: 0 30px 60px -24px rgba(20,21,28,.28);
    opacity: 0; transform: translateY(-10px) scale(.985); pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu > a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-cta { margin-top: 1.1rem; text-align: center; border-bottom: 0 !important; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: inherit; font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  padding: 1rem 1.9rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .24s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.btn-primary {
  background: var(--yellow); color: #101114;
  box-shadow: 0 12px 30px -12px rgba(255,210,63,.9);
}
.btn-primary:hover { background: var(--yellow-dk); box-shadow: 0 18px 42px -12px rgba(255,210,63,1); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 16px 36px -14px rgba(18,19,46,.8); }

.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 16px 36px -14px rgba(0,0,0,.5); }

.btn-ghost-light { border-color: var(--dark-line); color: var(--dark-ink); }
.btn-ghost-light:hover { border-color: var(--dark-ink); }

.btn-pink { background: var(--pink-dk); color: #fff; box-shadow: 0 12px 30px -12px rgba(216,27,96,.9); }
.btn-pink:hover { background: var(--pink-ink); box-shadow: 0 18px 42px -12px rgba(216,27,96,1); }

.btn-lg { padding: 1.15rem 2.3rem; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ============================================================
   Shared bits
   ============================================================ */

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 13%, transparent);
  padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.6rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.lede { color: var(--ink-2); font-size: clamp(1.06rem, 1.5vw, 1.24rem); max-width: 56ch; }

.section { padding: var(--sp) 0; }
.section-head { max-width: 40ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 1.1rem; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; }
.head-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; }

.c-yellow { color: var(--yellow-ink); }
.c-pink   { color: var(--pink-ink); }
.c-rose   { color: var(--pink-lg); }   /* headlines only */
.c-blue   { color: var(--blue-ink); }
.c-ink    { color: var(--ink); }

.a-yellow { --accent: var(--yellow); --accent-ink: var(--yellow-ink); }
.a-pink   { --accent: var(--pink);   --accent-ink: var(--pink-ink); }
.a-blue   { --accent: var(--blue);   --accent-ink: var(--blue-ink); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative; overflow: hidden;
  margin-top: -76px;
  padding: calc(76px + var(--sp)) 0 var(--sp);
  min-height: min(84vh, 780px);
  display: flex; align-items: center;
  background:
    radial-gradient(85% 65% at 50% 0%, #fffaea 0%, transparent 58%),
    radial-gradient(60% 55% at 88% 18%, rgba(255,79,139,.10) 0%, transparent 62%),
    radial-gradient(55% 50% at 10% 75%, rgba(58,168,240,.10) 0%, transparent 62%),
    var(--bg);
}
.hero-inner { position: relative; z-index: 2; text-align: center; }
.hero h1 { margin-bottom: 1.8rem; text-shadow: 0 0 10px rgba(255,255,255,.9), 0 2px 26px rgba(255,255,255,.85); }
.hero .lede {
  margin: 0 auto;
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.55;
  max-width: 54ch;
  text-shadow: 0 0 9px rgba(255,255,255,.98), 0 1px 20px rgba(255,255,255,.95);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.6rem; }
.hero-note { margin-top: 1.5rem; color: var(--ink-3); font-size: .95rem; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills li {
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: .42rem .95rem; border-radius: 999px;
}


/* ============================================================
   Dark band — publishers + contact
   ============================================================ */

.dark {
  --yellow-ink: var(--yellow);
  --pink-ink: var(--pink);
  --blue-ink: var(--blue);
  background: var(--dark); color: var(--dark-ink);
  border-radius: var(--r-xl);
  margin: 0 clamp(.75rem, 2vw, 1.5rem);
  padding: var(--sp) 0;
  position: relative; overflow: hidden;
}
.dark::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 26%, transparent), transparent 68%);
  top: -340px; right: -180px; pointer-events: none;
}
.dark::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 30%, transparent), transparent 68%);
  bottom: -300px; left: -160px; pointer-events: none;
}
.dark .wrap { position: relative; z-index: 2; }
.dark .eyebrow { color: var(--yellow); background: rgba(255,210,63,.16); }
.dark .lede, .dark p { color: var(--dark-ink2); }
.dark h2, .dark h3, .dark h4 { color: var(--dark-ink); }

.partner-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.1rem; margin-top: 3rem;
}
.partner {
  background: var(--dark-2); border: 1px solid var(--dark-line);
  border-radius: var(--r-lg); padding: 1.8rem 1.6rem;
}
.partner h4 { margin-bottom: .6rem; }
.partner p { font-size: .96rem; }
.partner-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent); font-weight: 800; font-size: .92rem; margin-bottom: 1.1rem;
}

/* contact */
.contact-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: start; margin-top: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-aside h2 { margin-bottom: 1.2rem; }
.contact-points { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-points li { display: flex; gap: .85rem; color: var(--dark-ink2); font-size: 1rem; }
.contact-points li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .2rem; border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 40%, transparent);
  border: 2px solid var(--blue);
}
.contact-mail {
  display: inline-block; margin-top: 2rem; font-size: 1.16rem; font-weight: 700;
  color: #fff; border-bottom: 2px solid color-mix(in srgb, var(--blue) 70%, transparent);
  padding-bottom: 2px; word-break: break-all;
}
.contact-mail:hover { border-bottom-color: var(--blue); }

.form {
  background: var(--dark-2); border: 1px solid var(--dark-line);
  border-radius: var(--r-xl); padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .92rem; font-weight: 600; color: var(--dark-ink); margin-bottom: .5rem; }
.field .req { color: var(--pink); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem;
  background: rgba(255,255,255,.05); color: var(--dark-ink);
  border: 1.5px solid var(--dark-line); border-radius: var(--r);
  padding: .95rem 1.1rem;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select option { background: var(--dark-2); color: var(--dark-ink); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--pink); background: rgba(255,255,255,.08);
}
.field input::placeholder, .field textarea::placeholder { color: #6d7192; }
.field-row { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 580px) { .field-row { grid-template-columns: 1fr; } }
.field-error { color: var(--pink); font-size: .86rem; margin-top: .4rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--pink); }
.field.invalid .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: #9a9fbb; font-size: .88rem; margin-top: 1.1rem; }
.form-status { margin-top: 1rem; font-size: .98rem; font-weight: 600; }

/* ============================================================
   Prose (privacy) + 404
   ============================================================ */

.page-head { padding: var(--sp) 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .9rem; color: var(--ink-3); margin-bottom: 1.4rem; font-weight: 600; }
.crumbs a:hover { color: var(--ink); }
.prose h2 { font-size: 1.55rem; margin: 2.8rem 0 1rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose p { margin-bottom: 1.1rem; }
.prose ul { display: grid; gap: .6rem; margin: 0 0 1.4rem; }
/* The bullet is positioned rather than laid out as a flex sibling: a list item
   that starts with <strong> would otherwise split into two flex children and
   stack the lead-in above the rest of the sentence. */
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62rem; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.prose a { color: var(--pink-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose-meta { margin-top: 1.1rem; color: var(--ink-3); font-size: .93rem; }

.err { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.err-code {
  font-size: clamp(5rem, 17vw, 10rem); font-weight: 800; line-height: .9; letter-spacing: -.055em;
  background: linear-gradient(120deg, var(--pink), var(--blue) 45%, var(--pink));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

/* ============================================================
   Footer
   ============================================================ */

/* Dark, rounded at the top like the dark bands: brand and contact on the
   left, the catalogue and company links beside it, one line of small print. */
.footer {
  --pink-ink: var(--pink);
  margin: clamp(1rem, 3vw, 2rem) clamp(.75rem, 2vw, 1.5rem) 0;
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.2rem;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background:
    radial-gradient(50% 60% at 0% 0%, color-mix(in srgb, var(--pink) 16%, transparent), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 70%),
    var(--dark);
  color: var(--dark-ink);
}
.footer-top {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  padding-bottom: 2.8rem; border-bottom: 1px solid var(--dark-line);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer .brand .studio { color: #fff; }
.footer .brand .og { color: var(--pink); }
.footer .footer-brand p { color: var(--dark-ink2); font-size: .99rem; margin: 1.2rem 0 1.2rem; max-width: 40ch; }
.footer-mail { color: var(--pink); font-weight: 700; word-break: break-all; }
.footer-mail:hover { text-decoration: underline; }
.footer-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.footer-col { display: flex; flex-direction: column; gap: .65rem; }
.footer-col h2 { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: #fff; font-weight: 800; margin-bottom: .45rem; }
.footer-col h2 a { color: #fff; font-size: inherit; font-weight: inherit; }
.footer-col h2 a:hover { color: var(--pink); }
.footer-col a { color: var(--dark-ink2); font-size: .95rem; font-weight: 500; transition: color .16s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; align-items: center;
  padding-top: 1.8rem; color: var(--dark-ink2); font-size: .88rem;
}
.footer-legal a { color: #fff; font-weight: 600; }
.footer-legal a:hover { color: var(--pink); }


/* ============================================================
   Applications — nav submenu, home card, product pages
   ============================================================ */

/* Sound Capture Pro's own accent, alongside the three brand ones above.
   --accent is the fill, --accent-ink the text-safe version (7.5:1 on white). */
.a-violet { --accent: #6f5bf5; --accent-ink: #4a39cf; }
.c-violet { color: #4a39cf; }

/* ---------- nav submenu ---------- */
.nav-item { position: relative; }

.nav-sub-btn {
  display: inline-flex; align-items: center; gap: .38rem;
  font: inherit; font-size: .97rem; font-weight: 600; line-height: inherit;
  color: var(--ink-2); background: none; border: 0; padding: .45rem .2rem;
  cursor: pointer; transition: color .18s var(--ease);
}
.nav-sub-btn:hover,
.nav-sub-btn[aria-expanded="true"] { color: var(--ink); }
.nav-sub-btn .chev { width: 12px; height: 12px; flex: none; transition: transform .2s var(--ease); }
.nav-sub-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .nav-sub-btn .chev { transition: none; } }

.nav-sub-link {
  display: flex; align-items: center; gap: .85rem;
  padding: .8rem .9rem; border-radius: var(--r-sm);
  transition: background .18s var(--ease);
}
.nav-sub-link:hover, .nav-sub-link:focus-visible { background: var(--bg-2); }
.nav-sub-link img { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.nav-sub-copy { display: block; }
.nav-sub-copy strong { display: block; font-size: .98rem; font-weight: 700; color: var(--ink); }
.nav-sub-copy small { display: block; margin-top: .15rem; font-size: .84rem; font-weight: 500; color: var(--ink-3); }

@media (min-width: 861px) {
  .nav-sub {
    position: absolute; top: calc(100% + 16px); left: -.9rem;
    width: 345px; padding: .4rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: 0 30px 64px -26px rgba(18,19,46,.42);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    /* visibility switches instantly on open and only after the fade on close.
       Transitioning it kept the panel unfocusable for 180ms, long enough for a
       keyboard user to Tab straight past the link they just opened. */
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  }
  /* bridge the gap so the pointer can cross from button to panel without
     leaving .nav-item and triggering mouseleave */
  .nav-item::after { content: ""; position: absolute; inset: 100% 0 auto; height: 18px; }
  /* open state comes from main.js only — see the note there */
  .nav-sub.open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
  }
}
@media (min-width: 861px) and (prefers-reduced-motion: reduce) {
  .nav-sub { transition: none; }
}

@media (max-width: 860px) {
  .nav-item { width: 100%; }
  .nav-sub-btn {
    width: 100%; justify-content: space-between;
    padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem;
  }
  .nav-sub { display: none; padding: .4rem 0 .5rem; }
  .nav-sub.open { display: block; }
  .nav-sub-link { padding: .75rem .6rem; background: var(--bg-2); }
}

/* ---------- Microsoft Store badge ----------
   Microsoft's official artwork, used unaltered. Only the rendered size changes;
   the intrinsic 161x44 ratio is preserved so nothing distorts. */
.ms-badge { display: inline-block; border-radius: 6px; transition: transform .18s var(--ease); }
.ms-badge img { height: 48px; width: auto; }
.ms-badge:hover { transform: translateY(-2px); }
.ms-badge:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ms-badge:hover { transform: none; } }

.app-icon { border-radius: 14px; flex: none; }

/* ---------- product page: hero ---------- */
.app-hero {
  position: relative; margin-top: -76px;
  padding: calc(76px + clamp(2.5rem, 5vw, 4.5rem)) 0 var(--sp);
  background: linear-gradient(176deg, #f1efff 0%, #f8f7ff 52%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.app-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
@media (max-width: 940px) { .app-hero-grid { grid-template-columns: 1fr; gap: 3rem; } }

.app-hero-icon { border-radius: 22px; margin-bottom: 1.6rem; box-shadow: 0 18px 38px -16px rgba(79,63,212,.55); }
.app-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); margin-bottom: .7rem; }
.app-hero-tag {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700;
  letter-spacing: -.025em; color: #4a39cf; margin-bottom: 1.5rem;
}
.app-hero .lede { font-size: clamp(1.04rem, 1.4vw, 1.16rem); max-width: 54ch; }
.app-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.app-hero-meta { margin-top: 1.5rem; color: var(--ink-3); font-size: .93rem; font-weight: 500; }

.app-hero-shot { justify-self: center; }
.app-hero-shot img {
  width: min(420px, 86vw); height: auto; border-radius: var(--r-lg);
  box-shadow: 0 48px 90px -36px rgba(40,30,120,.5);
}

/* ---------- product page: feature grid ---------- */
.feat-grid {
  display: grid; gap: clamp(1.6rem, 3vw, 2.4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* 6 features -> even 3x2 */
}
@media (max-width: 980px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 2.5vw, 2.1rem);
}
.feat-ico {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; margin-bottom: 1.1rem;
  color: #4a39cf; background: rgba(111,91,245,.12);
}
.feat-ico svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.16rem; margin-bottom: .6rem; }
.feat p { color: var(--ink-2); font-size: .99rem; }

/* ---------- product page: alternating screenshots ---------- */
.shots { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.shot {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.shot:nth-child(even) .shot-media { order: 1; }
@media (max-width: 940px) {
  .shot { grid-template-columns: 1fr; gap: 2.2rem; }
  .shot:nth-child(even) .shot-media { order: 0; }
}
.shot-media { justify-self: center; }
.shot-media img {
  width: min(400px, 86vw); height: auto; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -36px rgba(18,19,46,.5);
}
.shot-step {
  display: inline-flex; align-items: center;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 13%, transparent);
  padding: .45rem .95rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.shot-text h3 { color: var(--accent-ink); margin-bottom: 1rem; }
.shot-text p { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 1.6rem; }
.shot-text strong { color: var(--ink); font-weight: 700; }

/* ---------- product page: dark band ---------- */
.theme-pair {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
@media (max-width: 780px) { .theme-pair { grid-template-columns: 1fr; } }
.theme-pair figure { margin: 0; }
.theme-pair img {
  width: 100%; height: auto; border-radius: var(--r-lg);
  border: 1px solid var(--dark-line);
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.85);
}
.theme-pair figcaption {
  margin-top: .9rem; font-size: .88rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--dark-ink2);
}

/* Game page: a screenshot beside the keyboard shortcuts, on the dark band. */
.mac-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
@media (max-width: 900px) { .mac-grid { grid-template-columns: minmax(0, 1fr); } }
.mac-grid figure { margin: 0; }
.mac-grid img {
  width: 100%; height: auto; border-radius: var(--r-lg);
  border: 1px solid var(--dark-line);
  box-shadow: 0 40px 80px -36px rgba(0,0,0,.85);
}
.keys { display: grid; gap: .6rem; }
.keys li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem 1rem; border-radius: 12px;
  background: var(--dark-2); border: 1px solid var(--dark-line);
  color: var(--dark-ink2); font-size: .98rem;
}
.keys kbd {
  font-family: inherit; font-weight: 700; font-size: .92rem; line-height: 1;
  color: var(--dark-ink); white-space: nowrap;
  background: rgba(255,255,255,.08); border: 1px solid var(--dark-line);
  border-radius: 8px; padding: .45rem .6rem;
}

.privacy-note {
  background: var(--dark-2); border: 1px solid var(--dark-line);
  border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 68ch;
}
.privacy-note h3 { margin-bottom: .9rem; }
.privacy-note p { font-size: 1.02rem; }
.privacy-link {
  display: inline-block; margin-top: 1.3rem; font-weight: 700;
  color: var(--yellow); border-bottom: 2px solid transparent;
}
.privacy-link:hover { border-bottom-color: var(--yellow); }

/* ---------- product page: specs + closing CTA ---------- */
.spec-layout {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
@media (max-width: 900px) { .spec-layout { grid-template-columns: 1fr; } }

.spec-table h2 { margin-bottom: 2rem; }
.spec-table dl { margin: 0; }
.spec-table dl > div {
  display: grid; grid-template-columns: minmax(0, 11rem) 1fr; gap: .5rem 1.5rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.spec-table dl > div:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .spec-table dl > div { grid-template-columns: 1fr; } }
.spec-table dt { font-weight: 700; color: var(--ink); font-size: .98rem; }
.spec-table dd { margin: 0; color: var(--ink-2); font-size: .99rem; }

.spec-cta {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.8rem, 3.5vw, 2.4rem);
  position: sticky; top: 100px;
}
@media (max-width: 900px) { .spec-cta { position: static; } }
.spec-cta h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 1.2rem 0 .9rem; }
.spec-cta p { color: var(--ink-2); font-size: .99rem; margin-bottom: 1.6rem; }
.spec-cta-note { margin: 1.4rem 0 0; font-size: .92rem; color: var(--ink-3); }
.spec-cta-note a { color: var(--pink-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- prose callout (app privacy policy) ---------- */
/* .prose p sets its own colour, so match that specificity instead of !important */
.prose p.prose-callout {
  background: var(--bg-2); border: 1px solid var(--line);
  border-left: 4px solid #4a39cf;
  border-radius: var(--r-sm); padding: 1.2rem 1.4rem;
  color: var(--ink); font-size: 1.04rem;
}

/* ============================================================
   MultiClawed — accents, wide product page, platforms, FAQ
   ============================================================ */

/* MultiClawed's own pair, built the same way as .a-violet above:
   --accent is the fill, --accent-ink the text-safe version on white
   (#4338ca is 7.9:1, #0e7a51 is 5.4:1). */
.a-indigo  { --accent: #635bff; --accent-ink: #4338ca; }
.c-indigo  { color: #4338ca; }
.a-emerald { --accent: #2fbd84; --accent-ink: #0e7a51; }
.c-emerald { color: #0e7a51; }

.section-tight { padding-block: clamp(3rem, 5.5vw, 5rem); }

/* ---------- download row: store badge + platform status ---------- */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }

/* The Mac half of the pair. Not Apple's badge: their guidelines require that
   artwork to link to a Mac App Store product page, and there is no listing yet.
   Built to the Microsoft badge's 48px height so the two read as one control;
   .is-soon is the un-linked state, and it becomes an <a> once the listing is up. */
.store-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  height: 48px; padding: 0 1.15rem;
  border-radius: 8px; border: 1px solid transparent;
  background: var(--ink); color: #fff;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
a.store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(18,19,46,.8); }
a.store-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { a.store-btn:hover { transform: none; } }

/* no listing to open yet: flat, and clearly not clickable */
.store-btn.is-soon {
  background: var(--bg-2); border-color: var(--line); color: var(--ink-2);
  cursor: default;
}
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn-copy { display: block; line-height: 1.15; text-align: left; }
/* --ink-3 is only 4.37:1 on --bg-2 at this size, so the small line uses --ink-2 */
.store-btn-copy small { display: block; font-size: .72rem; font-weight: 600; }
.store-btn-copy strong { display: block; margin-top: .1rem; font-size: .97rem; font-weight: 700; }
.store-btn.is-soon .store-btn-copy strong { color: var(--ink); }

/* ---------- product page: wide screenshot blocks ---------- */
.wshots { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }

.wshot-head {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.2rem, 4vw, 3.5rem); align-items: end;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
@media (max-width: 860px) { .wshot-head { grid-template-columns: 1fr; align-items: start; } }
.wshot-head h3 { color: var(--accent-ink); }
.wshot-copy p { color: var(--ink-2); font-size: 1.04rem; margin-bottom: 1.2rem; }
.wshot-copy strong { color: var(--ink); font-weight: 700; }

.wshot-media {
  margin: 0; padding: clamp(.7rem, 1.6vw, 1.3rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 4%, transparent));
}
.wshot-media img {
  width: 100%; height: auto; border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: 0 28px 60px -30px rgba(18,19,46,.5);
}

/* ---------- product page: FAQ ---------- */
.faq { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; cursor: pointer; list-style: none;
  font-size: 1.08rem; font-weight: 700; letter-spacing: -.015em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
/* the +/- is drawn here rather than with a marker so it can be rotated */
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px;
  background:
    linear-gradient(currentColor, currentColor) center/100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 100% no-repeat;
  color: var(--ink-3);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { color: var(--ink-2); padding: 0 0 1.5rem; max-width: 66ch; }

/* ---------- inline code (app privacy policies) ---------- */
.prose code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 6px;
  padding: .1em .4em; color: var(--ink);
  overflow-wrap: anywhere;
}

/* ============================================================
   MultiClawed — carousel, CTA band, steps, trailer, privacy
   ============================================================ */

/* ---------- feature carousel ----------
   The track is a scroll-snap row, so it swipes on touch and scrolls with the
   keyboard even if main.js never runs; the arrows and dots are an enhancement
   layered on top, and main.js reveals the controls once it has wired them. */
.carousel { position: relative; }

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: var(--r-lg);
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }

.carousel-track { display: flex; }
.carousel-slide {
  flex: 0 0 100%; min-width: 0;
  scroll-snap-align: center; scroll-snap-stop: always;
}

.carousel-media {
  margin: 0; padding: clamp(.7rem, 1.6vw, 1.3rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 4%, transparent));
}
.carousel-media img {
  width: 100%; height: auto; border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: 0 28px 60px -30px rgba(18,19,46,.5);
}

.carousel-copy {
  max-width: 62ch; margin: clamp(1.5rem, 3vw, 2.2rem) auto 0;
  text-align: center; padding-inline: 1rem;
}
.carousel-copy h3 { color: var(--accent-ink); margin-bottom: .8rem; }
.carousel-copy p { color: var(--ink-2); font-size: 1.04rem; }
.carousel-copy .shot-step { margin-bottom: .9rem; }

.carousel-controls {
  display: none;
  align-items: center; justify-content: center; gap: 1.2rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}
.js .carousel-controls.ready { display: flex; }

.carousel-arrow {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.carousel-arrow:disabled { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: reduce) { .carousel-arrow:hover:not(:disabled) { transform: none; } }

.carousel-dots { display: flex; align-items: center; gap: .55rem; }
.carousel-dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%;
  background: var(--line); cursor: pointer;
  transition: background .18s var(--ease), width .18s var(--ease);
}
.carousel-dot:hover { background: var(--gray); }
.carousel-dot[aria-current="true"] { width: 28px; border-radius: 999px; background: #4338ca; }
@media (prefers-reduced-motion: reduce) { .carousel-dot { transition: none; } }

/* ---------- download CTA band ---------- */
.cta-band { padding-bottom: var(--sp); }
.cta-band-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  background: linear-gradient(135deg, #eef0ff, #eafaf2);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.cta-band-copy { flex: 1 1 22rem; }
.cta-band-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.cta-band-copy p { color: var(--ink-2); font-size: 1.02rem; max-width: 48ch; }
.cta-band .app-icon { border-radius: 18px; }
@media (max-width: 620px) { .cta-band-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- how it works ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.4rem); counter-reset: step;
  list-style: none; margin: 0; padding: 0;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.7rem, 2.6vw, 2.2rem);
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; margin-bottom: 1.2rem;
  font-size: 1.05rem; font-weight: 800;
  color: #0e7a51; background: rgba(47,189,132,.16);
}
.step h3 { font-size: 1.18rem; margin-bottom: .65rem; }
.step p { color: var(--ink-2); font-size: 1rem; }

/* ---------- trailer ---------- */
.trailer {
  margin: 0; padding: clamp(.7rem, 1.6vw, 1.3rem);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(99,91,255,.16), rgba(47,189,132,.06));
}
.trailer video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: var(--r); background: #0b0c11;
  box-shadow: 0 34px 70px -32px rgba(18,19,46,.55);
}

/* ---------- dark band: privacy ---------- */
.privacy-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 820px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-card {
  background: var(--dark-2); border: 1px solid var(--dark-line);
  border-radius: var(--r-lg); padding: clamp(1.8rem, 3.2vw, 2.5rem);
}
.privacy-ico {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; margin-bottom: 1.2rem;
  color: var(--yellow); background: rgba(255,210,63,.14);
}
.privacy-ico svg { width: 24px; height: 24px; }
.privacy-card h3 { margin-bottom: .9rem; }
.privacy-card p { font-size: 1.02rem; }
.privacy-stamp {
  display: inline-block; margin-top: 1.3rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .45rem 1rem; border-radius: 999px;
  color: var(--yellow); background: rgba(255,210,63,.14);
}
/* .dark p sets the muted body colour, so match that specificity for the stamp */
.dark p.privacy-stamp { color: var(--yellow); }

/* ============================================================
   MultiClawed hero — the trailer plays as the hero visual
   ============================================================ */
.mc-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(174deg, #ecefff 0%, #f2f6ff 46%, var(--bg) 100%);
}
.mc-hero > .wrap { position: relative; z-index: 1; }

/* Decoration only, hence aria-hidden on the wrapper: a dot grid that fades out
   before it reaches the copy, and two soft blobs. Kept pale on purpose -- the
   headline, the pill and the chips all sit on top of this and still have to
   clear 4.5:1. The drift stops for prefers-reduced-motion. */
.mc-hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mc-hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at center, rgba(74,57,207,.16) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 58%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 58%);
}
.mc-blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.mc-blob-1 {
  width: 540px; height: 540px; top: -210px; left: -140px;
  background: #7b6bff; opacity: .34;
  animation: mc-drift-a 24s var(--ease) infinite alternate;
}
.mc-blob-2 {
  width: 440px; height: 440px; top: -150px; right: -130px;
  background: #3fd6a4; opacity: .28;
  animation: mc-drift-b 29s var(--ease) infinite alternate;
}
@keyframes mc-drift-a { to { transform: translate3d(70px, 50px, 0) scale(1.12); } }
@keyframes mc-drift-b { to { transform: translate3d(-60px, 60px, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .mc-blob { animation: none; } }

.mc-hero-copy { max-width: 880px; margin-inline: auto; text-align: center; }
.mc-hero-copy .store-row { justify-content: center; margin-top: 2.2rem; }

.mc-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0; padding: .45rem 1rem .45rem .85rem;
  border-radius: 999px; border: 1px solid rgba(74,57,207,.2);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #3a2bb5; font-size: .87rem; font-weight: 700;
}
.mc-pill-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #1f9c6b; box-shadow: 0 0 0 4px rgba(47,189,132,.2);
}

.mc-lockup {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(.8rem, 1.6vw, 1.2rem);
  margin: clamp(1.4rem, 3vw, 2rem) 0 .85rem;
}
.mc-lockup img {
  width: clamp(64px, 7vw, 88px); height: auto; border-radius: 22px;
  box-shadow: 0 20px 42px -16px rgba(79,63,212,.6);
}
.mc-hero h1 {
  margin: 0; font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  letter-spacing: -.035em; line-height: 1;
}

.mc-tag {
  margin: 0 auto; max-width: 34ch; text-wrap: balance;
  font-size: clamp(1.3rem, 2.7vw, 2.05rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.25; color: var(--ink);
}
/* Gradient on the key phrase. Both stops are dark enough for the 3:1 that
   large bold text needs, so it reads even where the gradient is lightest. */
.mc-hl {
  background: linear-gradient(96deg, #4f3ddb 10%, #16855a 92%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.mc-chips {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem .7rem;
}
.mc-chips li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .48rem .95rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.82);
  color: var(--ink-2); font-size: .9rem; font-weight: 600;
}
.mc-chips li::before {
  content: "\2713"; color: #0e7a51; font-weight: 800; font-size: .95rem;
}

/* ---------- the reel ---------- */
.mc-reel { margin: clamp(2rem, 4.5vw, 3.2rem) 0 0; }
.mc-reel-frame {
  position: relative; overflow: hidden;
  border-radius: clamp(18px, 2.4vw, 26px);
  background: var(--dark); border: 1px solid rgba(20,21,46,.16);
  box-shadow: 0 60px 120px -46px rgba(30,30,110,.62), 0 2px 0 rgba(255,255,255,.6);
}
.mc-reel-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .72rem 1.05rem;
  background: var(--dark-2); border-bottom: 1px solid var(--dark-line);
}
.mc-reel-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3b4055; }
.mc-reel-bar span {
  margin-left: .7rem; color: var(--dark-ink2);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
}
.mc-reel video {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; background: var(--dark); object-fit: cover;
}
.mc-reel figcaption {
  margin-top: 1.05rem; text-align: center;
  color: var(--ink-2); font-size: .92rem; font-weight: 500;
}

/* The only control. Sits over the video, so it carries its own contrast. */
.mc-reel-toggle {
  position: absolute; right: .95rem; bottom: .95rem;
  display: inline-flex; align-items: center; gap: .45rem;
  height: 38px; padding: 0 .9rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(11,12,17,.74); color: #fff;
  font-family: inherit; font-size: .82rem; font-weight: 700;
  cursor: pointer; opacity: .55;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.mc-reel:hover .mc-reel-toggle,
.mc-reel-toggle:focus-visible { opacity: 1; }
.mc-reel-toggle:hover { transform: translateY(-1px); }
.mc-reel-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .mc-reel-toggle { opacity: 1; transition: none; }
  .mc-reel-toggle:hover { transform: none; }
}
/* Touch has no hover, so the control would never appear. */
@media (hover: none) { .mc-reel-toggle { opacity: 1; } }
.mc-reel-toggle svg { width: 13px; height: 13px; flex: none; }
.mc-reel-toggle[data-playing="true"]  .ico-play,
.mc-reel-toggle[data-playing="false"] .ico-pause { display: none; }

/* ============================================================
   Software company layout — mega menu, catalogue, shop, support,
   newsroom, search. Everything below is driven by src/data/catalog.mjs
   through src/render.mjs, so these classes are the whole design system
   for product listings.
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.h-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.h4 { font-size: 1.12rem; letter-spacing: -.02em; font-weight: 700; }
.section-tint { background: var(--bg-2); }
.section-head-row { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row .section-head { margin-bottom: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--ink); white-space: nowrap;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .link-arrow:hover svg { transform: none; } }

/* ---------- promo bar ---------- */
.promo-bar {
  background: var(--dark); color: var(--dark-ink);
  font-size: .88rem; text-align: center; padding: .55rem 1rem; line-height: 1.4;
}
.promo-bar strong {
  display: inline-block; margin-right: .5rem; padding: .1rem .5rem; border-radius: 999px;
  background: var(--yellow); color: #101114; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
}
.promo-bar a { color: var(--yellow); font-weight: 700; margin-left: .35rem; white-space: nowrap; }
.promo-bar a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav additions ---------- */
.nav-cta { display: inline-flex; align-items: center; gap: .45rem; }
.nav-cta svg { width: 18px; height: 18px; }
.nav-search {
  display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: border-color .18s var(--ease);
}
.nav-search:hover { border-color: var(--ink); }
.nav-search svg { width: 19px; height: 19px; }
.nav-tools--mobile { display: none; align-items: center; gap: .6rem; }

@media (max-width: 860px) {
  .nav-tools--mobile { display: flex; }
  .nav-search--desk { display: none; }
  /* anchored to the sticky nav rather than the viewport, so it sits below
     the nav whether or not the promo bar is still on screen */
  .nav-menu {
    position: absolute; inset: calc(100% + 8px) 1rem auto 1rem;
    max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain;
  }
  .nav-cta { justify-content: center; }
}

/* ---------- mega menu ---------- */
.mega-icon, .p-icon { border-radius: 24%; flex: none; }
.p-icon-tile {
  display: inline-grid; place-items: center; width: var(--s); height: var(--s);
  background: color-mix(in srgb, var(--accent) 16%, #fff); color: var(--accent-ink);
}
.p-icon-tile svg { width: 56%; height: 56%; }

.mega-tab {
  display: flex; align-items: center; gap: .65rem;
  padding: .62rem .8rem; border-radius: 12px;
  color: var(--ink-2); font-weight: 600; font-size: .95rem;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.mega-tab svg { width: 18px; height: 18px; flex: none; }
.mega-tab.is-active, .mega-tab:hover { background: var(--bg-2); color: var(--ink); }

.mega-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .35rem .6rem .7rem; font-size: .78rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3);
}
.mega-panel-head a { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 700; }
.mega-panel-head a svg { width: 15px; height: 15px; }
.mega-list { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.mega-link {
  display: flex; align-items: center; gap: .8rem;
  padding: .65rem .6rem; border-radius: 12px;
  transition: background .15s var(--ease);
}
a.mega-link:hover, a.mega-link:focus-visible { background: var(--bg-2); }
.mega-link.is-static { cursor: default; }
.mega-copy strong { display: flex; align-items: center; gap: .45rem; font-size: .95rem; font-weight: 700; color: var(--ink); }
.mega-copy small { display: block; margin-top: .1rem; font-size: .82rem; color: var(--ink-3); font-weight: 500; line-height: 1.35; }
.mega-copy em {
  font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .15rem .45rem; border-radius: 999px; background: #fff3c4; color: #6b4f00;
}
.mega-copy em.is-new { background: #c2185b; color: #fff; }

.mega-promo {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--accent) 9%, #fff);
}
.mega-promo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.mega-promo-copy { display: grid; gap: .25rem; padding: .9rem 1rem 1.05rem; }
.mega-promo-copy em {
  justify-self: start; font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px; background: #c2185b; color: #fff;
}
.mega-promo-copy strong { font-size: 1.05rem; color: var(--ink); }
.mega-promo-copy small { font-size: .86rem; color: var(--ink-2); }
.mega-promo-cta { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; font-weight: 700; font-size: .88rem; color: var(--accent-ink); }
.mega-promo-cta svg { width: 15px; height: 15px; }

@media (min-width: 861px) {
  /* the panel spans the nav, not the button, so it positions against .nav */
  .nav-item--mega { position: static; }
  /* The generic bridge below .nav-item would, on a static item, span the
     whole nav and open the menu from anywhere under the header. Bridge from
     the button instead: just its width, down past the bottom of the nav and
     into the panel, so the pointer never crosses a gap on the way. */
  .nav-item--mega::after { content: none; }
  .nav-item--mega .nav-sub-btn { position: relative; }
  .nav-item--mega .nav-sub-btn::after {
    content: ""; position: absolute; left: -14px; right: -14px; top: 100%; height: 34px;
  }
  .nav-mega {
    left: 50%; top: calc(100% + 1px);
    width: min(1120px, calc(100vw - 2rem)); padding: 1rem;
    translate: -50% 0;
  }
  .mega { display: grid; grid-template-columns: 210px minmax(0, 1fr) 260px; gap: 1rem; }
  .mega-tabs { display: grid; align-content: start; gap: .15rem; padding-right: .9rem; border-right: 1px solid var(--line); }
  .mega-panel { display: none; }
  .mega-panel.is-active { display: block; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .mega { grid-template-columns: 190px minmax(0, 1fr); }
  .mega-promo { display: none; }
}
@media (max-width: 860px) {
  /* every category is shown, stacked: touch has no hover to switch tabs */
  .mega-tabs, .mega-promo, .mega-panel[data-mega-panel="featured"] { display: none; }
  .mega-panel { padding-top: .6rem; }
  .mega-panel-head { padding: .4rem .2rem .3rem; }
  .mega-list { grid-template-columns: 1fr; }
  .mega-link { padding: .55rem .2rem; }
}

/* ---------- search ---------- */
.search-box {
  display: flex; align-items: center; gap: .6rem;
  padding: .35rem .4rem .35rem 1rem;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px;
  transition: border-color .18s var(--ease);
}
.search-box:focus-within { border-color: var(--ink); }
.search-box > svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); }
.search-box input {
  flex: 1; min-width: 0; border: 0; background: none; outline: none;
  font: inherit; font-size: 1.05rem; color: var(--ink); padding: .6rem 0;
}
.search-box input::-webkit-search-cancel-button { cursor: pointer; }
.search-box--page { margin-top: 1.8rem; max-width: 640px; border-radius: 999px; padding-left: 1.2rem; }
.search-box--page .btn { padding: .75rem 1.4rem; }
.search-close {
  font: inherit; font-size: .75rem; font-weight: 700; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--bg-2); border-radius: 8px; padding: .35rem .55rem; cursor: pointer;
}

.search-dialog {
  width: min(680px, calc(100vw - 2rem)); max-height: 80vh;
  margin: 9vh auto auto; padding: .8rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(11,12,17,.55);
}
.search-dialog::backdrop { background: rgba(11,12,17,.45); backdrop-filter: blur(4px); }
.search-dialog .search-results { max-height: calc(80vh - 90px); overflow-y: auto; margin-top: .5rem; }
.search-hint { color: var(--ink-2); padding: .9rem .6rem; font-size: .96rem; }
.search-hint a { color: var(--pink-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.search-list { display: grid; gap: .15rem; }
.search-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .7rem .7rem; border-radius: 12px;
  transition: background .15s var(--ease);
}
.search-item:hover, .search-item:focus-visible { background: var(--bg-2); }
.search-item img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.search-kind-dot {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 9px; background: var(--bg-2); color: var(--ink-2); font-weight: 800; font-size: .9rem;
}
.search-copy { flex: 1; min-width: 0; }
.search-copy strong { display: block; font-size: .98rem; color: var(--ink); }
.search-copy small {
  display: block; font-size: .84rem; color: var(--ink-2); line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.search-item em {
  font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-2); flex: none;
}
.search-results--page .search-item { padding: .9rem .8rem; }
.search-results--page .search-copy small { white-space: normal; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.chip svg { width: 16px; height: 16px; flex: none; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- home hero ---------- */
.hero--store { min-height: 0; display: block; padding-bottom: 0; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.6rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line);
  font-size: .86rem; font-weight: 700; color: var(--ink-2);
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.hero--store h1 { text-shadow: none; }
.hero--store .lede { text-shadow: none; font-weight: 500; color: var(--ink-2); }
.hero-cats { margin-top: 2.2rem; }
.hero-cats .chips { justify-content: center; }
.hero-cats .chip { background: rgba(255,255,255,.85); }


/* ---------- featured product blocks (home) ---------- */
.features { display: grid; gap: clamp(4rem, 9vw, 7rem); }
.feature {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.feature:nth-child(even) .feature-media { order: 2; }
@media (max-width: 940px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .feature:nth-child(even) .feature-media { order: 0; }
}
.feature-media {
  margin: 0; padding: clamp(.7rem, 1.6vw, 1.2rem);
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent) 4%, transparent));
}
.feature-media img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 30px 60px -32px rgba(18,19,46,.5); }
.feature-copy .eyebrow { margin-bottom: 1.2rem; }
.feature-title { display: flex; align-items: center; gap: 1rem; }
.feature-icon { border-radius: 16px; flex: none; box-shadow: 0 14px 30px -14px rgba(18,19,46,.5); }
.feature-title h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.feature-title h2 a:hover { color: var(--accent-ink); }
.feature-tag { margin: .9rem 0 .7rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; color: var(--accent-ink); }
.feature-summary { color: var(--ink-2); font-size: 1.04rem; margin-bottom: 1.3rem; }
.feature-copy .store-row { margin-top: 1.6rem; }
.feature-meta { margin-top: 1.1rem; color: var(--ink-3); font-size: .92rem; font-weight: 500; }
.feature-meta a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ticks { display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--ink); font-size: 1rem; font-weight: 500; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; color: var(--accent-ink); }
.ticks--sm li { font-size: .93rem; color: var(--ink-2); }
.ticks--sm svg { width: 17px; height: 17px; }

/* ---------- category tiles ---------- */
.cat-ico {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 15%, #fff);
}
.cat-ico svg { width: 24px; height: 24px; }
.cat-ico--lg { width: 72px; height: 72px; border-radius: 20px; }
.cat-ico--lg svg { width: 34px; height: 34px; }

.cat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 900px) { .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-tiles { grid-template-columns: 1fr; } }
.cat-tiles li:nth-child(3n+1) { --accent: var(--blue); --accent-ink: var(--blue-ink); }
.cat-tiles li:nth-child(3n+2) { --accent: var(--pink); --accent-ink: var(--pink-ink); }
.cat-tiles li:nth-child(3n)   { --accent: var(--yellow); --accent-ink: var(--yellow-ink); }
.cat-tile {
  display: flex; flex-direction: column; gap: .5rem; height: 100%;
  padding: 1.5rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.cat-tile:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px -28px rgba(18,19,46,.45); }
@media (prefers-reduced-motion: reduce) { .cat-tile:hover { transform: none; } }
.cat-tile .cat-ico { margin-bottom: .5rem; }
.cat-tile strong { font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.cat-tile-blurb { color: var(--ink-2); font-size: .96rem; flex: 1; }
.cat-tile-count { color: var(--ink-3); font-size: .85rem; font-weight: 700; }

/* ---------- coming soon rows ---------- */
.soon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 820px) { .soon-list { grid-template-columns: 1fr; } }
.soon-item {
  display: flex; align-items: center; gap: 1rem; height: 100%;
  padding: .9rem 1.1rem; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
a.soon-item:hover { border-color: var(--ink); }
.soon-copy { flex: 1; min-width: 0; }
.soon-copy strong { display: block; font-size: 1.02rem; color: var(--ink); }
.soon-copy small { display: block; font-size: .88rem; color: var(--ink-2); }
.soon-meta { flex: none; font-size: .8rem; font-weight: 700; color: var(--ink-3); text-align: right; max-width: 11rem; }
@media (max-width: 480px) { .soon-meta { display: none; } }

/* ---------- product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.1rem, 2.2vw, 1.6rem); }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pgrid { grid-template-columns: 1fr; } }

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.pcard:has(.pcard-name a):hover { transform: translateY(-5px); box-shadow: 0 28px 56px -30px rgba(18,19,46,.5); }
@media (prefers-reduced-motion: reduce) { .pcard:has(.pcard-name a):hover { transform: none; } }
/* the whole card is the link target, through the name's link */
.pcard-name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pcard-name a:focus-visible { outline: none; }
.pcard:has(.pcard-name a:focus-visible) { outline: 3px solid var(--pink); outline-offset: 3px; }

.pcard-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}
.pcard-media > img { width: 100%; height: 100%; object-fit: cover; }
.pcard-media .badge { position: absolute; top: .8rem; left: .8rem; }
.pcard-art {
  display: grid; place-items: center; width: 100%; height: 100%;
  background:
    radial-gradient(60% 80% at 30% 20%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, #fff), color-mix(in srgb, var(--accent) 6%, #fff));
}
.pcard-art-icon { width: 34%; height: auto; border-radius: 24%; box-shadow: 0 24px 40px -20px rgba(18,19,46,.55); }
.pcard-art-cat { width: 30%; height: auto; color: var(--accent-ink); opacity: .9; }

.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.35rem 1.25rem; }
.pcard-head { display: flex; align-items: center; gap: .85rem; }
.pcard-name { font-size: 1.16rem; letter-spacing: -.02em; }
.pcard-meta { margin-top: .15rem; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.pcard-tag { margin: .85rem 0 1.1rem; color: var(--ink-2); font-size: .97rem; flex: 1; }
.pcard-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: .85rem; border-top: 1px solid var(--line);
  font-size: .86rem; font-weight: 600; color: var(--ink-3);
}
.pcard-more { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent-ink); font-weight: 700; white-space: nowrap; }
.pcard-more svg { width: 16px; height: 16px; }

.badge {
  display: inline-flex; align-items: center; padding: .28rem .62rem; border-radius: 999px;
  font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.badge-new { background: #c2185b; color: #fff; }
.badge-soon { background: #fff3c4; color: #6b4f00; box-shadow: inset 0 0 0 1px rgba(107,79,0,.14); }

/* ---------- page heroes ---------- */
.page-hero {
  position: relative; margin-top: -76px;
  padding: calc(76px + clamp(2.2rem, 5vw, 4rem)) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(176deg, #f3f1ff 0%, #f8f8fc 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.page-hero .lede { margin-top: 1rem; }
.page-hero .chips { margin-top: 1.8rem; }
.page-hero-row { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.6rem); }
.page-hero-row .lede { margin-top: .7rem; }
@media (max-width: 560px) { .page-hero-row { flex-direction: column; align-items: flex-start; } }
.page-hero--games { background: linear-gradient(176deg, #ffe9f1 0%, #fff6f9 55%, var(--bg) 100%); }
.page-hero--support { background: linear-gradient(176deg, #e6f3fd 0%, #f4f9fe 55%, var(--bg) 100%); }
.page-hero--games .cat-ico { --accent: var(--pink); --accent-ink: var(--pink-ink); }

/* ---------- /products ---------- */
.cat-blocks { display: grid; gap: clamp(3.5rem, 7vw, 5.5rem); }
.cat-block { scroll-margin-top: 100px; }
.cat-block:nth-child(3n+1) { --accent: var(--blue); --accent-ink: var(--blue-ink); }
.cat-block:nth-child(3n+2) { --accent: var(--pink); --accent-ink: var(--pink-ink); }
.cat-block:nth-child(3n)   { --accent: var(--yellow); --accent-ink: var(--yellow-ink); }
.cat-block-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: 1rem 1.2rem; margin-bottom: 1.6rem;
}
.cat-block-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); letter-spacing: -.03em; }
.cat-block-head p { color: var(--ink-2); margin-top: .3rem; }
@media (max-width: 640px) {
  .cat-block-head { grid-template-columns: auto minmax(0, 1fr); }
  .cat-block-head .link-arrow { grid-column: 1 / -1; }
}

/* ---------- product pages (generated) ---------- */
.pp-hero .app-hero-tag { color: var(--accent-ink); }
.pp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.app-hero-shot--wide { justify-self: stretch; }
.app-hero-shot--wide img {
  width: 100%; height: auto; border-radius: var(--r-lg);
  box-shadow: 0 48px 90px -36px rgba(40,30,120,.5);
}
.pp-icon-stage {
  display: grid; place-items: center; aspect-ratio: 1; width: min(420px, 80vw);
  border-radius: var(--r-xl);
  background:
    radial-gradient(70% 70% at 30% 25%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 16%, #fff), #fff);
  border: 1px solid var(--line);
}
.pp-icon-stage img { width: 62%; height: auto; filter: drop-shadow(0 30px 40px rgba(18,19,46,.3)); }
.pp-about { max-width: 70ch; }
.pp-about p { color: var(--ink-2); font-size: 1.12rem; margin-bottom: 1.1rem; }
.pp-about .eyebrow { margin-bottom: 1.4rem; }
.pp-note { padding-left: 1rem; border-left: 3px solid var(--line); font-size: .98rem !important; }
.related .head-row { margin-bottom: 1.6rem; }

/* ---------- games spotlight ---------- */
.game-spotlight {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  --accent: var(--yellow); --accent-ink: var(--yellow-ink);
}
@media (max-width: 940px) { .game-spotlight { grid-template-columns: 1fr; } }
.game-spotlight-media img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 34px 70px -34px rgba(18,19,46,.6); }
.game-spotlight-copy h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.game-spotlight-copy > p { color: var(--ink-2); margin-bottom: 1.3rem; }
.game-spotlight-copy .store-row { margin-top: 1.6rem; }

/* ---------- shop ----------
   A store pricing page: a grey banner, filters down the left, two cards to a
   row, then the four promises and the small print. */
.shop-top { padding: clamp(1.4rem, 3vw, 2.2rem) 0 0; }
.shop-banner {
  text-align: center; border-radius: var(--r-lg);
  background: var(--bg-2); padding: clamp(2.6rem, 6vw, 4.4rem) 1.5rem;
}
.shop-banner h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.shop-banner p { margin: .9rem auto 0; color: var(--ink-2); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 48ch; }

.shop-body { padding: clamp(2.4rem, 5vw, 3.6rem) 0 var(--sp); }
.shop-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.6rem); align-items: start; }
.shop-layout:has(> .shop-side[hidden]) { grid-template-columns: minmax(0, 1fr); }
.shop-side[hidden] { display: none; }
.shop-side { position: sticky; top: 100px; display: grid; gap: 2.2rem; }
.shop-side-h { font-size: .84rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin: 0 0 .7rem .9rem; }
.shop-side ul { display: grid; gap: .2rem; }
.shop-opt {
  width: 100%; text-align: left; font: inherit; font-size: .98rem; font-weight: 700; color: var(--ink);
  padding: .62rem .9rem; border: 0; border-radius: 10px; background: none; cursor: pointer;
  transition: background .16s var(--ease);
}
.shop-opt:hover { background: var(--bg-2); }
.shop-opt.is-active { background: #ececf2; }
.shop-opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

.shop-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.025em; margin-bottom: 1.4rem; }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.shop-card[hidden] { display: none; }
/* No outline on a regular card -- a white panel lifted by a soft shadow.
   Featured apps alone get an edge: a thin accent ring and a flag. */
.shop-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.6rem 1.6rem 1.4rem; border-radius: var(--r);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(18,19,46,.06), 0 10px 30px -14px rgba(18,19,46,.22);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.shop-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(18,19,46,.06), 0 24px 50px -24px rgba(18,19,46,.4); }
@media (prefers-reduced-motion: reduce) { .shop-card:hover { transform: none; } }
.shop-card.is-featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 25%, #fff) 70%) border-box;
}
.shop-flag {
  position: absolute; top: -.7rem; right: 1.3rem;
  padding: .2rem .65rem; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.shop-lockup { display: flex; align-items: center; gap: .75rem; }
.shop-lockup .p-icon { border-radius: 11px; }
.shop-lockup h3 { font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.05; }
.shop-lockup h3 small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-bottom: .1rem; }
.shop-lockup h3 a:hover { color: var(--accent-ink); }
.shop-desc { margin: 1rem 0 0; color: var(--ink-2); font-size: .95rem; min-height: 3em; }
.shop-price { margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem; }
.shop-price strong { font-size: 1.85rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink); line-height: 1.1; }
.shop-price span { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.shop-price.is-soon strong { font-size: 1.4rem; color: var(--ink-2); }
.shop-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.shop-card .works-on { margin-top: auto; padding-top: 1.1rem; }
.shop-empty { color: var(--ink-2); padding: 2rem 0; }
.shop-empty a { text-decoration: underline; text-underline-offset: 3px; }
.buy-btn { padding: .8rem 1.4rem; }
.buy-btn svg { width: 18px; height: 18px; }

@media (max-width: 1000px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); }
  /* the filters become two rows of chips above the grid */
  .shop-side { position: static; gap: 1rem; }
  .shop-side-group { display: flex; align-items: center; gap: .6rem; overflow-x: auto; scrollbar-width: none; }
  .shop-side-group::-webkit-scrollbar { display: none; }
  .shop-side-h { margin: 0; flex: none; min-width: 5.6rem; }
  .shop-side ul { display: flex; gap: .4rem; }
  .shop-opt { white-space: nowrap; padding: .5rem .9rem; border-radius: 999px; background: var(--bg-2); font-size: .92rem; }
  .shop-opt.is-active { background: var(--ink); color: #fff; }
}
@media (max-width: 700px) { .shop-grid { grid-template-columns: minmax(0, 1fr); } }

.shop-trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem;
  padding: clamp(2rem, 4vw, 2.8rem); border-radius: var(--r-lg); background: var(--bg-2);
}
.shop-trust svg { width: 34px; height: 34px; color: var(--ink); margin-bottom: .9rem; }
.shop-trust h3 { font-size: 1.1rem; letter-spacing: -.015em; margin-bottom: .45rem; }
.shop-trust p { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 900px) { .shop-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .shop-trust { grid-template-columns: minmax(0, 1fr); } }

.shop-notes { margin-top: clamp(2rem, 4vw, 2.8rem); color: var(--ink-2); font-size: .9rem; }
.shop-notes h2 { font-size: .95rem; letter-spacing: 0; color: var(--ink); margin-bottom: .6rem; }
.shop-notes ol { padding-left: 1.2rem; display: grid; gap: .35rem; margin: 0; }
.shop-notes a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- support ---------- */
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.help-card { padding: 1.4rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.help-card-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .7rem; }
.help-card-head h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.help-card > p { color: var(--ink-2); font-size: .95rem; }
.help-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; }
.help-links a { color: var(--pink-ink); font-weight: 700; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }

.community { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.community-card { padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; gap: .6rem; }
.community-card h3 { font-size: 1.2rem; }
.community-card p { color: var(--ink-2); font-size: .96rem; }
.community-card .link-arrow { word-break: break-all; white-space: normal; }

.contact-grid--flush { margin-top: 0; }
.contact-aside .eyebrow { margin-bottom: 1.2rem; }

.help-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem); border-radius: var(--r-xl);
  background: linear-gradient(120deg, #fff6dc, #ffeef4 55%, #e9f5fe);
  border: 1px solid var(--line);
}
.help-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .5rem; }
.help-band p { color: var(--ink-2); max-width: 52ch; }
.help-band p a { color: var(--pink-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.help-band-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { color: var(--ink-2); font-size: 1.06rem; margin-bottom: 1rem; }
.partner .h4 { margin-bottom: .6rem; color: var(--dark-ink); }

/* ---------- newsroom ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; }
.post-card-media { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; }
.post-card-media img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; transition: transform .35s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .post-card:hover .post-card-media img { transform: none; } }
.post-card-meta { display: flex; align-items: center; gap: .7rem; font-size: .84rem; font-weight: 600; color: var(--ink-3); margin-bottom: .55rem; }
.post-card-meta span, .post-tag {
  padding: .2rem .6rem; border-radius: 999px; background: #e6f3fd; color: var(--blue-ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.post-card h2, .post-card h3 { font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.25; margin-bottom: .5rem; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--pink-ink); }
.post-card > p { color: var(--ink-2); font-size: .95rem; }

.post-head { padding: clamp(2.2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.2rem); }
.post-meta { display: flex; align-items: center; gap: .7rem; color: var(--ink-3); font-size: .92rem; font-weight: 600; margin-bottom: 1rem; }
.post-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 1rem; }
.post-figure { margin: 0 auto clamp(2rem, 4vw, 3rem); }
.post-figure img { width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.post-body { padding-bottom: clamp(2rem, 4vw, 3rem); }
.post-body h2:first-child { margin-top: 0; }
.post-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-bottom: var(--sp); padding: 1.2rem 1.4rem;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2);
}
.post-cta img { border-radius: 14px; }
.post-cta div { flex: 1; min-width: 12rem; }
.post-cta strong { display: block; font-size: 1.08rem; }
.post-cta span { color: var(--ink-2); font-size: .94rem; }


/* ============================================================
   Header: Download menu + Buy Now
   ============================================================ */
.nav-dl { gap: .4rem; }
.nav-dl-ico { width: 17px; height: 17px; flex: none; }
.nav-cta { display: inline-flex; align-items: center; gap: .45rem; }
.nav-cta svg { width: 17px; height: 17px; flex: none; }
.dl-head { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: .7rem .9rem .3rem; }
.dl-all { display: flex; align-items: center; gap: .4rem; margin: .3rem .9rem .6rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--ink); }
.dl-all svg { width: 16px; height: 16px; }
.dl-all:hover { color: var(--pink-ink); }
@media (min-width: 861px) {
  .nav-sub--dl { left: auto; right: -.4rem; width: 330px; }
  .nav-item--dl .nav-sub-btn {
    color: var(--ink); padding: .62rem 1rem; border-radius: 999px;
    box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .18s var(--ease);
  }
  .nav-item--dl .nav-sub-btn:hover,
  .nav-item--dl .nav-sub-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
}
/* a tight desktop: drop the words, keep the icons */
@media (min-width: 861px) and (max-width: 1120px) {
  .nav-menu { gap: .85rem; font-size: .93rem; }
  .nav-item--dl .nav-sub-btn { padding: .62rem .75rem; font-size: 0; gap: .25rem; }
  .nav-item--dl .nav-sub-btn .chev { display: none; }
  .nav-cta { padding: .7rem 1.05rem !important; }
}
@media (max-width: 860px) {
  .nav-dl-ico { display: none; }
  .nav-cta { justify-content: center; }
}

/* ============================================================
   Product pages: product bar, centred dark hero, feature rows,
   pricing, closing band
   ============================================================ */
.btn-sm { padding: .62rem 1.15rem; font-size: .9rem; border-width: 1.5px; gap: .45rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm svg { width: 16px; height: 16px; }
.btn-soon { cursor: default; opacity: .85; }
.btn-soon:hover { transform: none; }

/* ---------- product bar ----------
   A product page has no site header: this bar is its header, as on a
   software maker's product site -- OGStudio, the product, its sections, and
   the two buttons. */
.pbar {
  position: sticky; top: 0; z-index: 190;
  background: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.pbar-inner { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); height: 64px; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.pbar-og { flex: none; }
.pbar-brand {
  display: inline-flex; align-items: center; gap: .6rem; flex: none;
  padding-left: clamp(.8rem, 2vw, 1.4rem); border-left: 1px solid var(--line);
  font-weight: 800; font-size: 1.02rem; letter-spacing: -.02em;
}
.pbar-icon { width: 32px; height: 32px; border-radius: 8px; }
.pbar-links {
  display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.5rem);
  padding-left: clamp(.8rem, 2vw, 1.6rem); border-left: 1px solid var(--line);
  font-size: .93rem; font-weight: 600; min-width: 0;
}
.pbar-links > a { color: var(--ink-2); white-space: nowrap; transition: color .18s var(--ease); }
.pbar-links > a:hover { color: var(--ink); }
.pbar-links .nav-sub-btn { font-size: .93rem; }
.pbar-links .nav-sub { top: calc(100% + 14px); }
.pbar-cta { display: flex; align-items: center; gap: .55rem; margin-left: auto; flex: none; }
@media (min-width: 861px) and (max-width: 1100px) { .pbar-links > a:nth-last-child(-n+1) { display: none; } }
/* phones: OGStudio, the product and the buttons on top; the section links
   scroll sideways underneath */
@media (max-width: 860px) {
  .pbar-inner { flex-wrap: wrap; height: auto; padding-block: .6rem 0; column-gap: .7rem; row-gap: .2rem; }
  .pbar-brand { padding-left: .7rem; border-left: 1px solid var(--line); }
  .pbar-links {
    order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none;
    border-left: 0; padding: .55rem 0 .7rem; gap: 1.2rem;
  }
  .pbar-links::-webkit-scrollbar { display: none; }
  .pbar-links .nav-item { display: none; }
  .pbar-links > a { display: inline; }
  .pbar-get span, .pbar-cta .btn-pink span { display: none; }
  .pbar-cta .btn { padding-inline: .7rem; }
}
@media (max-width: 560px) { .pbar-name { display: none; } }

/* ---------- centred dark hero ---------- */
.ph {
  --ph-glow: var(--accent);
  position: relative; overflow: hidden; text-align: center;
  margin: 0 clamp(.75rem, 2vw, 1.5rem); border-radius: 0 0 var(--r-xl) var(--r-xl);
  background:
    radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--ph-glow) 42%, transparent), transparent 70%),
    radial-gradient(40% 40% at 90% 85%, color-mix(in srgb, var(--pink) 18%, transparent), transparent 70%),
    var(--dark);
  color: var(--dark-ink);
  padding: clamp(1.6rem, 3vw, 2.2rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.ph .crumbs { justify-content: center; color: var(--dark-ink2); }
.ph .crumbs a:hover { color: #fff; }
.ph-copy { max-width: 900px; margin: clamp(1.4rem, 4vw, 2.6rem) auto 0; }
.ph-kicker { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; justify-content: center; font-size: .9rem; font-weight: 600; color: var(--dark-ink2); margin-bottom: 1.4rem; }
.ph-kicker > span:last-child { padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.ph-lockup { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 2vw, 1.2rem); flex-wrap: wrap; }
.ph-lockup img { width: clamp(56px, 7vw, 76px); height: auto; border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); }
.ph h1 { color: #fff; font-size: clamp(2.7rem, 7vw, 5.4rem); }
.ph-sub { margin: 1rem 0 0; font-size: clamp(1.35rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: #fff; }
.ph-lede { margin: 1rem auto 0; max-width: 58ch; color: var(--dark-ink2); font-size: clamp(1rem, 1.4vw, 1.14rem); }
.ph-media { margin: clamp(2.4rem, 5vw, 3.6rem) auto 0; max-width: 1040px; }
.ph-media > img { width: 100%; height: auto; border-radius: clamp(14px, 2vw, 22px); box-shadow: 0 50px 110px -40px rgba(0,0,0,.85); }
.ph-media--icon > img { width: min(260px, 60%); margin-inline: auto; box-shadow: none; border-radius: 22%; }
.ph-media .mc-reel { margin: 0; }
.ph-media .mc-reel-frame { border-color: var(--dark-line); box-shadow: 0 50px 110px -40px rgba(0,0,0,.9); }
.ph-media .mc-reel figcaption { color: var(--dark-ink2); }
.ph .badge-soon { box-shadow: none; }

.cta-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.cta-note { margin: .95rem 0 0; font-size: .9rem; font-weight: 600; color: var(--dark-ink2); }
.mid-cta { text-align: center; margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.mid-cta .cta-pair { margin-top: 0; }
.mid-cta .cta-note { color: var(--ink-2); }
@media (max-width: 520px) { .cta-pair .btn { width: 100%; } }

/* ---------- at a glance ---------- */
.facts { padding: clamp(2.2rem, 4vw, 3rem) 0 0; }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; text-align: center; }
.facts-list li { padding: 1.2rem .8rem; border-radius: var(--r); background: var(--bg-2); }
.facts-list strong { display: block; font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 800; letter-spacing: -.03em; }
.facts-list span { display: block; margin-top: .2rem; font-size: .88rem; color: var(--ink-2); }
@media (max-width: 760px) { .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.section-head--center { margin-inline: auto; text-align: center; max-width: 46ch; }
.section-head--center p { margin-inline: auto; }

/* ---------- feature rows ---------- */
.frows { display: grid; gap: clamp(3.5rem, 8vw, 6.5rem); }
.frow { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; scroll-margin-top: 90px; }
.frow:nth-child(even) .frow-copy { order: 2; }
.frow-label { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.frow h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: .7rem 0 1rem; }
.frow-copy > p:not(.frow-label) { color: var(--ink-2); font-size: 1.04rem; }
.frow-copy .pills { margin-top: 1.2rem; }
.frow-copy .link-arrow { margin-top: 1.4rem; }
.frow-media {
  margin: 0; padding: clamp(.8rem, 2vw, 1.4rem); border-radius: var(--r-lg);
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, #fff), var(--bg-2) 70%);
}
.frow-media img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 30px 60px -34px rgba(18,19,46,.55); }
.frow-media--tall { display: grid; place-items: center; }
.frow-media--tall img { width: auto; max-height: 540px; max-width: 100%; }
@media (max-width: 900px) {
  .frow { grid-template-columns: minmax(0, 1fr); }
  .frow:nth-child(even) .frow-copy { order: 0; }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; max-width: 900px; margin-inline: auto; align-items: stretch; }
.plans--one { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(18,19,46,.06), 0 14px 40px -20px rgba(18,19,46,.28);
}
.plan.is-best {
  border: 1.5px solid transparent;
  background:
    linear-gradient(170deg, color-mix(in srgb, var(--accent) 7%, #fff), #fff 50%) padding-box,
    linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 30%, #fff) 75%) border-box;
}
.plan-flag {
  position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%);
  padding: .25rem .8rem; border-radius: 999px; white-space: nowrap;
  background: var(--ink); color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
.plan h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; margin: 1rem 0 .4rem; }
.plan-price strong { font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price span { color: var(--ink-2); font-size: .92rem; font-weight: 600; }
.plan-blurb { color: var(--ink-2); font-size: .96rem; margin-bottom: 1.3rem; }
.plan .ticks { margin-bottom: 1.6rem; }
.plan .btn { margin-top: auto; }
.plan-foot { margin-top: .8rem; text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
@media (max-width: 720px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- works on ---------- */
.works-on { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.works-on--center { justify-content: center; margin-top: 2rem; }
.os { display: inline-flex; align-items: center; gap: .2rem; color: var(--ink); }
.os-ico { width: 17px; height: 17px; }
.os.is-soon { color: var(--ink-2); }
.os.is-soon .os-ico { opacity: .55; }
.os-soon { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- closing band ---------- */
.final-cta { padding: 0 0 var(--sp); }
.final-cta-inner {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.4rem, 4vw, 3rem);
  border-radius: var(--r-xl); color: var(--dark-ink);
  background:
    radial-gradient(55% 60% at 50% 0%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%),
    var(--dark);
}
.final-cta-icon { width: 80px; height: 80px; margin: 0 auto 1.2rem; border-radius: 20px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7); }
.final-cta-inner .p-icon-tile { margin: 0 auto 1.2rem; }
.final-cta h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.final-cta-tag { margin: .7rem 0 0; color: var(--dark-ink2); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; }
@media (max-width: 860px) { .pbar .soon-where { display: none; } }
/* a long product name gives way to the buttons on a phone */
@media (max-width: 860px) {
  .pbar-brand { flex: 0 1 auto; min-width: 0; }
  .pbar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pbar-icon { flex: none; }
}

/* ---------- header accents ---------- */
@media (min-width: 861px) {
  .nav-item--products .nav-sub-btn {
    color: var(--pink-ink); padding: .5rem .9rem; border-radius: 999px;
    background: color-mix(in srgb, var(--pink) 10%, transparent);
  }
  .nav-item--products .nav-sub-btn:hover,
  .nav-item--products .nav-sub-btn[aria-expanded="true"] { color: var(--pink-ink); background: color-mix(in srgb, var(--pink) 17%, transparent); }
}
@media (max-width: 860px) { .nav-item--products .nav-sub-btn { color: var(--pink-ink); } }
.nav-cta { background: var(--pink-dk); box-shadow: 0 10px 24px -12px rgba(216,27,96,.85); }
.nav-cta:hover { background: var(--pink-ink); box-shadow: 0 14px 30px -12px rgba(216,27,96,1); }

/* the home hero, now without the screenshot strip under it */
.hero--store { padding-bottom: var(--sp); }

/* Free / buy: blue to download, pink to buy -- the same pair everywhere */
.btn-blue { background: var(--blue-ink); color: #fff; box-shadow: 0 12px 28px -14px rgba(10,99,166,.9); }
.btn-blue:hover { background: #08528a; box-shadow: 0 16px 34px -14px rgba(10,99,166,1); }
.btn-sm.btn-pink, .btn-sm.btn-blue { box-shadow: none; }
.ph-media--icon .ph-tile { margin-inline: auto; border-radius: 26%; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
@media (max-width: 860px) { .pbar-brand { min-width: calc(32px + .7rem + 1px); } }
@media (max-width: 400px) {
  .pbar-inner { padding-inline: 1rem; }
  .pbar-cta .btn-soon svg { display: none; }
}
/* Home showcase: each featured app is a full-width band in its own light
   colour, edge to edge, no rounding. Pictures share one 16:10 frame so the
   bands match whichever screenshot they carry. */
.fband {
  --panel: var(--bg-2);
  padding: var(--sp) 0;
  background: linear-gradient(170deg, var(--panel), color-mix(in srgb, var(--panel) 55%, #fff));
}
.fband .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fband--flip .feature-media { order: 2; }
.fband .feature-media {
  aspect-ratio: 16 / 10; overflow: hidden; padding: 0;
  border: 0; border-radius: var(--r-lg); background: #fff;
  box-shadow: 0 40px 80px -40px rgba(18,19,46,.45), 0 0 0 1px rgba(18,19,46,.06);
}
.fband .feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 0; box-shadow: none; }
.fband .feature-meta { color: var(--ink-2); }
@media (max-width: 940px) {
  .fband .feature { grid-template-columns: minmax(0, 1fr); }
  .fband--flip .feature-media { order: 0; }
}

/* one-time purchase, said loudly */
.once {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .3rem .6rem;
  margin-top: 1.5rem; padding: .55rem 1rem .55rem .65rem; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 2px var(--pink-dk), 0 10px 24px -14px rgba(216,27,96,.6);
}
.once svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--pink-dk); color: #fff; flex: none; stroke-width: 2.6; }
.once strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; color: var(--pink-ink); text-transform: uppercase; }
.once span { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.feature-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
@media (max-width: 420px) { .feature-actions .btn { flex: 1 1 100%; } }

/* ---------- pay once (home) ---------- */
.payonce { padding: var(--sp) 0; }
.payonce-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 900px) { .payonce-grid { grid-template-columns: minmax(0, 1fr); } }
.payonce h2 { margin-bottom: 1.1rem; }
.payonce-lede { color: var(--ink-2); font-size: clamp(1.04rem, 1.4vw, 1.15rem); max-width: 52ch; }
.payonce-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
@media (max-width: 560px) { .payonce-points { grid-template-columns: minmax(0, 1fr); } }
.payonce-points li { padding-top: .9rem; border-top: 3px solid var(--pink-dk); }
.payonce-points strong { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.payonce-points span { display: block; margin-top: .25rem; font-size: .92rem; color: var(--ink-2); }

.bills { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
@media (max-width: 480px) { .bills { grid-template-columns: minmax(0, 1fr); } }
.bill { display: flex; flex-direction: column; padding: 1.4rem; border-radius: var(--r-lg); }
.bill-head { font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.bill-foot { margin-top: auto; padding-top: 1rem; font-size: .88rem; font-weight: 600; }
.bill--sub { background: var(--bg-2); color: var(--ink-2); }
.bill--sub .bill-head { color: var(--ink-2); }
.bill-months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin-top: 1rem; }
.bill-months li {
  position: relative; padding: .5rem 0 .45rem; border-radius: 10px; text-align: center;
  background: #fff; font-size: .8rem; font-weight: 700; color: var(--ink-2);
}
.bill-months li::after { content: "−$"; display: block; font-size: .72rem; color: #b42318; }
.bill--once {
  justify-content: center; text-align: center; color: #fff;
  background: radial-gradient(90% 70% at 50% 0%, #ff6f9f, transparent 70%), var(--pink-dk);
  box-shadow: 0 30px 60px -30px rgba(216,27,96,.8);
}
.bill--once .bill-head { color: #fff; }
.bill-big { margin: 1rem 0 .2rem; font-size: clamp(2rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.bill--once .bill-foot { margin-top: .6rem; padding-top: 0; color: #fff; }
/* A section titled by its pill alone: the pill is the heading. */
/* same size and colour the pill had as a <p> in .section-head (1.1rem, --ink-2) */
h2.eyebrow-h { font-size: 1.1rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6; color: var(--ink-2); }
.section-head h2.eyebrow-h { margin-bottom: 0; }
.head-row:has(.eyebrow-h) { align-items: center; }
