/* traceVision site styles: tokens, type, layout and components. Shared by every page. */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Regular.woff2') format('woff2'), url('/fonts/Geist-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Medium.woff2') format('woff2'), url('/fonts/Geist-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-SemiBold.woff2') format('woff2'), url('/fonts/Geist-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'GeistMono'; src: url('/fonts/GeistMono-Regular.woff2') format('woff2'), url('/fonts/GeistMono-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'GeistMono'; src: url('/fonts/GeistMono-Medium.woff2') format('woff2'), url('/fonts/GeistMono-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }

/* ============== TOKENS ============== */
:root, :root[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFFFF;
  --fg: #0F0F0F;
  --fg-2: #8A8A8A;
  --muted: #6B6B6B;
  --surface: #F6F6F6;
  --surface-2: #EFEFEF;
  --surface-float: #FFFFFF;
  --float-inset: #FAFAFA;
  --line: #E8E8E8;
  --line-strong: #D9D9D9;
  --char-0: #F0F0F0;
  --char-1: #E0E0E0;
  --char-2: #C0C0C0;
  --char-3: #999999;
  --char-4: #777777;
  --char-5: #555555;
  --char-6: #222222;
  --accent: #255FFF;
  --accent-glow: rgba(37, 95, 255, 0.18);
  --media-bg:
    radial-gradient(80% 70% at 12% 0%, #FFFFFF 0%, rgba(255,255,255,0) 60%),
    radial-gradient(70% 90% at 92% 100%, #E2E2E2 0%, rgba(226,226,226,0) 65%),
    #F1F1F1;
  --shadow-float:
    0 1px 2px rgba(15, 15, 15, 0.05),
    0 12px 28px -12px rgba(15, 15, 15, 0.14),
    0 40px 80px -32px rgba(15, 15, 15, 0.20);
  --space-section: clamp(80px, 10vw, 136px);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0F0F0F;
  --fg: #FFFFFF;
  --fg-2: #858585;
  --muted: #888888;
  --surface: #151515;
  --surface-2: #1C1C1C;
  --surface-float: #0F0F0F;
  --float-inset: #0B0B0B;
  --line: #222222;
  --line-strong: #2E2E2E;
  --char-0: #141414;
  --char-1: #1E1E1E;
  --char-2: #2E2E2E;
  --char-3: #555555;
  --char-4: #7A7A7A;
  --char-5: #A8A8A8;
  --char-6: #E6E6E6;
  --accent: #6B90FF;
  --accent-glow: rgba(107, 144, 255, 0.3);
  --media-bg:
    radial-gradient(80% 70% at 12% 0%, #232323 0%, rgba(35,35,35,0) 60%),
    radial-gradient(70% 90% at 92% 100%, #0A0A0A 0%, rgba(10,10,10,0) 65%),
    #161616;
  --shadow-float:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 16px 32px -12px rgba(0, 0, 0, 0.55),
    0 48px 96px -32px rgba(0, 0, 0, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: 'Geist', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 2000; padding: 8px 14px; border-radius: 9999px; background: var(--fg); color: var(--bg); font-size: 14px; }
.skip:focus { top: 12px; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
@media (min-width: 1024px) { .wrap { padding-inline: 48px; } }

:root:not([data-theme="dark"]) .theme-dark-only,
:root[data-theme="dark"] .theme-light-only { display: none !important; }

/* ============== TYPE ============== */
.t-display { font-size: clamp(2.125rem, 3.6vw, 3rem); line-height: 1.15; letter-spacing: -0.025em; font-weight: 400; color: var(--fg); }
.t-lead { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -0.018em; font-weight: 400; color: var(--fg); }
.t-section { font-size: clamp(1.625rem, 2.4vw, 1.875rem); line-height: 1.32; letter-spacing: -0.015em; font-weight: 400; color: var(--fg); }
.t-card { font-size: 1.25rem; line-height: 1.35; letter-spacing: -0.01em; font-weight: 400; color: var(--fg); }
.t-large { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 34em; }
.t-body { font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }
.t-small { font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
.tone-2 { color: var(--fg-2); }
.tnum { font-feature-settings: "tnum"; }

/* ============== BUTTONS & LINKS ============== */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.4s var(--spring), opacity 0.2s ease;
}
.btn--sm { height: 38px; padding: 0 16px; }
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { opacity: 0.84; }
.btn--ghost { color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--surface-2);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.btn--ghost:hover::before { opacity: 1; }
.btn--text { color: var(--fg); opacity: 0.7; padding: 0 12px; }
.btn--text:hover { opacity: 1; }
.btn:active { transform: scale(0.97); }
.btn .chev, .link-more .chev { transition: transform 0.4s var(--spring); }
.btn:hover .chev, .link-more:hover .chev { transform: translateX(3px); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  transition: opacity 0.2s ease;
}
.link-more:hover { opacity: 0.7; }
.link-more:active { opacity: 0.55; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--spring), opacity 0.2s ease;
  opacity: 0.85;
}
.icon-btn:hover { opacity: 1; }
.icon-btn:active { transform: scale(0.92); }
.icon-btn svg { display: block; }

/* ============== ANNOUNCEMENT + NAV ============== */
.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 24px;
  background: var(--surface);
  color: var(--fg);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  transition: opacity 0.2s ease;
}
.announce:hover { opacity: 0.8; }
.announce:active { opacity: 0.65; }
.announce:hover .chev { transform: translateX(3px); }
.announce .chev { flex: none; transition: transform 0.4s var(--spring); }

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* No fill while the hero shows through; it fades in once the page scrolls or the menu opens */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.nav.is-scrolled::before,
.nav:has(#menuToggle[aria-expanded="true"])::before { opacity: 1; }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 40px; }
.nav-logo { display: inline-flex; align-items: center; flex: none; border-radius: 6px; transition: opacity 0.2s ease; }
.nav-logo:hover { opacity: 0.75; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: none; align-items: center; gap: 28px; }
.nav-link { font-size: 15px; color: var(--fg); opacity: 0.55; transition: opacity 0.2s ease; border-radius: 4px; }
.nav-link:hover { opacity: 1; }
.nav-link:active { opacity: 0.8; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-desktop-only { display: none; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-desktop-only { display: inline-flex; }
  .nav-mobile-only { display: none; }
}
.mobile-menu { padding: 8px 24px 24px; display: grid; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 10px 0; font-size: 17px; color: var(--fg); opacity: 0.75; transition: opacity 0.2s ease; }
.mobile-menu a:not(.btn):hover { opacity: 1; }
.mobile-menu .btn { margin-top: 12px; justify-content: center; }

/* ============== HERO ============== */
/* pulled up under the transparent nav so the hero visual runs behind it */
.hero { position: relative; overflow: hidden; margin-top: -72px; }
.hero-copy { position: relative; z-index: 10; padding-top: calc(72px + clamp(56px, 8vw, 104px)); padding-bottom: 40px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.9s var(--ease-out) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.26s; }
.delay-4 { animation-delay: 0.38s; }

/* Encircling video gallery — concave 3D cylinder (viewer inside). Geometry unchanged. */
.gallery-bleed {
  width: 160vw;
  position: relative;
  left: 50%;
  margin-left: -80vw;
  overflow: visible;
}
.gallery-stage {
  perspective: 150vw;
  perspective-origin: 50% 50%;
  height: 46vw;
  position: relative;
  overflow: visible;
}
.gallery-tile {
  background-image: linear-gradient(135deg, var(--surface-2) 0%, var(--line-strong) 50%, var(--surface-2) 100%);
}
.gallery-cylinder {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.gallery-tile {
  position: absolute;
  left: 0;
  top: 0;
  --tile-w: 28vw;
  --tile-h: calc(var(--tile-w) * 1.4);
  width: var(--tile-w);
  height: var(--tile-h);
  margin-left: calc(var(--tile-w) / -2);
  margin-top: calc(var(--tile-h) / -2);
  background: transparent;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.gallery-tile-inner {
  position: absolute;
  inset: 0;
  border-radius: 1.2vw;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    inset 0 0 0 1px var(--line),
    rgba(0,0,0,0.15) 0px 40px 80px -20px,
    rgba(0,0,0,0.1) 0px 60px 120px -40px;
}
.gallery-tile-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--dim, 0));
  pointer-events: none;
  z-index: 2;
}
.gallery-tile video, .gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  filter: blur(calc(var(--blur, 0) * 1px));
  transition: filter 0.4s ease;
}
.gallery-tile-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.gallery-fade-left,
.gallery-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14vw;
  z-index: 300;
  pointer-events: none;
}
.gallery-fade-left {
  left: 30vw;
  background: linear-gradient(to right, var(--bg) 0%, color-mix(in srgb, var(--bg) 50%, transparent) 40%, transparent 100%);
}
.gallery-fade-right {
  left: calc(130vw - 14vw);
  background: linear-gradient(to left, var(--bg) 0%, color-mix(in srgb, var(--bg) 50%, transparent) 40%, transparent 100%);
}
@media (max-width: 1024px) {
  .gallery-stage { height: 56vw; }
  .gallery-tile { --tile-w: 38vw; border-radius: 1.5vw; }
}
@media (max-width: 700px) {
  .gallery-stage { height: 100vw; }
  .gallery-tile { --tile-w: 96vw; --tile-h: calc(var(--tile-w) * 1.2); border-radius: 5vw; }
  .gallery-tile-inner { border-radius: 5vw; }
  .gallery-bleed { margin-top: -4vh !important; }
}
.gallery-clip {
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

/* ============== DITHER VISUALS ============== */
[data-dither] > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Kept quiet: low overall opacity, fading out down the page and thinning to a whisper
   behind the headline and CTAs (the ellipse tracks the left-aligned copy block) */
.hero-dither {
  --copy-x: calc(max(24px, 50% - 616px) + 360px);
  --copy-y: calc(176px + clamp(56px, 8vw, 104px));
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  -webkit-mask-image:
    linear-gradient(180deg, #000 0%, #000 42%, transparent 70%),
    radial-gradient(ellipse 600px 200px at var(--copy-x) var(--copy-y), rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.3) 50%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, #000 0%, #000 42%, transparent 70%),
    radial-gradient(ellipse 600px 200px at var(--copy-x) var(--copy-y), rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.3) 50%, #000 100%);
  mask-composite: intersect;
}
@media (min-width: 1024px) { .hero-dither { --copy-x: calc(max(48px, 50% - 592px) + 400px); } }

/* ============== SECTIONS ============== */
.intro { padding-top: clamp(64px, 8vw, 112px); }
.intro-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .intro-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .intro-list { grid-column: 1 / span 3; grid-row: 1; }
  .intro-lead { grid-column: 5 / span 8; grid-row: 1; }
}
.intro-list ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; }
.intro-list a { font-size: 17px; color: var(--fg); transition: opacity 0.2s ease; border-radius: 4px; }
.intro-list a:hover { opacity: 0.65; }
.intro-list a:active { opacity: 0.5; }


.pillar { padding-top: var(--space-section); }
.pillar-rule { border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.pillar-head { display: grid; gap: 20px; }
.pillar-label { font-size: 1.125rem; line-height: 1.4; }
.pillar-copy .t-large { margin-top: 28px; font-size: 0.9375rem; line-height: 1.55; }   /* section intros read as body text */
/* Label + heading stacked on the left, supporting paragraph on the right */
@media (min-width: 1024px) {
  .pillar-head:not(.pillar-head--stack) { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .pillar-head:not(.pillar-head--stack) .pillar-copy { display: contents; }
  .pillar-head:not(.pillar-head--stack) .pillar-label { grid-column: 1 / span 6; grid-row: 1; margin-bottom: 20px; }
  .pillar-head:not(.pillar-head--stack) .pillar-title { grid-column: 1 / span 6; grid-row: 2; }
  .pillar-head:not(.pillar-head--stack) .pillar-copy > .t-large { grid-column: 8 / span 5; grid-row: 2; margin-top: 0; }
  .pillar-head:not(.pillar-head--stack) .pillar-copy > .checks { grid-column: 8 / span 5; grid-row: 3; }
}

/* Suites: heading block beside a 2×2 grid */
@media (min-width: 1024px) {
  .pillar-side { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .pillar-side > .pillar-head { grid-column: 1 / span 4; position: sticky; top: 112px; }
  .pillar-side > .pillar-body { grid-column: 6 / span 7; margin-top: 0; }
}

/* Applications: right column offset for a staggered rhythm */
@media (min-width: 768px) {
  .stagger > :nth-child(even) { margin-top: 96px; }
}
.pillar-body { margin-top: clamp(48px, 6vw, 72px); }

.checks { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg); }
.checks svg { flex: none; color: var(--accent); }

/* Feature tiles — full-bleed dither scene, copy sits beneath */
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.tile--art { display: block; padding: 0; aspect-ratio: 5 / 4; background: color-mix(in srgb, var(--surface) 50%, var(--bg)); box-shadow: none; }
/* Border sits above the canvas so edge-to-edge dither never hides it */
.tile--art::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.feature-copy { padding-top: 24px; }
.feature-copy .t-body { margin-top: 8px; max-width: 30em; }
.feature-copy .link-more { margin-top: 16px; }

/* Media panel — textured stage rendered as a dither scene */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  background: var(--media-bg);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
  min-height: clamp(460px, 48vw, 600px);
  padding: 56px 16px;
}
.media-dither { position: absolute; inset: 0; z-index: 0; }
.media-dither[data-dither="idField"] { opacity: 0.35; }
.media > .float-card, .media > .media-content { position: relative; z-index: 2; }
@media (min-width: 1024px) {
  .media:not(.media--cta) { justify-items: center; padding-inline: clamp(48px, 7vw, 96px); }
}

.float-card {
  width: min(100%, 540px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-float);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line);
}
.float-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; font-size: 14px; color: var(--fg); }
.float-title { display: inline-flex; align-items: center; gap: 10px; }
.float-title img { height: 13px; width: auto; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live-dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); animation: pulseDot 1.6s infinite; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.float-body { position: relative; overflow: hidden; height: 220px; background: var(--float-inset); }
.float-body::after { content: ''; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); pointer-events: none; }
.float-video { isolation: isolate; }
.float-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity 0.4s ease; }
.float-video video.is-active { opacity: 1; }
/* Willows-Journey_2 is letterboxed with a black band down its right ~9%; let it overflow the clipped card */
.float-video video.crop-right { inset: 0 auto 0 0; width: 111%; max-width: none; }
/* light grounding gradient + faint brand tint */
.float-video::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.28), transparent 50%), color-mix(in srgb, var(--accent) 10%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.float-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.float-stats div { padding: 14px 18px; }
.float-stats div + div { box-shadow: inset 1px 0 0 var(--line); }
.float-stats dd { font-size: 1.25rem; line-height: 1.3; color: var(--fg); }
.float-stats dt { font-size: 12px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 24px; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 24px 0; border-top: 1px solid var(--line); }
.stat dd { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--fg); }
.stat dt { font-size: 14px; color: var(--muted); }

.cta { padding-top: var(--space-section); }
.media--cta { min-height: 0; text-align: center; padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 80px); }
.media--cta .media-dither {
  -webkit-mask-image: radial-gradient(55% 60% at 50% 50%, transparent 20%, #000 85%);
  mask-image: radial-gradient(55% 60% at 50% 50%, transparent 20%, #000 85%);
}
@media (max-width: 767px) { .media--cta .media-dither { opacity: 0.6; } }
.media-content .t-large { margin: 24px auto 0; text-wrap: balance; }
.media-content .hero-ctas { margin-top: 36px; justify-content: center; }

/* fills the screen below the nav once scrolled to the end: brand row, link columns, particle mark */
.footer {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-section);
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
}
.footer-body { width: 100%; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; border-top: 1px solid var(--line); padding-top: 40px; }
.footer-top img { height: 18px; width: auto; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; margin-top: 64px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-art {
  position: relative;
  flex: 1;
  min-height: clamp(160px, 24vw, 320px);
  margin-top: 32px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
}
.footer h2 { font-size: 14px; font-weight: 400; color: var(--muted); }
.footer ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.footer-link { font-size: 14px; color: var(--fg); opacity: 0.8; transition: opacity 0.2s ease; border-radius: 4px; }
.footer-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-link:active { opacity: 0.6; }

/* ============== NAV MENUS ============== */
.nav-item { position: relative; display: flex; align-items: center; height: 72px; }
.nav-trigger { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 15px; color: var(--fg); opacity: 0.55; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 4px; transition: opacity 0.2s ease; }
.nav-trigger:hover, .nav-item.is-open .nav-trigger, .nav-link[aria-current="page"], .nav-item.is-current .nav-trigger { opacity: 1; }
.nav-trigger:active { opacity: 0.8; }
.nav-trigger svg { transition: transform 0.35s var(--ease-out); }
.nav-item.is-open .nav-trigger svg { transform: rotate(180deg); }
.nav-panel {
  position: absolute;
  top: calc(100% - 10px);
  left: -14px;
  width: 340px;
  padding: 8px;
  border-radius: 14px;
  background: var(--surface-float);
  box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.18s;
}
.nav-item.is-open .nav-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity 0.18s ease, transform 0.3s var(--ease-out); }
.nav-panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; }
.nav-panel a:hover { background: var(--surface); }
.nav-panel a:active { background: var(--surface-2); }
.nav-panel a[aria-current="page"] .np-title::after { content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-radius: 9999px; background: var(--accent); vertical-align: middle; }
.np-title { font-size: 14px; line-height: 1.4; color: var(--fg); }
.np-desc { font-size: 13px; line-height: 1.45; color: var(--muted); }
.np-group { padding: 10px 12px 4px; font-size: 12px; color: var(--muted); }
.np-foot { margin-top: 6px; padding-top: 6px; box-shadow: inset 0 1px 0 var(--line); }
.np-foot a { display: flex; align-items: center; justify-content: space-between; }

.mobile-menu { max-height: calc(100svh - 72px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu .mm-group { padding: 16px 0 4px; font-size: 13px; color: var(--muted); }
.mobile-menu .mm-group:first-child { padding-top: 4px; }

/* ============== INNER PAGES ============== */
.page-hero { padding-top: clamp(32px, 5vw, 72px); }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .page-hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .page-hero-copy { grid-column: 1 / span 6; }
  .page-hero-art { grid-column: 7 / span 6; }
  .page-hero--wide .page-hero-copy { grid-column: 1 / span 9; }
}
.page-hero h1 { margin-top: 20px; text-wrap: balance; }
.page-hero h1:first-child { margin-top: 0; }
.page-hero h1 .tone-2 { display: block; }
.page-hero .t-large { margin-top: 24px; }
.page-hero .hero-ctas { margin-top: 32px; }
.page-hero-art.tile--art { aspect-ratio: 6 / 5; }

/* Free-form hero scene: no card. It fills the right side of the hero, bleeds to the screen edge and
   up behind the transparent nav, and fades out toward the copy and at top and bottom. */
.page-hero--free { position: relative; overflow: hidden; margin-top: -72px; padding-top: calc(72px + clamp(32px, 5vw, 72px)); }
.page-hero--free .page-hero-grid { position: relative; z-index: 2; }
.page-hero-free {
  position: relative;
  height: min(86vw, 520px);
  margin-top: 16px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 80%, transparent 100%);
}
@media (min-width: 1024px) {
  .page-hero--free .page-hero-grid { min-height: clamp(460px, 44vw, 620px); }
  .page-hero-free {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62%;
    height: auto;
    margin: 0;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, transparent 8%, rgba(0,0,0,0.35) 22%, #000 46%),
      linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0%, transparent 8%, rgba(0,0,0,0.35) 22%, #000 46%),
      linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
    mask-composite: intersect;
  }
}
/* Suites: the headline with the lead and actions right beneath it, over a wide establishing shot of
   the environment. On wider screens the shot covers the whole hero, running up the right side and
   behind the transparent nav, and fades out in an oval around the copy so nothing sits behind text;
   a band of floor stays visible below the copy. On phones the shot sits below the copy. */
.suite-hero { position: relative; overflow: hidden; margin-top: -72px; padding-top: calc(72px + clamp(32px, 5vw, 72px)); }
.suite-hero-head { position: relative; z-index: 2; }
.suite-hero-head h1 { max-width: 16em; text-wrap: balance; }
.suite-hero-head .t-large { margin-top: 24px; }
.suite-hero-head .hero-ctas { margin-top: 32px; }
.suite-pano {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 92vw;
  margin-top: 24px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
}
@media (min-width: 768px) {
  .suite-hero { padding-bottom: clamp(170px, 19vw, 280px); }
  .suite-hero-head .t-large { max-width: 32em; }
  .suite-pano {
    position: absolute;
    inset: 0;
    height: auto;
    margin: 0;
    -webkit-mask-image:
      radial-gradient(ellipse 52% 60% at 21% 40%, transparent 68%, #000 100%),
      linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%),
      linear-gradient(90deg, transparent 0%, #000 6%);
    -webkit-mask-composite: source-in, source-in;
    mask-image:
      radial-gradient(ellipse 52% 60% at 21% 40%, transparent 68%, #000 100%),
      linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%),
      linear-gradient(90deg, transparent 0%, #000 6%);
    mask-composite: intersect;
  }
}
.suite-hero + .pillar { padding-top: clamp(16px, 2vw, 32px); }
.suite-hero + .pillar .pillar-rule { border-top: 0; padding-top: 0; }
.suite-pano-scene { position: absolute; top: 0; bottom: 0; left: -8%; width: 116%; animation: panDrift 46s ease-in-out infinite alternate; }
@keyframes panDrift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
@media (prefers-reduced-motion: reduce) { .suite-pano-scene { animation: none; } }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 1.4s var(--ease-out) 0.3s both; }
@media (prefers-reduced-motion: reduce) { .animate-fade-in { animation: none; } }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumb a { color: var(--fg); opacity: 0.7; border-radius: 4px; transition: opacity 0.2s ease; }
.crumb a:hover { opacity: 1; }
.crumb a:active { opacity: 0.55; }
.crumb svg { opacity: 0.5; }

/* Platform: a standalone, centered, full-height hero. It runs up behind the transparent nav, and its
   streams keep clear of the copy, so the scene only fades out at the very bottom. */
.platform-hero { position: relative; overflow: hidden; margin-top: -72px; min-height: 100vh; min-height: 100svh; }
.platform-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
}
.platform-hero-copy { position: relative; z-index: 2; text-align: center; padding-top: calc(72px + clamp(64px, 10vh, 120px)); }
.platform-hero h1 { max-width: 15em; margin-inline: auto; font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 400; color: var(--fg); text-wrap: balance; }
.platform-hero h1 .tone-2 { display: block; }
.platform-hero .t-large { margin: 28px auto 0; text-wrap: balance; }
.platform-hero .hero-ctas { justify-content: center; margin-top: 36px; }

.section { padding-top: var(--space-section); }
.section-head { display: grid; gap: 20px; }
.section-head .t-large { margin-top: 0; }
@media (min-width: 1024px) {
  .section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: end; }
  .section-head > :first-child { grid-column: 1 / span 6; }
  .section-head > .t-large { grid-column: 8 / span 5; }
}
.section-head h2 .tone-2 { display: block; }
.section-body { margin-top: clamp(40px, 5vw, 64px); }

/* Framed real media: video, photos, product UI */
.frame { position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; background: var(--surface); }
.frame::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.frame > video, .frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.frame--video { aspect-ratio: 16 / 9; }
.frame--photo { aspect-ratio: 4 / 3; }
.frame--wide { aspect-ratio: 21 / 9; }
/* photos get a soft grounding gradient and a faint brand tint */
.frame--shade::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.32), transparent 55%), color-mix(in srgb, var(--accent) 8%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.frame-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: clamp(20px, 3vw, 32px); color: #fff; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.55; max-width: 46em; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
/* product UI stays unshaded and uncropped */
.shot { position: relative; overflow: hidden; border-radius: 14px; background: #fff; }
.shot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.shot img { display: block; width: 100%; height: auto; }
:root[data-theme="dark"] .shot img { filter: brightness(0.92); }

/* Text features: rule above, title, body */
.features { display: grid; gap: 0 24px; }
.feature .t-body + .t-body { margin-top: 10px; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } .features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { padding: 24px 0 32px; border-top: 1px solid var(--line); }
.feature .t-body { margin-top: 8px; max-width: 32em; }

/* Split: media on one side, copy on the other */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .split > .split-media { grid-column: 1 / span 7; }
  .split > .split-copy { grid-column: 9 / span 4; }
  .split--flip > .split-media { grid-column: 6 / span 7; grid-row: 1; }
  .split--flip > .split-copy { grid-column: 1 / span 4; grid-row: 1; }
}
.split-copy .t-body, .split-copy .t-large { margin-top: 16px; }
.split-copy .link-more, .split-copy .chips { margin-top: 24px; }
.split + .split { margin-top: clamp(64px, 8vw, 112px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { font-size: 13px; line-height: 1; padding: 9px 13px; border-radius: 9999px; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Tabs: pill buttons over a product-UI panel */
.tabs-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  height: 38px; padding: 0 16px; border: 0; border-radius: 9999px; font: inherit; font-size: 14px; font-weight: 500;
  color: var(--fg); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer;
  opacity: 0.72; transition: opacity 0.2s ease, transform 0.4s var(--spring);
}
.tab:hover { opacity: 1; }
.tab:active { transform: scale(0.97); }
.tab[aria-selected="true"] { opacity: 1; background: var(--fg); color: var(--bg); box-shadow: none; }
.tab-panels { margin-top: 28px; }
.tab-panel { display: grid; gap: 28px; align-items: start; }
.tab-panel[hidden] { display: none; }
@media (min-width: 1024px) {
  .tab-panel { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .tab-panel > .tab-copy { grid-column: 1 / span 4; }
  .tab-panel > .tab-media { grid-column: 5 / span 8; }
  .tab-panel:not(:has(.tab-copy)) > .tab-media { grid-column: 1 / -1; }
}
.tab-copy .t-body { margin-top: 12px; }
.tab-panel:not([hidden]) .tab-media { animation: fadeUp 0.6s var(--ease-out); }

/* Use cases: accordion beside a sticky image that follows the open item */
.usecases { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .usecases { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .uc-list { grid-column: 1 / span 5; }
  .uc-media { grid-column: 7 / span 6; position: sticky; top: 112px; }
}
.uc-item { border-top: 1px solid var(--line); }
.uc-item:last-child { border-bottom: 1px solid var(--line); }
.uc-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; font: inherit; font-size: 1.125rem; line-height: 1.4; text-align: left; color: var(--fg); background: none; border: 0; cursor: pointer; border-radius: 6px; transition: opacity 0.2s ease; }
.uc-btn:hover { opacity: 0.75; }
.uc-btn:active { opacity: 0.6; }
.plus { flex: none; transition: transform 0.35s var(--ease-out); }
[aria-expanded="true"] > .plus, details[open] > summary .plus { transform: rotate(45deg); }
.uc-body { padding-bottom: 24px; }
.uc-body[hidden] { display: none; }
.uc-body .frame { margin-top: 20px; }
.uc-media { display: none; }
@media (min-width: 1024px) {
  .uc-media { display: block; aspect-ratio: 5 / 4; }
  .uc-media > img { opacity: 0; transition: opacity 0.45s ease; }
  .uc-media > img.is-active { opacity: 1; }
  .uc-body .frame { display: none; }
}

/* Quote */
.quote { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .quote { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .quote > blockquote { grid-column: 1 / span 6; }
  .quote > .frame { grid-column: 8 / span 5; }
}
.quote blockquote p { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -0.018em; color: var(--fg); text-wrap: pretty; }
.quote footer { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-size: 14px; color: var(--muted); }
.quote footer img { height: 34px; width: auto; }
:root[data-theme="dark"] .invert-dark { filter: invert(1); }

/* FAQ */
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 1.125rem; line-height: 1.45; color: var(--fg); border-radius: 6px; transition: opacity 0.2s ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { opacity: 0.75; }
.faq-list summary:active { opacity: 0.6; }
.faq-list details p { padding-bottom: 24px; max-width: 46em; color: var(--muted); }

/* Cards that link: apps and posts */
.card-link { display: block; border-radius: 16px; }
.card-link .tile--art, .card-link .post-cover { transition: transform 0.6s var(--ease-out); }
.card-link:hover .tile--art, .card-link:hover .post-cover { transform: translateY(-4px); }
.card-link:active .tile--art, .card-link:active .post-cover { transform: translateY(-1px); }
.card-link .t-card { transition: opacity 0.2s ease; }
.card-link:hover .t-card { opacity: 0.75; }
.post-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--surface); }
.post-cover::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 9999px; background: currentColor; opacity: 0.6; }
.post-card h3 { margin-top: 8px; text-wrap: pretty; }
.post-card .t-body { margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.avatars { display: inline-flex; padding-left: 6px; }
.avatars img { width: 22px; height: 22px; border-radius: 9999px; object-fit: cover; margin-left: -6px; box-shadow: 0 0 0 2px var(--bg); }
.post-featured { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) {
  .post-featured { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
  .post-featured > .card-link { grid-column: 1 / span 7; }
  .post-featured .post-featured-copy { grid-column: 9 / span 4; }
}
.post-featured h2 { margin-top: 10px; }
.post-featured h2 a { border-radius: 4px; transition: opacity 0.2s ease; }
.post-featured h2 a:hover { opacity: 0.75; }
.post-featured .t-large { margin-top: 16px; }
.post-grid { display: grid; gap: 56px 24px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* Article */
.article { padding-top: clamp(32px, 5vw, 72px); }
.article-head { max-width: 760px; margin-inline: auto; }
.article-head h1 { margin-top: 24px; text-wrap: balance; }
.article-head .t-large { margin-top: 20px; max-width: none; }
.byline { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 32px; }
.person { display: flex; align-items: center; gap: 12px; }
.person img { width: 40px; height: 40px; border-radius: 9999px; object-fit: cover; background: var(--surface); }
.person b { display: block; font-weight: 500; font-size: 14px; line-height: 1.35; color: var(--fg); }
.person span { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); }
.article-cover { max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; }
.article-cover img { position: static; height: auto; }
.prose { max-width: 680px; margin: clamp(40px, 5vw, 64px) auto 0; font-size: 1.0625rem; line-height: 1.75; color: color-mix(in srgb, var(--fg) 84%, var(--bg)); }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: var(--fg); font-weight: 500; letter-spacing: -0.012em; }
.prose h2 { font-size: 1.5rem; line-height: 1.3; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; line-height: 1.35; margin-top: 1.9em; }
.prose h4, .prose h5, .prose h6 { font-size: 1.0625rem; line-height: 1.45; margin-top: 1.7em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: 0.55em; }
.prose li::marker { color: var(--fg-2); }
.prose strong { font-weight: 500; color: var(--fg); }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; border-radius: 2px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose blockquote { padding-left: 1.25em; box-shadow: inset 2px 0 0 var(--accent); color: var(--fg); }
.prose figure { margin-block: 2.2em; }
.prose figure .frame { background: var(--surface); }
.prose figure img { position: static; width: 100%; height: auto; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.article-foot { max-width: 680px; margin: 64px auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); border-radius: 4px; transition: opacity 0.2s ease; }
.back-link:hover { color: var(--fg); }
.back-link:active { opacity: 0.6; }
.back-link svg { transition: transform 0.4s var(--spring); }
.back-link:hover svg { transform: translateX(-3px); }

/* Forms */
.form-card { width: min(100%, 560px); border-radius: 14px; background: var(--surface-float); box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); padding: clamp(20px, 3vw, 32px); }
.form-card h2 { margin-bottom: 4px; }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: 10px; font: inherit; font-size: 15px;
  color: var(--fg); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.field textarea { height: auto; min-height: 128px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--char-3); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-radius: 10px; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-2); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-actions .btn { border: 0; font-family: inherit; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; color: var(--fg); background: var(--surface); box-shadow: inset 2px 0 0 var(--accent); }
.form-status[hidden] { display: none; }
.media.media--form { justify-items: center; padding: clamp(16px, 3vw, 32px); }
@media (min-width: 1024px) { .media.media--form { justify-items: center; padding: 32px; } }

.person-card { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); max-width: 420px; }
.person-card img { width: 52px; height: 52px; border-radius: 9999px; object-fit: cover; }
.person-card b { display: block; font-weight: 500; font-size: 15px; color: var(--fg); }
.person-card span { display: block; font-size: 13px; color: var(--muted); }
.person-card a { font-size: 14px; color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; border-radius: 2px; }
.person-card a:hover { text-decoration-color: currentColor; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-weight: 400; font-size: 14px; color: var(--muted); }
.compare thead img { height: 18px; width: auto; display: block; }
.compare tbody th { font-weight: 400; font-size: 15px; color: var(--fg); width: 34%; }
.compare .us { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.mark { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.mark svg { flex: none; margin-top: 3px; }
.mark--yes svg { color: var(--accent); }
.mark--yes { color: var(--fg); }
.vs { display: flex; align-items: center; gap: 16px; }
.vs img { height: 24px; width: auto; }
.vs span { font-size: 22px; color: var(--fg-2); }

.center-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Questions an app answers, set like queries typed into the product */
.queries { display: grid; gap: 12px; list-style: none; }
@media (min-width: 768px) { .queries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.query { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border-radius: 14px; background: color-mix(in srgb, var(--surface) 50%, var(--bg)); box-shadow: inset 0 0 0 1px var(--line); font-size: 1.0625rem; line-height: 1.5; color: var(--fg); }
.query svg { flex: none; margin-top: 4px; color: var(--accent); }
.suite-links { display: flex; flex-wrap: wrap; gap: 8px; }
.suite-links a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 9999px; font-size: 14px; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); transition: opacity 0.2s ease, transform 0.4s var(--spring); }
.suite-links a:hover { opacity: 0.7; }
.suite-links a:active { transform: scale(0.97); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-fade-up { animation: none; opacity: 1; }
  .live-dot { animation: none; }
  .btn, .icon-btn, .chev { transition: none; }
}
