/* Duvetsoft site: one fixed layout for every screen.
   A single centred column with no breakpoints, so phones and desktops see the same page. */
:root{
  color-scheme:light;
  --bg:#ffffff;--surface:#fdfcff;--ink:#3b3050;--muted:#857a98;--dim:#8b7f9d;
  --line:#e6dff1;--line-strong:#d4c8e6;--focus:#6a4dc4;
  --panel:#ffffff;--hover:#f5f1fb;--shadow:rgba(40,30,60,.28);
  --accent:var(--focus);--button-bg:var(--ink);--button-ink:#ffffff;--button-hover:#4d4166;
  --font:"Segoe UI",Arial,sans-serif;--heading-weight:600;
  --column:480px;--gutter:16px;
  font-family:var(--font);color:var(--ink);background:var(--bg);font-synthesis:none;
  -webkit-text-size-adjust:100%;text-size-adjust:100%
}
/* DuvetMaster theme: the plugin's own dark studio colours, for its product page */
:root.theme-duvetmaster{
  color-scheme:dark;
  --bg:#101416;--surface:#191f22;--ink:#e8f0ee;--muted:#97aaa9;--dim:#6f8586;
  --line:#263033;--line-strong:#303b3f;--focus:#68dfc2;
  --panel:#191f22;--hover:#222b2e;--shadow:rgba(0,0,0,.5);
  --accent:#68dfc2;--button-bg:#68dfc2;--button-ink:#0c1a17;--button-hover:#7ce6cc
}

*{box-sizing:border-box}
/* Always reserve the scrollbar's space, so the centred column doesn't shift between short and long pages */
html{scrollbar-gutter:stable}
body{margin:0;background:var(--bg)}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:2px solid var(--focus);outline-offset:3px}

@font-face{font-family:"Space Grotesk";src:url("../assets/fonts/SpaceGrotesk-Medium.ttf") format("truetype");font-weight:500;font-display:swap}

/* Page: the column, with the footer pushed to the bottom of short pages */
.page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;max-width:calc(var(--column) + var(--gutter) * 2);margin:0 auto;padding:0 var(--gutter)}
main{flex:1}

/* Header */
.header{height:80px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;white-space:nowrap}
.brand img{display:block;width:40px;height:40px}
.wordmark{font-size:30px;font-weight:var(--heading-weight);letter-spacing:-.6px}

/* Menu: a hamburger in the header's top right that drops a small nav panel */
.menu{position:relative}
.menu-toggle{display:grid;place-items:center;width:44px;height:44px;margin-right:-8px;padding:0;border:0;border-radius:10px;background:none;color:var(--ink);cursor:pointer}
.menu-toggle:hover{background:var(--hover)}
.menu-bars,.menu-bars::before,.menu-bars::after{display:block;width:22px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s,background-color .2s}
.menu-bars{position:relative}
.menu-bars::before,.menu-bars::after{content:"";position:absolute;left:0}
.menu-bars::before{top:-7px}
.menu-bars::after{top:7px}
.menu.open .menu-bars{background-color:transparent}
.menu.open .menu-bars::before{transform:translateY(7px) rotate(45deg)}
.menu.open .menu-bars::after{transform:translateY(-7px) rotate(-45deg)}
.menu-panel{position:absolute;top:calc(100% + 6px);right:-8px;z-index:10;display:none;min-width:180px;padding:6px;background:var(--panel);border:1px solid var(--line-strong);border-radius:14px;box-shadow:0 12px 32px -12px var(--shadow)}
.menu.open .menu-panel{display:grid}
.menu-panel a{padding:11px 14px;border-radius:9px;font-size:15px;text-decoration:none}
.menu-panel a:hover{background:var(--hover)}
.menu-panel a[aria-current="page"]{font-weight:600;color:var(--focus)}

/* Intro: a page's opening heading and description */
.intro{padding:32px 0 40px}
.intro h1{margin:0 0 14px;font-size:34px;line-height:1.1;font-weight:var(--heading-weight);letter-spacing:-1px}
.intro p{margin:0;font-size:16px;line-height:1.7;color:var(--muted)}

/* Products: a stacked white tile per product, with type and accents in its own app's colours.
   The screenshot sits inset at the top like a window; the whole tile is the link. */
.products{display:grid;gap:16px;padding:8px 0 40px}
.product{--tile-shot-line:var(--line);--tile-ink:var(--ink);--tile-muted:var(--muted);--tile-accent:var(--focus);
  display:block;padding:10px;background:#fff;border:1px solid var(--line-strong);border-radius:18px;color:var(--tile-ink);text-decoration:none;transition:transform .2s,box-shadow .2s}
.product:hover{transform:translateY(-2px);box-shadow:0 10px 28px -14px rgba(40,30,60,.35)}
.product-shot{display:block;width:100%;height:auto;border:1px solid var(--tile-shot-line);border-radius:10px}
.product-info{padding:16px 10px 8px}
.product-name{display:flex;align-items:center;gap:10px;margin:0 0 8px;height:26px}
.product-desc{margin:0;font-size:14px;line-height:1.65;color:var(--tile-muted)}
.product-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:12px;font-weight:600;color:var(--tile-accent)}
.product-meta svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;transition:transform .2s}
.product:hover .product-meta svg{transform:translateX(2px)}

.vocalpeach{--tile-shot-line:#eed9ce;--tile-ink:#4a3a35;--tile-muted:#7d6a63;--tile-accent:#b85f3c}
.vocalpeach .product-name img{display:block;height:24px;width:auto}
.tag{font-size:12px;font-weight:500;color:#a08279;align-self:flex-start}

.duvetmaster{--tile-shot-line:#303b3f;--tile-ink:#101416;--tile-muted:#5b6b6c;--tile-accent:#1c8a70}
.duvetmaster .product-name{font-family:"Space Grotesk","Segoe UI",Arial,sans-serif;font-size:24px;font-weight:500;letter-spacing:-.8px}

/* Product page: back link, screenshot, name and description, then the purchase card.
   Colours come from the tokens, so a product page takes its product's theme. */
.back{display:inline-flex;align-items:center;gap:6px;margin:4px 0 16px;font-size:13px;font-weight:600;color:var(--muted);text-decoration:none}
.back:hover{color:var(--ink)}
.back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.detail-shot{display:block;width:100%;height:auto;border:1px solid var(--line-strong);border-radius:14px}
.detail-kicker{margin:22px 0 6px;font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--accent)}
.detail-name{margin:0 0 12px;font-family:"Space Grotesk","Segoe UI",Arial,sans-serif;font-size:36px;line-height:1.05;font-weight:500;letter-spacing:-1.2px;color:var(--ink)}
.detail-lede{margin:0;font-size:16px;line-height:1.7;color:var(--muted)}

.buy{margin-top:28px;padding:18px;background:var(--surface);border:1px solid var(--line-strong);border-radius:18px}
.buy-price{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.buy-amount{font-family:"Space Grotesk","Segoe UI",Arial,sans-serif;font-size:38px;line-height:1;font-weight:500;letter-spacing:-1.2px;color:var(--ink)}
.buy-note{font-size:12px;line-height:1.5;color:var(--muted)}
.buy-button{display:flex;align-items:center;justify-content:center;min-height:52px;padding:0 20px;border-radius:12px;background:var(--button-bg);color:var(--button-ink);font:500 16px/1 "Space Grotesk","Segoe UI",Arial,sans-serif;text-decoration:none;transition:background-color .2s}
.buy-button:hover{background:var(--button-hover)}
.buy-meta{margin:12px 0 0;font-size:12px;line-height:1.6;text-align:center;color:var(--dim)}

.license{margin:28px 2px 40px;font-size:12px;line-height:1.6;color:var(--dim)}
.license a{color:var(--muted)}

/* Footer */
.footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;padding:14px 2px;border-top:1px solid var(--line);color:var(--dim);font-size:12px}
.footer p{margin:0}

@media(prefers-reduced-motion:reduce){*{transition:none!important}}
