/* =========================================================
   Tenkai Launcher — landing page (light theme)
   Self-contained. Does NOT share styles with /privacy (style.css).
   ========================================================= */

:root {
  /* palette */
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-block: #f1f5f9;
  --border: #e2e8f0;
  --heading: #0f172a;
  --body: #475569;
  --muted: #94a3b8;

  --accent: #5B8DEF;          /* electric blue — the one vibrant accent */
  --accent-strong: #3f74e0;
  --accent-soft: rgba(91, 141, 239, 0.12);
  --amber: #E8A838;           /* used sparingly */

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-device: 0 40px 80px -24px rgba(15, 23, 42, 0.28);

  /* layout */
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --pad-y: clamp(5rem, 11vw, 9rem);

  /* device frame tuning (fraction of frame box).
     Measured screen cutout: inset ~3.95% x / ~1.59% y, corner radius ~130px (11.2%).
     We inset slightly LESS so the media tucks under the bezel (no gap; frame covers it). */
  --bezel-x: 3.45%;
  --bezel-y: 1.25%;
  --screen-radius: 10.6%;
  --device-w: 270px;          /* default device width; overridden per context */

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- typography ---------- */
.display {
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin: 0 0 1.1rem;
}
.heading {
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  margin: 0 0 1rem;
}
.accent-text { color: var(--accent); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.85rem;
}
.eyebrow__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-right: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--body);
  max-width: 34ch;
}
p { margin: 0 0 1rem; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn__play { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(91, 141, 239, 0.6);
}
.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(91, 141, 239, 0.65);
}
.btn--ghost {
  background: var(--white);
  color: var(--heading);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.08rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__logo { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.brand__name { font-weight: 800; color: var(--heading); letter-spacing: -0.02em; white-space: nowrap; }
.site-nav {
  display: flex;
  gap: clamp(0.6rem, 1.15vw, 1.35rem);
  margin-left: auto;
  align-items: center;
}
.site-nav > a {
  position: relative;
  text-decoration: none;
  color: var(--body);
  font-weight: 600;
  font-size: clamp(0.84rem, 0.88vw, 0.95rem);
  padding-block: 0.35rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.site-nav > a:hover { color: var(--accent-strong); }
.site-nav > a.is-active { color: var(--heading); }
.site-nav > a.is-active::after,
.nav-dropdown__trigger.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- nav divider & subpage links ---------- */
.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  margin-inline: clamp(0.15rem, 0.4vw, 0.4rem);
  flex-shrink: 0;
}

.site-nav > a.nav-link--changelog {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--gray-block);
  border: 1px solid var(--border);
  font-size: clamp(0.78rem, 0.82vw, 0.86rem);
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  transition: all 0.15s ease;
}

.site-nav > a.nav-link--changelog:hover {
  background: var(--accent-soft);
  border-color: rgba(91, 141, 239, 0.35);
  color: var(--accent-strong);
}

.nav-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--white);
  border: 1px solid rgba(91, 141, 239, 0.2);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  line-height: 1.2;
}

.site-nav > a.nav-link--page {
  position: relative;
  text-decoration: none;
  color: var(--body);
  font-weight: 600;
  font-size: clamp(0.82rem, 0.86vw, 0.92rem);
  padding-block: 0.35rem;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-nav > a.nav-link--page:hover {
  color: var(--accent-strong);
}

.nav-dropdown__divider {
  height: 1px;
  background: var(--border);
  margin-block: 0.25rem;
}

/* ---------- nav dropdowns ---------- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  padding-block: 0.35rem;
  padding-inline: 0;
  margin: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(0.84rem, 0.88vw, 0.95rem);
  color: var(--body);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.nav-dropdown__trigger:hover,
.nav-dropdown:hover .nav-dropdown__trigger,
.nav-dropdown.is-open .nav-dropdown__trigger {
  color: var(--heading);
}

.nav-dropdown__trigger.is-active {
  color: var(--heading);
}

.nav-dropdown__chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--muted);
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown__chevron,
.nav-dropdown.is-open .nav-dropdown__chevron {
  transform: rotate(180deg);
  color: var(--accent-strong);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 285px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.05);
  padding: 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.18s;
  z-index: 100;
}

/* Invisible bridge so mouse hover doesn't break when moving between trigger and menu */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

/* Reveal on hover, focus-within, or when .is-open class is set */
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Right-aligned dropdown for menus near screen edge */
.nav-dropdown--align-right .nav-dropdown__menu {
  left: auto;
  right: -12px;
  transform: translateY(6px);
}
.nav-dropdown--align-right:hover .nav-dropdown__menu,
.nav-dropdown--align-right:focus-within .nav-dropdown__menu,
.nav-dropdown--align-right.is-open .nav-dropdown__menu {
  transform: translateY(0);
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:focus-visible {
  background: var(--off-white);
  outline: none;
}

.nav-dropdown__item.is-active {
  background: var(--accent-soft);
}

.nav-dropdown__item.is-active .nav-dropdown__title {
  color: var(--accent-strong);
}

.nav-dropdown__item--disabled {
  opacity: 0.65;
  cursor: default;
}

.nav-dropdown__item--disabled:hover,
.nav-dropdown__item--disabled:focus-visible {
  background: transparent;
}

.nav-dropdown__item--disabled:hover .nav-dropdown__title {
  color: var(--heading);
}

.nav-dropdown__item--disabled:hover .nav-dropdown__icon-box {
  background: var(--gray-block);
  color: inherit;
}

.nav-dropdown__icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-block);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown__item:hover .nav-dropdown__icon-box {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.nav-dropdown__icon-box svg {
  width: 17px;
  height: 17px;
}

.nav-dropdown__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.nav-dropdown__title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-dropdown__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.25;
  transition: color 0.15s ease;
}

.nav-dropdown__item:hover .nav-dropdown__title {
  color: var(--accent-strong);
}

.nav-dropdown__desc {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.25;
  margin-top: 0.1rem;
}

.nav-dropdown__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* offset in-page anchors so the sticky header doesn't cover section tops */
section[id] { scroll-margin-top: 84px; }
.site-header .btn { margin-left: 0; }
.site-nav + .btn { margin-left: 0; }
.site-header__inner > .btn { margin-left: auto; }
.site-nav ~ .btn { margin-left: 0; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* ---------- mobile hamburger toggle button ---------- */
.site-header__menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 0.45rem;
  border-radius: 10px;
  cursor: pointer;
  color: var(--heading);
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.site-header__menu-btn:hover {
  background: var(--off-white);
  border-color: var(--accent);
  color: var(--accent-strong);
}

.site-header__menu-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.site-header__menu-btn .icon-close { display: none; }
.site-header__menu-btn.is-active .icon-hamburger { display: none; }
.site-header__menu-btn.is-active .icon-close { display: block; }

/* ---------- mobile navigation overlay/drawer ---------- */
.mobile-nav {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 49;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__panel {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transform: translateY(-8px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateY(0);
}

.mobile-nav__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:active {
  background: var(--off-white);
  color: var(--accent-strong);
}

.mobile-nav__link-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.mobile-nav__divider {
  height: 1px;
  background: var(--border);
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.mobile-nav__actions .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: var(--pad-y);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 80vw;
  height: 80vw;
  max-width: 1050px;
  max-height: 900px;
  background: radial-gradient(ellipse at 60% 40%, rgba(91, 141, 239, 0.11) 0%, rgba(91, 141, 239, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "heading device"
    "desc-main device"
    "desc-sub device"
    "actions device";
  align-items: center;
  gap: 0.6rem clamp(2rem, 5vw, 4.5rem);
}
.hero__heading {
  grid-area: heading;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---------- hero announcement pill ---------- */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.8rem 0.3rem 0.35rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(91, 141, 239, 0.22);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(91, 141, 239, 0.06);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 0.95rem;
  width: fit-content;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.hero-pill:hover {
  border-color: rgba(91, 141, 239, 0.45);
  box-shadow: 0 4px 14px rgba(91, 141, 239, 0.14), 0 2px 4px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}

.hero-pill__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 3px rgba(63, 116, 224, 0.3);
}

.hero-pill__sparkle {
  font-size: 0.75rem;
  line-height: 1;
}

.hero-pill__text {
  color: var(--body);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.hero-pill:hover .hero-pill__text {
  color: var(--heading);
}

.hero-pill__arrow {
  width: 14px;
  height: 14px;
  color: var(--accent-strong);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.hero-pill:hover .hero-pill__arrow {
  transform: translateX(3px);
}

@media (max-width: 480px) {
  .hero-pill {
    max-width: 100%;
    font-size: 0.78rem;
    gap: 0.45rem;
    padding-right: 0.65rem;
  }
  .hero-pill__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.hero__desc-main { grid-area: desc-main; }
.hero__desc-sub { grid-area: desc-sub; }
.hero__actions-group { grid-area: actions; }
.hero__device { grid-area: device; }

/* prevent grid/flex children from expanding past the viewport on narrow screens */
.hero__heading, .hero__desc-main, .hero__desc-sub, .hero__actions-group, .hero__device,
.feature__text, .feature__media,
.explorer__layout > * { min-width: 0; }
.hero__desc-main p { margin: 0; }
.hero__subdesc-box {
  background: rgba(91, 141, 239, 0.04);
  border: 1px solid rgba(91, 141, 239, 0.14);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.9rem 1.25rem;
  max-width: 42ch;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.hero__subdesc-box:hover {
  background: rgba(91, 141, 239, 0.07);
  border-color: rgba(91, 141, 239, 0.25);
  border-left-color: var(--accent-strong);
}
.hero__subdesc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-strong);
  margin-bottom: 0.35rem;
}
.hero__subdesc-badge svg {
  color: var(--amber);
}
.hero__subdesc {
  font-size: 0.96rem;
  color: var(--body);
  line-height: 1.55;
  margin: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.6rem 0 1.4rem;
}

/* ---------- hero watch 1-min story button ---------- */
.btn--story {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid rgba(91, 141, 239, 0.32);
  color: var(--heading);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(91, 141, 239, 0.08);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn--story:hover,
.btn--story:focus-visible {
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.16) 0%, rgba(139, 92, 246, 0.16) 100%);
  border-color: rgba(91, 141, 239, 0.55);
  color: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(91, 141, 239, 0.16);
}
.btn--story:active {
  transform: translateY(0);
}
.btn--story__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(63, 116, 224, 0.35);
  flex-shrink: 0;
}
.btn--story__play svg {
  width: 11px;
  height: 11px;
  margin-left: 1px;
}
.btn--story__badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(91, 141, 239, 0.15);
  color: var(--accent-strong);
  letter-spacing: 0.01em;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.hero__badges li { display: flex; align-items: center; gap: 0.45rem; }
.hero__badges li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__device {
  display: flex;
  justify-content: center;
  align-items: center;
}
.device--hero { --device-w: 300px; }

.hero__device-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  max-width: 82vw;
  margin-inline: auto;
}

/* ---------- hero promo video card (YouTube embed) ---------- */
.hero__promo-card {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border-radius: 26px;
  overflow: hidden;
  background: #0b0e13;
  box-shadow: 0 24px 60px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.08);
  filter: drop-shadow(var(--shadow-device));
}

.hero__promo-card .hero__promo-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  display: block;
  background: #0b0e13;
  z-index: 1;
  pointer-events: none;
}

/* ---------- hero video sound reminder badge (floating above video) ---------- */
.hero__sound-pill {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.44rem 0.9rem;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease, border-color 0.18s ease;
  animation: heroPillIntro 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ============ Story Section (Animated Concept Video) ============ */
.story-section {
  padding-block: clamp(3.5rem, 6.5vw, 5.25rem);
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.story-video-wrap {
  max-width: 880px;
  margin-inline: auto;
}

.story-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0e13;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.story-video-frame:hover {
  border-color: rgba(91, 141, 239, 0.35);
  box-shadow: 0 28px 60px -14px rgba(15, 23, 42, 0.18);
}

.story-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@keyframes heroPillIntro {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.hero__sound-pill:hover,
.hero__sound-pill:focus-visible {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateX(-50%) translateY(-2px) scale(1.03);
}

.hero__sound-pill:active {
  transform: translateX(-50%) translateY(0) scale(0.97);
}

.hero__sound-pill.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(6px) scale(0.92) !important;
}

.hero__sound-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: #5b8def;
  animation: heroPulseAudio 1.8s ease-in-out infinite;
}

.hero__sound-pill-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

@keyframes heroPulseAudio {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(91, 141, 239, 0));
  }
  50% {
    transform: scale(1.18);
    filter: drop-shadow(0 0 5px rgba(91, 141, 239, 0.8));
  }
}

/* ---------- hero promo external youtube link ---------- */
.hero__promo-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.18s ease, color 0.18s ease, transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  user-select: none;
  -webkit-user-select: none;
}

.hero__promo-yt-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  color: #ff0033;
  transition: transform 0.18s ease;
}

.hero__promo-yt-link:hover,
.hero__promo-yt-link:focus-visible {
  opacity: 1;
  color: var(--heading);
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.hero__promo-yt-link:hover svg {
  transform: scale(1.15);
}

/* ---------- hero promo video controls overlay ---------- */
.hero__promo-card .video-ctrls {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem 0.9rem 0.85rem;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  visibility: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* Reveal controls when active (mouse moving or tapped), focused, or when paused */
.hero__promo-card:focus-within .video-ctrls,
.hero__promo-card.is-ctrls-active .video-ctrls,
.hero__promo-card.is-paused .video-ctrls {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.video-ctrls__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(11, 14, 19, 0.42) 0%,
    rgba(11, 14, 19, 0.04) 28%,
    rgba(11, 14, 19, 0.12) 55%,
    rgba(11, 14, 19, 0.85) 100%
  );
}

.video-ctrls__center-btn {
  position: relative;
  z-index: 1;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.76);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), background 0.15s ease, border-color 0.15s ease;
}

.video-ctrls__center-btn:hover,
.video-ctrls__center-btn:focus-visible {
  transform: scale(1.1);
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.65);
}

.video-ctrls__center-btn:active {
  transform: scale(0.93);
}

.video-ctrls__center-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Play / Pause toggle icon states */
.video-ctrls .icon-play { display: none; margin-left: 2px; }
.video-ctrls .icon-pause { display: block; }

.hero__promo-card.is-paused .video-ctrls .icon-play { display: block; }
.hero__promo-card.is-paused .video-ctrls .icon-pause { display: none; }

.video-ctrls__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Timeline progress bar (Scrubber) */
.video-ctrls__progress-wrap {
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0;
  touch-action: none;
}

.video-ctrls__progress-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.video-ctrls__track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  transition: height 0.15s ease;
}

.video-ctrls__progress-wrap:hover .video-ctrls__track,
.video-ctrls__progress-wrap:focus-visible .video-ctrls__track,
.video-ctrls__progress-wrap.is-dragging .video-ctrls__track {
  height: 6px;
}

.video-ctrls__progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(91, 141, 239, 0.6);
}

.video-ctrls__thumb {
  position: absolute;
  right: -5px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%) scale(0);
  transition: transform 0.15s ease;
}

.video-ctrls__progress-wrap:hover .video-ctrls__thumb,
.video-ctrls__progress-wrap:focus-visible .video-ctrls__thumb,
.video-ctrls__progress-wrap.is-dragging .video-ctrls__thumb {
  transform: translateY(-50%) scale(1);
}

.video-ctrls__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 2px;
}

.video-ctrls__time {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.video-ctrls__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.video-ctrls__btn {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-ctrls__btn:hover,
.video-ctrls__btn:focus-visible {
  transform: scale(1.1);
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.55);
}

.video-ctrls__btn:active {
  transform: scale(0.92);
}

.video-ctrls__btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Sound button toggle states */
.hero__promo-btn--sound .icon-sound-off { display: block; }
.hero__promo-btn--sound .icon-sound-on { display: none; }

.hero__promo-btn--sound.is-unmuted .icon-sound-off { display: none; }
.hero__promo-btn--sound.is-unmuted .icon-sound-on { display: block; }

/* Maximize button toggle states */
.hero__promo-btn--maximize .icon-maximize { display: block; }
.hero__promo-btn--maximize .icon-minimize { display: none; }

.hero__promo-btn--maximize.is-fullscreen .icon-maximize { display: none; }
.hero__promo-btn--maximize.is-fullscreen .icon-minimize { display: block; }

/* Fullscreen mode support */
.hero__promo-card:fullscreen,
.hero__promo-card:-webkit-full-screen {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  aspect-ratio: auto !important;
  background: #000000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.hero__promo-card:fullscreen .hero__promo-iframe,
.hero__promo-card:-webkit-full-screen .hero__promo-iframe {
  position: relative !important;
  inset: auto !important;
  height: 100vh !important;
  width: auto !important;
  aspect-ratio: 9 / 16 !important;
  max-width: 100vw !important;
  border-radius: 0 !important;
}

.hero__promo-card:fullscreen .video-ctrls,
.hero__promo-card:-webkit-full-screen .video-ctrls {
  position: absolute !important;
  inset: auto !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  height: 100vh !important;
  width: min(100vw, 56.25vh) !important;
  max-width: 100vw !important;
  padding: 2rem 1.4rem 1.4rem !important;
  border-radius: 0 !important;
}

/* ---------- device / phone frame ---------- */
.device {
  position: relative;
  width: var(--device-w);
  max-width: 82vw;
  aspect-ratio: 1165 / 2459;
  margin-inline: auto;
  filter: drop-shadow(var(--shadow-device));
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.device__media {
  position: absolute;
  top: var(--bezel-y);
  left: var(--bezel-x);
  width: calc(100% - 2 * var(--bezel-x));
  height: calc(100% - 2 * var(--bezel-y));
  object-fit: cover;
  border-radius: var(--screen-radius) / calc(var(--screen-radius) * (1165 / 2459));
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: -webkit-radial-gradient(white, black);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #0b0e13;
  z-index: 1;
}
.device__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  user-select: none;
}

/* ---------- feature sections ---------- */
.feature { padding-block: var(--pad-y); }
.feature--alt { background: var(--off-white); }
.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.feature__grid--reverse .feature__text { order: 2; }
.feature__grid--reverse .feature__media { order: 1; }
.feature__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
/* toggle sits directly above the phone it controls */
.feature__media .speed-toggle { margin-top: 0; }
.feature__text p { max-width: 46ch; }

.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.7rem; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--heading);
  font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15rem;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B8DEF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.8rem;
}
.ticks strong { color: var(--heading); font-weight: 700; }

/* ---------- section group (e.g. pies container) ---------- */
.section-group {
  padding-top: var(--pad-y);
  background: var(--white);
}
.section-group + .feature--grouped {
  padding-top: 0;
}

/* ---------- segmented toggle (speed / pie settings / modes) ---------- */
.speed-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px;
  gap: 4px;
  background: var(--gray-block);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-top: 1.6rem;
  max-width: 100%;
}
.feature--alt .speed-toggle { background: var(--white); }
.speed-toggle__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--body);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.speed-toggle__btn.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(91, 141, 239, 0.6);
}
.speed-toggle__btn:not(.is-active):hover { color: var(--accent-strong); }

/* ---------- 2x2 grid toggle for sections with 4 options (e.g. Home) ---------- */
.speed-toggle--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  width: 100%;
  max-width: 400px;
}
.speed-toggle--grid .speed-toggle__btn {
  text-align: center;
  padding: 0.65rem 0.8rem;
  font-size: 0.88rem;
  border-radius: 12px;
  white-space: normal;
  line-height: 1.25;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- section head ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head__sub { color: var(--body); font-size: 1.1rem; margin: 0; }

/* ---------- feature explorer ---------- */
.explorer { padding-block: var(--pad-y); background: var(--white); }
.explorer__layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.explorer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.explorer__item {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.15rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.explorer__item:hover { transform: translateX(3px); border-color: var(--accent); }
.explorer__item.is-active {
  border-color: var(--accent);
  background: linear-gradient(0deg, var(--accent-soft), var(--accent-soft)), var(--white);
  box-shadow: var(--shadow-md);
}
.explorer__item-title { display: block; color: var(--heading); font-weight: 700; font-size: 1.02rem; }
.explorer__item-desc { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 0.1rem; }

.explorer__stage { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; }
.explorer__stage .device { --device-w: 270px; }
.explorer__caption { text-align: center; max-width: 40ch; }
.explorer__caption h3 { color: var(--heading); font-size: 1.3rem; font-weight: 800; margin: 0 0 0.35rem; }
.explorer__caption p { color: var(--body); margin: 0; }

/* ---------- tour (optional) ---------- */
.tour { padding-block: var(--pad-y); }
.tour__frame {
  max-width: 420px;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tour__frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- final CTA ---------- */
.cta {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  text-align: center;
  position: relative;
  background: var(--white);
}
.cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 280px;
  background: radial-gradient(ellipse at 50% 0%, rgba(91, 141, 239, 0.07), transparent 70%);
  pointer-events: none;
}
.cta__inner {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta__logo {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.12), 0 2px 6px -1px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.07);
  margin-bottom: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cta__logo:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.16);
}
.cta .display {
  color: var(--heading);
  margin-bottom: 0.85rem;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
}
.cta__desc {
  color: var(--body);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 44ch;
  margin: 0 auto 1.8rem;
  line-height: 1.55;
}
.cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.cta__fine {
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- pricing / premium ---------- */
.pricing { padding-block: var(--pad-y); background: var(--off-white); }
.pricing__plans-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 3rem 0 1.25rem;
}
.pricing__plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  max-width: 620px;
  margin-inline: auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.plan__badge {
  position: absolute;
  top: -0.7rem;
  left: 1.75rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.plan__name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.plan__price {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 0.5rem 0 0.15rem;
}
.plan__per { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: 0.35rem; }
.plan__meta { color: var(--body); font-size: 0.95rem; margin: 0 0 1.4rem; }
.plan .btn { margin-top: auto; justify-content: center; }

/* free vs premium split */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 2.5rem auto 0;
}
.tier {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.tier--premium {
  border: 1px solid rgba(91, 141, 239, 0.38);
  background: var(--white);
  box-shadow: 0 10px 30px -6px rgba(91, 141, 239, 0.12), var(--shadow-sm);
  position: relative;
}
.tier__name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0;
}
.tier__lead { color: var(--body); font-size: 0.95rem; margin: 0.4rem 0 0; }
.tier .ticks {
  margin-top: 1.3rem;
  gap: 0.65rem;
}
.tier .ticks li {
  font-size: 0.94rem;
  line-height: 1.52;
  color: var(--body);
  font-weight: 450;
  padding-left: 1.75rem;
}
.tier .ticks li strong {
  color: var(--heading);
  font-weight: 600;
}
.tier .ticks li::before {
  top: 0.18rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 4px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f74e0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.85rem;
}
.tier--premium .ticks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.pricing__note {
  text-align: center;
  color: var(--body);
  font-size: 0.95rem;
  margin: 1.6rem auto 0;
  max-width: 56ch;
}
.pricing__note strong { color: var(--heading); font-weight: 700; }
.pricing__fine {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 2rem auto 0;
  max-width: 52ch;
}
@media (max-width: 860px) {
  .pricing__plans { grid-template-columns: 1fr; max-width: 420px; }
  .compare { grid-template-columns: 1fr; max-width: 480px; }
}

/* ---------- community ---------- */
.community { padding-block: var(--pad-y); background: var(--white); }
.community__card {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}
.community__card .heading { margin-bottom: 0.8rem; }
.community__card p { max-width: 54ch; margin-inline: auto; color: var(--body); }
.community__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.7rem;
}
.btn__icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- faq ---------- */
.faq { padding-block: var(--pad-y); background: var(--off-white); }
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.85rem; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq__item[open] { border-color: var(--accent); box-shadow: var(--shadow-md); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--heading);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  width: 1.05rem; height: 1.05rem;
  flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B8DEF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(180deg); }
.faq__a { padding: 0 1.4rem 1.35rem; }
.faq__a p { margin: 0 0 0.85rem; max-width: 68ch; color: var(--body); }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin: 1.25rem 0 0.5rem;
}
.faq__a ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  max-width: 68ch;
  color: var(--body);
}
.faq__a li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.faq__a li:last-child {
  margin-bottom: 0;
}
.faq__a strong {
  color: var(--heading);
}
.faq__a a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- roadmap / on the horizon ---------- */
.roadmap {
  padding-block: var(--pad-y);
  background: var(--white);
  border-top: 1px solid var(--border);
  position: relative;
}
.roadmap__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto 2.25rem;
}
@media (max-width: 1024px) {
  .roadmap__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .roadmap__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.roadmap__card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease;
  position: relative;
}
.roadmap__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 141, 239, 0.45);
}
.roadmap__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}
.roadmap__icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.roadmap__card:hover .roadmap__icon-wrap {
  transform: scale(1.06);
  background: rgba(91, 141, 239, 0.2);
}
.roadmap__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.roadmap__badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.roadmap__badge--next {
  background: rgba(91, 141, 239, 0.12);
  color: var(--accent-strong);
  border: 1px solid rgba(91, 141, 239, 0.3);
}
.roadmap__badge--shipped {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.roadmap__badge--exploring {
  background: var(--gray-block);
  color: var(--body);
  border: 1px solid var(--border);
}
.roadmap__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.45rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.roadmap__card-desc {
  font-size: 0.88rem;
  color: var(--body);
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
}
.roadmap__banner {
  max-width: 1140px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--off-white) 0%, rgba(91, 141, 239, 0.07) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 820px) {
  .roadmap__banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }
}
.roadmap__banner-content {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.roadmap__banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.roadmap__banner-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}
.roadmap__banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  letter-spacing: -0.01em;
}
.roadmap__banner-desc {
  font-size: 0.88rem;
  color: var(--body);
  margin: 0;
  line-height: 1.45;
}
.roadmap__banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .roadmap__banner-actions {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* ---------- contact ---------- */
.contact {
  padding-block: var(--pad-y);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.contact__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}
.contact__card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 320px;
  max-width: 355px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  position: relative;
}
.contact__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 141, 239, 0.4);
}
.contact__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}
.contact__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.contact__card:hover .contact__icon-wrap {
  transform: scale(1.05);
  background: rgba(91, 141, 239, 0.18);
}
.contact__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  background: var(--gray-block);
  color: var(--body);
  border: 1px solid var(--border);
}
.contact__card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
}
.contact__card-desc {
  font-size: 0.92rem;
  color: var(--body);
  margin: 0 0 1.35rem;
  line-height: 1.55;
  flex-grow: 1;
}
.contact__email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.55rem 0.45rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact__card:hover .contact__email-box {
  border-color: rgba(91, 141, 239, 0.35);
  box-shadow: 0 2px 8px rgba(91, 141, 239, 0.08);
}
.contact__email-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.18s ease;
}
.contact__email-link:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact__copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  font-family: inherit;
  user-select: none;
}
.contact__copy-btn:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: rgba(91, 141, 239, 0.3);
}
.contact__copy-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__copy-btn .icon-check {
  display: none;
}
.contact__copy-btn.is-copied {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}
.contact__copy-btn.is-copied .icon-copy {
  display: none;
}
.contact__copy-btn.is-copied .icon-check {
  display: block;
}
@media (max-width: 720px) {
  .contact__grid {
    flex-direction: column;
    align-items: center;
  }
  .contact__card {
    max-width: 100%;
    width: 100%;
  }
}

/* ---------- privacy / policy page ---------- */
.policy { padding-block: clamp(3rem, 7vw, 6rem); }
.policy__inner { max-width: 760px; margin-inline: auto; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.1rem;
}
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.policy__meta { color: var(--muted); font-weight: 600; font-size: 0.95rem; margin: 0.4rem 0 0; }
.policy__body { margin-top: 2.75rem; }
.policy__body section { margin-bottom: 2.5rem; }
.policy__body h2 {
  color: var(--heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.policy__body h3 {
  color: var(--heading);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 1.75rem 0 0.5rem;
}
.policy__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--heading);
}
.policy__body p { color: var(--body); }
.policy__body ul {
  color: var(--body);
  padding-left: 1.2rem;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.55rem;
}
.policy__body li { line-height: 1.6; }
.policy__body a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy__body strong { color: var(--heading); font-weight: 700; }
.policy__body .callout {
  margin-top: 1.25rem;
  padding: 1.2rem 1.4rem;
  background: var(--accent-soft);
  border: 1px solid rgba(91, 141, 239, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
}
.policy__body .callout p { margin: 0; color: var(--heading); }

/* ---------- changelog page ---------- */
.changelog { padding-block: clamp(3rem, 7vw, 6rem); background: var(--off-white); min-height: 80vh; }
.changelog__inner { max-width: 840px; margin-inline: auto; }
.changelog__header { margin-bottom: 2.5rem; text-align: left; }
.changelog__badge-bar { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.changelog__count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.changelog__controls {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.changelog__search-box {
  position: relative;
  flex: 1 1 320px;
}
.changelog__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.changelog__search-input {
  width: 100%;
  height: 48px;
  padding: 0.6rem 2.5rem 0.6rem 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--heading);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.changelog__search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.changelog__search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
}
.changelog__search-clear:hover { color: var(--heading); }
.changelog__search-clear.is-visible { display: flex; }

.changelog__select-wrap {
  position: relative;
  flex: 0 0 auto;
}
.changelog__select {
  height: 48px;
  padding: 0.6rem 2.25rem 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--heading);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.changelog__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.changelog__select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.changelog__status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* Timeline & Release Cards */
.changelog__timeline {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
  position: relative;
}

.release-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  scroll-margin-top: 90px;
}
.release-card:hover {
  border-color: rgba(91, 141, 239, 0.35);
  box-shadow: var(--shadow-md);
}
.release-card.is-latest {
  border-color: rgba(91, 141, 239, 0.4);
  box-shadow: 0 8px 30px -4px rgba(91, 141, 239, 0.12);
}

.release-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}
.release-card__title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.release-card__title {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.025em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.release-card__anchor {
  color: var(--muted);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s ease;
  font-size: 1.1rem;
}
.release-card:hover .release-card__anchor,
.release-card__anchor:focus {
  opacity: 1;
}
.release-card__anchor:hover {
  color: var(--accent-strong);
}

.badge--latest {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px -2px rgba(91, 141, 239, 0.6);
}

.release-card__copy-link {
  background: var(--gray-block);
  border: 1px solid transparent;
  color: var(--body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.18s ease;
}
.release-card__copy-link:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: rgba(91, 141, 239, 0.3);
}

/* Markdown parsing styling inside release cards */
.release-card__body {
  color: var(--body);
  font-size: 1.02rem;
  line-height: 1.68;
}
.release-card__body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.release-card__body li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.68;
}
.release-card__body li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Nested lists */
.release-card__body li > ul {
  margin-top: 0.6rem;
  margin-bottom: 0.2rem;
  padding-left: 0.5rem;
  gap: 0.55rem;
}
.release-card__body li > ul > li {
  padding-left: 1.2rem;
  font-size: 0.96rem;
}
.release-card__body li > ul > li::before {
  width: 5px;
  height: 5px;
  background: var(--muted);
}

/* Bold styling - Electric Blue */
.release-card__body strong,
.release-card__body b {
  color: var(--accent-strong);
  font-weight: 700;
}

/* Italic styling */
.release-card__body em,
.release-card__body i {
  font-style: italic;
  color: var(--heading);
}

/* Inline Code & Tokens */
.release-card__body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid rgba(91, 141, 239, 0.2);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

/* Links inside markdown */
.release-card__body a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}
.release-card__body a:hover {
  color: var(--accent);
}

/* Skeleton Loading State */
.changelog-skeleton {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.skeleton-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.skeleton-line {
  height: 18px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}
.skeleton-line--title { height: 28px; width: 35%; margin-bottom: 1.5rem; }
.skeleton-line--short { width: 60%; }
.skeleton-line--medium { width: 85%; }
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Empty / No Results State */
.changelog-empty {
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--muted);
}
.changelog-empty__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  color: var(--muted);
}
.changelog-empty__title {
  color: var(--heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.changelog-empty__desc {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 2.5rem; background: var(--white); }
.site-footer__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.brand--footer { margin-right: auto; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--body); font-weight: 600; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-strong); }
.site-footer__copy { width: 100%; margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- floating vertical section indicator (desktop) ---------- */
.side-indicator {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 6px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.side-indicator__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.side-indicator__dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  text-decoration: none;
  cursor: pointer;
}
.side-indicator__dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.side-indicator__dot:hover::before {
  background: var(--accent);
  transform: scale(1.25);
}
.side-indicator__dot.is-active::before {
  background: var(--accent);
  transform: scale(1.4);
  box-shadow: 0 0 8px rgba(91, 141, 239, 0.7);
}
.side-indicator__dot.is-parent-active::before {
  background: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 5px rgba(91, 141, 239, 0.35);
}
.side-indicator__label {
  position: absolute;
  right: 24px;
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--heading);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  display: inline-flex;
  align-items: center;
}
.side-indicator__dot:hover .side-indicator__label,
.side-indicator__dot.is-active .side-indicator__label,
.side-indicator__dot.is-hover-child .side-indicator__label {
  opacity: 1;
  transform: translateX(0);
}
.side-label__parent {
  color: var(--heading);
  font-weight: 700;
}
.side-label__sep {
  color: #cbd5e1;
  margin-inline: 4px;
  font-weight: 400;
}
.side-label__child {
  color: var(--muted);
  font-weight: 500;
}
.side-indicator__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.side-indicator__subdots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 2px 0;
}
.side-indicator__subdot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  text-decoration: none;
  cursor: pointer;
}
.side-indicator__subdot::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e2e8f0;
  transition: transform 0.18s ease, background 0.18s ease;
}
.side-indicator__subdot:hover::before {
  background: var(--accent);
  transform: scale(1.4);
}
.side-indicator__subdot.is-active::before {
  background: var(--accent-strong);
  transform: scale(1.6);
  box-shadow: 0 0 6px rgba(91, 141, 239, 0.6);
}

/* =========================================================
   Press & Media Kit Page (/press)
   ========================================================= */
.press-page {
  background: var(--white);
}

.press {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.press__inner {
  max-width: 1100px;
  margin-inline: auto;
}

/* ---------- Press Hero ---------- */
.press-hero {
  margin-bottom: 2rem;
}

.press-hero__badge-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.press-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--gray-block);
  color: var(--heading);
  letter-spacing: 0.02em;
}

.press-tag--green {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.press-tag--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--body);
}

.press-hero__lede {
  max-width: 72ch;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  margin-bottom: 1.75rem;
  color: var(--body);
}

.press-hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-icon {
  flex-shrink: 0;
  margin-right: 0.4rem;
}

.btn__meta {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 600;
  margin-left: 0.35rem;
}

/* ---------- Sticky Quick Navigation ---------- */
.press-quicknav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0.45rem 0.65rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

.press-quicknav__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  transition: all 0.15s ease;
}

.press-quicknav__link:hover {
  background: var(--white);
  color: var(--accent-strong);
  box-shadow: var(--shadow-sm);
}

/* ---------- Common Press Cards ---------- */
.press-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.press-card-title {
  color: var(--heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.press-card-desc {
  color: var(--body);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Reviewer Access Banner ---------- */
.press-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.08) 0%, rgba(91, 141, 239, 0.02) 100%);
  border: 1.5px solid rgba(91, 141, 239, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-block: 2.5rem 3rem;
}

.press-banner__glow {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(90px);
  opacity: 0.15;
  pointer-events: none;
}

.press-banner__content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 680px;
}

.press-banner__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(91, 141, 239, 0.35);
}

.press-banner__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-strong);
  margin-bottom: 0.35rem;
}

.press-banner__title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--heading);
  margin: 0 0 0.5rem;
}

.press-banner__desc {
  font-size: 0.95rem;
  color: var(--body);
  margin: 0;
  line-height: 1.55;
}

.press-banner__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
}

.press-banner__email {
  font-size: 0.82rem;
  color: var(--muted);
}

.press-banner__email a {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.press-banner__email a:hover {
  text-decoration: underline;
}

/* ---------- Section Headings & Actions ---------- */
.press-section {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
}

.press-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.press-section__subtitle {
  font-size: 1rem;
  color: var(--body);
  margin: 0.35rem 0 0;
  max-width: 65ch;
}

.press-section__head-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---------- Copy Buttons & Accessibility ---------- */
.press-copy-btn {
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.press-copy-btn.is-copied {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #16a34a !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- Fast Facts Grid ---------- */
.press-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.press-fact-card {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.press-fact-card:hover {
  border-color: rgba(91, 141, 239, 0.4);
  box-shadow: var(--shadow-sm);
}

.press-fact-card__label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.press-fact-card__val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.35;
}

.press-fact-card__sub {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--body);
  margin-top: 0.15rem;
}

.press-fact-card__link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
}

.press-fact-card__link:hover {
  text-decoration: underline;
}

.press-mini-copy {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-mini-copy:hover {
  color: var(--accent-strong);
  border-color: var(--accent);
  transform: scale(1.05);
}

/* ---------- Elevator Pitch Card ---------- */
.press-pitch-box {
  background: var(--off-white);
  border-left: 4px solid var(--accent);
}

.press-pitch-lead {
  font-size: 1.15rem;
  color: var(--heading);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.press-pitch-sub {
  font-size: 1rem;
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.press-pitch-list {
  padding-left: 1.25rem;
  margin: 0;
  display: grid;
  gap: 0.85rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--body);
}

.press-pitch-list strong {
  color: var(--heading);
}

/* ---------- Brand Assets Grid ---------- */
.press-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.press-logo-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.press-logo-card__bg-checkered {
  background-color: #f1f5f9;
  background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.press-logo-card__img {
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.12));
  border-radius: 22%;
  display: block;
}

.press-logo-card__meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.press-logo-card__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.press-swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.press-swatch {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--off-white);
  transition: all 0.15s ease;
  user-select: none;
}

.press-swatch:hover {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.press-swatch__color {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.press-swatch__details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.press-swatch__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.press-swatch__hex {
  font-family: monospace;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.press-swatch__copy-hint {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-strong);
  opacity: 0;
  transition: opacity 0.15s;
}

.press-swatch:hover .press-swatch__copy-hint {
  opacity: 1;
}

.press-brand-notes {
  font-size: 0.85rem;
  color: var(--body);
  background: var(--gray-block);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

/* ---------- Promo Video Card & Grid ---------- */
.press-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

@media (max-width: 960px) {
  .press-promo-grid {
    grid-template-columns: 1fr;
  }
}

.press-promo-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.press-promo-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.press-promo-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.press-promo-footer {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  flex-grow: 1;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.press-promo-footer__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.press-promo-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  color: var(--accent-strong);
  margin-bottom: 0.65rem;
  border: 1px solid rgba(91, 141, 239, 0.28);
}

.press-promo-badge--demo {
  background: var(--gray-block);
  color: var(--muted);
  border-color: var(--border);
}

.press-promo-footer__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
}

.press-promo-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.press-promo-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ---------- Filters Bar ---------- */
.press-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.press-filter {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: all 0.15s ease;
}

.press-filter:hover {
  color: var(--heading);
  border-color: rgba(91, 141, 239, 0.4);
}

.press-filter.is-active {
  background: var(--heading);
  color: var(--white);
  border-color: var(--heading);
}

/* ---------- Screenshots Gallery ---------- */
.press-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.press-shot-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.press-shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 141, 239, 0.35);
}

.press-shot-card__media {
  position: relative;
  cursor: pointer;
  aspect-ratio: 9 / 19.5;
  background: #0b0f19;
  overflow: hidden;
}

.press-shot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.press-shot-card:hover .press-shot-card__media img {
  transform: scale(1.03);
}

.press-shot-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.press-shot-card:hover .press-shot-card__overlay {
  opacity: 1;
}

.press-shot-card__zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.press-shot-card__meta {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.press-shot-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.35rem;
}

.press-shot-card__desc {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.45;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.press-shot-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: auto;
}

.press-shot-card__dl {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--accent-soft);
  transition: all 0.15s ease;
}

.press-shot-card__dl:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- Video Clips Grid ---------- */
.press-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.press-video-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.press-video-card:hover {
  border-color: rgba(91, 141, 239, 0.35);
  box-shadow: var(--shadow-md);
}

.press-video-card__player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: #0b0f19;
  overflow: hidden;
}

.press-video-card__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0b0f19;
  display: block;
}

.press-video-card__info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.press-video-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.35rem;
}

.press-video-card__desc {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.45;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.press-video-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin-top: auto;
}

.press-video-card__dl {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-strong);
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--accent-soft);
  transition: all 0.15s ease;
}

.press-video-card__dl:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---------- Contact Section ---------- */
.press-contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  background: var(--off-white);
  border-color: rgba(91, 141, 239, 0.25);
}

.press-contact-card__body {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.press-contact-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--white);
}

.press-contact-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.press-contact-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.press-contact-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--heading);
  margin: 0.25rem 0 0;
}

.press-contact-card__desc {
  font-size: 0.95rem;
  color: var(--body);
  margin: 0;
  line-height: 1.5;
}

.press-contact-email-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.press-contact-email-link {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-strong);
  text-decoration: none;
}

.press-contact-email-link:hover {
  text-decoration: underline;
}

.press-contact-card__response-time {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.press-contact-card__links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

/* ---------- Screenshot Lightbox Modal ---------- */
.press-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.press-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.press-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

.press-lightbox__container {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.press-lightbox__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.15s ease;
}

.press-lightbox__close:hover {
  transform: scale(1.15);
}

.press-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 85vh;
}

.press-lightbox__img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.press-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: 0.85rem;
  color: var(--white);
}

.press-lightbox__title {
  font-size: 1rem;
  font-weight: 700;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1140px) {
  .side-indicator { display: none; }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-header__menu-btn { display: inline-flex; }
  .site-header__inner > .btn { margin-left: auto; }
  .site-header__actions { margin-left: auto; }

  .press-brand-grid { grid-template-columns: 1fr; }
  .press-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .press-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .press-banner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .press-banner__action { width: 100%; }
  .press-banner__action .btn { width: 100%; justify-content: center; }

  .hero__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
  }
  .hero__heading {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__desc-main {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__device {
    order: 3;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }
  .hero__desc-sub {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__actions-group {
    order: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__actions {
    justify-content: center;
    margin: 0.3rem 0 0.8rem;
  }
  .hero__badges {
    justify-content: center;
  }
  .lede, .hero__subdesc-box { max-width: 48ch; }
  .hero__subdesc-box { text-align: left; }

  .feature__grid,
  .feature__grid--reverse .feature__text,
  .feature__grid--reverse .feature__media {
    grid-template-columns: 1fr;
    order: initial;
  }
  .feature__grid { grid-template-columns: 1fr; }
  .feature__text { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .feature__text p { max-width: 52ch; }
  /* stack every section the same way: title + text first, preview after */
  .feature__grid--reverse .feature__text { order: 1; }
  .feature__grid--reverse .feature__media { order: 2; }
  .ticks { text-align: left; }

  /* explorer becomes stacked: feature buttons on top, phone below.
     A 2-column grid keeps every option visible (no hidden horizontal scroll)
     without pushing the phone preview too far down. */
  .explorer__layout { grid-template-columns: 1fr; }
  .explorer__stage { order: 2; }
  .explorer__menu {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .explorer__item { padding: 0.8rem 0.95rem; }
  .explorer__item:hover { transform: none; }
}

@media (max-width: 380px) {
  /* very narrow: single column reads better than cramped pairs */
  .explorer__menu { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* hero CTA is prominent right below; keep the sticky header uncluttered */
  .site-header__inner > .btn { display: none; }
  .changelog__search-box,
  .changelog__select-wrap {
    flex: 1 1 100%;
    width: 100%;
  }
  .changelog__select {
    width: 100%;
  }

  .press-gallery-grid { grid-template-columns: 1fr; }
  .press-videos-grid { grid-template-columns: 1fr; }
  .press-swatches { grid-template-columns: 1fr; }
  .press-hero__actions { flex-direction: column; width: 100%; }
  .press-hero__actions .btn { width: 100%; justify-content: center; }
  .press-section__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .press-section__head-actions { width: 100%; }
  .press-section__head-actions .btn { width: 100%; justify-content: center; }
  .press-contact-card__body { flex-direction: column; align-items: center; text-align: center; }
  .press-contact-email-box { justify-content: center; }
  .press-contact-card__links { justify-content: center; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header__inner { gap: 0.75rem; }
  .brand__name { font-size: 0.95rem; }
  .display { font-size: clamp(2rem, 9vw, 2.5rem); }
  .heading { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .device--hero, .explorer__stage .device { --device-w: 240px; }
  .footer-links { gap: 1rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
