:root {
  color-scheme: light dark;
  --bg: #faf9f8;
  --bg-deep: #f0eeeb;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --accent: #c55736;
  --accent-dark: #9d3f24;
  --accent-soft: #f6e7e1;
  --line: rgba(0, 0, 0, .09);
  --card: rgba(255, 255, 255, .84);
  --card-solid: #fff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 14px 38px rgba(64, 46, 38, .08);
  --shadow-lift: 0 2px 5px rgba(0, 0, 0, .06), 0 24px 54px rgba(64, 46, 38, .13);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151313;
    --bg-deep: #0c0a0a;
    --ink: #f4f2f1;
    --muted: #9e9895;
    --accent: #e17552;
    --accent-dark: #ef8a69;
    --accent-soft: #36221c;
    --line: rgba(255, 255, 255, .1);
    --card: rgba(31, 28, 27, .84);
    --card-solid: #211e1d;
    --shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 14px 38px rgba(0, 0, 0, .34);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, .6), 0 24px 54px rgba(0, 0, 0, .48);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -12rem, color-mix(in srgb, var(--accent) 12%, transparent), transparent 35rem),
    linear-gradient(180deg, var(--bg), var(--bg-deep)) fixed;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 48px, 980px); margin-inline: auto; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.mono, kbd { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .82em; }
kbd { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--card-solid); }
.eyebrow, .kicker { margin: 0 0 20px; color: var(--muted); font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }

/* Homepage: the same quiet shell used by PX7 Image and PX7 Audio. */
.site-header { padding: 98px 0 18px; text-align: center; }
.site-header h1 { max-width: 980px; margin: 0 auto 20px; font-size: clamp(42px, 7vw, 68px); font-weight: 650; }
.lede { max-width: 37rem; margin: 0 auto; color: var(--muted); font-size: clamp(18px, 2.25vw, 22px); text-wrap: pretty; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 58px 0 26px; padding: 0; list-style: none; }
.product-grid > li { display: flex; }
.product {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 294px;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  padding: 27px 20px 22px;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 22px;
  background: #fdfdfe;
  box-shadow: var(--shadow);
  color: #1d1d1f;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product::before { position: absolute; inset: 0; background: radial-gradient(circle at 50% 8%, rgba(197, 87, 54, .08), transparent 46%); content: ""; pointer-events: none; }
a.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); text-decoration: none; }
.product img { z-index: 1; width: 112px; height: 112px; object-fit: contain; }
.product .verb { z-index: 1; color: #b1492a; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.product .name { z-index: 1; margin-top: 12px; font-size: 20px; font-weight: 620; }
.product .what { z-index: 1; max-width: 22rem; color: #6e6e73; font-size: 14px; line-height: 1.45; text-wrap: pretty; }
.product .tag { z-index: 1; margin-top: auto; padding: 3px 10px; border: 1px solid transparent; border-radius: 100px; background: #c55736; color: #fff; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.note { max-width: 38rem; margin: 0 auto 78px; color: var(--muted); font-size: 14px; text-align: center; }
.site-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 48px 0 92px; border-top: 1px solid var(--line); }
.site-promise h3 { margin-bottom: 7px; font-size: 16px; font-weight: 620; }
.site-promise p { margin: 0; color: var(--muted); font-size: 14.5px; text-wrap: pretty; }

/* Product pages */
.topnav, body > .wrap > nav { min-height: 72px; display: flex; align-items: center; }
.topnav a, body > .wrap > nav a { color: var(--muted); font-size: 14px; }
.topnav a:hover, body > .wrap > nav a:hover { color: var(--accent); }
body > .wrap > header:not(.site-header) { padding: 42px 0 54px; text-align: center; }
.icon { width: 142px; height: 142px; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 15px 30px rgba(0, 0, 0, .2)); }
body > .wrap > header:not(.site-header) h1 { margin: 22px 0 12px; font-size: clamp(42px, 7vw, 58px); font-weight: 650; }
.tagline { margin: 0 0 17px; color: var(--muted); font-size: clamp(19px, 2.4vw, 23px); font-weight: 560; }
body > .wrap > header:not(.site-header) .lede, .trust { max-width: 38rem; margin: 0 auto 22px; color: var(--muted); font-size: 17px; text-wrap: pretty; }
.trust { color: var(--ink); font-size: 16px; }
.cta, .buy { display: inline-block; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; font-size: 16px; font-weight: 600; }
.cta { background: var(--accent); color: #fff; }
.cta:hover, .buy:hover { filter: brightness(1.06); text-decoration: none; }
.buy { margin-top: 13px; border-color: var(--line); background: var(--card-solid); box-shadow: var(--shadow); color: var(--ink); }
.buy-row { margin: 0; }
.alt { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.spec { max-width: 44rem; margin: 16px auto 0; color: var(--muted); font-size: 13px; }
.spec b { color: var(--ink); }
.thanks { margin: 8px 0 0; padding: 14px 18px; border: 1px solid rgba(38, 122, 74, .25); border-radius: 14px; background: #edf8f1; color: #205f3b; font-size: 14px; }
body > .wrap > section { padding: 60px 0; border-top: 1px solid var(--line); }
body > .wrap > section > h2 { margin-bottom: 26px; font-size: 28px; font-weight: 630; }
.rule, .grid article { margin: 12px 0; padding: 21px 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--card); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.rule { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.rule .g { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); font-size: 21px; }
.rule h3, .grid h3 { margin: 1px 0 6px; font-size: 17px; font-weight: 620; }
.rule p, .grid p { margin: 0; color: var(--muted); font-size: 15.5px; text-wrap: pretty; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid article { margin: 0; }
.promise { padding: 25px 26px; border: 1px solid var(--line); border-radius: 17px; background: var(--card); box-shadow: var(--shadow); }
.promise h2 { margin-bottom: 8px; font-size: 25px; font-weight: 630; }
.promise p, .pitch p { margin: 0; color: var(--muted); font-size: 16px; text-wrap: pretty; }

footer { margin-top: 88px; padding: 52px 0 64px; border-top: 1px solid var(--line); text-align: center; }
footer p { margin: 0; }
footer .invite { margin-bottom: 22px; color: var(--ink); font-size: 15px; }
footer .sibling { margin-bottom: 30px; color: var(--muted); font-size: 15px; }
footer .colophon, footer:not(:has(.colophon)) { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
footer .colophon a, footer > .wrap > a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 32px, 980px); }
  .site-header { padding-top: 74px; }
  .product-grid, .grid { grid-template-columns: 1fr; margin-top: 44px; }
  .site-promise { grid-template-columns: 1fr; gap: 26px; }
  body > .wrap > header:not(.site-header) h1 { font-size: clamp(36px, 11vw, 48px); }
  body > .wrap > section { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product { transition: none; }
}
