@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Palette taken from the plugin itself, so the screenshots sit in the page */
:root {
  --graphite: #141416;
  --panel: #1b1b1f;
  --raised: #232329;
  --rule: #34343c;
  --text: #e7e7ea;
  --muted: #a3a3ac;
  --amber: #f5a524;
  --amber-light: #ffcf73;
  --marker: #6aa8ff;
  --wave: #55555e;
  --wide: 125%;
  --page: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { background: var(--graphite); color: var(--text); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; font-size: 17px; line-height: 1.55; font-stretch: 100%; font-feature-settings: "kern"; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(231, 231, 234, 0.4); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--graphite); }

/* language switching: the hidden language never renders */
html[data-lang="en"] [lang="it"], html[data-lang="it"] [lang="en"] { display: none !important; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(20, 20, 22, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-stretch: var(--wide); font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--text); }
.top .spacer { flex: 1; }
.langs { display: flex; gap: 2px; background: var(--panel); border: 1px solid var(--rule); border-radius: 8px; padding: 2px; }
.langs button { font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: transparent; border: 0; border-radius: 6px; padding: 4px 9px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--raised); color: var(--text); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 16px; line-height: 1; padding: 14px 20px; border-radius: 8px; border: 1px solid var(--rule); background: var(--raised); color: var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #2c2c33; }
.btn.primary { background: var(--amber); border-color: var(--amber); color: #1a1405; }
.btn.primary:hover { background: var(--amber-light); }
.btn.small { font-size: 14px; padding: 9px 14px; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }
.btn .price { font-variant-numeric: tabular-nums; font-weight: 500; opacity: 0.85; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 0; }
.hero h1 { font-stretch: var(--wide); font-weight: 760; font-size: clamp(38px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; max-width: 15ch; text-wrap: balance; }
.hero .lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; margin: 26px 0 0; }
.hero .lead strong { color: var(--text); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.cta-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* ---------- viewer + waveform scrubber ---------- */
.viewer { margin-top: clamp(40px, 6vw, 64px); background: #000; border: 1px solid var(--rule); border-bottom: 0; border-radius: 12px 12px 0 0; overflow: hidden; position: relative; aspect-ratio: 16 / 9; }
.viewer video { width: 100%; height: 100%; object-fit: cover; }
.bigplay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.28); border: 0; cursor: pointer; color: var(--text); }
.bigplay span { display: inline-flex; align-items: center; gap: 12px; background: var(--amber); color: #1a1405; font-weight: 700; font-size: 18px; padding: 16px 24px 16px 20px; border-radius: 999px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); }
.bigplay:hover span { background: var(--amber-light); }
.bigplay[hidden] { display: none; }

.transport { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--rule); border-radius: 0 0 12px 12px; padding: 10px 14px; }
.tbtn { width: 36px; height: 36px; display: grid; place-items: center; background: var(--raised); border: 1px solid var(--rule); border-radius: 7px; color: var(--text); cursor: pointer; padding: 0; }
.tbtn:hover { background: #2c2c33; }
.tbtn svg { width: 16px; height: 16px; }
.tc { font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 500; color: var(--amber-light); min-width: 11ch; letter-spacing: 0.02em; }
.scrub { position: relative; height: 64px; cursor: pointer; touch-action: none; }
.scrub canvas { width: 100%; height: 100%; }
.markers { position: absolute; inset: 0 0 auto 0; height: 0; }
.mk { position: absolute; top: -2px; transform: translateX(-50%); width: 18px; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.mk::before { content: ""; position: absolute; left: 50%; top: 3px; width: 9px; height: 11px; transform: translateX(-50%); background: var(--marker); clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%); }
.mk .tip { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: var(--raised); border: 1px solid var(--rule); color: var(--text); font-size: 12px; font-weight: 500; padding: 3px 7px; border-radius: 5px; white-space: nowrap; pointer-events: none; opacity: 0; }
.mk:hover .tip, .mk:focus-visible .tip { opacity: 1; }
.chapter { font-size: 13px; color: var(--muted); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 18ch; }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.block { padding: clamp(72px, 10vw, 128px) 0 0; }
h2 { font-stretch: var(--wide); font-weight: 740; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -0.03em; margin: 0; max-width: 20ch; }
.intro { color: var(--muted); max-width: 62ch; margin: 18px 0 0; }
h3 { font-stretch: 112%; font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

/* feature tabs, styled like the plugin's own tab bar */
.ftabs { display: inline-flex; flex-wrap: wrap; gap: 2px; margin-top: 36px; background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; padding: 3px; }
.ftabs button { font: inherit; font-size: 15px; font-weight: 550; color: var(--muted); background: transparent; border: 0; border-radius: 7px; padding: 9px 16px; cursor: pointer; }
.ftabs button:hover { color: var(--text); }
.ftabs button[aria-selected="true"] { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--rule); }
.fpanel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 28px; align-items: start; }
.fpanel[hidden] { display: none; }
.fpanel figure { margin: 0; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: var(--panel); }
.fpanel figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.fpanel p { color: var(--muted); margin: 14px 0 0; }
.fpanel ul { margin: 20px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.fpanel li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--rule); position: relative; font-size: 16px; }
.fpanel li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.undo-note { margin: 28px 0 0; font-size: 15px; color: var(--muted); max-width: 70ch; }

/* free vs pro */
.compare { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-stretch: var(--wide); font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--text); padding-top: 0; }
.compare thead th.pro { color: var(--amber); }
.compare tbody th { font-weight: 500; width: 40%; }
.compare td { color: var(--muted); width: 30%; }
.compare td.yes { color: var(--text); }
.compare td.no { color: #6c6c75; }
.compare tr.price td, .compare tr.price th { font-weight: 650; color: var(--text); border-bottom: 0; padding-top: 18px; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; }

/* price */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 36px; align-items: start; }
.offer { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; padding: clamp(24px, 3vw, 36px); }
.offer .name { font-weight: 600; font-size: 17px; margin: 0; }
.offer .amount { font-stretch: var(--wide); font-weight: 760; font-size: clamp(56px, 7vw, 84px); line-height: 1; letter-spacing: -0.04em; margin: 14px 0 6px; font-variant-numeric: tabular-nums; }
.offer .once { color: var(--muted); margin: 0; }
.offer ul { margin: 24px 0 28px; padding: 0; list-style: none; }
.offer li { padding: 7px 0 7px 26px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.offer .btn { width: 100%; }
.fine { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.reqs h3 { font-size: 20px; }
.reqs dl { margin: 16px 0 0; }
.reqs dt { font-weight: 600; margin-top: 16px; }
.reqs dd { margin: 4px 0 0; color: var(--muted); }
.reqs .btn { margin-top: 24px; }

/* faq */
.faq { margin-top: 28px; border-top: 1px solid var(--rule); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq .a { padding: 0 0 20px; color: var(--muted); max-width: 66ch; }
.faq .a p { margin: 0 0 10px; }

/* footer */
.foot { margin-top: clamp(80px, 10vw, 128px); border-top: 1px solid var(--rule); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
.foot p { margin: 0 0 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; align-content: start; }
.foot .tm { grid-column: 1 / -1; font-size: 13px; color: #7d7d86; }

/* legal pages */
.legal { padding: clamp(48px, 7vw, 88px) 0 0; }
.legal article { max-width: 72ch; }
.legal h1 { font-stretch: var(--wide); font-weight: 760; font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.legal .updated { color: var(--muted); margin: 12px 0 36px; font-size: 15px; }
.legal h2 { font-size: 22px; font-stretch: 112%; max-width: none; margin: 40px 0 10px; letter-spacing: -0.015em; }
.legal p, .legal li { color: #c9c9cf; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.back { display: inline-block; margin-top: 28px; font-size: 15px; color: var(--muted); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .fpanel, .price-grid, .foot .wrap { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .top .wrap { gap: 12px; }
  .top .btn.small { display: none; }
  .transport { grid-template-columns: auto 1fr auto; gap: 10px; padding: 10px; }
  .transport .tc { grid-column: 2; grid-row: 1; }
  .transport .scrub { grid-column: 1 / -1; grid-row: 2; }
  .transport .chapter { display: none; }
  .transport #fsBtn { grid-column: 3; grid-row: 1; }
  .transport #muteBtn { display: none; }
  .compare th, .compare td { padding: 11px 10px; font-size: 15px; }
  .ftabs { display: flex; }
  .ftabs button { flex: 1 1 auto; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq summary::after { transition: none; }
}
