/* ============================================================
   KASHI AI — Section styles
   ============================================================ */

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav.scrolled {
  background: rgba(5, 5, 7, 0.65);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.nav.scrolled .nav-inner { padding-block: 13px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text-1); background: rgba(255,255,255,0.04); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center;
  padding: 3px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
}
.lang-toggle button {
  font-family: inherit; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-3); background: transparent; border: none; cursor: pointer;
  padding: 5px 10px; border-radius: var(--radius-pill);
  transition: color 0.25s, background 0.25s;
}
.lang-toggle button:hover { color: var(--text-1); }
.lang-toggle button.active { color: #fff; background: var(--grad-btn); box-shadow: 0 2px 12px rgba(123,0,255,0.45); }

@media (max-width: 520px) {
  .nav-cta .btn { display: none; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-cta .btn span.full { display: none; }
}

/* ---------- Hero (neural sphere) ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
}
.hero-copy h1 { margin: 22px 0 0; }
.hero-copy .lead { margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-indicators {
  display: flex; flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-soft);
}
.indicator {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.9rem; color: var(--text-2);
}
.indicator svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }

/* Neural sphere stage */
.hero-visual { position: relative; }
.sphere-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-inline: auto;
  transform: translateY(-26%);
}
.sphere-stage canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}
.sphere-aura {
  position: absolute; inset: -8%;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(110,99,176,0.22), rgba(143,180,232,0.10) 42%, transparent 68%);
  filter: blur(22px);
  pointer-events: none;
  animation: auraPulse 6s ease-in-out infinite;
}
@keyframes auraPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.sphere-fallback::after {
  content: ""; position: absolute; inset: 12%; border-radius: 50%;
  border: 1px solid var(--border);
  background: radial-gradient(circle, rgba(123,0,255,0.22), transparent 70%);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .sphere-stage { max-width: 360px; transform: none; }
}

/* ---------- Trust bar ---------- */
.trust { padding-block: clamp(48px, 7vh, 80px); }
.trust p.caption { color: var(--text-3); font-size: 0.92rem; text-align: center; margin-bottom: 30px; }
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(30px, 5vw, 66px);
}
.logos .logo-img {
  width: auto;
  opacity: 0.62;
  filter: brightness(1.05);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.logos .logo-img:hover { opacity: 1; transform: translateY(-2px); }
.logos .logo-name {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-3);
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity 0.3s, color 0.3s;
}
.logos .logo-name:hover { opacity: 1; color: var(--text-1); }

/* ---------- Problem ---------- */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.problem-card {
  padding: 26px 24px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.problem-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); }
.problem-card .pico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(123,0,255,0.18), rgba(255,107,0,0.10));
  border: 1px solid var(--border);
  color: var(--text-1);
}
.problem-card .pico svg { width: 20px; height: 20px; }
.problem-card h3 { font-size: 1.05rem; }
.problem-card p { font-size: 0.9rem; color: var(--text-3); }

/* ---------- Solution flow ---------- */
.flow {
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 20px;
}
.flow-step {
  flex: 1 1 160px;
  min-width: 150px;
  text-align: center;
  padding: 28px 18px;
  position: relative;
}
.flow-node {
  width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-1);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.flow-step.in .flow-node {
  box-shadow: 0 0 0 1px rgba(123,0,255,0.4), 0 10px 40px rgba(123,0,255,0.3);
  border-color: rgba(123,0,255,0.5);
}
.flow-node svg { width: 26px; height: 26px; }
.flow-step h3 { font-size: 1rem; }
.flow-step p { font-size: 0.85rem; color: var(--text-3); margin-top: 6px; }
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 56px; right: -2px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(123,0,255,0.0));
  z-index: -1;
}
.flow-connector {
  align-self: center;
  color: var(--text-3);
  display: flex; align-items: center;
  flex: 0 0 auto;
  padding-bottom: 36px;
}
.flow-connector svg { width: 22px; height: 22px; opacity: 0.5; }
@media (max-width: 760px) {
  .flow { flex-direction: column; align-items: center; }
  .flow-connector { transform: rotate(90deg); padding: 0; }
  .flow-step { padding-block: 16px; }
}

/* ---------- Bento (Soluções) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}
.bento-item {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.bento-item::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 120% at var(--mx,80%) var(--my,0%), rgba(123,0,255,0.14), transparent 55%);
  opacity: 0; transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.bento-item:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.14); box-shadow: 0 24px 70px rgba(0,0,0,0.4); }
.bento-item:hover::before { opacity: 1; }
.bento-item .bico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(123,0,255,0.22), rgba(217,70,239,0.10));
  border: 1px solid var(--border);
  margin-bottom: auto;
}
.bento-item .bico svg { width: 22px; height: 22px; color: var(--text-1); }
.bento-item h3 { margin-top: 22px; }
.bento-item p { color: var(--text-3); font-size: 0.95rem; margin-top: 10px; max-width: 46ch; }
.bento-item .tag { position: absolute; top: 22px; right: 24px; font-size: 0.75rem; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* spans */
.b-lg { grid-column: span 3; grid-row: span 2; }
.b-md { grid-column: span 3; }
.b-sm { grid-column: span 2; }
.b-lg h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.b-lg .visual-ai {
  position: absolute; right: -40px; bottom: -40px;
  width: 320px; height: 320px; opacity: 0.5; pointer-events: none;
}
@media (max-width: 920px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-lg, .b-md, .b-sm { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .b-lg, .b-md, .b-sm { grid-column: span 1; }
}

/* ---------- Experience timeline ---------- */
.timeline-scroll { overflow-x: auto; padding-bottom: 16px; scrollbar-width: thin; }
.timeline {
  position: relative;
  display: flex;
  gap: 0;
  min-width: max-content;
  padding: 60px 0 20px;
}
.timeline::before {
  content: "";
  position: absolute; top: 96px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(123,0,255,0.5) 12%, rgba(255,107,0,0.5) 88%, transparent);
}
.tl-item {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  padding: 0 14px;
  text-align: left;
}
.tl-year { font-size: 0.85rem; color: var(--cyan); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 26px; }
.tl-dot {
  position: absolute; top: 30px; left: 14px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--purple);
  box-shadow: 0 0 0 4px rgba(123,0,255,0.12), 0 0 18px rgba(123,0,255,0.5);
}
.tl-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tl-item p { font-size: 0.88rem; color: var(--text-3); }

/* ---------- Instagram IA ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.insta-features { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.insta-feature { display: flex; gap: 14px; align-items: flex-start; }
.insta-feature .fico { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--border); color: var(--cyan); }
.insta-feature .fico svg { width: 18px; height: 18px; }
.insta-feature b { display: block; color: var(--text-1); font-weight: 600; font-size: 0.98rem; margin-bottom: 2px; }
.insta-feature span { color: var(--text-3); font-size: 0.9rem; }

.phone-stack { position: relative; display: flex; justify-content: center; }

/* Stacked deck: full carousel behind, main post in front */
.insta-deck { position: relative; width: 100%; max-width: 460px; padding-top: 34px; padding-right: 26px; }
.insta-back {
  position: absolute;
  top: 0; right: 0;
  width: 78%;
  border-radius: 16px;
  border: 1px solid var(--border);
  transform: rotate(3.5deg);
  opacity: 0.55;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  filter: saturate(1.05);
}
.carousel-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 16px 18px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}
.carousel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.carousel-head .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); flex: none; }
.carousel-head .ch-meta { flex: 1; min-width: 0; }
.carousel-head b { font-size: 0.92rem; }
.carousel-head .muted { font-size: 0.8rem; }
.carousel-head .ch-more { width: 20px; height: 20px; color: var(--text-3); flex: none; }

.carousel-media { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 3 / 2; }
.carousel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-count {
  position: absolute; top: 10px; right: 10px;
  font-size: 0.72rem; font-weight: 600; color: #fff;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(5,5,7,0.6); backdrop-filter: blur(6px);
}

.carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ig-actions { display: flex; align-items: center; gap: 14px; color: var(--text-1); }
.ig-actions svg { width: 22px; height: 22px; }
.dots-inline { display: flex; gap: 5px; margin-left: 4px; }
.dots-inline i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.dots-inline i.on { width: 14px; border-radius: 3px; background: var(--grad); }
.carousel-caption { font-size: 0.85rem; color: var(--text-2); line-height: 1.5; margin-top: 12px; }
.carousel-caption b { color: var(--text-1); font-weight: 600; }

.sched-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; color: var(--text-2); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--glass); white-space: nowrap; }
.sched-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,0.5);} 70%{box-shadow:0 0 0 8px rgba(52,211,153,0);} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0);} }

@media (max-width: 880px) { .insta-grid { grid-template-columns: 1fr; } .insta-deck { margin-inline: auto; } }

/* ---------- Stack ---------- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 10px;
}
.stack-item {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.stack-item:hover { border-color: rgba(255,255,255,0.14); color: var(--text-1); transform: translateY(-3px); }
.stack-item .sdot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; }
.stack-item:hover .sdot { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* ---------- Process (timeline rail) ---------- */
.steps-rail { position: relative; margin-top: 6px; }
.step-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}

/* gradient line threaded through the node centers */
.rail-line {
  position: absolute;
  left: 12.5%; right: 12.5%;
  top: 16px;              /* vertical center of the 32px node */
  height: 2px;
  background: linear-gradient(90deg, #7B00FF 0%, #D946EF 38%, #FF6B00 66%, #FFB800 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  z-index: 1;
  pointer-events: none;
}
.rail-line::after {
  content: "";
  position: absolute; left: 0; right: 0; top: -3px; bottom: -3px;
  background: linear-gradient(90deg, #7B00FF 0%, #D946EF 38%, #FF6B00 66%, #FFB800 100%);
  filter: blur(8px);
  opacity: calc(0.5 * var(--glow));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.step-col { position: relative; text-align: center; }
.step-node {
  width: 32px; height: 32px; border-radius: 50%;
  margin: 0 auto;
  display: grid; place-items: center;
  background: var(--bg-0);
  border: 1px solid rgba(217, 70, 239, 0.28);
  box-shadow: 0 0 0 5px var(--bg-0);   /* clean gap where the line meets the node */
  position: relative; z-index: 2;
}
.node-core {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 22px rgba(217, 70, 239, calc(0.6 * var(--glow)));
}
.step-label {
  margin-top: 30px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--cyan);
}
.step-title { font-size: clamp(1.2rem, 1.7vw, 1.55rem); margin-top: 14px; }
.step-desc {
  color: var(--text-3);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 12px auto 0;
  max-width: 26ch;
  text-wrap: pretty;
}

@media (max-width: 780px) {
  .step-track { grid-template-columns: 1fr; gap: 0; }
  .rail-line {
    left: 16px; right: auto;
    top: 26px; bottom: 56px; height: auto; width: 2px;
    background: linear-gradient(180deg, #7B00FF 0%, #D946EF 38%, #FF6B00 66%, #FFB800 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  }
  .rail-line::after {
    left: -3px; right: -3px; top: 0; bottom: 0;
    background: linear-gradient(180deg, #7B00FF 0%, #D946EF 38%, #FF6B00 66%, #FFB800 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  }
  .step-col {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 20px;
    text-align: left;
    padding: 14px 0;
  }
  .step-node { grid-row: 1 / 4; grid-column: 1; align-self: start; }
  .step-label { grid-column: 2; grid-row: 1; margin: 4px 0 0; }
  .step-title { grid-column: 2; grid-row: 2; margin: 6px 0 0; }
  .step-desc  { grid-column: 2; grid-row: 3; margin: 8px 0 0; max-width: 42ch; }
}

/* ---------- CTA final ---------- */
.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(123,0,255,0.30), rgba(255,107,0,0.10) 40%, transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  opacity: calc(0.6 + var(--glow) * 0.4);
}
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final h2 { margin: 22px auto 0; max-width: 16ch; }
.cta-final .lead { margin: 22px auto 0; }
.cta-final .hero-actions { justify-content: center; }
.cta-card {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: 32px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(20px);
  overflow: hidden;
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--border-soft); padding-block: 64px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 24px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-3); font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-2); text-decoration: none; font-size: 0.95rem; padding: 6px 0; transition: color 0.25s; }
.footer-col a:hover { color: var(--text-1); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border-soft); color: var(--text-3); font-size: 0.85rem; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); color: var(--text-2); transition: color 0.25s, border-color 0.25s, transform 0.25s; }
.social a:hover { color: var(--text-1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.social svg { width: 17px; height: 17px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* ---------- Tweaks panel ---------- */
#tweaks {
  position: fixed; bottom: 22px; right: 22px; z-index: 100;
  width: 270px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(10,8,18,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
  font-size: 0.85rem;
}
#tweaks.on { display: block; }
#tweaks h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 14px; }
#tweaks label { display: block; color: var(--text-2); margin-bottom: 8px; }
#tweaks .val { color: var(--cyan); float: right; }
#tweaks input[type=range] { width: 100%; accent-color: var(--purple); }
