/* 2026 landing rebuild.
 *
 * Loaded after marketing.css so it wins on the cascade without !important.
 * Clean typography, progressive motion system, interactive product cockpit,
 * full-width live website browser, Bento grid layout, tool calculator,
 * simulation triggers, theme sandbox, and searchable FAQ.
 */

/* ---------- 1. Typography & Global Tokens -------------------------------- */

@font-face {
  font-family: "Manrope";
  src: url("/site-assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("/site-assets/fonts/Lora-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --font-sans: "Manrope", "Aptos", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --green: #2cd46b;
  --green-glow: rgba(44, 212, 107, 0.15);
  --ink: #070907;
  --panel: #0d100d;
  --panel-border: #1f251f;
  --text: #f0f3ed;
  --muted: #9aa194;
  --line: #222820;
  font-family: var(--font-sans);
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-variation-settings: "wght" 780;
}

.marketing-home .hero h1 {
  font-size: clamp(2.9rem, 4.3vw, 4.8rem);
  letter-spacing: -.05em;
  font-variation-settings: "wght" 800;
}

.section-intro h2 {
  text-wrap: balance;
}
.marketing-home .section-intro.centered {
  max-width: 1040px;
}

.mk-voice blockquote,
.feature-signal p,
.demo-canvas h2,
.review-score h2 {
  font-family: var(--font-serif);
}

/* ---------- 2. Header & Title Navbar ------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 12, 9, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 max(20px, calc((100% - var(--max)) / 2));
  margin: 0;
  box-sizing: border-box;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -.02em;
  color: #fff;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green), #1b7a44);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 14px rgba(44, 212, 107, 0.28);
}
.logo-mark i {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 3px;
}
.logo-mark i:first-child {
  background: #08140c;
  transform: translate(-3px, -3px);
}
.logo-mark i:last-child {
  background: #ffffff;
  transform: translate(3px, 3px);
  opacity: 0.95;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav > a {
  text-decoration: none;
  color: #a4ad9f;
  font-size: .92rem;
  font-weight: 650;
  transition: color .15s ease;
}
.main-nav > a:hover {
  color: #ffffff;
}
.main-nav .nav-cta {
  background: var(--green);
  color: #071309;
  font-weight: 850;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: .88rem;
  box-shadow: 0 3px 12px rgba(44, 212, 107, 0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.main-nav .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(44, 212, 107, 0.38);
}

/* ---------- 3. Motion System -------------------------------------------- */

.fx-stagger [data-stagger] > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .6s ease var(--reveal-delay, 0ms),
    transform .6s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay, 0ms);
}
.fx-stagger [data-stagger].is-revealed > *,
.fx-stagger .is-revealed [data-stagger] > * {
  opacity: 1;
  transform: none;
}

.fx-stagger .home-hero .hero-copy > * {
  animation: home-rise .85s cubic-bezier(.2, .85, .25, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes home-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.fx-parallax [data-parallax] {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.fx-magnetic [data-magnetic] {
  transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.fx-magnetic [data-magnetic]:hover {
  transition-duration: .08s;
}

[data-count-to] {
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. Hero Section & Interactive Cockpit ------------------------ */

.marketing-home .hero {
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0 72px;
}

.marketing-home .hero h1 .hero-line {
  display: block;
  color: var(--text);
}
.marketing-home .hero h1 .hero-line-muted {
  color: #868b80;
}

.home-hero .hero-lede {
  max-width: 33em;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Starter Input Form */
.hero-starter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}
.starter-input-wrap {
  display: inline-flex;
  align-items: center;
  background: #111511;
  border: 1px solid #2f372e;
  border-radius: 12px;
  padding: 4px 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.starter-input-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(44, 212, 107, 0.18);
}
.starter-prefix,
.starter-suffix {
  color: #6a7465;
  font-size: .84rem;
  font-weight: 600;
  user-select: none;
}
.starter-input-wrap input {
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
  padding: 8px 6px;
  outline: none;
  width: 170px;
}
.starter-input-wrap input::placeholder {
  color: #4f584b;
}

.hero-subactions {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}
.hero-subactions .text-link {
  font-size: .88rem;
  font-weight: 700;
  color: #a4ad9f;
}
.hero-subactions .text-link:hover {
  color: var(--text);
}

.home-hero .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #7b8377;
  font-size: .82rem;
  font-weight: 650;
}
.home-hero .hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.home-hero .hero-trust span::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

/* Hero Product Stage */
.product-stage {
  border: 1px solid #283028;
  border-radius: 20px;
  background: #090c09;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.stage-chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #0e120e;
  border-bottom: 1px solid #1f251f;
  min-height: 50px;
  box-sizing: border-box;
  gap: 12px;
}
.stage-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  width: 60px;
}
.stage-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #394238;
}
.stage-views {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: #141a14;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #232a22;
  flex-shrink: 0;
}
.stage-view-btn {
  background: transparent;
  border: 0;
  color: #8c9587;
  font-size: .74rem;
  font-weight: 750;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s ease;
}
.stage-view-btn.active {
  background: #232c22;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.live-pill {
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  background: rgba(44, 212, 107, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(44, 212, 107, 0.3);
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
  line-height: 1;
}

.hero-craft-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: #0a0e0a;
  border-bottom: 1px solid #1a201a;
  position: relative;
  z-index: 2;
}
.craft-label {
  color: #666f62;
  font-size: .68rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  flex-shrink: 0;
}
.craft-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}
.craft-pills::-webkit-scrollbar {
  display: none;
}
.craft-pill {
  background: #131713;
  border: 1px solid #222921;
  color: #98a192;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s ease;
}
.craft-pill:hover {
  color: var(--text);
  border-color: #3b4639;
}
.craft-pill.active {
  background: rgba(44, 212, 107, 0.12);
  color: var(--green);
  border-color: var(--green);
}

/* Stage Panels */
.hero-stage-panel {
  display: none;
  padding: 18px;
  min-height: 380px;
}
.hero-stage-panel.active {
  display: block;
  animation: panel-fade .3s ease forwards;
}
@keyframes panel-fade {
  from { opacity: 0; transform: scale(0.985); }
  to   { opacity: 1; transform: scale(1); }
}

/* Mini Website View Inside Hero */
.mini-site-frame {
  background: #0e120e;
  border: 1px solid #242c23;
  border-radius: 14px;
  padding: 16px;
}
.mini-site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #1a2019;
}
.mini-site-nav strong {
  font-size: .86rem;
  color: var(--text);
  font-weight: 800;
}
.mini-site-nav nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  color: #7b8377;
  font-weight: 650;
}
.mini-site-nav .nav-btn {
  background: var(--green);
  color: #071309;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: 800;
}
.mini-site-hero {
  padding: 22px 4px 16px;
}
.mini-kicker {
  color: var(--green);
  font-size: .68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
  margin-bottom: 6px;
}
.mini-site-hero h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 8px;
}
.mini-site-hero p {
  color: #8c9587;
  font-size: .8rem;
  line-height: 1.5;
  margin: 0 0 14px;
  max-width: 32ch;
}
.mini-site-actions {
  display: flex;
  gap: 8px;
}
.mini-site-actions .button.small {
  padding: 6px 12px;
  font-size: .75rem;
  border-radius: 8px;
}
.mini-site-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #1c221b;
}
.mini-site-features article {
  background: #121712;
  border: 1px solid #20271f;
  border-radius: 8px;
  padding: 10px 8px;
  display: grid;
  gap: 3px;
}
.mini-site-features .feature-icon {
  font-size: .95rem;
}
.mini-site-features strong {
  font-size: .72rem;
  color: var(--text);
  font-weight: 750;
}
.mini-site-features p {
  font-size: .62rem;
  color: #7b8377;
  line-height: 1.35;
  margin: 0;
}

/* Dashboard View Inside Hero */
.stage-grid {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
}
.stage-grid aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px 0;
  border-right: 1px solid #1b211a;
  font-size: .74rem;
}
.stage-grid aside b {
  color: var(--green);
  font-weight: 800;
}
.stage-grid aside span {
  color: #6d7667;
  font-weight: 650;
}
.stage-main {
  display: grid;
  gap: 12px;
}
.mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mini-head small {
  color: #6d7667;
  font-size: .66rem;
  font-weight: 650;
  display: block;
}
.mini-head strong {
  color: var(--text);
  font-size: .84rem;
}
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mini-stats article {
  background: #111611;
  border: 1px solid #1f271e;
  border-radius: 8px;
  padding: 8px 10px;
  display: grid;
}
.mini-stats small {
  color: #6a7465;
  font-size: .62rem;
  font-weight: 650;
}
.mini-stats b {
  color: var(--text);
  font-size: 1.04rem;
  margin: 2px 0;
}
.mini-stats em {
  color: var(--green);
  font-size: .62rem;
  font-style: normal;
  font-weight: 750;
}
.mini-panels {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 10px;
}
.mini-panels article {
  background: #101410;
  border: 1px solid #1e251d;
  border-radius: 8px;
  padding: 10px 12px;
  display: grid;
  gap: 6px;
}
.mini-panels small {
  color: #6d7668;
  font-size: .64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mini-panels p {
  margin: 0;
  font-size: .72rem;
  display: grid;
}
.mini-panels p b {
  color: var(--text);
  font-weight: 750;
}
.mini-panels p span {
  color: #7d8677;
  font-size: .66rem;
}
.toggle-line {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
.toggle-line span {
  color: var(--text) !important;
  font-size: .72rem !important;
  font-weight: 650;
}
.toggle {
  width: 28px;
  height: 16px;
  background: #252e24;
  border: 0;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background .2s ease;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
}
.toggle.on {
  background: var(--green);
}
.toggle.on::after {
  transform: translateX(12px);
}

/* ---------- 5. Scrolling Feature Strip ---------------------------------- */

.home-proof {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #090c09;
}
.home-proof .proof-track {
  display: flex;
  width: max-content;
}
.home-proof .proof-set {
  display: flex;
  flex: none;
  gap: 46px;
  align-items: center;
  padding: 17px 23px;
}
.home-proof .proof-set span {
  color: #1b2116;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.home-proof .proof-set[aria-hidden="true"] {
  display: none;
}
.fx-marquee .home-proof .proof-set[aria-hidden="true"] {
  display: flex;
}
.fx-marquee .home-proof .proof-track {
  animation: home-marquee 38s linear infinite;
}
@keyframes home-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- 6. Scale & Counts ------------------------------------------- */

.home-scale .scale-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 52px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #10120f, #0c0e0b);
  overflow: hidden;
}
.home-scale .scale-grid article {
  display: grid;
  gap: 10px;
  align-content: center;
  justify-items: center;
  padding: 44px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.home-scale .scale-grid article:first-child {
  border-left: 0;
}
.home-scale .scale-grid b {
  color: var(--green);
  font-size: clamp(2.9rem, 5vw, 4.4rem);
  font-variation-settings: "wght" 800;
  line-height: .9;
  letter-spacing: -.05em;
}
.home-scale .scale-grid span {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
  max-width: 11em;
}

/* ---------- 7. Template Showcase Cards ---------------------------------- */

.home-template-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.home-template-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #0d100d;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.home-template-card:hover {
  border-color: #3b4b37;
  transform: translateY(-3px);
}
.home-template-card > span {
  color: #9aa495;
  font-size: .78rem;
  font-weight: 750;
  margin-bottom: 12px;
  display: block;
}

/* ---------- 8. Live Website Preview Section ----------------------------- */

.home-live {
  padding-top: 100px;
  padding-bottom: 100px;
}

.live-browser {
  margin-top: 46px;
  width: 100%;
}

.live-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  max-width: 100%;
}
.live-picker button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 16px;
  color: #b6bab0;
  text-align: center;
  background: #111511;
  border: 1px solid #232b21;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 700;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.live-picker button small {
  color: #727c6e;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.live-picker button:hover {
  color: var(--text);
  border-color: #43543f;
  background: #161c16;
}
.live-picker button.active {
  color: #08140a;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(44, 212, 107, 0.25);
}
.live-picker button.active small {
  color: #17381c;
}

.live-stage {
  overflow: hidden;
  border: 1px solid #293427;
  border-radius: 24px;
  background: #0c0f0c;
  box-shadow: 0 50px 120px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04);
  width: 100%;
}

.live-chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  padding: 10px 18px;
  background: #111611;
  border-bottom: 1px solid #222b21;
  box-sizing: border-box;
}
.live-dots {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}
.live-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3c4939;
}
.live-chrome > small {
  color: #9aa495;
  font-size: .78rem;
  font-weight: 750;
  text-align: center;
}
.live-sizes {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: #182017;
  border: 1px solid #263324;
  border-radius: 9px;
  flex: 0 0 auto;
}
.live-sizes button {
  padding: 5px 12px;
  color: #8c9787;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: .72rem;
  font-weight: 750;
  transition: all .15s ease;
}
.live-sizes button.active {
  color: #071309;
  background: var(--green);
  font-weight: 800;
}

.live-viewport {
  position: relative;
  overflow: hidden;
  background: #131713;
  width: 100%;
}
.live-viewport iframe {
  display: block;
  border: 0;
  background: #fff;
  width: 100%;
  min-height: 720px;
}
.live-viewport.desktop iframe {
  width: 100%;
  height: 720px;
}
.live-viewport.phone {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
  background: radial-gradient(circle at 50% 0%, #1a2219, transparent 65%), #0d110d;
}
.live-viewport.phone iframe {
  width: 390px;
  height: 740px;
  border-radius: 36px;
  box-shadow: 0 0 0 12px #222c20, 0 30px 90px rgba(0,0,0,0.85);
}

.live-note {
  margin-top: 18px;
  color: #8b9186;
  font-size: .8rem;
  text-align: center;
}
.live-browser > .text-link {
  display: block;
  margin-top: 10px;
  text-align: center;
}

/* ---------- 9. Bento Grid (Feature Highlights) -------------------------- */

.home-bento .bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.bento-card {
  grid-column: span 4;
  background: #0e120e;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color .25s ease, transform .25s ease;
}
.bento-card:hover {
  border-color: #3e4c39;
  transform: translateY(-3px);
}
.bento-hero-card {
  grid-column: span 7;
}
.bento-card:nth-child(2) {
  grid-column: span 5;
}
.bento-card:nth-child(3) {
  grid-column: span 4;
}
.bento-card:nth-child(4) {
  grid-column: span 4;
}
.bento-card:nth-child(5) {
  grid-column: span 4;
}

.bento-card.accent {
  background: linear-gradient(165deg, #131913, #0b0f0b);
  border-color: #2b3929;
}
.bento-badge {
  color: var(--green);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bento-card h3 {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.35;
  margin: 0;
}
.bento-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}
.bento-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.bento-chips span {
  background: #141a14;
  border: 1px solid #232c21;
  color: #9aa394;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- 10. Builder Sandbox ----------------------------------------- */

.builder-sandbox-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.palette-swatches {
  display: flex;
  gap: 6px;
}
.swatch-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #1b211a;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.swatch-btn.active {
  border-color: #fff;
  transform: scale(1.15);
}
.font-toggle-btn {
  background: #182017;
  border: 1px solid #293427;
  color: #9ba495;
  font-size: .68rem;
  font-weight: 750;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.site-preview {
  --preview-accent: var(--sandbox-accent, var(--green));
  --preview-font-family: var(--sandbox-font, var(--font-sans));
  font-family: var(--preview-font-family);
}
.sandbox-cta-btn {
  background: var(--preview-accent) !important;
  color: #071309 !important;
  border: 0;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease;
}

/* ---------- 11. Interactive Simulation & Notifications ------------------ */

.sim-controls {
  margin-top: 24px;
  padding: 16px;
  background: #101410;
  border: 1px solid #232c21;
  border-radius: 14px;
}
.sim-label {
  display: block;
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sim-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sim-btn {
  background: #182017;
  border: 1px solid #2b3829;
  color: var(--text);
  font-size: .76rem;
  font-weight: 750;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
}
.sim-btn:hover {
  background: var(--green);
  color: #071309;
  border-color: var(--green);
}

.notify-card-incoming {
  animation: notify-in .4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  border: 1px solid var(--green) !important;
  box-shadow: 0 8px 24px rgba(44, 212, 107, 0.25);
}
@keyframes notify-in {
  from { opacity: 0; transform: translateY(-16px) scale(0.95); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 12. Visitor Report Chart ------------------------------------ */

.trend-stop-top {
  stop-color: var(--green);
  stop-opacity: .26;
}
.trend-stop-bottom {
  stop-color: var(--green);
  stop-opacity: 0;
}
.trend-line {
  stroke: var(--green);
}

/* ---------- 13. Tool Consolidation Calculator --------------------------- */

.home-compare .compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.compare-side {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.compare-label {
  color: #8d9487;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.compare-before {
  background: #0d0f0c;
}
.compare-after {
  background: linear-gradient(165deg, #141a10, #0e1109);
  border-color: #3d4a2c;
}

.calc-checklist {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.calc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #111510;
  border: 1px solid #20271e;
  border-radius: 10px;
  color: var(--text);
  font-size: .88rem;
  font-weight: 650;
  cursor: pointer;
  user-select: none;
}
.calc-item input[type="checkbox"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.calc-total-box {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #20261e;
}
.calc-total-box small {
  color: #7b8475;
  font-size: .74rem;
  font-weight: 700;
  display: block;
}
.calc-total-num {
  color: #e5eae0;
  font-size: 1.8rem;
  font-weight: 850;
  display: block;
  margin: 2px 0 8px;
}
.calc-savings-box {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #232e21;
}
.calc-savings-box small {
  color: #7b8475;
  font-size: .74rem;
  font-weight: 700;
  display: block;
}
.calc-sf-num {
  color: var(--green);
  font-size: 1.8rem;
  font-weight: 850;
  display: block;
  margin: 2px 0 6px;
}
.calc-badge {
  display: inline-block;
  background: rgba(44, 212, 107, 0.12);
  color: var(--green);
  border: 1px solid rgba(44, 212, 107, 0.3);
  font-size: .8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* ---------- 14. Trust Guarantees & Pricing ------------------------------ */

.trust-guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.trust-item {
  background: #0d100d;
  border: 1px solid #1d231b;
  border-radius: 14px;
  padding: 22px 20px;
}
.trust-item strong {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}
.trust-item p {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- 15. Searchable FAQ ------------------------------------------ */

.home-faq {
  border-bottom: 0 !important;
}

.faq-search-wrap {
  max-width: 640px;
  margin: 28px auto 52px;
}
.faq-search-wrap input {
  width: 100%;
  background: #101410;
  border: 1px solid #273124;
  border-radius: 12px;
  padding: 14px 20px;
  color: var(--text);
  font-size: .94rem;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-search-wrap input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(44, 212, 107, 0.15);
}

.home-faq .home-faq-list {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 0 !important;
}
.home-faq details {
  border-bottom: 1px solid var(--line);
}
.home-faq details:last-of-type {
  border-bottom: 0 !important;
}
.home-faq summary {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  color: var(--text);
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 750;
  list-style: none;
}
.home-faq summary::-webkit-details-marker {
  display: none;
}
.home-faq summary::after {
  content: "+";
  flex: none;
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s ease;
}
.home-faq details[open] summary::after {
  transform: rotate(45deg);
}
.home-faq details p {
  max-width: 66ch;
  padding: 0 4px 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-empty {
  text-align: center;
  padding: 48px 16px;
  color: #8c9688;
  font-size: .98rem;
  max-width: 540px;
  margin: 0 auto;
}
.faq-empty em {
  color: var(--green);
  font-style: normal;
  font-weight: 750;
}

/* ---------- 16. Responsive Breakpoints ---------------------------------- */

@media (max-width: 980px) {
  .marketing-home .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 56px;
  }
  .home-template-stack {
    grid-template-columns: 1fr;
  }
  .bento-card {
    grid-column: span 6 !important;
  }
  .bento-hero-card {
    grid-column: span 12 !important;
  }
  .trust-guarantees {
    grid-template-columns: 1fr;
  }
  .home-scale .scale-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-scale .scale-grid article:nth-child(3) {
    border-left: 0;
  }
  .home-scale .scale-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .home-compare .compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0 16px;
  }
  .bento-card {
    grid-column: span 12 !important;
  }
  .mini-site-features {
    grid-template-columns: 1fr;
  }
  .hero-starter-form {
    flex-direction: column;
    align-items: stretch;
  }
  .starter-input-wrap {
    width: 100%;
    box-sizing: border-box;
  }
  .starter-input-wrap input {
    flex: 1;
    width: auto;
  }
  .mini-panels {
    grid-template-columns: 1fr;
  }
  .stage-grid {
    grid-template-columns: 1fr;
  }
  .stage-grid aside {
    display: none;
  }
  .live-chrome {
    flex-wrap: wrap;
    gap: 10px;
  }
  .live-chrome > small {
    order: 3;
    width: 100%;
    text-align: left;
  }
  .live-picker {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .live-picker button {
    flex: none;
  }
}

@media (max-width: 620px) {
  .home-scale .scale-grid {
    grid-template-columns: 1fr;
  }
  .home-scale .scale-grid article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .home-scale .scale-grid article:first-child {
    border-top: 0;
  }
}

/* ---------- 17. Reduced Motion ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .fx-stagger [data-stagger] > *,
  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .fx-stagger .home-hero .hero-copy > * {
    animation: none !important;
  }
  .fx-marquee .home-proof .proof-track {
    animation: none;
  }
  .fx-marquee .home-proof .proof-set[aria-hidden="true"] {
    display: none;
  }
  .fx-parallax [data-parallax],
  .fx-magnetic [data-magnetic] {
    transform: none !important;
    transition: none;
  }
  .hero-stage-panel,
  .notify-card-incoming {
    animation: none !important;
  }
}
