:root{
  --bg:#F6EEE6;
  --panel:#ffffff;
  --ink:#0f0f12;
  --muted:#6a6a75;
  --line:rgba(15,15,18,.12);

  --p:#7E57C2;
  --pSoft:rgba(126,87,194,.12);

  --r1:26px;
  --r2:18px;
  --r3:14px;

  --shadow:0 18px 60px rgba(0,0,0,.08);
  --shadow2:0 10px 26px rgba(0,0,0,.06);

  --max:1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background:var(--bg);
  color:var(--ink);
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* Important: sane defaults for media */
img, video{
  max-width:100%;
  height:auto;
  display:block;
}

/* =========================
   HEADER
   ========================= */
.header{
  position:sticky;top:0;z-index:50;
  background:rgba(246,238,230,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  height:68px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:34px;height:34px;border-radius:10px}
.brand .name{font-weight:800;font-size:14px;letter-spacing:.01em}

.nav{display:none;gap:14px;align-items:center;color:var(--muted);font-size:13px}
.nav a{padding:8px 10px;border-radius:999px}
.nav a:hover{background:rgba(0,0,0,.04);color:var(--ink)}
@media (min-width:920px){ .nav{display:flex} }

/* =========================
   NAV underline (YourAIscroll-style)
   ========================= */
.nav a{
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
}

.nav a::after{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--p);
  opacity: 0;
  transform: scaleX(.6);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav a:hover::after{
  opacity: .45;
  transform: scaleX(1);
}

.nav a[aria-current="page"]{
  color: var(--ink);
}

.nav a[aria-current="page"]::after{
  opacity: 1;
  transform: scaleX(1);
}

/* =========================
   PILL
   ========================= */
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 10px;border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.75);
  color:var(--muted);font-size:12px;
}

/* =========================
   HERO
   ========================= */
.hero{padding:34px 0 20px}
.hero-grid{display:grid;gap:22px;align-items:center}
@media (min-width:980px){ .hero-grid{grid-template-columns:1.1fr .9fr} }

.h1{
  margin:12px 0 10px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height:1.05;
  letter-spacing:-0.03em;
  font-weight:850;
}
.lead{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.75;
  font-size:15px;
  max-width:62ch;
}

/* Rotating word */
.rotator{
  display:inline-flex;
  align-items:flex-end;
  gap:10px;
  white-space:nowrap;
}
.rotator-fixed{font-weight:900}
.rotator-window{
  position:relative;
  display:inline-block;
  height:1.05em;
  overflow:hidden;
  vertical-align:bottom;
}
.rotator-word{
  display:block;
  color:var(--p);
  font-weight:900;
  transform:translateY(0);
  animation:none;
}
.rotator-word.move{
  animation: slideUp 620ms cubic-bezier(.2,.9,.2,1);
}
@keyframes slideUp{
  from{ transform:translateY(100%); opacity:0; }
  to{ transform:translateY(0%); opacity:1; }
}

/* Hero video container */
.video-frame {
  border-radius: 0;              /* REMOVES rounded corners - sharp edges now */
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: var(--shadow);
  background: transparent;       /* Changed from #000 to transparent */
  position: relative;
  max-width: 800px;              /* Limits width so it's not too wide */
  margin: 0 auto;                /* Centers it */
  aspect-ratio: 16/10;           /* Forces better height (adjust as needed) */
}

/* The video element itself */
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;           /* Changed from 'cover' to 'contain' */
  pointer-events: none;
  background: #fff;              /* White background instead of black */
}
/* =========================
   STORE BUTTONS (FIX ICON SIZE)
   ========================= */
.store-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.store-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--panel);
  font-weight:800;
  font-size:13px;
  line-height:1;
  white-space:nowrap;
}

.store-btn.primary{
  background:var(--p);
  color:#fff;
  border-color:rgba(126,87,194,.35);
  box-shadow:0 14px 34px rgba(126,87,194,.22);
}

/* Force ALL store icons to stay small */
.store-btn img,
.store-btn svg{
  width:18px !important;
  height:18px !important;
  flex:0 0 18px;
  display:block;
  max-width:18px !important;
  max-height:18px !important;
  object-fit:contain;
}

/* White icon on purple */
.store-btn.primary img{
  filter: brightness(0) invert(1);
}

/* =========================
   META ROW (stars + dot)
   ========================= */
.meta-row{
  display:flex;flex-wrap:wrap;gap:10px;align-items:center;
  margin-top:14px;
  color:var(--muted);
  font-size:13px;
}
.stars{display:inline-flex;gap:2px;align-items:center}
.star{
  width:16px;height:16px;display:inline-block;
  background: radial-gradient(circle at 40% 40%, #ffd36b, #f4b400);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* bullet-proof dot separator */
.meta-row .meta-dot{
  width:4px;height:4px;border-radius:999px;
  background: rgba(15,15,18,.35);
  display:inline-block;
  margin: 0 2px;
  transform: translateY(-1px);
}

/* =========================
   SECTIONS (base)
   ========================= */
.section{padding:26px 0}
.section h2{margin:0 0 8px;font-size:20px;letter-spacing:-0.02em}
.section .sub{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.65}

.grid{display:grid;gap:12px}
@media (min-width:920px){
  .cols3{grid-template-columns:repeat(3,1fr)}
  .cols2{grid-template-columns:repeat(2,1fr)}
}

/* Simple cards */
.feature{
  border:1px solid var(--line);
  border-radius:var(--r2);
  background:rgba(255,255,255,.78);
  padding:14px 14px;
  box-shadow:var(--shadow2);
}
.feature h3{margin:0 0 6px;font-size:13px;font-weight:800}
.feature p{margin:0;color:var(--muted);font-size:12.8px;line-height:1.6}

/* =========================
   REVIEWS STRIP (marquee)
   ========================= */
.reviews-strip{
  padding: 10px 0 22px;
}

.reviews-marquee{
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.reviews-marquee:before,
.reviews-marquee:after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width:70px;
  z-index:2;
  pointer-events:none;
}
.reviews-marquee:before{
  left:0;
  background: linear-gradient(to right, var(--bg), rgba(246,238,230,0));
}
.reviews-marquee:after{
  right:0;
  background: linear-gradient(to left, var(--bg), rgba(246,238,230,0));
}

.reviews-row{
  overflow:hidden;
  margin: 10px 0;
}

.reviews-track{
  display:flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: reviewsLeft 38s linear infinite;
}

.reviews-row[data-dir="right"] .reviews-track{
  animation-name: reviewsRight;
  animation-duration: 44s;
}

@keyframes reviewsLeft{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes reviewsRight{
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.reviews-marquee:hover .reviews-track{
  animation-play-state: paused;
}

.review-card{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  min-width: 320px;
  max-width: 360px;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
}

.review-avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  flex: 0 0 34px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
}

.review-body{min-width:0}

.review-top{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.review-name{
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.review-meta{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.review-stars{
  display:inline-flex;
  gap: 2px;
  margin: 6px 0 6px;
}

.rstar{
  width: 14px;
  height: 14px;
  display:inline-block;
  background: radial-gradient(circle at 40% 40%, #ffd36b, #f4b400);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review-text{
  margin: 0;
  color: var(--muted);
  font-size: 12.9px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

@media (prefers-reduced-motion: reduce){
  .reviews-track{ animation: none !important; }
}
@media (max-width: 520px){
  .review-card{ min-width: 260px; }
}

/* =========================
   FEATURES SPLIT (your current HTML)
   ========================= */
.features-split{
  padding: 38px 0;
}

.features-split .sec-title{
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.features-split .sec-sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 68ch;
}

.features-split .features-grid{
  display:grid;
  gap:20px;
  align-items:start;
}

@media (min-width: 980px){
  .features-split .features-grid{
    grid-template-columns: 1.05fr .95fr;
    gap: 26px;
  }
}

.features-split .features-list{
  display:grid;
  gap: 14px;
}

.features-split .feat-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
}

.features-split .feat-ico{
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display:grid;
  place-items:center;

  border-radius: 999px;
  background: var(--pSoft);
  border: 1px solid rgba(126,87,194,.22);
  color: var(--p);
}

.features-split .feat-ico svg{
  width: 18px !important;
  height: 18px !important;
  display:block;
}

.features-split .feat-title{
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.2;
  margin: 1px 0 0;
}

.features-split .feat-text{
  margin-top: 4px;
  font-size: 13.6px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 68ch;
}

.features-split .features-preview{
  position: relative;
}

.features-split .preview-card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r1);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.features-split .preview-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  font-size:12.5px;
  color: var(--muted);
}

.features-split .preview-media{
  padding: 12px;
}

.features-split .preview-media img{
  width:100%;
  height:auto;
  display:block;
  border-radius: var(--r2);
  border: 1px solid rgba(0,0,0,.10);
}

@media (min-width: 980px){
  .features-split .preview-card{
    position: sticky;
    top: 92px;
  }
}

/* =========================
   FAQ (accordion like Superpower) — UPDATED (centered headings)
   Drop-in replacement for your current FAQ block
   ========================= */

.faq{
  padding: 56px 0;
  background: rgba(255,255,255,.18);
  border-top: 1px solid rgba(15,15,18,.08);
  border-bottom: 1px solid rgba(15,15,18,.08);
}

/* Narrow + centered like Superpower */
.faq .container{
  max-width: 980px;
}

/* Center heading + subheading */
.faq .sec-title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}

.faq .sec-sub{
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 70ch;
  text-align: center;
}

.faq-list{
  max-width: 980px;
  margin: 0 auto;

  border: 1px solid rgba(15,15,18,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.faq-item{
  border-top: 1px solid rgba(15,15,18,.10);
  margin: 0;
}
.faq-item:first-child{ border-top: 0; }

/* remove the default triangle marker */
.faq-q{ list-style: none; }
.faq-q::-webkit-details-marker{ display:none; }
.faq-q::marker{ content:""; }

/* summary row styling */
.faq-q{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  padding: 18px 18px;
  cursor:pointer;
  user-select:none;

  font-weight: 850;
  font-size: 14.5px;
  color: var(--ink);
}

.faq-q:hover{
  background: rgba(0,0,0,.02);
}

.faq-qtext{
  flex:1;
  min-width:0;
}

/* right chevron */
.faq-chevron{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(15,15,18,.12);
  background: rgba(255,255,255,.85);
  display:grid;
  place-items:center;
  flex: 0 0 34px;
  position:relative;
}

.faq-chevron::before{
  content:"";
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(15,15,18,.55);
  border-bottom: 2px solid rgba(15,15,18,.55);
  transform: rotate(45deg);
  transition: transform 200ms ease;
}

/* answer body */
.faq-a{
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.7;
  max-width: 90ch;
}

/* link styling inside answers (for your “buy a coffee” link) */
.faq-a a{
  color: var(--p);
  font-weight: 850;
  text-decoration: none;
}
.faq-a a:hover{
  text-decoration: underline;
}

/* open state */
.faq-item[open] .faq-q{
  background: rgba(126,87,194,.06);
}
.faq-item[open] .faq-chevron{
  border-color: rgba(126,87,194,.25);
  background: rgba(126,87,194,.10);
}
.faq-item[open] .faq-chevron::before{
  transform: rotate(-135deg);
}

/* optional: smoother feel */
@media (prefers-reduced-motion: no-preference){
  .faq-item .faq-a{
    animation: faqFade 160ms ease;
  }
  @keyframes faqFade{
    from{ opacity:0; transform: translateY(-2px); }
    to{ opacity:1; transform: translateY(0); }
  }
}


/* =========================
   CTA / DOWNLOAD — UPDATED (NO WHITE CARD)
   Keeps everything centered, removes the white card background/border/shadow
   ========================= */

.cta{
  padding: 56px 0;

  /* keep or remove this band — choose what you prefer */
  background: rgba(255,255,255,.18);
  border-top: 1px solid rgba(15,15,18,.08);
  border-bottom: 1px solid rgba(15,15,18,.08);
}

.cta .container{
  max-width: 980px;
}

/* The wrapper you’re using in HTML — now just a plain centered block */
.cta-card{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;

  /* remove card look */
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;

  /* keep spacing */
  padding: 0;
}

.cta .cta-title{
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}

.cta .cta-sub{
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 62ch;
  text-align: center;
}

/* store row (your HTML uses: .store-row.cta-row) */
.cta-row{
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.cta .cta-note{
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
/* =========================
   FOOTER (YourAIscroll-style, simple)
   ========================= */
.site-footer{
  border-top:1px solid var(--line);
  padding: 34px 0 26px;
  color: var(--muted);
  background: rgba(255,255,255,.12);
}

.footer-grid{
  display:grid;
  gap: 22px;
  align-items:start;
}

@media (min-width: 920px){
  .footer-grid{
    grid-template-columns: 1.25fr 1fr;
    gap: 26px;
  }
}

.footer-logo{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  color: var(--ink);
}

.footer-logo img{
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.footer-desc{
  margin: 10px 0 12px;
  max-width: 62ch;
  line-height: 1.7;
  font-size: 13.5px;
  color: var(--muted);
}

.footer-social{
  display:flex;
  gap: 10px;
  align-items:center;
}

.social-btn{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.72);
  display:grid;
  place-items:center;
}

.social-btn svg{
  width: 18px;
  height: 18px;
  color: var(--ink);
  opacity: .9;
}

.social-btn:hover{
  background: rgba(255,255,255,.88);
}

.footer-links{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.footer-col-title{
  font-weight: 900;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col a{
  display:block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-col a:hover{
  color: var(--ink);
}

.footer-bottom{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
}

.footer-copy{
  font-size: 12.5px;
}

.footer-copy a{
  color: var(--p);
  font-weight: 900;
}
/* =========================
   Clean content layout for Privacy/Changelog pages
   ========================= */
.page{
  padding: 42px 0 56px;
}

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

.prose h1{
  margin: 0 0 8px;
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 950;
}

.prose .updated{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.prose p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.prose h2{
  margin: 22px 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--ink);
}

.prose ul{
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.callout{
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow2);
  padding: 14px 14px;
  margin: 14px 0;
}

.callout h3{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
}

.callout p{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
}

.callout p:last-child{
  margin-bottom: 0;
}

/* Make mail link look like your site */
.prose a{
  color: var(--p);
  font-weight: 850;
}
/* =========================
   NAV underline like YourAIscroll
   (shows underline on hover + on current page)
   ========================= */
.nav a{
  position: relative;
  padding: 10px 10px;
}

.nav a::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:4px;
  height:2px;
  border-radius:999px;
  background: rgba(126,87,194,.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease, opacity 180ms ease;
  opacity:.0;
}

.nav a:hover::after{
  transform: scaleX(1);
  opacity:1;
}

/* current page (set aria-current="page" in HTML) */
.nav a[aria-current="page"]{
  color: var(--ink);
}

.nav a[aria-current="page"]::after{
  transform: scaleX(1);
  opacity:1;
}

/* =========================
   Page / document layout (Privacy, etc.)
   ========================= */
.page{
  padding: 34px 0 44px;
}

.page .page-inner{
  max-width: 920px;
  margin: 0 auto;
}

.page .page-title{
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.page .page-meta{
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.doc{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow2);
  border-radius: var(--r1);
  padding: 22px 18px;
}

@media (min-width: 760px){
  .doc{ padding: 28px 26px; }
}

.doc h2{
  margin: 22px 0 10px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.doc p{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.doc ul{
  margin: 8px 0 14px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.doc li{ margin: 6px 0; }

.callout{
  margin: 16px 0;
  padding: 14px 14px;
  border-radius: var(--r2);
  border: 1px solid rgba(126,87,194,.22);
  background: rgba(126,87,194,.08);
  box-shadow: var(--shadow2);
}

.callout h3{
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 900;
}

.callout p{
  margin: 0;
  color: var(--muted);
  font-size: 13.6px;
  line-height: 1.7;
}

.doc a{
  color: var(--p);
  font-weight: 850;
}

/* =========================
   Changelog – timeline look (fixed dot/line alignment)
   - Dot + line live in a left gutter
   - Cards are shifted right so nothing overlaps
   ========================= */

.changelog{
  padding: 34px 0 54px;
}

.changelog .page-inner{
  max-width: 920px;
  margin: 0 auto;
}

.changelog-head{
  margin-bottom: 14px;
}

.changelog-head .page-title{
  margin: 0 0 6px;
}

.changelog-head .sub{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Timeline wrapper */
#clList{
  position: relative;
  margin-top: 12px;
  display: grid;
  gap: 14px;

  /* left gutter for line + dot */
  padding-left: 34px;
}

/* vertical line (in the gutter) */
#clList::before{
  content:"";
  position:absolute;
  left: 16px;          /* center of gutter */
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(15,15,18,.10);
  border-radius: 999px;
}

/* any direct child becomes a timeline item */
#clList > *{
  position: relative;

  /* IMPORTANT: the card itself should NOT have padding-left for the dot */
  padding-left: 0;
  margin-left: 0;
}

/* dot (in the gutter, NOT inside the card) */
#clList > *::before{
  content:"";
  position:absolute;
  left: -26px;         /* places dot into the gutter */
  top: 18px;           /* aligns near the top of the card */
  width: 14px;
  height: 14px;
  border-radius: 999px;

  background: var(--bg);
  border: 2px solid rgba(126,87,194,.55);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* if changelog.js outputs .feature blocks, make them look like cards */
#clList .feature{
  margin: 0;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,15,18,.10);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding: 16px 16px;
}

/* Optional version pill */
.ver{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(126,87,194,.25);
  background: rgba(126,87,194,.10);
  color: var(--p);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}

/* =========================
   Tag pills (Feature / Fix / Update)
   (Use with <span class="tag tag-feature">Feature</span>, etc.)
   ========================= */

.tag{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  border: 1px solid rgba(15,15,18,.10);
  background: rgba(255,255,255,.70);
  color: var(--ink);
  vertical-align: middle;
}

.tag-feature{
  border-color: rgba(34,197,94,.30);
  background: rgba(34,197,94,.12);
}

.tag-fix{
  border-color: rgba(239,68,68,.30);
  background: rgba(239,68,68,.12);
}

.tag-update{
  border-color: rgba(249,115,22,.30);
  background: rgba(249,115,22,.12);
}

/* small spacing when tags sit near date/title */
.admin-item-tags,
.admin-preview-tags{
  display: inline-flex;
  gap: 8px;
  margin-left: 10px;
  flex-wrap: wrap;
}
/* =========================
   ADMIN DASHBOARD (kdexp)
   ========================= */
.admin .card{
  padding: 16px;
}

.admin-grid{
  display:grid;
  gap: 16px;
  align-items:start;
}

@media (min-width: 980px){
  .admin-grid{
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.admin-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-panel .section-title{
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.admin-form{
  display:grid;
  gap: 12px;
}

.admin-label{
  display:grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.admin-label > span{
  font-weight: 850;
  color: var(--ink);
  font-size: 12.5px;
}

.admin-row{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 680px){
  .admin-row{ grid-template-columns: 1fr 1fr; }
}

.admin-input{
  width:100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
  color: var(--ink);
}

.admin-input:focus{
  border-color: rgba(126,87,194,.35);
  box-shadow: 0 0 0 4px rgba(126,87,194,.10);
}

.admin-textarea{
  width:100%;
  min-height: 220px;
  resize: vertical;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
  color: var(--ink);
  line-height: 1.55;
}

.admin-textarea:focus{
  border-color: rgba(126,87,194,.35);
  box-shadow: 0 0 0 4px rgba(126,87,194,.10);
}

.admin-actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

.admin-tags{
  display:grid;
  gap: 8px;
}

.tag-toggles{
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.tag-pill{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.68);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
}

.tag-pill.is-on{
  border-color: rgba(126,87,194,.35);
  background: rgba(126,87,194,.10);
  color: var(--ink);
}

/* Editor tabs */
.editor{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.52);
  overflow:hidden;
}

.editor-tabs{
  display:flex;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}

.tab{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 900;
  cursor:pointer;
}

.tab.is-active{
  border-color: rgba(126,87,194,.35);
  background: rgba(126,87,194,.10);
}

.editor textarea.admin-textarea{
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 12px;
  min-height: 240px;
}

.admin-preview{
  padding: 12px 12px 14px;
}

.admin-preview-head{
  display:flex;
  flex-direction:column;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15,15,18,.08);
  margin-bottom: 10px;
}

.admin-preview-title{
  font-weight: 950;
  letter-spacing: -0.02em;
}

.admin-preview-meta{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap:wrap;
}

.admin-preview-body{
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.75;
}

.admin-preview-body h1,
.admin-preview-body h2,
.admin-preview-body h3{
  color: var(--ink);
  margin: 12px 0 8px;
  line-height: 1.2;
}

.admin-preview-body p{ margin: 0 0 10px; }
.admin-preview-body ul{ margin: 0 0 10px; padding-left: 18px; }
.admin-preview-body code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.06);
  padding: 2px 6px;
  border-radius: 8px;
}

.admin-preview-body img{
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(15,15,18,.08);
}

.admin-preview-body svg{
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

/* List */
.admin-list{
  display:grid;
  gap: 10px;
  margin-top: 6px;
}

.admin-item{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  border-radius: 16px;
  box-shadow: var(--shadow2);
  padding: 12px 12px;
}

.admin-item.is-over{
  outline: 2px dashed rgba(126,87,194,.45);
  outline-offset: 2px;
}

.admin-item.is-dragging{
  opacity: .65;
}

.admin-item-top{
  display:flex;
  align-items:center;
  gap: 10px;
}

.drag-handle{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(15,15,18,.10);
  display:grid;
  place-items:center;
  color: rgba(15,15,18,.55);
  user-select:none;
}

.admin-item-main{
  flex: 1;
  min-width: 0;
}

.admin-item-title{
  font-weight: 950;
  letter-spacing: -0.01em;
  display:flex;
  align-items:center;
  gap: 8px;
}

.admin-item-meta{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-top: 4px;
  flex-wrap:wrap;
}

.admin-item-actions{
  display:flex;
  gap: 8px;
  align-items:center;
}

.btn-sm{
  padding: 8px 10px;
  font-size: 12.5px;
  border-radius: 12px;
}

.danger{
  border-color: rgba(220,38,38,.25) !important;
  color: rgba(220,38,38,.95) !important;
}

.pin-pill{
  border: 1px solid rgba(126,87,194,.25);
  background: rgba(126,87,194,.10);
  color: var(--p);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(15,15,18,.10);
  background: rgba(255,255,255,.65);
  color: var(--ink);
}

.tag-feature{
  border-color: rgba(34,197,94,.22);
  background: rgba(34,197,94,.10);
}

.tag-fix{
  border-color: rgba(59,130,246,.22);
  background: rgba(59,130,246,.10);
}

.tag-update{
  border-color: rgba(249,115,22,.22);
  background: rgba(249,115,22,.10);
}

/* ===== CHANGELOG TABS ===== */
.cl-tabs {
  display: flex;
  gap: 8px;
  margin: 32px 0 24px;
  border-bottom: 2px solid rgba(0,0,0,.08);
}

.cl-tab-btn {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px 8px 0 0;
}

.cl-tab-btn:hover {
  color: var(--text);
  background: rgba(0,0,0,.03);
}

.cl-tab-btn.active {
  color: var(--p);
  border-bottom-color: var(--p);
  background: rgba(99,102,241,.06);
}

/* Simple panel visibility */
.cl-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.cl-tab-panel.active {
  display: block;
}

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

/* ===== CHANGELOG CARD SPACING FIX ===== */
.changelog #changelogList .feature {
  margin-bottom: 18px !important; /* Adds breathing room between cards */
}
.changelog #changelogList .feature:last-child {
  margin-bottom: 0 !important; /* Remove extra space after last card */
}

/* ===== TAG PILLS IN CHANGELOG ===== */
.cl-tags {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: 8px;
  vertical-align: middle;
}

/* Ensure tags render correctly inside changelog cards */
#changelogList .tag {
  display: inline-flex !important;
  align-items: center;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  border: 1px solid rgba(15,15,18,.10) !important;
  background: rgba(255,255,255,.70) !important;
  color: var(--ink) !important;
  white-space: nowrap;
}

#changelogList .tag-feature {
  border-color: rgba(34,197,94,.30) !important;
  background: rgba(34,197,94,.12) !important;
}
#changelogList .tag-fix {
  border-color: rgba(239,68,68,.30) !important;
  background: rgba(239,68,68,.12) !important;
}
#changelogList .tag-update {
  border-color: rgba(249,115,22,.30) !important;
  background: rgba(249,115,22,.12) !important;
}

/* ===== NOTE LINK STYLING ===== */
.note-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(99,102,241,.08);
  border-radius: 6px;
  color: var(--p);
  font-weight: 600; 
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.note-link:hover {
  background: rgba(99,102,241,.15);
  text-decoration: none;
}

/* ===== TIMELINE STYLES FOR NEW ID (#changelogList) ===== */

/* Timeline wrapper */
#changelogList {
  position: relative;
  margin-top: 12px;
  display: grid;
  gap: 14px;
  padding-left: 34px; /* gutter for line + dot */
}

/* Vertical line */
#changelogList::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(15,15,18,.10);
  border-radius: 999px;
}

/* Dots for each card */
#changelogList > * {
  position: relative;
  padding-left: 0;
  margin-left: 0;
}

#changelogList > *::before {
  content: "";
  position: absolute;
  left: -26px; /* places dot in gutter */
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid rgba(126,87,194,.55);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  z-index: 1;
}

/* Ensure cards have proper background so dots show */
#changelogList .feature {
  margin: 0 !important;
  margin-bottom: 18px !important;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,15,18,.10);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding: 16px 16px;
  position: relative;
  z-index: 0;
}

/* Remove extra margin on last card */
#changelogList .feature:last-child {
  margin-bottom: 0 !important;
}

/* ===== TECHNICAL NOTES TAB STYLING ===== */

/* Container for notes list */
#notesList .notes-list {
  display: grid !important;
  gap: 16px !important;
  padding: 8px 0 24px !important;
}

/* Individual note card */
#notesList .note-card {
  background: rgba(255,255,255,.78) !important;
  border: 1px solid rgba(15,15,18,.10) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  box-shadow: var(--shadow2, 0 2px 12px rgba(0,0,0,.04)) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  display: block !important;
}

#notesList .note-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08) !important;
  transform: translateY(-2px) !important;
}

/* Card title */
#notesList .note-card h3 {
  margin: 0 0 8px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--ink, #1a1a1a) !important;
  line-height: 1.3 !important;
}

/* Card meta (release + date) */
#notesList .note-card .note-meta {
  font-size: 13px !important;
  color: var(--muted, #666) !important;
  margin-bottom: 12px !important;
  display: block !important;
}

/* Card excerpt */
#notesList .note-card .note-excerpt {
  line-height: 1.6 !important;
  color: var(--text, #333) !important;
  opacity: 0.9 !important;
  font-size: 14px !important;
  display: block !important;
}

/* Fallback message when no notes */
#notesList .feature p {
  text-align: center !important;
  padding: 40px 20px !important;
  color: var(--muted) !important;
}

/* ===== PROFESSIONAL NOTE PAGE STYLING ===== */

.note-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.note-page-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid rgba(99,102,241,.15);
}

.note-page-title {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink, #1a1a1a);
  letter-spacing: -0.02em;
}

.note-page-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted, #666);
  font-size: 15px;
  flex-wrap: wrap;
}

.note-page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.note-page-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text, #333);
}

.note-page-body h1,
.note-page-body h2,
.note-page-body h3 {
  margin: 40px 0 20px;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
  letter-spacing: -0.01em;
}

.note-page-body h1 { font-size: 32px; }
.note-page-body h2 { font-size: 26px; }
.note-page-body h3 { font-size: 21px; }

.note-page-body h1:first-child,
.note-page-body h2:first-child,
.note-page-body h3:first-child {
  margin-top: 0;
}

.note-page-body p {
  margin: 0 0 24px;
}

.note-page-body code {
  background: rgba(99,102,241,.08);
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  color: var(--p, #6366f1);
}

.note-page-body pre {
  background: #1e1e2e;
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 24px 0;
}

.note-page-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.note-page-body ul,
.note-page-body ol {
  margin: 0 0 24px;
  padding-left: 28px;
}

.note-page-body li {
  margin: 8px 0;
}

/* Feedback section with purple theme */
.note-feedback {
  margin: 56px 0;
  padding: 40px;
  background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, rgba(99,102,241,.04) 100%);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(99,102,241,.06);
}

.note-feedback-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
}

.note-feedback-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.note-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid rgba(99,102,241,.25);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink, #1a1a1a);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(99,102,241,.08);
}

.note-feedback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,.15);
  border-color: var(--p, #6366f1);
  color: var(--p, #6366f1);
}

.note-feedback-btn svg {
  transition: all 0.2s;
}

.note-feedback-btn:hover svg {
  transform: scale(1.1);
}

.note-feedback-btn.is-selected {
  background: linear-gradient(135deg, rgba(99,102,241,.15) 0%, rgba(99,102,241,.1) 100%);
  border-color: var(--p, #6366f1);
  color: var(--p, #6366f1);
  box-shadow: 0 4px 16px rgba(99,102,241,.2);
}

.note-feedback-btn.is-selected svg {
  stroke: var(--p, #6366f1);
}

.note-feedback-count {
  font-size: 14px;
  color: var(--muted, #666);
  margin-top: 8px;
  font-weight: 500;
}

/* Professional note navigation */
.note-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid rgba(0,0,0,.06);
}

.note-nav-btn {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.4) 100%);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text, #333);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(99,102,241,.06);
}

.note-nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99,102,241,.15);
  border-color: var(--p, #6366f1);
  color: var(--p, #6366f1);
  text-decoration: none;
}

.note-nav-btn svg {
  color: var(--p, #6366f1);
  flex-shrink: 0;
}

.note-nav-btn.prev svg {
  margin-right: 12px;
}

.note-nav-btn.next svg {
  margin-left: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .note-page {
    padding: 32px 20px 48px;
  }
  
  .note-page-title {
    font-size: 28px;
  }
  
  .note-feedback {
    padding: 32px 24px;
  }
  
  .note-feedback-buttons {
    flex-direction: column;
  }
  
  .note-feedback-btn {
    width: 100%;
    justify-content: center;
  }
  
  .note-nav {
    grid-template-columns: 1fr;
  }
}

/* Note card container with background */
.note-card-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 40px 64px;
  background: linear-gradient(135deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.6) 100%);
  border: 1px solid rgba(99,102,241,.12);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(99,102,241,.08), 0 2px 8px rgba(0,0,0,.04);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .note-card-container {
    padding: 36px 24px 48px;
    border-radius: 16px;
  }
}

/* =========================
FEEDBACK PAGES (Uninstall & Ideas)
Match existing design system
========================= */

/* Reinstall Banner (Top of uninstall page) */
.reinstall-banner {
  background: linear-gradient(135deg, var(--p) 0%, rgba(126,87,194,.85) 100%);
  color: #fff;
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--r1);
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.reinstall-banner h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.reinstall-banner p {
  margin: 0 0 20px;
  opacity: 0.95;
  font-size: 14.5px;
}
.btn-reinstall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--p);
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-reinstall:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  text-decoration: none;
}

/* Reason Buttons (Big clickable options) */
.reason-buttons {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.reason-btn {
  padding: 16px 18px;
  border: 2px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: var(--r2);
  cursor: pointer;
  text-align: left;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}
.reason-btn:hover {
  border-color: rgba(126,87,194,.35);
  background: rgba(126,87,194,.08);
  transform: translateY(-1px);
}
.reason-btn.selected {
  border-color: var(--p);
  background: rgba(126,87,194,.12);
  color: var(--p);
  box-shadow: 0 0 0 4px rgba(126,87,194,.10);
}
.reason-btn .emoji {
  font-size: 20px;
  flex: 0 0 24px;
}

/* Conditional Fields (Slide-in animation) */
.conditional-fields {
  display: none;
  margin-top: 24px;
  padding: 24px;
  background: rgba(255,255,255,.52);
  border-radius: var(--r2);
  border: 1px solid rgba(126,87,194,.22);
  animation: slideDown 0.3s cubic-bezier(.2,.9,.2,1);
}
.conditional-fields.active {
  display: block;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 850;
  font-size: 13.5px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  border-radius: 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(126,87,194,.35);
  box-shadow: 0 0 0 4px rgba(126,87,194,.10);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.form-group .help-text {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.form-group .help-text a {
  color: var(--p);
  font-weight: 850;
}

/* Submit Button */
.btn-submit {
  background: var(--p);
  color: #fff;
  padding: 16px 32px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 14px 34px rgba(126,87,194,.22);
}
.btn-submit:hover {
  background: rgba(126,87,194,.90);
  transform: translateY(-2px);
}

/* Privacy Note */
.privacy-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

/* Tabs for Ideas Page */
.feedback-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 0;
}
.feedback-tab {
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-weight: 850;
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px 8px 0 0;
}
.feedback-tab:hover {
  color: var(--ink);
  background: rgba(0,0,0,.03);
}
.feedback-tab.active {
  color: var(--p);
  border-bottom-color: var(--p);
  background: rgba(126,87,194,.08);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}
.tab-content.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Platform Warning Box */
.platform-warning {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--r3);
  background: rgba(249,115,22,.10);
  border: 1px solid rgba(249,115,22,.25);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
}
.platform-warning strong {
  color: rgba(249,115,22,.95);
  font-weight: 850;
}

/* Success Message */
.feedback-success {
  text-align: center;
  padding: 60px 24px;
}
.feedback-success .success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: rgba(34,197,94,.12);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(34,197,94,.95);
}
.feedback-success .success-icon svg {
  width: 32px;
  height: 32px;
}
.feedback-success h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -0.02em;
}
.feedback-success p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 680px) {
  .reinstall-banner {
    padding: 24px 18px;
  }
  .reinstall-banner h2 {
    font-size: 20px;
  }
  .reason-btn {
    padding: 14px 16px;
    font-size: 14px;
  }
  .btn-submit {
    padding: 14px 24px;
    font-size: 14.5px;
  }
  .feedback-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .feedback-tab {
    white-space: nowrap;
    padding: 12px 16px;
  }
}
.emoji {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke: currentColor;
}
.reason-btn .emoji {
  color: inherit;
}

/* Section headers with SVG icons */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}
.section-header .slack-emoji {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}