/* ==================================================================
   plag.homes — site chrome stylesheet
   Class and variable contract: everything uses the "frame65a3f-" prefix.
   Canvas: 320-430px phone-first; wide screens keep the centered canvas.
   Palette: #0A0A0A canvas / #EE82EE accent / #7B68EE slate accent.
   ================================================================== */

:root {
  --frame65a3f-bg: #0a0a0a;
  --frame65a3f-bg-outer: #060510;
  --frame65a3f-panel: #14101d;
  --frame65a3f-panel-deep: #0e0b15;
  --frame65a3f-accent: #ee82ee;
  --frame65a3f-slate: #7b68ee;
  --frame65a3f-text: #efe6f6;
  --frame65a3f-soft: #c9b7e6;
  --frame65a3f-dim: #9d8cc0;
  --frame65a3f-line: rgba(238, 130, 238, 0.18);
  --frame65a3f-line-slate: rgba(123, 104, 238, 0.32);
  --frame65a3f-glow: rgba(123, 104, 238, 0.38);
  --frame65a3f-font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --frame65a3f-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --frame65a3f-head-h: 102px;
  --frame65a3f-dock-h: 74px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--frame65a3f-bg-outer);
  color: var(--frame65a3f-text);
  font-family: var(--frame65a3f-font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--frame65a3f-slate);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--frame65a3f-accent);
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--frame65a3f-accent);
  outline-offset: 2px;
}

::selection {
  background: rgba(123, 104, 238, 0.55);
  color: #ffffff;
}

/* ------------------------------------------------------------------ */
/* Phone canvas                                                        */
/* ------------------------------------------------------------------ */

.frame65a3f-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--frame65a3f-bg);
  overflow-x: hidden;
}

@media (min-width: 431px) {
  .frame65a3f-shell {
    border-left: 1px solid var(--frame65a3f-line-slate);
    border-right: 1px solid var(--frame65a3f-line-slate);
    box-shadow: 0 0 42px rgba(123, 104, 238, 0.14);
  }
}

/* ------------------------------------------------------------------ */
/* Fixed top bar: brand row + action row + category tab strip          */
/* ------------------------------------------------------------------ */

.frame65a3f-head {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--frame65a3f-line);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.frame65a3f-head-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  min-height: 58px;
}

.frame65a3f-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.frame65a3f-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--frame65a3f-line);
  flex: 0 0 auto;
}

.frame65a3f-brand-name {
  font-family: var(--frame65a3f-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--frame65a3f-accent);
  white-space: nowrap;
}

.frame65a3f-head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* Square-corner, high-contrast CTAs */
.frame65a3f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.frame65a3f-btn-solid {
  background: var(--frame65a3f-accent);
  color: #0a0a0a;
}

.frame65a3f-btn-solid:active {
  box-shadow: 0 0 14px rgba(238, 130, 238, 0.5);
}

.frame65a3f-btn-ghost {
  background: rgba(123, 104, 238, 0.12);
  border-color: var(--frame65a3f-line-slate);
  color: var(--frame65a3f-text);
}

.frame65a3f-btn-ghost:active {
  border-color: var(--frame65a3f-accent);
  box-shadow: 0 0 12px var(--frame65a3f-glow);
}

.frame65a3f-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  background: transparent;
  border: 0;
  color: var(--frame65a3f-soft);
  transition: color 0.15s ease;
}

.frame65a3f-menu-trigger:active {
  color: var(--frame65a3f-accent);
}

/* Category tab strip */
.frame65a3f-tabs {
  display: flex;
  gap: 8px;
  padding: 0 12px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.frame65a3f-tabs::-webkit-scrollbar {
  display: none;
}

.frame65a3f-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--frame65a3f-line-slate);
  border-radius: 4px;
  background: rgba(123, 104, 238, 0.08);
  color: var(--frame65a3f-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.frame65a3f-tab.frame65a3f-on {
  color: var(--frame65a3f-accent);
  border-color: var(--frame65a3f-accent);
  background: rgba(238, 130, 238, 0.12);
  text-shadow: 0 0 8px rgba(238, 130, 238, 0.55);
}

/* ------------------------------------------------------------------ */
/* Sectioned menu page (overlay)                                       */
/* ------------------------------------------------------------------ */

.frame65a3f-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 430px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: rgba(8, 6, 13, 0.985);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.frame65a3f-menu-shown {
  opacity: 1;
  visibility: visible;
}

.frame65a3f-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--frame65a3f-line);
}

.frame65a3f-menu-title {
  margin: 0;
  font-family: var(--frame65a3f-font-head);
  font-size: 18px;
  color: var(--frame65a3f-accent);
}

.frame65a3f-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--frame65a3f-line-slate);
  border-radius: 4px;
  color: var(--frame65a3f-soft);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.frame65a3f-menu-close:active {
  color: var(--frame65a3f-accent);
  border-color: var(--frame65a3f-accent);
}

.frame65a3f-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 16px 40px;
}

.frame65a3f-menu-label {
  margin: 20px 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame65a3f-slate);
}

.frame65a3f-menu-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  margin: 8px 0;
  border: 1px solid var(--frame65a3f-line-slate);
  border-radius: 6px;
  background: rgba(20, 16, 29, 0.85);
  color: var(--frame65a3f-text);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.frame65a3f-menu-link:active,
.frame65a3f-menu-link:hover {
  color: var(--frame65a3f-accent);
  border-color: var(--frame65a3f-accent);
  box-shadow: 0 0 12px var(--frame65a3f-glow);
}

body.frame65a3f-menu-locks {
  overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Page column                                                         */
/* ------------------------------------------------------------------ */

.frame65a3f-page {
  padding-top: calc(var(--frame65a3f-head-h) + 10px);
  /* Keep clear of the floating dock bar. */
  padding-bottom: calc(var(--frame65a3f-dock-h) + 22px + env(safe-area-inset-bottom, 0px));
}

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

/* ------------------------------------------------------------------ */
/* Hero: H1, lead, carousel                                            */
/* ------------------------------------------------------------------ */

.frame65a3f-hero {
  padding: 4px 14px 0;
}

.frame65a3f-hero h1 {
  margin: 4px 0 10px;
  font-family: var(--frame65a3f-font-head);
  font-size: 25px;
  line-height: 1.28;
  font-weight: 700;
  color: var(--frame65a3f-text);
  letter-spacing: 0.01em;
}

.frame65a3f-hero h1::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  background: var(--frame65a3f-accent);
}

.frame65a3f-lead {
  margin: 12px 0 16px;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--frame65a3f-soft);
}

.frame65a3f-lead strong {
  color: var(--frame65a3f-text);
  font-weight: 600;
}

.frame65a3f-carousel {
  position: relative;
  margin: 0 0 6px;
}

.frame65a3f-hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border: 1px solid var(--frame65a3f-line);
  border-radius: 10px;
  background: var(--frame65a3f-panel-deep);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.frame65a3f-hero-track::-webkit-scrollbar {
  display: none;
}

.frame65a3f-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  background: var(--frame65a3f-panel-deep);
  text-align: left;
}

.frame65a3f-slide-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frame65a3f-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.92) 78%);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--frame65a3f-accent);
}

.frame65a3f-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame65a3f-line-slate);
  border-radius: 4px;
  background: rgba(10, 10, 10, 0.62);
  color: var(--frame65a3f-text);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.frame65a3f-hero-arrow:active {
  color: var(--frame65a3f-accent);
  border-color: var(--frame65a3f-accent);
}

.frame65a3f-hero-prev {
  left: 6px;
}

.frame65a3f-hero-next {
  right: 6px;
}

.frame65a3f-hero-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 10px 0 2px;
}

.frame65a3f-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--frame65a3f-line-slate);
  border-radius: 2px;
  background: rgba(20, 16, 29, 0.9);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.frame65a3f-dot-on,
.frame65a3f-dot.frame65a3f-dot-on:active {
  background: var(--frame65a3f-accent);
  border-color: var(--frame65a3f-accent);
  box-shadow: 0 0 10px rgba(238, 130, 238, 0.55);
}

/* ------------------------------------------------------------------ */
/* Game sections                                                       */
/* ------------------------------------------------------------------ */

.frame65a3f-section {
  padding: 24px 14px 4px;
  scroll-margin-top: calc(var(--frame65a3f-head-h) + 6px);
}

.frame65a3f-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frame65a3f-slate);
}

.frame65a3f-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--frame65a3f-accent);
  flex: 0 0 auto;
}

.frame65a3f-section h2 {
  margin: 0 0 8px;
  font-family: var(--frame65a3f-font-head);
  font-size: 19.5px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--frame65a3f-text);
}

.frame65a3f-blurb {
  margin: 0;
  font-size: 13px;
  line-height: 1.64;
  color: var(--frame65a3f-soft);
}

.frame65a3f-blurb a {
  color: var(--frame65a3f-slate);
  border-bottom: 1px solid rgba(123, 104, 238, 0.5);
  font-weight: 600;
}

.frame65a3f-blurb a:hover,
.frame65a3f-blurb a:focus-visible {
  color: var(--frame65a3f-accent);
  border-bottom-color: var(--frame65a3f-accent);
}

/* Pure-image tile with short name below */
.frame65a3f-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  margin-top: 14px;
}

.frame65a3f-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 6px 8px;
  background: var(--frame65a3f-panel);
  border: 1px solid var(--frame65a3f-line);
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.frame65a3f-tile:active {
  border-color: var(--frame65a3f-accent);
  box-shadow: 0 0 12px var(--frame65a3f-glow);
}

.frame65a3f-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--frame65a3f-panel-deep);
}

.frame65a3f-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.6em;
  font-size: 10.8px;
  line-height: 1.3;
  font-weight: 600;
  color: #dccdf0;
  overflow-wrap: anywhere;
}

.frame65a3f-more {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--frame65a3f-slate);
  background: rgba(123, 104, 238, 0.07);
  font-size: 12.3px;
  line-height: 1.6;
  color: var(--frame65a3f-soft);
}

.frame65a3f-more a {
  color: var(--frame65a3f-text);
  font-weight: 700;
  border-bottom: 1px solid var(--frame65a3f-slate);
}

.frame65a3f-more a:hover,
.frame65a3f-more a:focus-visible {
  color: var(--frame65a3f-accent);
  border-bottom-color: var(--frame65a3f-accent);
}

@media (min-width: 396px) {
  .frame65a3f-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ */
/* Content modules                                                     */
/* ------------------------------------------------------------------ */

.frame65a3f-module {
  margin-top: 26px;
  padding: 0 14px;
}

.frame65a3f-quote {
  margin: 10px 0;
  padding: 11px 13px;
  border-left: 2px solid var(--frame65a3f-slate);
  border-radius: 0 8px 8px 0;
  background: var(--frame65a3f-panel);
}

.frame65a3f-quote p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--frame65a3f-text);
}

.frame65a3f-quote-meta {
  margin: 7px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--frame65a3f-slate);
}

.frame65a3f-steps {
  margin: 12px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
  counter-reset: frame65a3f-step;
}

.frame65a3f-steps li {
  position: relative;
  counter-increment: frame65a3f-step;
  padding: 0 0 6px 36px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--frame65a3f-soft);
}

.frame65a3f-steps li::before {
  content: counter(frame65a3f-step);
  position: absolute;
  left: 0;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--frame65a3f-slate);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--frame65a3f-accent);
}

.frame65a3f-points {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.frame65a3f-points li {
  position: relative;
  padding: 0 0 6px 18px;
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--frame65a3f-soft);
}

.frame65a3f-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--frame65a3f-accent);
}

.frame65a3f-module h3 {
  margin: 20px 0 6px;
  font-family: var(--frame65a3f-font-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--frame65a3f-accent);
}

.frame65a3f-module p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.66;
  color: var(--frame65a3f-soft);
}

.frame65a3f-module p strong {
  color: var(--frame65a3f-text);
  font-weight: 600;
}

.frame65a3f-answer {
  margin-top: 14px;
  padding: 14px 14px 6px;
  border: 1px solid var(--frame65a3f-line-slate);
  border-radius: 10px;
  background: rgba(123, 104, 238, 0.07);
}

.frame65a3f-stage-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 4px;
}

.frame65a3f-stage {
  padding: 10px 8px;
  border: 1px solid var(--frame65a3f-line);
  border-radius: 8px;
  background: var(--frame65a3f-panel);
  text-align: center;
}

.frame65a3f-stage b {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frame65a3f-accent);
}

.frame65a3f-stage span {
  display: block;
  margin-top: 3px;
  font-size: 11.3px;
  line-height: 1.4;
  color: var(--frame65a3f-dim);
}

/* ------------------------------------------------------------------ */
/* Extended footer: promo shortcuts, brand, directory, disclaimer      */
/* ------------------------------------------------------------------ */

.frame65a3f-ext {
  margin-top: 30px;
  padding: 20px 14px 6px;
  border-top: 1px solid var(--frame65a3f-line);
}

.frame65a3f-ext-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frame65a3f-slate);
}

.frame65a3f-shorts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.frame65a3f-shorts::-webkit-scrollbar {
  display: none;
}

.frame65a3f-short {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(238, 130, 238, 0.32);
  border-radius: 3px;
  background: rgba(238, 130, 238, 0.1);
  color: var(--frame65a3f-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.frame65a3f-short:active {
  border-color: var(--frame65a3f-accent);
  color: var(--frame65a3f-accent);
  box-shadow: 0 0 12px var(--frame65a3f-glow);
}

.frame65a3f-ext h2 {
  margin: 22px 0 8px;
  font-family: var(--frame65a3f-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--frame65a3f-text);
}

.frame65a3f-ext-brand {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.66;
  color: var(--frame65a3f-soft);
}

.frame65a3f-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.frame65a3f-directory li {
  min-width: 0;
}

.frame65a3f-directory a {
  display: inline-block;
  padding: 7px 0;
  font-size: 12.4px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--frame65a3f-soft);
  border-bottom: 1px solid rgba(123, 104, 238, 0.35);
}

.frame65a3f-directory a:hover,
.frame65a3f-directory a:focus-visible {
  color: var(--frame65a3f-accent);
  border-bottom-color: var(--frame65a3f-accent);
}

.frame65a3f-disclaimer {
  margin-top: 16px;
  padding: 11px 13px;
  border: 1px dashed var(--frame65a3f-line-slate);
  border-radius: 8px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--frame65a3f-dim);
}

/* ------------------------------------------------------------------ */
/* Common footer + floating dock bar                                   */
/* ------------------------------------------------------------------ */

.frame65a3f-foot {
  padding: 18px 14px 10px;
  border-top: 1px solid var(--frame65a3f-line);
  text-align: center;
  font-size: 12px;
  color: var(--frame65a3f-dim);
}

.frame65a3f-foot p {
  margin: 0;
}

.frame65a3f-dock {
  position: fixed;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 20px);
  max-width: 410px;
  z-index: 50;
  display: flex;
  padding: 5px 4px;
  background: rgba(15, 12, 22, 0.97);
  border: 1px solid var(--frame65a3f-line-slate);
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.frame65a3f-dock-item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 6px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--frame65a3f-dim);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.frame65a3f-dock-item:active {
  background: rgba(123, 104, 238, 0.16);
  color: var(--frame65a3f-accent);
}

.frame65a3f-dock-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.frame65a3f-dock-label {
  font-size: 10.4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.frame65a3f-dock-item.frame65a3f-on {
  color: var(--frame65a3f-accent);
}

.frame65a3f-dock-item.frame65a3f-on .frame65a3f-dock-ico {
  filter: drop-shadow(0 0 6px rgba(238, 130, 238, 0.6));
}

.frame65a3f-dock-item.frame65a3f-on .frame65a3f-dock-label {
  text-shadow: 0 0 8px rgba(238, 130, 238, 0.55);
}

/* ------------------------------------------------------------------ */
/* Motion and small-canvas refinements                                 */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .frame65a3f-hero-track {
    scroll-behavior: auto;
  }
}

@media (min-width: 430px) {
  .frame65a3f-hero h1 {
    font-size: 27px;
  }

  .frame65a3f-section h2 {
    font-size: 21px;
  }
}

/* Tightest canvas: keep brand, both CTAs and the menu trigger on one row. */
@media (max-width: 348px) {
  .frame65a3f-head-row {
    gap: 6px;
    padding: 8px 10px;
  }

  .frame65a3f-brand-name {
    font-size: 18px;
  }

  .frame65a3f-btn {
    padding: 7px 9px;
    font-size: 11.5px;
  }

  .frame65a3f-logo {
    width: 28px;
    height: 28px;
  }
}
