:root,
html[data-theme="dark"] {
  --brand-orange: #ff6c4d;
  --brand-amber: #ffb33a;
  --brand-gold: #dc8f09;
  --brand-gradient: linear-gradient(90deg, #ffb33a, #ff6c4d);
  --brand-gradient-diag: linear-gradient(135deg, #ffb33a 0%, #ff8a45 50%, #ff6c4d 100%);
  --ink: #f3f4f6;
  --ink-soft: #e5e7eb;
  --muted: #9ca3af;
  --line: #374151;
  --surface: #111827;
  --surface-soft: #1f2937;
  --surface-card: #1f2937;
  --surface-elevated: #273449;
  --surface-deep: #0b1220;
  --surface-band: #0f172a;
  --panel-item: #111827;
  --card-border: rgba(255, 255, 255, 0.1);
  --card-wash: rgba(255, 255, 255, 0.04);
  --card-wash-hover: rgba(255, 255, 255, 0.07);
  --header-bg: rgba(17, 24, 39, 0.92);
  --header-bg-scrolled: rgba(17, 24, 39, 0.98);
  --header-border: #1f2937;
  --nav-link: rgba(255, 255, 255, 0.9);
  --nav-link-active: #ffffff;
  --nav-hover-bg: rgba(255, 255, 255, 0.1);
  --nav-active-bg: rgba(255, 255, 255, 0.14);
  --toggle-bg: rgba(255, 255, 255, 0.08);
  --toggle-border: #374151;
  --toggle-color: #e5e7eb;
  --logo-filter: none;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --panel-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  --font-sans: "Plus Jakarta Sans", sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", sans-serif;
  --header-h: 76px;
  --container-max: 1120px;
  --container-pad: 1.5rem;
  --hero-glow-a: rgba(220, 143, 9, 0.14);
  --hero-glow-b: rgba(255, 108, 77, 0.1);
  --stat-bg: rgba(255, 255, 255, 0.05);
  --stat-border: rgba(255, 255, 255, 0.08);
  --stat-text: rgba(255, 255, 255, 0.7);
  --client-filter: grayscale(1) brightness(1.4);
  color-scheme: dark;
}

html[data-theme="light"] {
  --ink: #111827;
  --ink-soft: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #f5f7fb;
  --surface-soft: #ffffff;
  --surface-card: #ffffff;
  --surface-elevated: #ffffff;
  --surface-deep: #0f172a;
  --surface-band: #eef2f7;
  --panel-item: #f8fafc;
  --card-border: rgba(17, 24, 39, 0.1);
  --card-wash: #ffffff;
  --card-wash-hover: #f8fafc;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-bg-scrolled: rgba(255, 255, 255, 0.98);
  --header-border: #e5e7eb;
  --nav-link: #374151;
  --nav-link-active: #111827;
  --nav-hover-bg: rgba(17, 24, 39, 0.06);
  --nav-active-bg: rgba(17, 24, 39, 0.08);
  --toggle-bg: #ffffff;
  --toggle-border: #d1d5db;
  --toggle-color: #111827;
  --logo-filter: brightness(0);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --panel-shadow: 0 20px 44px -12px rgba(15, 23, 42, 0.12);
  --hero-glow-a: rgba(220, 143, 9, 0.1);
  --hero-glow-b: rgba(255, 108, 77, 0.07);
  --stat-bg: #ffffff;
  --stat-border: #e5e7eb;
  --stat-text: #6b7280;
  --client-filter: grayscale(1) opacity(0.65);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.75rem;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.container {
  width: min(var(--container-max), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}

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

.btn-white {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 10px 28px rgba(255, 108, 77, 0.3);
}

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

.btn-outline-white:hover {
  border-color: var(--brand-amber);
  color: var(--brand-amber);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 12px 28px rgba(255, 108, 77, 0.35);
}

.btn-dark {
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
}

html[data-theme="light"] .btn-dark {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

html[data-theme="light"] .btn-dark:hover {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}

.btn-signin {
  background: var(--brand-gradient);
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 8px 20px rgba(255, 108, 77, 0.28);
  flex-shrink: 0;
  border: none;
}

.btn-signin:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255, 108, 77, 0.38);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: rgba(255, 179, 58, 0.12);
  border: 1px solid rgba(255, 179, 58, 0.28);
  color: var(--brand-amber);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pill-dark {
  background: rgba(255, 179, 58, 0.1);
  border: 1px solid rgba(255, 179, 58, 0.22);
  color: var(--brand-amber);
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-amber);
}

/* Header — constrained to site container */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header > .container {
  width: min(var(--container-max), calc(100% - (var(--container-pad) * 2)));
}

.site-header.scrolled,
.site-header.on-light {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: none;
}

.hero-banner .hero-slide-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.main-nav > a,
.nav-dropdown > a {
  color: var(--nav-link);
  font-weight: 600;
  font-size: .9rem;
  position: relative;
  padding: .5rem .7rem;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}

.main-nav > a:hover,
.nav-dropdown > a:hover {
  color: var(--nav-link-active);
  background: var(--nav-hover-bg);
}

.main-nav > a.active,
.nav-dropdown > a.active {
  color: var(--nav-link-active);
  background: var(--nav-active-bg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  margin-left: .35rem;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  color: var(--toggle-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--brand-amber);
  color: var(--brand-amber);
}

.theme-icon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="light"] .theme-icon-moon { display: block; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  transform: translateY(8px);
  min-width: 260px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .6rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: .2s ease;
  z-index: 20;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: .7rem .85rem;
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .9rem;
}

.dropdown-menu a:hover {
  background: rgba(255, 179, 58, 0.1);
  color: var(--brand-amber);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--toggle-color);
}

/* App-style hero */
.hero {
  position: relative;
  min-height: auto;
  background:
    radial-gradient(ellipse at 20% 0%, var(--hero-glow-a), transparent 45%),
    radial-gradient(ellipse at 90% 30%, var(--hero-glow-b), transparent 40%),
    var(--surface);
  color: var(--ink);
  overflow: hidden;
  padding: calc(var(--header-h) + 2rem) 0 0;
}

.hero-glow {
  position: absolute;
  inset: 10% 30% auto 20%;
  height: 50%;
  background: radial-gradient(circle, rgba(255, 179, 58, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-text-wrap {
  position: relative;
  z-index: 1;
  min-height: clamp(420px, 68vh, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 2.5rem;
}

.hero-banner {
  display: none;
}

.hero-banner.active {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: center;
  animation: heroIn .65s ease;
  padding-bottom: 1.25rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  max-width: 12ch;
  margin-top: 1rem;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-amber);
}

html[data-theme="light"] .hero h1 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--ink);
}

.hero p.lead {
  font-size: 1.08rem;
  max-width: 48ch;
  color: var(--muted);
  margin: 1rem 0 1.4rem;
  line-height: 1.65;
}

.hero-checks {
  display: grid;
  gap: .65rem;
  margin-bottom: 1.6rem;
}

.hero-checks li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-checks li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 179, 58, 0.15);
  color: var(--brand-amber);
  display: grid;
  place-items: center;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: .5rem;
}

.hero-svg-bg {
  position: absolute;
  right: -4%;
  top: 12%;
  width: min(52vw, 640px);
  height: auto;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.hero-orbit {
  transform-origin: 620px 280px;
  animation: homeOrbit 22s linear infinite;
}

.hero-pulse-dot { animation: homePulseDot 2.2s ease-in-out infinite; }
.hero-float-a { animation: homeBob 4s ease-in-out infinite; }
.hero-float-b { animation: homeBob 5s ease-in-out infinite .6s; }

.hero-visual {
  position: relative;
  width: min(100%, 360px);
  margin-left: auto;
  aspect-ratio: 1;
}

.hero-visual-frame {
  position: absolute;
  inset: 6%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--surface-card);
  box-shadow: var(--panel-shadow);
  animation: homeBob 6s ease-in-out infinite;
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
  background-size: 220% 220%;
  animation: homeShine 4.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .8rem .55rem .55rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3f4f6;
  font-size: .82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

html[data-theme="light"] .hero-chip {
  background: rgba(255,255,255,.92);
  border-color: rgba(17,24,39,.1);
  color: #111827;
}

.hero-chip-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 179, 58, 0.16);
  color: var(--brand-amber);
}

.hero-chip-icon svg { width: 15px; height: 15px; }

.hero-chip-1 { top: 4%; left: -4%; animation: homeBob 3.6s ease-in-out infinite; }
.hero-chip-2 { top: 42%; right: -6%; animation: homeBob 4.2s ease-in-out infinite .35s; }
.hero-chip-3 { bottom: 6%; left: 8%; animation: homeBob 3.9s ease-in-out infinite .7s; }

@keyframes homeOrbit { to { transform: rotate(360deg); } }
@keyframes homePulseDot {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.35); opacity: 1; }
}
@keyframes homeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes homeShine {
  0% { background-position: 120% 0; }
  100% { background-position: -20% 0; }
}

.hero-wave { display: none; }

.hero-dots {
  position: relative;
  display: flex;
  gap: .55rem;
  margin-top: 2.75rem;
  padding-top: .75rem;
  z-index: 6;
  pointer-events: auto;
}

.hero-dots button {
  width: 32px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.hero-dots button.active { background: var(--brand-amber); }

.center-head {
  text-align: center;
  margin-inline: auto;
}

.center-head .btn { margin-top: .5rem; }

/* Text-only product stack */
.section-platform {
  background:
    radial-gradient(circle at 10% 0%, rgba(255,108,77,.08), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(255,179,58,.1), transparent 40%),
    var(--surface);
  color: var(--ink);
}

.section-platform .section-label { color: var(--brand-amber); }
.section-platform .section-head p { color: var(--muted); }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.stack-card {
  position: relative;
  background: var(--card-wash);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 1.45rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.stack-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,179,58,.45);
  background: var(--card-wash-hover);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .stack-card {
  box-shadow: var(--shadow);
}

.stack-card:hover .stack-icon {
  transform: translateY(-2px) scale(1.05);
  border-color: rgba(255, 179, 58, 0.55);
  box-shadow: 0 10px 24px rgba(255, 108, 77, 0.18);
}

.stack-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .85rem;
  gap: .75rem;
}

.stack-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 179, 58, 0.28), transparent 55%),
    rgba(255, 179, 58, 0.1);
  border: 1px solid rgba(255, 179, 58, 0.28);
  color: var(--brand-amber);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.stack-icon svg {
  width: 24px;
  height: 24px;
}

.stack-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  color: var(--brand-amber);
  margin-bottom: .55rem;
  letter-spacing: .04em;
}

.stack-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card-wash-hover);
  border-radius: 999px;
  padding: .35rem .7rem;
}

.stack-card h3 {
  font-size: 1.25rem;
  margin-bottom: .55rem;
  color: var(--ink);
}

.stack-card > p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  flex: 1;
}

.stack-points {
  display: grid;
  gap: .4rem;
  margin-bottom: 1.1rem;
}

.stack-points li {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 600;
  padding-left: 1rem;
  position: relative;
}

.stack-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-gradient);
  position: absolute;
  left: 0;
  top: .45rem;
}

.stack-link {
  color: var(--brand-amber);
  font-weight: 700;
  font-size: .95rem;
}

.stack-link:hover { color: var(--ink); }

.split-text {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: start;
}

.value-list {
  display: grid;
  gap: 1rem;
}

.value-list article {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
}

.value-list h3 { font-size: 1.15rem; }
.value-list p { color: var(--muted); margin: 0; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.support-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.support-card h3 { font-size: 1.2rem; }
.support-card p { color: var(--muted); margin: 0; }

/* Product detail extras */
.use-case-grid,
.feature-tiles,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.use-case-card,
.feature-tile,
.step-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.feature-tile h3,
.use-case-card h3,
.step-card h3 { font-size: 1.1rem; }

.feature-tile p,
.use-case-card p,
.step-card p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.step-card .step-index {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-orange);
  font-size: 1.25rem;
  margin-bottom: .4rem;
  display: block;
}

.product-prose {
  max-width: 820px;
  margin: 0 auto;
}

.product-prose h2 { margin-top: 2rem; font-size: 1.55rem; }
.product-prose h2:first-child { margin-top: 0; }
.product-prose h2 { color: var(--ink); }
.product-prose p,
.product-prose li { color: var(--muted); font-size: 1.05rem; }
.product-prose ul { list-style: disc; padding-left: 1.25rem; margin: 1rem 0; }
.product-prose a { color: var(--brand-orange); font-weight: 700; }

.product-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 2rem;
  align-items: start;
}

.product-overview {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 1.4rem;
  max-width: 62ch;
}

.product-main h2,
.content-block h2,
.detail-item h3,
.use-case-card h3,
.feature-tile h3,
.step-card h3,
.faq-item summary,
.support-card h3,
.value-list h3,
.hosting-card h3,
.ui-card h3,
.blog-card h2 {
  color: var(--ink);
}

.product-aside {
  background: var(--surface-card);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 24px;
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.aside-label {
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-amber);
}

.aside-item {
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.aside-item:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: .25rem;
  color: var(--ink);
}
.aside-item span {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.detail-list {
  display: grid;
  gap: 1rem;
}

.detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  align-items: start;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem 1.45rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.detail-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.detail-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brand-orange);
  line-height: 1;
  padding-top: .15rem;
}

.detail-item h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.detail-item p { color: var(--muted); margin: 0; font-size: 1.02rem; line-height: 1.65; }

.faq-list {
  display: grid;
  gap: .75rem;
  max-width: 860px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--brand-orange);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  color: var(--muted);
  margin: .75rem 0 0;
  line-height: 1.65;
}

.product-index-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.product-index-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel-item);
}

.product-index-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.product-index-card:hover .product-index-media img {
  transform: scale(1.04);
}

.product-index-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-index-card .stack-num { color: var(--brand-amber); }
.product-index-card .stack-tag {
  color: var(--muted);
  background: var(--panel-item);
}
.product-index-card h3 {
  margin: .65rem 0 .5rem;
  font-size: 1.15rem;
}
.product-index-card h3 a:hover { color: var(--brand-amber); }
.product-index-card p { color: var(--muted); flex: 1; }
.product-index-card .stack-link { color: var(--brand-amber); margin-top: 1rem; }
.product-index-card:hover {
  background: var(--surface-elevated);
  border-color: rgba(255,179,58,.35);
  box-shadow: var(--shadow);
}
.product-index-card .stack-points li { color: var(--ink-soft); }

.scroll-hint {
  display: flex;
  justify-content: center;
  margin-top: -1rem;
  position: relative;
  z-index: 2;
}

.scroll-hint span {
  width: 28px;
  height: 44px;
  border: 2px solid #4b5563;
  border-radius: 16px;
  position: relative;
}

.scroll-hint span::after {
  content: "";
  width: 4px;
  height: 8px;
  background: var(--brand-amber);
  border-radius: 4px;
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}

/* Sections */
.section { padding: 5.5rem 0; }
.section-dark {
  background: var(--surface-deep);
  color: var(--ink);
}
.section-soft { background: var(--surface-band); }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-amber);
  margin-bottom: .75rem;
}

.section-dark .section-label { color: var(--brand-amber); }

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  color: var(--ink);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head p { color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--card-wash);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,179,58,.45);
  background: var(--card-wash-hover);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: .45rem;
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

.feature-card a { color: var(--brand-amber); font-weight: 700; font-size: .9rem; }

.hosting-home-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.hosting-home-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.hosting-home-media img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 280px;
  object-fit: cover;
}

.hosting-float-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .85rem .55rem .55rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.86);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  animation: homeBob 3.8s ease-in-out infinite;
}

.hosting-float-badge svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgba(255, 179, 58, 0.18);
  color: var(--brand-amber);
}

.hosting-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.hosting-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.hosting-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: .85rem;
  background: rgba(255, 179, 58, 0.12);
  color: var(--brand-amber);
}

.hosting-card-icon svg { width: 20px; height: 20px; }

.hosting-card h3 {
  font-size: 1.15rem;
  color: var(--ink);
}

.hosting-card p {
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.home-split-media {
  display: grid;
  gap: 1rem;
}

.home-split-media > img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  object-fit: cover;
  max-height: 280px;
  box-shadow: var(--shadow);
}

.home-split-media .value-list article {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--brand-amber);
  margin-bottom: .35rem;
}

.stat span { color: var(--stat-text); font-size: .92rem; }

.ui-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ui-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ui-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #111827;
}

.ui-card .body { padding: 1.25rem 1.35rem 1.5rem; }
.ui-card h3 { font-size: 1.15rem; }
.ui-card p { color: var(--muted); margin: 0; }

.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

.clients img {
  height: 42px;
  width: auto;
  opacity: .75;
  filter: var(--client-filter);
  transition: .25s ease;
}

html[data-theme="light"] .clients img {
  opacity: .85;
}

.clients img:hover {
  opacity: 1;
  filter: none;
}

.cta-band {
  background: var(--surface-card);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand-gradient);
}

.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); max-width: 16ch; color: var(--ink); }
.cta-band p { color: var(--muted); max-width: 42ch; margin: 0 0 1.2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Page hero — text in shared container, banner blended on the right */
.page-hero {
  padding: calc(var(--header-h) + 3.25rem) 0 4rem;
  background:
    radial-gradient(ellipse at 15% 0%, var(--hero-glow-a), transparent 42%),
    radial-gradient(ellipse at 85% 40%, var(--hero-glow-b), transparent 40%),
    var(--surface);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  min-height: clamp(480px, 68vh, 640px);
  display: flex;
  align-items: center;
}

.page-hero--banner {
  min-height: clamp(500px, 72vh, 680px);
}

.page-hero--banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--surface));
}

.page-hero-content.container {
  position: relative;
  z-index: 3;
  width: min(var(--container-max), calc(100% - (var(--container-pad) * 2)));
  margin-inline: auto;
}

.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 520px;
  padding-bottom: .25rem;
  margin-right: auto;
}

.page-hero--banner .page-hero-inner {
  max-width: 520px;
  text-shadow: 0 2px 24px rgba(17, 24, 39, 0.35);
}

html[data-theme="light"] .page-hero--banner .page-hero-inner {
  text-shadow: none;
}

.page-hero-inner .pill { margin-bottom: .35rem; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  max-width: 16ch;
  margin-top: .85rem;
  margin-bottom: .9rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand-amber);
  text-shadow: none;
}

html[data-theme="light"] .page-hero h1 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--ink);
}

html[data-theme="light"] .page-hero-inner {
  text-shadow: none;
}

.page-hero-lead,
.page-hero p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
}

.page-hero-actions { margin-top: 1.5rem; }

/* Compact hero for form pages (contact / book-demo) */
.page-hero--compact {
  min-height: 0;
  padding: calc(var(--header-h) + 1.35rem) 0 1.5rem;
  align-items: flex-start;
}

.page-hero--compact .page-hero-inner {
  max-width: 40rem;
}

.page-hero--compact h1 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  max-width: none;
  margin-top: .4rem;
  margin-bottom: .45rem;
}

.page-hero--compact .page-hero-lead {
  max-width: 48ch;
  font-size: .98rem;
  line-height: 1.45;
}

.section--tight-top {
  padding-top: 2rem;
}

/* Right banner — smaller, soft-merged into section */
.page-hero-banner {
  position: absolute;
  top: 8%;
  right: 0;
  bottom: 6%;
  left: 42%;
  z-index: 1;
  pointer-events: none;
  animation: phbSlideIn 1s cubic-bezier(.22, 1, .36, 1) both;
}

.phb-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px 0 0 28px;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.phb-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform-origin: 60% 45%;
  animation: phbKen 18s ease-in-out infinite alternate;
  filter: saturate(1.1) contrast(1.04) brightness(1.05);
}

.phb-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--surface) 0%, rgba(17, 24, 39, 0.55) 28%, transparent 62%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.2) 0%, transparent 30%, transparent 70%, rgba(17, 24, 39, 0.35) 100%);
}

html[data-theme="light"] .phb-wash {
  background:
    linear-gradient(90deg, var(--surface) 0%, rgba(245, 247, 251, 0.6) 28%, transparent 62%),
    linear-gradient(180deg, rgba(245, 247, 251, 0.25) 0%, transparent 30%, transparent 70%, rgba(245, 247, 251, 0.4) 100%);
}

.phb-glow {
  position: absolute;
  inset: 10% 5% 15% 20%;
  background: radial-gradient(circle at 60% 40%, rgba(255, 179, 58, 0.22), transparent 60%);
  animation: phbPulse 5s ease-in-out infinite;
}

.phb-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem .6rem .6rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  color: #f3f4f6;
  font-weight: 700;
  font-size: .84rem;
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .phb-chip {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(17, 24, 39, 0.1);
  color: #111827;
}

.phb-chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 179, 58, 0.18);
  color: var(--brand-amber);
}

.phb-chip-icon svg { width: 16px; height: 16px; }

.phb-chip-1 {
  top: 14%;
  left: 10%;
  animation: phbBob 3.8s ease-in-out infinite, phbFadeChip .8s ease both .25s;
}

.phb-chip-2 {
  top: 46%;
  right: 8%;
  animation: phbBob 4.4s ease-in-out infinite .35s, phbFadeChip .8s ease both .45s;
}

.phb-chip-3 {
  bottom: 12%;
  left: 18%;
  animation: phbBob 4s ease-in-out infinite .7s, phbFadeChip .8s ease both .65s;
}

.phb-deploy {
  position: absolute;
  right: 8%;
  bottom: 16%;
  z-index: 4;
  width: min(280px, 42%);
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  animation: phbFadeChip .8s ease both .55s;
}

html[data-theme="light"] .phb-deploy {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(17, 24, 39, 0.1);
}

.phb-deploy-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: .55rem;
}

.phb-deploy-bar span {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: var(--brand-gradient);
  animation: phbDeploy 2.8s ease-in-out infinite;
}

.phb-deploy p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  font-weight: 700;
  color: #e5e7eb;
}

html[data-theme="light"] .phb-deploy p { color: #1f2937; }

.phb-deploy-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-amber);
  animation: phbPing 1.6s ease-out infinite;
}

.phb-pipeline {
  position: absolute;
  top: 16%;
  right: 8%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d1d5db;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  animation: phbFadeChip .8s ease both .35s;
}

.phb-pipeline i {
  display: block;
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-amber), transparent);
  background-size: 200% 100%;
  animation: phbFlow 1.4s linear infinite;
}

.phb-pipeline .is-live { color: var(--brand-amber); }

@keyframes phbSlideIn {
  from { opacity: 0; transform: translateX(18%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes phbKen {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-2%, -1.5%, 0); }
}

@keyframes phbBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phbPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: .9; }
}

@keyframes phbFadeChip {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes phbDeploy {
  0% { transform: translateX(-110%); }
  55% { transform: translateX(80%); }
  100% { transform: translateX(220%); }
}

@keyframes phbPing {
  0% { box-shadow: 0 0 0 0 rgba(255, 179, 58, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 179, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 179, 58, 0); }
}

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

/* Feature/step motion on hosting page */
body.page-hosting .detail-item,
body.page-hosting .feature-tile,
body.page-hosting .use-case-card,
body.page-hosting .step-card {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

body.page-hosting .detail-item:hover,
body.page-hosting .feature-tile:hover,
body.page-hosting .use-case-card:hover,
body.page-hosting .step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 179, 58, 0.4);
  box-shadow: var(--shadow);
}

body.page-hosting .steps-grid .step-card {
  position: relative;
  overflow: hidden;
}

body.page-hosting .steps-grid .step-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

body.page-hosting .steps-grid .step-card:hover::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-banner,
  .phb-art,
  .phb-chip,
  .phb-glow,
  .phb-deploy-bar span,
  .phb-deploy-dot,
  .phb-pipeline i,
  .hero-orbit,
  .hero-pulse-dot,
  .hero-float-a,
  .hero-float-b,
  .hero-visual-frame,
  .hero-chip,
  .hero-visual-shine,
  .hosting-float-badge {
    animation: none !important;
  }
}

/* Blog */
.blogs-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.25rem;
  background:
    radial-gradient(ellipse at 12% 0%, var(--hero-glow-a), transparent 46%),
    radial-gradient(ellipse at 88% 40%, var(--hero-glow-b), transparent 42%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.blogs-hero-header {
  width: 100%;
  max-width: 48rem;
}

.blogs-hero-header .pill {
  margin-bottom: 0.9rem;
}

.blogs-hero-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: none;
}

.blogs-hero-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.9vw, 1.28rem);
  line-height: 1.65;
  max-width: 40rem;
}

.blogs-hero-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.blogs-hero-meta a {
  color: var(--brand-orange);
  font-weight: 700;
}

.blogs-listing {
  padding-top: 2.5rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: start;
}

.blog-filters {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.blog-filters h2 { font-size: 1.1rem; margin: 0; }
.blog-filters-note {
  color: var(--muted);
  font-size: .9rem;
  margin: .35rem 0 1rem;
}
.blog-filters a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .25rem;
}

.blog-filters a.active,
.blog-filters a:hover {
  background: #111827;
  color: var(--brand-amber);
  box-shadow: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.listing-panel {
  min-width: 0;
}

.listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.15rem;
}

.listing-status {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.listing-view-toggle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-card);
}

.listing-view-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.listing-view-btn.active,
.listing-view-btn:hover {
  background: #111827;
  color: var(--brand-amber);
}

.listing-feed.is-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.listing-feed.is-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.listing-feed.is-list .listing-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: stretch;
}

.listing-feed.is-list .listing-card .thumb {
  min-height: 100%;
  aspect-ratio: 4 / 3;
}

.listing-feed.is-list .listing-card .body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.listing-feed.is-list .blog-card-excerpt {
  -webkit-line-clamp: 3;
}

.listing-empty {
  grid-column: 1 / -1;
  color: var(--muted);
}

.listing-more-wrap {
  margin-top: 1.75rem;
  text-align: center;
}

.listing-more-wrap .btn[hidden] {
  display: none !important;
}

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

.home-articles-more,
.product-articles-more {
  margin: 1.75rem 0 0;
  text-align: center;
}

/* Homepage blogs — text-first, animated cards (no images) */
.home-blogs {
  position: relative;
  overflow: hidden;
}

.home-blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.home-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 1.45rem 1.4rem 1.35rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface-card);
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, box-shadow .35s ease;
  animation: homeBlogIn .7s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: var(--delay, 0s);
}

.home-blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(220, 143, 9, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.home-blog-glow {
  position: absolute;
  inset: -40% auto auto -30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 143, 9, 0.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: homeBlogGlow 5.5s ease-in-out infinite;
}

.home-blog-card:nth-child(2) .home-blog-glow {
  inset: auto -35% -45% auto;
  animation-delay: .8s;
}

.home-blog-card:nth-child(3) .home-blog-glow {
  inset: 55% auto auto 55%;
  animation-delay: 1.4s;
}

.home-blog-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brand-gradient);
  transform: scaleY(0.35);
  transform-origin: top;
  transition: transform .35s ease;
  z-index: 1;
}

.home-blog-card:hover::before {
  transform: scaleY(1);
}

.home-blog-index {
  position: relative;
  z-index: 1;
  font-family: Sora, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(220, 143, 9, 0.55);
  margin-bottom: 1rem;
  transition: transform .35s ease, color .35s ease, -webkit-text-stroke-color .35s ease;
}

.home-blog-card:hover .home-blog-index {
  transform: translateX(4px);
  color: rgba(220, 143, 9, 0.18);
  -webkit-text-stroke-color: transparent;
}

.home-blog-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .85rem;
  margin-bottom: .75rem;
  font-size: .82rem;
  font-weight: 700;
}

.home-blog-cat {
  display: inline-flex;
  align-items: center;
  padding: .28rem .6rem;
  border-radius: 999px;
  background: rgba(220, 143, 9, 0.12);
  color: var(--brand-amber);
  letter-spacing: .02em;
}

.home-blog-date {
  color: var(--muted);
  font-weight: 600;
}

.home-blog-title {
  position: relative;
  z-index: 1;
  margin: 0 0 .75rem;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  transition: color .25s ease;
}

.home-blog-card:hover .home-blog-title {
  color: var(--brand-orange);
}

.home-blog-excerpt {
  position: relative;
  z-index: 1;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  flex: 1 1 auto;
}

.home-blog-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  font-weight: 800;
  color: var(--brand-orange);
}

.home-blog-cta span {
  display: inline-block;
  transition: transform .3s ease;
}

.home-blog-card:hover .home-blog-cta span {
  transform: translateX(5px);
}

@keyframes homeBlogIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeBlogGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .85; }
  50% { transform: translate(18px, 12px) scale(1.12); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .home-blog-card,
  .home-blog-glow {
    animation: none !important;
  }
  .home-blog-card:hover {
    transform: none;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.blog-card .thumb {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--panel-item);
  border-bottom: 1px solid var(--line);
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card .thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: Sora, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-amber);
  background:
    radial-gradient(ellipse at 30% 20%, var(--hero-glow-a), transparent 50%),
    var(--panel-item);
}

.blog-card .body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.15rem 1.25rem 1.35rem;
  min-height: 0;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .55rem;
}

.blog-card-title {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 .65rem;
}

.blog-card-title a {
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: var(--brand-orange);
}

.blog-card-excerpt {
  color: var(--muted);
  margin: 0 0 1.1rem;
  font-size: .98rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.blog-card .read-link {
  margin-top: auto;
  align-self: flex-start;
  color: var(--brand-orange);
  font-weight: 700;
}

.read-link { color: var(--brand-orange); font-weight: 700; }

.article-top {
  padding: calc(var(--header-h) + 2.75rem) 0 0;
  background:
    radial-gradient(ellipse at 15% 0%, var(--hero-glow-a), transparent 42%),
    radial-gradient(ellipse at 85% 30%, var(--hero-glow-b), transparent 40%),
    var(--surface);
}

.article-header {
  width: 100%;
  max-width: none;
  margin: 0 0 1.75rem;
}

.article-header .pill {
  margin-bottom: 0.85rem;
}

.article-title {
  width: 100%;
  max-width: none;
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.article-lead {
  width: 100%;
  max-width: none;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.article-meta {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.article-cover {
  width: 100%;
  margin: 0 0 0.25rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel-item);
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body-section {
  padding-top: 2.5rem;
}

.article-with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2.25rem;
  align-items: start;
}

.article {
  width: 100%;
  max-width: none;
  margin: 0;
  min-width: 0;
}

.journey-rail {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.journey-rail-inner {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}

.journey-rail-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.journey-rail-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--ink);
}

.journey-rail-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.journey-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.journey-rail-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid transparent;
  color: inherit;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.journey-rail-card:hover {
  border-color: var(--line);
  background: color-mix(in srgb, var(--ink) 4%, transparent);
  transform: translateY(-1px);
}

.journey-rail-thumb {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel-item);
  border: 1px solid var(--line);
}

.journey-rail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journey-rail-thumb--empty {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--brand-amber);
}

.journey-rail-body {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
  align-content: start;
}

.journey-rail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.journey-rail-kind {
  color: var(--brand-orange);
}

.journey-rail-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journey-rail-excerpt {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journey-rail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.journey-rail-links a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-orange);
}

.article .meta,
.article-back {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.article-back {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.blog-suggestions {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.blog-suggestions .section-head {
  margin-bottom: 1.75rem;
}

.blog-suggestions-grid {
  margin-top: 0.25rem;
}

.blog-suggestions-more {
  margin-top: 2rem;
  text-align: center;
}

.article-content h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 1.05rem;
}

.article-content h2 { color: var(--ink); }

.article-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.article-content ol {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.article-content a { color: var(--brand-orange); font-weight: 700; }

/* Forms */
.form-wrap {
  display: flex;
  justify-content: center;
}

.form-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 2rem;
  width: 100%;
  max-width: 720px;
}

.form-card h2 { color: var(--ink); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: .4rem;
  font-size: .92rem;
}

.form-group label { color: var(--ink-soft); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--panel-item);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #6b7280; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 58, 0.15);
  background: var(--surface-elevated);
}

html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group select:focus,
html[data-theme="dark"] .form-group textarea:focus {
  background: #0b1220;
}

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

.flash {
  padding: .9rem 0;
  font-weight: 600;
  margin-top: var(--header-h);
}

.flash-success { background: #ecfdf5; color: #047857; }
.flash-error { background: #fef2f2; color: #b91c1c; }

.form-flash {
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  font-size: .95rem;
}

html[data-theme="dark"] .form-flash.flash-success {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

html[data-theme="dark"] .form-flash.flash-error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

/* Product page */
.checklist {
  display: grid;
  gap: .75rem;
  margin: 1.5rem 0;
}

.checklist li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-weight: 600;
}

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

.checklist li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 179, 58, 0.15);
  color: var(--brand-amber);
  display: grid;
  place-items: center;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.content-block p { color: var(--muted); font-size: 1.05rem; }

/* Footer */
.site-footer {
  background: var(--surface-deep);
  color: #9ca3af;
  padding: 4rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

html[data-theme="light"] .site-footer {
  background: #0f172a;
  color: #9ca3af;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .footer-logo,
.footer-brand img {
  display: block;
  width: min(180px, 100%);
  height: auto;
  filter: none;
}

.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

html[data-theme="light"] .site-footer h4 { color: #fff; }

.site-footer ul li { margin-bottom: .45rem; }
.site-footer a:hover { color: var(--brand-amber); }

.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  font-weight: 700;
  font-size: .8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  font-size: .9rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

/* Admin */
.admin-body,
.admin-login-body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  min-height: 100vh;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.admin-side {
  background: var(--surface-deep);
  color: #e5e7eb;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-side .logo {
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 .5rem;
}

.admin-side .logo img {
  filter: none;
  width: 120px;
  height: auto;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}

.admin-side a {
  display: block;
  padding: .75rem .9rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s ease, color .2s ease;
}

.admin-side a:hover,
.admin-side a.active {
  background: rgba(255, 179, 58, 0.12);
  color: #fff;
}

.admin-side a.active {
  border: 1px solid rgba(255, 179, 58, 0.28);
}

.admin-side-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.admin-main {
  padding: 2rem;
  background:
    radial-gradient(ellipse at 0% 0%, var(--hero-glow-a), transparent 40%),
    var(--surface);
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.admin-top h1 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 0;
  color: var(--ink);
}

.admin-user {
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
}

.admin-flash {
  margin: 0 0 1rem;
  border-radius: 12px;
  padding: .85rem 1rem;
}

.admin-card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  display: block;
  transition: border-color .15s ease, transform .15s ease;
}

a.admin-stat:hover {
  border-color: var(--brand-amber);
  transform: translateY(-1px);
}

.admin-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  background: var(--surface-card);
}

.admin-tab.active {
  color: var(--ink);
  border-color: var(--brand-amber);
  background: rgba(255, 179, 58, 0.12);
}

.lead-list {
  display: grid;
  gap: 1rem;
}

.lead-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
}

.lead-item.is-new {
  border-color: rgba(255, 179, 58, 0.55);
  background: rgba(255, 179, 58, 0.06);
}

.lead-item-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}

.lead-item-head h3 {
  margin: 0 0 .25rem;
  font-size: 1.05rem;
}

.lead-item-head p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.lead-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .35rem;
  color: var(--muted);
  font-size: .85rem;
  white-space: nowrap;
}

.lead-pill {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: rgba(255, 179, 58, 0.2);
  color: var(--brand-amber);
  font-style: normal;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.lead-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .65rem 1rem;
  margin: 0 0 .75rem;
}

.lead-fields dt {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0 0 .15rem;
}

.lead-fields dd {
  margin: 0;
  font-weight: 600;
}

.lead-message {
  margin: 0 0 .9rem;
  color: var(--ink-soft);
  line-height: 1.55;
  white-space: pre-wrap;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.admin-stat span {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.admin-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brand-amber);
  margin-top: .35rem;
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: .85rem .6rem;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--ink);
}

.admin-table th {
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}

.badge-published { background: #ecfdf5; color: #047857; }
.badge-draft { background: #fff7ed; color: #c2410c; }

.admin-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-list-head p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.admin-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.selected-count {
  color: var(--brand-amber);
  font-weight: 700;
}

.admin-table .col-check {
  width: 2.5rem;
}

.admin-table .col-check .checkbox-label {
  margin: 0;
  justify-content: center;
}

.btn-danger:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.admin-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.admin-search-form input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--panel-item);
}

.admin-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--brand-amber);
  box-shadow: 0 0 0 3px rgba(255, 179, 58, 0.15);
}

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

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}

.inline-form { margin: 0; display: inline; }

.btn-action {
  border: 0;
  background: transparent;
  color: var(--brand-amber);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: none;
}

.btn-action:hover { text-decoration: underline; }

.btn-action-danger,
.btn-action.btn-action-danger {
  color: #f87171;
}

html[data-theme="light"] .btn-action-danger {
  color: #b91c1c;
}

.btn-danger {
  background: transparent;
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.btn-danger:hover {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  border-color: #f87171;
}

html[data-theme="light"] .btn-danger {
  color: #b91c1c;
  border-color: #fca5a5;
}

html[data-theme="light"] .btn-danger:hover {
  background: #fef2f2;
  color: #991b1b;
}

html[data-theme="dark"] .badge-published {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

html[data-theme="dark"] .badge-draft {
  background: rgba(251, 146, 60, 0.15);
  color: #fdba74;
}

/* Admin login */
.login-wrap {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, var(--hero-glow-a), transparent 45%),
    radial-gradient(ellipse at 90% 30%, var(--hero-glow-b), transparent 40%),
    var(--surface);
}

.login-glow {
  position: absolute;
  inset: 15% 25% auto 25%;
  height: 40%;
  background: radial-gradient(circle, rgba(255, 179, 58, 0.12), transparent 70%);
  pointer-events: none;
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.25rem 2rem 1.85rem;
  box-shadow: var(--panel-shadow);
  color: var(--ink);
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.login-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: none;
}

.login-card .pill {
  margin-bottom: .85rem;
}

.login-card h1 {
  font-size: 1.75rem;
  margin: 0 0 .4rem;
  color: var(--ink);
}

.login-lead {
  color: var(--muted);
  margin: 0 0 1.35rem;
  font-size: 1rem;
}

.login-error {
  color: #f87171;
  font-weight: 700;
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: rgba(185, 28, 28, 0.12);
  border: 1px solid rgba(185, 28, 28, 0.25);
}

html[data-theme="light"] .login-error {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.login-form .form-group {
  margin-bottom: 1rem;
}

.login-form .form-group input {
  background: var(--panel-item);
  border-color: var(--line);
  color: var(--ink);
}

.login-form .form-group input:focus {
  background: var(--surface-elevated);
}

.login-submit {
  width: 100%;
  margin-top: .35rem;
}

.login-foot {
  margin: 1.35rem 0 0;
  text-align: center;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
}

.login-foot a:hover {
  color: var(--brand-amber);
}

/* Blog authoring */
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}

.editor-main,
.editor-side {
  display: grid;
  gap: 1.25rem;
}

.editor-card { overflow: visible; }

.editor-sticky {
  position: sticky;
  top: 1rem;
}

.editor-title {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  font-family: var(--font-display) !important;
}

.editor-meta-row {
  margin-bottom: .25rem;
}

.editor-section-title {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

.editor-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: .4rem;
}

.editor-toolbar-row label { margin: 0; }

.btn-text {
  border: 0;
  background: transparent;
  color: var(--brand-amber);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.btn-text:hover { text-decoration: underline; }

.editor-hint {
  margin: .55rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}

.editor-actions {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.editor-actions .btn { width: 100%; justify-content: center; }

.featured-box {
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--panel-item);
  min-height: 160px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.featured-preview {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.featured-empty {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  padding: 1.5rem;
}

.quill-host {
  min-height: 360px;
  background: var(--panel-item);
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  color: var(--ink);
}

.ql-toolbar.ql-snow {
  border: 1px solid var(--line) !important;
  border-radius: 14px 14px 0 0;
  background: var(--surface-elevated);
  font-family: var(--font-sans);
}

.ql-container.ql-snow {
  border: 0 !important;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.ql-editor {
  min-height: 340px;
  line-height: 1.7;
  color: var(--ink);
}

.ql-editor.ql-blank::before {
  color: var(--muted);
  font-style: normal;
}

.ql-snow .ql-stroke { stroke: var(--muted); }
.ql-snow .ql-fill { fill: var(--muted); }
.ql-snow .ql-picker { color: var(--muted); }
.ql-snow .ql-picker-options {
  background: var(--surface-card);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .ql-snow .ql-stroke { stroke: #cbd5e1; }
html[data-theme="dark"] .ql-snow .ql-fill { fill: #cbd5e1; }
html[data-theme="dark"] .ql-snow .ql-picker { color: #e5e7eb; }

.ql-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: .75rem 0;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 1.25rem 0;
}

.article-content blockquote {
  margin: 1.25rem 0;
  padding: .85rem 1.1rem;
  border-left: 4px solid var(--brand-amber);
  background: var(--card-wash);
  color: var(--ink-soft);
  border-radius: 0 12px 12px 0;
}

.article-content pre {
  background: var(--panel-item);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  overflow-x: auto;
}

@media (max-width: 980px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .editor-sticky { position: static; }
}

.ai-create-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.ai-create-row .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.ai-create-warn,
.ai-status-error {
  color: #f87171;
}

.ai-status-ok {
  color: #4ade80;
}

.ai-modal {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  max-width: 560px;
  width: calc(100% - 2rem);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.ai-modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.ai-modal-panel {
  padding: 1.35rem 1.4rem 1.25rem;
}

.ai-modal-panel h2 {
  margin: 0 0 0.5rem;
  font-family: Sora, sans-serif;
  font-size: 1.2rem;
}

.ai-modal-panel textarea {
  min-height: 110px;
  width: 100%;
}

.ai-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.ai-model-row {
  margin-top: 0.35rem;
  align-items: start;
}

.ai-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.65rem;
  cursor: pointer;
  font-weight: 600;
}

.ai-toggle-label input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent, #3b82f6);
}

.ai-max-mode-group .editor-hint {
  margin-top: 0.35rem;
}

@media (max-width: 640px) {
  .ai-create-row {
    flex-direction: column;
  }
  .ai-create-row .btn {
    width: 100%;
  }
  .ai-toggle-label {
    margin-top: 0.25rem;
  }
}

/* Head scripts admin */
.scripts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.script-preview {
  margin-top: .35rem;
  font-size: .8rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}

.script-code {
  min-height: 220px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-size: .85rem !important;
  line-height: 1.5 !important;
}

.checkbox-label {
  display: inline-flex !important;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.checkbox-label input {
  width: auto;
  margin: 0;
}

@media (max-width: 980px) {
  .scripts-layout { grid-template-columns: 1fr; }
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes bannerKen {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* Responsive */
@media (max-width: 1100px) {
  .article-with-aside {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.5rem;
  }
}

@media (max-width: 980px) {
  .hero-banner.active,
  .split,
  .split-text,
  .product-layout,
  .blog-layout,
  .article-with-aside,
  .footer-grid,
  .admin-shell,
  .cta-band,
  .hosting-home-layout {
    grid-template-columns: 1fr;
  }
  .journey-rail {
    position: static;
    margin-top: 0.5rem;
  }
  .article-with-aside {
    gap: 2rem;
  }
  .hero-visual {
    width: min(100%, 360px);
    margin: 1rem auto 0;
  }
  .hero-svg-bg { opacity: .3; width: 70vw; }
  .page-hero,
  .page-hero--banner {
    min-height: auto;
    padding-bottom: 3.25rem;
    align-items: flex-start;
  }
  .page-hero-banner {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    opacity: .55;
  }
  .phb-media {
    border-radius: 0;
  }
  .page-hero--banner .page-hero-inner {
    max-width: 100%;
    padding-top: 1rem;
  }
  .phb-chip-1 { left: 8%; top: 18%; }
  .phb-chip-2 { right: 8%; top: 42%; }
  .phb-chip-3 { left: 14%; bottom: 16%; }
  .phb-deploy,
  .phb-pipeline { display: none; }
  .product-aside { position: static; }
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.5rem);
  }
  .hero-text-wrap {
    min-height: auto;
    padding-bottom: 4.5rem;
  }
  .hero h1 { max-width: none; }
  .hero-copy { max-width: none; }
  .stack-grid,
  .support-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .feature-grid,
  .hosting-cards,
  .stats,
  .ui-showcase,
  .blog-grid,
  .home-articles-grid,
  .home-blogs-grid,
  .product-articles-grid,
  .admin-stats,
  .form-grid,
  .use-case-grid,
  .feature-tiles,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--header-bg-scrolled);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: .35rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    margin: 0;
    z-index: 90;
  }
  .main-nav.open { transform: none; }
  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 .75rem;
    display: none;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { color: var(--nav-link); }
  .header-actions {
    margin-left: auto;
  }
  .header-actions .btn-signin { display: none; }
  .theme-toggle { width: 40px; height: 40px; }
  .hero h1 { max-width: none; }
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal-links a {
  font-size: .92rem;
  font-weight: 700;
  color: var(--muted);
}

.legal-links a:hover,
.legal-links a.active {
  color: var(--brand-amber);
}

.error-page {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
}

.error-page .lead { max-width: 46ch; }

.error-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .85rem;
  margin-top: 2rem;
}

.error-links a {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-card);
  font-weight: 700;
  transition: border-color .2s ease, transform .2s ease;
}

.error-links a:hover {
  border-color: var(--brand-amber);
  transform: translateY(-2px);
}

.error-links span {
  display: block;
  margin-top: .35rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
}

/* Use cases detail */
.usecase-asks {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}

.usecase-asks h2 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
}

.usecase-asks-lead {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.usecase-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.user-asks-editor {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.user-ask-row {
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--ink) 3%, transparent);
}

.user-ask-remove {
  margin-top: 0.25rem;
}

@media (max-width: 720px) {
  .listing-feed.is-list .listing-card {
    grid-template-columns: 1fr;
  }
  .listing-feed.is-list .listing-card .thumb {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  :root { --container-pad: 1.15rem; }
  .feature-grid,
  .hosting-cards,
  .stats,
  .ui-showcase,
  .blog-grid,
  .listing-feed.is-grid,
  .home-articles-grid,
  .home-blogs-grid,
  .product-articles-grid,
  .admin-stats,
  .form-grid,
  .use-case-grid,
  .feature-tiles,
  .steps-grid,
  .stack-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .hero-chip-2 { right: 0; }
  .section { padding: 3.5rem 0; }
  .page-hero {
    padding-top: calc(var(--header-h) + 2.25rem);
    padding-bottom: 3.5rem;
  }
  .page-hero--compact {
    padding-top: calc(var(--header-h) + 1.1rem);
    padding-bottom: 1.15rem;
  }
  .page-hero h1 { max-width: none; }
}
