:root {
  --paper: #f8f8f5;
  --ink: #050505;
  --muted: #9b9b98;
  --green: #00ff51;
  --pad: clamp(28px, 5.25vw, 84px);
  --sans: 'Manrope', 'Helvetica Neue', sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-smooth: cubic-bezier(.4, 0, .2, 1);
}

@view-transition { navigation: auto; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes page-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes enter-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes enter-header { from { opacity: 0; transform: translateY(-10px); } }
::view-transition-old(root) { animation: page-out .18s ease-in both; }
::view-transition-new(root) { animation: page-in .42s var(--ease-out) both; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.45; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
a, button, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(0,0,0,.08); }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--green); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border-radius: 999px; background: var(--green); color: var(--ink); font-size: 13px; font-weight: 600; transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
:where(a, button, input):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.subpage :where(a, button, input):focus-visible { outline-color: #087f2c; }
body.menu-locked { overflow: hidden; overscroll-behavior: none; }
:where(h1, h2) { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 106px;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header > .wordmark { view-transition-name: nada-wordmark; animation: enter-header .72s .04s var(--ease-out) backwards; }
.site-header > .menu-toggle { animation: enter-header .72s .12s var(--ease-out) backwards; }
@media (min-width: 801px) { .site-header > .main-nav { animation: enter-header .72s .12s var(--ease-out) backwards; } }
.wordmark { min-height: 44px; display: inline-flex; align-items: center; font-size: 27px; line-height: 1; font-weight: 700; letter-spacing: -.075em; transition: transform .3s var(--ease-out); }
.wordmark:hover { transform: translateY(-1px); }
.main-nav { display: flex; gap: clamp(30px, 3.8vw, 60px); align-items: center; font-size: 13px; font-weight: 500; }
.main-nav a { position: relative; padding: 12px 0; transition: color .22s ease; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .3s var(--ease-out); }
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.is-current::after { transform: scaleX(1); transform-origin: left center; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor; transform-origin: center; transition: transform .25s ease, opacity .2s ease; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Home */
.hero {
  position: relative;
  height: min(100vh, 900px);
  min-height: 680px;
  overflow: hidden;
  background: #f7f7f4;
  display: grid;
  place-items: center;
}
.hero-ambient {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at 16% 35%, rgba(255, 232, 97, .46), transparent 27%),
    radial-gradient(circle at 84% 69%, rgba(71, 182, 255, .58), transparent 31%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.92), transparent 32%);
  filter: blur(42px);
  animation: ambient 14s ease-in-out infinite alternate;
}
@keyframes ambient { to { transform: translate3d(2.5%, -2%, 0) scale(1.05); } }
#hero-canvas { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; }
.hero h1 {
  position: relative;
  z-index: 3;
  margin: 2.5rem 0 0;
  max-width: 900px;
  text-align: center;
  font-size: clamp(46px, 5.25vw, 84px);
  line-height: 1.03;
  letter-spacing: -.05em;
  font-weight: 600;
  text-wrap: balance;
  animation: enter-up .95s .18s var(--ease-out) backwards;
}

.about {
  position: relative;
  height: clamp(650px, 50.3vw, 850px);
  overflow: hidden;
  background: #000;
  color: #fff;
  border-radius: var(--about-radius, 36px) var(--about-radius, 36px) 0 0;
}
#about-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.about-copy { position: absolute; z-index: 2; top: 165px; left: 50.6%; width: min(510px, 42vw); }
.about-copy h2 { margin: 0 0 35px; font-size: clamp(42px, 4.6vw, 72px); line-height: 1; letter-spacing: -.045em; font-weight: 600; }
.about-copy p { margin: 0 0 23px; color: #8d8d8d; font-size: clamp(15px, 1.5vw, 23px); line-height: 1.42; letter-spacing: -.025em; }

.product {
  min-height: clamp(760px, 54vw, 950px);
  padding: clamp(90px, 8vw, 135px) var(--pad) 90px;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: start;
  background: #000;
  color: #fff;
}
.product-copy { padding-top: clamp(35px, 4vw, 65px); max-width: 570px; }
.product-copy h2 { margin: 0 0 33px; font-size: clamp(46px, 5vw, 78px); line-height: 1; letter-spacing: -.055em; }
.product-copy p { margin: 0 0 76px; color: #8f8f8f; font-size: clamp(16px, 1.5vw, 24px); line-height: 1.4; letter-spacing: -.025em; }
.signal-button { --magnet-x: 0px; --magnet-y: 0px; --button-lift: 0px; --button-scale: 1; min-height: 44px; display: inline-flex; align-items: center; gap: 17px; padding: 13px 18px; border: 1px solid #767676; border-radius: 999px; font-size: 12px; transform: translate3d(var(--magnet-x), calc(var(--magnet-y) + var(--button-lift)), 0) scale(var(--button-scale)); transition: color .25s ease, border-color .25s ease, background-color .25s ease, transform .22s var(--ease-out); will-change: transform; }
.signal-button .button-arrow { opacity: 0; font-size: 23px; line-height: 0; transform: translateX(-8px); transition: opacity .25s ease, transform .25s ease; }
.signal-button:hover, .signal-button:focus-visible { --button-lift: -2px; color: var(--ink); border-color: var(--green); background: var(--green); }
.signal-button:active { --button-lift: 0px; --button-scale: .98; }
.signal-button:focus-visible { outline-color: #fff; }
.signal-button:hover .button-arrow, .signal-button:focus-visible .button-arrow { opacity: 1; transform: none; }
.product-visual { align-self: start; width: 100%; max-width: 780px; margin: 0 0 0 auto; object-fit: contain; }

.closing { position: relative; height: clamp(420px, 34.7vw, 600px); display: grid; place-items: center; overflow: hidden; background: #000; color: #fff; }
#footer-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing h2 { position: relative; z-index: 2; margin: 0; font-size: clamp(38px, 5vw, 80px); line-height: 1; letter-spacing: -.05em; text-align: center; }
.site-footer { min-height: clamp(320px, 20vw, 420px); padding: 70px max(var(--pad), env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left)); display: grid; grid-template-columns: 1fr 1fr; align-items: end; background: #000; color: #fff; }
.footer-brand small { display: block; margin-top: 70px; color: #555; font-size: 10px; line-height: 1.45; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.footer-links div { display: grid; grid-template-columns: 1fr; align-content: end; }
.footer-links span { margin-top: 25px; font-size: 14px; }
.footer-links a { color: #8a8a8a; font-size: 14px; padding-block: 4px; overflow-wrap: anywhere; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }

/* Shared secondary pages */
.subpage { min-height: 100vh; background: #fff; }
.subpage .site-header { position: relative; }
.careers-intro h1 { animation: enter-up .85s .12s var(--ease-out) backwards; }
.careers-intro p { animation: enter-up .85s .2s var(--ease-out) backwards; }
.careers-intro .search-pill { animation: enter-up .85s .28s var(--ease-out) backwards; }

/* Careers */
.careers-hero {
  position: relative;
  height: clamp(760px, 59vw, 930px);
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 27%, rgba(255, 233, 97, .46), transparent 29%),
    radial-gradient(circle at 80% 66%, rgba(78, 186, 255, .62), transparent 31%),
    #f7f7f4;
}
.careers-intro { position: relative; z-index: 4; width: min(810px, 80vw); margin: 52px auto 0; text-align: center; }
.careers-intro h1 { margin: 0 0 20px; font-size: clamp(44px, 4.2vw, 67px); line-height: 1; letter-spacing: -.04em; }
.careers-intro p { margin: 0 auto 38px; color: #707070; font-size: clamp(15px, 1.5vw, 23px); line-height: 1.4; }
.search-pill { width: 180px; min-height: 44px; margin-inline: auto; border-radius: 999px; padding: 0 16px; display: flex; align-items: center; gap: 10px; background: #000; color: #fff; color-scheme: dark; cursor: text; transform: scale(1); transition: transform .35s var(--ease-out); }
.search-pill:focus-within { box-shadow: 0 0 0 3px var(--green); transform: scale(1.025); }
.search-pill input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: 500 11px var(--sans); }
.search-pill input::placeholder { color: #d0d0d0; opacity: 1; }
.search-pill > span:last-child { flex: 0 0 auto; font-size: 17px; transform: rotate(0); transition: transform .4s var(--ease-out); }
.search-pill:focus-within > span:last-child { transform: rotate(-18deg) scale(1.08); }
#careers-canvas { position: absolute; inset: 220px 0 0; width: 100%; height: calc(100% - 220px); }
.collision-hint { position: absolute; z-index: 4; left: var(--contact-x, 50%); top: var(--contact-y, 360px); transform: translate(-50%, 8px); padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.78); color: #606060; font-size: 9px; opacity: 0; transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.careers-hero.is-near-contact .collision-hint { opacity: 1; transform: translate(-50%, 0); }
.roles { min-height: 820px; padding: 120px var(--pad) 180px; }
.roles-heading { margin-bottom: 72px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.roles h2 { margin: 0; font-size: clamp(38px, 4vw, 64px); line-height: 1; letter-spacing: -.045em; }
.roles-heading p { margin: 0; color: #666; font-size: 12px; }
.role-group { margin-top: 57px; }
.role-group > p { margin: 0 0 25px; color: #aaa; font-size: 17px; }
.role { display: grid; grid-template-columns: 1.8fr .8fr .6fr; padding: 25px 0; border-top: 1px solid #b7b7b7; font-size: 17px; }
.role:last-child { border-bottom: 1px solid #b7b7b7; }
.role span:last-child { text-align: right; }
.role { min-width: 0; }
.role span { min-width: 0; overflow-wrap: anywhere; }
.no-results { margin: 60px 0 0; color: #666; }

/* Insight */
.insight-page {
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 235, 106, .33), transparent 32%),
    radial-gradient(circle at 88% 70%, rgba(77, 187, 255, .52), transparent 37%),
    #fafaf8;
  background-attachment: fixed;
}
.insight-wrap { padding: 105px var(--pad) 150px; }
.insight-wrap h1 { margin: 0 0 110px; font-size: clamp(50px, 5.4vw, 87px); line-height: 1; letter-spacing: -.055em; animation: enter-up .85s .12s var(--ease-out) backwards; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 75px 24px; }
.insight-grid article { min-width: 0; }
.insight-grid article img { width: 100%; aspect-ratio: 1.92; object-fit: cover; border-radius: 9px; }
.insight-grid article p { display: flex; flex-wrap: wrap; gap: 4px 9px; margin: 14px 0 20px; color: #666; font-size: 11px; font-variant-numeric: tabular-nums; }
.insight-grid article h2 { margin: 0; font-size: clamp(16px, 1.35vw, 22px); line-height: 1.35; letter-spacing: -.025em; font-weight: 500; }

/* Legal */
.legal-page .site-header { height: 86px; }
.legal-page .wordmark { font-size: 20px; }
.legal-page .main-nav { font-size: 10px; }
.legal-wrap { padding: 70px var(--pad) 150px; display: grid; grid-template-columns: 27% 1fr; column-gap: 8%; }
.legal-wrap > h1 { grid-column: 1 / -1; margin: 0 0 110px; font-size: clamp(42px, 4.2vw, 68px); line-height: 1; letter-spacing: -.05em; animation: enter-up .85s .12s var(--ease-out) backwards; }
.legal-aside { position: sticky; top: 30px; align-self: start; display: flex; flex-direction: column; font-size: 11px; line-height: 1.5; color: #666; }
.legal-aside a { position: relative; padding: 4px 0 4px 13px; border-left: 1px solid transparent; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.legal-aside a:hover { color: #000; }
.legal-aside a.is-active { color: #000; border-left-color: #000; transform: translateX(3px); }
.legal-content { max-width: 760px; }
.legal-content .legal-updated { margin: 0 0 13px; color: #aaa; font-size: 10px; }
.legal-content .legal-intro { margin-top: 0; }
.legal-content section { scroll-margin-top: 30px; }
.legal-content h2 { margin: 52px 0 16px; font-size: 24px; line-height: 1.15; letter-spacing: -.03em; }
.legal-content h3 { margin: 30px 0 9px; font-size: 14px; }
.legal-content p, .legal-content li { margin-top: 0; color: #292929; font-size: 13px; line-height: 1.62; }
.legal-content ul { margin-top: 0; padding-left: 18px; }
.legal-content a { text-decoration: underline; }
.legal-content a:hover { text-decoration-thickness: 2px; }
body[data-page="security"] .legal-content section { min-height: 270px; }
body[data-page="terms"] .legal-content section { min-height: 415px; }
.product, .roles, .insight-wrap, .legal-wrap { padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }

/* Motion choreography is progressively enabled by JavaScript for offscreen content only. */
.motion-ready .reveal-item { opacity: 0; transform: translate3d(0, var(--reveal-distance, 18px), 0) scale(var(--reveal-scale, .995)); transition: opacity .8s var(--ease-smooth), transform .9s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.motion-ready .reveal-item.is-revealed { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
.motion-ready .reveal-item:focus-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); transition-delay: 0ms; }
.motion-ready .reveal-item.reveal-from-right { transform: translate3d(24px, 0, 0) scale(.995); }
.motion-ready .reveal-item.reveal-from-right.is-revealed { transform: translate3d(0, 0, 0) scale(1); }

@media (max-width: 800px) {
  .site-header { height: 74px; }
  .wordmark { font-size: 22px; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .main-nav { position: absolute; z-index: 2; top: 0; left: 0; right: 0; min-height: 100svh; padding: max(90px, calc(env(safe-area-inset-top) + 70px)) max(var(--pad), env(safe-area-inset-right)) max(35px, env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left)); flex-direction: column; align-items: flex-start; gap: 10px; overflow-y: auto; overscroll-behavior: contain; background: rgba(248,248,245,.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); visibility: hidden; opacity: 0; transform: translateY(-16px); transition: opacity .3s ease, transform .35s ease, visibility 0s linear .35s; }
  .menu-open .main-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .main-nav a { width: 100%; padding: 12px 0; font-size: 20px; }
  .main-nav a::after { bottom: 8px; right: auto; width: 32px; }
  .main-nav a { opacity: 0; transform: translateY(-8px); transition: opacity .25s ease, transform .4s var(--ease-out); }
  .menu-open .main-nav a { opacity: 1; transform: translateY(0); }
  .menu-open .main-nav a:nth-child(1) { transition-delay: .05s; }
  .menu-open .main-nav a:nth-child(2) { transition-delay: .09s; }
  .menu-open .main-nav a:nth-child(3) { transition-delay: .13s; }
  .menu-open .main-nav a:nth-child(4) { transition-delay: .17s; }
  .menu-open .main-nav a:nth-child(5) { transition-delay: .21s; }
  .hero { height: 760px; min-height: 0; }
  .hero h1 { max-width: 90%; font-size: clamp(44px, 12vw, 68px); }
  .about { height: 850px; }
  .about-copy { top: 100px; left: max(var(--pad), env(safe-area-inset-left)); width: calc(100% - max(var(--pad), env(safe-area-inset-left)) - max(var(--pad), env(safe-area-inset-right))); }
  .about-copy h2 { font-size: 44px; }
  .about-copy p { max-width: 430px; font-size: 16px; }
  .product { min-height: 900px; padding-top: 100px; grid-template-columns: 1fr; }
  .product-copy { padding-top: 0; }
  .product-copy p { margin-bottom: 40px; font-size: 16px; }
  .product-visual { margin-top: 80px; }
  .closing { height: 520px; }
  .site-footer { grid-template-columns: 1fr; gap: 65px; padding-top: 60px; }
  .footer-brand small { margin-top: 40px; }
  .footer-links a { min-height: 44px; display: flex; align-items: center; }
  .careers-hero { height: 690px; }
  .careers-intro { margin-top: 40px; width: calc(100% - var(--pad) * 2); }
  .careers-intro p { font-size: 14px; }
  .search-pill input { font-size: 16px; }
  #careers-canvas { top: 250px; height: calc(100% - 250px); }
  .roles { padding-top: 80px; }
  .role { grid-template-columns: 1fr auto; gap: 20px; font-size: 14px; }
  .role span:nth-child(2) { display: none; }
  .insight-wrap { padding-top: 75px; }
  .insight-wrap h1 { margin-bottom: 65px; }
  .insight-grid { grid-template-columns: 1fr; gap: 55px; }
  .insight-grid article h2 { font-size: 18px; }
  .legal-wrap { padding-top: 55px; grid-template-columns: 1fr; }
  .legal-wrap > h1 { margin-bottom: 60px; }
  .legal-aside { position: sticky; z-index: 8; top: 0; display: flex; flex-direction: row; gap: 5px; margin: 0 calc(var(--pad) * -1) 48px; padding: 11px var(--pad); overflow-x: auto; overscroll-behavior-inline: contain; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); scrollbar-width: none; }
  .legal-aside::-webkit-scrollbar { display: none; }
  .legal-aside a { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; display: inline-flex; align-items: center; border: 0; border-radius: 999px; white-space: nowrap; }
  .legal-aside a.is-active { background: #000; color: #fff; transform: none; }
  .legal-content p, .legal-content li { font-size: 14px; }
  body[data-page="security"] .legal-content section,
  body[data-page="terms"] .legal-content section { min-height: 0; }
  .insight-page { background-attachment: scroll; }
}

@media (hover: none), (pointer: coarse) {
  .collision-hint { display: none; }
  .signal-button { color: var(--green); border-color: var(--green); }
  .signal-button .button-arrow { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-ambient { animation: none; }
  .site-header > .wordmark { view-transition-name: none; }
  .motion-ready .reveal-item { opacity: 1; transform: none; }
}
