/* Bootzy TM — embedded inline as base64 WOFF so the page stays
   a single self-contained file (identical embed to the stable page). */
@font-face {
    font-family: "Bootzy TM";
    src: url("fonts/bootzy-tm.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   AUGUST — concept homepage (experimental)
   "August, with an O" — the storefront as a macOS application.
   Stable version: ..\Website pages\profile.html (untouched).

   TOKENS
     --accent   #2869ED  Signal Blue — the single accent.
     Everything else is white / light gray / black.
     Light is default; dark swaps neutrals only.
   ============================================================ */
:root {
  --accent: #2869ED;
  --accent-soft: rgba(40,105,237,.10);
  --accent-ring: rgba(40,105,237,.28);

  --bg: #F5F5F7;
  --bg-deep: #EDEEF1;
  --surface: #FFFFFF;
  --surface-2: #FAFAFB;
  --text: #17181C;
  --text-muted: #63676F;
  --text-faint: #9A9EA6;
  --border: rgba(23,24,28,.08);
  --border-strong: rgba(23,24,28,.13);
  --bar: linear-gradient(180deg, #FDFDFE 0%, #F6F6F8 100%);
  --shadow-win:
    0 1px 2px rgba(23,24,28,.05),
    0 12px 24px -8px rgba(23,24,28,.10),
    0 32px 64px -24px rgba(23,24,28,.18);
  --shadow-float:
    0 2px 4px rgba(23,24,28,.06),
    0 24px 48px -16px rgba(23,24,28,.16),
    0 64px 120px -40px rgba(23,24,28,.24);
  --shadow-soft: 0 1px 2px rgba(23,24,28,.05), 0 8px 20px -8px rgba(23,24,28,.10);
  --menubar-bg: rgba(245,245,247,.78);
  --focus-ring: var(--accent);
}
html[data-theme="dark"] {
  --accent-soft: rgba(40,105,237,.16);
  --accent-ring: rgba(94,144,255,.38);

  --bg: #0E0F13;
  --bg-deep: #0A0B0E;
  --surface: #17181D;
  --surface-2: #1C1D23;
  --text: #F2F3F5;
  --text-muted: #A6AAB3;
  --text-faint: #6C707A;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  --bar: linear-gradient(180deg, #1E1F25 0%, #17181D 100%);
  --shadow-win:
    0 1px 2px rgba(0,0,0,.35),
    0 12px 24px -8px rgba(0,0,0,.45),
    0 32px 64px -24px rgba(0,0,0,.6);
  --shadow-float:
    0 2px 4px rgba(0,0,0,.4),
    0 24px 48px -16px rgba(0,0,0,.55),
    0 64px 120px -40px rgba(0,0,0,.7);
  --shadow-soft: 0 1px 2px rgba(0,0,0,.35), 0 8px 20px -8px rgba(0,0,0,.45);
  --menubar-bg: rgba(14,15,19,.72);
}

* { box-sizing: border-box; }
.hidden { display: none !important; } /* do not rely on the Tailwind CDN for this */
html { scroll-behavior: smooth; color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-feature-settings: "cv05","cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

/* very quiet ambient wash behind everything — no grids, no noise */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(52rem 32rem at 50% -6rem, var(--accent-soft), transparent 68%),
    radial-gradient(40rem 28rem at 85% 110%, var(--accent-soft), transparent 70%);
  opacity: .8;
}

.mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
}
.display {
  font-family: "Bootzy TM", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-weight: normal;
  letter-spacing: .01em;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 10px 0; font-weight: 600; font-size: .85rem;
}
.skip-link:focus { left: 0; }

/* page column — centered, never edge-to-edge */
.shell { position: relative; z-index: 1; max-width: 1480px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4rem); }

/* ⚠️ MOBILE GUTTER — reported 2026-08-03 from an iPhone: every section ran
   edge to edge. Gumroad's own mobile stylesheet flattens the horizontal
   padding of our <section> elements (the fixed menubar, a <div>, kept its
   padding — only the sections lost theirs). So on small screens we stop
   using padding for the gutter and use WIDTH instead: a host `padding: 0`
   cannot reach it, and the !important reset below stops the two mechanisms
   from stacking into a double inset if their rule ever goes away. */
@media (max-width: 760px) {
  html body .shell {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: calc(100% - 2.75rem);
    margin-left: auto;
    margin-right: auto;
  }
  /* and give the copy a readable measure instead of one long edge-to-edge line.
     Selectors carry the parent on purpose — `.section-sub { margin: 0 }` is
     declared further down and would win the centring otherwise. */
  .section-head .section-sub, .hero-body .hero-copy {
    max-width: 20rem; margin-left: auto; margin-right: auto;
  }
}

/* ============================================================
   MENU BAR — floating, blurred, like a macOS menu bar
   ============================================================ */
.menubar-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: .8rem clamp(1rem, 3vw, 2rem) 0;
  pointer-events: none;
}
.menubar {
  pointer-events: auto;
  max-width: 1480px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .5rem .65rem .5rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--menubar-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: var(--shadow-soft);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.menubar.stuck { box-shadow: var(--shadow-win); border-color: var(--border-strong); }
.brand { display: flex; align-items: baseline; gap: .55rem; white-space: nowrap; }
.brand .display { font-size: 1.25rem; line-height: 1; }
.brand-by { font-size: .68rem; color: var(--text-faint); letter-spacing: .02em; }

/* segmented control — Day/Week/Month/Year energy */
.seg {
  margin-left: auto;
  display: flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: 12px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg-btn {
  appearance: none; border: 0; cursor: pointer;
  background: transparent; color: var(--text-muted);
  font: 600 .8rem/1 "Inter", ui-sans-serif, system-ui, sans-serif;
  padding: .5rem .85rem; border-radius: 9px;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.seg-btn:hover { color: var(--text); }
.seg-ic { display: none; width: 15px; height: 15px; }
.seg-ic svg { width: 100%; height: 100%; }
@media (max-width: 480px) {
  .seg-txt { display: none; }
  .seg-ic { display: inline-flex; }
  .seg-btn { padding: .5rem .72rem; }
  .brand-by { display: none; }
}
.seg-btn.active {
  background: var(--surface); color: var(--text);
  box-shadow: 0 1px 2px rgba(23,24,28,.08), 0 3px 8px -2px rgba(23,24,28,.10);
}
html[data-theme="dark"] .seg-btn.active { box-shadow: 0 1px 2px rgba(0,0,0,.4); }

.menubar-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  appearance: none; cursor: pointer;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent-ring); }
.icon-btn svg { width: 15px; height: 15px; }
html[data-theme="light"] .icon-moon, html:not([data-theme="dark"]) .icon-moon { display: none; }
html[data-theme="dark"] .icon-sun { display: none; }

/* ============================================================
   WINDOW — the core component of the whole page
   ============================================================ */
.win {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-win);
  overflow: hidden;
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.win-bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .72rem 1.1rem;
  background: var(--bar);
  border-bottom: 1px solid var(--border);
  user-select: none;
}
.lights { display: inline-flex; gap: 7px; flex: none; }
.light { width: 11px; height: 11px; border-radius: 50%; }
.light-r { background: #FF5F57; } .light-y { background: #FEBC2E; } .light-g { background: #28C840; }
html[data-theme="dark"] .light { filter: saturate(.9) brightness(.95); }
.win-title {
  flex: 1; text-align: center; font-size: .72rem; color: var(--text-faint);
  letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.win-spacer { width: 47px; flex: none; } /* balances the lights so the title truly centers */

/* ============================================================
   HERO — August.app
   ============================================================ */
.hero { padding: clamp(7rem, 12vh, 9.5rem) 0 clamp(2.5rem, 5vh, 4rem); }
.hero-win {
  max-width: 1060px; margin: 0 auto;
  box-shadow: var(--shadow-float);
  animation: heroFloat 7s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroFloat { from { transform: translateY(0); } to { transform: translateY(-9px); } }
.hero-body { padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem) clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .42rem .9rem; background: var(--surface-2);
}
.hero-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.6s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 var(--accent-ring); } 55% { box-shadow: 0 0 0 6px transparent; } }
.hero-title {
  font-size: clamp(4.6rem, 13vw, 9.5rem);
  line-height: .96; margin: 1.9rem 0 .4rem;
}
/* hero entrance — the headline animates in by character, the way
   TypeKit animates titles. Pure CSS keyframes, no video needed. */
.ht-ch {
  display: inline-block; opacity: 0;
  transform: translateY(.22em); filter: blur(10px);
  animation: chIn .75s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes chIn { to { opacity: 1; transform: none; filter: blur(0); } }
.hero-enter { opacity: 0; animation: heroIn .6s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-sub { font-size: .95rem; color: var(--text-faint); letter-spacing: .06em; }
.hero-copy {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-muted);
  max-width: 34ch; margin: 1.9rem auto 0; line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.2rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .92rem/1 "Inter", ui-sans-serif, system-ui, sans-serif;
  padding: .85rem 1.5rem; border-radius: 13px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-fill { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px var(--accent-ring); }
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px var(--accent-ring); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent-ring); color: var(--accent); }

/* the dock inside the hero window */
.dock-strip { border-top: 1px solid var(--border); background: var(--surface-2); padding: 1.05rem 1rem 1.15rem; }
.dock { display: flex; justify-content: center; gap: clamp(.6rem, 2vw, 1.1rem); }
.dock-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.dock-icon {
  width: clamp(46px, 6vw, 58px); height: clamp(46px, 6vw, 58px);
  border-radius: 26%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform .16s ease-out, box-shadow .25s ease;
}
.dock-item:hover .dock-icon, .dock-item:focus-visible .dock-icon { transform: translateY(-7px) scale(1.06); box-shadow: var(--shadow-win); }
.dock-icon svg { width: 46%; height: 46%; }
.dock-icon .glyph { font-family: "Bootzy TM", sans-serif; font-size: 1.35rem; color: var(--accent); }
.dock-label {
  font-size: .62rem; color: var(--text-faint); letter-spacing: .03em;
  opacity: 0; transform: translateY(-3px); transition: opacity .2s ease, transform .2s ease;
}
.dock-item:hover .dock-label, .dock-item:focus-visible .dock-label { opacity: 1; transform: none; }
.dock-item { background: none; border: 0; padding: 0; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(3rem, 7vh, 5.5rem) 0; }
.section-head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.eyebrow {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.05; margin: 0 0 .9rem; }
.section-sub { color: var(--text-muted); font-size: 1.02rem; line-height: 1.6; margin: 0; }

/* ============================================================
   CALENDAR — the heart of the concept
   ============================================================ */
.cal-win { max-width: 1060px; margin: 0 auto; }
.cal-head {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem clamp(1.1rem, 3.5vw, 2.2rem) 1.1rem;
}
.cal-month { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; }
.cal-note { color: var(--text-faint); font-size: .78rem; }
.cal-legend { margin-left: auto; display: flex; gap: 1rem; flex-wrap: wrap; }
.legend-item { display: inline-flex; align-items: center; gap: .4rem; font-size: .7rem; color: var(--text-muted); }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }

.cal-grid { position: relative; padding: 0 clamp(1.1rem, 3.5vw, 2.2rem) clamp(1.3rem, 3vw, 2rem); }
.cal-dows { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal-dow { text-align: center; font-size: .66rem; letter-spacing: .1em; color: var(--text-faint); padding: .4rem 0; text-transform: uppercase; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell {
  position: relative; min-height: clamp(58px, 8.5vw, 96px);
  border-radius: 14px; border: 1px solid transparent;
  background: var(--surface-2);
  padding: .5rem .55rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.cal-cell.blank { background: transparent; }
.cal-num { font-size: .72rem; color: var(--text-faint); line-height: 1; }
/* quiet days acknowledge themselves on hover */
.quiet-msg {
  margin-top: auto; font-size: .6rem; color: var(--text-faint); line-height: 1.3;
  opacity: 0; transform: translateY(3px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .cal-cell.quiet:hover .quiet-msg { opacity: 1; transform: none; }
}
@media (max-width: 640px) { .quiet-msg { display: none; } }
.cal-cell.event {
  cursor: pointer; border-color: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.cal-cell.event:hover, .cal-cell.event:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-win);
  border-color: var(--accent-ring);
}
.cal-cell.today { border-color: var(--accent); }
.cal-cell.today .cal-num { color: var(--accent); font-weight: 700; }
.today-tag {
  font-size: .54rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); line-height: 1; margin: -.1rem 0 0 .05rem;
}
/* releases lead the hierarchy at rest; notes stay quiet */
.cal-cell.event.release .ev-label { color: var(--text); font-weight: 650; }
.cal-cell.event:active { transform: translateY(-1px) scale(.985); }
/* openable days carry a quiet ↗ — the affordance that says "this opens" */
.open-glyph {
  position: absolute; top: .42rem; right: .55rem;
  font-size: .68rem; line-height: 1; color: var(--text-faint); opacity: .55;
  transition: opacity .2s ease, color .2s ease, transform .2s ease;
}
.cal-cell:hover .open-glyph, .cal-cell:focus-visible .open-glyph {
  opacity: 1; color: var(--accent); transform: translate(1px, -1px);
}
/* the selected / currently-viewed day */
.cal-cell.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.cal-cell.selected .cal-num { color: var(--accent); font-weight: 700; }
/* reserved days — a quiet promise instead of an empty box */
.cal-cell.soon {
  cursor: pointer; border: 1px dashed var(--border-strong); background: transparent;
  text-align: left; appearance: none; font-family: inherit;
}
.cal-cell.soon:hover, .cal-cell.soon:focus-visible {
  border-color: var(--accent-ring); background: var(--surface);
  transform: translateY(-2px); box-shadow: var(--shadow-soft);
}
.cal-cell.soon .ev-label { color: var(--text-faint); font-weight: 500; }
.ev-dot.soon { background: transparent; border: 1.5px dashed var(--text-faint); box-sizing: border-box; }
/* every cell acknowledges the cursor — but only openable ones lift */
.cal-cell.quiet { transition: background-color .25s ease, border-color .25s ease; }
.cal-cell.quiet:hover { background: var(--surface); border-color: var(--border); }
/* event dots pop in when the calendar first scrolls into view */
.cal-days.live .ev-dot { animation: dotPop .55s cubic-bezier(.34,1.56,.64,1) backwards; }
@keyframes dotPop { from { transform: scale(0); } }

/* ---------- the peek: a miniature app window that previews a day ---------- */
.peek {
  position: absolute; z-index: 40; width: 272px;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 16px; box-shadow: var(--shadow-float);
  overflow: hidden; pointer-events: none;
  opacity: 0; transform: translateY(var(--peek-shift, 8px)) scale(.96);
  transition: opacity .16s ease, transform .22s cubic-bezier(.32,.72,.28,1);
}
.peek.show { opacity: 1; transform: none; }
.peek-bar {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .7rem; background: var(--bar);
  border-bottom: 1px solid var(--border);
}
.peek-bar .lights { transform: scale(.78); transform-origin: left center; }
.peek-bar .win-title { font-size: .64rem; }
.peek-bar .win-spacer { width: 36px; }
.peek-thumb {
  background: #fff; border-bottom: 1px solid var(--border);
  height: 122px; display: flex; align-items: center; justify-content: center;
  padding: .7rem;
}
.peek-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
html[data-theme="dark"] .peek-thumb { background: var(--bg-deep); }
html[data-theme="dark"] .peek-thumb img { border-radius: 6px; }
.peek-body { padding: .85rem .95rem .95rem; }
.peek-kind {
  display: flex; align-items: center; gap: .42rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .45rem;
}
.peek-kind.note, .peek-kind.soon { color: var(--text-muted); }
.peek-kind .ev-dot { width: 6px; height: 6px; animation: none; }
.peek-name { font-size: .98rem; font-weight: 650; letter-spacing: -.01em; margin-bottom: .3rem; }
.peek-desc {
  font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin-bottom: .55rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.peek-meta { font-size: .66rem; color: var(--text-faint); margin-bottom: .6rem; }
.peek-cta { font-size: .78rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: .35rem; }

/* leaving for a product page — the store "launches" the app */
body.launching { animation: pageOut .26s ease forwards; }
@keyframes pageOut { to { opacity: 0; } }
.ev-chip { display: flex; align-items: center; gap: .38rem; min-width: 0; margin-top: auto; }
.ev-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.ev-dot.release { background: var(--accent); }
.ev-dot.update { background: transparent; box-shadow: inset 0 0 0 2px var(--accent); }
.ev-dot.drop { background: var(--accent); animation: pulse 2.6s ease infinite; }
.ev-dot.note { background: var(--text-faint); }
.ev-label {
  font-size: .68rem; font-weight: 600; color: var(--text-muted); line-height: 1.25;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.cal-cell { appearance: none; font-family: inherit; }
button.cal-cell { border-style: solid; }
@media (max-width: 640px) {
  .ev-label { display: none; }
  .cal-cell { min-height: 46px; border-radius: 10px; padding: .4rem; }
  .ev-chip { margin: auto auto 0; }
}

/* ============================================================
   LIBRARY — products as applications
   ============================================================ */
.lib-grid {
  display: grid; gap: clamp(1.1rem, 2.2vw, 1.6rem);
  /* three across on desktop — the store's three paid tools sit on one line */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
  max-width: 1120px; margin: 0 auto;
}
.app-card { display: flex; flex-direction: column; }
/* the whole window lifts on hover — never the artwork alone.
   (.win.app-card beats the reveal rules on specificity) */
.win.app-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); }
/* cover art shown whole, never cropped. The renders live on pure white,
   so in light mode the shot area is white too — the product box blends in
   and simply floats inside the app window, no frame-within-a-frame. */
.app-card .shot {
  position: relative; aspect-ratio: 1 / 1;   /* the hero artwork is square — let it fill */
  background: var(--surface);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.app-card .shot img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; display: block;
}
/* dark mode can't blend a white render — frame it deliberately instead */
html[data-theme="dark"] .app-card .shot {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: clamp(.8rem, 1.8vw, 1.2rem);
}
html[data-theme="dark"] .app-card .shot img {
  border-radius: 10px;
  box-shadow: 0 10px 28px -12px rgba(0,0,0,.6);
}
.app-card .shot .fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.app-card .shot .fallback span { font-family: "Bootzy TM", sans-serif; font-size: 3rem; color: var(--accent); opacity: .4; }
.app-meta { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.app-name { font-size: 1.12rem; font-weight: 650; letter-spacing: -.01em; }
.app-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.55; }
.app-foot { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: 1.1rem; }
/* every product belongs to a day — the card wears its date */
.app-date {
  font-size: .66rem; color: var(--accent);
  border: 1px solid var(--accent-ring); border-radius: 7px;
  padding: .2rem .45rem; line-height: 1;
}
.app-price { font-size: .8rem; color: var(--text-faint); }
.app-cta { margin-left: auto; }
.app-cta .btn { padding: .62rem 1.1rem; font-size: .82rem; border-radius: 11px; }
.lib-empty { text-align: center; color: var(--text-faint); font-size: .85rem; }

/* ============================================================
   ABOUT — the bench
   ============================================================ */
.about-win { max-width: 1060px; margin: 0 auto; }
.about-body {
  display: grid; gap: clamp(1.6rem, 4vw, 3.5rem);
  grid-template-columns: 1.1fr 1fr;
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1.4rem, 4.5vw, 3.4rem);
  align-items: center;
}
@media (max-width: 800px) { .about-body { grid-template-columns: 1fr; } }
.about-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.08; margin: 0; }
.about-copy { color: var(--text-muted); font-size: .98rem; line-height: 1.7; margin: 0 0 1.2rem; }
.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .84rem; font-weight: 600; color: var(--accent); cursor: pointer;
  background: none; border: 0; padding: 0; font-family: inherit;
}
.arrow-link span { transition: transform .22s ease; }
.arrow-link:hover span { transform: translateX(4px); }

/* ============================================================
   SUBSCRIBE — drop-list window
   ============================================================ */
.sub-win { max-width: 1060px; margin: 0 auto; }
.sub-body { padding: clamp(2.4rem, 6vw, 4rem) clamp(1.4rem, 5vw, 4rem); text-align: center; }
.sub-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; margin: .2rem 0 1rem; }
.sub-copy { color: var(--text-muted); max-width: 46ch; margin: 0 auto; line-height: 1.6; font-size: .96rem; }

.follow-form { display: flex; justify-content: center; align-items: stretch; gap: .6rem; flex-wrap: wrap; margin-top: 1.9rem; }
.follow-field {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--border-strong); border-radius: 13px;
  background: var(--surface-2); padding: 0 .5rem 0 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.follow-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.follow-at { color: var(--text-faint); font-size: .85rem; }
.follow-input {
  appearance: none; border: 0; background: transparent; color: var(--text);
  font: 500 .9rem/1 "Inter", ui-sans-serif, system-ui, sans-serif;
  padding: .85rem .4rem .85rem 0; width: min(60vw, 240px); outline: none;
}
.follow-input::placeholder { color: var(--text-faint); }
.follow-submit.is-busy { opacity: .6; pointer-events: none; }
.follow-msg { display: none; width: 100%; text-align: center; font-size: .8rem; margin: .5rem 0 0; }
.follow-form[data-gumroad-follow-state] .follow-msg { display: block; }
.follow-form[data-gumroad-follow-state="success"] .follow-msg { color: #1F9D55; }
.follow-form[data-gumroad-follow-state="error"] .follow-msg { color: #D62B33; }
.follow-form[data-gumroad-follow-state="success"] .follow-field,
.follow-form[data-gumroad-follow-state="success"] .follow-submit { display: none; }
.follow-note { font-size: .72rem; color: var(--text-faint); margin-top: 1rem; }
.follow-link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent); font: inherit; font-weight: 600; }
@media (max-width: 480px) {
  .follow-field, .follow-submit { width: 100%; justify-content: center; }
  .follow-input { width: 100%; }
}

/* ============================================================
   MODAL — calendar day detail, its own little window
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,11,14,.4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-win { width: min(460px, 100%); transform: translateY(14px) scale(.97); transition: transform .28s cubic-bezier(.32,.72,.28,1); }
.modal-backdrop.open .modal-win { transform: none; }
.modal-body { padding: 1.6rem 1.7rem 1.8rem; }
.modal-kind {
  display: inline-flex; align-items: center; gap: .42rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}
.modal-kind .ev-dot { width: 7px; height: 7px; }
.modal-title { font-size: 1.5rem; font-weight: 650; letter-spacing: -.015em; margin: 0 0 .55rem; }
.modal-desc { color: var(--text-muted); font-size: .92rem; line-height: 1.62; margin: 0 0 1.4rem; }
.modal-actions { display: flex; align-items: center; gap: .8rem; }
.modal-close-btn { color: var(--text-faint); font-size: .82rem; font-weight: 600; background: none; border: 0; cursor: pointer; padding: .6rem .4rem; font-family: inherit; }
.modal-close-btn:hover { color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--border); margin-top: clamp(2rem, 6vh, 4rem); }
.footer-inner {
  max-width: 1060px; margin: 0 auto;
  padding: 2.4rem 0 3rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; justify-content: space-between;
}
.footer-note { font-size: .76rem; color: var(--text-faint); }
.footer-note .display { font-size: .95rem; color: var(--text-muted); }
.socials { display: flex; gap: .5rem; }
.social-icon {
  width: 36px; height: 36px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-icon:hover { color: var(--accent); border-color: var(--accent-ring); transform: translateY(-2px); }
.social-icon svg { width: 16px; height: 16px; }

/* ============================================================
   REVEALS + MOTION SAFETY
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-win { animation: none; }
  .hero-chip .dot, .ev-dot.drop { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ht-ch, .hero-enter { animation: none; opacity: 1; transform: none; filter: none; }
  .cal-days.live .ev-dot { animation: none; }
  body.launching { animation: none; }
  .peek { transition: none; }
  * { transition-duration: .01ms !important; }
}
