/*
 * Goose Audio store: shared styles ("Sticker Poster" look).
 * Only the brand-kit colours: Pink #FF4FA3, Lime #D4F53C, Orange #FF5A1F, Blue #3346FF, Ink #141414, Paper #F6F2E8, White.
 * Rules: 4px ink borders and hard shadows. No gradients (the checkerboard is an SVG pattern).
 * Never ink text on pink, white text only on blue, lime text only on ink.
 * The buy button is the lime keycap (.keycap). Page-only styles live in their own file (home.css, product.css ...). Fonts: fonts.css.
 */
:root {
  --pink: #FF4FA3; --lime: #D4F53C; --orange: #FF5A1F; --blue: #3346FF;
  --ink: #141414; --paper: #F6F2E8; --white: #FFFFFF;
  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, monospace;
  --line: 4px solid var(--ink);
  --r-sm: 14px; --r-md: 22px; --r-lg: 32px;
  /* type scale (8 steps) */
  --t-poster: clamp(56px, 10.5vw, 152px);
  --t-h1: clamp(52px, 8vw, 112px);
  --t-h2: clamp(40px, 5.6vw, 76px);
  --t-h3: clamp(34px, 3.6vw, 52px);
  --t-sub: clamp(22px, 2vw, 28px);
  --t-lead: clamp(19px, 1.6vw, 22px);
  --t-body: 18px;
  --t-label: 12px;
  --gutter: 32px;
  --maxw: 1296px;
  --ring: var(--ink);
  --c: var(--lime); /* current product colour; product pages override it */
}
@media (max-width: 700px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.5 var(--f-body); overflow-x: clip; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, a, input, summary { touch-action: manipulation; }
goose-header, goose-footer, goose-banner, goose-signup { display: block; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; line-height: .95; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-h1); letter-spacing: -.045em; line-height: .9; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-sub); line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 .8em; text-wrap: pretty; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; background: var(--white); border: 2px solid var(--ink); padding: 0 5px; border-radius: 6px; overflow-wrap: anywhere; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: var(--t-lead); line-height: 1.5; max-width: 36em; font-weight: 500; }

/* Focus: thick ink ring, lime on dark surfaces */
:focus-visible { outline: 4px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.on-ink { --ring: var(--lime); }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--ink); color: var(--lime); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; --ring: var(--lime); }
.skip:focus { top: 12px; }

/* ---------- small parts ---------- */
.label { font: 700 var(--t-label)/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; }
.eyebrow { font: 700 var(--t-label)/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 700 var(--t-label)/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; padding: 7px 12px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); white-space: nowrap; }
.chip--ink { background: var(--ink); color: var(--white); }
.chip--ink-lime { background: var(--ink); color: var(--lime); }
.chip--lime { background: var(--lime); }
.chip--paper { background: var(--paper); }
.link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.link:hover { text-decoration-thickness: 4px; }
.link--arrow::after { content: " \2192"; white-space: pre; }
.on-ink .link, .site-foot a { color: var(--white); }

.checker { height: 24px; border-block: var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='24' height='24' fill='%23F6F2E8'/%3E%3Cpath d='M0 0h12v12H0zM12 12h12v12H12z' fill='%23141414'/%3E%3C/svg%3E") 0 0/24px 24px; }
.checker--lime { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='24' height='24' fill='%23D4F53C'/%3E%3Cpath d='M0 0h12v12H0zM12 12h12v12H12z' fill='%23141414'/%3E%3C/svg%3E"); }
.checker--orange { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='24' height='24' fill='%23FF5A1F'/%3E%3Cpath d='M0 0h12v12H0zM12 12h12v12H12z' fill='%23141414'/%3E%3C/svg%3E"); }
.checker--pink { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='24' height='24' fill='%23FF4FA3'/%3E%3Cpath d='M0 0h12v12H0zM12 12h12v12H12z' fill='%23141414'/%3E%3C/svg%3E"); }
.checker--blue { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Crect width='24' height='24' fill='%233346FF'/%3E%3Cpath d='M0 0h12v12H0zM12 12h12v12H12z' fill='%23141414'/%3E%3C/svg%3E"); }

/* Scalloped sticker: a real fact, max 6deg tilt, never on top of plugin UI text */
.sticker { position: absolute; z-index: 3; width: 118px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; padding: 18px;
  background: url("assets/poster/sticker-lime.svg") center/contain no-repeat; transform: rotate(-6deg);
  font: 700 13px/1.15 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.sticker--long { padding: 12px; font-size: 10px; letter-spacing: .02em; overflow-wrap: normal; hyphens: none; }
.sticker--white { background-image: url("assets/poster/sticker-white.svg"); }
.sticker--orange { background-image: url("assets/poster/sticker-orange.svg"); }
.sticker b { display: block; font: 800 26px/.95 var(--f-display); letter-spacing: -.02em; text-transform: none; }
@media (max-width: 700px) { .sticker { width: 92px; padding: 14px; font-size: 11px; } .sticker b { font-size: 21px; } .sticker--long { padding: 10px; font-size: 9px; } }
.spark { position: absolute; width: 36px; height: 36px; pointer-events: none; }

/* ---------- Buttons: the keycap is THE button (lime, hard shadow, presses in) ---------- */
.keycap { --cap: var(--lime); --cap-shadow: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 14px 28px;
  background: var(--cap); color: var(--ink); border: var(--line); border-radius: var(--r-md);
  font: 800 clamp(20px, 1.7vw, 24px)/1 var(--f-display); letter-spacing: -.02em; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 0 var(--cap-shadow); transform: translateY(0); transition: transform .12s ease, box-shadow .12s ease; }
.keycap:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--cap-shadow); }
.keycap:active { transform: translateY(5px); box-shadow: 0 3px 0 var(--cap-shadow); }
.keycap:focus-visible { outline: 4px solid var(--ring); outline-offset: 5px; }
.keycap[disabled] { cursor: not-allowed; opacity: .55; box-shadow: 0 3px 0 var(--cap-shadow); transform: translateY(5px); }
.keycap--orange { --cap: var(--orange); }
.keycap--pink-shadow { --cap-shadow: var(--pink); }
.keycap--sm { min-height: 48px; padding: 10px 18px; font-size: 18px; border-radius: var(--r-sm); box-shadow: 0 5px 0 var(--cap-shadow); }
.keycap--sm:hover { box-shadow: 0 7px 0 var(--cap-shadow); }
.keycap--sm:active { box-shadow: 0 2px 0 var(--cap-shadow); transform: translateY(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.fine { font-size: 15px; line-height: 1.45; max-width: 46ch; }

/* Secondary key, used where a page needs a quieter button next to a keycap */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border: 3px solid var(--ink); border-radius: var(--r-sm); padding: 10px 20px; font: 700 17px/1.2 var(--f-body);
  text-decoration: none; color: var(--ink); background: var(--white); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { background: var(--lime); transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn[disabled] { cursor: not-allowed; opacity: .55; box-shadow: none; transform: none; }
.btn[disabled]:hover { background: var(--white); }
.btn-ink { background: var(--lime); }
.btn-ink:hover { background: var(--white); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }

/* ---------- Launch bar (thin, scrolls away) and header ---------- */
.launch { background: var(--ink); color: var(--white); text-align: center; font-weight: 500; font-size: 14px; line-height: 1.3; }
.launch .wrap { padding-block: 5px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; }
.launch a { color: var(--lime); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.site-head { background: var(--paper); position: relative; z-index: 20; }
.site-head .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 20px 18px; }
.logo { display: block; }
.logo img { height: 64px; width: auto; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 3px solid var(--ink); border-radius: 999px; background: var(--white);
  font: 700 16px/1 var(--f-body); color: var(--ink); text-decoration: none; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.pill:hover { transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--ink); background: var(--lime); }
.pill:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.pill[aria-current] { background: var(--lime); }
.pill[aria-expanded="true"] { background: var(--ink); color: var(--lime); --ring: var(--ink); }
.pill__caret { display: inline-block; transition: transform .15s; }
.pill[aria-expanded="true"] .pill__caret { transform: rotate(180deg); }
.nav__cta { margin-left: 8px; }
@media (max-width: 700px) { .logo img { height: 46px; } .site-head .wrap { padding-block: 14px; gap: 12px; } .pill { padding: 8px 14px; font-size: 15px; } .nav__cta { display: none; } .launch { font-size: 13px; } }

/* Plugins menu with pictures */
.menu { position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--gutter); }
.menu__panel { max-width: 1080px; margin: 0 auto; background: var(--white); border: var(--line); border-radius: var(--r-lg); box-shadow: 12px 12px 0 var(--ink); padding: 20px; }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.menu__item a { display: block; text-decoration: none; border: 3px solid var(--ink); border-radius: var(--r-md); overflow: hidden; background: var(--white); height: 100%; transition: transform .12s, box-shadow .12s; }
.menu__item a:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.menu__img { display: block; aspect-ratio: 4/3; padding: 10px; border-bottom: 3px solid var(--ink); }
.menu__img img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--ink); border-radius: 8px; }
.menu__text { display: block; padding: 12px 14px 14px; }
.menu__name { font: 800 22px/1 var(--f-display); letter-spacing: -.02em; display: block; margin-bottom: 8px; }
.menu__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media (max-width: 600px) { .menu__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .menu__panel { padding: 12px; box-shadow: 6px 6px 0 var(--ink); } .menu__grid { gap: 10px; } .menu__name { font-size: 18px; } .menu__chip, .menu__text .chip { font-size: 10px; padding: 5px 8px; } .menu__text { padding: 8px 10px 10px; } }

.bg-lime { background: var(--lime); } .bg-pink { background: var(--pink); } .bg-orange { background: var(--orange); } .bg-blue { background: var(--blue); } .bg-ink { background: var(--ink); } .bg-white { background: var(--white); } .bg-paper { background: var(--paper); }

/* ---------- Shared sections ---------- */
.section { padding-block: 0 96px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 40px; }
.section-head h2 { max-width: 14ch; }
.section-head p { max-width: 40ch; margin: 0; font-size: var(--t-lead); }
.ticket { background: var(--white); border: var(--line); border-radius: var(--r-md); box-shadow: 6px 6px 0 var(--ink); padding: 26px 24px; }
.ticket h3 { margin: 12px 0 12px; }
.ticket p { margin: 0; }
@media (max-width: 900px) { .section { padding-block: 0 72px; } }

/* Flat info panels and screenshots (used by pages that are not poster-layout) */
.panel { border: var(--line); border-radius: var(--r-md); background: var(--white); padding: 20px 22px; }
.screen { display: block; border: var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--ink); line-height: 0; }
.screen img { display: block; width: 100%; height: auto; }
details.faq { border: var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: 6px 6px 0 var(--ink); margin-bottom: 20px; }
details.faq summary { list-style: none; cursor: pointer; padding: 16px 22px; min-height: 56px; font: 800 clamp(19px, 1.8vw, 24px)/1.2 var(--f-display); letter-spacing: -.01em; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: var(--r-md); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font: 800 30px/1 var(--f-display); flex: none; }
details.faq[open] summary::after { content: '\2212'; }
details.faq p { padding: 0 22px 20px; max-width: 40em; margin: 0; }
details.faq p + p { margin-top: -8px; }

/* Offer countdown (only shows when site-config.js has a real end date) */
.countdown { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; background: var(--ink); color: var(--white); border-radius: var(--r-sm); }
.countdown__label { font: 700 15px var(--f-body); color: var(--lime); }
.countdown__cells { display: flex; gap: 6px; }
.countdown__cell { display: grid; justify-items: center; min-width: 46px; background: var(--paper); color: var(--ink); border-radius: 8px; padding: 5px 6px; }
.countdown__cell b { font: 800 22px/1 var(--f-display); font-variant-numeric: tabular-nums; } .countdown__cell i { font: 700 12px/1.3 var(--f-body); font-style: normal; }
.countdown__after { font-weight: 700; }
.countdown--ended { background: var(--white); color: var(--ink); border: var(--line); }
.countdown--ended .countdown__label { color: var(--ink); }
.price { font-weight: 700; }

/* Maker block */
.maker { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.maker__photo { width: 168px; height: 168px; object-fit: cover; border: var(--line); border-radius: 50%; }
.maker:not(:has(.maker__photo)) { grid-template-columns: 1fr; }
@media (max-width: 760px) { .maker { grid-template-columns: 1fr; } .maker__photo { width: 120px; height: 120px; } }

/* ---------- "Tell me when it's out" signup (MailerLite form markup inside) ---------- */
.signup { background: var(--white); border: var(--line); border-radius: var(--r-lg); box-shadow: 12px 12px 0 var(--ink); padding: 40px 44px 36px; max-width: 760px; margin-inline: auto; scroll-margin-top: 24px; }
.signup h2 { font-size: var(--t-h3); margin: 14px 0 14px; }
.signup .lead { margin-bottom: 22px; }
.signup .ml-form-formContent { margin-bottom: 18px; }
.signup label { display: block; font: 700 var(--t-label)/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.signup input[type=email] { width: 100%; min-height: 56px; padding: 12px 16px; border: var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font: 500 18px var(--f-body); }
.signup input[type=email]::placeholder { color: #5b5b5b; }
.signup .ml-form-embedSubmit { display: flex; }
.signup .ml-form-embedSubmit button.primary { width: auto; }
.signup .ml-form-successContent h3 { font-size: var(--t-h3); margin-bottom: 12px; }
.signup .fine { margin: 18px 0 0; }
@media (max-width: 700px) { .signup { padding: 26px 20px 24px; box-shadow: 6px 6px 0 var(--ink); } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--white); padding-block: 56px 40px; }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.site-foot img { height: 56px; width: auto; }
.site-foot p { color: var(--white); max-width: 44ch; margin-top: 16px; }
.site-foot__mail { margin-top: 8px !important; }
.foot-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 36px; list-style: none; margin: 0; padding: 0; }
.foot-nav a, .site-foot__mail a, .site-foot__biz a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; min-height: 44px; }
.foot-nav a:hover, .site-foot__mail a:hover { color: var(--lime); }
.site-foot .label { color: var(--lime); margin-top: 36px; }
.site-foot__tm { font-size: 14px; opacity: .9; margin-top: 10px !important; max-width: 80ch !important; }
.site-foot__biz { font-size: 14px; opacity: .9; margin-top: 10px !important; max-width: 80ch !important; }
@media (max-width: 700px) { .site-foot__grid { grid-template-columns: 1fr; } .foot-nav { grid-template-columns: repeat(2, auto); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .keycap:hover, .keycap:active, .pill:hover, .pill:active, .menu__item a:hover, .btn:hover, .btn:active { transform: none; }
}

/* ---------- "Play it in your browser": picture cards (home + Plugins, built by GooseSite.playCards) ---------- */
.play__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.play__card { display: flex; flex-direction: column; background: var(--white); border: var(--line); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.play__shot { padding: 14px; border-bottom: var(--line); }
.play__shot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; border: 3px solid var(--ink); border-radius: var(--r-sm); background: var(--ink); }
.play__body { flex: 1; display: grid; grid-template-rows: auto 1fr auto; justify-items: start; gap: 8px; padding: 18px 20px 24px; }
.play__body h3 { margin: 0; }
.play__body p { margin: 0 0 12px; }
.play__body .keycap { margin-top: auto; }
.play__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 48px; text-align: center; }
.play__cta .keycap { min-height: 72px; padding-inline: clamp(28px, 6vw, 56px); font-size: clamp(22px, 2.4vw, 30px); }
@media (max-width: 900px) { .play__grid { grid-template-columns: 1fr; gap: 24px; max-width: 520px; margin-inline: auto; } }
@media (max-width: 520px) { .play__card { box-shadow: 5px 5px 0 var(--ink); } .play__cta { margin-top: 36px; } .play__cta .keycap { width: 100%; } }
