/* The landing page's own stylesheet (it doesn't load the site's Tailwind build).
   Ported from saas/prototypes/site-landing.html; light and dark follow the system,
   or the nav's switch (data-theme on <html>). */
:root {
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", ui-sans-serif, system-ui, sans-serif;
  --bg: #fbfbf9; --bg-2: #f3f3f0; --card: #ffffff; --ink: #16181d; --ink-2: #4a4f59; --muted: #6f7480; --faint: #a3a7af;
  --line: #e7e7e3; --line-2: #dcdcd7; --btn: #16181d; --btn-ink: #ffffff; --soft: #efefeb;
  --shadow-lg: 0 40px 80px -30px rgba(20, 22, 28, .28), 0 12px 30px -12px rgba(20, 22, 28, .14);
  /* the pretend Chrome, light */
  --c-frame: #dfe3e8; --c-tab: #ffffff; --c-tab-hover: #eceff2; --c-bar: #ffffff; --c-omni: #f0f2f4; --c-omni-ink: #1f1f1f; --c-ink: #1f1f1f; --c-muted: #5f6368; --c-line: #d6dade; --c-page: #ffffff; --c-group: #5f6368;
  --c-sug: #ffffff; --c-sug-sel: #eef1f4;
  --dot-a: #ff5f57; --dot-b: #febc2e; --dot-c: #28c840;
  --wall: url(/landing/wall-light.webp);
  --g-grey: #5f6368; --g-blue: #1a73e8; --g-red: #d93025; --g-yellow: #f9ab00; --g-green: #188038; --g-pink: #d01884; --g-purple: #a142f4; --g-cyan: #007b83; --g-orange: #fa903e; --g-ink: #ffffff;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0c0e; --bg-2: #111215; --card: #141518; --ink: #eef0f3; --ink-2: #b9bdc6; --muted: #8a8f98; --faint: #5f636b;
  --line: #22242a; --line-2: #2c2f36; --btn: #eef0f3; --btn-ink: #0b0c0e; --soft: #1a1c20;
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 12px 30px -12px rgba(0, 0, 0, .5);
  --c-frame: #1f2023; --c-tab: #35363a; --c-tab-hover: #2a2b2e; --c-bar: #35363a; --c-omni: #202124; --c-omni-ink: #e8eaed; --c-ink: #e8eaed; --c-muted: #9aa0a6; --c-line: #3c3d41; --c-page: #202124; --c-group: #9aa0a6;
  --c-sug: #2b2c30; --c-sug-sel: #3a3b40;
  --wall: url(/landing/wall-dark.webp);
  --g-grey: #9aa0a6; --g-blue: #8ab4f8; --g-red: #f28b82; --g-yellow: #fdd663; --g-green: #81c995; --g-pink: #ff8bcb; --g-purple: #c58af9; --g-cyan: #78d9ec; --g-orange: #fcad70; --g-ink: #202124;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c0e; --bg-2: #111215; --card: #141518; --ink: #eef0f3; --ink-2: #b9bdc6; --muted: #8a8f98; --faint: #5f636b;
    --line: #22242a; --line-2: #2c2f36; --btn: #eef0f3; --btn-ink: #0b0c0e; --soft: #1a1c20;
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 12px 30px -12px rgba(0, 0, 0, .5);
    --c-frame: #1f2023; --c-tab: #35363a; --c-tab-hover: #2a2b2e; --c-bar: #35363a; --c-omni: #202124; --c-omni-ink: #e8eaed; --c-ink: #e8eaed; --c-muted: #9aa0a6; --c-line: #3c3d41; --c-page: #202124; --c-group: #9aa0a6;
    --c-sug: #2b2c30; --c-sug-sel: #3a3b40;
    --wall: url(/landing/wall-dark.webp);
    --g-grey: #9aa0a6; --g-blue: #8ab4f8; --g-red: #f28b82; --g-yellow: #fdd663; --g-green: #81c995; --g-pink: #ff8bcb; --g-purple: #c58af9; --g-cyan: #78d9ec; --g-orange: #fcad70; --g-ink: #202124;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
kbd { font: 600 .78em/1 var(--font); display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .4em; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--card); color: var(--ink); margin: 0 1px; vertical-align: .08em; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .01em; }
h1, h2, h3 { letter-spacing: -.025em; margin: 0; font-weight: 650; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; }
.lede { color: var(--ink-2); font-size: 17px; max-width: 560px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn.small { height: 36px; padding: 0 14px; font-size: 13.5px; gap: 8px; }
.btn.small svg { width: 15px; height: 15px; }
.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }


/* ---------- Hero ---------- */
.hero { text-align: center; padding: 92px 0 0; }
.hero h1 { font-size: clamp(40px, 5.6vw, 54px); line-height: 1.02; letter-spacing: -.04em; margin-top: 14px; }
.hero .lede { margin: 20px auto 0; }
.hero .cta { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero .cta small { color: var(--muted); font-size: 13px; }

/* ---------- The pretend Chrome ---------- */
/* The desk: a wallpaper behind the window, fading into the page on every side */
.desk { position: relative; width: min(1760px, 100%); margin: 28px auto 0; padding: 150px 0 160px; }
.wall { position: absolute; inset: 0; background: var(--wall) center 70% / cover no-repeat; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 76%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 76%, transparent); mask-composite: intersect; }
.demo { position: relative; margin: 0 auto; width: min(1000px, 100% - 32px); }
/* Just the window's top: tabs and toolbar. The popup drops onto the wallpaper below. */
.browser { position: relative; border-radius: 12px; background: var(--c-bar); box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); text-align: left; font: 13px/1.35 var(--font); color: var(--c-ink); }
.strip { height: 46px; background: var(--c-frame); border-radius: 11px 11px 0 0; overflow: hidden; display: flex; align-items: flex-end; padding: 0 8px 0 12px; user-select: none; }
.lights { display: flex; gap: 8px; align-self: center; padding: 0 14px 0 4px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: var(--dot-a); }
.lights i:nth-child(2) { background: var(--dot-b); }
.lights i:nth-child(3) { background: var(--dot-c); }
/* Tabs as Chrome draws them: the one you're on joins the toolbar with curved feet,
   the others are divided by hairlines, and a narrow tab keeps only its icon. */
.tabs { flex: 1; min-width: 0; display: flex; align-items: flex-end; height: 100%; padding: 0 12px 0 2px; overflow: hidden; }
.tab { position: relative; flex: 1 1 230px; max-width: 240px; min-width: 30px; height: 38px; display: flex; color: var(--c-muted); container-type: inline-size; white-space: nowrap; cursor: default; transition: max-width .45s ease, min-width .45s ease, opacity .35s ease; }
.tab .t-in { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 12px; }
.tab .t-hl { position: absolute; inset: 4px 3px 5px; border-radius: 8px; background: var(--c-tab-hover); opacity: 0; transition: opacity .12s; }
.tab:hover:not(.on) .t-hl { opacity: 1; }
.tab.on { background: var(--c-tab); color: var(--c-ink); border-radius: 10px 10px 0 0; z-index: 2; --rc: var(--c-tab); }
.tab.on.ing { --rc: var(--gc); }
.tab .t-foot { display: none; position: absolute; bottom: 0; width: 12px; height: 12px; pointer-events: none; }
.tab.on .t-foot { display: block; }
/* The outline (in a group) runs along the outside of the tab: the feet's arcs end where its sides do */
.tab .t-foot.l { left: -12px; background: radial-gradient(circle at 0 0, transparent 9.6px, var(--rc) 10px, var(--rc) 11.6px, var(--c-tab) 12px); }
.tab .t-foot.r { right: -12px; background: radial-gradient(circle at 100% 0, transparent 9.6px, var(--rc) 10px, var(--rc) 11.6px, var(--c-tab) 12px); }
/* The sides stop where the feet's arcs take over, so they don't run through them */
.tab .t-ring { display: none; position: absolute; inset: 0 -2px 12px -2px; border: 2px solid var(--rc); border-bottom: 0; border-radius: 12px 12px 0 0; pointer-events: none; }
.tab.on.ing .t-ring { display: block; }
.tab::after { content: ""; position: absolute; right: 0; top: 11px; bottom: 9px; width: 1px; background: var(--c-line); }
.tab.on::after, .tab:hover::after, .tab:has(+ .tab.on)::after, .tab:has(+ .tab:hover)::after, .tab:has(+ .tgroup)::after, .tab:last-child::after { opacity: 0; }
.tab .t-title { flex: 1; min-width: 0; overflow: hidden; font-size: 12.5px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 16px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 16px), transparent); }
.tab .t-x { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: var(--c-muted); }
.tab .t-x:hover { background: var(--c-tab-hover); color: var(--c-ink); }
.tab .t-x svg { width: 8px; height: 8px; }
.tab.pinned { flex: 0 0 44px; max-width: 44px; min-width: 44px; }
/* As Chrome does: a narrowing tab drops its close button first (except the one you're on),
   then keeps only its icon, and the tab you're on swaps that for its close button */
@container (max-width: 128px) { .tab:not(.on) .t-x { display: none; } .t-in { padding-right: 10px; } }
@container (max-width: 84px) {
  .t-in { justify-content: center; padding: 0; }
  .t-title, .t-x { display: none; }
  .on .t-in .fav { display: none; }
  .on .t-in .t-x { display: grid; }
}
.tab.pinned .t-title, .tab.pinned .t-x { display: none; }
.tab.pinned .t-in { justify-content: center; padding: 0; }
.tab.leaving { max-width: 0; min-width: 0; opacity: 0; overflow: hidden; }
.tab.arriving { animation: arrive .45s ease; overflow: hidden; }
@keyframes arrive { from { max-width: 0; min-width: 0; opacity: 0; } }
.fav { flex: none; width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; color: #fff; font: 700 9.5px/1 var(--font); position: relative; }
.sep { flex: none; width: 1px; height: 18px; background: var(--c-line); align-self: center; margin: 0 6px 0 4px; }
/* Groups, Bin among them: a coloured name, and a line under the group's tabs while it's open */
.tgroup { flex: none; position: relative; height: 100%; display: flex; align-items: center; padding: 0 5px 0 7px; cursor: pointer; user-select: none; }
.tgroup .pill { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; line-height: 24px; height: 24px; padding: 0 10px; border-radius: 8px; background: var(--gc); color: var(--g-ink); font: 600 12.5px/1 var(--font); }
.tgroup .pill { line-height: 24px; }   /* after the font shorthand, which resets it */
.tgroup:not(.shut)::before { content: ""; position: absolute; left: 7px; right: 0; bottom: 0; height: 2px; border-radius: 2px 0 0 2px; background: var(--gc); }
.tab.ing:not(.on)::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gc); }
.tab.ing.g-end:not(.on)::before { border-radius: 0 2px 2px 0; right: 6px; }
.tgroup.bump .pill { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.15); } }
.tab.in-bin { flex: 0 1 38px; min-width: 24px; max-width: 38px; opacity: .75; }
.newtab { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--c-ink); align-self: center; margin: 0 4px 0 6px; }
.newtab svg { width: 12px; height: 12px; }
.tsearch { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--c-ink); align-self: center; margin-left: 4px; }
.tsearch svg { width: 12px; height: 12px; }

.bar { height: 46px; background: var(--c-bar); border-radius: 0 0 11px 11px; display: flex; align-items: center; gap: 4px; padding: 0 10px; position: relative; z-index: 3; }
/* room under the window for the popup to open into */
.under { height: 300px; }
.bar .nav-i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--c-muted); }
.bar .nav-i svg { width: 15px; height: 15px; }
.omni { flex: 1; position: relative; margin: 0 8px; }
.omni-box { position: relative; height: 34px; border-radius: 17px; background: var(--c-omni); display: flex; align-items: center; gap: 10px; padding: 0 14px 0 12px; }
.omni-box .tune { width: 22px; height: 22px; margin-right: -2px; border-radius: 50%; display: grid; place-items: center; }
.omni.open .omni-box { border-radius: 17px 17px 0 0; background: var(--c-sug); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.omni-box svg { width: 14px; height: 14px; color: var(--c-muted); flex: none; }
.omni-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--c-omni-ink); font: 14px/1 var(--font); }
.omni-chip { display: none; align-items: center; gap: 6px; padding: 3px 9px 3px 6px; border-radius: 6px; background: var(--c-group); color: var(--c-frame); font: 600 12px/1 var(--font); flex: none; }
.omni-chip svg { width: 12px; height: 12px; color: inherit; }
.omni.keyword .omni-chip { display: inline-flex; }
.omni-sug { position: absolute; left: 0; right: 0; top: 34px; background: var(--c-sug); border-radius: 0 0 17px 17px; box-shadow: 0 10px 18px rgba(0,0,0,.18); padding: 6px 0 10px; display: none; }
.omni.open .omni-sug { display: block; }
.sug { display: flex; align-items: center; gap: 12px; padding: 7px 16px; font-size: 13.5px; cursor: pointer; }
.sug.sel { background: var(--c-sug-sel); }
.sug .s-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug .s-title b { font-weight: 700; }
.sug .s-dim { color: var(--c-muted); white-space: nowrap; }
.sug .s-ic { width: 16px; height: 16px; display: grid; place-items: center; color: var(--c-muted); flex: none; }
.sug .s-ic svg { width: 14px; height: 14px; }
.tool { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--c-ink); }
.tool svg { width: 17px; height: 17px; }
.tool.dim { color: var(--c-muted); }
.ext-badge { position: absolute; right: -3px; bottom: 1px; min-width: 16px; height: 14px; padding: 0 3px; border-radius: 4px; background: #202124; color: #fff; border: 1.5px solid var(--c-bar); font: 700 9.5px/11px var(--font); text-align: center; }
.tool-sep { flex: none; width: 1px; height: 20px; background: var(--c-line); margin: 0 6px; }
.avatar { flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #f6b38d, #c8643b); margin: 0 4px; }
/* The address as Chrome shows it: the site, then the rest greyed */
.omni-url { position: absolute; left: 40px; right: 44px; top: 0; bottom: 0; display: flex; align-items: center; font: 14px/1 var(--font); color: var(--c-omni-ink); pointer-events: none; white-space: nowrap; overflow: hidden; }
.omni-url i { font-style: normal; color: var(--c-muted); }
.omni.editing .omni-url { display: none; }
.omni:not(.editing) input { color: transparent; }
.omni-box .star { margin-left: auto; width: 16px; height: 16px; color: var(--c-muted); }



/* Few's notification, as macOS shows one from Chrome: top right of the screen, frosted */
.note { position: absolute; z-index: 20; top: 38px; right: max(16px, calc(50% - 506px)); width: 356px; display: flex; gap: 11px; align-items: center; padding: 11px 12px 11px 11px; border-radius: 18px;
  background: rgba(246, 246, 246, .74); color: #1d1d1f; border: .5px solid rgba(0, 0, 0, .12); box-shadow: 0 10px 34px rgba(0, 0, 0, .2), 0 1px 3px rgba(0, 0, 0, .08);
  backdrop-filter: blur(30px) saturate(1.8); -webkit-backdrop-filter: blur(30px) saturate(1.8); font: 13px/1.3 var(--mac);
  transform: translateX(calc(100% + 40px)); opacity: 0; transition: transform .5s cubic-bezier(.2, .9, .25, 1), opacity .3s; pointer-events: none; }
:root[data-theme="dark"] .note { background: rgba(48, 48, 50, .66); color: #f5f5f7; border-color: rgba(255, 255, 255, .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .note { background: rgba(48, 48, 50, .66); color: #f5f5f7; border-color: rgba(255, 255, 255, .14); } }
.note.show { transform: none; opacity: 1; pointer-events: auto; }
.note .n-app { width: 42px; height: 42px; flex: none; margin: -2px; }
.note .n-text { flex: 1; min-width: 0; }
.note .n-title { display: flex; gap: 8px; font-weight: 600; }
.note .n-title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note .n-when { margin-left: auto; font-weight: 400; font-size: 12px; opacity: .55; flex: none; }
.note .n-from { font-size: 12px; opacity: .6; }
.note .n-body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note .n-icon { width: 36px; height: 36px; border-radius: 8px; flex: none; background: #16181d; color: #fff; display: grid; place-items: center; }
.note .n-icon svg { width: 20px; height: 20px; }
/* on hover, as on a Mac: a close button at the corner and the action in place of the picture */
.note .n-close { position: absolute; left: -7px; top: -7px; width: 20px; height: 20px; border-radius: 50%; border: .5px solid rgba(0, 0, 0, .15); background: rgba(240, 240, 240, .95); color: #555; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .15s; padding: 0; }
.note .n-close svg { width: 8px; height: 8px; }
.note .n-act { display: none; flex: none; height: 28px; padding: 0 12px; border-radius: 8px; border: 0; background: rgba(0, 0, 0, .08); color: inherit; font: 500 12.5px/1 var(--mac); cursor: pointer; }
:root[data-theme="dark"] .note .n-act { background: rgba(255, 255, 255, .14); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .note .n-act { background: rgba(255, 255, 255, .14); } }
.note:hover .n-close { opacity: 1; }
.note.has-act:hover .n-act { display: block; }
.note.has-act:hover .n-icon, .note:hover .n-when { display: none; }

/* ---------- The Mac around the window: menu bar, sticky note, Dock ---------- */
.menubar { position: absolute; z-index: 6; top: 0; left: 3%; right: 3%; height: 28px; display: flex; align-items: center; gap: 18px; padding: 0 18px; font: 13px/1 var(--mac); color: #1d1d1f;
  background: rgba(246, 246, 246, .42); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
:root[data-theme="dark"] .menubar { color: #f5f5f7; background: rgba(20, 20, 24, .38); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .menubar { color: #f5f5f7; background: rgba(20, 20, 24, .38); } }
.menubar b { font-weight: 700; margin-left: 28px; }
.menubar .mb-menu { opacity: .9; }
.menubar .mb-end { margin-left: auto; margin-right: 28px; display: flex; align-items: center; gap: 14px; }
.menubar button { display: grid; place-items: center; width: 24px; height: 20px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: inherit; cursor: pointer; }
.menubar button:hover { background: rgba(127, 127, 127, .22); }
.menubar button svg, .menubar .mb-ic { width: 15px; height: 15px; }
.menubar .mb-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
.under { position: relative; }
.sticky { position: absolute; left: 6px; top: 48px; width: 220px; padding: 14px 16px 16px; background: #fff3a6; color: #3b3415; border-radius: 3px; box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .35), 0 2px 4px rgba(0, 0, 0, .12); transform: rotate(-2.4deg); font-size: 13.5px; line-height: 1.45; }
.sticky b { display: block; font-size: 14.5px; margin-bottom: 6px; }
.sticky ul { margin: 0; padding: 0 0 0 16px; display: grid; gap: 5px; }
.sticky kbd { background: rgba(255, 255, 255, .6); border-color: rgba(59, 52, 21, .25); color: inherit; }
.sticky small { display: block; margin-top: 10px; font-size: 12px; opacity: .75; }
.dock-row { display: flex; justify-content: center; }
.dock { display: flex; align-items: flex-end; gap: 6px; padding: 3px 6px 5px; border-radius: 20px; background: rgba(255, 255, 255, .34); border: 1px solid rgba(255, 255, 255, .45); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .3);
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); }
:root[data-theme="dark"] .dock { background: rgba(40, 40, 44, .42); border-color: rgba(255, 255, 255, .12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dock { background: rgba(40, 40, 44, .42); border-color: rgba(255, 255, 255, .12); } }
.d-app { position: relative; width: 58px; height: 58px; flex: none; transform: scale(var(--z, 1)); transform-origin: 50% 100%; margin: 0 calc((var(--z, 1) - 1) * 29px); transition: transform .14s ease-out, margin .14s ease-out; cursor: default; }
.d-app > img { display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.d-app::before { content: attr(data-name); position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) scale(calc(1 / var(--z, 1))); transform-origin: 50% 100%; padding: 4px 10px; border-radius: 6px; background: rgba(40, 40, 44, .85); color: #fff; font: 12px/1.2 var(--mac); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; }
.d-app:hover::before { opacity: 1; }
.d-app.running::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; color: var(--ink); opacity: .8; transform: scale(calc(1 / var(--z, 1))); }
.d-app.bounce { animation: dockBounce .7s ease; }
@keyframes dockBounce { 30% { translate: 0 -18px; } 55% { translate: 0 0; } 75% { translate: 0 -6px; } }

/* on a phone: no window, the popup on its own */
.demo-phone { display: none; }

/* ---------- Numbers ---------- */
.facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -96px; }
.fact { padding: 30px 28px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 40px -28px rgba(20, 22, 28, .3); }
.fact .big { font-size: 48px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.fact p { margin: 12px auto 0; color: var(--muted); font-size: 14.5px; max-width: 260px; }

section.block { padding: 120px 0 0; }
/* jumping to a section: block sections start with their own padding, so tuck some of it under the nav; the privacy panel has none, so leave room for the nav */
section.block { scroll-margin-top: -40px; }
.privacy { scroll-margin-top: 84px; }
.head { max-width: 640px; }
.head p { color: var(--ink-2); margin: 14px 0 0; font-size: 17px; }

/* ---------- The video ---------- */
.watch-link { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.watch-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.watch-link svg { width: 10px; height: 10px; }
.video { margin: 44px auto 0; max-width: 960px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0c0e; box-shadow: var(--shadow-lg); }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* ---------- Layouts ---------- */
.looks { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; margin-top: 48px; }
.look-list { display: grid; gap: 8px; }
.look { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.look:hover { background: var(--soft); }
.look[aria-pressed="true"] { background: var(--card); border-color: var(--line-2); box-shadow: 0 8px 24px -14px rgba(0,0,0,.25); }
.look svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-2); }
.look b { display: block; font-size: 15.5px; font-weight: 600; }
.look span { color: var(--muted); font-size: 14px; }
.look .def { font-size: 11px; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; }
.skins { display: flex; gap: 8px; margin-top: 20px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.skin { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 5px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer; }
.skin img { width: 28px; height: 29px; border-radius: 50%; object-fit: cover; }
.skin .off { width: 28px; height: 28px; border-radius: 50%; border: 1.5px dashed var(--faint); }
.skin[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.look-stage { position: sticky; top: 90px; }
.look-stage iframe { width: 340px; height: 600px; border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); display: block; background: transparent; }
.look-stage p { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; width: 340px; }

/* ---------- Features ---------- */
.rows { margin-top: 40px; }
.row > * { min-width: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0;  }
.row:first-child { border-top: 0; }
.row h3 { font-size: 24px; line-height: 1.2; }
.row p { color: var(--ink-2); margin: 12px 0 0; max-width: 460px; }
.row .more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--muted); text-underline-offset: 4px; }
.art { border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: 34px; min-height: 230px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow: hidden; }
/* little drawings of each feature */
.mini-strip { width: 100%; max-width: 420px; background: var(--c-frame); border-radius: 12px; padding: 10px 10px 0; display: flex; align-items: flex-end; gap: 2px; height: 56px; }
.mini-strip .tab { flex: 1; height: 34px; max-width: none; min-width: 0; }
/* a drawing, with no close buttons: narrow, it keeps its icon even on the tab you're on */
.mini-strip .tab.on .t-in .fav { display: grid; }
.mini-strip .group { margin-bottom: 6px; }
.shield-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; max-width: 380px; }
.shield-list li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.shield-list svg { width: 16px; height: 16px; flex: none; color: var(--ink-2); }
.shield-list .tag { margin-left: auto; font-size: 12px; color: var(--muted); }
.omni-mini { width: 100%; max-width: 420px; }
.omni-mini .omni-box { background: var(--c-sug); border: 1px solid var(--line); height: 42px; border-radius: 21px 21px 0 0; color: var(--c-ink); font-size: 14px; }
.omni-mini .omni-chip { display: inline-flex; }
.omni-mini .omni-sug { display: block; position: static; border: 1px solid var(--line); border-top: 0; box-shadow: none; }
.keys-art { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.keys-art .keys { display: flex; gap: 10px; }
.keys-art kbd { font-size: 22px; min-width: 64px; height: 64px; border-radius: 14px; border-bottom-width: 4px; }
.keys-art small { color: var(--muted); font-size: 13.5px; }
.sentence { width: 100%; max-width: 420px; display: grid; gap: 10px; }
.sentence .say { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
.sentence .say .caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--ink); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sentence .step { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-2); padding: 0 6px; opacity: 0; transform: translateY(4px); transition: .35s ease; }
.sentence .step.in { opacity: 1; transform: none; }
.sentence .step i { width: 22px; height: 22px; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font: 600 11px/1 var(--font); font-style: normal; color: var(--ink); flex: none; }


/* the agent's terminal, and the command to copy */
.term { width: 100%; max-width: 460px; min-width: 0; margin: 0; border-radius: 14px; background: #111215; border: 1px solid #23252b; color: #e6e8ec; font: 12.5px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; overflow: hidden; text-align: left; }
.term-bar { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #1f2126; }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #34363d; }
.term-body { padding: 16px 18px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.row .term p { margin: 0; max-width: none; color: inherit; }
.term .dim { color: #6b7079; }
.row .term .out { color: #9aa0a9; overflow-x: auto; }
.term .out p { white-space: pre; }
.term .out b { color: #fff; font-weight: 500; }
/* The script plays the lines in one by one (.anim, then .in); without it they're just there */
.term.anim .ln { opacity: 0; transform: translateY(4px); transition: .4s ease; }
.term.anim .ln.in { opacity: 1; transform: none; }
.cmd { display: flex; align-items: center; gap: 10px; margin-top: 18px; max-width: 460px; padding: 10px 10px 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.cmd button { flex: none; height: 28px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 500 12.5px/1 var(--font); cursor: pointer; }

/* ---------- Privacy ---------- */
.privacy { margin-top: 120px; background: #0d0e10; color: #eef0f3; border-radius: 28px; padding: 72px 64px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .privacy { background: #15161a; border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .privacy { background: #15161a; border: 1px solid var(--line); } }
.privacy .eyebrow { color: #8a8f98; }
.privacy h2 { max-width: 620px; margin-top: 12px; }
.privacy > p { color: #b9bdc6; max-width: 560px; margin: 16px 0 0; font-size: 17px; }
.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px; }
.pv-grid div { border-top: 1px solid #2a2c32; padding-top: 22px; }
.pv-grid b { display: block; font-size: 16px; }
.pv-grid span { display: block; margin-top: 8px; color: #9aa0a9; font-size: 14.5px; }
.privacy a.more { display: inline-block; margin-top: 40px; color: #b9bdc6; font-size: 14px; text-underline-offset: 4px; }

/* ---------- The founder's story ---------- */
.story { max-width: 760px; margin: 0 auto; }
.story h2 { margin-top: 12px; text-wrap: balance; }
.story-body { margin-top: 26px; display: grid; gap: 16px; color: var(--ink-2); font-size: 17.5px; line-height: 1.65; }
.story-body p { margin: 0; }
.story-foot { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.story .who { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.story .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.story .who b { display: flex; align-items: center; gap: 7px; font-size: 16px; }
.story .who .li { width: 16px; height: 16px; }
.story .who small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.story .who:hover b { text-decoration: underline; text-underline-offset: 3px; }
.story .read { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.story .read:hover { border-color: var(--ink); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 48px auto 0; }
.plans.three { grid-template-columns: repeat(3, 1fr); max-width: 1040px; }
.plan { border: 1px solid var(--line-2); border-radius: 20px; padding: 30px; background: var(--card); display: flex; flex-direction: column; }
.plan.best { border-color: var(--ink); box-shadow: 0 20px 50px -30px rgba(0,0,0,.35); }
.plan .p-name { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); }
.plan .p-name em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--btn-ink); background: var(--btn); border-radius: 999px; padding: 3px 10px; }
.plan .p-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan .p-price b { font-size: 48px; font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.plan .p-price span { color: var(--muted); font-size: 14px; }
.plan .p-note { color: var(--muted); font-size: 13px; margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; text-align: left; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ink); }
.center { text-align: center; }
.center .head { margin: 0 auto; }
.after-plans { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 36px; color: var(--muted); font-size: 13px; }

/* ---------- Questions ---------- */
.faq { max-width: 760px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 22px; color: var(--ink-2); max-width: 640px; }

.last { text-align: center; padding: 130px 0 110px; }
.last canvas { width: 80px; height: 86px; border-radius: 26px; display: block; margin: 0 auto 26px; }
.last h2 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.035em; }
.last .btn { margin-top: 30px; }

/* Fades in as it scrolls into view, only once the script is running (it adds .js to <html>): without it, everything simply shows. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .looks { grid-template-columns: 1fr; }
  .look-stage { position: static; display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 900px) {
  .browser, .under, .note, .menubar, .dock-row { display: none; }
  .demo-phone { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--muted); font-size: 14px; }
  .demo-phone iframe { width: 340px; max-width: 100%; height: 600px; border: 0; border-radius: 12px; box-shadow: var(--shadow-lg); }
  .row { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .row .art { order: 2; }
  .facts { grid-template-columns: 1fr; margin-top: -60px; }
  .desk { padding: 40px 0 100px; }
  /* no menu bar to sit on here: the wallpaper fades in softly instead */
  .wall { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); }
  .pv-grid { grid-template-columns: 1fr; gap: 22px; }
  .privacy { padding: 48px 26px; border-radius: 22px; }
  .plans, .plans.three { grid-template-columns: 1fr; }
  .plan.best { order: -1; }
  section.block { padding-top: 88px; }
  section.block { scroll-margin-top: -12px; }
}
@media (max-width: 520px) {
  .btn { white-space: nowrap; }
    .art { padding: 22px; }
  .look-stage iframe { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- What would otherwise be inline styles: the page's policy allows none ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav-i.off { opacity: .45; }
.head.wide { max-width: none; }
.head .measure { max-width: 560px; margin-left: auto; margin-right: auto; }
/* each site's favicon colour (landing.js picks the class) */
.fav { background: #5f6368; }
.fav.c-notion-so { background: #111111; }
.fav.c-github-com { background: #24292f; }
.fav.c-docs-google-com { background: #0f9d58; }
.fav.c-stripe-com { background: #635bff; }
.fav.c-figma-com { background: #f24e1e; }
.fav.c-linear-app { background: #5e6ad2; }
.fav.c-youtube-com { background: #ff0000; }
.fav.c-stackoverflow-com { background: #f48024; }
.fav.c-mail-google-com { background: #d93025; }
.fav.c-news-ycombinator-com { background: #ff6600; }
.fav.c-developer-mozilla-org { background: #1b1b1b; }
.fav.c-reddit-com { background: #ff4500; }
.fav.c-amazon-com { background: #ff9900; }
.fav.c-x-com { background: #000000; }
.fav.c-google-com { background: #4285f4; }
.fav.c-skyscanner-net { background: #0770e3; }
.fav.c-kayak-com { background: #ff690f; }
.fav.c-flytap-com { background: #00a19a; }
/* Chrome's group colours, as a class on a group's label and tabs */
.gc-grey { --gc: var(--g-grey); }
.gc-blue { --gc: var(--g-blue); }
.gc-red { --gc: var(--g-red); }
.gc-yellow { --gc: var(--g-yellow); }
.gc-green { --gc: var(--g-green); }
.gc-pink { --gc: var(--g-pink); }
.gc-purple { --gc: var(--g-purple); }
.gc-cyan { --gc: var(--g-cyan); }
.gc-orange { --gc: var(--g-orange); }
