/* A macOS 26 (Tahoe) desktop. Real system icons and symbols live in assets/icons. */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", Inter, system-ui, sans-serif;
  --menubar-h: 32px;
  --accent: #0a82ff;               /* macOS default accent (blue) */
  --accent-soft: rgba(10, 130, 255, 0.16);
  --text: #1d1d1f;
  --text-2: rgba(0, 0, 0, 0.5);
  --line: rgba(0, 0, 0, 0.1);
  --win: #ffffff;
  --win-chrome: rgba(250, 250, 252, 0.86);
  --sidebar: rgba(236, 236, 240, 0.72);
  --menu: rgba(246, 246, 248, 0.78);
  --glass-edge: rgba(255, 255, 255, 0.55);
  --row-alt: rgba(0, 0, 0, 0.028);
  --wallpaper: url("../assets/wallpaper/tahoe-day.jpg");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #f5f5f7; --text-2: rgba(255, 255, 255, 0.55); --line: rgba(255, 255, 255, 0.1);
    --win: #1e1e20; --win-chrome: rgba(40, 40, 44, 0.86); --sidebar: rgba(52, 52, 58, 0.7); --menu: rgba(40, 40, 44, 0.78);
    --glass-edge: rgba(255, 255, 255, 0.18); --row-alt: rgba(255, 255, 255, 0.035);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --text: #f5f5f7; --text-2: rgba(255, 255, 255, 0.55); --line: rgba(255, 255, 255, 0.1);
  --win: #1e1e20; --win-chrome: rgba(40, 40, 44, 0.86); --sidebar: rgba(52, 52, 58, 0.7); --menu: rgba(40, 40, 44, 0.78);
  --glass-edge: rgba(255, 255, 255, 0.18); --row-alt: rgba(255, 255, 255, 0.035);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); font-size: 13px; color: var(--text); background: #1f6fb0; overflow: hidden; -webkit-font-smoothing: antialiased; cursor: default; }
button { font: inherit; color: inherit; }

/* SF Symbols as masks, so they take the text colour */
.sym { display: inline-block; flex: none; background: currentColor; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* ---------- wallpaper ---------- */
#wallpaper { position: fixed; inset: 0; z-index: 0; background: var(--wallpaper) center / cover no-repeat, #1f6fb0; }
:root[data-theme="dark"] #wallpaper::after { content: ""; position: absolute; inset: 0; background: rgba(0, 10, 30, 0.35); }
#dim { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 45; }

/* ---------- menu bar: Tahoe's is fully transparent ---------- */
#menubar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--menubar-h); z-index: 30;
  display: flex; justify-content: space-between; align-items: center; padding: 0 8px 0 12px;
  color: #fff; text-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  font-size: 13px; font-weight: 500;
}
#menubar::before { content: ""; position: absolute; inset: 0 0 -10px; z-index: -1; background: linear-gradient(rgba(0, 0, 0, 0.14), transparent); pointer-events: none; }
.mb-left, .mb-right { display: flex; align-items: center; gap: 0; }
.mb-item { height: 24px; padding: 0 10px; border-radius: 7px; border: 0; background: none; display: flex; align-items: center; gap: 6px; white-space: nowrap; color: inherit; }
button.mb-item:hover, button.mb-item.on { background: rgba(255, 255, 255, 0.22); }
.mb-bold { font-weight: 700; }
.mb-apple .sym { width: 14px; height: 17px; }
.mb-icon .sym { filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.2)); }
#mb-clock { font-variant-numeric: tabular-nums; padding-left: 8px; }

#menus .menu {
  position: fixed; top: calc(var(--menubar-h) + 4px); z-index: 60; min-width: 230px; padding: 5px;
  background: var(--menu); backdrop-filter: blur(40px) saturate(1.8); -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border-radius: 12px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.18), inset 0 0 0 0.5px var(--glass-edge), 0 16px 44px rgba(0, 0, 0, 0.22);
  color: var(--text); font-size: 13px; animation: menuIn 0.14s ease-out;
}
@keyframes menuIn { from { opacity: 0; } }
.menu button, .menu a { display: flex; justify-content: space-between; gap: 24px; width: 100%; height: 24px; align-items: center; padding: 0 10px; border: 0; background: none; border-radius: 7px; text-align: left; color: inherit; text-decoration: none; }
.menu button:hover, .menu a:hover { background: var(--accent); color: #fff; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 10px; }
.menu kbd { font: inherit; opacity: 0.45; }

/* ---------- desktop ---------- */
#desktop { position: fixed; inset: var(--menubar-h) 0 0 0; z-index: 2; }
#hero { position: absolute; left: clamp(28px, 6vw, 110px); top: 46%; transform: translateY(-50%); max-width: 560px; color: #fff; text-shadow: 0 1px 2px rgba(0, 20, 50, 0.35), 0 4px 30px rgba(0, 20, 50, 0.45); animation: rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.2s; }
/* a soft shade behind the copy so it reads on any part of the photo */
#desktop::before { content: ""; position: absolute; inset: -40px auto -40px -10vw; width: 72vw; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 38% 48%, rgba(0, 22, 55, 0.58), rgba(0, 22, 55, 0.3) 55%, transparent 82%); }
@keyframes rise { from { opacity: 0; transform: translateY(-46%); } }
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 600; }
#hero h1 { margin: 0; font-size: clamp(46px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; }
.lede { margin: 20px 0 28px; font-size: 18px; font-weight: 500; line-height: 1.5; max-width: 460px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { height: 44px; padding: 0 22px; border-radius: 22px; border: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: default; text-shadow: none; transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.2s; }
.btn:active { transform: scale(0.96); }
.btn.primary { background: #fff; color: #111; }
.btn.ghost { background: rgba(255, 255, 255, 0.26); color: #fff; backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.5); }
.btn.blue { background: var(--accent); color: #fff; }
.fine { margin-top: 14px; font-size: 12.5px; font-weight: 500; opacity: 0.92; }

/* desktop icons: real Finder icons, white labels */
#icons { position: absolute; right: 14px; top: 12px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.dicon { width: 92px; padding: 4px 2px; text-align: center; font-size: 12px; font-weight: 500; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55); touch-action: none; }
.dicon img { width: 64px; height: 64px; display: block; margin: 0 auto 3px; padding: 2px; border-radius: 6px; -webkit-user-drag: none; }
.dicon span { display: inline-block; padding: 0 4px; border-radius: 4px; line-height: 16px; }
.dicon.sel img { background: rgba(0, 0, 0, 0.25); }
.dicon.sel span { background: var(--accent); text-shadow: none; }

/* widgets: Tahoe glass */
#widgets { position: absolute; right: 124px; top: 12px; display: grid; grid-template-columns: repeat(2, 164px); gap: 14px; }
.widget {
  height: 164px; border-radius: 24px; padding: 14px; overflow: hidden; position: relative; color: #fff;
  isolation: isolate;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 30px rgba(0, 30, 70, 0.12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.8s ease both;
}
/* Glass without backdrop-filter: a blurred copy of the wallpaper, pinned to the screen so it lines up.
   (Live backdrop blur on these showed a hard band in Chrome.) */
.widget::before {
  content: ""; position: absolute; inset: -60px; z-index: -1;
  background: var(--wallpaper) center / cover no-repeat fixed;
  filter: blur(26px) saturate(1.6) brightness(1.12);
}
.widget::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.12); }
@keyframes fadeIn { from { opacity: 0; } }
.widget.wide { grid-column: span 2; }
@keyframes rise2 { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.widget h4 { margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; opacity: 0.8; }
.try-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 10px; }
.try-grid button { height: 50px; border-radius: 14px; font-size: 11px !important; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 12px; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.3); transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.2s; }
.try-grid button:hover { background: rgba(255, 255, 255, 0.26); }
.try-grid button:active { transform: scale(0.94); }
.try-grid .sym { width: 16px; height: 16px; }
.np-widget { height: auto; padding: 10px; }
.np-widget h4 { margin: 2px 4px 8px; }
#spotify-embed, .np-widget iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 12px; }
.clock-face { width: 128px; height: 128px; margin: 4px auto 0; border-radius: 50%; position: relative; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); }
.clock-face b { position: absolute; font: 600 13px var(--font); color: #111; text-shadow: none; width: 20px; margin: -9px -10px; text-align: center; }
.clock-face i { position: absolute; left: 50%; bottom: 50%; transform-origin: bottom center; border-radius: 3px; background: #111; }
.clock-face .hh { width: 4px; height: 32px; margin-left: -2px; }
.clock-face .mm { width: 3px; height: 48px; margin-left: -1.5px; }
.clock-face .ss { width: 1.2px; height: 52px; margin-left: -0.6px; background: #ff9500; }
.clock-face::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #ff9500; box-shadow: 0 0 0 2px #fff inset; }
.cal { text-align: left; }
.cal .cal-mon { font-size: 12px; font-weight: 700; color: #ff453a; text-transform: uppercase; text-shadow: none; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; margin-top: 8px; font-size: 10.5px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.cal-days b { font-size: 9.5px; opacity: 0.6; }
.cal-days span { height: 18px; line-height: 18px; width: 18px; margin: 0 auto; border-radius: 9px; }
.cal-days span.dim { opacity: 0.35; }
.cal-days span.today { background: #ff453a; text-shadow: none; }

/* spotlight */
.spot { position: fixed; left: 50%; top: 22vh; transform: translateX(-50%); width: min(640px, calc(100vw - 32px)); z-index: 70; border-radius: 28px; overflow: hidden;
  background: var(--menu); backdrop-filter: blur(40px) saturate(1.8); -webkit-backdrop-filter: blur(40px) saturate(1.8);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), inset 0 0 0 0.5px var(--glass-edge), 0 24px 70px rgba(0, 0, 0, 0.3); animation: menuIn 0.15s ease-out; }
.spot-bar { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 20px; color: var(--text-2); }
.spot-bar input { flex: 1; border: 0; outline: 0; background: none; font: 400 22px var(--font); color: var(--text); }
.spot.has .spot-bar { border-bottom: 1px solid var(--line); }
.spot-list { padding: 6px; }
.spot-list button { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: none; text-align: left; }
.spot-list button.on { background: var(--accent); color: #fff; }
.spot-list .si { width: 26px; height: 26px; display: grid; place-items: center; }
.spot-list .si img, .spot-list .si svg { width: 26px; height: 26px; }
.spot-list small { margin-left: auto; opacity: 0.6; }

/* ---------- windows ---------- */
#windows { position: fixed; inset: 0; z-index: 20; pointer-events: none; }
.win {
  position: absolute; pointer-events: auto; min-width: 420px; min-height: 260px;
  background: var(--win); border-radius: 16px; overflow: hidden; color: var(--text);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.22), 0 28px 70px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.14);
  display: flex; flex-direction: column;
  animation: winIn 0.32s cubic-bezier(0.25, 1.2, 0.5, 1);
  transition: opacity 0.2s, transform 0.35s cubic-bezier(0.3, 1, 0.5, 1), width 0.35s, height 0.35s, left 0.35s, top 0.35s;
}
.win.inactive { box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.16), 0 14px 40px rgba(0, 0, 0, 0.18); }
.win.dragging { transition: none; }
.win.closing { opacity: 0; transform: scale(0.94); }
.win.minimizing { opacity: 0; transform: translateY(45vh) scale(0.15); transition: opacity 0.35s, transform 0.4s cubic-bezier(0.5, 0, 0.7, 0.4); }
@keyframes winIn { from { opacity: 0; transform: scale(0.96); } }

.titlebar { height: 52px; flex: none; display: flex; align-items: center; padding: 0 12px 0 18px; gap: 14px; background: var(--win-chrome); border-bottom: 1px solid var(--line); touch-action: none; position: relative; }
.lights { display: flex; gap: 9px; }
.lights i { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.lights i .sym { width: 8px; height: 8px; background: rgba(0, 0, 0, 0.55); opacity: 0; }
.lights:hover i .sym { opacity: 1; }
.lights .c { background: #ff5f57; } .lights .m { background: #febc2e; } .lights .z { background: #28c840; }
.win.inactive .lights i { background: rgba(127, 127, 127, 0.28); }
.titlebar .title { font-size: 15px; font-weight: 700; flex: 1; display: flex; gap: 12px; align-items: center; min-width: 0; }
.titlebar .wt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titlebar.center .title { justify-content: center; font-size: 13px; font-weight: 600; margin-right: 60px; }
/* Tahoe toolbar controls sit in glass capsules */
.tb-group { display: flex; align-items: center; height: 34px; padding: 0 4px; border-radius: 17px; background: rgba(127, 127, 127, 0.1); box-shadow: inset 0 0 0 0.5px var(--line); }
.tb-group button { width: 32px; height: 28px; border: 0; background: none; border-radius: 14px; display: grid; place-items: center; color: var(--text-2); }
.tb-group button:not(:disabled):hover { background: rgba(127, 127, 127, 0.14); color: var(--text); }
.tb-group button:disabled { opacity: 0.35; }
.tb-group .sym { width: 15px; height: 15px; }
.tb-right { display: flex; gap: 8px; margin-left: auto; }
.win-body { flex: 1; min-height: 0; display: flex; }

/* finder: Tahoe's floating glass sidebar */
.finder { position: relative; }
.finder .titlebar { background: var(--win); border-bottom: 0; padding-left: 196px; }
.finder .titlebar .lights { position: absolute; left: 22px; top: 21px; z-index: 2; }
.f-side {
  position: absolute; left: 8px; top: 8px; bottom: 8px; width: 176px; z-index: 1;
  padding: 44px 8px 10px; border-radius: 12px; overflow: auto;
  background: var(--sidebar); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6);
  box-shadow: inset 0 0 0 0.5px var(--glass-edge), 0 0 0 0.5px var(--line);
}
.f-side h5 { margin: 10px 8px 4px; font-size: 11px; color: var(--text-2); font-weight: 700; }
.f-side button { display: flex; gap: 8px; align-items: center; width: 100%; height: 28px; padding: 0 8px; border: 0; background: none; border-radius: 8px; text-align: left; font-size: 13px; }
.f-side button .sym { width: 16px; height: 16px; color: var(--accent); }
.f-side button.on { background: rgba(127, 127, 127, 0.18); }
.finder .win-body { margin-left: 192px; flex-direction: column; }
.f-head { display: grid; grid-template-columns: 30px 1fr 150px 90px; height: 28px; align-items: center; padding: 0 14px; font-size: 11px; font-weight: 600; color: var(--text-2); border-bottom: 1px solid var(--line); }
.f-main { flex: 1; overflow: auto; padding: 2px 8px; }
.f-row { display: grid; grid-template-columns: 30px 1fr 150px 90px; align-items: center; height: 28px; padding: 0 6px; font-size: 13px; border-radius: 7px; }
.f-row:nth-child(even) { background: var(--row-alt); }
.f-row img { width: 18px; height: 18px; }
.f-row.sel { background: var(--accent); color: #fff; }
.f-row .meta { color: var(--text-2); font-size: 12px; white-space: nowrap; }
.f-row .sz { text-align: right; }
.f-row.sel .meta { color: rgba(255, 255, 255, 0.85); }
.f-foot { height: 28px; flex: none; font-size: 11px; color: var(--text-2); display: grid; place-items: center; }

/* preview / text windows */
.code { flex: 1; overflow: auto; margin: 0; padding: 12px 0; font: 12px/1.6 ui-monospace, "SF Mono", Menlo, monospace; counter-reset: ln; tab-size: 2; background: var(--win); }
.code span { display: block; padding: 0 16px 0 0; white-space: pre; }
.code span::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 44px; margin-right: 16px; text-align: right; color: var(--text-2); opacity: 0.7; }
.code .k { color: #ad3da4; font-style: normal; } .code .s { color: #c41a16; font-style: normal; } .code .c { color: #5d6c79; }
:root[data-theme="dark"] .code .k { color: #fc5fa3; } :root[data-theme="dark"] .code .s { color: #fc6a5d; } :root[data-theme="dark"] .code .c { color: #7f8c98; }
.textdoc { flex: 1; overflow: auto; padding: 22px 26px; font: 13px/1.6 var(--font); white-space: pre-wrap; margin: 0; }

/* about + download */
.about { flex: 1; overflow: auto; padding: 26px 30px 32px; }
.about h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -0.03em; }
.about > p { margin: 0 0 20px; color: var(--text-2); font-size: 14px; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.feat { padding: 16px; border-radius: 16px; background: rgba(127, 127, 127, 0.08); }
.feat b { display: block; margin: 10px 0 4px; font-size: 14px; }
.feat p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.feat .fi { width: 32px; height: 32px; border-radius: 9px; background: #111; color: #ff9a3c; display: grid; place-items: center; }
.feat .fi svg { width: 16px; height: 16px; }
.dl-card { display: flex; gap: 18px; align-items: center; }
.dl-card .appicon { width: 88px; height: 88px; flex: none; }

/* ---------- dock: Tahoe liquid glass ---------- */
#dock {
  position: fixed; left: 50%; bottom: 6px; transform: translateX(-50%); z-index: 25;
  display: flex; align-items: flex-end; gap: 2px; padding: 6px 7px; height: 70px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(28px) saturate(1.9) brightness(1.05); -webkit-backdrop-filter: blur(28px) saturate(1.9) brightness(1.05);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 10px 30px rgba(0, 30, 70, 0.18);
}
.dock-app { position: relative; width: 56px; height: 56px; flex: none; border: 0; background: none; padding: 0; transform-origin: bottom center; transition: width 0.16s ease-out, height 0.16s ease-out; }
.dock-app img, .dock-app svg { width: 100%; height: 100%; display: block; -webkit-user-drag: none; }
.dock-app .tip { position: absolute; bottom: calc(100% + 14px); left: 50%; transform: translateX(-50%); padding: 4px 11px; border-radius: 8px; background: var(--menu); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); color: var(--text); font-size: 13px; white-space: nowrap; opacity: 0; pointer-events: none; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15), 0 4px 14px rgba(0, 0, 0, 0.15); }
.dock-app:hover .tip { opacity: 1; }
.dock-app.running::after { content: ""; position: absolute; bottom: -4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); }
.dock-app.bounce { animation: bounce 0.65s cubic-bezier(0.3, 0.6, 0.4, 1) 2; }
@keyframes bounce { 40% { transform: translateY(-20px); } }
.dock-sep { width: 1px; align-self: stretch; margin: 8px 6px; background: rgba(0, 0, 0, 0.15); }

/* ---------- phones ---------- */
#mobile-feed { display: none; }
@media (max-width: 760px) {
  body { overflow: auto; background: #0b0b0d; }
  #desktop, #dock, #icons, #widgets, #windows, #menus, #menubar, #notch-root, .notch-hint { display: none !important; }
  #wallpaper { position: fixed; filter: blur(40px) brightness(0.45) saturate(1.2); transform: scale(1.2); }
  #mobile-feed { display: block; position: relative; z-index: 3; color: #f5f5f7; padding: 0 16px 40px; }
  .m-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; margin: 0 -16px; padding: 10px 16px; background: rgba(11, 11, 13, 0.7); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border-bottom: 0.5px solid rgba(255, 255, 255, 0.08); }
  .m-brand { display: flex; align-items: center; gap: 8px; font-size: 18px; }
  .m-brand img { width: 28px; height: 28px; }
  .m-get { height: 32px; padding: 0 16px; border-radius: 16px; background: #fff; color: #111; font-weight: 600; font-size: 14px; display: flex; align-items: center; text-decoration: none; }
  .m-hero { padding: 44px 0 8px; text-align: center; }
  .m-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: #ff9a3c; letter-spacing: 0.2px; }
  .m-hero h1 { font-size: 44px; line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 14px; }
  .m-lede { font-size: 17px; line-height: 1.5; color: rgba(245, 245, 247, 0.75); margin: 0 auto 26px; max-width: 460px; }
  .m-shot { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.12), 0 18px 50px rgba(0, 0, 0, 0.5); background: #1c1c1f; }
  .m-shot img { display: block; width: 100%; height: auto; }
  .m-shot-hero { margin: 0 -4px; }
  .m-ctas { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .m-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 26px; border-radius: 23px; background: #fff; color: #111; font-weight: 600; font-size: 16px; text-decoration: none; }
  .m-hint { font-size: 13px; color: rgba(245, 245, 247, 0.55); }
  .m-sec { padding: 56px 0 0; }
  .m-sec h2 { font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
  .m-body { font-size: 16px; line-height: 1.5; color: rgba(245, 245, 247, 0.72); margin: 0 0 20px; }
  .m-mini { display: grid; gap: 10px; }
  .m-mini div { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); }
  .m-mini b { display: block; font-size: 16px; margin-bottom: 2px; }
  .m-mini span { font-size: 14px; line-height: 1.45; color: rgba(245, 245, 247, 0.7); }
  .m-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .m-plan { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.1); color: inherit; text-decoration: none; }
  .m-plan-best { box-shadow: inset 0 0 0 1.5px #ff9a3c; background: rgba(255, 154, 60, 0.08); }
  .m-plan-name { font-size: 14px; font-weight: 600; color: rgba(245, 245, 247, 0.7); }
  .m-price { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
  .m-price small { font-size: 13px; font-weight: 500; color: rgba(245, 245, 247, 0.55); margin-left: 3px; letter-spacing: 0; }
  .m-plan-note { font-size: 13px; color: rgba(245, 245, 247, 0.6); margin-bottom: 8px; }
  .m-plan .m-btn { height: 40px; padding: 0; font-size: 15px; margin-top: auto; }
  .m-plan-best .m-btn { background: #ff9a3c; }
  .m-fine { font-size: 12.5px; color: rgba(245, 245, 247, 0.5); margin-top: 14px; text-align: center; }
  .m-foot { margin-top: 48px; padding-top: 20px; border-top: 0.5px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(245, 245, 247, 0.6); text-align: center; line-height: 1.7; }
  .m-foot a { color: #f5f5f7; }
  .m-foot span { font-size: 12px; opacity: 0.7; }
  .wordmark .wm-o::before { background: #f5f5f7; }
}
@media (max-width: 1180px) and (min-width: 761px) { #widgets { display: none; } }

/* notes window */
.notes { flex: 1; display: flex; flex-direction: column; background: var(--win); padding: 10px 26px 20px; overflow: auto; }
.notes-date { text-align: center; font-size: 11px; color: var(--text-2); margin-bottom: 12px; }
.notes-text { flex: 1; outline: 0; font: 15px/1.55 var(--font); }
.notes-text b { font-size: 22px; letter-spacing: -0.02em; display: block; margin-bottom: 6px; }
.notes-hint { margin-top: auto; text-align: center; font-size: 12px; color: var(--text-2); }
.notes-hint kbd { font: 600 11px var(--font); padding: 1px 6px; border-radius: 5px; background: rgba(127, 127, 127, 0.15); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12); }

/* W1 wordmark: lowercase, the "o" is the orange Pulse with a small notch above it */
.wordmark { font-weight: 700; letter-spacing: -0.035em; white-space: nowrap; }
.wm-o { display: inline-block; position: relative; width: 0.56em; height: 0.56em; margin: 0 0.035em; vertical-align: -0.02em; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #fff6e8 0%, #ffc07a 30%, #ff9a3c 62%); box-shadow: 0 0 0.35em rgba(255, 154, 60, 0.55); }
.wm-o::before { content: ""; position: absolute; left: 50%; top: -0.34em; width: 0.5em; height: 0.13em; margin-left: -0.25em; border-radius: 0 0 0.07em 0.07em; background: currentColor; }
.eyebrow .wordmark { font-size: 17px; }
.eyebrow-sep { margin: 0 8px; opacity: 0.6; }
.about h2 .wordmark { font-size: 28px; }

/* recorder window */
.recorder-win .rec-hero { width: 100%; border-radius: 12px; display: block; box-shadow: 0 0 0 .5px var(--line), 0 10px 30px rgba(0,0,0,.18); }
.recorder-win .rec-shot { width: 100%; max-width: 560px; display: block; margin: 16px auto 0; border-radius: 12px; }
.rec-pair { display: flex; gap: 12px; justify-content: center; margin-top: 12px; }
.rec-pair img { width: 48%; max-width: 280px; border-radius: 12px; }

/* pricing window */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 18px 18px; border-radius: 16px; background: rgba(127,127,127,.08); box-shadow: inset 0 0 0 .5px var(--line); color: inherit; text-decoration: none; transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.plan:hover { transform: translateY(-2px); }
.plan-best { background: rgba(255,154,60,.08); box-shadow: inset 0 0 0 1.5px #ff9a3c; }
.plan-badge { position: absolute; top: -10px; right: 14px; padding: 2px 10px; border-radius: 10px; background: #ff9a3c; color: #111; font-size: 11px; font-weight: 700; }
.plan-name { font-size: 13px; font-weight: 600; color: var(--text-2); }
.plan-price { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.plan-price small { font-size: 13px; font-weight: 500; color: var(--text-2); margin-left: 4px; letter-spacing: 0; }
.plan-note { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }
.plan-btn { margin-top: auto; height: 38px; border-radius: 19px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; background: var(--text); color: var(--win); }
.plan-best .plan-btn { background: #ff9a3c; color: #111; }
.plan-h { margin: 26px 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-2); }
.plan-incl { columns: 2; column-gap: 24px; margin: 0; padding: 0 0 0 18px; font-size: 13.5px; line-height: 2; color: var(--text); }
.plan-fine { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.plan-fine p { margin: 0 0 6px; }
.plan-fine a { color: inherit; }

.pricing-win { padding-top: 22px; }

/* coupon box (desktop window + phone) */
.plan-price s.was, .m-price s.was { font-size: .5em; font-weight: 600; opacity: .45; margin-right: 6px; vertical-align: middle; }
.coupon { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.coupon-toggle, .coupon-remove { border: 0; background: none; padding: 0; color: #ff9a3c; font: 600 13px var(--font); cursor: pointer; }
.coupon-field { display: none; gap: 6px; }
.coupon.open .coupon-toggle { display: none; }
.coupon.open .coupon-field { display: inline-flex; }
.coupon input { width: 150px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: var(--win); color: var(--text); padding: 0 10px; font: 600 13px var(--font); text-transform: uppercase; outline: none; }
.coupon input:focus { border-color: #ff9a3c; }
.coupon-apply { height: 32px; padding: 0 14px; border-radius: 9px; border: 0; background: var(--text); color: var(--win); font: 600 13px var(--font); cursor: pointer; }
.coupon-msg.bad { color: #ff453a; }
.coupon.applied { color: var(--text-2); }
.coupon.applied b { color: var(--text); }
@media (max-width: 760px) {
  #mobile-feed .coupon { justify-content: center; margin-top: 16px; color: rgba(245,245,247,.7); }
  #mobile-feed .coupon input { background: rgba(255,255,255,.08); color: #f5f5f7; border-color: rgba(255,255,255,.15); }
  #mobile-feed .coupon-apply { background: #f5f5f7; color: #111; }
  #mobile-feed .coupon.applied b { color: #f5f5f7; }
}
