/* PingDrop — site styles. White, quiet, and a little bit alive. */

@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #ffffff;
  --soft: #fafafb;
  --mock: #f7f7f9;
  --line: #ececf1;
  --line-2: #e2e2e9;
  --text: #0a0a0c;
  --muted: #62636e;
  --faint: #9a9ba6;
  --accent: #2563ff;
  --accent-2: #7c5cff;
  --pink: #e64fbf;
  --green: #1fb455;
  --blue: #0a7cff;
  --red: #ef4444;
  --gold: #d99a00;
  --shadow-sm: 0 1px 2px rgba(16, 18, 30, .05);
  --shadow: 0 1px 2px rgba(16, 18, 30, .04), 0 8px 24px -10px rgba(16, 18, 30, .10);
  --shadow-lg: 0 2px 6px rgba(16, 18, 30, .05), 0 40px 80px -30px rgba(16, 18, 30, .28);
  --radius: 24px;
  --wrap: 1140px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { fill: currentColor; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; margin: 0; }
p { margin: 0; }
section[id], footer { scroll-margin-top: 72px; }
::selection { background: color-mix(in srgb, var(--accent) 20%, transparent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 14px; border: 0; cursor: pointer;
  font: 600 15px/1 inherit; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-dark { background: var(--text); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 20px -8px rgba(10,10,12,.5); }
.btn-dark:hover { box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 14px 28px -10px rgba(10,10,12,.55); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-store {
  background: var(--text); color: #fff; min-width: 200px;
  padding: 12px 24px 12px 18px; border-radius: 16px; font-size: 18px; text-align: left;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 12px 28px -12px rgba(10,10,12,.6);
}
.btn-store svg { width: 26px; height: 26px; }
.btn-store span { display: flex; flex-direction: column; gap: 3px; }
.btn-store small { font-size: 11px; font-weight: 500; opacity: .65; }
.btn-store-light { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.btn-store-light:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--text); background: var(--soft); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; padding: 76px 0 24px; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(16, 18, 30, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask: radial-gradient(60% 55% at 50% 30%, #000 20%, transparent 75%);
  mask: radial-gradient(60% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  filter: blur(90px); opacity: .55; animation: drift 18s ease-in-out infinite alternate;
}
.hero-bg::before { left: 12%; top: -120px; background: #cfdcff; }
.hero-bg::after { right: 10%; top: 40px; background: #e7dcff; animation-delay: -9s; }
.hero-copy { text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px; text-decoration: none;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font-size: 13.5px; font-weight: 500; color: var(--muted); transition: box-shadow .2s, color .2s;
}
.pill:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.pill-new { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(100deg, var(--accent), var(--accent-2)); }
h1 { font-size: clamp(44px, 7.4vw, 88px); font-weight: 800; letter-spacing: -.05em; margin: 24px 0 20px; }
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 35%, var(--pink) 60%, var(--accent) 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s linear infinite;
}
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* Live numbers */
.stats { list-style: none; padding: 0; margin: 28px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.stat { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; border-radius: 999px; text-decoration: none; font-size: 13.5px; color: var(--muted); background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); transition: transform .2s var(--spring), box-shadow .2s, color .2s; }
.stat:hover { transform: translateY(-2px); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.stat svg { width: 15px; height: 15px; flex: none; }
.stat-play svg { color: #2fbf6f; }
.stat-star svg { color: #f5b301; }
.stat-star:hover svg { animation: twirl .7s var(--spring); }
.stat-mac svg { color: var(--text); }
.stat b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; min-width: .6em; text-align: center; }
.stat em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; color: var(--muted); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.stat em:empty, .dl-ver:empty { display: none; }

/* ── Sound toggle ────────────────────────────────────────── */
.snd { width: 36px; height: 36px; border: 0; border-radius: 10px; display: grid; place-items: center; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.snd:hover { background: var(--soft); color: var(--text); }
.snd svg { width: 18px; height: 18px; }
.snd .snd-off, .snd.off .snd-on { display: none; }
.snd.off .snd-off { display: block; }

/* ── Demo: a Mac and a phone ─────────────────────────────── */
.demo { margin-top: 60px; }
.canvas-wrap { position: relative; height: calc(540px * var(--s, 1)); }
.canvas { position: absolute; left: 50%; top: 0; width: 1000px; height: 540px; transform: translateX(-50%) scale(var(--s, 1)); transform-origin: top center; }

/* MacBook */
.mb { position: absolute; left: 0; top: 0; width: 780px; }
.mb-bezel { position: relative; height: 484px; padding: 12px; border-radius: 24px 24px 12px 12px; background: #0d0e11; box-shadow: inset 0 0 0 1.5px #2b2c31, 0 50px 90px -40px rgba(16, 18, 30, .45); }
.mb-notch { position: absolute; z-index: 9; top: 12px; left: 50%; width: 118px; height: 17px; transform: translateX(-50%); background: #0d0e11; border-radius: 0 0 9px 9px; }
.mb-base { position: absolute; left: -34px; right: -34px; top: 482px; height: 17px; border-radius: 3px 3px 16px 16px; background: linear-gradient(#ececf0, #b9bbc3 70%, #9fa1aa); box-shadow: 0 22px 36px -16px rgba(16, 18, 30, .45); }
.mb-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 130px; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #c3c5cc; }
.mx { position: relative; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; font-size: 13px; color: #111; user-select: none; -webkit-user-select: none; }
.mx-wall { position: absolute; inset: 0; background:
  radial-gradient(55% 65% at 12% 18%, #9ebdff 0, transparent 62%),
  radial-gradient(50% 60% at 88% 12%, #f6b8e2 0, transparent 60%),
  radial-gradient(55% 65% at 72% 96%, #96e6d2 0, transparent 60%),
  radial-gradient(50% 55% at 25% 92%, #c9b6ff 0, transparent 60%), #e8ecff; }

.mx-bar { position: absolute; z-index: 8; inset: 0 0 auto; height: 25px; display: flex; align-items: center; gap: 15px; padding: 0 12px 0 14px; font-size: 12.5px; background: rgba(255, 255, 255, .5); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
.mx-bar b { font-weight: 700; }
.mx-apple { width: 14px; height: 14px; }
.mx-sp { flex: 1; }
.mx-ic { width: 15px; height: 15px; }
.mx-pd, .mx-clock { border: 0; background: transparent; padding: 2px 6px; border-radius: 5px; cursor: pointer; font-size: 12.5px; color: inherit; transition: background .15s; }
.mx-pd { display: grid; place-items: center; padding: 2px 4px; }
.mx-pd img { width: 16px; height: 16px; }
.mx-pd:hover, .mx-clock:hover, .mx-pd.on, .mx-clock.on { background: rgba(0, 0, 0, .1); }
.mx-pd.bump img { animation: bump .5s var(--spring); }
.mx-pd.over { background: color-mix(in srgb, var(--accent) 30%, transparent); }
.ph.over .ph-frame { box-shadow: 0 0 0 3px var(--accent), 0 40px 80px -30px rgba(16, 18, 30, .5); }
.mx-phone { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; transition: color .3s; }
.mx-phone svg { width: 17px; height: 17px; }
.mx-phone.low { color: var(--red); }

/* Notes window */
.mx-notes { position: absolute; z-index: 2; left: 42px; top: 64px; width: 340px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 .5px rgba(0,0,0,.15), 0 22px 50px -18px rgba(16, 18, 30, .45); }
.mx-tl { position: relative; display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; background: #f3f3f6; border-bottom: 1px solid #e6e6eb; }
.mx-tl i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mx-tl i:nth-child(2) { background: #febc2e; }
.mx-tl i:nth-child(3) { background: #28c840; }
.mx-tl span { position: absolute; left: 0; right: 0; text-align: center; font-size: 12px; font-weight: 600; color: #555; pointer-events: none; }
.mx-notes-body { padding: 12px 16px 14px; font-size: 13.5px; line-height: 1.75; user-select: text; -webkit-user-select: text; cursor: text; }
.mx-notes-body b { font-size: 16px; }
.mx-notes-body ::selection { background: #b3d4ff; }
.mx-sel { padding: 1px 0; border-radius: 3px; background: linear-gradient(#b3d4ff, #b3d4ff) no-repeat 0 0 / 0% 100%; transition: background-size .6s var(--ease); }
.mx-sel.on { background-size: 100% 100%; }
.mx-tip { margin-top: 4px; font-size: 11.5px; color: #8a8b95; }

/* Desktop files */
.mx-files { position: absolute; z-index: 1; right: 12px; top: 36px; width: 96px; display: flex; flex-direction: column; gap: 6px; }
.mx-file { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; transition: background .15s, transform .2s var(--spring), opacity .3s; }
.mx-file:hover { background: rgba(255, 255, 255, .35); }
.mx-file:active { transform: scale(.95); }
.mx-file.sel .mx-fname { background: #2563ff; color: #fff; text-shadow: none; }
.mx-file.lift { opacity: .35; }
.mx-file.new { animation: notif-in .5s var(--spring) both; }
.mx-fname { max-width: 88px; padding: 1px 4px; border-radius: 4px; font-size: 11px; font-weight: 500; line-height: 1.25; text-align: center; overflow-wrap: anywhere; text-shadow: 0 0 6px rgba(255,255,255,.9); }
.fi { position: relative; display: block; width: 40px; height: 50px; border-radius: 3px 10px 3px 3px; background: #fff; box-shadow: 0 2px 6px rgba(16, 18, 30, .22); }
.fi::before { content: ""; position: absolute; top: 0; right: 0; width: 11px; height: 11px; border-radius: 0 0 0 4px; background: linear-gradient(225deg, transparent 50%, #dcdde3 50%); }
.fi em { position: absolute; left: 5px; right: 5px; bottom: 8px; padding: 1px 0; border-radius: 2px; font: 800 8.5px/1.2 "Geist", sans-serif; font-style: normal; text-align: center; color: #fff; }
.fi-pdf em { background: #e2362b; }
.fi-xls em { background: #1d7a46; }
.fi-mp3 em { background: #a24bf2; font-size: 10px; }
.fi-txt em { background: #8a8b95; }
.fi-img { width: 52px; height: 40px; margin: 5px 0; border-radius: 3px; border: 2px solid #fff; background: linear-gradient(#7cc4ff 0 45%, #2f8fd8 45% 62%, #f3d9a4 62%); }
.fi-img::before { display: none; }

/* Dock */
.mx-dock { position: absolute; z-index: 3; left: 50%; bottom: 6px; transform: translateX(-50%); display: flex; gap: 7px; padding: 6px 8px; border-radius: 17px; background: rgba(255, 255, 255, .38); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 10px 30px -10px rgba(16, 18, 30, .3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.dk { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; box-shadow: 0 2px 5px rgba(16, 18, 30, .2); }
.dk img { width: 100%; height: 100%; border-radius: 9px; }
.d1 { background: linear-gradient(160deg, #6ac3ff, #1e6ff0); }
.d2 { background: linear-gradient(160deg, #fff, #dfe3ea); }
.d2::after { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 3px solid #2f7dff; }
.d3 { background: linear-gradient(160deg, #6cf08a, #19b84a); }
.d4 { background: linear-gradient(160deg, #ffe073, #ffb200); }
.d5 { background: linear-gradient(160deg, #ff8a80, #f2453a); }
.d6 { background: #111; }

/* Banners */
.mx-banners { position: absolute; z-index: 10; top: 33px; right: 10px; width: 330px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.mxb {
  position: relative; pointer-events: auto; display: grid; grid-template-columns: 34px 1fr auto; gap: 2px 10px; align-items: center;
  padding: 10px 12px; border-radius: 17px; background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow: inset 0 0 0 .5px rgba(0,0,0,.12), 0 18px 40px -16px rgba(16, 18, 30, .4);
  animation: banner-in .6s var(--spring) both;
}
.mxb.out { animation: banner-out .4s var(--ease) forwards; }
.mxb .app { grid-row: span 2; }
.mxb-t { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.mxb-t em { font-style: normal; font-size: 11px; color: #8a8b95; font-weight: 400; }
.mxb-b { grid-column: 2 / 4; font-size: 13px; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mxb-acts { grid-column: 2 / 4; display: flex; gap: 6px; margin-top: 6px; }
.mxb-acts button { border: 0; padding: 4px 12px; border-radius: 8px; font-size: 12px; font-weight: 600; background: rgba(0, 0, 0, .06); cursor: pointer; }
.mxb-acts button:hover { background: rgba(0, 0, 0, .11); }
.mxb-reply { grid-column: 2 / 4; display: none; align-items: center; gap: 6px; margin-top: 8px; }
.mxb.replying .mxb-reply { display: flex; }
.mxb.replying .mxb-acts { display: none; }
.mxb-reply input { flex: 1; min-width: 0; padding: 6px 10px; border: 0; border-radius: 9px; font-size: 12.5px; background: #fff; box-shadow: inset 0 0 0 1px #dcdde3; outline: none; }
.mxb-reply input:focus { box-shadow: inset 0 0 0 1.5px var(--accent); }
.mxb-reply button { width: 28px; height: 28px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--accent); cursor: pointer; }
.mxb-reply button svg { width: 14px; height: 14px; transform: scaleX(-1) rotate(180deg); }
.xbtn { position: absolute; z-index: 2; left: -7px; top: -7px; width: 21px; height: 21px; border: 0; border-radius: 50%; display: grid; place-items: center; padding: 0; color: #555; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.2), 0 2px 6px rgba(0,0,0,.15); cursor: pointer; opacity: 0; transform: scale(.6); transition: .2s var(--spring); }
.xbtn svg { width: 10px; height: 10px; }
*:hover > .xbtn, .xbtn:focus-visible, .show-x .xbtn { opacity: 1; transform: none; }
.app { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex: none; }
.app svg { width: 58%; height: 58%; }

/* Notification Centre */
.mx-nc { position: absolute; z-index: 9; top: 25px; right: 0; bottom: 0; width: 330px; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; background: rgba(240, 242, 250, .72); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); box-shadow: -12px 0 40px -20px rgba(16,18,30,.35); transform: translateX(105%); transition: transform .5s var(--ease); }
.mx-nc.open { transform: none; }
.mx-nc header { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; font-size: 14px; }
.mx-nc header button { border: 0; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(0,0,0,.07); cursor: pointer; }
.mx-nc-group { display: flex; align-items: center; gap: 6px; padding: 4px 4px 0; font-size: 11.5px; font-weight: 600; color: #6b6c76; }
.mx-nc-group img { width: 14px; height: 14px; border-radius: 4px; }
.mx-nc-list { display: flex; flex-direction: column; gap: 8px; }
.mx-nc-list .mxb { animation: notif-in .45s var(--spring) both; }
.mx-nc-empty { display: none; padding: 30px 0; text-align: center; font-size: 13px; color: #8a8b95; }
.mx-nc.empty .mx-nc-empty { display: block; }
.mx-nc.empty .mx-nc-group, .mx-nc.empty header button { display: none; }

/* PingDrop popover */
.mx-pop { position: absolute; z-index: 11; top: 31px; right: 150px; width: 236px; opacity: 0; transform: translateY(-6px) scale(.96); transform-origin: top right; pointer-events: none; transition: opacity .25s, transform .35s var(--spring); }
.mx-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.mx-pop img { width: 100%; border-radius: 16px; box-shadow: 0 0 0 .5px rgba(0,0,0,.3), 0 30px 60px -20px rgba(0, 0, 0, .55); }

.mx-key { position: absolute; z-index: 12; left: 168px; top: 300px; padding: 8px 14px; border-radius: 10px; font: 600 16px/1 "Geist Mono", monospace; background: #fff; box-shadow: inset 0 -3px 0 #dcdde3, 0 0 0 1px #e2e2e9, 0 10px 24px -8px rgba(16,18,30,.35); opacity: 0; transform: translateY(10px) scale(.9); transition: .35s var(--spring); }
.mx-key.show { opacity: 1; transform: none; }
.mx-key.press { transform: translateY(2px) scale(.96); box-shadow: inset 0 0 0 #dcdde3, 0 0 0 1px #e2e2e9; }
.mx-ghost { position: absolute; z-index: 13; left: 0; top: 0; pointer-events: none; opacity: 0; }
.mx-ghost.on { opacity: .9; }
.mx-cursor { position: absolute; z-index: 20; left: 0; top: 0; width: 22px; height: 22px; fill: #111; stroke: #fff; stroke-width: 1.4; pointer-events: none; opacity: 0; transform: translate(380px, 260px); transition: transform .8s cubic-bezier(.45, 0, .2, 1), opacity .3s; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.mx-cursor.on { opacity: 1; }
.mx-cursor.fast { transition-duration: .5s, .3s; }
.mx-cursor.press path { transform: scale(.85); transform-origin: 5px 2px; }

/* Phone */
.ph { position: absolute; z-index: 5; left: 772px; top: 58px; width: 220px; }
.ph-frame { aspect-ratio: 220 / 477; padding: 8px; border-radius: 44px; background: linear-gradient(150deg, #34353b, #101114 60%); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.1), 0 40px 80px -30px rgba(16, 18, 30, .5); }
.ph-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; font-size: 11px; color: #111; user-select: none; -webkit-user-select: none; }
.ph-status { position: absolute; z-index: 4; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 9px 18px 0; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: 1; transition: opacity .3s; }
.ph-screen.app-mode .ph-status { opacity: 0; }
.ph-st-ic { display: inline-flex; align-items: center; gap: 3px; }
.ph-st-ic svg { width: 11px; height: 11px; }
.ph-st-ic b { margin-left: 2px; transition: color .3s; }
.ph-st-ic b.low { color: var(--red); }
.ph-layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.ph-layer.on { opacity: 1; transform: none; pointer-events: auto; }
.ph-app img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ph-lock { padding: 44px 9px 10px; background: linear-gradient(165deg, #c9dbff, #ead7ff 50%, #ffe2cc); }
.ph-clock { text-align: center; font-size: 54px; font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ph-date { text-align: center; font-size: 11.5px; font-weight: 500; margin-top: 6px; color: #333; }
.ph-notifs { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
.phn { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 1px 8px; align-items: center; padding: 9px 10px; border-radius: 17px; background: rgba(255, 255, 255, .86); box-shadow: 0 6px 16px -10px rgba(16,18,30,.4); animation: phn-in .5s var(--spring) both; }
.phn.out { animation: phn-out .4s var(--ease) forwards; }
.phn .app { width: 26px; height: 26px; border-radius: 8px; font-size: 12px; grid-row: span 2; }
.phn b { font-size: 11px; display: flex; justify-content: space-between; }
.phn b em { font-style: normal; font-weight: 400; color: #888; font-size: 10px; }
.phn > span { font-size: 11px; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phn .you { grid-column: 2; font-size: 10.5px; color: var(--accent); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: notif-in .4s var(--spring) both; }
.phn .pbar { grid-column: 2; height: 3px; border-radius: 2px; background: #e4e5ea; overflow: hidden; margin-top: 3px; }
.phn .pbar em { display: block; height: 100%; width: 0; background: var(--blue); animation: fill 1.4s var(--ease) forwards; }
.phn .xbtn { left: auto; right: -5px; top: -5px; }
.ph-chat { display: flex; flex-direction: column; background: #fff; }
.ph-chat header { display: flex; align-items: center; gap: 8px; padding: 34px 12px 10px; border-bottom: 1px solid #eee; }
.ph-chat header b { display: block; font-size: 12.5px; }
.ph-chat header small { font-size: 10px; color: var(--green); }
.ph-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, #ff8fb1, #c56bff); }
.ph-msgs { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 10px 60px; background: #f7f7fa; }
.ph-msgs p { max-width: 82%; padding: 7px 10px; border-radius: 14px; font-size: 11px; line-height: 1.35; animation: notif-in .4s var(--spring) both; }
.ph-msgs .in { align-self: flex-start; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); border-bottom-left-radius: 4px; }
.ph-msgs .out { align-self: flex-end; color: #fff; background: var(--accent); border-bottom-right-radius: 4px; }
.ph-input { position: absolute; left: 9px; right: 9px; bottom: 12px; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 6px 0 12px; border-radius: 18px; background: #f0f1f5; font-size: 11px; color: #999; }
.ph-input span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-input.filled span { color: #111; }
.ph-send { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); flex: none; position: relative; }
.ph-send::after { content: ""; position: absolute; left: 8px; top: 8px; width: 9px; height: 9px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg) translate(-1px, 1px); }
.ph-paste { position: absolute; left: 12px; top: -34px; padding: 6px 12px; border-radius: 10px; font-size: 11px; color: #fff; background: #2b2c31; box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); opacity: 0; transform: translateY(6px) scale(.9); transition: .3s var(--spring); }
.ph-paste.show { opacity: 1; transform: none; }
.ph-touch { position: absolute; z-index: 15; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(37, 99, 255, .18); box-shadow: inset 0 0 0 2px rgba(37, 99, 255, .45); opacity: 0; pointer-events: none; }
.ph-touch.go { animation: touch .7s var(--ease); }

/* Packets flying between the two */
.flyers { position: absolute; z-index: 30; inset: 0; pointer-events: none; }
.flyer { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 28px -8px rgba(37, 99, 255, .4); }
.flyer svg { width: 21px; height: 21px; }
.flyer::after { content: ""; position: absolute; inset: -6px; border-radius: 18px; border: 2px solid currentColor; opacity: .25; animation: halo 1s ease-out infinite; }

.demo-hint { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--faint); min-height: 22px; transition: opacity .3s; }

/* Phone frame for the gallery */
.phone-frame { padding: 9px; border-radius: 46px; background: linear-gradient(150deg, #34353b, #101114 60%); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .1); }

/* Try-it switcher */
.tryit {
  display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap;
  width: fit-content; margin: 44px auto 0; padding: 5px; border-radius: 16px;
  background: var(--soft); box-shadow: inset 0 0 0 1px var(--line);
}
.tryit-label { padding: 0 10px 0 8px; font-size: 13px; font-weight: 600; color: var(--faint); }
.tryit button {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s;
}
.tryit button svg { width: 16px; height: 16px; }
.tryit button:hover { color: var(--text); }
.tryit button.on { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.tryit button i { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.tryit.auto button.on i { animation: progress var(--dur, 4.6s) linear forwards; }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee { margin-top: 72px; padding: 22px 0; border-block: 1px solid var(--line); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: 15px; font-weight: 600; color: var(--faint); white-space: nowrap; }
.marquee span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 120px 0; }
.section-soft { background: var(--soft); border-block: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 60px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2 { font-size: clamp(34px, 4.8vw, 56px); font-weight: 750; letter-spacing: -.04em; }
.sub { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* ── Bento ───────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 24px;
  padding: 28px; border-radius: var(--radius); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* Soft light that follows the cursor */
[data-spot]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 7%, transparent), transparent 60%);
}
[data-spot]:hover::before { opacity: 1; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-lg); }
.card-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 32px; }
.card-wide .card-copy { flex: 1; }
.card-wide .mock { flex: 1.15; margin-top: 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; margin-bottom: 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.tag svg { width: 13px; height: 13px; color: var(--accent); }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.card-copy p { color: var(--muted); font-size: 15px; }
.card-copy p.hint, .hint { margin-top: 14px; font-size: 13px; font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.hint::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: ping 2s infinite; }
.mock { position: relative; margin-top: auto; padding: 16px; border-radius: 18px; background: var(--mock); box-shadow: inset 0 0 0 1px var(--line); }


/* ── Feature cards: a little Mac and phone in each ───────── */
.bento { grid-template-columns: repeat(2, 1fr); }
.card-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 36px; }
.card-wide .card-copy { flex: 0 0 34%; }
.card-wide .duo { flex: 1; margin-top: 0; }
.ctrl { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.ctrl-note { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.chipbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 11px; font-size: 13.5px; font-weight: 600; background: var(--text); color: #fff; cursor: pointer; box-shadow: 0 8px 18px -10px rgba(10,10,12,.6); transition: transform .2s var(--spring); }
.chipbtn:hover { transform: translateY(-1px); }
.chipbtn:active { transform: scale(.96); }
.chipbtn svg { width: 15px; height: 15px; }
.ctrl-batt { margin-top: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.ctrl-batt .batt-range { flex: 1; min-width: 120px; }
.ctrl-batt b { width: 42px; text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
.batt-range { -webkit-appearance: none; appearance: none; height: 12px; border-radius: 8px; cursor: pointer; outline: none;
  background: linear-gradient(90deg, var(--bc, var(--green)) 0 var(--v, 57%), var(--line) var(--v, 57%) 100%); }
.batt-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 4px 10px rgba(16,18,30,.2); transition: transform .2s var(--spring); }
.batt-range::-webkit-slider-thumb:active { transform: scale(1.15); }
.batt-range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 4px 10px rgba(16,18,30,.2); }
.seg { display: inline-flex; align-self: flex-start; padding: 3px; border-radius: 11px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; padding: 6px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: transparent; cursor: pointer; transition: .2s; }
.seg button.on { background: #fff; color: var(--text); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.away { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; align-self: flex-start; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.away input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.away i { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--line-2); transition: background .25s; }
.away i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--spring); }
.away input:checked + i { background: var(--blue); }
.away input:checked + i::after { transform: translateX(16px); }
.away input:focus-visible + i { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

.duo { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 14px; margin-top: auto; padding: 22px 16px 14px; border-radius: 18px; background: var(--mock); box-shadow: inset 0 0 0 1px var(--line); }
.mm { position: relative; flex: 1 1 auto; max-width: 300px; }
.card-wide .mm { max-width: 430px; }
.mm-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 6px solid #111; border-bottom-width: 8px; border-radius: 11px 11px 4px 4px; font-size: 10px; color: #111;
  background: radial-gradient(60% 70% at 15% 20%, #a9c4ff 0, transparent 60%), radial-gradient(55% 65% at 85% 15%, #f6c1e6 0, transparent 60%), radial-gradient(60% 70% at 70% 100%, #a2e9d7 0, transparent 60%), #e9ecff; }
.mm-base { height: 7px; margin: 0 -9%; border-radius: 1px 1px 9px 9px; background: linear-gradient(#ececf0, #b4b6be); }
.mm-bar { position: relative; z-index: 2; height: 15px; display: flex; align-items: center; gap: 6px; padding: 0 7px; font-size: 8.5px; font-weight: 600; background: rgba(255, 255, 255, .55); }
.mm-bar svg { width: 9px; height: 9px; }
.mm-bar img { width: 10px; height: 10px; }
.mm-bar img.bump { animation: bump .5s var(--spring); }
.mm-sp { flex: 1; }
.mm-batt { display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; transition: color .3s; }
.mm-batt svg { width: 12px; height: 12px; }
.mm-batt.low { color: var(--red); }
.mm-banners { position: absolute; z-index: 3; top: 20px; right: 6px; width: 64%; display: flex; flex-direction: column; gap: 5px; }
.mmb, .mpn { position: relative; display: flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 9px; background: rgba(255, 255, 255, .9); box-shadow: 0 5px 12px -6px rgba(16,18,30,.35); font-size: 9px; animation: notif-in .45s var(--spring) both; }
.mmb .app, .mpn .app { width: 18px; height: 18px; border-radius: 5px; font-size: 9px; }
.mmb div, .mpn div { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.mmb b, .mpn b { font-size: 9px; }
.mmb span, .mpn span { font-size: 8.5px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mmb.out, .mpn.out { animation: banner-out .35s var(--ease) forwards; }
.mmb .xbtn, .mpn .xbtn { width: 15px; height: 15px; left: -5px; top: -5px; }
.mmb .xbtn svg, .mpn .xbtn svg { width: 7px; height: 7px; }
.mmb-alert { display: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 40%, transparent), 0 5px 12px -6px rgba(16,18,30,.35); }
.mmb-alert.show { display: flex; }
.mmb-alert em { font-style: normal; font-weight: 700; color: var(--red); }

.mp { position: relative; flex: none; width: 96px; }
.card-wide .mp { width: 124px; }
.mp-screen { position: relative; aspect-ratio: 9 / 19.5; overflow: hidden; border: 4px solid #111; border-radius: 17px; background: #fff; font-size: 8.5px; color: #111; }
.mp-lock { background: linear-gradient(165deg, #c9dbff, #ead7ff 50%, #ffe2cc); }
.mp-status { display: flex; justify-content: space-between; padding: 5px 9px 0; font-size: 7px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mp-status b.low { color: var(--red); }
.mp-clock { text-align: center; font-size: 24px; font-weight: 300; line-height: 1.1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.card-wide .mp-clock { font-size: 30px; }
.mp-notifs { display: flex; flex-direction: column; gap: 4px; padding: 8px 5px; }
.mpn { padding: 4px 5px; border-radius: 7px; gap: 4px; font-size: 7.5px; }
.mpn .app { width: 14px; height: 14px; border-radius: 4px; font-size: 7.5px; }
.mpn b { font-size: 7.5px; }
.mpn span { font-size: 7px; }
.card-wide .mpn b { font-size: 8.5px; }
.card-wide .mpn span { font-size: 8px; }

/* Clipboard */
.mm-win { position: absolute; left: 9%; right: 9%; top: 27%; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px -10px rgba(16,18,30,.45); }
.mm-win .mx-tl { height: 14px; gap: 3px; padding: 0 5px; }
.mm-win .mx-tl i { width: 5px; height: 5px; }
.mm-win .mx-tl span { font-size: 7px; }
.mm-field, .mp-input input { display: block; width: 100%; border: 0; outline: 0; background: transparent; font: 500 10px/1.3 "Geist Mono", ui-monospace, monospace; color: #111; }
.mm-field { padding: 8px 8px 10px; }
.mm-field:not([readonly]) { cursor: text; }
.mm-field:not([readonly]):focus, .mp-input input:not([readonly]):focus { background: color-mix(in srgb, var(--accent) 6%, #fff); }
.mm-flag, .mp-flag { position: absolute; padding: 2px 6px; border-radius: 6px; font-size: 7.5px; font-weight: 700; color: #fff; background: var(--green); opacity: 0; transform: scale(.8); transition: .3s var(--spring); }
.mm-flag { right: 6px; top: 18px; }
.mp-flag { left: 50%; bottom: 52px; transform: translateX(-50%) scale(.8); }
.mm-flag.show { opacity: 1; transform: none; }
.mp-flag.show { opacity: 1; transform: translateX(-50%); }
.mp-chat { display: flex; flex-direction: column; padding: 10px 5px; }
.mp-chat .in { align-self: flex-start; max-width: 85%; padding: 4px 6px; border-radius: 7px; background: #f0f1f5; font-size: 7.5px; }
.mp-push { position: absolute; left: 5px; right: 5px; bottom: 30px; padding: 4px 0; border: 0; border-radius: 7px; font: 700 7px/1.2 "Geist", sans-serif; color: #fff; background: var(--accent); cursor: pointer; opacity: 0; transform: translateY(4px); pointer-events: none; transition: .25s var(--spring); }
.duo.p2m .mp-push { opacity: 1; transform: none; pointer-events: auto; }
.mp-push:active { transform: scale(.95); }
.mp-input { position: absolute; left: 5px; right: 5px; bottom: 8px; padding: 5px 7px; border-radius: 9px; background: #f0f1f5; }
.mp-input input { font-size: 8px; }
.mp-input input:not([readonly]) { cursor: text; }
.card[data-f="clip"] .duo.p2m .mm-win { box-shadow: 0 0 0 1.5px var(--accent), 0 8px 20px -10px rgba(16,18,30,.45); }

/* Files */
.mm-files { position: absolute; right: 5px; top: 20px; bottom: 5px; display: flex; flex-direction: column; flex-wrap: wrap-reverse; align-content: flex-start; gap: 3px; }
.mm-file { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 52px; padding: 3px 2px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; transition: background .15s, opacity .3s, transform .2s var(--spring); }
.mm-file:hover { background: rgba(255,255,255,.45); }
.mm-file:active { transform: scale(.94); }
.mm-file.lift { opacity: .3; }
.mm-file.new { animation: notif-in .5s var(--spring) both; }
.mm-file .fi { width: 20px; height: 25px; border-radius: 2px 5px 2px 2px; }
.mm-file .fi::before { width: 6px; height: 6px; }
.mm-file .fi em { left: 2px; right: 2px; bottom: 4px; font-size: 5px; }
.mm-file .fi-img { width: 26px; height: 20px; margin: 2px 0; border-width: 1px; }
.mm-file small { max-width: 50px; font-size: 6.5px; font-weight: 600; line-height: 1.15; text-align: center; overflow-wrap: anywhere; text-shadow: 0 0 4px #fff; }
.mp-h { padding: 6px 7px 3px; font-size: 6.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a8b95; }
.mp-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 5px; }
.mp-photos button { aspect-ratio: 1; border: 0; border-radius: 4px; cursor: pointer; transition: transform .2s var(--spring), opacity .3s; }
.mp-photos button:hover { transform: scale(1.06); }
.mp-photos button.lift { opacity: .3; }
.ph1 { background: linear-gradient(#7cc4ff 0 45%, #2f8fd8 45% 62%, #f3d9a4 62%); }
.ph2 { background: radial-gradient(circle at 70% 30%, #ffd166 0 18%, transparent 19%), linear-gradient(#ff9a8b, #ff6a88 60%, #5b2a86); }
.ph3 { background: linear-gradient(160deg, #a8e063, #56ab2f 60%, #2d6a1f); }
.mp-dl { display: flex; flex-direction: column; gap: 3px; padding: 0 5px; }
.mp-empty { font-size: 7px; color: #9a9ba6; padding: 2px 2px; }
.dli { display: flex; flex-direction: column; gap: 2px; padding: 4px 5px; border-radius: 6px; background: #f3f4f8; font-size: 7px; font-weight: 600; animation: notif-in .4s var(--spring) both; }
.dli span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dli i { height: 2px; border-radius: 2px; background: #e1e2e8; overflow: hidden; }
.dli i em { display: block; height: 100%; width: 0; background: var(--blue); animation: fill 1.1s var(--ease) forwards; }
.dli.done { color: var(--green); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 40%, transparent); }
.mm.over .mm-screen { box-shadow: 0 0 0 3px var(--accent); }

/* Connection */
.duo-link { align-items: center; gap: 0; }
.wire { position: relative; flex: 0 0 48px; height: 2px; align-self: center; margin-bottom: 12px; background: repeating-linear-gradient(90deg, var(--green) 0 7px, transparent 7px 11px) 0 0 / 22px 2px; animation: wire 0.9s linear infinite; transition: flex-basis .6s var(--ease); }
.duo-link .mm { max-width: 250px; }
.mm-center, .mp-center { position: absolute; inset: 15px 0 0; display: grid; place-items: center; align-content: center; gap: 4px; }
.mp-center { inset: 14px 0 0; }
.link-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: 9px; font-weight: 700; color: var(--green); background: #fff; box-shadow: 0 4px 10px -6px rgba(16,18,30,.35); transition: color .3s; }
.link-pill svg { width: 11px; height: 11px; }
.link-dot { width: 14px; height: 14px; border-radius: 50%; color: var(--green); background: currentColor; animation: ping 2s infinite; transition: color .3s; }
.mp-center small { font-size: 7.5px; font-weight: 700; color: #555; }
.is-away .wire { flex-basis: 96px; background-image: repeating-linear-gradient(90deg, var(--blue) 0 3px, transparent 3px 8px); }
.is-away .mp { transform: translateX(8px) scale(.92); opacity: .9; }
.is-away .link-pill, .is-away .link-dot { color: var(--blue); }
.duo-link .mp { transition: transform .6s var(--ease), opacity .6s; }

/* Privacy wire */
.wire-cipher { flex: 0 0 104px; height: auto; margin: 0 -2px 12px; padding: 7px 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); cursor: default; outline: none; animation: none; z-index: 1; }
.wire-cipher::before, .wire-cipher::after { content: ""; position: absolute; top: 50%; width: 14px; height: 2px; background: repeating-linear-gradient(90deg, var(--faint) 0 3px, transparent 3px 6px); }
.wire-cipher::before { right: 100%; } .wire-cipher::after { left: 100%; }
.wire-cipher code { font: 600 9.5px/1.3 "Geist Mono", ui-monospace, monospace; color: var(--muted); text-align: center; min-height: 13px; white-space: nowrap; }
.wire-cipher small { font-size: 6.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.wire-cipher.plain code { color: var(--green); }
.wire-cipher:focus-visible { box-shadow: inset 0 0 0 1.5px var(--accent); }

/* Updates */
.mmb.upd img { width: 18px; height: 18px; border-radius: 5px; }
.mmb.upd button { border: 0; padding: 3px 7px; border-radius: 6px; font-size: 8px; font-weight: 700; color: #fff; background: #ff9f0a; cursor: pointer; transition: transform .2s var(--spring), background .3s; }
.mmb.upd button:hover { transform: scale(1.08); }
.upd-bar { display: block; height: 2px; border-radius: 2px; background: transparent; margin-top: 2px; overflow: hidden; }
.upd-bar em { display: block; height: 100%; width: 0; background: #ff9f0a; }
.upd.busy .upd-bar { background: #e1e2e8; }
.upd.busy .upd-bar em { animation: fill 1.6s var(--ease) forwards; }
.upd.done button { background: var(--green); pointer-events: none; }

/* ── Gallery ─────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; perspective: 1200px; }
.shot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.shot-media { width: 100%; max-width: 240px; aspect-ratio: 240 / 524; display: grid; place-items: center; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); }
.shot .phone-frame { width: 100%; border-radius: 38px; padding: 8px; }
.shot .phone-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }
.mac-shot { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); }
.shot figcaption { text-align: center; font-size: 14px; color: var(--muted); }
.shot figcaption b { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }

/* ── Steps ───────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 24px 26px 28px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.step-art { height: 130px; margin-bottom: 22px; border-radius: 16px; background: var(--mock); box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; justify-content: center; gap: 14px; overflow: hidden; }
.app-tile { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #2fbf6f; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); animation: bob 4s ease-in-out infinite; }
.app-tile.dark { color: #fff; background: var(--text); animation-delay: -2s; }
.app-tile svg { width: 26px; height: 26px; }
.plus { font-size: 22px; font-weight: 600; color: var(--faint); }
.qr { position: relative; width: 84px; height: 84px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.qr::before { content: ""; position: absolute; inset: 8px; background:
  linear-gradient(var(--text) 0 0) 0 0 / 22px 22px no-repeat,
  linear-gradient(var(--text) 0 0) 100% 0 / 22px 22px no-repeat,
  linear-gradient(var(--text) 0 0) 0 100% / 22px 22px no-repeat,
  repeating-conic-gradient(var(--text) 0 25%, transparent 0 50%) 0 0 / 11px 11px; opacity: .9; border-radius: 3px; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); box-shadow: 0 0 12px 3px color-mix(in srgb, var(--accent) 55%, transparent); animation: scan 2.4s ease-in-out infinite; }
.done-check { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--green); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--green) 70%, transparent); animation: pop 3s var(--spring) infinite; }
.done-check svg { width: 24px; height: 24px; }
.num { display: block; font: 600 13px/1 "Geist Mono", monospace; color: var(--accent); margin-bottom: 10px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── Pro ─────────────────────────────────────────────────── */
.pro {
  position: relative; padding: 1.5px; border-radius: 32px;
  background: conic-gradient(from var(--angle), #ffe08a, #f0a500, #ffd1f1, #c9b8ff, #ffe08a);
  animation: spin 8s linear infinite;
  box-shadow: 0 40px 90px -40px rgba(217, 154, 0, .45);
}
.pro-inner {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center;
  padding: 52px; border-radius: 31px;
  background: radial-gradient(60% 90% at 0% 0%, #fff7e0, transparent 60%), #fff;
}
.pro-badge { display: inline-block; padding: 5px 11px; border-radius: 9px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #3a2a00; background: linear-gradient(135deg, #ffd65a, #f0a500); box-shadow: 0 6px 16px -6px rgba(240,165,0,.7); }
.pro h2 { margin: 18px 0 14px; }
.pro-head p { color: var(--muted); font-size: 17px; }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--gold); }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ping 2s infinite; }
.pro-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pro-list li { padding: 14px 16px; border-radius: 15px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); display: flex; flex-direction: column; gap: 2px; transition: transform .25s var(--ease), box-shadow .25s; }
.pro-list li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #f3d58a, 0 14px 30px -16px rgba(217, 154, 0, .5); }
.pro-list b { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.pro-list b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #ffd65a, #f0a500); flex: none; }
.pro-list span { font-size: 13.5px; color: var(--muted); }
.pro-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ── New in 1.4 (reuses the Pro tiles, with a blue dot) ───── */
.new-in { margin-top: 28px; }
.new-in-title { font-size: 20px; margin: 0 0 12px; letter-spacing: -.01em; }
.new-list b::before { background: linear-gradient(135deg, #5b8cff, #2563ff); }
.new-list li:hover { box-shadow: inset 0 0 0 1px #bcd0ff, 0 14px 30px -16px rgba(37, 99, 255, .45); }

/* ── Download ────────────────────────────────────────────── */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 0 auto; }
.dl { position: relative; padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; overflow: hidden; isolation: isolate; }
.dl-top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 8px; }
.dl-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; }
.dl-ico svg { width: 28px; height: 28px; }
.dl-android { color: #2fbf6f; background: #e9f9f0; }
.dl-mac { color: var(--text); background: var(--mock); box-shadow: inset 0 0 0 1px var(--line); }
.dl-ver { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.dl-stats { list-style: none; padding: 0; margin: 0 0 14px; display: flex; gap: 10px; width: 100%; }
.dl-stats li { flex: 1; display: flex; flex-direction: column; padding: 10px 14px; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.dl-stats b { font-size: 22px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dl-stats span { font-size: 12.5px; color: var(--muted); }
.ft-star { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.ft-star svg { width: 11px; height: 11px; color: #f5b301; }
.dl h3 { font-size: 24px; }
.dl p { color: var(--muted); margin-bottom: 8px; }
.dl .btn { width: 100%; }
.brew { display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 6px; padding: 8px 8px 8px 12px; border-radius: 12px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.brew[hidden] { display: none; }
.brew code { flex: 1; font: 500 12.5px/1.4 "Geist Mono", ui-monospace, monospace; overflow-x: auto; white-space: nowrap; }
.copy { border: 0; border-radius: 8px; padding: 6px 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; cursor: pointer; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 22px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 500; color: var(--muted); background: var(--soft); flex: none; transition: transform .3s var(--spring), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--text); color: #fff; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ── Support ─────────────────────────────────────────────── */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 620px; margin: 0 auto; }
.sbtn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 18px; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: 16px; color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 12px 26px -14px rgba(16,18,30,.55);
  transition: transform .25s var(--spring), filter .2s, box-shadow .25s;
}
.sbtn:hover { transform: translateY(-3px); filter: brightness(1.04); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 18px 34px -14px rgba(16,18,30,.6); }
.sbtn svg { width: 20px; height: 20px; }
.s-coffee { background: #ffdd00; color: #141414; }
.s-star { background: #2da44e; }
.s-star:hover svg { animation: twirl .7s var(--spring); }
.s-bug { background: #ef5858; }
.s-bug:hover svg { animation: wiggle .5s ease-in-out; }
.s-mail { background: #6266f1; }
.s-mail:hover svg { animation: bump .5s var(--spring); }
.steam { position: absolute; left: calc(50% - 72px); top: 2px; display: flex; gap: 3px; pointer-events: none; }
.steam i { width: 3px; height: 10px; border-radius: 3px; background: rgba(20, 20, 20, .35); opacity: 0; }
.s-coffee:hover .steam i { animation: steam 1.2s ease-out infinite; }
.s-coffee:hover .steam i:nth-child(2) { animation-delay: .25s; }
.s-coffee:hover .steam i:nth-child(3) { animation-delay: .5s; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { padding: 52px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); font-size: 14px; }
.me { color: var(--text); font-weight: 650; text-decoration: none; background: linear-gradient(90deg, var(--accent), var(--accent-2)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.me:hover { background-size: 100% 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.legal { margin-top: 28px; font-size: 12px; color: var(--faint); }

/* ── Reveal on scroll ────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes sheen { to { background-position: -200% 0; } }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes halo { from { transform: scale(.85); opacity: .45; } to { transform: scale(1.25); opacity: 0; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes drop-in { 0% { opacity: 0; transform: translate(-60px, -40px) rotate(-14deg); } 25% { opacity: 1; } 75% { opacity: 1; transform: translate(0, 66px) rotate(0) scale(.7); } 100% { opacity: 0; transform: translate(0, 72px) scale(.2); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes notif-in { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes flash { 0% { background: color-mix(in srgb, var(--accent) 22%, transparent); } 100% { background: transparent; } }
@keyframes hop { 0% { top: 0; opacity: 1; } 100% { top: calc(100% - 8px); opacity: 1; } }
@keyframes fill { from { width: 0; } to { width: 100%; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes scan { 0%, 100% { top: 4px; } 50% { top: calc(100% - 6px); } }
@keyframes pop { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.18); } 20% { transform: scale(1); } }
@keyframes spin { to { --angle: 360deg; } }
@keyframes twirl { to { transform: rotate(144deg) scale(1.1); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px) scaleY(.6); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px) scaleY(1.2); } }

@keyframes banner-in { from { opacity: 0; transform: translateX(110%); } }
@keyframes banner-out { to { opacity: 0; transform: translateX(110%); } }
@keyframes phn-in { from { opacity: 0; transform: translateY(-16px) scale(.95); } }
@keyframes phn-out { to { opacity: 0; transform: translateX(110%); } }
@keyframes touch { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes wire { to { background-position: 22px 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .pro-inner { grid-template-columns: 1fr; padding: 38px; gap: 30px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .card-wide { flex-direction: column; align-items: stretch; gap: 24px; }
  .card-wide .card-copy { flex: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .snd { margin-left: auto; }
  .hero { padding-top: 48px; }
  .stats li { padding: 0 12px; font-size: 13px; }
  .tryit { width: 100%; }
  .tryit-label { width: 100%; text-align: center; padding: 6px 0 2px; }
  .tryit button { flex: 1 1 30%; justify-content: center; padding: 9px 8px; font-size: 13px; }
  .bento, .dl-grid, .support { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .duo { padding: 18px 10px 12px; gap: 10px; }
  .mp { width: 84px; }
  .card-wide .mp { width: 100px; }
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin: 0 -24px; padding: 0 24px 12px; perspective: none; }
  .shot { flex: 0 0 62%; scroll-snap-align: center; }
  .pro-inner { padding: 28px 22px; }
  .pro-list { grid-template-columns: 1fr; }
  .pro-list li:last-child:nth-child(odd) { grid-column: auto; }
  .section { padding: 84px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Pro, in action (pro-features.js) ────────────────────── */
.pro-demos-head { margin-top: 64px; }
.tag-pro em { margin-left: 4px; padding: 1px 6px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #8a5a00; background: linear-gradient(135deg, #ffe08a, #ffc23d); }
.tag-pro svg { color: #d99a00; }
.rp-caret { display: inline-block; width: 1px; height: 9px; margin-left: 1px; background: currentColor; vertical-align: middle; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* a little Finder-style window inside the Mac */
.mm-win { position: absolute; z-index: 3; left: 7%; right: 7%; top: 22px; bottom: 9px; display: flex; flex-direction: column; overflow: hidden; border-radius: 7px; background: rgba(255,255,255,.93); box-shadow: 0 8px 18px -8px rgba(16,18,30,.45), 0 0 0 .5px rgba(0,0,0,.12); }
.mm-win-bar { display: flex; align-items: center; gap: 3px; padding: 4px 6px; font-size: 7.5px; font-weight: 700; color: #555; border-bottom: 1px solid #eee; }
.mm-win-bar i { width: 5px; height: 5px; border-radius: 50%; background: #ff5f57; }
.mm-win-bar i:nth-child(2) { background: #febc2e; } .mm-win-bar i:nth-child(3) { background: #28c840; margin-right: 4px; }

/* Auto-send */
.as-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 7px; align-content: start; }
.as-file { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; font-size: 5.5px; color: #555; animation: notif-in .45s var(--spring) both; }
.as-file i { width: 70%; aspect-ratio: 9 / 16; border-radius: 3px; background: var(--g); box-shadow: 0 0 0 .5px rgba(0,0,0,.15), 0 3px 6px -3px rgba(0,0,0,.3); }
.as-file span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-phone { background: linear-gradient(170deg, #1d2140, #3b2a6b 55%, #6d3b8f); }
.as-app { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 12px 7px; }
.as-app i { aspect-ratio: 1; border-radius: 7px; background: rgba(255,255,255,.14); }
.as-app i:first-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; background: linear-gradient(135deg, #3ff2d2, #6d7bff); }
.as-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.as-flash.go { animation: as-flash .45s ease-out; }
@keyframes as-flash { 0% { opacity: .95; } 100% { opacity: 0; } }
.as-thumb { position: absolute; left: 6px; bottom: 9px; width: 24px; aspect-ratio: 9 / 19; border-radius: 4px; border: 1.5px solid #fff; background: linear-gradient(170deg, #1d2140, #6d3b8f); box-shadow: 0 6px 12px -4px rgba(0,0,0,.5); opacity: 0; transform: scale(.5); transition: .35s var(--spring); }
.as-thumb.show { opacity: 1; transform: none; }

/* Reply */
.rp-banner { position: absolute; z-index: 3; top: 20px; right: 6px; width: 72%; padding: 6px; border-radius: 9px; background: rgba(255,255,255,.93); box-shadow: 0 6px 14px -7px rgba(16,18,30,.45); font-size: 8.5px; animation: notif-in .45s var(--spring) both; }
.rp-head { display: flex; align-items: center; gap: 6px; }
.rp-head .app { width: 18px; height: 18px; border-radius: 5px; font-size: 9px; }
.rp-head div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.rp-head span { color: #555; }
.rp-field { position: relative; display: flex; align-items: center; min-height: 15px; margin-top: 5px; padding: 2px 18px 2px 6px; border-radius: 6px; background: #f0f1f5; color: #111; }
.rp-field .rp-caret { display: none; }
.rp-field.typing .rp-caret { display: inline-block; }
.rp-send { position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; color: #fff; background: #c7c9d1; transition: background .2s; }
.rp-send.on { background: #25d366; }
.rp-chathead { padding: 6px 8px 4px; font-size: 8px; font-weight: 700; border-bottom: 1px solid #f0f1f5; }
.rp-chat { gap: 4px; }
.rp-chat .out { align-self: flex-end; max-width: 85%; padding: 4px 6px; border-radius: 7px; background: #d9fdd3; font-size: 7.5px; animation: notif-in .45s var(--spring) both; }
.rp-chat .out small { margin-left: 3px; color: #34b7f1; font-size: 6px; }

/* Media */
.np { position: absolute; z-index: 3; top: 20px; right: 6px; width: 66%; display: grid; grid-template-columns: auto 1fr; gap: 4px 6px; padding: 6px; border-radius: 9px; background: rgba(255,255,255,.93); box-shadow: 0 6px 14px -7px rgba(16,18,30,.45); font-size: 8.5px; }
.np-cover { width: 24px; height: 24px; border-radius: 5px; background: var(--g, linear-gradient(135deg, #6d7bff, #c25cff)); transition: background .4s; }
.np-txt { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.25; }
.np-txt span { color: #666; }
.np-btns { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; }
.np-btns button { width: 18px; height: 18px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: #111; background: transparent; cursor: pointer; transition: transform .15s var(--spring), background .2s; }
.np-btns button:hover { background: rgba(0,0,0,.07); }
.np-btns button:active { transform: scale(.85); }
.np-btns svg { width: 11px; height: 11px; fill: currentColor; }
.np-btns .np-play svg { width: 13px; height: 13px; }
.np-bar { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: #e4e5ea; overflow: hidden; }
.np-bar i { display: block; height: 100%; width: 0; background: #111; }
.mp-player { display: flex; align-items: center; gap: 5px; margin: 10px 5px 0; padding: 5px; border-radius: 9px; background: rgba(255,255,255,.75); font-size: 7.5px; }
.mp-player .np-cover { width: 20px; height: 20px; border-radius: 4px; }
.mp-player div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mp-player span { color: #666; }

/* History */
.hs-q { display: flex; align-items: center; gap: 4px; margin: 5px 6px 3px; padding: 2px 6px; border-radius: 5px; background: #f0f1f5; font-size: 7.5px; min-height: 13px; }
.hs-q span { color: #8a8b95; }
.hs-list { display: flex; flex-direction: column; padding: 0 6px; overflow: hidden; }
.hs-row { display: flex; align-items: center; gap: 5px; padding: 3px 0; border-bottom: 1px solid #f2f2f5; font-size: 7px; max-height: 24px; transition: max-height .35s var(--ease), opacity .3s, padding .35s; overflow: hidden; }
.hs-row.hide { max-height: 0; opacity: 0; padding: 0; border-bottom-width: 0; }
.hs-row .app { width: 13px; height: 13px; border-radius: 4px; font-size: 7px; }
.hs-row div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.hs-row div span { color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-row small { color: #9a9ba6; font-size: 6px; }
.hs-row mark { background: #ffe58a; border-radius: 2px; padding: 0 1px; }

/* Widget */
.wg-home { background: linear-gradient(165deg, #20264a, #3d2a6f 60%, #7a3a86); }
.wg { margin: 10px 5px 0; padding: 6px; border-radius: 11px; background: rgba(255,255,255,.95); box-shadow: 0 6px 14px -8px rgba(0,0,0,.5); font-size: 7px; }
.wg-top { display: flex; align-items: center; gap: 4px; }
.wg-top img { width: 14px; height: 14px; border-radius: 4px; }
.wg-top div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.wg-top div b, .wg-top div span { overflow: hidden; text-overflow: ellipsis; }
.wg-top div span { color: #777; font-size: 5.5px; }
.wg-top em { font-style: normal; font-weight: 800; color: #1fb455; }
.wg-top .wg-chg { color: #1fb455; font-weight: 700; }
.wg-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: 5px; }
.wg-btns span, .wg-btns button { padding: 4px 0; border: 0; border-radius: 6px; text-align: center; font: 700 6px/1.2 "Geist", sans-serif; color: #4f5bff; background: #eef0ff; }
.wg-btns button { cursor: pointer; color: #fff; background: #4f5bff; animation: wg-nudge 2.4s ease-in-out infinite; }
.wg-btns button.on { background: #ef4444; animation: none; }
@keyframes wg-nudge { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.1); } 90% { transform: scale(.97); } }
.wg-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 12px 9px; }
.wg-apps i { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.18); }
.wg-ring { position: absolute; z-index: 3; left: 50%; top: 52%; width: 62%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px; border-radius: 10px; background: rgba(30,31,38,.92); color: #fff; font-size: 8px; text-align: center; opacity: 0; transform: translate(-50%, -45%) scale(.9); pointer-events: none; transition: .3s var(--spring); }
.wg-ring.show { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.wg-ring button { padding: 2px 10px; border: 0; border-radius: 6px; font: 700 7.5px/1.4 "Geist", sans-serif; color: #111; background: #fff; cursor: pointer; }
.wg-waves { position: relative; width: 20px; height: 20px; display: grid; place-items: center; color: #8c96ff; }
.wg-waves svg { width: 14px; height: 14px; }
.wg-ring.show .wg-waves::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid currentColor; animation: halo 1s ease-out infinite; }
.mp-player.bump { animation: bump .5s var(--spring); }

/* ── Email card (contact.js) ─────────────────────────────── */
.mailcard { position: fixed; z-index: 1000; width: min(320px, calc(100vw - 24px)); padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 50px -18px rgba(16,18,30,.35); animation: notif-in .3s var(--spring) both; }
.mailcard p { margin: 0 0 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mailcard-addr { display: block; font-size: 16px; word-break: break-all; user-select: all; }
.mailcard-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mailcard-btns > * { flex: 1; padding: 8px 10px; border: 0; border-radius: 10px; font: 600 13px/1.2 "Geist", sans-serif; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; color: var(--text); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.mailcard-btns > *:first-child { color: #fff; background: var(--text); box-shadow: none; }
