/* ==================================================================
   instavidly.com
   Deep Sunset: violet / pink / orange on a deep navy ink.
   --teal is the link and accent colour (violet), --amber the warm
   highlight (orange). The names are kept so the rest of the file
   does not need renaming.
   ================================================================== */

:root{
  --btn:#1A1035;
  --btn-ink:#FFFFFF;
  --bg:#FAF8FE;
  --surface:#FFFFFF;
  --ink:#1A1035;
  --ink-soft:rgba(26,16,53,.75);
  --ink-faint:rgba(26,16,53,.58);
  --teal:#5B2FD6;
  --amber:#FF8A3D;
  --plum:#D6247A;
  --focus:#5B2FD6;
  --grad:linear-gradient(135deg,#5B2FD6 0%,#D6247A 100%);
  --grad-warm:linear-gradient(135deg,#D6247A 0%,#F0642C 100%);
  --heading:#5B2FD6;
  --rule:rgba(26,16,53,.13);
  --shadow:var(--plum);
  --notice-bg:#FFF0E6;
  --footer-bg:#1A1035;
  --footer-ink:rgba(255,255,255,.74);
  --measure:34rem;
}

[data-theme="dark"]{
  --btn:#6D3BEB;
  --btn-ink:#FFFFFF;
  --bg:#0F0A1E;
  --surface:#1A1233;
  --ink:#EDE9F7;
  --ink-soft:rgba(237,233,247,.78);
  --ink-faint:rgba(237,233,247,.58);
  --teal:#B49CFF;
  --amber:#FFA35C;
  --plum:#E0569A;
  --focus:#FFA35C;
  --grad:linear-gradient(135deg,#7C5CF0 0%,#E0569A 100%);
  --grad-warm:linear-gradient(135deg,#E0569A 0%,#FF8A4C 100%);
  --heading:#C4B2FF;
  --rule:rgba(237,233,247,.16);
  --shadow:#0A0616;
  --notice-bg:#3A2416;
  --footer-bg:#0C0719;
  --footer-ink:rgba(237,233,247,.70);
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --btn:#6D3BEB;
    --btn-ink:#FFFFFF;
    --bg:#0F0A1E;
    --surface:#1A1233;
    --ink:#EDE9F7;
    --ink-soft:rgba(237,233,247,.78);
    --ink-faint:rgba(237,233,247,.58);
    --teal:#B49CFF;
    --amber:#FFA35C;
    --plum:#E0569A;
    --focus:#FFA35C;
    --grad:linear-gradient(135deg,#7C5CF0 0%,#E0569A 100%);
    --grad-warm:linear-gradient(135deg,#E0569A 0%,#FF8A4C 100%);
    --heading:#C4B2FF;
    --rule:rgba(237,233,247,.16);
    --shadow:#0A0616;
    --notice-bg:#3A2416;
    --footer-bg:#0C0719;
    --footer-ink:rgba(237,233,247,.70);
  }
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:400 1.0625rem/1.6 "Instrument Sans",system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{font-family:"Bricolage Grotesque","Instrument Sans",sans-serif;margin:0;line-height:1.05;letter-spacing:-.025em}
p{margin:0}
a{color:var(--teal)}
img{max-width:100%;height:auto}

:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:3px}
.hero-band :focus-visible{outline-color:#FFFFFF}
.site-footer :focus-visible{outline-color:#FFA35C}

.wrap{width:min(68rem,100% - 2.5rem);margin-inline:auto}

.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.skip{position:absolute;left:-999px;top:0;background:var(--amber);color:#1A1035;padding:.7rem 1.1rem;z-index:50;border-radius:0 0 8px 0;font-weight:600}
.skip:focus{left:0}

/* ---------- masthead ---------- */
.masthead{border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:20;background:var(--bg)}
.masthead-inner{display:flex;align-items:center;gap:1.25rem;padding:1rem 0}

.mark{display:flex;align-items:center;gap:.55rem;flex:none;font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:1.2rem;letter-spacing:-.03em;text-decoration:none;color:var(--ink)}
/* Logo: dark tile with the amber download arrow, matching the favicon.
   The name is split so "Insta" can carry the arrow colour. */
.mark-glyph{
  width:1.6rem;height:1.6rem;border-radius:8px;
  background:var(--grad);color:#FFFFFF;
  display:grid;place-items:center;flex:none;
}
.mark-glyph svg{width:1.05rem;height:1.05rem}
.mark-word{color:var(--ink)}

/* On the dark footer the tile flips so it stays visible */
.mark-light .mark-glyph{background:var(--grad);color:#FFFFFF}
.mark-light .mark-word{color:#F9FAFB}

.mast-right{display:flex;align-items:center;gap:.6rem;margin-left:auto}
.lang-static{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.45rem .85rem;border-radius:999px;
  border:1px solid var(--rule);background:var(--surface);
  color:var(--ink-soft);font-size:.88rem;font-weight:500;
  cursor:default;user-select:none;
}
.lang-static svg{opacity:.6}

.theme-toggle{
  flex:none;display:inline-flex;align-items:center;gap:.4rem;
  padding:.45rem .85rem;border:1px solid var(--rule);border-radius:999px;
  background:var(--surface);color:var(--ink-soft);cursor:pointer;
  font:500 .88rem/1 "Instrument Sans",system-ui,sans-serif;
}
.theme-toggle:hover{border-color:var(--teal);color:var(--teal)}
.theme-toggle svg{opacity:.75}

/* icon and label always agree: sun+Light, moon+Dark */
.icon-moon,.tt-dark{display:none}
.icon-sun,.tt-light{display:inline}
[data-theme="dark"] .icon-sun,[data-theme="dark"] .tt-light{display:none}
[data-theme="dark"] .icon-moon,[data-theme="dark"] .tt-dark{display:inline}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .icon-sun,
  :root:not([data-theme="light"]) .tt-light{display:none}
  :root:not([data-theme="light"]) .icon-moon,
  :root:not([data-theme="light"]) .tt-dark{display:inline}
}

/* ---------- mode bar ----------
   Pill row: translucent pills on a gradient band, active pill
   solid with a pink icon. Scrolls horizontally on mobile at
   the same pill proportions as desktop.                        */

.modebar-outer{padding:1.25rem 0 0}

.modebar{
  width:min(68rem,100% - 2.5rem);
  margin-inline:auto;
  border-radius:16px;
  background:linear-gradient(35deg,#5B2FD6 0%,#D6247A 55%,#E5532A 100%);
  padding:.6rem;
  overflow:hidden;
}
[data-theme="dark"] .modebar{
  background:radial-gradient(60% 90% at 0% 100%,rgba(91,47,214,.55),transparent 70%),radial-gradient(55% 80% at 100% 0%,rgba(214,36,122,.45),transparent 70%),#0F0A1E;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .modebar{
    background:radial-gradient(60% 90% at 0% 100%,rgba(91,47,214,.55),transparent 70%),radial-gradient(55% 80% at 100% 0%,rgba(214,36,122,.45),transparent 70%),#0F0A1E;
  }
}

.modebar-track{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}
.modebar-track::-webkit-scrollbar{display:none}

.pill{
  flex:0 0 auto;
  scroll-snap-align:center;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  height:2.5rem;
  padding:0 1.05rem;
  border-radius:999px;
  border:1px solid rgba(247,250,249,.30);
  background:rgba(8,28,33,.26);
  color:#F7FAF9;
  font:500 .9rem/1 "Instrument Sans",system-ui,sans-serif;
  text-decoration:none;
  white-space:nowrap;
  transition:background .15s ease,border-color .15s ease;
}
.pill:hover{background:rgba(8,28,33,.40);border-color:rgba(247,250,249,.55)}
.pill .pill-icon{flex:none;opacity:.92}

.pill.is-active{
  background:var(--surface);
  border-color:var(--surface);
  color:var(--ink);
  font-weight:600;
  box-shadow:0 2px 8px rgba(9,26,32,.22);
}
.pill.is-active .pill-icon{color:var(--amber);opacity:1}

.pill:focus-visible{outline:3px solid #FFFFFF;outline-offset:2px}

@media (max-width:46rem){
  .modebar-outer{padding-top:.9rem}
  .modebar{
    width:calc(100% - 1.75rem);
    border-radius:14px;
    padding:.5rem;
  }
  .modebar-track{justify-content:flex-start}
  /* pill size stays identical to desktop; the row scrolls instead */
  .modebar-track::after{content:"";flex:0 0 .25rem}
}

/* ---------- hero: the field is the hero ---------- */
.hero{padding:3.5rem 0 3rem;max-width:52rem}
.hero h1{font-size:clamp(2.4rem,6.5vw,4.4rem);font-weight:700;letter-spacing:-.035em}
.lede{max-width:var(--measure);margin-top:1.1rem;font-size:1.15rem;color:var(--ink-soft)}

.paster{margin-top:2.5rem}
.tool-row{display:flex;gap:.7rem;align-items:stretch}
.tool-row .field{flex:1;min-width:0}
.field{
  display:flex;align-items:center;gap:.4rem;padding:.5rem;
  background:var(--surface);
  border:2px solid var(--ink);
  border-radius:14px;
  box-shadow:6px 6px 0 var(--shadow);
}
.field:focus-within{box-shadow:6px 6px 0 var(--amber)}
.field input{
  flex:1;min-width:0;border:0;background:transparent;
  padding:1rem .9rem;font:inherit;font-size:1.05rem;color:var(--ink);
}
.field input::placeholder{color:var(--ink-faint)}
.field input:focus{outline:none}

.paste-btn{
  flex:none;border:1px solid var(--rule);background:transparent;color:var(--ink-soft);
  border-radius:8px;padding:.6rem .8rem;font:500 .9rem/1 "Instrument Sans",sans-serif;cursor:pointer;
}
.paste-btn:hover{color:var(--ink);border-color:var(--teal)}

.go-btn{
  flex:none;border:0;border-radius:9px;padding:1rem 1.7rem;
  background:var(--btn);color:var(--btn-ink);
  font:600 1.05rem/1 "Instrument Sans",sans-serif;cursor:pointer;
}
.go-btn:hover{filter:brightness(1.08)}
.go-btn[aria-busy="true"]{opacity:.65;cursor:progress}

.hint{margin-top:.85rem;font-size:.92rem;color:var(--ink-faint)}

/* trust line: plain text, no boxes */
.badges{
  list-style:none;margin:.9rem 0 0;padding:0;
  display:flex;flex-wrap:wrap;gap:.3rem 1.15rem;
}
.badges li{
  display:inline-flex;align-items:center;gap:.32rem;
  font-size:.88rem;font-weight:600;color:var(--ink-soft);
}
.badges svg{flex:none;color:var(--teal)}

.notice{
  margin-top:1rem;padding:.85rem 1rem;border-radius:10px;
  background:var(--notice-bg);border-left:4px solid var(--amber);font-size:.97rem;color:var(--ink);
}

/* ---------- results ---------- */


/* ---------- steps (a real sequence, so numbers earn their place) ---------- */
.steps{border-top:1px solid var(--rule);padding:3.5rem 0}
.steps h2{font-size:1.9rem;margin-bottom:2rem}
.steps ol{list-style:none;margin:0;padding:0;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));counter-reset:s}
.steps li{counter-increment:s;padding-top:.6rem;border-top:3px solid var(--plum)}
.steps li::before{content:counter(s);display:block;font-family:"Bricolage Grotesque",sans-serif;font-weight:700;font-size:2rem;color:var(--plum);line-height:1}
.steps h3{font-size:1.1rem;margin:.5rem 0 .4rem}
.steps p{font-size:.98rem;color:var(--ink-soft)}

/* ---------- faq ---------- */
.faq{border-top:1px solid var(--rule);padding:3.5rem 0}
.faq h2{font-size:1.9rem;margin-bottom:1.5rem}
.faq details{border-bottom:1px solid var(--rule);padding:1.1rem 0}
.faq summary{cursor:pointer;font-weight:600;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--plum);font-size:1.4rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq p{max-width:var(--measure);margin-top:.7rem;color:var(--ink-soft)}

/* ---------- other tools ---------- */
.other-tools{border-top:1px solid var(--rule);padding:3.5rem 0}
.other-tools h2{font-size:1.4rem;margin-bottom:1.25rem}
.tool-links{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}
.tool-links a{display:block;padding:1rem;border:1px solid var(--rule);border-radius:11px;text-decoration:none;color:var(--ink)}
.tool-links a:hover{border-color:var(--teal);background:var(--surface)}
.tool-links strong{display:block;font-weight:600}
.tool-links span{display:block;font-size:.9rem;color:var(--ink-faint);margin-top:.15rem}

/* ---------- prose pages ---------- */
.prose{padding:3rem 0 4rem;max-width:var(--measure)}
.prose h1{font-size:clamp(2rem,5vw,3rem);font-weight:700}
.prose h2{font-size:1.35rem;margin:2.5rem 0 .6rem}
.prose p,.prose li{color:var(--ink-soft);margin-top:.9rem}
.prose ul{padding-left:1.2rem}
.prose .lede{color:var(--ink);font-size:1.15rem}

/* ---------- footer ---------- */
.site-footer{background:var(--footer-bg);color:var(--footer-ink);padding:3rem 0 2rem;margin-top:3rem;font-size:.94rem}
.footer-grid{display:grid;gap:2rem;grid-template-columns:1.5fr 1fr 1fr 1fr}
.footer-brand p{margin-top:.9rem;max-width:26rem}
.mark-light{color:#F9FAFB}
.footer-col h3{font-size:.95rem;color:#F9FAFB;margin-bottom:.7rem}
.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:.45rem}
.footer-col a{color:var(--footer-ink);text-decoration:none}
.footer-col a:hover{color:#F9FAFB;text-decoration:underline}
.footer-base{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid rgba(237,241,240,.16);font-size:.88rem}

/* ---------- responsive ---------- */
@media (max-width:52rem){
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
}
@media (max-width:40rem){
  .lang-static span:last-child{display:none}
  .lang-static{padding:.45rem .6rem}
  .tool-row{flex-direction:column}
  .go-btn{width:100%}
  .hero{padding-top:2.5rem}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
}

/* ---------- ghost buttons (Paste / Clear) ---------- */
.ghost-btn{
  flex:none;border:1px solid var(--rule);background:transparent;color:var(--ink-soft);
  border-radius:8px;padding:.6rem .8rem;font:500 .9rem/1 "Instrument Sans",sans-serif;cursor:pointer;
}
.ghost-btn:hover{color:var(--ink);border-color:var(--teal)}

.fair-use{margin-top:1.1rem;font-size:.88rem;color:var(--ink-faint)}
.fair-use a{color:var(--teal)}

/* ---------- long-form content ---------- */
.prose-wide{border-top:1px solid var(--rule);padding:3.25rem 0}
.prose-wide h2{font-size:1.7rem;margin-top:2.5rem}
.prose-wide h2:first-child{margin-top:0}
.prose-wide h3{font-size:1.12rem;margin-top:1.6rem}
.prose-wide p{margin-top:.85rem;color:var(--ink-soft);max-width:42rem}
.spec-list{list-style:none;padding:0;margin:1.2rem 0 0;display:grid;gap:.5rem;max-width:42rem}
.spec-list li{padding:.65rem .9rem;border:1px solid var(--rule);border-radius:9px;font-size:.95rem;color:var(--ink-soft)}

.section-sub{margin-top:.5rem;color:var(--ink-faint);font-size:.98rem}
.updated{margin-top:2rem;font-size:.85rem;color:var(--ink-faint)}
.disclaimer{margin-top:1rem;font-size:.85rem;opacity:.8}

/* ==================================================================
   HERO BAND
   One Deep Sunset gradient band holding the tabs, heading, input and
   button, at every width. Text on the band is white.
   ================================================================== */

.hero-band{background:transparent}
.results-wrap{padding-top:0}
.results-wrap:empty{display:none}

@media (max-width:46rem){

  .hero-band{
    background:linear-gradient(35deg,#5B2FD6 0%,#D6247A 55%,#E5532A 100%);
    padding:1.1rem 0 2rem;
    text-align:center;
  }

  /* the bar loses its own background and becomes part of the band */
  .modebar-outer{padding:0}
  .hero-band .modebar{
    background:transparent;
    width:calc(100% - 2rem);
    padding:0;
    border-radius:0;
  }
  .hero-band .modebar-track{
    flex-wrap:wrap;
    justify-content:center;
    overflow:visible;
    gap:.55rem;
  }
  .hero-band .modebar-track::after{display:none}

  .hero-band .pill{
    background:rgba(255,255,255,.16);
    border:1.5px solid rgba(255,255,255,.40);
    color:#FFFFFF;
    font-weight:600;
  }
  .hero-band .pill:hover{background:rgba(255,255,255,.28)}
  .hero-band .pill.is-active{
    background:#FFFFFF;
    border-color:#FFFFFF;
    color:#5B2FD6;
    box-shadow:0 3px 10px rgba(26,16,53,.18);
  }
  .hero-band .pill.is-active .pill-icon{color:#D6247A}

  .hero-band .hero{padding:1.6rem 0 0;max-width:none}
  .hero-band h1{
    color:#FFFFFF;
    font-size:clamp(2rem,8.5vw,2.6rem);
    letter-spacing:-.03em;
  }
  .hero-band .lede{
    color:rgba(255,255,255,.92);
    margin-inline:auto;
    font-size:1.02rem;
  }

  /* input box: white, on its own */
  .hero-band .field{
    flex-wrap:nowrap;
    background:#FFFFFF;
    border:0;
    border-radius:14px;
    padding:.45rem;
    box-shadow:0 6px 18px rgba(26,16,53,.16);
  }
  .hero-band .field:focus-within{box-shadow:0 6px 22px rgba(26,16,53,.28)}
  .hero-band .field input{
    flex:1;min-width:0;padding:.9rem .7rem;font-size:1rem;color:#1A1035;
    text-align:left;
  }
  .hero-band .field input::placeholder{color:rgba(26,16,53,.45)}

  .hero-band .ghost-btn{
    flex:none;border:0;border-radius:10px;
    background:#EFE9FD;color:#5B2FD6;font-weight:600;
    padding:.7rem .95rem;
  }
  .hero-band .ghost-btn:hover{background:#E2D8FB;color:#4520B0}
  .hero-band #clearBtn{display:none}   /* Paste replaces the text anyway */

  /* download button: separate, full width, dark so it stands out on the gradient */
  .hero-band .tool-row{flex-direction:column;gap:.75rem;margin-top:1.6rem}
  .hero-band .go-btn{
    display:block;width:100%;
    background:#1A1035;color:#FFFFFF;
    border-radius:14px;padding:1.15rem 1rem;
    font-size:1.02rem;font-weight:700;
    letter-spacing:.09em;text-transform:uppercase;
    box-shadow:0 6px 18px rgba(26,16,53,.28);
  }
  .hero-band .go-btn:hover{background:#2E1D5C}

  .hero-band .hint{display:none}
  .hero-band .badges{
    justify-content:center;gap:.35rem .95rem;margin-top:.95rem;
  }
  .hero-band .badges li{color:rgba(255,255,255,.92);font-size:.84rem}
  .hero-band .badges svg{color:#FFFFFF}
  .hero-band .notice{
    text-align:left;background:#FFF0E6;border-left-color:#E5532A;color:#4A1E0A;
  }
  .hero-band .fair-use{
    color:rgba(255,255,255,.86);margin-top:1.1rem;font-size:.9rem;
  }
  .hero-band .fair-use a{color:#FFFFFF;text-decoration:underline}

  .results-wrap{padding-top:1.5rem}

  /* header matches the reference: logo left, English right */
  .lang-static span:last-child{display:inline}
  .lang-static{padding:.45rem .85rem}
}

/* ------------------------------------------------------------------
   Dark mode, mobile band.
   The band goes dark rather than amber, and the Download button
   becomes amber instead. A dark button on a dark band disappears;
   this inverts the relationship so the button is the brightest
   thing on the screen.
   ------------------------------------------------------------------ */
@media (max-width:46rem){

  [data-theme="dark"] .hero-band{
    background:radial-gradient(60% 90% at 0% 100%,rgba(91,47,214,.55),transparent 70%),radial-gradient(55% 80% at 100% 0%,rgba(214,36,122,.45),transparent 70%),#0F0A1E;
  }
  [data-theme="dark"] .hero-band .modebar{background:transparent}
  [data-theme="dark"] .hero-band h1{color:#FFFFFF}
  [data-theme="dark"] .hero-band .lede{color:rgba(228,236,234,.80)}

  [data-theme="dark"] .hero-band .pill{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.20);
    color:#EEF4F2;
  }
  [data-theme="dark"] .hero-band .pill:hover{background:rgba(247,250,249,.18)}
  [data-theme="dark"] .hero-band .pill.is-active{
    background:#FFFFFF;border-color:#FFFFFF;color:#5B2FD6;
  }
  [data-theme="dark"] .hero-band .pill.is-active .pill-icon{color:#D6247A}

  [data-theme="dark"] .hero-band .field{
    background:#FFFFFF;box-shadow:0 6px 18px rgba(0,0,0,.34);
  }
  [data-theme="dark"] .hero-band .field input{color:#1A1035}
  [data-theme="dark"] .hero-band .field input::placeholder{color:rgba(26,16,53,.45)}

  [data-theme="dark"] .hero-band .ghost-btn{
    background:#EFE9FD;color:#5B2FD6;
  }
  [data-theme="dark"] .hero-band .ghost-btn:hover{background:#E2D8FB}

  /* the button is now the amber one */
  [data-theme="dark"] .hero-band .go-btn{
    background:linear-gradient(90deg,#6D3BEB,#E0318A);color:#FFFFFF;
    box-shadow:0 6px 20px rgba(224,49,138,.35);
  }
  [data-theme="dark"] .hero-band .go-btn:hover{background:linear-gradient(90deg,#7C4DF0,#EA4A9A)}

  [data-theme="dark"] .hero-band .badges li{color:rgba(238,244,242,.88)}
  [data-theme="dark"] .hero-band .badges svg{color:#FF8CC0}
  [data-theme="dark"] .hero-band .fair-use{color:rgba(228,236,234,.72)}
  [data-theme="dark"] .hero-band .fair-use a{color:#C4B2FF}
  [data-theme="dark"] .hero-band .notice{
    background:#3A2416;border-left-color:#FFA35C;color:#F3E6CB;
  }
}

/* Same rules when the device is in dark mode and no manual choice was made. */
@media (max-width:46rem) and (prefers-color-scheme: dark){

  :root:not([data-theme="light"]) .hero-band{
    background:radial-gradient(60% 90% at 0% 100%,rgba(91,47,214,.55),transparent 70%),radial-gradient(55% 80% at 100% 0%,rgba(214,36,122,.45),transparent 70%),#0F0A1E;
  }
  :root:not([data-theme="light"]) .hero-band .modebar{background:transparent}
  :root:not([data-theme="light"]) .hero-band h1{color:#FFFFFF}
  :root:not([data-theme="light"]) .hero-band .lede{color:rgba(228,236,234,.80)}

  :root:not([data-theme="light"]) .hero-band .pill{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.20);
    color:#EEF4F2;
  }
  :root:not([data-theme="light"]) .hero-band .pill:hover{background:rgba(247,250,249,.18)}
  :root:not([data-theme="light"]) .hero-band .pill.is-active{
    background:#FFFFFF;border-color:#FFFFFF;color:#5B2FD6;
  }
  :root:not([data-theme="light"]) .hero-band .pill.is-active .pill-icon{color:#D6247A}

  :root:not([data-theme="light"]) .hero-band .field{
    background:#FFFFFF;box-shadow:0 6px 18px rgba(0,0,0,.34);
  }
  :root:not([data-theme="light"]) .hero-band .field input{color:#1A1035}
  :root:not([data-theme="light"]) .hero-band .field input::placeholder{color:rgba(26,16,53,.45)}

  :root:not([data-theme="light"]) .hero-band .ghost-btn{
    background:#EFE9FD;color:#5B2FD6;
  }
  :root:not([data-theme="light"]) .hero-band .ghost-btn:hover{background:#E2D8FB}

  /* the button is now the amber one */
  :root:not([data-theme="light"]) .hero-band .go-btn{
    background:linear-gradient(90deg,#6D3BEB,#E0318A);color:#FFFFFF;
    box-shadow:0 6px 20px rgba(224,49,138,.35);
  }
  :root:not([data-theme="light"]) .hero-band .go-btn:hover{background:linear-gradient(90deg,#7C4DF0,#EA4A9A)}

  :root:not([data-theme="light"]) .hero-band .badges li{color:rgba(238,244,242,.88)}
  :root:not([data-theme="light"]) .hero-band .badges svg{color:#FF8CC0}
  :root:not([data-theme="light"]) .hero-band .fair-use{color:rgba(228,236,234,.72)}
  :root:not([data-theme="light"]) .hero-band .fair-use a{color:#C4B2FF}
  :root:not([data-theme="light"]) .hero-band .notice{
    background:#3A2416;border-left-color:#FFA35C;color:#F3E6CB;
  }
}

/* ==================================================================
   PROGRESS BAR + RESULT CARD (inside the hero band)
   ================================================================== */

.progress{margin-top:.85rem}
.progress-track{
  height:6px;border-radius:99px;overflow:hidden;
  background:rgba(26,16,53,.16);
}
.progress-fill{
  height:100%;width:6%;border-radius:99px;background:var(--ink);
  transition:width .5s ease;
}
.progress-msg{
  margin-top:.5rem;font-size:.9rem;font-weight:600;color:var(--ink-soft);
}

/* result card: full-width preview */
.results{
  margin-top:1rem;padding:.85rem;
  background:var(--surface);
  border:1px solid var(--rule);
  border-radius:14px;
  text-align:left;
}
.results-thumb{
  display:block;
  width:100%;
  max-width:15rem;          /* keeps it from getting silly on desktop */
  margin-inline:auto;
  aspect-ratio:9 / 16;      /* the shape a reel actually is */
  object-fit:contain;       /* contain, not cover: never crops the picture */
  background:#120B24;       /* the bars beside non-vertical media */
  border-radius:10px;
  border:0;
}
.results h2{font-size:1.05rem;margin-top:.75rem}
.results-sub{font-size:.88rem;color:var(--ink-faint);margin-top:.15rem}
.results ul{list-style:none;margin:.75rem 0 0;padding:0;display:grid;gap:.5rem}
.results li{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.7rem .85rem;border:1px solid var(--rule);border-radius:9px;
  font-size:.92rem;font-weight:600;color:var(--ink);
}
.results li a{
  font-weight:600;text-decoration:none;color:var(--ink);
  border-bottom:2px solid var(--amber);padding-bottom:1px;
}
.results li a:hover{border-bottom-color:var(--teal)}

/* inside the hero band the card is white and the bar is white */
@media (max-width:46rem){
  .hero-band .progress-track{background:rgba(255,255,255,.30)}
  .hero-band .progress-fill{background:#FFFFFF}
  .hero-band .progress-msg{color:rgba(255,255,255,.92)}

  .hero-band .results{
    background:#FFFFFF;border:0;
    box-shadow:0 6px 18px rgba(26,16,53,.16);
  }
  .hero-band .results h2{color:#1A1035}
  .hero-band .results-sub{color:rgba(26,16,53,.58)}
  .hero-band .results li{border-color:rgba(26,16,53,.14);color:#1A1035}
  .hero-band .results li a{color:#1A1035}
}

@media (max-width:46rem){
  [data-theme="dark"] .hero-band .progress-track{background:rgba(238,244,242,.18)}
  [data-theme="dark"] .hero-band .progress-fill{background:#E0569A}
  [data-theme="dark"] .hero-band .progress-msg{color:rgba(238,244,242,.86)}
  [data-theme="dark"] .hero-band .results{background:#1D1338;box-shadow:0 6px 18px rgba(0,0,0,.34)}
  [data-theme="dark"] .hero-band .results h2{color:#EEF4F2}
  [data-theme="dark"] .hero-band .results-sub{color:rgba(238,244,242,.6)}
  [data-theme="dark"] .hero-band .results li{border-color:rgba(238,244,242,.18);color:#EEF4F2}
  [data-theme="dark"] .hero-band .results li a{color:#EEF4F2}
}

/* Same rules when the device is in dark mode and no manual choice was made. */
@media (max-width:46rem) and (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .hero-band .progress-track{background:rgba(238,244,242,.18)}
  :root:not([data-theme="light"]) .hero-band .progress-fill{background:#E0569A}
  :root:not([data-theme="light"]) .hero-band .progress-msg{color:rgba(238,244,242,.86)}
  :root:not([data-theme="light"]) .hero-band .results{background:#1D1338;box-shadow:0 6px 18px rgba(0,0,0,.34)}
  :root:not([data-theme="light"]) .hero-band .results h2{color:#EEF4F2}
  :root:not([data-theme="light"]) .hero-band .results-sub{color:rgba(238,244,242,.6)}
  :root:not([data-theme="light"]) .hero-band .results li{border-color:rgba(238,244,242,.18);color:#EEF4F2}
  :root:not([data-theme="light"]) .hero-band .results li a{color:#EEF4F2}
}

@media (prefers-reduced-motion: reduce){
  .progress-fill{transition:none}
}

/* wordmark colours in dark mode */
[data-theme="dark"] .mark-glyph{background:var(--grad);color:#FFFFFF}
[data-theme="dark"] .mark-word{color:#E4ECEA}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .mark-glyph{background:var(--grad);color:#FFFFFF}
  :root:not([data-theme="light"]) .mark-word{color:#E4ECEA}
}

/* ==================================================================
   HOMEPAGE SECTIONS
   ================================================================== */

/* --- how-to steps with real screenshots --- */
.howto{border-top:1px solid var(--rule);padding:3.5rem 0;text-align:center}
.howto h2{font-size:clamp(1.6rem,4.5vw,2.1rem);letter-spacing:-.03em}
.howto-lede{margin-top:.5rem;font-size:1rem;color:var(--ink-faint)}

.howto-steps{
  list-style:none;margin:2.25rem auto 0;padding:0;
  display:grid;gap:2rem;
  grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));
  max-width:56rem;
}
.howto-step{position:relative}

.howto-shot{
  margin:0 auto;width:min(13rem,100%);
  background:var(--grad);border-radius:1.35rem;padding:.4rem;
  box-shadow:0 10px 24px rgba(26,16,53,.2);
}
.howto-shot img{
  display:block;width:100%;height:auto;
  border-radius:1rem;background:var(--surface);
}

.howto-step h3{
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  font-size:1.1rem;margin-top:1rem;letter-spacing:-.02em;
}
.howto-num{
  width:1.6rem;height:1.6rem;border-radius:50%;
  background:var(--grad-warm);color:#FFFFFF;
  font-family:"Instrument Sans",sans-serif;font-size:.85rem;font-weight:700;
  display:grid;place-items:center;flex:none;
}
.howto-step p{
  margin:.45rem auto 0;max-width:17rem;
  font-size:.95rem;line-height:1.5;color:var(--ink-soft);
}
@media (min-width:52rem){
  .howto-step:not(:last-child)::after{
    content:"";position:absolute;top:7rem;right:-1.15rem;
    width:1.6rem;height:1px;background:var(--rule);
  }
}

/* --- tick list in the "what is it" section --- */
.facts{
  list-style:none;padding:0;margin:1.5rem 0 0;
  display:grid;gap:1.1rem 1.75rem;
  grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));
  max-width:44rem;
}
.facts li{
  position:relative;padding-left:1.9rem;
  font-size:.95rem;line-height:1.55;color:var(--ink-soft);
}
.facts li::before{
  content:"";position:absolute;left:0;top:.15rem;
  width:1.25rem;height:1.25rem;border-radius:50%;
  background:var(--grad);
}
.facts li::after{
  content:"";position:absolute;left:.38rem;top:.45rem;
  width:.48rem;height:.26rem;
  border-left:2px solid #FFFFFF;border-bottom:2px solid #FFFFFF;
  transform:rotate(-45deg);
}
.facts strong{display:block;color:var(--ink);font-weight:600;margin-bottom:.1rem}

/* --- plain link list for the other tools --- */
.tool-list{list-style:none;padding:0;margin:1rem 0 0;display:grid;gap:.55rem;max-width:42rem}
.tool-list li{font-size:.95rem;color:var(--ink-soft)}
.tool-list a{font-weight:600;color:var(--teal);text-decoration:none;border-bottom:1px solid transparent}
.tool-list a:hover{border-bottom-color:var(--teal)}

/* sections inside the article need breathing room */
.prose-wide section + section{margin-top:2.75rem}

[data-theme="dark"] .howto-shot{background:var(--grad)}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .howto-shot{background:var(--grad)}
}

/* --- plain three-step block (DP page: no screenshots) ---
   Icon circle on the left with its number as a badge, text beside it. */
.dpsteps{border-top:1px solid var(--rule);padding:3.5rem 0;text-align:center}
.dpsteps h2{font-size:clamp(1.6rem,4.5vw,2.1rem);letter-spacing:-.03em}
.dpsteps-lede{margin-top:.5rem;font-size:1rem;color:var(--ink-faint)}

.dpsteps-list{
  list-style:none;margin:2rem auto 0;padding:0;
  display:grid;gap:.75rem;
  grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));
  max-width:56rem;text-align:left;
}
.dpstep{
  display:flex;align-items:center;gap:.85rem;
  background:var(--surface);border:1px solid var(--rule);
  border-radius:13px;padding:1rem;
}
.dpstep-icon{
  position:relative;flex:none;
  width:2.75rem;height:2.75rem;border-radius:50%;
  background:var(--grad-warm);color:#FFFFFF;
  display:grid;place-items:center;
}
.dpstep-num{
  position:absolute;top:-.2rem;right:-.2rem;
  width:1.15rem;height:1.15rem;border-radius:50%;
  background:var(--ink);color:var(--surface);
  font-family:"Instrument Sans",sans-serif;
  font-size:.7rem;font-weight:700;
  display:grid;place-items:center;
  border:2px solid var(--surface);
}
.dpstep-text h3{font-size:1rem;margin:0 0 .15rem;letter-spacing:-.02em}
.dpstep-text p{margin:0;font-size:.9rem;line-height:1.45;color:var(--ink-soft)}

[data-theme="dark"] .dpstep-num{border-color:var(--surface)}

/* ==================================================================
   CONTACT FORM
   ================================================================== */

.contact-form{margin:1.75rem 0 2.5rem;max-width:38rem}

.field-row{display:grid;gap:1rem;grid-template-columns:1fr 1fr}
@media (max-width:34rem){.field-row{grid-template-columns:1fr}}

.form-field{margin:0 0 1rem;display:flex;flex-direction:column}
.form-field label{
  font-size:.9rem;font-weight:600;color:var(--ink);margin-bottom:.35rem;
}
.form-field input,
.form-field select,
.form-field textarea{
  font:inherit;font-size:1rem;color:var(--ink);
  background:var(--surface);
  border:1.5px solid var(--rule);border-radius:10px;
  padding:.75rem .9rem;width:100%;
}
.form-field textarea{resize:vertical;min-height:9rem;line-height:1.55}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
  outline:none;border-color:var(--teal);
  box-shadow:0 0 0 3px rgba(91,47,214,.18);
}
.form-hint{margin-top:.35rem;font-size:.85rem;color:var(--ink-faint)}

.contact-form .go-btn{
  display:inline-block;width:auto;padding:.85rem 1.9rem;
  border-radius:10px;font-size:1rem;
}

.form-note{margin-top:1rem;font-size:.85rem;color:var(--ink-faint);max-width:32rem}
.form-note a{color:var(--teal)}

.form-ok{
  margin:1.25rem 0 0;padding:.9rem 1.1rem;border-radius:10px;
  background:rgba(91,47,214,.12);border-left:4px solid var(--teal);
  font-size:.97rem;color:var(--ink);
}
.form-errors{
  margin:1.25rem 0 0;padding:.9rem 1.1rem;border-radius:10px;
  background:var(--notice-bg);border-left:4px solid var(--amber);
}
.form-errors p{margin:0;font-size:.95rem;color:var(--ink)}
.form-errors p + p{margin-top:.35rem}

/* the honeypot: off screen for people, visible to bots that read markup */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;opacity:0}

.contact-form .go-btn[disabled]{opacity:.6;cursor:progress}
.contact-form .form-ok,
.contact-form .form-errors{margin-top:1rem}

/* ==================================================================
   DESKTOP HERO — match the mobile band
   Mirrors the mobile band above 46rem, with a narrower column so the
   input does not stretch across a large monitor.
   ================================================================== */

@media (min-width:46.01rem){

  .hero-band{
    background:linear-gradient(35deg,#5B2FD6 0%,#D6247A 55%,#E5532A 100%);
    padding:1.75rem 0 3rem;
    text-align:center;
  }

  /* --- pill bar sits on the band rather than carrying its own --- */
  .modebar-outer{padding:0}
  .hero-band .modebar{
    background:transparent;
    width:min(56rem,100% - 2.5rem);
    padding:0;
    border-radius:0;
    box-shadow:none;
  }
  .hero-band .modebar-track{
    flex-wrap:wrap;
    justify-content:center;
    overflow:visible;
    gap:.6rem;
  }
  .hero-band .modebar-track::after{display:none}

  .hero-band .pill{
    background:rgba(255,255,255,.16);
    border:1.5px solid rgba(255,255,255,.40);
    color:#FFFFFF;
    font-weight:600;
  }
  .hero-band .pill:hover{background:rgba(255,255,255,.28)}
  .hero-band .pill.is-active{
    background:#FFFFFF;
    border-color:#FFFFFF;
    color:#5B2FD6;
    box-shadow:0 3px 10px rgba(26,16,53,.18);
  }
  .hero-band .pill.is-active .pill-icon{color:#D6247A}

  /* --- heading and intro, centred on the band --- */
  .hero-band .hero{
    padding:2.25rem 0 0;
    max-width:44rem;
    margin-inline:auto;
  }
  .hero-band h1{
    color:#FFFFFF;
    font-size:clamp(2.4rem,4.6vw,3.4rem);
    letter-spacing:-.035em;
  }
  .hero-band .lede{
    color:rgba(255,255,255,.92);
    margin-inline:auto;
    max-width:36rem;
    font-size:1.1rem;
  }

  /* --- input and button stacked, in a column that stays readable --- */
  .hero-band .tool-row{
    flex-direction:column;
    gap:.85rem;
    margin-top:1.9rem;
    max-width:34rem;
    margin-inline:auto;
  }
  .hero-band .field{
    flex-wrap:nowrap;
    background:#FFFFFF;
    border:0;
    border-radius:14px;
    padding:.5rem;
    box-shadow:0 6px 20px rgba(26,16,53,.16);
  }
  .hero-band .field:focus-within{box-shadow:0 6px 26px rgba(26,16,53,.28)}
  .hero-band .field input{
    flex:1;min-width:0;padding:.95rem .85rem;font-size:1.02rem;color:#1A1035;
    text-align:left;
  }
  .hero-band .field input::placeholder{color:rgba(26,16,53,.45)}

  .hero-band .ghost-btn{
    flex:none;border:0;border-radius:10px;
    background:#EFE9FD;color:#5B2FD6;font-weight:600;
    padding:.72rem 1rem;
  }
  .hero-band .ghost-btn:hover{background:#E2D8FB;color:#4520B0}

  .hero-band .go-btn{
    display:block;width:100%;
    background:#1A1035;color:#FFFFFF;
    border-radius:14px;padding:1.1rem 1rem;
    font-size:1.02rem;font-weight:700;
    letter-spacing:.09em;text-transform:uppercase;
    box-shadow:0 6px 20px rgba(26,16,53,.26);
  }
  .hero-band .go-btn:hover{background:#2E1D5C}

  /* --- supporting bits --- */
  .hero-band .hint{display:none}
  .hero-band .badges{
    justify-content:center;
    gap:.4rem 1.4rem;
    margin-top:1.1rem;
    max-width:34rem;
    margin-inline:auto;
  }
  .hero-band .badges li{color:rgba(255,255,255,.92)}
  .hero-band .badges svg{color:#FFFFFF}

  .hero-band .fair-use{
    color:rgba(255,255,255,.86);
    margin-top:1.2rem;
  }
  .hero-band .fair-use a{color:#FFFFFF;text-decoration:underline}

  .hero-band .notice{
    text-align:left;
    background:#FFF0E6;
    border-left-color:#E5532A;
    color:#4A1E0A;
    max-width:34rem;
    margin-inline:auto;
  }

  /* --- progress bar and result card, on the band --- */
  .hero-band .progress{max-width:34rem;margin-inline:auto}
  .hero-band .progress-track{background:rgba(255,255,255,.30)}
  .hero-band .progress-fill{background:#FFFFFF}
  .hero-band .progress-msg{color:rgba(255,255,255,.92)}

  .hero-band .results{
    background:#FFFFFF;
    border:0;
    box-shadow:0 6px 20px rgba(26,16,53,.16);
    max-width:34rem;
    margin-inline:auto;
    text-align:left;
  }
  .hero-band .results h2{color:#1A1035}
  .hero-band .results-sub{color:rgba(26,16,53,.58)}
  .hero-band .results li{border-color:rgba(26,16,53,.14);color:#1A1035}
  .hero-band .results li a{color:#1A1035}
  .hero-band .results-thumb{margin-inline:auto}
}

/* ------------------------------------------------------------------
   Desktop, dark mode. The band goes dark and the button turns amber,
   so the main action is the brightest thing on screen.
   ------------------------------------------------------------------ */

@media (min-width:46.01rem){
  [data-theme="dark"] .hero-band{
    background:radial-gradient(60% 90% at 0% 100%,rgba(91,47,214,.55),transparent 70%),radial-gradient(55% 80% at 100% 0%,rgba(214,36,122,.45),transparent 70%),#0F0A1E;
  }
  [data-theme="dark"] .hero-band .modebar{background:transparent}
  [data-theme="dark"] .hero-band h1{color:#FFFFFF}
  [data-theme="dark"] .hero-band .lede{color:rgba(228,236,234,.80)}

  [data-theme="dark"] .hero-band .pill{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.20);
    color:#EEF4F2;
  }
  [data-theme="dark"] .hero-band .pill:hover{background:rgba(247,250,249,.18)}
  [data-theme="dark"] .hero-band .pill.is-active{
    background:#FFFFFF;border-color:#FFFFFF;color:#5B2FD6;
  }
  [data-theme="dark"] .hero-band .pill.is-active .pill-icon{color:#D6247A}

  [data-theme="dark"] .hero-band .field{
    background:#FFFFFF;box-shadow:0 6px 20px rgba(0,0,0,.34);
  }
  [data-theme="dark"] .hero-band .field input{color:#1A1035}
  [data-theme="dark"] .hero-band .field input::placeholder{color:rgba(26,16,53,.45)}
  [data-theme="dark"] .hero-band .ghost-btn{background:#EFE9FD;color:#5B2FD6}
  [data-theme="dark"] .hero-band .ghost-btn:hover{background:#E2D8FB}

  [data-theme="dark"] .hero-band .go-btn{
    background:linear-gradient(90deg,#6D3BEB,#E0318A);color:#FFFFFF;
    box-shadow:0 6px 22px rgba(224,49,138,.35);
  }
  [data-theme="dark"] .hero-band .go-btn:hover{background:linear-gradient(90deg,#7C4DF0,#EA4A9A)}

  [data-theme="dark"] .hero-band .badges li{color:rgba(238,244,242,.88)}
  [data-theme="dark"] .hero-band .badges svg{color:#FF8CC0}
  [data-theme="dark"] .hero-band .fair-use{color:rgba(228,236,234,.72)}
  [data-theme="dark"] .hero-band .fair-use a{color:#C4B2FF}

  [data-theme="dark"] .hero-band .progress-track{background:rgba(238,244,242,.18)}
  [data-theme="dark"] .hero-band .progress-fill{background:#E0569A}
  [data-theme="dark"] .hero-band .progress-msg{color:rgba(238,244,242,.86)}

  [data-theme="dark"] .hero-band .results{background:#1D1338;box-shadow:0 6px 20px rgba(0,0,0,.34)}
  [data-theme="dark"] .hero-band .results h2{color:#EEF4F2}
  [data-theme="dark"] .hero-band .results-sub{color:rgba(238,244,242,.6)}
  [data-theme="dark"] .hero-band .results li{border-color:rgba(238,244,242,.18);color:#EEF4F2}
  [data-theme="dark"] .hero-band .results li a{color:#EEF4F2}
  [data-theme="dark"] .hero-band .notice{background:#3A2416;border-left-color:#FFA35C;color:#F3E6CB}
}

/* Same rules when the device is in dark mode and no manual choice was made. */
@media (min-width:46.01rem) and (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .hero-band{
    background:radial-gradient(60% 90% at 0% 100%,rgba(91,47,214,.55),transparent 70%),radial-gradient(55% 80% at 100% 0%,rgba(214,36,122,.45),transparent 70%),#0F0A1E;
  }
  :root:not([data-theme="light"]) .hero-band .modebar{background:transparent}
  :root:not([data-theme="light"]) .hero-band h1{color:#FFFFFF}
  :root:not([data-theme="light"]) .hero-band .lede{color:rgba(228,236,234,.80)}

  :root:not([data-theme="light"]) .hero-band .pill{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.20);
    color:#EEF4F2;
  }
  :root:not([data-theme="light"]) .hero-band .pill:hover{background:rgba(247,250,249,.18)}
  :root:not([data-theme="light"]) .hero-band .pill.is-active{
    background:#FFFFFF;border-color:#FFFFFF;color:#5B2FD6;
  }
  :root:not([data-theme="light"]) .hero-band .pill.is-active .pill-icon{color:#D6247A}

  :root:not([data-theme="light"]) .hero-band .field{
    background:#FFFFFF;box-shadow:0 6px 20px rgba(0,0,0,.34);
  }
  :root:not([data-theme="light"]) .hero-band .field input{color:#1A1035}
  :root:not([data-theme="light"]) .hero-band .field input::placeholder{color:rgba(26,16,53,.45)}
  :root:not([data-theme="light"]) .hero-band .ghost-btn{background:#EFE9FD;color:#5B2FD6}
  :root:not([data-theme="light"]) .hero-band .ghost-btn:hover{background:#E2D8FB}

  :root:not([data-theme="light"]) .hero-band .go-btn{
    background:linear-gradient(90deg,#6D3BEB,#E0318A);color:#FFFFFF;
    box-shadow:0 6px 22px rgba(224,49,138,.35);
  }
  :root:not([data-theme="light"]) .hero-band .go-btn:hover{background:linear-gradient(90deg,#7C4DF0,#EA4A9A)}

  :root:not([data-theme="light"]) .hero-band .badges li{color:rgba(238,244,242,.88)}
  :root:not([data-theme="light"]) .hero-band .badges svg{color:#FF8CC0}
  :root:not([data-theme="light"]) .hero-band .fair-use{color:rgba(228,236,234,.72)}
  :root:not([data-theme="light"]) .hero-band .fair-use a{color:#C4B2FF}

  :root:not([data-theme="light"]) .hero-band .progress-track{background:rgba(238,244,242,.18)}
  :root:not([data-theme="light"]) .hero-band .progress-fill{background:#E0569A}
  :root:not([data-theme="light"]) .hero-band .progress-msg{color:rgba(238,244,242,.86)}

  :root:not([data-theme="light"]) .hero-band .results{background:#1D1338;box-shadow:0 6px 20px rgba(0,0,0,.34)}
  :root:not([data-theme="light"]) .hero-band .results h2{color:#EEF4F2}
  :root:not([data-theme="light"]) .hero-band .results-sub{color:rgba(238,244,242,.6)}
  :root:not([data-theme="light"]) .hero-band .results li{border-color:rgba(238,244,242,.18);color:#EEF4F2}
  :root:not([data-theme="light"]) .hero-band .results li a{color:#EEF4F2}
  :root:not([data-theme="light"]) .hero-band .notice{background:#3A2416;border-left-color:#FFA35C;color:#F3E6CB}
}

/* ==================================================================
   OTHER TOOLS — cards instead of a plain list
   Reuses the pill-bar icons so the section matches the rest of the site.
   ================================================================== */

.tool-cards{
  list-style:none;padding:0;margin:1.5rem 0 0;
  display:grid;gap:.75rem;
  grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));
  max-width:56rem;
}

.tool-cards a{
  display:flex;align-items:center;gap:.85rem;
  background:var(--surface);
  border:1px solid var(--rule);
  border-radius:13px;
  padding:.95rem 1rem;
  text-decoration:none;
  color:var(--ink);
  transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease;
}
.tool-cards a:hover{
  border-color:var(--teal);
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(26,16,53,.10);
}

.tool-card-icon{
  flex:none;
  width:2.5rem;height:2.5rem;border-radius:50%;
  background:var(--grad-warm);color:#FFFFFF;
  display:grid;place-items:center;
}
.tool-card-icon svg{width:1.1rem;height:1.1rem}

.tool-card-body{flex:1;min-width:0}
.tool-card-body strong{
  display:block;font-size:1rem;font-weight:600;
  color:var(--ink);letter-spacing:-.01em;
}
.tool-card-body span{
  display:block;margin-top:.1rem;
  font-size:.88rem;line-height:1.4;color:var(--ink-soft);
}

.tool-card-go{flex:none;color:var(--ink-faint);transition:color .15s ease,transform .15s ease}
.tool-cards a:hover .tool-card-go{color:var(--teal);transform:translateX(3px)}

[data-theme="dark"] .tool-cards a:hover{box-shadow:0 6px 16px rgba(0,0,0,.28)}
@media (prefers-reduced-motion: reduce){
  .tool-cards a,.tool-card-go{transition:none}
  .tool-cards a:hover{transform:none}
}

/* ==================================================================
   BODY COLOUR
   Section headings carry the violet, so the page below the hero
   belongs to the same palette as the hero.
   ================================================================== */
.howto h2,.dpsteps h2,.steps h2,.faq h2,.other-tools h2,.prose-wide h2,.prose h2{color:var(--heading)}
.howto,.dpsteps,.steps,.faq,.other-tools,.prose-wide{border-top-color:rgba(91,47,214,.16)}
.dpstep,.tool-cards a,.spec-list li{border-color:rgba(91,47,214,.18)}

/* ==================================================================
   VIDEO TOOLS
   Header link, the file tool (drop zone, file card, options, result)
   and the "Free video tools" cards on the homepage.
   ================================================================== */

/* ---------- header link ---------- */
.tools-link{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.45rem .85rem;border-radius:999px;
  border:1px solid var(--rule);background:var(--surface);
  color:var(--ink-soft);font-size:.88rem;font-weight:500;text-decoration:none;
}
.tools-link:hover,.tools-link[aria-current="page"]{border-color:var(--teal);color:var(--teal)}
@media (max-width:46rem){
  .tools-link{padding:.45rem .6rem}
  .tools-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  /* three buttons share the phone header, so the theme button drops its word */
  .theme-toggle{padding:.45rem .6rem}
  .theme-toggle .tt-label{display:none!important}
}

/* ---------- the converter column ---------- */
.converter{display:grid;gap:.85rem;max-width:34rem;margin:1.9rem auto 0;text-align:center;
  grid-template-columns:minmax(0,1fr)}   /* a long file name may never widen the column */
.converter > *{min-width:0}
.conv-result .results-sub{overflow-wrap:anywhere}
.converter[hidden],.dropzone[hidden]{display:none}

.dropzone{
  display:flex;flex-direction:column;align-items:center;gap:.7rem;
  padding:1.7rem 1.25rem 1.5rem;border-radius:16px;cursor:pointer;
  background:#FFFFFF;border:2px dashed rgba(91,47,214,.38);
  box-shadow:0 6px 20px rgba(26,16,53,.16);
  transition:border-color .15s ease,background .15s ease;
}
.dropzone:hover,.dropzone.is-over{border-color:#5B2FD6;border-style:solid;background:#FBF9FF}
.dropzone:focus-within{outline:3px solid #FFFFFF;outline-offset:3px}
.dz-icon{
  width:3.2rem;height:3.2rem;border-radius:50%;
  display:grid;place-items:center;color:#FFFFFF;background:var(--grad);
}
.dz-btn{
  display:inline-block;padding:.7rem 1.4rem;border-radius:10px;
  background:#EFE9FD;color:#5B2FD6;font-weight:700;font-size:1rem;
}
.dz-sub{font-size:.86rem;color:rgba(26,16,53,.62)}

.file-card{
  display:flex;align-items:center;gap:.8rem;text-align:left;
  padding:.75rem .75rem .75rem .9rem;border-radius:14px;
  background:#FFFFFF;box-shadow:0 6px 20px rgba(26,16,53,.16);
}
.file-card[hidden]{display:none}
.file-card-icon{
  flex:none;width:2.6rem;height:2.6rem;border-radius:10px;
  display:grid;place-items:center;color:#FFFFFF;background:var(--grad);
}
.file-card-text{flex:1;min-width:0;display:flex;flex-direction:column}
.file-card-text strong{color:#1A1035;font-size:.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-card-text span{color:rgba(26,16,53,.6);font-size:.85rem}
.file-card .ghost-btn{background:#EFE9FD;color:#5B2FD6;border:0;font-weight:600}

.conv-options{
  display:flex;align-items:center;justify-content:center;gap:.6rem;flex-wrap:wrap;
  color:#FFFFFF;font-weight:600;font-size:.95rem;
}
.conv-options[hidden]{display:none}
.conv-options select{
  font:inherit;font-weight:500;font-size:.95rem;color:#1A1035;
  background:#FFFFFF;border:0;border-radius:10px;padding:.6rem .8rem;
  box-shadow:0 4px 14px rgba(26,16,53,.16);
}

.converter .go-btn[disabled]{opacity:.55;cursor:not-allowed;filter:none}
.converter .badges{justify-content:center;margin-top:.15rem}
.converter .notice{text-align:left}

/* result card: the shared .results look, plus a player and two actions */
.conv-result audio{display:block;width:100%;margin-top:.9rem}
.conv-actions{display:flex;gap:.6rem;margin-top:.9rem;flex-wrap:wrap}
.conv-actions .go-btn{flex:1;text-align:center;text-decoration:none;min-width:12rem}
.hero-band .conv-actions .ghost-btn{flex:1;background:#EFE9FD;color:#5B2FD6;border:0;font-weight:600;padding:.9rem 1.1rem}

/* ---------- homepage cards ---------- */
.video-tools{border-top:1px solid var(--rule);padding:3.5rem 0;text-align:center}
.video-tools h2{font-size:clamp(1.6rem,4.5vw,2.1rem);letter-spacing:-.03em;color:var(--heading)}
.video-tools .tool-cards{margin:1.75rem auto 0;text-align:left}

@media (max-width:52rem){
  .footer-grid{grid-template-columns:1fr 1fr}
}