/* Memry marketing site. Plain CSS, no build step. */

:root {
  --ink: #141318;
  --text: #4a4955;
  --muted: #76747f;
  --line: rgba(20, 19, 24, 0.08);
  --line-strong: rgba(20, 19, 24, 0.14);
  --bg: #ffffff;
  --soft: #f7f6fb;
  --violet: #8b2cff;
  --violet-deep: #6d17e0;
  --violet-soft: #f3ecff;
  --maxw: 1180px;
  --radius: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 19, 24, 0.06), 0 2px 8px rgba(20, 19, 24, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(38, 18, 84, 0.22), 0 4px 12px -4px rgba(38, 18, 84, 0.1);
  --shadow-window: 0 50px 100px -30px rgba(38, 18, 84, 0.42), 0 24px 48px -24px rgba(38, 18, 84, 0.3);
  --font: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
kbd { font-family: var(--font); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--violet) 55%, transparent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--maxw) + 48px); margin: 0 auto; padding: 0 24px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 13px; border: 0;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #9a43ff 0%, var(--violet) 55%, #7c1ff5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(60, 10, 140, 0.35), 0 8px 22px -8px rgba(122, 31, 245, 0.65);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 2px 4px rgba(60, 10, 140, 0.3), 0 14px 30px -10px rgba(122, 31, 245, 0.7); }
.btn-secondary { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-sm); }
.btn-secondary:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 6px 18px -6px rgba(20, 19, 24, 0.18); }
.btn-white { color: var(--ink); background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.btn-white:hover { transform: translateY(-1px); }
.btn-small { height: 38px; padding: 0 16px; font-size: 15px; border-radius: 11px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; font-size: 15px; }
.link-arrow .icon { width: 14px; height: 14px; transition: transform 0.2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.82); }
.nav { display: flex; align-items: center; height: 68px; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink); opacity: 0.86; transition: opacity 0.15s ease; }
.nav-links a:hover { opacity: 1; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 22px; height: 22px; }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; padding: 64px 0 0; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -80px 0 auto; height: 900px; z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(168, 120, 255, 0.22), transparent 70%),
    radial-gradient(40% 40% at 18% 20%, rgba(120, 170, 255, 0.16), transparent 70%),
    radial-gradient(40% 40% at 85% 25%, rgba(255, 140, 200, 0.12), transparent 70%);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: 0 0 0 5px rgba(139, 44, 255, 0.1), 0 8px 20px -8px rgba(20, 19, 24, 0.5);
}
.pill .icon { width: 16px; height: 16px; color: #c9a6ff; }
.hero h1 {
  margin: 28px auto 0;
  font-size: clamp(40px, 6.6vw, 78px); font-weight: 700; line-height: 1.04; letter-spacing: -0.038em;
}
.hero h1 > span { display: block; padding-bottom: 0.06em; }
.gradient-text {
  background: linear-gradient(92deg, var(--ink) 0%, #3b1a7a 35%, var(--violet) 75%, #c14dff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 24px auto 0; max-width: 620px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--text); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14.5px; color: var(--muted); }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 15px; height: 15px; color: var(--violet); }

.hero-stage {
  position: relative; margin: 64px auto 0; max-width: 1240px; padding: 56px 56px 0;
  border-radius: 36px 36px 0 0; overflow: hidden;
  background:
    radial-gradient(70% 90% at 15% 10%, #b9a1ff 0%, transparent 60%),
    radial-gradient(60% 80% at 90% 0%, #9fd0ff 0%, transparent 60%),
    radial-gradient(70% 90% at 70% 100%, #ffb3d9 0%, transparent 60%),
    linear-gradient(180deg, #d9cbff 0%, #efe7ff 100%);
}
.hero-stage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92)); pointer-events: none; }
.hero-shot { position: relative; margin: 0 auto; max-width: 1100px; aspect-ratio: 16 / 10; }
.hero-shot img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 34px 50px rgba(38, 18, 84, 0.35)); transition: opacity 0.5s ease; }
.hero-shot img.is-hidden { opacity: 0; }
.theme-switch {
  position: absolute; z-index: 2; left: 50%; bottom: 36px; transform: translateX(-50%);
  display: inline-flex; padding: 4px; border-radius: 999px; gap: 2px;
  background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 10px 30px -10px rgba(38, 18, 84, 0.45);
}
.theme-switch button {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: background 0.2s, color 0.2s;
}
.theme-switch button .icon { width: 16px; height: 16px; }
.theme-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Kinds marquee ---------------------------------------------------------- */
.kinds { padding: 44px 0 20px; text-align: center; }
.kinds-label { font-size: 14px; color: var(--muted); }
.marquee { position: relative; margin-top: 22px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-group { padding-right: 14px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 14px; border-radius: 14px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); color: var(--ink); font-weight: 600; font-size: 16px; white-space: nowrap;
}
.chip-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #fff; }
.chip-ico .icon { width: 16px; height: 16px; stroke-width: 2; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections --------------------------------------------------------------- */
.section { padding: 128px 0; }
.section-tight { padding: 96px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.032em; }
.lead { text-wrap: pretty; margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--text); max-width: 600px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head .btn { flex: none; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Collect ---------------------------------------------------------------- */
.collect { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 64px; align-items: center; }
.ways { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.ways li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ways strong { display: block; color: var(--ink); font-weight: 600; font-size: 16.5px; }
.ways span { display: block; font-size: 15.5px; color: var(--text); line-height: 1.5; margin-top: 2px; }
.way-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); }
.way-ico .icon { width: 20px; height: 20px; }
kbd.key {
  display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 6px;
  border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong), 0 1px 0 rgba(20, 19, 24, 0.12);
  font-size: 13px; font-weight: 600; color: var(--ink); vertical-align: 1px;
}

.stage {
  position: relative; border-radius: 28px; padding: 40px; overflow: hidden;
  background:
    radial-gradient(80% 90% at 0% 0%, #c6b3ff 0%, transparent 60%),
    radial-gradient(70% 80% at 100% 100%, #ffc4e1 0%, transparent 60%),
    linear-gradient(135deg, #e7ddff, #f6f0ff);
}
.stage.blue { background: radial-gradient(80% 90% at 0% 0%, #a9cbff 0%, transparent 60%), radial-gradient(70% 80% at 100% 100%, #c9b8ff 0%, transparent 60%), linear-gradient(135deg, #dfeaff, #f1f5ff); }
.stage.dusk { background: radial-gradient(80% 90% at 0% 0%, #5b3bd6 0%, transparent 60%), radial-gradient(70% 90% at 100% 100%, #d9468f 0%, transparent 60%), linear-gradient(135deg, #1d1636, #2a1d4e); }
.stage.peach { background: radial-gradient(80% 90% at 0% 0%, #ffcfb0 0%, transparent 60%), radial-gradient(70% 80% at 100% 100%, #ffb3d1 0%, transparent 60%), linear-gradient(135deg, #fff0e6, #fff6f0); }
.stage.mint { background: radial-gradient(80% 90% at 0% 0%, #aeeccf 0%, transparent 60%), radial-gradient(70% 80% at 100% 100%, #a9d4ff 0%, transparent 60%), linear-gradient(135deg, #e3f8ef, #eef7ff); }
.window { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 1.806% / 2.889%; overflow: hidden; background: #fff; box-shadow: var(--shadow-window); }
.window video, .window img { width: 100%; height: 100%; object-fit: cover; }
.shot { width: 100%; height: auto; filter: drop-shadow(0 30px 44px rgba(38, 18, 84, 0.32)); }
.video-toggle {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(20, 19, 24, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 0.2s ease;
}
.window:hover .video-toggle, .video-toggle:focus-visible { opacity: 1; }
.video-toggle .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.video-toggle.is-paused .i-pause { display: none; }

/* Bento ------------------------------------------------------------------ */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 28px 0; min-height: 400px;
  display: flex; flex-direction: column; isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(20, 19, 24, 0.05);
}
.tile h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.015em; }
.tile p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--text); max-width: 36ch; }
.tile.span-2 { grid-column: span 2; }
.tile.dark { color: rgba(255, 255, 255, 0.72); box-shadow: none; }
.tile.dark h3 { color: #fff; }
.tile.dark p { color: rgba(255, 255, 255, 0.7); }
.tile-visual { position: relative; flex: 1; margin-top: 24px; min-height: 220px; }
.tile-visual img { position: absolute; filter: drop-shadow(0 18px 30px rgba(38, 18, 84, 0.25)); }
.t-violet { background: linear-gradient(160deg, #f5efff 0%, #e2d3ff 100%); }
.t-blue { background: linear-gradient(160deg, #eef4ff 0%, #d4e4ff 100%); }
.t-peach { background: linear-gradient(160deg, #fff3ea 0%, #ffd9c6 100%); }
.t-mint { background: linear-gradient(160deg, #ecfbf4 0%, #cdeee0 100%); }
.t-cream { background: linear-gradient(160deg, #fcf8ef 0%, #f1e6cf 100%); }
.t-rose { background: linear-gradient(160deg, #fff0f6 0%, #fbd3e5 100%); }
.t-sky { background: linear-gradient(160deg, #effaff 0%, #cfeafc 100%); }
.t-night { background: radial-gradient(90% 70% at 100% 100%, rgba(139, 44, 255, 0.55), transparent 60%), radial-gradient(70% 60% at 0% 0%, rgba(64, 120, 255, 0.35), transparent 60%), linear-gradient(160deg, #17151f, #231a3d); }
.t-ink { background: radial-gradient(80% 70% at 50% 110%, rgba(139, 44, 255, 0.6), transparent 60%), linear-gradient(180deg, #141318, #1d1830); }

/* Carousel --------------------------------------------------------------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 360px; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  /* Bleed to the viewport edges while the first card lines up with the content column.
     (scroll-padding percentages resolve against the scroller, so the bleed is computed from the viewport.) */
  --bleed: calc((100vw - min(var(--maxw), 100vw - 48px)) / 2);
  margin: 0 calc(-1 * var(--bleed)); padding: 4px var(--bleed) 24px; scroll-padding: 0 var(--bleed);
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.slide-head { padding: 22px 24px 18px; }
.slide-title { display: flex; align-items: center; gap: 10px; font: 650 20px/1.2 var(--font-display); color: var(--ink); letter-spacing: -0.015em; }
.slide-title .icon { width: 20px; height: 20px; color: var(--violet); }
.slide-head p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--text); }
.slide-visual { position: relative; height: 300px; overflow: hidden; }
.slide-visual img { position: absolute; filter: drop-shadow(0 14px 24px rgba(38, 18, 84, 0.22)); }
.carousel-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.round-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-sm); transition: opacity 0.2s, transform 0.15s;
}
.round-btn:hover:not(:disabled) { transform: translateY(-1px); }
.round-btn:disabled { opacity: 0.35; cursor: default; }
.round-btn .icon { width: 18px; height: 18px; }

/* Paste mock (links tile) */
.paste-mock {
  position: absolute; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 14px; border-radius: 13px;
  width: 40%; max-width: 300px; background: #fff; box-shadow: var(--shadow-md); color: var(--text);
}
.paste-mock .icon { width: 16px; height: 16px; color: var(--violet); }
.paste-mock .url { flex: 1; min-width: 0; font: 500 13px/1 var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paste-arrow { position: absolute; width: 22px; height: 40px; color: var(--violet); opacity: 0.7; }

/* Split features --------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 72px; align-items: center; }
.split + .split { margin-top: 140px; }
.split.flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr); }
.split.flip .split-text { order: 2; }
.split-text .lead { font-size: 17.5px; }
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.45; }
.ticks .icon { width: 20px; height: 20px; color: var(--violet); margin-top: 1px; }
.ticks small { display: block; color: var(--text); font-weight: 400; font-size: 15px; margin-top: 2px; }

/* Share mock */
.share-scene { position: relative; aspect-ratio: 16 / 12; }
.mock-browser { position: absolute; inset: 4% 10% 16% 2%; border-radius: 18px; background: #fff; box-shadow: var(--shadow-window); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfafd; }
.mock-dots { display: flex; gap: 7px; }
.mock-dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mock-dots i:nth-child(2) { background: #febc2e; }
.mock-dots i:nth-child(3) { background: #28c840; }
.mock-url { flex: 1; height: 30px; border-radius: 9px; background: rgba(20, 19, 24, 0.05); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.mock-share { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--violet); background: var(--violet-soft); }
.mock-share .icon { width: 17px; height: 17px; }
.mock-page { padding: 26px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.mock-hero-img { grid-column: 1 / -1; height: 150px; border-radius: 14px; background: url("assets/art/dusk.webp") center / cover no-repeat, #eee; }
.mock-lines i { display: block; height: 10px; border-radius: 5px; background: rgba(20, 19, 24, 0.08); margin-bottom: 10px; }
.mock-lines i:nth-child(1) { width: 70%; height: 16px; background: rgba(20, 19, 24, 0.14); }
.mock-lines i:nth-child(3) { width: 85%; }
.mock-lines i:nth-child(4) { width: 60%; }
.share-menu {
  position: absolute; top: 17%; right: 0; width: 200px; padding: 6px; border-radius: 14px;
  background: rgba(250, 250, 252, 0.86); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(20, 19, 24, 0.08), 0 20px 40px -12px rgba(20, 19, 24, 0.3);
  font-size: 14px; color: var(--ink);
}
.share-menu div { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 8px; }
.share-menu hr { border: 0; height: 1px; background: var(--line); margin: 4px 8px; }
.share-menu .dot { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #d8d8de, #c4c4cc); }
.share-menu .dot.b { background: linear-gradient(135deg, #7cc3ff, #3a8cff); }
.share-menu .dot.g { background: linear-gradient(135deg, #7ee08a, #34c759); }
.share-menu .dot.y { background: linear-gradient(135deg, #ffe27a, #ffcc00); }
.share-menu img { width: 20px; height: 20px; }
.share-menu .is-active { background: var(--violet); color: #fff; font-weight: 600; }
.save-sheet {
  position: absolute; left: 0; bottom: 0; width: min(270px, 54%); padding: 16px; border-radius: 18px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-window);
}
.save-sheet h4 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; }
.save-sheet h4 img { width: 26px; height: 26px; }
.field { margin-top: 12px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field div { min-height: 34px; padding: 7px 10px; border-radius: 9px; background: rgba(20, 19, 24, 0.05); font-size: 14px; color: var(--ink); }
.field .tags { display: flex; gap: 6px; padding: 5px 6px; }
.field .tags span { padding: 3px 9px; border-radius: 7px; background: #e8dcff; color: #4d1aa8; font-size: 13px; font-weight: 500; }
.sheet-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.sheet-actions span { height: 30px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; background: rgba(20, 19, 24, 0.07); color: var(--ink); }
.sheet-actions span.primary { background: var(--violet); color: #fff; }

/* Compare slider ---------------------------------------------------------- */
.compare {
  position: relative; margin: 56px auto 0; max-width: 1100px; aspect-ratio: 16 / 10;
  user-select: none; -webkit-user-select: none; touch-action: pan-y; --pos: 50%;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.compare .compare-top { clip-path: inset(0 0 0 var(--pos)); }
.compare-frame { position: absolute; inset: 0; border-radius: 1.806% / 2.889%; box-shadow: var(--shadow-window); pointer-events: none; }
.compare-handle { position: absolute; top: -12px; bottom: -12px; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 19, 24, 0.12), 0 0 24px rgba(139, 44, 255, 0.4); pointer-events: none; }
.compare-knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 8px 24px -6px rgba(20, 19, 24, 0.45);
}
.compare-knob .icon { width: 22px; height: 22px; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; }
.compare-label { position: absolute; bottom: 18px; z-index: 1; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; pointer-events: none; }
.compare-label.l { left: 18px; background: rgba(255, 255, 255, 0.85); color: var(--ink); box-shadow: var(--shadow-sm); }
.compare-label.r { right: 18px; background: rgba(20, 19, 24, 0.8); color: #fff; }

/* Privacy ---------------------------------------------------------------- */
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.privacy-card { position: relative; overflow: hidden; border-radius: 28px; padding: 40px 40px 0; min-height: 520px; display: flex; flex-direction: column; }
.privacy-card h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.028em; line-height: 1.12; }
.privacy-card p { margin-top: 14px; font-size: 16.5px; line-height: 1.6; max-width: 44ch; }
.privacy-card.dark { background: radial-gradient(70% 60% at 50% 105%, rgba(139, 44, 255, 0.55), transparent 70%), radial-gradient(60% 50% at 0% 0%, rgba(80, 140, 255, 0.25), transparent 70%), linear-gradient(180deg, #121118, #1b1630); color: rgba(255, 255, 255, 0.72); }
.privacy-card.dark h3 { color: #fff; }
.privacy-card.light { background: radial-gradient(70% 60% at 100% 100%, #c9e2ff 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, #e5d7ff 0%, transparent 60%), linear-gradient(180deg, #f7f6fb, #eef2ff); }
.privacy-visual { position: relative; flex: 1; min-height: 260px; display: grid; place-items: center; }
.cloud-art { width: min(320px, 80%); }
.status-pill {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.status-pill .icon { width: 16px; height: 16px; }
.status-pill.glass { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.status-pill.solid { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.status-pill .ok { color: #34c759; }
.offline-art { position: relative; width: min(420px, 92%); aspect-ratio: 16 / 10.5; }
.offline-art .mini-window { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #fff url("assets/screens/hero-light.webp") top left / 180% auto no-repeat; box-shadow: var(--shadow-window); }
.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.mini-card { border-radius: 22px; padding: 28px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.mini-card .badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; margin-bottom: 18px; }
.mini-card .badge .icon { width: 22px; height: 22px; }
.mini-card h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.015em; }
.mini-card p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; }

/* Everyday bento ---------------------------------------------------------- */
.chip-art { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: 170px; height: 170px; border-radius: 34px; display: grid; place-items: center;
  background: linear-gradient(145deg, #2a2540, #121018); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 60px rgba(139, 44, 255, 0.7), 0 0 140px rgba(139, 44, 255, 0.35); }
.chip-art::before { content: ""; position: absolute; inset: -14px; border-radius: 42px; border: 2px dashed rgba(201, 166, 255, 0.35); }
.chip-art .icon { width: 70px; height: 70px; color: #d9c2ff; stroke-width: 1.4; }
.keys-art { position: absolute; inset: auto 0 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 20px; }
.keycap {
  display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 56px; padding: 0 14px; border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f1eef8); color: var(--ink); font: 600 22px/1 var(--font-display);
  box-shadow: inset 0 -3px 0 rgba(20, 19, 24, 0.08), 0 1px 0 rgba(20, 19, 24, 0.08), 0 10px 20px -10px rgba(38, 18, 84, 0.45);
}
.keycap.wide { min-width: 88px; font-size: 18px; }
.drag-art { position: absolute; left: 28px; right: 28px; bottom: 32px; height: 190px; }
.drag-art .finder { position: absolute; right: 0; bottom: 0; width: 62%; height: 150px; border-radius: 14px; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1px rgba(20, 19, 24, 0.06), var(--shadow-md); }
.drag-art .finder::before { content: ""; position: absolute; left: 14px; top: 14px; width: 42px; height: 8px; border-radius: 4px; background: rgba(20, 19, 24, 0.1); box-shadow: 0 18px 0 -1px rgba(20, 19, 24, 0.07), 0 36px 0 -1px rgba(20, 19, 24, 0.07); }
.drag-art img { position: absolute; left: 0; top: 0; width: 46%; transform: rotate(-6deg); filter: drop-shadow(0 20px 26px rgba(38, 18, 84, 0.35)); }
.drag-art .cursor { position: absolute; left: 36%; top: 48%; width: 28px; height: 28px; color: var(--ink); }
.drag-art .plus { position: absolute; left: calc(36% + 18px); top: calc(48% + 18px); width: 20px; height: 20px; border-radius: 50%; background: #34c759; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.update-art { position: absolute; left: 28px; right: 28px; bottom: 34px; border-radius: 16px; padding: 18px; background: #fff; box-shadow: var(--shadow-md); display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.tile-visual .update-art img { position: static; width: 44px; height: 44px; filter: none; }
.update-art b { display: block; color: var(--ink); font-size: 15px; }
.update-art span { display: block; font-size: 13.5px; color: var(--muted); }
.update-art .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(20, 19, 24, 0.08); overflow: hidden; }
.update-art .bar i { display: block; width: 72%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #9a43ff, #5a8cff); }
.toggle-art { position: absolute; left: 28px; right: 28px; bottom: 34px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); padding: 6px 16px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; height: 42px; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row span { display: inline-flex; align-items: center; gap: 9px; }
.toggle-row .icon { width: 16px; height: 16px; color: var(--muted); }
.switch { width: 34px; height: 20px; border-radius: 10px; background: #34c759; position: relative; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.switch.off { background: #d9d8de; }
.switch.off::after { right: auto; left: 2px; }
.tahoe-shot { position: absolute; left: 0; right: -90px; top: 4px; }
.tile-visual .tahoe-shot img { position: static; width: 100%; border-radius: 14px; filter: none; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }

/* Shortcuts --------------------------------------------------------------- */
.shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 48px; }
.shortcut { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.shortcut span { color: var(--ink); font-weight: 500; }
.shortcut .combo { display: inline-flex; gap: 5px; }
.shortcut kbd.key { min-width: 32px; height: 30px; font-size: 15px; border-radius: 8px; }

/* FAQ --------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none;
  color: var(--ink); font: 600 18px/1.35 var(--font-display); letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 20px; height: 20px; color: var(--muted); transition: transform 0.25s ease; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .answer { padding: 0 40px 24px 0; font-size: 16.5px; line-height: 1.65; }
.faq-list .answer p + p { margin-top: 10px; }

/* Final CTA + footer ------------------------------------------------------ */
.finale { position: relative; overflow: hidden; background: #0d0c12; color: rgba(255, 255, 255, 0.7); isolation: isolate; }
.finale::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 45% at 20% 20%, rgba(139, 44, 255, 0.45), transparent 70%),
    radial-gradient(35% 40% at 80% 15%, rgba(64, 120, 255, 0.35), transparent 70%),
    radial-gradient(40% 40% at 55% 45%, rgba(255, 90, 170, 0.18), transparent 70%);
  filter: blur(10px);
}
.cta { padding: 140px 0 120px; text-align: center; }
.cta img { width: 112px; height: 112px; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(139, 44, 255, 0.55)); }
.cta h2 { margin-top: 30px; color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.cta p { margin: 18px auto 0; max-width: 560px; text-wrap: balance; font-size: 18px; color: rgba(255, 255, 255, 0.72); }
.cta .btn { margin-top: 34px; }
.cta small { display: block; margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 56px 0 44px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 34ch; color: rgba(255, 255, 255, 0.55); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.6); transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.45); font-size: 14px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { color: #fff; }

/* Video dialog ------------------------------------------------------------ */
.video-dialog { width: min(1100px, 92vw); padding: 0; border: 0; border-radius: 20px; background: transparent; overflow: visible; }
.video-dialog::backdrop { background: rgba(13, 12, 18, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.video-dialog video { width: 100%; border-radius: 1.806% / 2.889%; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); background: #fff; }
.dialog-close { position: absolute; top: -52px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255, 255, 255, 0.14); color: #fff; }
.dialog-close .icon { width: 20px; height: 20px; }

/* Reveal ------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .nav-links { gap: 20px; }
  .collect, .split, .split.flip, .faq { grid-template-columns: 1fr; gap: 44px; }
  .split.flip .split-text { order: 0; }
  .split + .split { margin-top: 110px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.span-2 { grid-column: span 2; }
  .mini-cards { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(20, 19, 24, 0.25);
  }
  .site-header.menu-open .nav-links a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .privacy-grid { grid-template-columns: 1fr; }
  .shortcuts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-stage { padding: 28px 18px 0; border-radius: 24px 24px 0 0; margin-top: 48px; }
  .theme-switch { bottom: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .section-tight { padding: 72px 0; }
  .nav-cta .btn { height: 36px; padding: 0 14px; font-size: 14px; }
  .nav-cta .btn .icon { display: none; }
  .bento { grid-template-columns: 1fr; }
  .tile.span-2 { grid-column: auto; }
  .tile { min-height: 380px; }
  .stage { padding: 18px; border-radius: 20px; }
  .carousel-track { grid-auto-columns: 84%; }
  .privacy-card { padding: 28px 24px 0; min-height: 460px; }
  .share-scene { aspect-ratio: 4 / 5; }
  .mock-browser { inset: 0 0 34% 0; }
  .mock-page { padding: 16px; }
  .mock-hero-img { height: 90px; }
  .share-menu { display: none; }
  .tahoe-shot { right: -70%; top: 8px; }
  .tile.dark.t-night { min-height: 400px !important; }
  .save-sheet { left: 50%; bottom: 4%; width: 84%; transform: translateX(-50%); }
  .tile.span-2 .tile-visual img:first-child { width: 46% !important; }
  .paste-mock { width: 46% !important; left: 51% !important; }
  .paste-mock kbd { display: none; }
  .paste-arrow { left: 72% !important; }
  .tile.span-2 .tile-visual img:last-child { width: 46% !important; left: 51% !important; }
  .theme-switch { position: relative; left: auto; bottom: auto; transform: none; z-index: 2; display: flex; width: max-content; margin: 14px auto 16px; }
  .theme-switch button { height: 32px; padding: 0 14px; font-size: 13px; }
  .compare-label { bottom: 10px; font-size: 12px; }
  .faq-list .answer { padding-right: 0; }
  .hero-note { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
