/* WithyWork products site layer (2026-10 restructure).  Loads after styles.css.
   Display face Inter Tight, body Inter.  Light and dark.  Breakpoints 640 / 1024 / 1280.
   One accent per product, used only in its icon. */
:root { --f-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --dark: 1; } }
:root[data-theme="dark"], :root:not([data-theme="light"]):has(body) { }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg:#141518; --surface:#1D1F23; --surface-2:#24272C; --ink:#ECEDEF; --ink-muted:#A3A9B2; --border:#30333A; --c-cream:#1D1F23; --c-cream-edge:#30333A; }
}
:root[data-theme="dark"] { color-scheme: dark; --bg:#141518; --surface:#1D1F23; --surface-2:#24272C; --ink:#ECEDEF; --ink-muted:#A3A9B2; --border:#30333A; --c-cream:#1D1F23; --c-cream-edge:#30333A; }
body { background: var(--bg); color: var(--ink); }
a { color: var(--ink); }
.wrap { max-width: 1200px; padding-left: 20px; padding-right: 20px; margin: 0 auto; }
.narrow { max-width: 760px; }
h1, h2, h3, .wordmark { font-family: var(--f-display); }

/* header */
.ww-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.ww-header .header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin: 0; }
.ww-logo { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: .95rem; }
.ww-nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.ww-nav > a, .mega > summary { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 2px; cursor: pointer; }
.ww-nav > a:hover, .mega > summary:hover { color: var(--ink-muted); }
.mega { position: relative; }
.mega > summary { list-style: none; }
.mega > summary::-webkit-details-marker { display: none; }
.mega-panel { position: absolute; left: 50%; transform: translateX(-50%); top: calc(100% + 10px); width: min(680px, 94vw); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.18); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.mega-col ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mega-h { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 6px 8px; font-weight: 700; }
.mega-col a { display: flex; gap: 12px; align-items: flex-start; padding: 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mega-col a:hover, .mega-col a:focus-visible { background: var(--surface-2); }
.mega-col strong { display: block; font-family: var(--f-display); font-size: .98rem; }
.mega-col small { display: block; color: var(--ink-muted); font-size: .84rem; line-height: 1.35; }
.mega-all { grid-column: 1 / -1; border-top: 1px solid var(--border); padding: 12px 8px 2px; font-weight: 600; text-decoration: none; color: var(--ink); }
.nav-cta { background: var(--ink); color: var(--bg) !important; border-radius: 999px; padding: 9px 16px !important; font-size: .9rem !important; }
.nav-cta:hover { opacity: .88; }
.theme-toggle { background: none; border: 1px solid var(--border); color: var(--ink); border-radius: 999px; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; }

/* product icons: the only place a product's accent appears */
.pi { display: inline-grid; place-items: center; flex: none; border-radius: 22%; background: var(--pi, #333); color: #fff; font-family: var(--f-display); font-weight: 800; letter-spacing: -.03em; object-fit: cover; }
.pi-sm { width: 36px; height: 36px; font-size: .8rem; }
.pi-md { width: 48px; height: 48px; font-size: 1rem; }
.pi-lg { width: 64px; height: 64px; font-size: 1.3rem; margin-bottom: 12px; }
.pi-xl { width: 96px; height: 96px; font-size: 2rem; margin-bottom: 16px; }
:root[data-theme="dark"] .pi[style*="#2B2D31"] { box-shadow: inset 0 0 0 1px #44474e; }

/* hero, grid, rows */
.ww-hero { padding: clamp(48px, 9vw, 112px) 0 clamp(32px, 6vw, 72px); }
.ww-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; max-width: 16ch; }
.lede { font-size: 1.2rem; color: var(--ink-muted); max-width: 58ch; }
.eyebrow { color: var(--ink-muted); }
.eyebrow a { color: inherit; }
.pgrid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pcard { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.pcard-link { text-decoration: none; color: var(--ink); }
.pcard h3 { margin: 0 0 6px; }
.pcard p { color: var(--ink-muted); margin: 0 0 6px; }
.pcard .plat { font-size: .85rem; font-weight: 600; }
.pcard-cta { margin-top: auto; padding-top: 12px; min-height: 53px; display: flex; align-items: center; }
.store-soon { display: inline-block; border: 1px dashed var(--border); border-radius: 10px; padding: 8px 14px; color: var(--ink-muted); font-weight: 600; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.feat-row.alt { background: var(--surface-2); }
.shot { max-width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shot-shadow); }
.shot-ph { aspect-ratio: 16 / 10; border: 2px dashed var(--border); border-radius: 16px; display: grid; place-content: center; text-align: center; color: var(--ink-muted); background: var(--surface); }
.shot-ph span { font-weight: 700; } .shot-ph small { display: block; }
.about-strip { border-top: 1px solid var(--border); }
.plans { display: grid; grid-template-columns: 1fr; gap: 18px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; }
.plan-premium { border-color: var(--ink); }
.faq-q { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-q summary { font-weight: 700; cursor: pointer; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 10px 18px; text-decoration: none; display: inline-block; }
.signup { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.signup label { font-weight: 700; display: block; margin-bottom: 8px; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type=email] { flex: 1 1 220px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--ink); font: inherit; }
.hp { position: absolute; left: -9999px; }
.ww-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.footer-grid nav a { display: block; color: var(--ink-muted); text-decoration: none; padding: 3px 0; }
.foot-h { font-weight: 700; margin-bottom: 6px; }

@media (max-width: 639px) {
  .mega-panel { position: fixed; left: 10px; right: 10px; transform: none; width: auto; top: 64px; grid-template-columns: 1fr; max-height: 80vh; overflow: auto; }
  .nav-cta { display: none; }
}
@media (min-width: 640px) { .pgrid, .plans { grid-template-columns: 1fr 1fr; } .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(3, 1fr); } .split { grid-template-columns: 1fr 1fr; } .feat-row.alt .split-text { order: 2; } }
@media (min-width: 1280px) { .pgrid { grid-template-columns: repeat(4, 1fr); } .wrap { max-width: 1240px; } }

/* Accent stays in icons: buttons and links use ink. */
.btn-primary, .btn.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-muted); color: var(--bg); }
.text-link, .text-link:hover { color: var(--ink); }
.store-soon { background: transparent; }

/* Three products; That Sounds Hot card under the grid and in the menu */
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
.mega-panel { width: min(420px, 94vw); grid-template-columns: 1fr; }
.tsh-card { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; }
.tsh-card:hover { background: var(--surface-2); }
.tsh-card strong { display: block; font-family: var(--f-display); }
.tsh-card small { display: block; color: var(--ink-muted); font-size: .88rem; line-height: 1.4; }
.tsh-arrow { margin-left: auto; font-size: 1.2rem; }
.tsh-card-menu { margin-top: 4px; padding: 10px; background: var(--surface-2); }
.tsh-card-menu .pi { width: 36px; height: 36px; font-size: .7rem; }

/* QFloat icon: inverted variant in dark mode (follows system and the manual toggle) */
.qf-ic-lt { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .qf-ic-dk { display: none !important; } :root:not([data-theme="light"]) .qf-ic-lt { display: inline-grid !important; } }
:root[data-theme="dark"] .qf-ic-dk { display: none !important; }
:root[data-theme="dark"] .qf-ic-lt { display: inline-grid !important; }
