/* SmartRemote marketing site. No build step: plain CSS, fonts served from /assets/fonts. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Michroma';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('fonts/michroma-latin-400-normal.woff2') format('woff2');
}

/* The site is dark by design (like the dashboard's sign-in). */
:root {
  color-scheme: dark;
  --bg: #070b13;
  --bg-2: #0b1120;
  --surface: rgb(255 255 255 / 0.035);
  --surface-2: rgb(255 255 255 / 0.06);
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.16);
  --ink: #f2f5fa;
  --ink-soft: #a8b3c7;
  --ink-mute: #8a96ab;
  --gold: #d8bd7d;
  --gold-light: #f3e3b8;
  --gold-deep: #b8954a;
  --blue: #5b8cff;
  --cyan: #38d6f5;
  --violet: #9b7bff;
  --green: #3fdc8a;
  --amber: #fbbf24;
  --red: #fb7185;
  --radius: 18px;
  --max: 1200px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-brand: 'Michroma', var(--font);
  --mono: ui-monospace, 'Cascadia Code', Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70rem 40rem at 50% -10rem, rgb(91 140 255 / 0.12), transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--gold-light);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.55em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #0b111c;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* Gradient text */
.grad {
  background: linear-gradient(
    100deg,
    var(--gold-light) 0%,
    var(--gold) 35%,
    #fff 55%,
    var(--gold) 75%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}

.grad-blue {
  background: linear-gradient(100deg, #9ec1ff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes shine {
  to {
    background-position: -200% 0;
  }
}

/* ---------- Icons (inline sprite, see <svg class="sprite">) ---------- */

/* Not display:none: gradients inside a hidden SVG would stop rendering. */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 48px;
  height: 48px;
  flex: none;
  filter: drop-shadow(0 8px 14px rgb(0 0 0 / 0.45));
}

.ico-sm {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.4));
}

.ico-lg {
  width: 60px;
  height: 60px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  padding: 0 12px;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 62px;
  max-width: 1180px;
  padding: 0 10px 0 16px;
  border-radius: 999px;
  background: rgb(12 18 32 / 0.72);
  border: 1px solid var(--line-2);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  box-shadow:
    0 10px 30px -12px rgb(0 0 0 / 0.6),
    inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-brand);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav a:hover {
  color: #fff;
  background: var(--surface-2);
}

.nav a[aria-current='page'] {
  color: #fff;
  background: rgb(216 189 125 / 0.14);
  box-shadow: inset 0 0 0 1px rgb(216 189 125 / 0.35);
}

.nav-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.nav-toggle svg {
  margin: auto;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    background: rgb(12 18 32 / 0.97);
    border: 1px solid var(--line-2);
    border-radius: 22px;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.8);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .nav a {
    padding: 12px 16px;
  }

  .nav-actions {
    margin-top: 12px;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1081px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
  }
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.2s;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 50%, var(--gold-deep));
  color: #0b111c;
  box-shadow:
    0 10px 30px -10px rgb(216 189 125 / 0.65),
    inset 0 1px 0 rgb(255 255 255 / 0.6);
}

.btn-gold:hover {
  box-shadow:
    0 16px 40px -10px rgb(216 189 125 / 0.8),
    inset 0 1px 0 rgb(255 255 255 / 0.6);
}

.btn-ghost {
  color: #fff;
  border-color: var(--line-2);
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgb(255 255 255 / 0.3);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.9rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  margin-top: -74px;
  padding-top: 170px;
}

.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: drift 18s ease-in-out infinite alternate;
}

.aurora i:nth-child(1) {
  width: 520px;
  height: 520px;
  left: -120px;
  top: 40px;
  background: #1e4fd8;
}

.aurora i:nth-child(2) {
  width: 460px;
  height: 460px;
  right: -80px;
  top: -60px;
  background: #b8954a;
  opacity: 0.35;
  animation-duration: 22s;
}

.aurora i:nth-child(3) {
  width: 380px;
  height: 380px;
  left: 40%;
  top: 320px;
  background: #6d4aff;
  opacity: 0.28;
  animation-duration: 26s;
}

@keyframes drift {
  to {
    transform: translate(60px, 40px) scale(1.12);
  }
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}

.pill b {
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill:hover {
  border-color: rgb(255 255 255 / 0.3);
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 40em;
}

.hero-center .lead {
  margin: 0 auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 26px;
}

.hero-center .hero-cta {
  justify-content: center;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-center .hero-points {
  justify-content: center;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  color: var(--green);
  flex: none;
}

.page-hero {
  padding-bottom: 56px;
}

/* ---------- Product stage (hero mock-up with floating cards) ---------- */

.stage {
  position: relative;
  max-width: 1040px;
  margin: 64px auto 0;
  perspective: 1600px;
}

.stage-frame {
  position: relative;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgb(216 189 125 / 0.55),
    rgb(255 255 255 / 0.08) 35%,
    rgb(91 140 255 / 0.4)
  );
  box-shadow:
    0 60px 120px -40px rgb(0 0 0 / 0.9),
    0 0 80px -20px rgb(91 140 255 / 0.35);
  transform: rotateX(8deg);
  transform-origin: center top;
  transition: transform 0.8s ease;
}

.stage.in .stage-frame,
.stage:hover .stage-frame {
  transform: rotateX(0deg);
}

.mock {
  border-radius: 19px;
  background: #0c1322;
  overflow: hidden;
  font-size: 0.8rem;
  color: #cfd7e4;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #0a101c;
  border-bottom: 1px solid #1a2438;
}

.mock-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.mock-bar i:nth-child(2) {
  background: #febc2e;
}

.mock-bar i:nth-child(3) {
  background: #28c840;
}

.mock-bar span {
  margin: 0 auto;
  padding: 4px 40px;
  border-radius: 8px;
  background: #121b2c;
  color: #8592a8;
  font-size: 0.74rem;
}

.mock-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 420px;
}

.mock-side {
  background: #0a101c;
  border-right: 1px solid #1a2438;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-side b {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #8592a8;
  font-weight: 600;
}

.mock-side b svg {
  width: 18px;
  height: 18px;
  filter: none;
}

.mock-side b.on {
  color: #fff;
  background: linear-gradient(90deg, rgb(216 189 125 / 0.16), transparent);
  box-shadow: inset 2px 0 0 var(--gold);
}

.mock-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mock-stat {
  background: linear-gradient(180deg, #131d30, #0f1828);
  border: 1px solid #1c2840;
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
}

.mock-stat small {
  display: block;
  color: #8592a8;
  margin-bottom: 2px;
}

.mock-stat strong {
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.mock-stat .up {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
}

.spark {
  height: 26px;
  margin-top: 6px;
  width: 100%;
}

.mock-table {
  background: #0f1828;
  border: 1px solid #1c2840;
  border-radius: 12px;
  overflow: hidden;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 0.7fr;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border-top: 1px solid #172236;
}

.mock-row > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-row:first-child {
  border-top: 0;
  color: #8592a8;
  font-weight: 600;
  background: #0d1524;
}

.os {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-right: 6px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgb(63 220 138 / 0.15);
  vertical-align: 1px;
}

.dot.off {
  background: #64748b;
  box-shadow: none;
}

.dot.warn {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgb(251 191 36 / 0.18);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgb(251 191 36 / 0);
  }
}

.bar {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: #1e2a42;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #3b82f6, var(--cyan));
  transition: width 1.2s ease;
}

.bar i.hot {
  background: linear-gradient(90deg, #f59e0b, #fb7185);
}

.chip {
  justify-self: start;
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: #1c2840;
  color: #cfd7e4;
  font-size: 0.72rem;
  font-weight: 600;
}

.chip.ok {
  background: rgb(63 220 138 / 0.12);
  color: #8ef0bd;
}

.chip.gold {
  background: rgb(216 189 125 / 0.16);
  color: var(--gold-light);
}

.chip.red {
  background: rgb(251 113 133 / 0.14);
  color: #fda4b4;
}

/* Floating cards around the stage */
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgb(16 24 40 / 0.82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -16px rgb(0 0 0 / 0.8);
  font-size: 0.85rem;
  color: var(--ink-soft);
  animation: bob 6s ease-in-out infinite;
  white-space: nowrap;
}

.float strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.float .ico {
  width: 38px;
  height: 38px;
}

.float-1 {
  left: -54px;
  top: 120px;
}

.float-2 {
  right: -60px;
  top: 60px;
  animation-delay: -2s;
}

.float-3 {
  right: -36px;
  bottom: 64px;
  animation-delay: -4s;
}

.float-4 {
  left: -40px;
  bottom: 40px;
  animation-delay: -3s;
}

@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}

.ring {
  width: 42px;
  height: 42px;
  flex: none;
}

@media (max-width: 1180px) {
  .float-1,
  .float-4 {
    left: 8px;
  }

  .float-2,
  .float-3 {
    right: 8px;
  }
}

@media (max-width: 760px) {
  .float {
    display: none;
  }

  .mock-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-side {
    display: none;
  }

  .mock-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mock-row {
    grid-template-columns: 1.5fr 1fr 0.8fr;
  }

  .mock-row > :nth-child(2) {
    display: none;
  }
}

/* ---------- Marquee ---------- */

.marquee {
  padding: 40px 0 8px;
}

.marquee p {
  text-align: center;
  color: var(--ink-mute);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.marquee-track {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track ul {
  display: flex;
  gap: 14px;
  padding: 0 7px;
  margin: 0;
  list-style: none;
  flex: none;
  animation: scroll 45s linear infinite;
}

.marquee-track:hover ul {
  animation-play-state: paused;
}

.marquee-track li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.marquee-track li .ico {
  width: 30px;
  height: 30px;
  filter: none;
}

@keyframes scroll {
  to {
    transform: translateX(-100%);
  }
}

/* ---------- Sections ---------- */

section {
  padding: 104px 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgb(216 189 125 / 0.08);
  border: 1px solid rgb(216 189 125 / 0.25);
  margin-bottom: 18px;
}

.divider {
  height: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.glow-top::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: min(900px, 90%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgb(216 189 125 / 0.6), transparent);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Cards with a mouse-following spotlight (--x/--y set by site.js) */
.card {
  position: relative;
  border-radius: var(--radius);
  padding: 28px;
  background:
    radial-gradient(
      420px circle at var(--x, 50%) var(--y, -40%),
      rgb(216 189 125 / 0.1),
      transparent 45%
    ),
    linear-gradient(180deg, rgb(255 255 255 / 0.045), rgb(255 255 255 / 0.015));
  border: 1px solid var(--line);
  transition:
    border-color 0.25s,
    transform 0.25s;
  overflow: hidden;
}

.card:hover {
  border-color: rgb(216 189 125 / 0.35);
}

.card p {
  color: var(--ink-soft);
  margin: 0;
}

.card .ico {
  margin-bottom: 20px;
}

.card a.more {
  display: inline-flex;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--gold-light);
}

.card a.more:hover {
  text-decoration: underline;
}

.card-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.card-row .ico {
  margin: 0;
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.bento .card {
  display: flex;
  flex-direction: column;
}

.b-2 {
  grid-column: span 2;
}

.b-3 {
  grid-column: span 3;
}

.b-4 {
  grid-column: span 4;
}

.b-tall {
  grid-row: span 2;
}

.bento .visual {
  margin-top: auto;
  padding-top: 22px;
}

@media (max-width: 980px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .b-2,
  .b-3,
  .b-4 {
    grid-column: span 1;
  }

  .b-wide-md {
    grid-column: span 2;
  }

  .b-tall {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .b-wide-md {
    grid-column: span 1;
  }
}

/* Mini visuals inside bento cards */
.mini-screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f3b8c, #1c5fd6 50%, #4fa3ff);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-2);
}

.mini-screen .win {
  position: absolute;
  left: 12%;
  top: 14%;
  width: 56%;
  height: 58%;
  border-radius: 6px;
  background: #f4f6fa;
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.35);
}

.mini-screen .win::before {
  content: '';
  display: block;
  height: 14%;
  background: #e2e7ef;
  border-radius: 6px 6px 0 0;
}

.mini-screen .win i {
  display: block;
  height: 7%;
  margin: 8% 8% 0;
  border-radius: 3px;
  background: #cbd3df;
}

.mini-screen .win i:nth-child(2) {
  width: 60%;
}

.mini-screen .task {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11%;
  background: rgb(10 16 28 / 0.75);
  backdrop-filter: blur(6px);
}

.cursor {
  position: absolute;
  left: 62%;
  top: 52%;
  width: 22px;
  animation: roam 7s ease-in-out infinite;
}

@keyframes roam {
  30% {
    transform: translate(-40px, -30px);
  }
  60% {
    transform: translate(20px, -50px);
  }
}

.live {
  position: absolute;
  right: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgb(10 16 28 / 0.7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.2s steps(2) infinite;
}

@keyframes blink {
  50% {
    opacity: 0.2;
  }
}

.list-mini {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.list-mini li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.035);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink);
}

.list-mini li span:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress {
  height: 8px;
  border-radius: 8px;
  background: #1e2a42;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

/* ---------- Terminal ---------- */

.term {
  font-family: var(--mono);
  font-size: 0.84rem;
  background: #080d17;
  border-radius: 14px;
  padding: 16px 18px;
  color: #cfd7e4;
  border: 1px solid #1a2438;
  line-height: 1.75;
  overflow-x: auto;
  min-height: 170px;
}

.term .p {
  color: var(--gold);
}

.term .ok {
  color: var(--green);
}

.term .mute {
  color: #8592a8;
}

.caret {
  display: inline-block;
  width: 8px;
  height: 1em;
  vertical-align: -2px;
  background: var(--gold);
  animation: blink 1s steps(2) infinite;
}

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.feature-row + .feature-row {
  margin-top: 120px;
}

.feature-row.flip > :first-child {
  order: 2;
}

@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-row.flip > :first-child {
    order: 0;
  }

  .feature-row + .feature-row {
    margin-top: 88px;
  }
}

.feature-row h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}

.feature-row .head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.feature-row .head .eyebrow {
  margin: 0;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 11px;
}

.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3L14.5 7' fill='none' stroke='%230b111c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 18px no-repeat,
    linear-gradient(135deg, var(--gold-light), var(--gold));
}

.panel {
  position: relative;
  border-radius: 22px;
  padding: 22px;
  background:
    radial-gradient(ellipse at 100% 0%, rgb(216 189 125 / 0.16), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgb(91 140 255 / 0.16), transparent 55%),
    linear-gradient(160deg, #111a2d, #0a101c);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.9);
}

.panel .mock {
  border: 1px solid #1a2438;
}

/* ---------- Tabs showcase ---------- */

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tabs button .ico {
  width: 30px;
  height: 30px;
  filter: none;
}

.tabs button:hover {
  color: #fff;
  border-color: var(--line-2);
}

.tabs button[aria-selected='true'] {
  color: #fff;
  background: rgb(216 189 125 / 0.12);
  border-color: rgb(216 189 125 / 0.45);
}

.tabpanel[hidden] {
  display: none;
}

.tabpanel {
  animation: fadeup 0.45s ease;
}

@keyframes fadeup {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* AI chat bubble */
.chat {
  display: grid;
  gap: 12px;
}

.bubble {
  max-width: 88%;
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.bubble.me {
  justify-self: end;
  background: linear-gradient(135deg, #2350c4, #3b6ef0);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble.ai {
  background: rgb(255 255 255 / 0.06);
  border: 1px solid var(--line-2);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.bubble.ai b {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c8b8ff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.bubble code {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--gold-light);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Tool stack comparison ---------- */

.stack {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: center;
}

.stack-list {
  display: grid;
  gap: 10px;
}

.stack-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgb(251 113 133 / 0.06);
  border: 1px dashed rgb(251 113 133 / 0.35);
  color: var(--ink-soft);
}

.stack-list div s {
  color: #fda4b4;
}

.stack-arrow {
  font-size: 2rem;
  color: var(--gold);
}

.stack-one {
  text-align: center;
  padding: 34px 26px;
  border-radius: 22px;
  border: 1px solid rgb(216 189 125 / 0.45);
  background:
    radial-gradient(ellipse at 50% 0%, rgb(216 189 125 / 0.2), transparent 60%),
    rgb(255 255 255 / 0.03);
  box-shadow: 0 30px 60px -30px rgb(216 189 125 / 0.45);
}

.stack-one img {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
}

@media (max-width: 860px) {
  .stack {
    grid-template-columns: 1fr;
  }

  .stack-arrow {
    text-align: center;
    transform: rotate(90deg);
  }
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
}

.steps .card::after {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  right: 22px;
  top: 14px;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgb(255 255 255 / 0.06);
}

/* ---------- Pricing ---------- */

.billing-toggle {
  display: inline-flex;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  margin: 0 auto 44px;
}

.billing-toggle button {
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
}

.billing-toggle button[aria-pressed='true'] {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0b111c;
}

.billing-toggle .save {
  color: var(--green);
  font-size: 0.8rem;
  margin-left: 4px;
}

.billing-toggle button[aria-pressed='true'] .save {
  color: #14532d;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

.plan {
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.plan.featured {
  border: 1px solid rgb(216 189 125 / 0.6);
  background:
    radial-gradient(ellipse at 50% 0%, rgb(216 189 125 / 0.16), transparent 60%),
    linear-gradient(180deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02));
  box-shadow: 0 40px 80px -40px rgb(216 189 125 / 0.55);
}

.plan .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0b111c;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.plan-head h3 {
  font-size: 1.4rem;
  margin: 0;
}

.price {
  margin: 22px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.price .cur {
  font-weight: 700;
  color: var(--ink-soft);
}

.price .amount {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.price .per {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.price-note {
  color: var(--ink-mute);
  font-size: 0.88rem;
  min-height: 1.4em;
}

.plan .checks {
  margin: 24px 0 28px;
  flex: 1;
}

.plan .checks li {
  font-size: 0.97rem;
}

.plan .btn {
  width: 100%;
}

.compare-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.02);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.compare th,
.compare td {
  padding: 14px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.compare th:first-child,
.compare td:first-child {
  text-align: left;
}

.compare thead th {
  background: rgb(255 255 255 / 0.04);
  font-weight: 800;
}

.compare tbody th {
  font-weight: 600;
}

.compare tr.group th {
  background: rgb(216 189 125 / 0.06);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.compare .yes {
  color: var(--green);
  font-weight: 800;
}

.compare .no {
  color: var(--ink-mute);
}

@media (max-width: 640px) {
  .compare {
    font-size: 0.88rem;
  }

  .compare th,
  .compare td {
    padding: 10px 8px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 22px;
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: rgb(216 189 125 / 0.35);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 34px 18px 0;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 13px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  color: var(--ink-soft);
  padding-bottom: 6px;
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 40px 0 110px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 72px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 34rem 20rem at 100% 0%, rgb(216 189 125 / 0.28), transparent 60%),
    radial-gradient(ellipse 34rem 20rem at 0% 100%, rgb(91 140 255 / 0.3), transparent 60%),
    linear-gradient(140deg, #121c33, #080d18);
  border: 1px solid rgb(216 189 125 / 0.35);
}

.cta-box > * {
  position: relative;
}

.cta-box p {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 36em;
  margin: 0 auto 30px;
}

.cta-box .hero-cta {
  justify-content: center;
  margin: 0;
}

@media (max-width: 640px) {
  .cta-box {
    padding: 48px 22px;
  }
}

/* ---------- Category navigation (features page) ---------- */

.cat-nav {
  position: sticky;
  top: 86px;
  z-index: 20;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  margin: 0 auto 72px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgb(12 18 32 / 0.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cat-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.cat-nav a:hover {
  color: #fff;
  background: var(--surface-2);
}

.cat-nav .ico {
  width: 26px;
  height: 26px;
  filter: none;
}

@media (max-width: 900px) {
  .cat-nav {
    position: static;
    border-radius: 20px;
  }
}

.all-group + .all-group {
  margin-top: 56px;
}

.all-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.feat strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.feat span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.feat .ico {
  width: 36px;
  height: 36px;
  filter: none;
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 16px;
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form .row {
    grid-template-columns: 1fr;
  }
}

.form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgb(0 0 0 / 0.25);
  color: var(--ink);
  width: 100%;
}

.form select option {
  background: #0f1828;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgb(216 189 125 / 0.7);
  outline-offset: 0;
  border-color: var(--gold);
}

.form .hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-list strong {
  display: block;
}

.contact-list span {
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  color: var(--ink-mute);
  padding: 72px 0 30px;
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgb(0 0 0 / 0.35));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.status-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgb(63 220 138 / 0.2);
}

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ---------- Utilities ---------- */

.center {
  text-align: center;
}

.muted {
  color: var(--ink-soft);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(155 123 255 / 0.18);
  color: #cbbcff;
  vertical-align: middle;
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stage-frame {
    transform: none;
  }
}

/* ---------- Additions: maker badge, imprint, tiny icons ---------- */

.ico-xs {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: -4px;
}

svg.os {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 7px;
}

.maker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  border: 1px solid rgb(216 189 125 / 0.3);
  background: rgb(216 189 125 / 0.06);
  text-decoration: none;
  line-height: 1.3;
}

.site-footer a.maker {
  color: var(--ink);
}

.maker:hover {
  border-color: rgb(216 189 125 / 0.6);
}

.maker strong {
  color: var(--gold-light);
}

.maker small {
  display: block;
  color: var(--ink-mute);
  font-size: 0.8rem;
}

.facts-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 24px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.facts-list dt {
  color: var(--ink-mute);
}

.facts-list dd {
  margin: 0;
}

@media (max-width: 520px) {
  .facts-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .facts-list dd {
    margin-bottom: 10px;
  }
}

/* ---------- MOS Systems ---------- */

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-top: 3px;
}

.mos-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 40px 28px;
  border-radius: 24px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgb(216 189 125 / 0.45);
  background:
    radial-gradient(ellipse at 50% 0%, rgb(216 189 125 / 0.22), transparent 60%),
    linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.015));
  box-shadow: 0 40px 80px -40px rgb(216 189 125 / 0.5);
  transition:
    transform 0.25s,
    border-color 0.25s;
}

.mos-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.mos-card img {
  width: 76px;
  height: 76px;
  margin-bottom: 8px;
}

.mos-card > strong {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.mos-card > span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.mos-card em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 6px;
}

.mos-products {
  list-style: none;
  padding: 0;
  margin: 18px 0 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.mos-products li {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 16px 10px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid var(--line);
}

.mos-products small {
  color: var(--ink-soft);
}

@media (max-width: 400px) {
  .brand-text small {
    display: none;
  }
}

/* ---------- Language menu ---------- */

.lang {
  position: relative;
}

.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary:hover,
.lang[open] summary {
  color: #fff;
  background: var(--surface-2);
}

.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 160px;
  list-style: none;
  margin: 0;
  padding: 6px;
  border-radius: 14px;
  background: rgb(12 18 32 / 0.97);
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -16px rgb(0 0 0 / 0.8);
}

.lang a {
  display: block;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.lang a:hover {
  color: #fff;
  background: var(--surface-2);
}

.lang a[aria-current] {
  color: var(--gold-light);
  background: rgb(216 189 125 / 0.1);
}

@media (max-width: 1080px) {
  .lang summary {
    justify-content: center;
  }

  .lang ul {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }
}

/* Grid children may shrink below their content (long one-line mock-up rows, long words). */
.feature-row > *,
.grid > *,
.bento > *,
.plans > * {
  min-width: 0;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}

.list-mini li span:first-child {
  flex: 1;
  min-width: 0;
  white-space: normal;
}

.list-mini li > .chip,
.list-mini li > b {
  flex: none;
}
