/*
 * Homepage v2 (/v2): a light, editorial layout for comparison with the
 * scroll-driven globe homepage. Warm neutral surfaces, serif headings
 * (Newsreader, OFL) over Geist body, Wishbone navy and periwinkle accents.
 * Light only. Product moments are drawn as small UI cards in HTML so they
 * stay crisp; video comes from MEDIA in v2.js.
 */

@font-face { font-family: "Geist"; src: url("/fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-garamond-600-latin.woff2") format("woff2"); font-weight: 600; font-display: block; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-latin.woff2") format("woff2"); font-weight: 300 500; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f6f5f3;
  --surface: #ffffff;
  --soft: #fbfaf8;
  --panel: #efecea;
  --panel-deep: #e6e2dc;
  --fg: #1c2133;
  --text: #3a3f52;
  --muted: #6b7086;
  --line: rgba(28, 33, 51, 0.09);
  --promo-h: 34px;
  --navy: #2f3956;
  --navy-hover: #3d4a70;
  --peri: #9fa9d5;
  --peri-soft: #e6e9f6;
  --peri-deep: #7f8bc4;
  --accent: #5462a8;
  --ok: #2f8f6b;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 0 0 1px rgba(28, 33, 51, 0.07), 0 20px 25px -5px rgba(28, 33, 51, 0.1), 0 8px 10px -6px rgba(28, 33, 51, 0.08);
  --shadow-soft: 0 0 0 1px rgba(28, 33, 51, 0.06), 0 4px 6px -1px rgba(28, 33, 51, 0.06), 0 2px 4px -2px rgba(28, 33, 51, 0.05);
  --shadow-float: 0 12px 32px rgba(28, 33, 51, 0.16), 0 2px 6px rgba(28, 33, 51, 0.08);
  --gutter: clamp(16px, 3vw, 24px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 350; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 550; }

.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Small details: brand-coloured selection, one keyboard focus ring for every
   link and button, no grey flash on tap (buttons show their own press). */
::selection { background: #dfe3f5; color: var(--navy); }
html { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--peri-deep); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible { border-radius: 999px; }

.eyebrow { font: 550 13px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.lede { color: var(--text); font-size: 18px; line-height: 1.45; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.sm { font-size: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 15px/1 var(--sans); background: var(--navy); color: #fff; white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { background: var(--navy-hover); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn.small { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.soft { height: 38px; padding: 0 16px; font-size: 14px; background: var(--peri-soft); color: var(--navy); }
.btn.soft:hover { background: #d8ddf0; }
.btn.ghost { height: 36px; padding: 0 16px; font-size: 14px; background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(28, 33, 51, 0.2); }
.btn.ghost:hover { background: var(--soft); box-shadow: inset 0 0 0 1px rgba(28, 33, 51, 0.32); }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--peri-soft); }

/* Page content stacks under the pinned promo bar and nav. */
main { position: relative; z-index: 0; overflow-x: clip; }

/* Promo bar: stays pinned to the top, with the nav pinned under it */
.promo { position: sticky; top: 0; z-index: 51; display: flex; align-items: center; justify-content: center; gap: 4px; height: var(--promo-h); padding: 0 var(--gutter); white-space: nowrap; background: linear-gradient(90deg, #2f3956, #5462a8 55%, #8a95cc); color: #fff; font: 500 13px/1.4 var(--sans); }
.promo .promo-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.promo .promo-cta svg { width: 13px; height: 13px; transition: transform 0.2s var(--ease); }
.promo:hover .promo-cta svg { transform: translateX(3px); }
/* Only Home and Pricing carry the promo bar; elsewhere the nav sits at the top. */
body:not(:has(> .promo)) { --promo-h: 0px; }

/* Nav: floats over the hero */
.nav {
  position: sticky; top: calc(var(--promo-h) + 8px); z-index: 50;
  width: min(1392px, 100% - 2 * var(--gutter)); margin: 8px auto 0;
  display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 8px 0 16px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-radius: 14px; box-shadow: 0 0 0 1px rgba(28, 33, 51, 0.05), 0 6px 20px rgba(28, 33, 51, 0.06);
}
.nav { transition: background 0.3s, box-shadow 0.3s; }
.nav.scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: 0 0 0 1px rgba(28, 33, 51, 0.07), 0 10px 30px rgba(28, 33, 51, 0.1); }
.brand { display: flex; align-items: center; color: var(--fg); transition: opacity 0.2s; }
.brand:hover { opacity: 0.75; }
/* Wordmark: the wishbone mark is the W, then "ishbone" in Cormorant Garamond.
   The mark is a mask, so it takes the text colour on light and dark. The
   +0.02em gap matches Cormorant's own s-to-h spacing at the closest point. */
.wordmark { display: inline-flex; align-items: baseline; font: 600 30px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1793 907'%3E%3Cpath fill-rule='evenodd' d='M 177 2 C 156 5 141 10 122 20 C 32 64 -15 159 5 252 C 17 304 36 344 105 450 C 112 460 120 473 124 479 C 128 485 137 497 143 507 C 155 523 159 529 167 541 C 169 544 174 551 178 557 C 182 562 193 577 202 589 C 210 601 218 611 219 613 C 225 621 272 683 283 697 C 307 726 327 752 330 755 C 338 764 346 774 346 774 C 346 774 349 777 352 781 C 370 803 397 829 422 849 C 447 869 485 889 515 898 C 519 899 524 900 526 901 C 527 901 531 902 535 903 C 538 903 543 904 547 905 C 555 907 598 907 607 905 C 611 905 616 904 620 903 C 624 902 628 901 630 901 C 631 900 636 899 640 898 C 644 897 651 895 655 893 C 682 883 717 863 742 843 C 755 833 767 823 770 820 C 772 819 776 815 780 812 C 802 792 821 773 858 735 C 883 710 882 710 882 699 C 881 687 877 677 865 662 C 844 634 823 617 774 590 C 749 577 751 577 744 578 C 737 578 735 578 720 588 C 631 645 582 655 530 629 C 515 622 495 603 479 583 C 458 557 432 513 410 468 C 400 445 397 439 395 433 C 393 429 391 426 391 425 C 386 414 369 369 364 354 C 359 340 355 326 354 323 C 354 321 352 314 350 307 C 342 280 338 263 335 244 C 334 239 332 231 331 227 C 327 201 323 164 321 129 C 320 108 318 98 312 78 C 304 50 273 18 244 9 C 220 0 199 -2 177 2 M 1588 1 C 1523 7 1478 55 1472 124 C 1469 163 1467 177 1464 201 C 1463 206 1462 214 1461 218 C 1461 221 1460 227 1459 230 C 1458 232 1457 240 1455 247 C 1451 270 1446 286 1438 316 C 1430 341 1412 394 1405 409 C 1405 410 1402 417 1398 424 C 1380 467 1355 516 1334 548 C 1301 597 1272 622 1233 633 C 1218 638 1189 636 1170 630 C 1136 620 1103 599 1053 558 C 1040 547 991 499 977 484 C 931 432 903 389 887 343 C 873 303 841 279 801 279 C 787 279 785 279 770 284 C 744 293 721 317 712 345 C 700 381 709 435 736 481 C 752 507 775 531 803 549 C 809 553 818 559 823 562 C 861 587 887 612 912 645 C 930 668 936 677 966 727 C 1000 783 1016 806 1040 830 C 1051 842 1076 862 1086 868 C 1088 870 1091 872 1092 872 C 1109 883 1131 893 1147 897 C 1149 898 1153 899 1156 900 C 1181 907 1222 909 1247 904 C 1278 898 1293 893 1319 880 C 1340 869 1358 857 1375 843 C 1402 820 1425 797 1453 765 C 1478 736 1483 730 1492 719 C 1497 713 1501 708 1501 708 C 1501 708 1504 704 1507 701 C 1510 697 1513 693 1514 692 C 1519 686 1537 663 1545 652 C 1550 645 1555 639 1555 639 C 1557 637 1622 548 1643 518 C 1653 505 1657 499 1663 490 C 1666 485 1672 476 1676 471 C 1698 439 1733 384 1745 362 C 1780 297 1796 243 1792 194 C 1789 155 1782 131 1763 97 C 1727 34 1657 -5 1588 1'/%3E%3C/svg%3E"); }
.wordmark i { display: inline-block; flex: none; width: 1.265em; height: 0.64em; margin-right: 0.02em; background: currentColor; -webkit-mask: var(--mark) no-repeat center / contain; mask: var(--mark) no-repeat center / contain; }
.nav-links { position: relative; display: flex; gap: 2px; margin-inline: auto; }
.nav-item { position: relative; }
.nav-link { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px; border-radius: 8px; font: 450 14px/1 var(--sans); color: var(--fg); transition: background 0.15s; }
.nav-link:hover, .nav-item.open > .nav-link { background: rgba(28, 33, 51, 0.05); }
.chev svg { width: 13px; height: 13px; opacity: 0.55; transition: transform 0.25s var(--ease); }
.nav-item.open .chev svg, .nav:not(.js-menus) .nav-item:hover .chev svg { transform: rotate(180deg); }

/* Dropdowns. With v2.js running (.js-menus) there is one shared panel
   (.nav-pop) that slides and resizes to whichever menu is open, and the menus
   cross-fade inside it, so moving from Features to Use cases never shows two
   panels at once. Without the script, each menu opens on hover by itself. */
.menu {
  position: absolute; z-index: 2; top: calc(100% + 12px); left: 50%; width: 352px; padding: 8px;
  background: var(--surface); border-radius: 16px; box-shadow: 0 0 0 1px rgba(28, 33, 51, 0.06), 0 22px 44px -14px rgba(28, 33, 51, 0.24), 0 4px 10px -4px rgba(28, 33, 51, 0.08);
  opacity: 0; visibility: hidden; transform: translateX(-50%);
  transition: opacity 0.16s var(--ease), visibility 0s linear 0.16s;
}
/* Bridges the gap between the link and the panel, so the pointer can travel down. */
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav:not(.js-menus) .nav-item:hover .menu, .nav:not(.js-menus) .nav-item:focus-within .menu,
.js-menus .nav-item.open .menu { opacity: 1; visibility: visible; transition: opacity 0.2s var(--ease) 0.04s, visibility 0s; }
.js-menus .menu { background: transparent; box-shadow: none; }
/* Between menus the outgoing items fade fast and the incoming ones wait for the panel to arrive. */
.js-menus.switching .menu { transition: opacity 0.1s var(--ease), visibility 0s linear 0.1s; }
.js-menus.switching .nav-item.open .menu { transition: opacity 0.18s var(--ease) 0.16s, visibility 0s; }
.nav-pop {
  position: absolute; z-index: 1; left: 0; top: 0; width: var(--w, 352px); height: var(--h, 200px);
  transform: translate(var(--x, 0), var(--y, 0)); border-radius: 16px; background: var(--surface);
  box-shadow: 0 0 0 1px rgba(28, 33, 51, 0.06), 0 22px 44px -14px rgba(28, 33, 51, 0.24), 0 4px 10px -4px rgba(28, 33, 51, 0.08);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s var(--ease), visibility 0s linear 0.18s;
}
.nav-pop.on { opacity: 1; visibility: visible; transition: opacity 0.18s var(--ease), visibility 0s; }
.nav-pop.on.moving { transition: opacity 0.18s var(--ease), visibility 0s, transform 0.28s var(--ease), width 0.28s var(--ease), height 0.28s var(--ease); }
.menu a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 10px; transition: background 0.15s, transform 0.15s var(--ease); }
.menu a:hover, .menu a:focus-visible { background: rgba(84, 98, 168, 0.07); }
.menu a:focus-visible { outline-offset: -2px; border-radius: 10px; }
.menu-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.15s, color 0.15s; }
.menu a:hover .menu-icon, .menu a:focus-visible .menu-icon { background: var(--surface); color: var(--navy); }
.menu-icon svg { width: 17px; height: 17px; }
.menu-text { display: grid; gap: 3px; font-size: 14px; line-height: 1.25; }
.menu-text strong { font-weight: 550; color: var(--fg); }
.menu-text span { color: var(--muted); font-size: 13px; }
.menu-soon { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--peri-soft); color: var(--navy); font: 550 11px/1.4 var(--sans); font-style: normal; vertical-align: 1px; }
.menu a.menu-foot { margin-top: 6px; padding: 12px 12px 8px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; justify-content: space-between; font-size: 13px; font-weight: 500; color: var(--navy); }
.menu a.menu-foot:hover { background: transparent; color: var(--accent); }
.menu-foot svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.menu-foot:hover svg { transform: translateX(3px); }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle, .mobile-menu { display: none; }

/* Hero */
.hero { position: relative; margin-top: -60px; height: max(640px, min(820px, 100svh)); overflow: hidden; }
/* --drift is the scroll parallax; --push the camera's push-in on the laptop,
   centred on its screen (both set by v2.js), so the video and the sharp app
   layer over it move as one. */
.hero > .media { position: absolute; inset: -40px 0 0; border-radius: 0; background: #3b352f; will-change: transform; transform: translate3d(0, var(--drift, 0px), 0) scale(var(--push, 1)); }
.hero > .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 16, 0.28), rgba(20, 18, 16, 0) 26%, rgba(20, 18, 16, 0) 60%, rgba(20, 18, 16, 0.22)); }
.hero-card {
  position: absolute; z-index: 2; left: max(24px, (100% - 1392px) / 2); bottom: clamp(36px, 6%, 64px);
  width: min(640px, 100% - 48px); padding: clamp(28px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-radius: 20px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), var(--shadow-float);
}
.hero-card h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.hero-card > p { margin-top: 14px; color: var(--text); font-size: 18px; line-height: 1.45; }
.hero-actions { margin-top: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-actions { gap: 10px; }
/* Secondary hero button: same height and shape as the main one, outlined. */
.btn.outline { background: rgba(255, 255, 255, 0.6); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(28, 33, 51, 0.16); }
.btn.outline:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(28, 33, 51, 0.28); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* The laptop's screen, sharp, over the video: a box at the screen, clipped to
   its shape (placed by v2.js) */
.hero-screen { position: absolute; pointer-events: none; opacity: 0; }
.hero.on-desk .hero-screen { opacity: 1; }
.hero-screen video, .hero-screen img { display: block; width: 100%; height: 100%; object-fit: fill; position: static; }
.media .hero-screen video { position: static; }

/* Floating glass cards over the hero video, hidden during the laptop shot */
.floats { transition: opacity 0.6s var(--ease); }
.hero.on-desk .floats { opacity: 0; }
.float {
  position: absolute; z-index: 1; padding: 14px 16px; border-radius: 14px; color: #fff;
  background: rgba(30, 28, 26, 0.38); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 18px 40px rgba(0, 0, 0, 0.18);
  animation: rise 0.9s var(--ease) both, bob 7s ease-in-out infinite;
}
.float-a { left: max(24px, (100% - 1392px) / 2); top: 17%; width: 230px; animation-delay: 0.6s, 1.5s; }
.float-b { right: max(24px, (100% - 1392px) / 2); bottom: 10%; width: 250px; animation-delay: 0.9s, 0s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.float-title { font: 500 15px/1.2 var(--sans); margin-bottom: 10px; }
.float-body { display: flex; gap: 16px; align-items: flex-end; }
.float-body div { display: grid; gap: 2px; }
.float-body span { font-size: 11px; opacity: 0.75; }
.float-body strong { font: 500 20px/1 var(--sans); }
.float-body .ok { color: #8fe3bf; }
.ring { width: 34px; height: 34px; margin-left: auto; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 4; }
.ring .arc { stroke: #8fe3bf; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ring 1.6s 1.2s var(--ease) forwards; }
@keyframes ring { to { stroke-dashoffset: 33; } }
.float-person { display: flex; gap: 10px; align-items: center; }
.float-person div { display: grid; font-size: 13px; }
.float-person span:not(.av) { font-size: 12px; opacity: 0.8; }
.float-step { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 12px; line-height: 1.4; opacity: 0.9; }
.hero.on-event .floats { opacity: 0; }

/* At the event: dictating a note, as the iPhone app's listening pill
   (ListeningPill, DictationMic.swift): deep navy, the last moments of sound
   as periwinkle bars, the time and a round stop button. It rises in when the
   event shot comes in and the bars move only while it shows. */
.float-note { position: absolute; z-index: 1; right: max(24px, (100% - 1392px) / 2); bottom: 10%; pointer-events: none; opacity: 0; transform: translateY(14px); transition: opacity 0.45s var(--ease), transform 0.7s var(--ease); }
.hero.on-event .float-note { opacity: 1; transform: none; transition-delay: 0.4s; }
.listen { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 9px 0 20px; border-radius: 999px; background: #1f2540; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.22); }
.listen-bars { display: flex; align-items: center; gap: 3px; height: 32px; }
.listen-bars i { width: 3px; height: calc(var(--h) * 32px); min-height: 4px; border-radius: 2px; background: #9fa9d5; transform: scaleY(0.45); animation: level var(--t) var(--d) ease-in-out infinite alternate paused; }
.hero.on-event .listen-bars i { animation-play-state: running; }
@keyframes level { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.listen-time { min-width: 34px; font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; color: #9fa9d5; }
.listen-stop { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85); }
.listen-stop::after { content: ""; width: 16px; height: 16px; border-radius: 4px; background: #9fa9d5; }

/* Avatars */
.av { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 600 11px/1 var(--sans); color: #fff; background: hsl(var(--h, 220) 28% 46%); }
.av.sm { width: 28px; height: 28px; font-size: 10px; }
/* Portraits (AI-generated, fictional people) fill the circle; the hue shows while they load. */
.av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av.lg { width: 52px; height: 52px; font-size: 16px; }

/* Logo strip */
.logos { display: grid; justify-items: center; gap: 18px; padding: 36px 0 0; }
.logos p { font: 550 12px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.logos ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; }
.logos li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--text); filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
.logos li:hover { filter: none; opacity: 1; }
.logos svg, .logos img { width: 22px; height: 22px; }

/* Media frames */
.media { position: relative; overflow: hidden; background: var(--panel-deep); border-radius: 16px; }
.media video, .media img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Clips and pictures that load after the page fade in instead of popping in. */
.media .fade { opacity: 0; transition: opacity 0.5s var(--ease); }
.media .fade.ready { opacity: 1; }

/* Intro + app window */
.intro { padding: 112px 0 104px; display: grid; justify-items: center; gap: 48px; }
.intro-copy { text-align: center; display: grid; gap: 16px; justify-items: center; }
.intro h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.intro .lede { max-width: 58ch; }
.window { width: min(1000px, 100%); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-card); }
.window .media { aspect-ratio: 1600 / 1000; border-radius: 0; background: var(--soft); }

/* Pillars */
.pillars { background: var(--panel); border-radius: 16px; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 56px); }
.pillars-head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: 48px; }
.pillars-head h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.pillars-head .lede { max-width: 56ch; }
.pillars-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; }
.pillar-col { display: grid; gap: 16px; }
.pillar {
  position: relative; display: grid; gap: 8px; justify-items: start; text-align: left; width: 100%;
  padding: 24px 24px 24px 28px; border: 0; border-radius: 16px; background: transparent; cursor: pointer;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* Every tab reads at full strength; the open one is a raised card with an
   accent rule, the others lift a little under the pointer. */
.pillar::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: 26px; width: 3px; border-radius: 3px; background: var(--accent); transform: scaleY(0); transition: transform 0.35s var(--ease); }
.pillar:hover { background: rgba(255, 255, 255, 0.55); }
.pillar.active { background: var(--surface); box-shadow: var(--shadow-soft); }
.pillar.active::before { transform: scaleY(1); }
.pillar .eyebrow { color: var(--muted); transition: color 0.35s var(--ease); }
.pillar.active .eyebrow { color: var(--accent); }
.pillar-h { font: 350 26px/1.15 var(--serif); letter-spacing: -0.03em; color: var(--fg); }
.pillar-p { color: var(--text); font-size: 16px; line-height: 1.45; }
.pillar:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The scene between the tabs */
.scene { position: relative; width: 400px; height: 500px; }
.scene-panel { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0.5s; }
.scene-panel.on { opacity: 1; visibility: visible; transform: none; }
.scene-caption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: 12px; color: var(--muted); }
.scene-caption span { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--fg); font-weight: 550; box-shadow: var(--shadow-soft); }

/* Network: a small version of the app's Network view */
.ui-net { width: 400px; }
.net { position: relative; aspect-ratio: 380 / 300; }
.net svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net line { stroke: #d6d7de; stroke-width: 0.7; transition: stroke 0.3s; }
.net circle { fill: #858798; transition: fill 0.3s; }
.net.focus line, .net.focus circle { stroke: #e3e2e3; fill: #d9d8dc; }
.net.focus line.on { stroke: #b9bde0; }
.net.focus circle.on { fill: #797fbb; }
.net-pill { position: absolute; translate: -50% -50%; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px #e4e4e7; font-size: 11px; color: var(--muted); white-space: nowrap; cursor: default; transition: box-shadow 0.3s, color 0.3s; }
.net-pill b { font-weight: 500; color: var(--fg); font-variant-numeric: tabular-nums; }
.net-pill.on { box-shadow: inset 0 0 0 1px #b9bde0; color: var(--fg); }
.net .av { position: absolute; translate: -50% -50%; width: 24px; height: 24px; font-size: 9px; box-shadow: 0 0 0 1.5px #fff; transition: opacity 0.3s; }
.net.focus .av:not(.on) { opacity: 0.35; }

/* Week ahead */
.ui-week { width: 360px; padding: 8px; }
.week-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 8px; }
.week-head strong { font: 350 20px/1.1 var(--serif); letter-spacing: -0.02em; color: var(--accent); }
.chip { padding: 3px 8px; border-radius: 6px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 11px; color: var(--muted); }
.ui-week > ul { margin: 0; padding: 0; list-style: none; }
.ui-week > ul > li { display: flex; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
.ui-week > ul > li > div { display: grid; gap: 2px; min-width: 0; }
.ui-week > ul > li > div > span { color: var(--muted); font-size: 12px; }
.ui-week .src { width: 28px; height: 28px; }
.ui-week .src svg { width: 14px; height: 14px; }
.week-notes { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s 0.35s var(--ease); }
.week-notes > * { overflow: hidden; }
.week-notes p { margin-top: 8px; color: var(--text); font-size: 12px; line-height: 1.5; }
.week-notes ul { margin: 6px 0 0; padding-left: 16px; color: var(--text); font-size: 12px; line-height: 1.5; }
#scene-prepare.on .week-notes { grid-template-rows: 1fr; }

/* Email with a drafted reply */
.ui-mail { width: 370px; padding: 16px; display: grid; gap: 10px; }
.mail-row { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.mail-row > span:first-child { width: 52px; color: var(--muted); font-size: 12px; }
.mail-row .to { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.mail-row .to .av { width: 20px; height: 20px; font-size: 8px; }
.ui-mail .typed { min-height: 108px; }

/* Reasons to reach out */
.why { display: grid; gap: 12px; width: 370px; }
.why-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; opacity: 0; transform: translateX(24px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); }
#scene-reach.on .why-card { opacity: 1; transform: none; }
#scene-reach.on .why-card:nth-child(2) { transition-delay: 0.12s; }
#scene-reach.on .why-card:nth-child(3) { transition-delay: 0.24s; }
.why-card > div { display: grid; gap: 2px; flex: 1; min-width: 0; }
.why-card > div > span:not(.muted) { color: var(--text); font-size: 12px; line-height: 1.4; }
.why-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.why-icon svg, .why-icon img { width: 16px; height: 16px; }
.why-icon.cake { color: #c2410c; background: #fff4ec; }
.why-icon.new { color: var(--accent); background: var(--peri-soft); }
.why-act { align-self: center; flex: none; padding: 6px 10px; border-radius: 999px; background: var(--peri-soft); color: var(--navy); font-size: 12px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.why-card:hover .why-act { background: var(--navy); color: #fff; }
/* Feature rows: copy beside a small composition of UI cards */
.rows { display: grid; gap: clamp(56px, 6vw, 80px); padding: clamp(96px, 10vw, 136px) 0; }
.row { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.row:nth-child(even) .row-copy { order: 2; }
.row-copy { display: grid; gap: 14px; justify-items: start; max-width: 460px; }
.row-copy h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.06; }
.row-copy .lede { font-size: 19px; }
.stage { position: relative; min-height: 420px; display: grid; place-items: center; perspective: 1400px; }
/* On wide screens the UI cards and photos are drawn larger, so each row reads
   as a scene rather than a small card in open space. */
@media (min-width: 1180px) {
  .rows { gap: clamp(72px, 7vw, 112px); }
  .rows .stage { min-height: 520px; }
  .rows .stage > .ui { zoom: 1.16; }
}

.ui { transition: transform 0.4s var(--ease); position: relative; z-index: 1; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-card); font-size: 13px; color: var(--fg); }
.ui strong { font-weight: 550; }
.ui-label { font: 550 11px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ui-head { display: flex; gap: 14px; align-items: center; }
.ui-head > div { display: grid; gap: 3px; }
.ui-head strong { font-size: 17px; }
.ui-head span { color: var(--text); font-size: 13px; }
.ui-head .muted { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.ui-head .muted svg { width: 12px; height: 12px; }
.ui-head.small strong { font-size: 14px; }
.src { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.src svg, .src img { width: 17px; height: 17px; }
.src.cal { color: var(--accent); }

/* Pop-in for the overlapping second card */
.pop { opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 0.7s 0.35s var(--ease), transform 0.8s 0.35s var(--ease); }
.seen .pop { opacity: 1; transform: none; }
.settled .pop { transition: transform 0.4s var(--ease), opacity 0.3s; }

/* Feature rows: once a row scrolls into view, its main card slides in over the
   photo (from the copy's side) and the card's lines follow one by one. Rows
   already on screen at load (no .pending) show as they are. */
.rows .stage > .ui:not(.pop) { transition: opacity 0.7s var(--ease) 0.15s, translate 0.9s var(--ease) 0.15s, transform 0.4s var(--ease); }
.row.pending .stage > .ui:not(.pop) { opacity: 0; translate: var(--from, 0 32px); }
.row:nth-child(odd) .stage:has(> .tile) > .ui:not(.pop) { --from: -56px 0; }
.row:nth-child(even) .stage:has(> .tile) > .ui:not(.pop) { --from: 56px 0; }
.rows .stage > .ui:not(.pop) li { transition: opacity 0.5s var(--ease), translate 0.6s var(--ease), background 0.2s; }
.row.pending .stage > .ui:not(.pop) li { opacity: 0; translate: 0 10px; }
.row.seen:not(.settled) .stage > .ui:not(.pop) li:nth-child(1) { transition-delay: 0.45s; }
.row.seen:not(.settled) .stage > .ui:not(.pop) li:nth-child(2) { transition-delay: 0.53s; }
.row.seen:not(.settled) .stage > .ui:not(.pop) li:nth-child(3) { transition-delay: 0.61s; }
.row.seen:not(.settled) .stage > .ui:not(.pop) li:nth-child(4) { transition-delay: 0.69s; }
.row.seen:not(.settled) .stage > .ui:not(.pop) li:nth-child(5) { transition-delay: 0.77s; }
.row.seen:not(.settled) .stage > .ui:not(.pop) li:nth-child(6) { transition-delay: 0.85s; }
@media (max-width: 1040px) {
  .row:nth-child(odd) .stage:has(> .tile) > .ui:not(.pop), .row:nth-child(even) .stage:has(> .tile) > .ui:not(.pop) { --from: 0 32px; }
}
/* After they arrive, the cards in the first three rows keep a slow float so
   there is always a little movement over the photos. */
@keyframes card-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
:is(#everyone, #prepared, #threads).settled .stage > .ui { animation: card-float 6s ease-in-out infinite; }
:is(#everyone, #prepared, #threads).settled .stage > .ui.pop { animation-duration: 7s; animation-delay: -2.5s; }
@media (prefers-reduced-motion: reduce) {
  .row.pending .stage > .ui:not(.pop), .row.pending .stage > .ui:not(.pop) li { opacity: 1; translate: none; }
}

/* Lifestyle tile behind a card */
.tile { position: absolute; z-index: 0; border-radius: 16px; box-shadow: var(--shadow-soft); }
/* The clips carry a thin dark edge at the top; a slight zoom crops it out. */
.tile video, .tile img.poster { scale: 1.04; }
.row:nth-child(odd) .tile { right: 0; top: 0; width: 46%; aspect-ratio: 3 / 4; }
.row:nth-child(even) .tile { left: 0; top: 0; width: 46%; aspect-ratio: 3 / 4; }

/* Profile */
.ui-profile { width: min(400px, 100%); padding: 22px; margin-right: 12%; }
.ui-rows { margin: 18px 0 0; padding: 0; list-style: none; display: grid; }
.ui-rows li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.ui-rows li div { display: grid; gap: 1px; }
.ui-rows li span { color: var(--muted); font-size: 12px; }
.ui-badge { position: absolute; right: 2%; top: 10%; padding: 14px 16px; width: 168px; display: grid; justify-items: start; gap: 4px; }
.stack { display: flex; margin-bottom: 4px; }
.stack > * { margin-left: -6px; box-shadow: 0 0 0 2px #fff; }
.stack > :first-child { margin-left: 0; }
.stack .dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px #fff, inset 0 0 0 1px var(--line); }
.stack .dot svg, .stack .dot img { width: 16px; height: 16px; }

/* Meeting */
.ui-meeting { width: min(400px, 100%); padding: 20px; margin-top: 12%; justify-self: end; }
.ui-title { display: flex; gap: 12px; align-items: center; }
.ui-title > div { display: grid; gap: 2px; }
.ui-title strong { font-size: 15px; }
.ui-title span { color: var(--muted); font-size: 12px; }
.prep { margin-top: 14px; color: var(--text); line-height: 1.5; }
.bullets { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; color: var(--text); line-height: 1.45; }
.bullets li::marker { color: var(--peri-deep); }

/* Lists */
.ui-list { width: min(420px, 100%); padding: 8px 8px 10px; margin-top: 14%; justify-self: start; }
/* In two columns the cards lean into the gap, off the people in the photos. */
@media (min-width: 1041px) {
  .ui-meeting { margin-right: -6%; }
  .ui-list { margin-left: -6%; }
}
/* Narrow two-column widths: smaller cards, lower down, so faces stay clear. */
@media (min-width: 1041px) and (max-width: 1240px) {
  .ui-meeting, .ui-list { width: min(400px, 74%); margin-top: 30%; }
}
.ui-list.reach { margin-right: 0; }
/* Rows with a photo share one layout in two columns: the photo fills the
   stage's height against the outer edge, and the card sits centred over its
   inner edge. */
@media (min-width: 1041px) {
  .row:nth-child(odd) .tile, .row:nth-child(even) .tile { top: 0; bottom: 0; width: 50%; aspect-ratio: auto; }
  .row .stage:has(> .tile) > .ui { margin: 0; align-self: center; width: min(400px, 72%); }
  .row:nth-child(odd) .stage:has(> .tile) > .ui { justify-self: start; }
  .row:nth-child(even) .stage:has(> .tile) > .ui { justify-self: end; }
}
.ui-list-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px 8px; }
.ui-list-head strong { font-size: 15px; }
.select { cursor: pointer; border: 0; background: #fff; font: inherit; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; }
.select svg { width: 12px; height: 12px; }
.ui-list ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.ui-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; transition: background 0.2s; }
.ui-list li:hover { background: var(--soft); }
.ui-list li div { display: grid; gap: 2px; min-width: 0; }
.ui-list li span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.ui-list li { position: relative; }
.row-act { position: absolute; right: 12px; top: 50%; translate: 0 -50%; padding: 6px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 500; opacity: 0; transform: translateX(6px); transition: opacity 0.2s, transform 0.25s var(--ease); }
.ui-list li:hover .row-act { opacity: 1; transform: none; }
.ui-list.reach li:hover div { padding-right: 96px; }
.ui-list li em { font-style: normal; font-size: 12px; color: var(--fg); line-height: 1.4; }
.check { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(28, 33, 51, 0.25); }
.check { padding: 0; border: 0; background: transparent; cursor: pointer; color: transparent; transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.15s; }
.check:hover { box-shadow: inset 0 0 0 1.5px var(--ok); color: rgba(47, 143, 107, 0.45); }
.check:active { transform: scale(0.85); }
.check svg { width: 11px; height: 11px; }
.is-done .check { background: var(--ok); box-shadow: none; color: #fff; }
.ui-list li { transition: opacity 0.3s var(--ease), background 0.2s; }
.is-done strong { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(28, 33, 51, 0.35); }
.ui-list li.hidden { display: none; }
.dropdown { position: absolute; top: 44px; right: 10px; z-index: 2; display: grid; width: 150px; padding: 6px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); font-size: 13px; }
.dropdown button { display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; border: 0; border-radius: 6px; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.dropdown button:hover { background: var(--soft); }
.dropdown button[aria-selected="true"] { background: var(--peri-soft); color: var(--navy); font-weight: 550; }
.dropdown svg { width: 13px; height: 13px; opacity: 0; }
.dropdown button[aria-selected="true"] svg { opacity: 1; }
.dropdown.closed { opacity: 0 !important; transform: translateY(-4px) scale(0.97) !important; pointer-events: none; transition: opacity 0.15s, transform 0.15s; }

/* Conversation + composer */
.ui-thread { width: min(380px, 100%); padding: 18px; margin-right: 18%; display: grid; gap: 10px; }
.flag { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fdf3dc; color: #6b5413; }
.flag svg { flex: none; width: 14px; height: 14px; margin-top: 2px; }
.flag div { display: grid; gap: 1px; font-size: 12px; }
.flag span { opacity: 0.8; }
.bubble { max-width: 78%; padding: 8px 12px; border-radius: 16px; font-size: 13px; line-height: 1.4; }
.bubble.them { background: #ececf0; border-bottom-left-radius: 6px; }
.bubble.you { justify-self: end; background: #2f7cf6; color: #fff; border-bottom-right-radius: 6px; }
.ui-composer { position: absolute; right: 0; bottom: 4%; width: min(320px, 80%); padding: 16px; }
.typed { min-height: 84px; font-size: 14px; line-height: 1.5; color: var(--fg); }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: var(--accent); animation: blink 1s steps(1) infinite; }
.typed.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.composer-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.send { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; }
.send svg { width: 14px; height: 14px; }

/* Role change */
.ui-change { width: min(400px, 100%); padding: 22px; margin-right: 14%; }
.ui-change s { color: var(--muted); text-decoration-color: rgba(28, 33, 51, 0.4); transition: opacity 0.5s 0.8s; }
.ui-change b { font-weight: 550; color: var(--fg); background: linear-gradient(transparent 60%, #e1e5f7 60%); background-size: 0 100%; background-repeat: no-repeat; transition: background-size 0.8s 1.1s var(--ease); }
.seen .ui-change b { background-size: 100% 100%; }
.role { display: inline-flex; flex-wrap: wrap; gap: 0 6px; }
.change-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.change-note svg { width: 14px; height: 14px; }
.ui-timeline { position: absolute; right: 0; bottom: 6%; width: 230px; padding: 16px; }
.ui-timeline ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ui-timeline li { position: relative; display: flex; gap: 10px; }
.ui-timeline li div { display: grid; gap: 1px; }
.ui-timeline li span { color: var(--muted); font-size: 12px; }
.ui-timeline i { flex: none; width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--peri); box-shadow: 0 0 0 3px var(--peri-soft); }
.ui-timeline li:first-child i { background: var(--accent); }

/* Devices */
.devices { min-height: 380px; }
.laptop { width: 88%; margin-right: 10%; }
.laptop-screen { aspect-ratio: 16 / 10; padding: 8px; border-radius: 14px 14px 0 0; background: #1c2133; }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 4px; }
.laptop-base { height: 12px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(#d9d6d0, #bdb9b2); }
/* The app's AI Assistant card (a screenshot), with its periwinkle glow. */
.ui-chat { position: absolute; right: 0; bottom: -6%; width: 300px; z-index: 2; border-radius: 16px; background: transparent; box-shadow: 0 0 0 1px rgba(159, 169, 213, 0.45), 0 28px 64px -22px rgba(107, 118, 184, 0.75), 0 2px 8px rgba(28, 33, 51, 0.08); }
.ui-chat::before { content: ""; position: absolute; inset: -28px; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(159, 169, 213, 0.55), rgba(159, 169, 213, 0)); animation: chat-glow 4.8s ease-in-out infinite; pointer-events: none; }
.ui-chat img { display: block; width: 100%; height: auto; border-radius: 16px; }
@keyframes chat-glow { 0%, 100% { opacity: 0.6; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1.03); } }

/* Syncing */
.sync { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.sync-copy { padding: clamp(32px, 6vw, 88px) clamp(24px, 5vw, 72px); display: grid; gap: 16px; align-content: center; justify-items: start; }
.sync-copy h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.sync-art { position: relative; min-height: 460px; container-type: inline-size; background: radial-gradient(90% 70% at 50% 45%, rgba(255, 255, 255, 0.22), transparent 70%), linear-gradient(140deg, #c3c9ec 0%, #a3acdd 45%, #7f8bc8 100%); overflow: hidden; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; }
.rings i { position: absolute; width: 46cqw; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35); }
.rings i:nth-child(2) { width: 72cqw; border-color: rgba(255, 255, 255, 0.22); }
/* Logo circles in staggered rows around the app icon, like Monarch's syncing
   panel: --c is the column from the centre in eighths of the panel's width
   --r the row. */
.orbit { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.orbit li {
  --size: clamp(38px, 11cqw, 70px);
  position: absolute; left: calc(50% + var(--c) * 12.5cqw); top: calc(50% + var(--r) * min(108px, 24%));
  display: grid; place-items: center; width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  border-radius: 28%; cursor: default; background: #fff; color: var(--fg);
  box-shadow: inset 0 0 0 1px rgba(28, 33, 51, 0.06), 0 10px 22px rgba(28, 33, 51, 0.14), 0 2px 4px rgba(28, 33, 51, 0.06);
  transform: scale(0.3); opacity: 0;
  transition: transform 0.8s calc(var(--d) * 50ms) var(--ease), opacity 0.6s calc(var(--d) * 50ms) var(--ease), box-shadow 0.25s;
}
/* Every source is the same white tile with its mark in its own colour, the
   shape of the Wishbone icon in the middle. */
.orbit li.dark { --bg: #1c1c1e; }
.orbit li.fill, .orbit li.dark { color: var(--bg); }
.orbit li.more { background: rgba(255, 255, 255, 0.3); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.orbit li.fill:not(.line) svg path { fill: var(--bg); }
.orbit li.li-in svg path:first-child { fill: transparent; }
.seen .orbit li { transform: scale(1); opacity: 1; }
.seen .orbit li:hover { transform: scale(1.08); transition-delay: 0s; transition-duration: 0.3s; box-shadow: inset 0 0 0 1px rgba(28, 33, 51, 0.06), 0 0 0 6px rgba(255, 255, 255, 0.35), 0 14px 30px rgba(28, 33, 51, 0.2); }
.orbit li > svg, .orbit li > img { width: 46%; height: 46%; }

.orbit li.dark > svg { width: 50%; height: 50%; }
.orbit li::after { content: attr(data-name); position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% -4px; padding: 3px 8px; border-radius: 6px; background: rgba(28, 33, 51, 0.88); color: #fff; font: 500 11px/1.3 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s, translate 0.2s var(--ease); z-index: 3; }
.orbit li:hover::after { opacity: 1; translate: -50% 0; }
.orbit li.more svg { width: 38%; height: 38%; }
.app-icon { --size: clamp(84px, 19cqw, 124px); position: absolute; left: 50%; top: 50%; width: var(--size); height: var(--size); margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2); filter: drop-shadow(0 20px 30px rgba(28, 33, 51, 0.3)); }
.app-icon svg { width: 100%; height: 100%; }

/* Testimonials (only with real quotes) */
.quotes { padding: 120px 0 0; }
.quotes[hidden] { display: none; }
.quotes h2 { text-align: center; font-size: clamp(32px, 4vw, 44px); margin-bottom: 40px; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; padding: 22px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-soft); display: grid; gap: 14px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.5; }
.quote figcaption { color: var(--muted); font-size: 13px; }

/* Resources */
.resources { margin-top: 128px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.resources .photo { border-radius: 0; min-height: 440px; }
.resources-body { padding: clamp(32px, 5vw, 64px); display: grid; gap: 16px; align-content: center; justify-items: stretch; }
.resources-body h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.resource-list { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.resource { display: flex; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: transform 0.15s var(--ease); }
.resource > span { flex: 1; display: grid; gap: 4px; }
.resource strong { font-size: 17px; transition: color 0.2s; }
.resource > span > span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.resource svg { flex: none; width: 18px; height: 18px; color: var(--navy); transition: transform 0.25s var(--ease); }
.resource:hover strong { color: var(--accent); }
.resource:hover svg { transform: translateX(3px); }

/* Pricing */
.pricing-cta { margin-top: 128px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.pricing-cta .copy { padding: clamp(32px, 5vw, 64px); display: grid; gap: 16px; align-content: center; justify-items: start; }
.pricing-cta h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.pricing-cta .media { border-radius: 0; min-height: 360px; }

/* Closing */
.closing-wrap { margin-top: 32px; }
.closing { padding: clamp(64px, 9vw, 112px) 24px; border-radius: 16px; text-align: center; display: grid; gap: 28px; justify-items: center; color: #fff; background: radial-gradient(120% 140% at 50% 0%, #5462a8 0%, #2f3956 60%, #232a42 100%); }
.closing h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; max-width: 18ch; }

/* Footer */
footer.wrap { padding: 16px 0 32px; }
.footer { padding: 40px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 24px; }
.footer h4 { margin: 0 0 12px; font: 550 13px/1 var(--sans); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer a { color: var(--muted); transition: color 0.15s; }
.footer a:hover { color: var(--fg); }
.footer-base { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
/* One quiet row: the copyright left, the two install badges right. */
.footer-base > span { order: -1; }
.footer-base { padding-top: 24px; border-top: 1px solid var(--line); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border-radius: 9px; background: #111; color: #fff; transition: background 0.2s, transform 0.2s var(--ease); }
.footer .badge, .footer .badge:hover { color: #fff; }
.badge:hover { background: #2a2a2a; transform: translateY(-1px); }
.badge > svg, .badge-mark svg { width: 20px; height: 20px; }
.badge span:last-child { display: grid; font-size: 13px; font-weight: 550; line-height: 1.1; }
.badge small { font-size: 9px; font-weight: 400; color: rgba(255, 255, 255, 0.78); }

/* Entrances */
/* Sections show as soon as the page paints. v2.js hides only the ones that
   start below the fold (.pending) and lets them rise in as they scroll into
   view, so nothing on screen waits for the script. */
.in { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.in.pending { opacity: 0; transform: translateY(20px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .in.pending, .pop { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1040px) {
  .hero > .media video, .hero > .media img.poster { object-position: 70% center; transition: object-position 0.6s var(--ease); }
  .hero.on-desk > .media video, .hero.on-desk > .media img.poster { object-position: 66% center; }
  .nav { gap: 8px; }
  .nav-links, .nav-actions .ghost { display: none; }
  .nav-actions { margin-left: auto; }
  .nav { padding: 0 8px 0 14px; }
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 36px; border: 0; border-radius: 999px; background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(28, 33, 51, 0.14), 0 1px 2px rgba(28, 33, 51, 0.06); cursor: pointer; transition: background 0.15s; }
  .nav-toggle:hover { background: var(--soft); }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav-toggle .i-close, .nav.open .nav-toggle .i-open { display: none; }
  .nav.open .nav-toggle .i-close { display: block; }
  .mobile-menu {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px); max-height: calc(100svh - var(--promo-h) - 100px); overflow-y: auto;
    padding: 24px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card);
    animation: menu-in 0.22s var(--ease);
  }
  .nav.open .mobile-menu { display: block; }
  .mm-label { margin: 0 0 4px; color: var(--muted); font-size: 17px; }
  .mobile-menu a:not(.btn) { display: block; padding: 8px 0; font-size: 17px; color: var(--fg); transition: color 0.15s; }
  .mobile-menu a:not(.btn):hover { color: var(--accent); }
  .mobile-menu hr { margin: 16px 0; border: 0; border-top: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 20px; height: 40px; padding: 0 20px; font-size: 15px; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
  .float-a { left: auto; right: 24px; top: 14%; }
  .float-b { display: none; }
  .float-note { left: 24px; right: auto; bottom: 320px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .scene { grid-column: 1 / -1; grid-row: 1; justify-self: center; margin-bottom: 8px; }
  .row, .sync, .pricing-cta, .resources { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-copy { order: 0; }
  .row-copy { max-width: 620px; }
  .laptop { width: 86%; margin: 0 auto 0 5%; }
  .row:nth-child(odd) .tile, .row:nth-child(even) .tile { width: 38%; }
  .resources .photo { min-height: 0; aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 720px) {
  .hero { height: 760px; }
  .hero > .media video, .hero > .media img.poster { object-position: 32% center; }
  .hero.on-event > .media video, .hero.on-event > .media img.poster { object-position: 40% center; }
  .hero.on-desk > .media video, .hero.on-desk > .media img.poster { object-position: 74% center; }
  .hero-card { left: 12px; right: 12px; bottom: 24px; width: auto; padding: 20px; border-radius: 16px; }
  .float-note { left: 12px; right: auto; bottom: 270px; }
  @media (max-width: 360px) { .float-note { bottom: 312px; } }
  .hero-card h1 { font-size: 32px; line-height: 1.05; }
  .hero-card > p { margin-top: 10px; font-size: 16px; }
  .hero-actions { margin-top: 16px; }
  .hero-actions .btn.outline { display: none; }
  .float { display: none; }
  .intro { padding: 80px 0 72px; gap: 32px; }
  .pillars-grid, .pillar-col { grid-template-columns: 1fr; }
  .scene { width: 100%; height: 440px; }
  .ui-week, .ui-mail, .why, .ui-net { width: 100%; }
  .net-pill { height: 22px; padding: 0 7px; gap: 4px; font-size: 10px; }
  .net .av { width: 20px; height: 20px; font-size: 8px; }
  .pillar { padding: 18px; }
  .stage { min-height: 0; padding: 24px 0; }
  .tile { display: none; }
  .ui-profile, .ui-meeting, .ui-list, .ui-list.reach, .ui-thread, .ui-change { margin: 0; width: 100%; }
  .ui-badge, .ui-composer, .ui-timeline { position: relative; inset: auto; width: 86%; margin: -20px 0 0 auto; }
  .dropdown { display: none; }
  .laptop { width: 88%; margin: 0 auto; }
  .ui-chat { position: relative; inset: auto; width: min(300px, 86%); margin: -40px 0 0 auto; }
  .sync-art { min-height: 380px; }
  .quote-grid { grid-template-columns: 1fr; }
  .resources { margin-top: 96px; }
  .pricing-cta { margin-top: 96px; }
  .footer { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Download page (/v2/download): stacked split cards, copy left and a
   coloured panel with the product on the right. */
.nav-link[aria-current="page"] { background: rgba(28, 33, 51, 0.06); }
.download .nav { margin-bottom: 0; }
.dl-head { padding: 96px 0 40px; display: grid; gap: 14px; max-width: 760px; }
.dl-head h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.dl-head .lede { max-width: 56ch; }
.dl-list { display: grid; gap: 24px; padding-bottom: 96px; }
.dl-card { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; overflow: hidden; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.dl-copy { padding: clamp(32px, 5vw, 64px); display: grid; gap: 16px; align-content: center; justify-items: start; }
.dl-copy h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; }
.dl-copy p { color: var(--text); font-size: 17px; line-height: 1.5; max-width: 40ch; }
.dl-copy .btn { margin-top: 6px; }
.dl-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.dl-qr { display: flex; align-items: center; gap: 16px; margin: 8px 0 0; }
.dl-qr img { display: block; width: 144px; height: 144px; border-radius: 12px; background: #fff; }
.dl-qr figcaption { max-width: 16ch; color: var(--text); font-size: 14px; line-height: 1.5; }
.dl-qr[hidden] { display: none; }
.btn.soon { background: var(--panel); color: var(--muted); cursor: default; }
.btn.soon:hover { background: var(--panel-deep); }
.btn.soon:active { transform: none; }
.dl-link { font-size: 14px; font-weight: 500; color: var(--navy); text-decoration: underline; text-decoration-color: rgba(47, 57, 86, 0.3); text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
.dl-link:hover { text-decoration-color: currentColor; }

.dl-art { position: relative; overflow: hidden; display: grid; place-items: center; padding: 32px; }
.dl-art.peri { background: linear-gradient(160deg, #b7bfe6, #8f9ad0); }
.dl-art.sky { background: linear-gradient(160deg, #a9d3ef, #6fb0de); }
.dl-art.glow { background: radial-gradient(90% 90% at 20% 20%, #f6c8a8 0%, transparent 55%), radial-gradient(90% 90% at 85% 80%, #8f9ad0 0%, transparent 60%), linear-gradient(135deg, #2f3956, #5462a8); }
.dl-art.sage { background: linear-gradient(160deg, #b9d8c4, #7fb594); }

/* Web: a browser window that settles in */
.dl-window { width: 108%; margin-right: -24%; align-self: end; margin-bottom: -48px; border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(28, 33, 51, 0.25); transform: translateY(20px); transition: transform 0.9s var(--ease); }
.dl-window img { width: 100%; display: block; }
.seen .dl-window { transform: none; }
.dl-card:hover .dl-window { transform: translateY(-6px); }

/* MCP */
.dl-mcp { display: grid; justify-items: center; gap: 28px; color: #fff; }
.dl-mcp-mark { display: flex; align-items: center; gap: 12px; font: 350 44px/1 var(--serif); letter-spacing: -0.03em; }
.dl-mcp-mark img { width: 40px; height: 40px; border-radius: 10px; }
.dl-mcp-mark span { font: 600 14px/1 var(--sans); letter-spacing: 0.08em; opacity: 0.8; align-self: flex-end; margin-bottom: 6px; }
.dl-mcp ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 14px; }
.dl-mcp li { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: #1c2133; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); animation: bob 6s ease-in-out infinite; }
.dl-mcp li:nth-child(2) { animation-delay: -1.5s; }
.dl-mcp li:nth-child(3) { animation-delay: -3s; }
.dl-mcp li:nth-child(4) { animation-delay: -4.5s; }
.dl-mcp li svg { width: 28px; height: 28px; }

/* Chrome extension: a LinkedIn profile and the popup over it */
.dl-ext { position: relative; width: 100%; max-width: 440px; height: 300px; }
.dl-li { position: absolute; left: 0; top: 0; width: 250px; padding: 0 18px 18px; display: grid; gap: 3px; overflow: hidden; }
.dl-li-cover { height: 56px; margin: 0 -18px 0; background: linear-gradient(120deg, #c9d6ea, #e6e9f6); }
.dl-li .av { margin-top: -26px; box-shadow: 0 0 0 3px #fff; margin-bottom: 6px; }
.dl-li strong { font-size: 16px; }
.dl-li span:not(.av) { font-size: 13px; color: var(--text); }
.dl-pop { position: absolute; right: 0; bottom: 0; width: 280px; padding: 14px; }
.dl-pop-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.dl-pop-head img { border-radius: 5px; }
.dl-badge { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: #e7f4ec; color: #2f7a55; font-size: 11px; font-weight: 550; }
.dl-pop-rows { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.dl-pop-rows > div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.dl-pop-rows > div + div { border-top: 1px solid var(--line); }
.dl-pop-rows > div > div { display: grid; gap: 1px; flex: 1; font-size: 12px; }
.dl-pop-rows span { color: var(--muted); font-size: 11px; }
.switch { flex: none; position: relative; width: 32px; height: 18px; border-radius: 999px; background: #d4d6de; transition: background 0.3s; }
.switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); transition: transform 0.3s var(--ease); }
.switch.on { background: #22a06b; }
.switch.on::after { transform: translateX(14px); }
.dl-toast { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: var(--peri-soft); color: var(--navy); font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity 0.5s 0.9s, transform 0.5s 0.9s var(--ease); }
.seen .dl-toast { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .dl-card { grid-template-columns: 1fr; }
  .dl-art { min-height: 300px; }
  .dl-window { width: 100%; margin-right: 0; }
}
@media (max-width: 600px) {
  .dl-art { min-height: 0; padding: 28px 20px 0; }
  .dl-art.navy, .dl-art.glow, .dl-art.sage { padding-bottom: 28px; }
  .dl-window { margin-bottom: 0; }
}
@media (max-width: 560px) {
  .dl-head { padding: 64px 0 28px; }
  .dl-mcp-mark { font-size: 32px; }
  .dl-mcp li { width: 48px; height: 48px; }
  .dl-mcp li svg { width: 22px; height: 22px; }
  .dl-ext { height: 320px; }
  .dl-li { width: 160px; }
  .dl-li span:not(.av) { font-size: 12px; }
  .dl-pop { width: min(232px, 72vw); }
}
.dl-card:not(.seen) .switch.on { background: #d4d6de; }
.dl-card:not(.seen) .switch.on::after { transform: none; }
.dl-card .switch.on, .dl-card .switch.on::after { transition-delay: 0.6s; }

/* Pricing page (v2/pricing.html), laid out like Monarch's */
.pr-head { padding: 96px 0 40px; display: grid; gap: 14px; max-width: 760px; }
.pr-head h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.pr-head .lede { max-width: 58ch; }
.plan-card { display: grid; grid-template-columns: minmax(0, 0.85fr) 1fr 1fr; overflow: hidden; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.plan-photo { position: relative; min-height: 100%; background: var(--panel); }
.plan-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 3.4vw, 44px); }
.plan + .plan { box-shadow: inset 1px 0 0 var(--line); }
.plan h2 { display: flex; align-items: center; gap: 10px; font-size: 32px; line-height: 1.1; }
.soon-tag { padding: 4px 10px; border-radius: 999px; background: var(--peri-soft); color: var(--navy); font: 550 12px/1 var(--sans); letter-spacing: 0; }
.plan-line { font-weight: 550; font-size: 15px; color: var(--fg); min-height: 2.8em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.plan-price strong { font: 550 34px/1 var(--sans); letter-spacing: -0.03em; }
.plan-price span { color: var(--muted); font-size: 15px; }
.plan-sub { color: var(--muted); font-size: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan-plus { margin-top: 8px; font-size: 13px; font-weight: 550; }
.plan-list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--text); }
.plan-list .yes { flex: none; width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--peri-soft); color: var(--accent); }
.plan .btn { width: 100%; margin-top: 24px; height: 46px; }
.plan .btn.soft { height: 46px; font-size: 15px; }
.plan-fine { color: var(--muted); font-size: 12px; text-align: center; line-height: 1.4; }

.pr-why { margin-top: 96px; padding-top: 80px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.pr-why-copy { display: grid; gap: 16px; max-width: 420px; }
.pr-why-copy h2 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.08; }
.pr-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pr-why-item { padding: 24px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); display: grid; gap: 8px; align-content: start; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.pr-why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.pr-why-item h3 { font: 550 16px/1.3 var(--sans); letter-spacing: -0.01em; }
.pr-why-item p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.pr-why-item a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.compare-v2 { padding-top: 120px; }
.cmp-head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: 40px; }
.cmp-head h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; max-width: 22ch; }
.cmp-list { display: grid; gap: 28px; max-width: 900px; margin: 0 auto; }
/* Each section is a raised card like Monarch's: white, hairline border,
   soft shadow; checks sit centered in a tinted circle. */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px rgba(28, 33, 51, 0.06), 0 1px 2px rgba(28, 33, 51, 0.04), 0 8px 20px -6px rgba(28, 33, 51, 0.08); font-size: 15px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; vertical-align: middle; border-top: 1px solid rgba(28, 33, 51, 0.06); font-weight: 400; color: var(--fg); line-height: 1.45; }
.cmp thead th { border-top: 0; padding: 18px; font: 550 17px/1.2 var(--sans); color: var(--fg); background: var(--surface); }
.cmp thead th:first-child { display: flex; align-items: center; gap: 12px; }
.cmp th:not(:first-child), .cmp td { width: 22%; text-align: center; box-shadow: inset 1px 0 0 rgba(28, 33, 51, 0.06); }
.cmp thead .pro { color: var(--accent); }
.cmp tbody tr { transition: background 0.15s; }
.cmp tbody tr:hover { background: var(--soft); }
.cmp-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.cmp-icon svg { width: 15px; height: 15px; }
.cmp .yes { margin: 0 auto; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: var(--peri-soft); color: var(--muted); }
.cmp td:last-child .yes { color: var(--accent); }
.cmp .no { color: var(--muted); }
.cmp .val { font-weight: 550; color: var(--fg); font-size: 14px; }

.faq-v2 { padding-top: 120px; max-width: 900px; }
.faq-v2 h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 28px; }
.faq-items { display: grid; gap: 10px; }
.faq-items details { border-radius: 12px; background: var(--panel); transition: background 0.2s; }
.faq-items details[open], .faq-items details:hover { background: var(--panel-deep); }
.faq-items summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 550; font-size: 16px; color: var(--fg); }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: "+"; font: 300 24px/1 var(--sans); color: var(--muted); transition: transform 0.25s var(--ease); }
.faq-items details[open] summary::after { transform: rotate(45deg); }
.faq-items details p { padding: 0 22px 20px; color: var(--text); font-size: 15px; line-height: 1.55; max-width: 64ch; }
.faq-items details a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.pricing-page .closing-wrap { margin-top: 120px; }

@media (max-width: 1040px) {
  .plan-card { grid-template-columns: 1fr 1fr; }
  .plan-photo { grid-column: 1 / -1; min-height: 280px; }
  .plan-photo img { object-position: center 35%; }
  .plan:first-of-type { box-shadow: none; }
  .pr-why { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pr-head { padding: 56px 0 28px; }
  .plan-card { grid-template-columns: 1fr; }
  .plan + .plan { box-shadow: inset 0 1px 0 var(--line); }
  .plan-line { min-height: 0; }
  .pr-why { margin-top: 64px; padding-top: 56px; }
  .pr-why-grid { grid-template-columns: 1fr; }
  .compare-v2, .faq-v2 { padding-top: 80px; }
  .cmp th, .cmp td { padding: 12px 12px; }
  .cmp thead th { padding: 14px 12px; }
  .cmp th:not(:first-child), .cmp td { width: 70px; }
  .cmp-icon { display: none; }
  .pricing-page .closing-wrap { margin-top: 80px; }
}

/* Use cases: laid out like Monarch's "For couples" page */
.uc-hero { position: relative; margin-top: -60px; height: clamp(480px, 46vw, 600px); overflow: hidden; background: #6f6259; }
.uc-hero-bg { position: absolute; inset: 0; }
.uc-hero-bg video, .uc-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; filter: blur(14px) saturate(1.1) brightness(1.1); transform: scale(1.08); }
.uc-hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(246, 245, 243, 0.12); }
.uc-hero-card { width: min(520px, 100% - 48px); }
.uc-hero-card .eyebrow { margin-bottom: 12px; }
.uc-rows { padding-top: clamp(80px, 9vw, 120px); }
.uc-points { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.uc-points li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); font-size: 17px; line-height: 1.45; }
.uc-icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.uc-icon svg { display: block; width: 100%; height: 100%; }
.uc-rows .stage { min-height: 380px; }
.uc-rows .uc-list, .uc-rows .uc-meeting { margin: 0; justify-self: center; }
.uc-filter { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--peri-soft); color: var(--navy); font-size: 12px; font-weight: 500; }
.uc-filter svg { width: 12px; height: 12px; }
.uc-badge { top: auto; bottom: 4%; right: 0; }
.uc-badge.left { right: auto; left: 0; }
.uc-rows .stage:has(.uc-badge) > :first-child { margin-bottom: 96px; }
.uc-badge strong { font-size: 14px; }
.uc-status { margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: var(--peri-soft); color: var(--navy); font-size: 11px; font-weight: 550; }
.uc-split { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.uc-split-copy { padding: clamp(32px, 5vw, 72px); display: grid; gap: 14px; align-content: center; justify-items: start; }
.uc-split-copy h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.uc-split-copy .btn { margin-top: 10px; }
.uc-split-media { position: relative; min-height: 460px; }
.uc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.uc-chat { position: absolute; right: 6%; bottom: 6%; width: min(210px, 40%); border-radius: 14px; box-shadow: var(--shadow-float); }
@media (max-width: 1040px) {
  .uc-split { grid-template-columns: 1fr; }
  .uc-badge, .uc-badge.left { position: absolute; right: 0; left: auto; bottom: 0; margin: 0; width: 168px; }
}
@media (max-width: 720px) {
  .uc-hero { height: 560px; }
  .uc-hero-card { width: auto; }
  .uc-rows .stage { min-height: 0; }
  .uc-badge, .uc-badge.left { position: relative; inset: auto; width: 70%; margin: -20px 0 0 auto; }
  .uc-rows .stage:has(.uc-badge) > :first-child { margin-bottom: 0; }
  .uc-split-media { min-height: 380px; }
  .uc-chat { width: 50%; }
}

/* Reading pages (About, Careers, Privacy, Terms, Support, 404): the
   download page's heading over one raised card of prose. */
.doc-head, .doc { width: min(860px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.doc-head { padding: 96px 0 40px; display: grid; gap: 14px; justify-items: start; }
.doc-head h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.doc-head .lede { max-width: 58ch; }
.doc-head .lede a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(47, 57, 86, 0.3); text-underline-offset: 3px; }
.doc-head .btn { margin-top: 14px; }
.doc { padding: clamp(28px, 6vw, 64px); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); color: var(--text); font-size: 17px; line-height: 1.65; }
.doc > :first-child { margin-top: 0; }
.doc > :last-child { margin-bottom: 0; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 8px; padding-left: 2px; }
.doc li::marker { color: var(--muted); }
.doc h2 { margin: 48px 0 14px; color: var(--fg); font-size: clamp(26px, 3vw, 32px); line-height: 1.15; }
.doc h3 { margin: 32px 0 10px; color: var(--fg); font: 550 18px/1.3 var(--sans); letter-spacing: -0.01em; }
.doc strong { color: var(--fg); }
.doc a:not(.btn) { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(47, 57, 86, 0.3); text-underline-offset: 3px; transition: text-decoration-color 0.2s; overflow-wrap: anywhere; }
.doc a:not(.btn):hover { text-decoration-color: currentColor; }
.doc code { padding: 2px 6px; border-radius: 6px; background: var(--peri-soft); color: var(--navy); font: 500 0.85em/1.4 ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }
.doc .btn { margin: 4px 0 8px; }
.doc-page .closing-wrap { margin-top: 96px; }
.doc:last-child, .doc-head:last-child { margin-bottom: 80px; }
@media (max-width: 720px) {
  .doc-head { padding: 56px 0 28px; }
  .doc { font-size: 16px; }
  .doc h2 { margin-top: 40px; }
}

/* Wishbone for Mac install page (mac.html), laid out like Wispr Flow's: a dark
   panel with the three steps, and beside it the moment itself, the download in
   the browser and the disk image's window with Applications. */
.mi-page { margin: 0; background: #1c2133; }
.mi { display: grid; grid-template-columns: minmax(380px, 42%) 1fr; min-height: 100vh; min-height: 100dvh; }
.mi-left { display: grid; grid-template-rows: auto 1fr auto; gap: 32px; padding: clamp(32px, 5vw, 72px) clamp(28px, 5vw, 72px) clamp(28px, 3.5vw, 40px); background: #1c2133; color: #f3f1ec; }
.mi-brand { display: inline-flex; align-items: center; justify-self: start; color: #f3f1ec; }
.mi-copy { align-self: center; display: grid; gap: 28px; max-width: 30rem; }
.mi-copy h1 { color: #f3f1ec; font-size: clamp(40px, 4.3vw, 64px); line-height: 1.02; letter-spacing: -0.035em; }
.mi-steps { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; color: #e9e6df; }
.mi-steps li::marker { color: #b9b4c8; }
.mi-retry { margin: 0; font-size: 17px; color: #d8d4cc; }
.mi-retry a { color: #f3f1ec; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(243, 241, 236, 0.45); }
.mi-retry a:hover { text-decoration-color: currentColor; }
.mi-web { justify-self: end; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); color: #f3f1ec; transition: background 0.2s; }
.mi-web:hover { background: rgba(255, 255, 255, 0.12); }
.mi-web-icon { display: grid; place-items: center; width: 48px; height: 48px; }
.mi-web-icon img { width: 48px; height: 48px; }
.mi-web strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.mi-web span span { font-size: 13px; color: #b9b4c8; }

.mi-right { position: relative; overflow: hidden; background: radial-gradient(90% 80% at 85% 10%, #7f8bc4 0%, rgba(127, 139, 196, 0) 60%), linear-gradient(160deg, #4a578f, #2f3956); }
.mi-browser { position: absolute; left: 0; top: 17%; width: 86%; height: 92%; border-radius: 0 16px 0 0; background: #fff; box-shadow: 0 30px 70px rgba(10, 14, 30, 0.35); }
.mi-browser-bar { display: flex; align-items: center; gap: 10px; height: 74px; padding: 0 28px 0 0; border-bottom: 1px solid #ebe9e5; }
.mi-url { flex: 0 0 34%; height: 40px; margin-right: auto; display: flex; align-items: center; justify-content: flex-end; padding-right: 12px; border-radius: 0 10px 10px 0; background: #f2f1ee; color: #8a8a90; }
.mi-url svg { width: 18px; height: 18px; }
.mi-tool { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #6b6b72; }
.mi-tool svg { width: 22px; height: 22px; }
.mi-tool.on { background: #5462a8; color: #fff; }
.mi-download { position: absolute; top: 88px; right: 4%; display: flex; align-items: center; gap: 16px; padding: 16px 30px 16px 18px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(28, 33, 51, 0.16), 0 0 0 1px rgba(28, 33, 51, 0.06); font-size: clamp(16px, 1.5vw, 21px); color: #1c2133; }
.mi-disk { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(#f4f4f6, #d6d7de); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.mi-disk img { width: 26px; height: 26px; }
.mi-cursor { position: absolute; left: 46%; top: 62%; width: 44px; height: 44px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2)); }
.mi-lines { position: absolute; left: 0; top: 46%; display: grid; gap: 30px; width: 38%; }
.mi-lines i { display: block; height: 44px; border-radius: 0 10px 10px 0; background: #f2f1ee; }
.mi-lines i:last-child { width: 72%; }
.mi-finder { position: absolute; left: 41%; top: 48%; width: 52%; max-width: 620px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(10, 14, 30, 0.35), 0 0 0 1px rgba(28, 33, 51, 0.08); }
.mi-finder-bar { position: relative; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px; background: #f1f0ee; border-bottom: 1px solid #e3e1dc; }
.mi-finder-bar i { width: 14px; height: 14px; border-radius: 50%; }
.mi-finder-bar i:nth-child(1) { background: #ff5f57; } .mi-finder-bar i:nth-child(2) { background: #febc2e; } .mi-finder-bar i:nth-child(3) { background: #28c840; }
.mi-finder-bar span { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 500; color: #1c2133; }
.mi-finder-bar span img { width: 20px; height: 20px; }
.mi-finder-body { --col: 150px; --gap: 64px; --dx: calc(var(--col) + var(--gap)); position: relative; display: grid; grid-template-columns: var(--col) var(--col); column-gap: var(--gap); justify-content: center; align-items: center; padding: clamp(36px, 5vw, 64px) 24px clamp(40px, 5.5vw, 72px); }
.mi-cell { display: grid; justify-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: #1c2133; }
.mi-app { width: 104px; height: 104px; border-radius: 24%; box-shadow: 0 10px 24px rgba(28, 33, 51, 0.22); }
.mi-apps { padding: 16px 0 12px; border-radius: 14px; box-shadow: 0 0 0 1px #efeeeb; }
.mi-folder { position: relative; display: grid; place-items: center; width: 110px; height: 92px; border-radius: 10px 10px 12px 12px; background: linear-gradient(#8fd0ff, #3d9cf0); color: #2a72c4; box-shadow: inset 0 10px 0 rgba(255, 255, 255, 0.25); }
.mi-folder > svg { width: 40%; height: 40%; }
.mi-done { position: absolute; right: -10px; bottom: -8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2f8f6b; color: #fff; box-shadow: 0 4px 10px rgba(28, 33, 51, 0.25); opacity: 0; transform: scale(0.4); }
.mi-done svg { width: 16px; height: 16px; }
.mi-ghost { position: absolute; left: calc(50% - var(--dx) / 2); top: calc(50% - 14px); width: 104px; height: 104px; margin: -52px 0 0 -52px; opacity: 0; pointer-events: none; }
.mi-ghost img { width: 100%; height: 100%; border-radius: 24%; opacity: 0.85; box-shadow: 0 18px 30px rgba(28, 33, 51, 0.3); }
.mi-hand { position: absolute; left: 62%; top: 58%; width: 40px; height: 40px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2)); }

/* One 9-second loop: the download appears and is clicked, the disk image's window opens,
   Wishbone is dragged onto Applications, and a check lands on the folder. */
.mi-download { animation: mi-download 9s var(--ease) infinite; }
.mi-tool.on { animation: mi-tool 9s ease infinite; }
.mi-cursor { animation: mi-cursor 9s var(--ease) infinite; }
.mi-finder { animation: mi-finder 9s var(--ease) infinite; }
.mi-ghost { animation: mi-ghost 9s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
.mi-apps { animation: mi-apps 9s ease infinite; }
.mi-done { animation: mi-done 9s var(--ease) infinite; }
@keyframes mi-tool { 0%, 4% { transform: scale(0.8); } 9% { transform: scale(1.08); } 14%, 100% { transform: none; } }
@keyframes mi-download { 0%, 4% { opacity: 0; transform: translateY(-8px); } 10%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mi-cursor { 0%, 6% { opacity: 0; transform: translate(60px, 70px); } 12% { opacity: 1; transform: none; } 16% { transform: scale(0.82); } 19% { transform: none; } 26% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes mi-finder { 0%, 22% { opacity: 0; transform: translateY(18px) scale(0.97); } 30%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mi-ghost {
  0%, 34% { opacity: 0; transform: none; }
  38% { opacity: 1; transform: translate(4px, -6px) scale(1.04); }
  68% { opacity: 1; transform: translate(var(--dx), -10px) scale(1); }
  74% { opacity: 0; transform: translate(var(--dx), 6px) scale(0.45); }
  100% { opacity: 0; transform: translate(var(--dx), 6px) scale(0.45); }
}
@keyframes mi-apps { 0%, 58% { background: transparent; } 62%, 72% { background: rgba(84, 98, 168, 0.14); } 80%, 100% { background: transparent; } }
@keyframes mi-done { 0%, 72% { opacity: 0; transform: scale(0.4); } 78% { opacity: 1; transform: scale(1.15); } 82%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mi-download, .mi-tool.on, .mi-cursor, .mi-finder, .mi-ghost, .mi-apps, .mi-done { animation: none; }
  .mi-ghost { opacity: 0; }
  .mi-done { opacity: 1; transform: none; }
}

/* Narrower windows: the picture shrinks with its panel. */
@media (max-width: 1200px) {
  .mi-finder { left: 30%; width: 64%; }
  .mi-finder-body { --col: 116px; --gap: 40px; }
  .mi-app, .mi-ghost { width: 84px; height: 84px; }
  .mi-ghost { margin: -42px 0 0 -42px; }
  .mi-folder { width: 90px; height: 76px; }
}
/* Condensed (tablets, phones, narrow windows): only the steps, filling the screen. The picture
   would otherwise drop below them, so it goes. */
@media (max-width: 900px) {
  .mi { grid-template-columns: 1fr; }
  .mi-right { display: none; }
  .mi-web { justify-self: start; }
}

/* Press feedback on the larger clickable rows and cards, matching the buttons. */
.menu a:active, .resource:active { transform: scale(0.985); }
.footer a { transition: color 0.2s var(--ease); }
