/* =========================================================
   Sol marketing-site styles (component-level)
   ========================================================= */

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--sol-bg) 82%, transparent);
  border-bottom: 1px solid var(--sol-line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sol-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.nav-logo .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--sol-sun-glow), var(--sol-sun) 55%, var(--sol-sun-deep));
  box-shadow: 0 0 10px rgba(242,107,31,0.4);
}
.nav-links { display: flex; gap: var(--s-6); font-size: 14px; color: var(--sol-ink-2); }
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--sol-sun-deep); }
.nav-cta { display: flex; gap: var(--s-3); align-items: center; }
.nav-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sol-mono); font-size: 11px;
  color: var(--sol-mute);
}
.nav-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sol-pos);
  box-shadow: 0 0 0 0 rgba(47,125,59,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,125,59,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(47,125,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,125,59,0); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero-sun {
  position: absolute;
  right: -220px; top: -220px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    var(--sol-sun-glow) 0%,
    var(--sol-sun) 30%,
    var(--sol-sun-deep) 55%,
    transparent 75%);
  filter: blur(8px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero-rays {
  position: absolute;
  right: -260px; top: -260px;
  width: 720px; height: 720px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--sol-line-2);
  border-radius: var(--r-pill);
  font-family: var(--sol-mono);
  font-size: 12px;
  color: var(--sol-ink-2);
  background: color-mix(in oklab, var(--sol-bg-2) 70%, transparent);
}
.hero-kicker .chip {
  background: var(--sol-sun); color: #fff;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 10px; letter-spacing: 0.1em;
}

.hero-title {
  font-family: var(--sol-display);
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin: 20px 0 var(--s-5);
  color: var(--sol-ink);
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sol-sun-deep);
}
.hero-sub {
  font-size: 19px;
  line-height: 1.45;
  color: var(--sol-ink-2);
  max-width: 560px;
  margin-bottom: var(--s-6);
}
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-meta {
  margin-top: var(--s-6);
  display: flex; flex-wrap: wrap; gap: var(--s-6) var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--sol-line);
}
.hero-meta .stat {
  display: flex; flex-direction: column; gap: 2px;
}
.hero-meta .stat-v {
  font-family: var(--sol-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--sol-ink);
}
.hero-meta .stat-v em { color: var(--sol-sun-deep); font-style: normal; }
.hero-meta .stat-l {
  font-family: var(--sol-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sol-mute);
}

/* ---- Hero panel (live demo) ---- */
.hero-demo {
  position: relative;
  background: var(--sol-bg);
  border: 1px solid var(--sol-line);
  border-radius: 18px;
  box-shadow: var(--shadow-3);
  padding: var(--s-5);
  overflow: hidden;
}
.hero-demo::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 0%, rgba(242,107,31,0.08), transparent 40%);
  pointer-events: none;
}
.demo-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--sol-line);
  margin-bottom: var(--s-4);
}
.demo-tabs {
  display: flex; gap: 4px;
  background: var(--sol-bg-2);
  padding: 3px;
  border-radius: var(--r-pill);
  border: 1px solid var(--sol-line);
}
.demo-tab {
  padding: 7px 14px;
  font-family: var(--sol-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  color: var(--sol-mute);
  transition: all 150ms;
}
.demo-tab.active {
  background: var(--sol-ink);
  color: var(--sol-bg);
}
.demo-tag {
  font-family: var(--sol-mono);
  font-size: 11px;
  color: var(--sol-mute);
}

/* Pipeline rows */
.pipe-rows { display: flex; flex-direction: column; gap: var(--s-3); }
.pipe-row {
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: var(--s-4); align-items: center;
  padding: 14px 16px;
  background: var(--sol-bg-2);
  border: 1px solid var(--sol-line);
  border-radius: var(--r-3);
  transition: all 200ms;
}
.pipe-row:hover {
  border-color: var(--sol-sun);
  transform: translateX(2px);
}
.pipe-row .addr { font-weight: 500; font-size: 15px; }
.pipe-row .sub {
  font-family: var(--sol-mono); font-size: 11px; color: var(--sol-mute);
}
.pipe-row .price { font-family: var(--sol-display); font-size: 18px; color: var(--sol-ink); }
.pipe-row .stage {
  font-family: var(--sol-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid currentColor;
}
.stage-offer { color: var(--sol-sun-deep); }
.stage-escrow { color: #A37400; }
.stage-closing { color: var(--sol-pos); }
.stage-lead { color: var(--sol-mute); }

.demo-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-4);
  margin-top: var(--s-4);
  border-top: 1px dashed var(--sol-line-2);
  font-family: var(--sol-mono); font-size: 11px;
  color: var(--sol-mute);
}
.demo-footer .hot {
  color: var(--sol-sun-deep);
  display: inline-flex; align-items: center; gap: 6px;
}

/* =========================================================
   LOGO BAR
   ========================================================= */
.logos {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--sol-line);
  border-bottom: 1px solid var(--sol-line);
}
.logos-label {
  text-align: center;
  font-family: var(--sol-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sol-mute);
  margin-bottom: var(--s-5);
}
.logos-row {
  display: flex; justify-content: space-around;
  align-items: center; gap: var(--s-7);
  flex-wrap: wrap;
  opacity: 0.75;
}
.logos-row .logo-item {
  font-family: var(--sol-display);
  font-size: 20px;
  color: var(--sol-ink-2);
  letter-spacing: -0.01em;
}
.logos-row .logo-item.sans { font-family: var(--sol-sans); font-weight: 600; }
.logos-row .logo-item.mono { font-family: var(--sol-mono); }

/* =========================================================
   FEATURE PILLARS (4)
   ========================================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
@media (max-width: 860px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  background: var(--sol-bg-2);
  border: 1px solid var(--sol-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  overflow: hidden;
  transition: all 250ms;
}
.pillar:hover {
  border-color: var(--sol-sun);
  box-shadow: var(--shadow-2);
}
.pillar-num {
  font-family: var(--sol-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sol-sun-deep);
}
.pillar-title {
  font-family: var(--sol-display);
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: var(--s-2) 0 var(--s-3);
}
.pillar-desc {
  color: var(--sol-ink-2);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: var(--s-5);
  max-width: 42ch;
}
.pillar-viz {
  margin-top: var(--s-5);
  min-height: 180px;
  background: var(--sol-bg);
  border: 1px solid var(--sol-line);
  border-radius: var(--r-2);
  padding: var(--s-4);
  position: relative;
  overflow: hidden;
}
.pillar ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pillar ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--sol-ink-2);
  font-family: var(--sol-mono);
}
.pillar ul li::before {
  content: "+"; color: var(--sol-sun); font-weight: 600; margin-top: -1px;
}

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--sol-line);
  border-left: 1px solid var(--sol-line);
}
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }
.flow-step {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--sol-line);
  border-bottom: 1px solid var(--sol-line);
  background: var(--sol-bg);
  min-height: 220px;
  position: relative;
  transition: background 200ms;
}
.flow-step:hover { background: var(--sol-bg-2); }
.flow-num {
  font-family: var(--sol-display);
  font-size: 56px;
  color: var(--sol-sun);
  line-height: 1;
  letter-spacing: -0.04em;
}
.flow-step h4 {
  font-family: var(--sol-display);
  font-size: 22px;
  font-weight: 500;
  margin: var(--s-4) 0 var(--s-2);
  letter-spacing: -0.01em;
}
.flow-step p {
  margin: 0;
  font-size: 14px;
  color: var(--sol-ink-2);
  line-height: 1.5;
}
.flow-step .arrow {
  position: absolute;
  top: var(--s-6); right: var(--s-4);
  color: var(--sol-line-2);
  font-family: var(--sol-mono);
}

/* =========================================================
   VOICE AGENT DEMO
   ========================================================= */
.voice {
  background: var(--sol-ink);
  color: var(--sol-bg);
  border-radius: 20px;
  padding: var(--s-8);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .voice { grid-template-columns: 1fr; padding: var(--s-6); } }

.voice::before {
  content: "";
  position: absolute;
  right: -100px; bottom: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--sol-sun) 0%, transparent 60%);
  opacity: 0.2;
}
.voice-copy { position: relative; z-index: 1; }
.voice-copy .eyebrow { color: var(--sol-sun-soft); }
.voice-copy h3 {
  font-family: var(--sol-display);
  font-size: 48px;
  line-height: 1.02;
  margin: var(--s-3) 0 var(--s-4);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.voice-copy p {
  color: #E8DCC7; opacity: 0.8;
  font-size: 16px; line-height: 1.55;
  max-width: 46ch;
  margin: 0 0 var(--s-5);
}

.voice-panel {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(251,246,238,0.14);
  border-radius: var(--r-3);
  padding: var(--s-5);
}
.voice-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(251,246,238,0.1);
  margin-bottom: var(--s-4);
}
.voice-head .caller {
  display: flex; align-items: center; gap: 12px;
}
.voice-head .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sol-sun), var(--sol-sun-deep));
  display: grid; place-items: center;
  font-family: var(--sol-display);
  color: white; font-size: 18px;
}
.voice-head .caller-meta .name { font-weight: 500; font-size: 15px; }
.voice-head .caller-meta .ph {
  font-family: var(--sol-mono); font-size: 11px; color: #A38871;
}
.voice-head .timer {
  font-family: var(--sol-mono); font-size: 13px; color: var(--sol-sun-soft);
}

.voice-wave {
  display: flex; align-items: center; justify-content: center;
  gap: 3px;
  height: 80px;
  margin: var(--s-4) 0;
}
.voice-wave .bar {
  width: 3px;
  background: linear-gradient(180deg, var(--sol-sun-glow), var(--sol-sun));
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.voice-wave[data-playing="false"] .bar { animation-play-state: paused; opacity: 0.2; }
@keyframes wave {
  0%, 100% { height: 8px; }
  50% { height: var(--h, 40px); }
}

.voice-transcript {
  display: flex; flex-direction: column; gap: 12px;
  max-height: 240px; overflow-y: auto;
  padding-right: var(--s-3);
}
.voice-msg {
  display: flex; gap: 10px;
  font-size: 14px; line-height: 1.45;
}
.voice-msg .who {
  flex: 0 0 52px;
  font-family: var(--sol-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--sol-sun-soft); padding-top: 2px;
}
.voice-msg.user .who { color: #A38871; }
.voice-msg .txt { color: #FBF0DE; opacity: 0.95; flex: 1; }
.voice-msg.user .txt { color: #D6C4A6; }

.voice-controls {
  display: flex; gap: var(--s-3); align-items: center; justify-content: space-between;
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(251,246,238,0.1);
}
.voice-play {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sol-sun);
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(242,107,31,0.18);
  transition: all 200ms;
  flex-shrink: 0;
}
.voice-play:hover { transform: scale(1.06); }
.voice-play svg { fill: white; }
.voice-qual {
  display: flex; gap: var(--s-4);
  font-family: var(--sol-mono); font-size: 11px;
}
.voice-qual .q-item { color: #A38871; }
.voice-qual .q-item .v { color: var(--sol-sun-soft); font-weight: 600; }

/* =========================================================
   ROI CALCULATOR
   ========================================================= */
.roi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) { .roi { grid-template-columns: 1fr; } }

.roi-inputs {
  background: var(--sol-bg-2);
  border: 1px solid var(--sol-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.roi-field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--sol-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sol-mute);
  margin-bottom: 10px;
}
.roi-field label .val {
  font-family: var(--sol-display);
  font-size: 22px;
  color: var(--sol-ink);
  letter-spacing: -0.02em;
}
.roi-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--sol-line-2);
  border-radius: 2px; outline: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--sol-sun);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(242,107,31,0.2);
  transition: transform 120ms;
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.roi-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sol-sun); border: none; cursor: pointer;
}

.roi-output {
  padding: var(--s-6);
  background: var(--sol-ink);
  color: var(--sol-bg);
  border-radius: var(--r-3);
  position: relative;
  overflow: hidden;
}
.roi-output::before {
  content: "";
  position: absolute; inset: -50%;
  background: radial-gradient(circle at 70% 30%, rgba(242,107,31,0.25), transparent 50%);
  pointer-events: none;
}
.roi-output-inner { position: relative; z-index: 1; }
.roi-big {
  font-family: var(--sol-display);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--sol-sun-glow);
  margin: var(--s-2) 0;
}
.roi-big .prefix { color: #E8DCC7; font-size: 0.5em; vertical-align: 0.3em; }
.roi-big .suffix { font-size: 0.35em; color: #E8DCC7; font-family: var(--sol-sans); font-weight: 500; margin-left: 10px; }

.roi-rows {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(251,246,238,0.15);
  display: flex; flex-direction: column; gap: 10px;
}
.roi-line {
  display: flex; justify-content: space-between;
  font-family: var(--sol-mono); font-size: 12px;
  color: #D6C4A6;
}
.roi-line .n { color: var(--sol-sun-soft); font-weight: 500; }
.roi-line.total {
  padding-top: 10px;
  border-top: 1px dashed rgba(251,246,238,0.15);
  font-size: 14px;
  color: #FBF0DE;
}
.roi-line.total .n { color: var(--sol-sun-glow); }

/* =========================================================
   PRICING
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.tier {
  position: relative;
  background: var(--sol-bg-2);
  border: 1px solid var(--sol-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  transition: all 220ms;
}
.tier:hover {
  border-color: var(--sol-sun);
  transform: translateY(-3px);
}
.tier.popular {
  background: var(--sol-ink);
  color: var(--sol-bg);
  border-color: var(--sol-ink);
  box-shadow: var(--shadow-3);
}
.tier-popular-badge {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--sol-sun);
  color: white;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-family: var(--sol-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tier-name {
  font-family: var(--sol-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sol-sun-deep);
}
.tier.popular .tier-name { color: var(--sol-sun-soft); }
.tier-price {
  font-family: var(--sol-display);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: var(--s-3) 0 0;
  line-height: 1;
}
.tier-price .per { font-size: 16px; color: var(--sol-mute); font-family: var(--sol-sans); }
.tier.popular .tier-price .per { color: #C0A585; }

.tier-best {
  font-family: var(--sol-mono); font-size: 11px;
  color: var(--sol-mute);
  margin: var(--s-3) 0 var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--sol-line);
}
.tier.popular .tier-best { color: #A38871; border-color: rgba(251,246,238,0.1); }

.tier-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14px;
  flex: 1;
}
.tier-features li {
  display: flex; gap: 10px;
  line-height: 1.4;
}
.tier-features li::before {
  content: "→";
  color: var(--sol-sun);
  flex-shrink: 0;
}
.tier.popular .tier-features li::before { color: var(--sol-sun-soft); }

.tier-cta {
  margin-top: var(--s-6);
}

/* =========================================================
   BROKERAGE
   ========================================================= */
.brokerage {
  background: var(--sol-bg-2);
  border-radius: 20px;
  padding: var(--s-8);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) { .brokerage { grid-template-columns: 1fr; padding: var(--s-6); } }

.brokerage h3 {
  font-family: var(--sol-display);
  font-size: 44px;
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: var(--s-3) 0 var(--s-4);
}
.brokerage p {
  color: var(--sol-ink-2);
  margin: 0 0 var(--s-5);
  max-width: 40ch;
}
.brokerage-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
.bk-stat {
  padding: var(--s-5);
  background: var(--sol-bg);
  border: 1px solid var(--sol-line);
  border-radius: var(--r-3);
}
.bk-stat .v {
  font-family: var(--sol-display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--sol-sun-deep);
}
.bk-stat .l {
  font-family: var(--sol-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--sol-mute);
  margin-top: 10px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

.quote {
  background: var(--sol-bg-2);
  border: 1px solid var(--sol-line);
  border-radius: var(--r-3);
  padding: var(--s-6);
  display: flex; flex-direction: column;
}
.quote .body {
  font-family: var(--sol-display);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--sol-ink);
  margin: 0 0 var(--s-5);
  flex: 1;
}
.quote .body::before { content: "“"; color: var(--sol-sun); margin-right: 4px; font-size: 1em; }
.quote .body::after { content: "”"; color: var(--sol-sun); }
.quote .by {
  display: flex; align-items: center; gap: 12px;
  padding-top: var(--s-4);
  border-top: 1px solid var(--sol-line);
}
.quote .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sol-sun-glow), var(--sol-sun-deep));
  display: grid; place-items: center; color: white;
  font-family: var(--sol-display); font-size: 15px;
}
.quote .by .nm { font-weight: 500; font-size: 14px; }
.quote .by .rl { font-family: var(--sol-mono); font-size: 11px; color: var(--sol-mute); }
.quote .metric {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--sol-line-2);
  font-family: var(--sol-mono); font-size: 11px;
  color: var(--sol-pos);
}

/* =========================================================
   INTEGRATIONS
   ========================================================= */
.integrations {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--sol-line);
  border-left: 1px solid var(--sol-line);
}
@media (max-width: 900px) { .integrations { grid-template-columns: repeat(3, 1fr); } }

.intg-cell {
  aspect-ratio: 1.4 / 1;
  border-right: 1px solid var(--sol-line);
  border-bottom: 1px solid var(--sol-line);
  display: grid; place-items: center;
  padding: var(--s-4);
  font-family: var(--sol-display);
  font-size: 20px;
  color: var(--sol-ink-2);
  transition: all 200ms;
}
.intg-cell:hover {
  background: var(--sol-sun);
  color: white;
}
.intg-cell.mono { font-family: var(--sol-mono); font-size: 14px; }
.intg-cell.sans { font-family: var(--sol-sans); font-size: 16px; font-weight: 600; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-item {
  border-top: 1px solid var(--sol-line);
  padding: var(--s-5) 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--sol-line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sol-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  gap: var(--s-5);
}
.faq-q .caret {
  font-family: var(--sol-mono);
  color: var(--sol-sun);
  transition: transform 200ms;
}
.faq-item[data-open="true"] .faq-q .caret { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 300ms ease, margin 300ms;
  color: var(--sol-ink-2);
  font-size: 16px; line-height: 1.55;
  max-width: 70ch;
}
.faq-item[data-open="true"] .faq-a {
  max-height: 300px; margin-top: var(--s-4);
}

/* =========================================================
   CTA FOOTER
   ========================================================= */
.cta-footer {
  background: var(--sol-ink);
  color: var(--sol-bg);
  border-radius: 20px;
  padding: var(--s-9) var(--s-7);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--s-7);
}
.cta-footer::before {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle,
    var(--sol-sun-glow) 0%,
    var(--sol-sun) 25%,
    var(--sol-sun-deep) 45%,
    transparent 70%);
  opacity: 0.4;
  filter: blur(10px);
}
.cta-footer-inner { position: relative; z-index: 1; }
.cta-footer h2 {
  font-family: var(--sol-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 var(--s-5);
}
.cta-footer p {
  font-size: 18px;
  color: #E8DCC7; opacity: 0.85;
  margin: 0 auto var(--s-6);
  max-width: 50ch;
}
.cta-footer .btn-sun { font-size: 16px; padding: 16px 28px; }

.foot {
  padding: var(--s-6) 0 var(--s-5);
  border-top: 1px solid var(--sol-line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--s-4);
  font-family: var(--sol-mono);
  font-size: 12px;
  color: var(--sol-mute);
}
.foot-links { display: flex; gap: var(--s-5); }
.foot-links a:hover { color: var(--sol-sun-deep); }

/* =========================================================
   TWEAKS PANEL
   ========================================================= */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 100;
  background: var(--sol-ink);
  color: var(--sol-bg);
  border-radius: var(--r-3);
  padding: var(--s-5);
  min-width: 280px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  font-family: var(--sol-sans);
  display: none;
}
.tweaks[data-open="true"] { display: block; }
.tweaks h4 {
  font-family: var(--sol-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sol-sun-soft);
  margin: 0 0 var(--s-4);
}
.tweak-group { margin-bottom: var(--s-4); }
.tweak-group > label {
  display: block;
  font-family: var(--sol-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A38871;
  margin-bottom: 8px;
}
.tweak-options { display: flex; gap: 6px; flex-wrap: wrap; }
.tweak-opt {
  padding: 7px 11px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-2);
  font-size: 12px;
  color: var(--sol-bg);
  transition: all 150ms;
}
.tweak-opt:hover { background: rgba(255,255,255,0.1); }
.tweak-opt.active {
  background: var(--sol-sun);
  border-color: var(--sol-sun);
  color: white;
}
.tweak-opt.swatch {
  width: 32px; height: 32px; padding: 0;
  border-radius: 50%;
  position: relative;
}
.tweak-opt.swatch.active::after {
  content: "✓"; color: white; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-size: 14px;
}

.tweak-headline {
  width: 100%;
  padding: 8px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-2);
  color: var(--sol-bg);
  font-size: 13px;
  font-family: var(--sol-sans);
}

/* =========================================================
   Anim utility
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =========================================================
   Hero layout variants
   ========================================================= */
/* variant B: centered, demo below */
.hero[data-layout="centered"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.hero[data-layout="centered"] .hero-sub { margin-left: auto; margin-right: auto; }
.hero[data-layout="centered"] .hero-cta { justify-content: center; }
.hero[data-layout="centered"] .hero-meta { justify-content: center; }
.hero[data-layout="centered"] .hero-demo { max-width: 960px; width: 100%; }

/* variant C: editorial — oversized type, no demo, stats grid */
.hero[data-layout="editorial"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: left;
}
.hero[data-layout="editorial"] .hero-demo { display: none; }
.hero[data-layout="editorial"] .hero-title { font-size: clamp(64px, 10vw, 180px); }
