@font-face {
  font-family: "Krijo Bricolage";
  src: url("/home-assets/bricolage-700.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

/* ==========================================================================
   Krijo Homepage — Cloudflare Architectural Design System ("Agent Era" CAD)
   ========================================================================== */

body:has(.krijo-home) {
  --accent: #f6821f;
  --accent-ink: #ffffff;
  --accent-soft: rgba(246, 130, 31, .12);
  --cf-orange: #f6821f;
  --cf-orange-deep: #ea580c;
  --cf-amber: #fbad41;
  --cf-canvas: #faf9f6;
  --cf-bg: #ffffff;
  --cf-bg-tint: #fbfaf8;
  --cf-surface: #ffffff;
  --cf-surface-2: #f5f4f0;
  --cf-rail: #e2dfd7;
  --cf-line: #e5e3dc;
  --cf-node-border: #c5c0b5;
  --cf-ink: #141517;
  --cf-ink-2: #3b3e45;
  --cf-muted: #62666f;
  --cf-display: "Krijo Bricolage", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cf-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Consolas, monospace;

  background-color: var(--cf-canvas);
  background-image: radial-gradient(circle, rgba(20, 21, 23, .085) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--cf-ink);
  overflow-x: clip;
}

[data-theme="dark"] body:has(.krijo-home) {
  --accent: #ff8a2b;
  --accent-soft: rgba(255, 138, 43, .15);
  --cf-canvas: #0b0d11;
  --cf-bg: #101319;
  --cf-bg-tint: #141820;
  --cf-surface: #171b24;
  --cf-surface-2: #1e2430;
  --cf-rail: #262c38;
  --cf-line: #282f3c;
  --cf-node-border: #3d4658;
  --cf-ink: #f4f5f7;
  --cf-ink-2: #cfd5df;
  --cf-muted: #949dab;

  background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1px, transparent 1px);
}

/* Scroll Progress Bar */
#k-scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 999;
  background: linear-gradient(90deg, #ea580c, #f6821f, #fbad41);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

/* Unified 1280px Topbar & Brand Consistency */
body:has(.krijo-home) > .topbar {
  max-width: 1280px;
  margin-inline: auto;
  padding: .9rem clamp(1.1rem, 3vw, 2.5rem);
  background: color-mix(in srgb, var(--cf-bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-inline: 1px dashed var(--cf-rail);
  border-bottom: 1px dashed var(--cf-rail);
  position: sticky;
  top: 0;
  z-index: 60;
}

body:has(.krijo-home) > .topbar .brand-mark,
.cf-footer .brand-mark {
  background: linear-gradient(135deg, #ea580c, #f6821f 60%, #fbad41);
  color: #ffffff;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(246, 130, 31, .28);
}

body:has(.krijo-home) > .topbar nav .btn {
  background: #141517;
  color: #ffffff;
  border-radius: 8px;
  padding: .48rem .95rem;
}

[data-theme="dark"] body:has(.krijo-home) > .topbar nav .btn {
  background: var(--cf-orange);
  color: #ffffff;
}

.krijo-home a:focus-visible,
.krijo-home button:focus-visible,
.krijo-home textarea:focus-visible,
.krijo-home summary:focus-visible {
  outline: 2px solid var(--cf-orange);
  outline-offset: 3px;
}

/* ==========================================================================
   CAD Blueprint Bands & 7x7px Intersection Nodes
   ========================================================================== */

.cf-band {
  position: relative;
  max-width: 1280px;
  margin-inline: auto;
  background: var(--cf-bg);
  border-inline: 1px dashed var(--cf-rail);
  border-bottom: 1px dashed var(--cf-rail);
}

.cf-band-tinted {
  background: var(--cf-bg-tint);
}

.cf-band-pad {
  padding: clamp(3rem, 6vw, 5.25rem) clamp(1.25rem, 4vw, 3.25rem);
}

.cf-node {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--cf-bg);
  border: 1px solid var(--cf-node-border);
  z-index: 4;
  pointer-events: none;
}
.cf-node-tl { top: -4px; left: -4px; }
.cf-node-tr { top: -4px; right: -4px; }
.cf-node-bl { bottom: -4px; left: -4px; }
.cf-node-br { bottom: -4px; right: -4px; }

/* Section Typography */
.cf-eyebrow {
  margin: 0 0 .55rem;
  font: 700 .75rem/1.2 var(--cf-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cf-orange-deep);
}
[data-theme="dark"] .cf-eyebrow { color: var(--cf-amber); }

.krijo-home h1,
.krijo-home h2 {
  font-family: var(--cf-display);
  font-weight: 700;
  letter-spacing: -.032em;
  color: var(--cf-ink);
  margin: 0;
}

.krijo-home h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.95rem);
  line-height: 1.08;
}

.cf-sub {
  margin: .65rem 0 0;
  color: var(--cf-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 54ch;
}

.cf-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.cf-sec-head .cf-sub { margin: 0; max-width: 44ch; }

/* Buttons */
.cf-btn-primary {
  background: linear-gradient(135deg, #ea580c 0%, #f6821f 65%, #fb923c 100%);
  color: #ffffff !important;
  border: 0;
  border-radius: 8px;
  font-weight: 650;
  box-shadow: 0 8px 20px -6px rgba(234, 88, 12, .45);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.cf-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -6px rgba(234, 88, 12, .55);
  filter: brightness(1.03);
}

/* ==========================================================================
   Section 1: Hero + Scene 1 (Live AI Site Compiler Motion Graphic)
   ========================================================================== */

.cf-band-hero {
  padding: clamp(2.2rem, 5vw, 4.2rem) clamp(1.25rem, 4vw, 3.25rem);
  overflow: hidden;
}

.cf-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .98fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.cf-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .34rem .78rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 130, 31, .34);
  background: rgba(246, 130, 31, .08);
  color: var(--cf-orange-deep);
  font: 650 .74rem/1.2 var(--cf-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}
[data-theme="dark"] .cf-eyebrow-pill { color: var(--cf-amber); }

.cf-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cf-orange);
  box-shadow: 0 0 0 0 rgba(246, 130, 31, .6);
  animation: cfPulseDot 2.2s infinite;
}

.cf-hero-copy h1 {
  font-size: clamp(2.45rem, 4.65vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -.034em;
}

.cf-hero-copy h1 em {
  display: block;
  margin-top: .08em;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  background: linear-gradient(105deg, #c2410c 0%, #f6821f 48%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="dark"] .cf-hero-copy h1 em {
  background: linear-gradient(105deg, #ff8a2b 0%, #fbad41 55%, #fde08d 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.cf-lead {
  margin: 1.15rem 0 1.5rem;
  color: var(--cf-ink-2);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.58;
  max-width: 49ch;
}

/* Architectural Prompt Composer */
.cf-prompt {
  border: 1.5px solid var(--cf-line);
  border-radius: 14px;
  background: var(--cf-surface);
  box-shadow: 0 16px 38px -18px rgba(20, 21, 23, .12);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cf-prompt:focus-within {
  border-color: var(--cf-orange);
  box-shadow: 0 18px 40px -16px rgba(246, 130, 31, .22), 0 0 0 3px rgba(246, 130, 31, .14);
}

.cf-prompt-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .52rem .9rem;
  background: var(--cf-surface-2);
  border-bottom: 1px dashed var(--cf-rail);
  font: 600 .71rem/1 var(--cf-mono);
  color: var(--cf-muted);
}

.cf-prompt-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  letter-spacing: .04em;
}
.cf-prompt-tag i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--cf-orange);
}
.cf-prompt-ready {
  color: #059669;
  font-weight: 700;
}
[data-theme="dark"] .cf-prompt-ready { color: #34d399; }

.cf-prompt textarea {
  display: block;
  width: 100%;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--cf-ink);
  padding: .85rem .95rem .55rem;
  font: 450 .98rem/1.5 system-ui, -apple-system, sans-serif;
  min-height: 78px;
}
.cf-prompt textarea::placeholder {
  color: var(--cf-muted);
  opacity: .85;
}

.cf-prompt-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .55rem .75rem .7rem .95rem;
}

.cf-prompt-meta {
  font-size: .82rem;
  color: var(--cf-muted);
}

/* Niche Chips */
.cf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .85rem;
}

.cf-chip {
  border: 1px solid var(--cf-line);
  background: var(--cf-surface);
  color: var(--cf-ink-2);
  border-radius: 999px;
  padding: .34rem .78rem;
  font-size: .82rem;
  font-weight: 550;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}

.cf-chip:hover,
.cf-chip[aria-pressed="true"] {
  border-color: var(--cf-orange);
  background: rgba(246, 130, 31, .1);
  color: var(--cf-orange-deep);
  transform: translateY(-1px);
}
[data-theme="dark"] .cf-chip:hover,
[data-theme="dark"] .cf-chip[aria-pressed="true"] {
  color: var(--cf-amber);
}

/* Right Column: Sunset-Orange Halftone Compiler Stage */
.cf-hero-stage {
  position: relative;
  isolation: isolate;
  padding: 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(246, 130, 31, .35);
  background:
    radial-gradient(120% 95% at 85% 12%, rgba(251, 173, 65, .45) 0%, rgba(246, 130, 31, .22) 48%, rgba(255, 247, 237, .92) 100%);
  box-shadow: 0 24px 54px -22px rgba(234, 88, 12, .24);
  overflow: hidden;
}

[data-theme="dark"] .cf-hero-stage {
  background:
    radial-gradient(120% 95% at 85% 12%, rgba(246, 130, 31, .32) 0%, rgba(234, 88, 12, .14) 48%, #151922 100%);
  border-color: rgba(246, 130, 31, .38);
}

.cf-halftone {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(234, 88, 12, .22) 1.15px, transparent 1.25px);
  background-size: 12px 12px;
  mask-image: radial-gradient(ellipse at 82% 20%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 82% 20%, #000 10%, transparent 72%);
}

.cf-agent-card {
  background: #14171f;
  color: #f8fafc;
  border: 1px solid #2b3242;
  border-radius: 12px;
  padding: .72rem .9rem;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .35);
}

.cf-agent-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font: 600 .72rem/1 var(--cf-mono);
}

.cf-agent-badge {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: #e2e8f0;
}
.cf-agent-badge b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, #f6821f, #fbad41);
  color: #fff;
  font-size: .68rem;
}

.cf-agent-state {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #fbad41;
}
.cf-agent-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.cf-agent-prompt {
  margin: .48rem 0 0;
  font-size: .8rem;
  line-height: 1.4;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Animated SVG Schematic Wires */
.cf-wires {
  display: block;
  width: 100%;
  height: 54px;
  margin-block: -2px;
}

.cf-wire-base {
  stroke: rgba(234, 88, 12, .32);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
}
[data-theme="dark"] .cf-wire-base {
  stroke: rgba(251, 173, 65, .28);
}

.cf-wire-pulse {
  stroke: #f6821f;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 22 160;
  animation: cfWireFlow 2.3s linear infinite;
}
.cf-wire-d2 { animation-delay: .45s; }
.cf-wire-d3 { animation-delay: .9s; }

/* Live Compiled Browser Window */
.cf-browser-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #141517;
  border: 1px solid rgba(20, 21, 23, .12);
  border-radius: 13px;
  box-shadow: 0 20px 44px -18px rgba(20, 21, 23, .28);
  transition: transform .25s ease;
}

.cf-scanline {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f6821f, #fbad41, transparent);
  box-shadow: 0 0 16px rgba(246, 130, 31, .75);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  animation: cfScanInitial 2.4s .35s ease-out 1;
}

.cf-hero-stage.is-compiling .cf-scanline {
  animation: cfScanSweep .75s ease-out 1;
}

.cf-browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .5rem .75rem;
  background: #f6f5f2;
  border-bottom: 1px solid #e6e4dd;
  font: 600 .7rem/1 var(--cf-mono);
}

.cf-dots {
  display: inline-flex;
  gap: 5px;
}
.cf-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4d1c8;
}
.cf-dots i:first-child { background: #fca5a5; }
.cf-dots i:nth-child(2) { background: #fcd34d; }
.cf-dots i:nth-child(3) { background: #6ee7b7; }

.cf-url-pill {
  padding: .24rem .6rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e3dc;
  color: #3b3e45;
  font-weight: 600;
  max-width: 68%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cf-ssl-pill {
  color: #059669;
  font-weight: 700;
}

.cf-compiled-body {
  padding: .85rem .95rem .95rem;
  transition: opacity .18s ease, transform .18s ease;
}

.cf-hero-stage.is-compiling .cf-compiled-body {
  animation: cfCompileFlash .48s cubic-bezier(.22, 1, .36, 1);
}

.cf-cb-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: .55rem;
  border-bottom: 1px dashed #ebe8e0;
  font-size: .8rem;
}
.cf-cb-nav strong {
  font-family: var(--cf-display);
  letter-spacing: -.02em;
  color: #141517;
}
.cf-cb-links {
  display: flex;
  gap: 6px;
}
.cf-cb-links span {
  width: 24px;
  height: 5px;
  border-radius: 99px;
  background: #e2dfd7;
}

.cf-cb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: .75rem;
  align-items: center;
  padding-block: .75rem;
}

.cf-cb-cat {
  display: inline-block;
  font: 700 .64rem/1 var(--cf-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--preview-accent, #f6821f);
  margin-bottom: .32rem;
}

.cf-cb-text h3 {
  margin: 0 0 .55rem;
  font-family: var(--cf-display);
  font-size: .95rem;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: #141517;
}

.cf-cb-cta {
  display: inline-block;
  padding: .34rem .68rem;
  border-radius: 6px;
  background: var(--preview-accent, #f6821f);
  color: #ffffff;
  font-size: .7rem;
  font-weight: 700;
  transition: background .25s ease;
}

.cf-cb-visual {
  position: relative;
  height: 88px;
  border-radius: 10px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--preview-accent, #f6821f) 18%, #fff7ed), color-mix(in srgb, var(--preview-accent, #f6821f) 36%, #ffedd5));
  border: 1px solid color-mix(in srgb, var(--preview-accent, #f6821f) 28%, transparent);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cf-cb-orb {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--preview-accent, #f6821f), transparent 70%);
  opacity: .35;
  animation: cfOrbFloat 4.5s ease-in-out infinite;
}

.cf-cb-stat {
  position: relative;
  text-align: center;
  background: rgba(255, 255, 255, .88);
  padding: .32rem .58rem;
  border-radius: 8px;
  border: 1px solid rgba(20, 21, 23, .08);
}
.cf-cb-stat b {
  display: block;
  font: 800 .86rem/1.1 var(--cf-mono);
  color: #141517;
}
.cf-cb-stat small {
  font-size: .6rem;
  color: #525866;
}

.cf-cb-mods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
}

.cf-cb-mod {
  padding: .42rem .5rem;
  border-radius: 7px;
  background: #faf9f6;
  border: 1px solid #e8e5dd;
  font-size: .68rem;
  font-weight: 600;
  color: #272a30;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-cb-mod i {
  font: 700 .6rem/1 var(--cf-mono);
  color: var(--preview-accent, #f6821f);
  margin-right: .28rem;
}

.cf-stage-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-top: .7rem;
  font: 600 .74rem/1.2 var(--cf-mono);
  color: var(--cf-ink-2);
}
.cf-stage-foot a {
  color: var(--cf-orange-deep);
  text-decoration: none;
}
[data-theme="dark"] .cf-stage-foot a { color: var(--cf-amber); }
.cf-stage-foot a:hover { text-decoration: underline; }

/* ==========================================================================
   Section 2: Architectural Telemetry Marquee
   ========================================================================== */

.cf-band-marquee {
  background: var(--cf-surface-2);
  padding: 0;
}

.krijo-marquee {
  overflow: hidden;
  padding: .78rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.krijo-marquee-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: cfMarquee 30s linear infinite;
  font: 600 .83rem/1 var(--cf-mono);
  color: var(--cf-ink-2);
}
.krijo-marquee:hover .krijo-marquee-track { animation-play-state: paused; }
.krijo-marquee-track span { white-space: nowrap; }
.krijo-marquee-track b { color: var(--cf-orange); margin-right: .25rem; }

/* ==========================================================================
   Section 3: 5-Stage Edge Pipeline + Interactive Process Studio
   ========================================================================== */

.cf-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  padding: .85rem 1.1rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
  border-radius: 12px;
  border: 1px dashed var(--cf-rail);
  background: var(--cf-bg-tint);
  overflow-x: auto;
}

.cf-pipe-node {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .7rem;
  border-radius: 8px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-line);
  font-size: .78rem;
  white-space: nowrap;
  flex: none;
}
.cf-pipe-node span {
  font: 700 .68rem/1 var(--cf-mono);
  color: var(--cf-orange);
}
.cf-pipe-node b {
  font-weight: 650;
  color: var(--cf-ink);
}
.cf-pipe-live {
  border-color: rgba(16, 185, 129, .45);
  background: rgba(16, 185, 129, .08);
}
.cf-pipe-live span,
.cf-pipe-live b { color: #059669; }
[data-theme="dark"] .cf-pipe-live span,
[data-theme="dark"] .cf-pipe-live b { color: #34d399; }

.cf-pipe-rail {
  position: relative;
  flex: 1;
  min-width: 24px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--cf-rail) 0 4px, transparent 4px 8px);
  overflow: hidden;
}
.cf-pipe-rail i {
  position: absolute;
  top: -1px;
  left: -30%;
  width: 34%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, #f6821f, #fbad41);
  animation: cfPipePulse 2.6s linear infinite;
}
.cf-pipe-rail i.d1 { animation-delay: .55s; }
.cf-pipe-rail i.d2 { animation-delay: 1.1s; }
.cf-pipe-rail i.d3 { animation-delay: 1.65s; }

.cf-process-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.8rem, 5vw, 4rem);
  align-items: center;
}

.cf-step-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: .65rem;
}

.cf-step-list button {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  width: 100%;
  text-align: left;
  padding: .95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--cf-line);
  background: var(--cf-surface);
  color: var(--cf-ink);
  font: inherit;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.cf-step-list button:hover {
  border-color: rgba(246, 130, 31, .5);
}

.cf-step-list button[aria-pressed="true"] {
  border-color: var(--cf-orange);
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--cf-surface));
  box-shadow: 0 10px 26px -16px rgba(246, 130, 31, .35);
}

.cf-step-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid var(--cf-line);
  font: 700 .74rem/1 var(--cf-mono);
  color: var(--cf-muted);
  flex: none;
}

.cf-step-list button[aria-pressed="true"] .cf-step-num {
  background: var(--cf-orange);
  border-color: var(--cf-orange);
  color: #ffffff;
}

.cf-step-body strong {
  display: block;
  font-size: 1rem;
  margin-bottom: .2rem;
}
.cf-step-body small {
  display: block;
  font-size: .88rem;
  line-height: 1.45;
  color: var(--cf-muted);
}

/* Interactive Dark Studio Demo Stage */
.cf-demo-card {
  padding: 1rem;
  border-radius: 16px;
  background: #101319;
  border: 1px solid #262d3b;
  color: #f8fafc;
  box-shadow: 0 24px 48px -22px rgba(16, 19, 25, .42);
}

.cf-demo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .15rem .35rem .75rem;
  font: 600 .78rem/1 var(--cf-mono);
  color: #cbd5e1;
}
.cf-demo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f6821f;
  margin-right: .35rem;
}
.cf-demo-bar button {
  background: #191e28;
  color: #fbad41;
  border: 1px solid #2e3748;
  border-radius: 7px;
  padding: .34rem .68rem;
  font: inherit;
  cursor: pointer;
}
.cf-demo-bar button:hover { border-color: #f6821f; }

.cf-scene {
  min-height: 280px;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #232a38;
  background:
    radial-gradient(circle, rgba(246, 130, 31, .14) 1px, transparent 1.2px) center / 18px 18px,
    radial-gradient(ellipse at 50% 45%, rgba(246, 130, 31, .14), #12161f 74%);
  display: grid;
  place-items: center;
}

.cf-scene-panel {
  width: 100%;
  text-align: center;
  animation: cfPanelIn .42s cubic-bezier(.22, 1, .36, 1) both;
}
.cf-scene-panel[hidden] { display: none; }

.cf-mg {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin-inline: auto;
}

.cf-scene-caption {
  margin: .5rem 0 0;
  font-size: .86rem;
  color: #cbd5e1;
}
.cf-scene-caption a { color: #fbad41; }

.cf-eq-bars rect {
  transform-box: fill-box;
  transform-origin: center;
  animation: cfEqBounce 1s ease-in-out infinite;
}
.cf-eq-bars rect:nth-child(2) { animation-delay: .15s; }
.cf-eq-bars rect:nth-child(3) { animation-delay: .3s; }
.cf-eq-bars rect:nth-child(4) { animation-delay: .45s; }

.cf-core-ring {
  transform-origin: 220px 96px;
  animation: cfPulseScale 2.4s ease-in-out infinite;
}

.cf-node-pop-1 { animation: cfPanelIn .45s .05s both; }
.cf-node-pop-2 { animation: cfPanelIn .45s .14s both; }
.cf-node-pop-3 { animation: cfPanelIn .45s .23s both; }
.cf-node-pop-4 { animation: cfPanelIn .45s .32s both; }

.cf-cursor-glide {
  animation: cfCursorGlide 4.8s cubic-bezier(.22, 1, .36, 1) infinite;
}

.cf-radar-ring {
  transform-origin: 220px 84px;
  animation: cfRadarPing 2.4s cubic-bezier(.22, 1, .36, 1) infinite;
}
.cf-radar-d2 { animation-delay: 1.2s; }

.cf-demo-track {
  display: flex;
  gap: .35rem;
  margin-top: .75rem;
}
.cf-demo-track i {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: #232a38;
  transition: background .25s ease;
}
.cf-scene[data-phase="0"] + .cf-demo-track i:first-child,
.cf-scene[data-phase="1"] + .cf-demo-track i:nth-child(-n+2),
.cf-scene[data-phase="2"] + .cf-demo-track i {
  background: linear-gradient(90deg, #ea580c, #fbad41);
}

/* ==========================================================================
   Section 4: #shembuj — Zero-Lag Native Architectural Browser Previews
   ========================================================================== */

#shembuj,
#cmimet {
  scroll-margin-top: 72px;
}

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

.cf-show-card {
  display: flex;
  flex-direction: column;
  background: var(--cf-surface);
  border: 1px solid var(--cf-line);
  border-radius: 14px;
  padding: .8rem;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.cf-show-card:hover {
  transform: translateY(-4px);
  border-color: var(--cf-orange);
  box-shadow: 0 20px 40px -22px rgba(234, 88, 12, .25);
}

.cf-show-window {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e3dc;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.cf-show-viewport {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.cf-mini-site {
  height: 100%;
  padding: .75rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-family: system-ui, -apple-system, sans-serif;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.cf-show-card:hover .cf-mini-site {
  transform: scale(1.02);
}

/* 1) fakti.news miniature */
.cf-mini-news { background: #f8fafc; color: #0f172a; }
.cf-mn-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: .42rem;
  border-bottom: 2px solid #dc2626;
  font-size: .68rem;
}
.cf-mn-head strong { font-weight: 900; letter-spacing: -.03em; font-size: .78rem; }
.cf-mn-head strong span { color: #dc2626; }
.cf-mn-nav { display: flex; gap: .45rem; color: #64748b; font-size: .6rem; }
.cf-mn-nav i { font-style: normal; }
.cf-mn-live { color: #dc2626; font: 700 .58rem/1 var(--cf-mono); }
.cf-mn-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: .6rem;
  min-height: 0;
}
.cf-mn-lead {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.cf-mn-kicker {
  align-self: flex-start;
  font: 700 .52rem/1 var(--cf-mono);
  padding: .18rem .36rem;
  border-radius: 3px;
  background: #fee2e2;
  color: #b91c1c;
}
.cf-mn-photo {
  flex: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 55%, #dc2626 140%);
}
.cf-mn-lines { display: grid; gap: 4px; }
.cf-mn-lines b,
.cf-mn-item b {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #334155;
}
.cf-mn-lines b.w80 { width: 78%; background: #94a3b8; }
.cf-mn-side { display: grid; gap: .42rem; align-content: space-between; }
.cf-mn-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: .4rem;
  align-items: center;
  padding: .28rem;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.cf-mn-item i { height: 26px; border-radius: 4px; background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
.cf-mn-item div { display: grid; gap: 4px; }
.cf-mn-item b.w70 { width: 70%; background: #94a3b8; }
.cf-mn-item b.w60 { width: 60%; background: #94a3b8; }
.cf-mn-item b.w75 { width: 75%; background: #94a3b8; }

/* 2) plasticarska.online miniature */
.cf-mini-store { background: #ffffff; color: #18181b; }
.cf-ms-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .4rem;
  font-size: .64rem;
}
.cf-ms-head strong { font-weight: 850; letter-spacing: -.02em; }
.cf-ms-search {
  flex: 1;
  padding: .2rem .45rem;
  border-radius: 99px;
  background: #f4f4f5;
  color: #71717a;
  font-size: .56rem;
  text-align: left;
}
.cf-ms-cart {
  padding: .2rem .45rem;
  border-radius: 99px;
  background: #fff7ed;
  color: #ea580c;
  font-size: .58rem;
}
.cf-ms-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .48rem .65rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #18181b, #27272a 60%, #ea580c 145%);
  color: #ffffff;
}
.cf-ms-banner small { display: block; font: 700 .5rem/1 var(--cf-mono); color: #fdba74; margin-bottom: 3px; }
.cf-ms-banner b { font-size: .68rem; line-height: 1.2; }
.cf-ms-banner > span {
  padding: .22rem .42rem;
  border-radius: 5px;
  background: #f6821f;
  font: 800 .62rem/1 var(--cf-mono);
}
.cf-ms-products {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
}
.cf-ms-prod {
  padding: .35rem;
  border-radius: 7px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cf-ms-prod i { flex: 1; border-radius: 5px; min-height: 36px; }
.cf-ms-prod i.p1 { background: linear-gradient(135deg, #fed7aa, #fb923c); }
.cf-ms-prod i.p2 { background: linear-gradient(135deg, #bae6fd, #38bdf8); }
.cf-ms-prod i.p3 { background: linear-gradient(135deg, #bbf7d0, #34d399); }
.cf-ms-prod b { height: 4px; width: 75%; border-radius: 2px; background: #52525b; }
.cf-ms-prod span { font: 700 .58rem/1 var(--cf-mono); color: #ea580c; }

/* 3) denisraufi.com miniature */
.cf-mini-editorial { background: #f6f3ec; color: #111413; }
.cf-me-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: .38rem;
  border-bottom: 1px solid #dad4c6;
}
.cf-me-head strong { font-family: Georgia, serif; font-size: .86rem; }
.cf-me-head strong span { color: #0d6e52; }
.cf-me-nav { display: flex; gap: .45rem; font-size: .58rem; color: #575e5b; }
.cf-me-nav i { font-style: normal; }
.cf-me-hero { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cf-me-hero small { font: 700 .52rem/1 var(--cf-mono); color: #0d6e52; letter-spacing: .06em; }
.cf-me-hero b {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: .92rem;
  line-height: 1.18;
  color: #111413;
}
.cf-me-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
}
.cf-me-cards div {
  padding: .36rem;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #dad4c6;
}
.cf-me-cards span { display: block; font: 700 .52rem/1 var(--cf-mono); color: #0d6e52; margin-bottom: 4px; }
.cf-me-cards i { display: block; height: 4px; width: 78%; border-radius: 2px; background: #575e5b; opacity: .55; }

.cf-show-body {
  flex: 1;
  padding: .95rem .35rem .75rem;
}

.cf-badge-outline {
  display: inline-block;
  padding: .22rem .58rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 130, 31, .35);
  background: rgba(246, 130, 31, .08);
  color: var(--cf-orange-deep);
  font: 650 .7rem/1.2 var(--cf-mono);
}
[data-theme="dark"] .cf-badge-outline { color: var(--cf-amber); }

.cf-show-body h3 {
  margin: .5rem 0 .3rem;
  font-family: var(--cf-display);
  font-size: 1.2rem;
  letter-spacing: -.02em;
}

.cf-show-body p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--cf-muted);
}

.cf-show-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .75rem .35rem .15rem;
  border-top: 1px dashed var(--cf-rail);
}

/* ==========================================================================
   Section 5: Scene 3 — Cloudflare Kinetic Split ("Chaos vs. Calm")
   ========================================================================== */

.cf-kinetic-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.cf-cmp-chaos,
.cf-cmp-calm {
  position: relative;
  isolation: isolate;
  border-radius: 16px;
  padding: 1.65rem;
  overflow: hidden;
}

.cf-cmp-chaos {
  background: var(--cf-bg-tint);
  border: 1px solid var(--cf-line);
  color: var(--cf-ink);
}

.cf-cmp-calm {
  background: linear-gradient(140deg, #c2410c 0%, #ea580c 42%, #f6821f 80%, #fbad41 100%);
  border: 1px solid rgba(246, 130, 31, .5);
  color: #ffffff;
  box-shadow: 0 24px 48px -20px rgba(234, 88, 12, .38);
}

.cf-cmp-calm .cf-halftone {
  background-image: radial-gradient(circle, rgba(255, 255, 255, .2) 1.1px, transparent 1.2px);
}

.cf-cmp-visual {
  position: relative;
  height: 118px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.cf-chaos-stage {
  background: var(--cf-surface);
  border: 1px dashed var(--cf-rail);
}

.cf-chaos-wave {
  position: absolute;
  inset: 14px 0 0;
  width: 100%;
  height: 90px;
}

.cf-drift {
  position: absolute;
  padding: .28rem .58rem;
  border-radius: 999px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-line);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
  font: 650 .7rem/1 var(--cf-mono);
  color: #b91c1c;
  white-space: nowrap;
}
[data-theme="dark"] .cf-drift { color: #fca5a5; }

.cf-d1 { top: 14px; left: 14px; animation: cfDriftA 4.4s ease-in-out infinite; }
.cf-d2 { top: 18px; right: 16px; animation: cfDriftB 5.1s ease-in-out infinite; }
.cf-d3 { bottom: 14px; left: 20%; animation: cfDriftB 4.7s .4s ease-in-out infinite; }
.cf-d4 { bottom: 16px; right: 12%; animation: cfDriftA 5.3s .8s ease-in-out infinite; }

.cf-calm-stage {
  background: rgba(20, 21, 23, .18);
  border: 1px solid rgba(255, 255, 255, .24);
  display: grid;
  place-items: center;
}

.cf-horizon-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1.5px dashed rgba(255, 255, 255, .6);
}

.cf-calm-pill {
  position: relative;
  z-index: 2;
  padding: .48rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  color: #141517;
  font: 750 .8rem/1 var(--cf-mono);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transition: opacity .24s ease, transform .24s ease;
}
.cf-calm-pill.is-swapping {
  opacity: 0;
  transform: translateY(5px);
}

.cf-cmp-kicker {
  display: inline-block;
  font: 700 .7rem/1 var(--cf-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .28rem .62rem;
  border-radius: 999px;
  margin-bottom: .65rem;
}
.cf-cmp-chaos .cf-cmp-kicker {
  background: var(--cf-surface-2);
  color: var(--cf-muted);
}
.cf-cmp-calm .cf-cmp-kicker {
  background: rgba(255, 255, 255, .2);
  color: #ffffff;
}

.cf-cmp-chaos h3,
.cf-cmp-calm h3 {
  margin: 0 0 .95rem;
  font-family: var(--cf-display);
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.cf-cmp-calm h3 { color: #ffffff; }

.cf-cmp-chaos ul,
.cf-cmp-calm ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .65rem;
  font-size: .94rem;
}

.cf-cmp-chaos li,
.cf-cmp-calm li {
  position: relative;
  padding-left: 1.45rem;
}
.cf-cmp-chaos li { color: var(--cf-ink-2); }
.cf-cmp-chaos li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 800;
}
.cf-cmp-calm li { color: rgba(255, 255, 255, .96); }
.cf-cmp-calm li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: 900;
}

/* ==========================================================================
   Section 6: #cmimet — Aligned Architectural Pricing
   ========================================================================== */

.cf-pricing-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.3rem;
}

.cf-pricing-head .mj-bill-toggle {
  margin: 0;
  border-radius: 10px;
  padding: 4px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-line);
}
.cf-pricing-head .mj-bill-toggle button {
  border-radius: 7px;
  padding: .45rem .95rem;
}

.cf-save-pill {
  padding: .15rem .45rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, .16);
  color: #059669;
  font: 700 .72rem/1 var(--cf-mono);
}
.mj-bill-toggle button.active .cf-save-pill {
  background: #f6821f;
  color: #ffffff;
}

.cf-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.cf-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.5rem;
  border-radius: 14px;
  background: var(--cf-surface);
  border: 1px solid var(--cf-line);
  transition: border-color .2s ease, transform .2s ease;
}
.cf-plan:hover {
  border-color: rgba(246, 130, 31, .5);
  transform: translateY(-2px);
}

.cf-plan-featured {
  border: 2px solid var(--cf-orange);
  box-shadow: 0 22px 44px -24px rgba(246, 130, 31, .35);
}

.cf-plan-badge {
  position: absolute;
  top: -12px;
  left: 1.25rem;
  margin: 0;
  padding: .24rem .7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ea580c, #f6821f);
  color: #ffffff;
  font: 700 .7rem/1.1 var(--cf-mono);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cf-plan-top h3 {
  margin: 0;
  font-family: var(--cf-display);
  font-size: 1.3rem;
}
.cf-plan-tag {
  margin: .25rem 0 0;
  font-size: .86rem;
  color: var(--cf-muted);
}

.cf-price {
  margin: 1.1rem 0 .2rem;
  font-family: var(--cf-display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}
.cf-price small {
  font-size: .92rem;
  font-weight: 500;
  color: var(--cf-muted);
  margin-left: .2rem;
}

.cf-price-sub {
  margin: 0 0 1.15rem;
  font-size: .82rem;
  color: var(--cf-muted);
}

.cf-plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: .55rem;
  font-size: .9rem;
  flex: 1;
  align-content: start;
}
.cf-plan ul li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--cf-ink-2);
}
.cf-plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cf-orange);
  font-weight: 800;
}

.cf-plan .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.cf-pack-note {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: .88rem;
  color: var(--cf-muted);
}

/* ==========================================================================
   Section 7: 2-Column FAQ + Sunset-Orange Final CTA + Unified Footer
   ========================================================================== */

.cf-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.cf-faq-list {
  display: grid;
  gap: .65rem;
}

.cf-faq-item {
  border: 1px solid var(--cf-line);
  border-radius: 12px;
  background: var(--cf-surface);
  padding: .95rem 1.15rem;
  transition: border-color .18s ease;
}
.cf-faq-item[open] {
  border-color: rgba(246, 130, 31, .5);
}

.cf-faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-weight: 650;
  font-size: .98rem;
  color: var(--cf-ink);
}
.cf-faq-item summary::-webkit-details-marker { display: none; }
.cf-faq-item summary::after {
  content: "+";
  font: 600 1.2rem/1 var(--cf-mono);
  color: var(--cf-orange);
  flex: none;
  transition: transform .2s ease;
}
.cf-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.cf-faq-item p {
  margin: .7rem 0 0;
  color: var(--cf-muted);
  font-size: .93rem;
  line-height: 1.58;
}

/* Sunset-Orange Halftone Final CTA */
.cf-final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(2.4rem, 5vw, 3.8rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 45%, #f6821f 82%, #fbad41 100%);
  color: #ffffff;
  box-shadow: 0 24px 52px -22px rgba(234, 88, 12, .45);
}

.cf-final-cta .cf-halftone {
  background-image: radial-gradient(circle, rgba(255, 255, 255, .22) 1.2px, transparent 1.3px);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 75%);
}

.cf-cta-kicker {
  margin: 0 0 .55rem;
  font: 700 .74rem/1 var(--cf-mono);
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .86);
}

.cf-final-cta h2 {
  color: #ffffff;
  max-width: 22ch;
  margin-inline: auto;
}

.cf-final-cta > p:not(.cf-cta-kicker) {
  margin: .75rem auto 1.5rem;
  max-width: 48ch;
  color: rgba(255, 255, 255, .92);
  font-size: 1.02rem;
}

.cf-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
}

.cf-btn-light {
  background: #ffffff !important;
  color: #141517 !important;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.cf-btn-light:hover { transform: translateY(-1px); }

.cf-btn-outline-light {
  background: rgba(255, 255, 255, .12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, .45) !important;
  border-radius: 8px;
}
.cf-btn-outline-light:hover { background: rgba(255, 255, 255, .2) !important; }

/* Unified 1280px Footer */
.cf-footer {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--cf-bg);
  border-top: 0;
  border-inline: 1px dashed var(--cf-rail);
}
.cf-footer .mj-footer-grid,
.cf-footer .mj-footer-bottom {
  max-width: none;
  padding-inline: clamp(1.25rem, 4vw, 3.25rem);
}
.cf-footer .mj-footer-bottom {
  border-top: 1px dashed var(--cf-rail);
}

/* ==========================================================================
   Keyframes & Responsive / Reduced-Motion Rules
   ========================================================================== */

@keyframes cfPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(246, 130, 31, .65); }
  70% { box-shadow: 0 0 0 7px rgba(246, 130, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(246, 130, 31, 0); }
}

@keyframes cfWireFlow {
  from { stroke-dashoffset: 182; }
  to { stroke-dashoffset: 0; }
}

@keyframes cfScanInitial {
  0% { opacity: .95; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(250px); }
}

@keyframes cfScanSweep {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(250px); }
}

@keyframes cfCompileFlash {
  0% { opacity: .45; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes cfOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6px, -6px) scale(1.1); }
}

@keyframes cfMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes cfPipePulse {
  from { left: -35%; }
  to { left: 105%; }
}

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

@keyframes cfEqBounce {
  0%, 100% { transform: scaleY(.55); }
  50% { transform: scaleY(1.35); }
}

@keyframes cfPulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@keyframes cfCursorGlide {
  0%, 100% { transform: translate(0, 0); }
  45% { transform: translate(-72px, -18px); }
  75% { transform: translate(-28px, 24px); }
}

@keyframes cfRadarPing {
  0% { transform: scale(1); opacity: .75; }
  100% { transform: scale(2.35); opacity: 0; }
}

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

@keyframes cfDriftB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 980px) {
  .cf-hero-grid,
  .cf-process-grid,
  .cf-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cf-showcase-grid,
  .cf-plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr));
  }
  .cf-kinetic-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  body:has(.krijo-home) > .topbar {
    position: relative;
    flex-wrap: wrap;
    gap: .65rem;
  }
  body:has(.krijo-home) > .topbar nav {
    width: 100%;
    gap: .5rem .7rem;
  }
  body:has(.krijo-home) > .topbar .lang-switch {
    position: absolute;
    inset: .85rem 1rem auto auto;
  }
  .cf-cb-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .cf-cb-visual { height: 64px; }
  .cf-cb-mods { grid-template-columns: minmax(0, 1fr); }
  .cf-prompt-foot { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .cf-pulse-dot,
  .cf-wire-pulse,
  .cf-scanline,
  .cf-cb-orb,
  .krijo-marquee-track,
  .cf-pipe-rail i,
  .cf-eq-bars rect,
  .cf-core-ring,
  .cf-cursor-glide,
  .cf-radar-ring,
  .cf-drift,
  .cf-scene-panel {
    animation: none !important;
  }
  .cf-demo-bar [data-home-replay] { display: none; }
}
