/* NorthWind Studio. Layout, type scale and colours follow the measured atlassian.com system:
   headings 64/48/40/32 at weight 500-600, 20px leads, 1168px content, blue #1868db pills, #1e1f21 dark bands. */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); }

:root {
  --ink: #101214;
  --text: #292a2e;
  --muted: #505258;
  --subtle: #6b6e76;
  --line: #dddee1;
  --line-2: #ebecf0;
  --bg: #fff;
  --soft: #f8f8f8;
  --soft-2: #f1f2f4;
  --blue: #1868db;
  --blue-d: #1558bc;
  --blue-50: #e9f2ff;
  --dark: #1e1f21;
  --dark-2: #161719;
  --sky: #cfe1fd;
  --orange: #c75300;
  --lime: #d3f1a7;
  --olive: #4c6b1f;
  --purple: #803fa5;
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1168px;
  --gutter: clamp(20px, 3.4vw, 40px);
  --header: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.56 var(--font); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(768px + var(--gutter) * 2); }
.center { text-align: center; }
.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 { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; transform: translateY(-160%); transition: transform 0.3s var(--ease); }
.skip:focus { transform: none; }

/* ---------- Type ---------- */

.h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 600; line-height: 1.16; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.h2.sm { font-size: clamp(1.875rem, 3.4vw, 2.5rem); line-height: 1.2; letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.24; letter-spacing: -0.02em; color: var(--ink); }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.56; color: var(--text); text-wrap: pretty; }
.label { font: 500 0.75rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.on-dark { color: #fff; }
.on-dark .h2, .on-dark .h3, .on-dark .lead { color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 26px; border: 1.5px solid transparent; border-radius: 10000px;
  font-size: 1.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 1rem; }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.link:hover svg { transform: translateX(2px); }
.link.lg { font-size: 1.25rem; }
.link.ink { color: var(--ink); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow 0.25s; }
.site-header.scrolled, .site-header.menu-open { box-shadow: 0 1px 0 var(--line-2), 0 4px 12px -6px rgba(9, 30, 66, 0.12); }
.nav { height: var(--header); display: flex; align-items: center; gap: 40px; padding-inline: clamp(20px, 2.3vw, 32px); }
.brand { flex: none; line-height: 0; }
.brand img { height: 22px; width: auto; }
.menu { display: flex; align-items: center; gap: 8px; height: 100%; }
.menu > li { position: relative; height: 100%; display: flex; align-items: center; }
.menu-link, .menu-trigger {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 10px; border: 0;
  background: none; cursor: pointer; text-decoration: none;
  font-size: 1.0625rem; font-weight: 400; color: var(--ink);
}
.menu-link:hover, .menu-trigger:hover { color: var(--blue); }
.menu-trigger svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.menu-trigger[aria-expanded="true"] { color: var(--blue); }
.menu-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-trigger[aria-expanded="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-right .divider { width: 1px; height: 24px; background: var(--line); }
.nav-right .text-link { font-size: 1.0625rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav-right .text-link:hover { color: var(--blue); }

.mega {
  position: fixed; left: 0; right: 0; top: var(--header);
  max-height: calc(100vh - var(--header)); overflow-y: auto;
  background: #fff; border-radius: 0 0 24px 24px;
  box-shadow: 0 1px 0 var(--line-2) inset, 0 24px 48px -12px rgba(9, 30, 66, 0.25);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
.mega.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s var(--ease), transform 0.3s var(--ease); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 32px; padding-block: 32px 40px; }
.mega-h { margin: 0 0 12px 12px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.mega-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; transition: background-color 0.15s; }
.mega-item:hover { background: var(--soft-2); }
.mega-item b { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.mega-item div > span { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
.mega-item .tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 4px; background: var(--blue-50); color: var(--blue); font-size: 0.75rem; font-weight: 600; font-style: normal; vertical-align: 2px; }
.mega-promo { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 24px; border-radius: 16px; background: var(--soft); text-decoration: none; }
.mega-promo .nw-tile, .mega-promo .icon-tile { width: 44px; height: 44px; }
.mega-promo b { display: block; font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.mega-promo p { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }

.icon-tile { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; color: #fff; background: var(--blue); }
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.purple { background: #8f49de; }
.icon-tile.green { background: #22a06b; }
.icon-tile.orange { background: #e56910; }
.icon-tile.yellow { background: #f5cd47; color: var(--ink); }
.icon-tile.teal { background: #1d9aaa; }
.icon-tile.ink { background: var(--ink); }
.icon-tile.soft { background: var(--soft-2); color: var(--ink); }
.icon-tile.dash { background: transparent; color: var(--subtle); box-shadow: inset 0 0 0 1.5px var(--line); }
.g-tile { flex: none; width: 40px; height: 40px; border-radius: 10px; }

/* NorthWind tile/mark drawn inline with the shared masks (#nw-cut, #nw-out) */
.nw-tile { flex: none; color: var(--ink); }
.gn.hub .nw-tile { color: #fff; --tile-fg: var(--ink); }
.nw-tile .bg { fill: currentColor; }
.nw-tile .fg { fill: var(--tile-fg, #fff); stroke: var(--tile-fg, #fff); }
.nw-mark .fg { fill: currentColor; stroke: currentColor; }

.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--ink); transition: transform 0.35s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: var(--header) 0 0; z-index: 59; overflow-y: auto; padding: 8px var(--gutter) 32px; background: #fff; opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0s 0.25s; }
.mobile-nav.open { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease); }
.mobile-nav details, .mobile-nav > a.m-link { border-bottom: 1px solid var(--line-2); }
.mobile-nav summary, .mobile-nav .m-link { display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; font-size: 1.25rem; font-weight: 500; color: var(--ink); text-decoration: none; list-style: none; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav details > div { padding-bottom: 12px; }
.mobile-nav details .mega-item { padding: 10px 4px; }
.mobile-nav .btn { width: 100%; margin-top: 28px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero { position: relative; padding-top: clamp(48px, 5.3vw, 76px); isolation: isolate; overflow-x: clip; }
.hero-grid {
  position: absolute; z-index: -1; left: 50%; top: 240px; width: 900px; height: 260px; transform: translateX(-50%);
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(50% 60% at 50% 70%, #000, transparent); mask-image: radial-gradient(50% 60% at 50% 70%, #000, transparent);
}
.hero h1 { max-width: 968px; margin-inline: auto; }
.hero .lead { max-width: 968px; margin: 12px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px; margin-top: 32px; }

/* App panel: the real Glidely for Android screens in a phone carousel */
.app-panel { margin-top: 64px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 12px 32px -16px rgba(9, 30, 66, 0.2); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line-2); }
.app-bar .g-tile { width: 24px; height: 24px; border-radius: 6px; }
.app-bar .app-name { font-size: 0.9375rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.app-bar .app-name span { font-weight: 400; color: var(--muted); }
.app-search { flex: 1; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); color: var(--subtle); font-size: 0.875rem; }
.app-search svg { width: 15px; height: 15px; }
.app-bar .pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.app-bar .pill.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.app-bar .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4bce97; }
.app-bar .pill.ghost::before { background: #f5cd47; }
.app-head { padding: 14px 16px 0; }
.app-head small { display: block; font-size: 0.75rem; color: var(--subtle); }
.app-head b { display: block; margin: 2px 0 10px; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.app-tabs { display: flex; gap: 2px; padding: 0 8px; border-bottom: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; }
.app-tabs::-webkit-scrollbar { display: none; }
.app-tab { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 8px 11px; border: 0; background: none; cursor: pointer; font-size: 0.875rem; color: var(--ink); white-space: nowrap; }
.app-tab svg { width: 15px; height: 15px; flex: none; }
.app-tab:hover { color: var(--blue); }
.app-tab[aria-selected="true"] { color: var(--blue); font-weight: 500; }
.app-tab::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.app-tab[aria-selected="true"]::after { transform: scaleX(1); }
[data-auto] .app-tab[aria-selected="true"]::after { animation: fill var(--tab-time, 5s) linear forwards; }
[data-auto].paused .app-tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.stage {
  position: relative; height: 620px; overflow: hidden;
  background-color: #fafbfc;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center;
}
.reel { --pw: 268px; --gap: 44px; position: absolute; top: 44px; left: 50%; display: flex; gap: var(--gap); transform: translateX(calc(-1 * (var(--i, 0) * (var(--pw) + var(--gap)) + var(--pw) / 2))); transition: transform 0.8s var(--ease); }
.reel .droid { width: var(--pw); cursor: pointer; opacity: 0.5; transform: scale(0.88); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.reel .droid.on { opacity: 1; transform: none; }

/* Android phone frame */
.droid { position: relative; flex: none; padding: 8px; border-radius: 40px; background: #1b1c1f; box-shadow: inset 0 0 0 1.5px #3b3c41, 0 0 0 1px rgba(9, 30, 66, 0.06), 0 28px 50px -24px rgba(9, 30, 66, 0.5); }
.droid::before { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 52px; border-radius: 0 3px 3px 0; background: #2b2c30; }
.droid::after { content: ""; position: absolute; right: -3px; top: 36%; width: 3px; height: 84px; border-radius: 0 3px 3px 0; background: #2b2c30; }
.droid-screen { position: relative; overflow: hidden; border-radius: 32px; background: var(--sb, #f7f7f8); }
.droid-screen.white { --sb: #fff; }
.sbar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 20px 0 22px; font-size: 0.75rem; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.sbar::after { content: ""; position: absolute; left: 50%; top: 8px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #0b0c0e; }
.sbar svg { height: 12px; width: auto; }
.droid-screen img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.gbar { display: grid; place-items: center; height: 22px; background: var(--nb, #fff); }
.gbar::after { content: ""; width: 34%; height: 4px; border-radius: 4px; background: #1b1c1f; opacity: 0.85; }
.gbar.grey { --nb: #f7f7f8; }

/* ---------- Built-on strip (where the logo wall sits) ---------- */

.trust { padding-block: 48px 8px; }
.trust p { margin-bottom: 20px; text-align: center; font-size: 0.875rem; color: var(--subtle); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; gap: 10px; padding-right: 72px; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; color: #44464c; white-space: nowrap; }
.marquee li svg { width: 30px; height: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 9vw, 120px); }
.section.dark { background: var(--dark); color: #fff; }
.section.soft { background: var(--soft); }
.head { max-width: 768px; }
.head.center { margin-inline: auto; text-align: center; }
.head .lead { margin-top: 8px; }
.head .btn { margin-top: 40px; }
.head .link { margin-top: 24px; }

/* Stats */
.stats { display: flex; justify-content: center; align-items: flex-start; gap: clamp(24px, 6vw, 72px); margin-top: 56px; }
.stat { text-align: center; }
.stat strong { display: block; font: 500 clamp(4.5rem, 11vw, 8.5rem)/1 var(--font); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat strong small { font-size: 0.62em; letter-spacing: -0.02em; }
.stat span { display: block; margin-top: 22px; font: 500 1rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.stats .plus { font: 600 clamp(3rem, 7vw, 5rem)/1 var(--font); color: var(--blue); margin-top: clamp(16px, 2.6vw, 34px); }
.fine { max-width: 768px; margin: 56px auto 0; text-align: center; font-size: 0.75rem; line-height: 1.56; color: var(--text); }

/* Dark platform graph */
.graph-sec { position: relative; overflow: hidden; padding-block: clamp(72px, 7vw, 96px); }
.graph-sec .wrap { position: relative; z-index: 1; pointer-events: none; }
.graph-sec .head { max-width: 444px; pointer-events: auto; }
.graph-sec .h2 { color: #fff; }
.graph-sec .lead { color: #fff; margin-top: 12px; }
.graph-sec .btn { margin-top: 36px; }
.graph { position: relative; width: min(860px, 64vw); height: 700px; margin-top: -360px; margin-left: auto; margin-right: max(0px, calc((100vw - 1440px) / 2)); }
.graph svg.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.graph .w { fill: none; stroke: #8c8f97; stroke-width: 1.2; stroke-dasharray: 2 5; stroke-linecap: round; opacity: 0.7; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .graph .w { animation: dash 3s linear infinite; }
  .graph .gn { animation: float 7s var(--ease-io) infinite alternate; }
  .graph .gn:nth-child(3n) { animation-duration: 8.5s; animation-delay: -3s; }
  .graph .gn:nth-child(3n + 1) { animation-duration: 6s; animation-delay: -1.5s; }
}
.graph.paused .w, .graph.paused .gn { animation-play-state: paused; }
@keyframes dash { to { stroke-dashoffset: -14; } }
@keyframes float { to { translate: 0 -8px; } }
.gn { position: absolute; transform: translate(-50%, -50%); }
.gn.tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: #fff; }
.gn.tile svg { width: 26px; height: 26px; }
.gn.hex { width: 48px; height: 52px; border-radius: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gn.out { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--dark); box-shadow: inset 0 0 0 1.5px #b8bbc2; color: #f7f7f7; }
.gn.out svg { width: 20px; height: 20px; }
.gn.tag { padding: 7px 10px; border-radius: 6px; background: var(--dark); box-shadow: inset 0 0 0 1.5px #b8bbc2; font: 500 0.875rem/1 var(--mono); color: #f7f7f7; white-space: nowrap; }
.gn.ava { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px var(--dark), 0 0 0 4px #b8bbc2; color: #fff; font-weight: 600; font-size: 0.9375rem; }
.gn.ava svg { width: 24px; height: 24px; }
.gn.hub { width: 60px; height: 60px; }
.gn.hub svg { width: 100%; height: 100%; }
.pause { position: absolute; z-index: 2; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 40px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f7f7f7; color: var(--ink); cursor: pointer; }
.pause svg { width: 18px; height: 18px; }

/* Collections: pill tabs + panel */
.pills { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 40px auto 0; padding: 6px; border-radius: 10000px; background: var(--soft-2); overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pills button { padding: 12px 32px; border: 0; border-radius: 10000px; background: none; cursor: pointer; font-size: 1.125rem; font-weight: 600; color: var(--ink); white-space: nowrap; transition: background-color 0.2s, color 0.2s; }
.pills button:hover { background: #e3e4e7; }
.pills button[aria-selected="true"] { background: var(--ink); color: #fff; }
.coll { display: grid; grid-template-columns: minmax(0, 568px) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 56px; }
.coll[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .coll:not([hidden]) { animation: rise 0.6s var(--ease); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.coll-name { font-size: 1.75rem; font-weight: 400; letter-spacing: -0.03em; color: var(--ink); }
.coll-name b { font-weight: 800; }
.apps { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 24px 0 36px; }
.apps li { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; color: var(--text); }
.apps .icon-tile { width: 26px; height: 26px; border-radius: 6px; }
.apps .icon-tile svg { width: 16px; height: 16px; }
.coll .h2.sm { margin-bottom: 12px; }
.coll-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 36px; }
.collage { position: relative; height: 380px; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 44px 44px; }
.collage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(closest-side, transparent 60%, #fff); pointer-events: none; }
.collage > * { z-index: 2; }
.doc-card { position: absolute; left: 4%; top: 7%; width: 62%; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 12px 24px -10px rgba(9, 30, 66, 0.28); }
.doc-card .top { height: 34px; background: linear-gradient(90deg, #357de8, #8fb8f6); }
.doc-card img { width: 100%; }
.float-phone { position: absolute; right: 7%; top: 4%; width: 31%; }
.mini.droid { padding: 5px; border-radius: 26px; }
.mini .droid-screen { border-radius: 21px; }
.mini .sbar { height: 18px; font-size: 0.5rem; padding-inline: 14px; }
.mini .sbar::after { top: 5px; width: 7px; height: 7px; margin-left: -3.5px; }
.mini .sbar svg { height: 8px; }
.mini .gbar { height: 14px; }
.mini .gbar::after { height: 3px; }
.who { position: absolute; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 0.875rem; font-weight: 600; box-shadow: 0 6px 16px -6px rgba(9, 30, 66, 0.45); }
.who::before { content: ""; position: absolute; left: -9px; top: -9px; width: 14px; height: 14px; background: var(--blue); clip-path: polygon(0 0, 100% 45%, 45% 100%); }
.who.ink { background: var(--ink); border-radius: 999px; padding: 0 14px; }
.who.ink::before { display: none; }
.phones-row { display: flex; align-items: flex-start; justify-content: center; gap: 28px; }
.phones-row .droid { width: min(44%, 250px); }
.phones-row .droid:nth-child(2) { margin-top: 48px; }
.next-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px; border-radius: 20px; background: var(--soft); }
.next-tiles > div { aspect-ratio: 1; display: grid; place-items: center; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.next-tiles > div.empty { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.next-tiles > div.empty svg { width: 26px; height: 26px; color: var(--subtle); }
.next-tiles .g-tile, .next-tiles .nw-tile { width: 46%; height: auto; border-radius: 22%; }

/* Carousel heads with round arrows */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.arrows { display: flex; gap: 8px; flex: none; }
.arrow-btn { display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; transition: background-color 0.2s; }
.arrow-btn:disabled { background: #b7b7b8; cursor: default; }
.arrow-btn svg { width: 28px; height: 28px; }
.track { display: flex; gap: 32px; margin-top: 56px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.track::-webkit-scrollbar { display: none; }

/* Principle cards (in the place of customer stories) */
.pcard { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; width: min(432px, 84vw); min-height: 390px; padding: 40px; border-radius: 20px; background: var(--sky); color: var(--ink); text-decoration: none; }
.pcard .brandline { display: flex; align-items: center; gap: 10px; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.04em; }
.pcard .brandline svg { width: 28px; height: 28px; }
.pcard strong { display: block; margin-top: 40px; font: 500 6rem/1 var(--font); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.pcard p { margin-top: 8px; font-size: 1.5rem; line-height: 1.36; letter-spacing: -0.015em; }
.pcard .more { margin-top: auto; padding-top: 32px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.pcard .more svg { width: 16px; height: 16px; }
.pcard:hover .more { text-decoration: underline; text-underline-offset: 4px; }
.pcard.orange { background: var(--orange); color: #fff; }
.pcard.lime { background: var(--lime); }
.pcard.blue { background: var(--blue-d); color: #fff; }

/* Four columns */
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 88px; }
.col svg.ic { width: 40px; height: 40px; margin-bottom: 48px; color: var(--ink); }
.col h3 { margin-bottom: 8px; }
.col p { font-size: 1rem; color: var(--text); }

/* Studio cards (in the place of research posts) */
.scard { flex: none; scroll-snap-align: start; display: flex; flex-direction: column; width: min(316px, 80vw); border-radius: 20px; overflow: hidden; text-decoration: none; color: #fff; background: var(--olive); }
.scard .art { position: relative; height: 316px; overflow: hidden; background: var(--dark-2); }
.scard .body { display: flex; flex-direction: column; flex: 1; min-height: 210px; padding: 24px; }
.scard .tag { align-self: flex-start; padding: 2px 8px; border-radius: 3px; background: #efffd6; color: var(--olive); font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.scard h3 { margin-top: 18px; font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.03em; }
.scard .more { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.scard .more svg { width: 16px; height: 16px; }
.scard:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.scard.blue { background: var(--blue-d); }
.scard.blue .tag { background: var(--blue-50); color: var(--blue-d); }
.scard.purple { background: var(--purple); }
.scard.purple .tag { background: #f8eefe; color: var(--purple); }
.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: var(--dark); box-shadow: inset 0 0 0 1px #8c8f97; font: 500 0.6875rem/1.2 var(--mono); color: #e9e9ea; white-space: nowrap; }
.chip.light { background: #fff; box-shadow: inset 0 0 0 1px #c9ccd3; color: var(--ink); }
.art-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-lines path { fill: none; stroke: #3b3d42; stroke-width: 1; }
.art-diamond { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); overflow: hidden; border-radius: 6px; }
.art-diamond img { position: absolute; left: 50%; top: 50%; width: 142%; max-width: none; transform: translate(-50%, -40%) rotate(-45deg); }
.art-blueprint { background-color: #f3f7ff !important; background-image: linear-gradient(#dfe9fb 1px, transparent 1px), linear-gradient(90deg, #dfe9fb 1px, transparent 1px); background-size: 24px 24px; }
.art-blueprint svg { position: absolute; left: 50%; top: 8%; width: 58%; transform: translateX(-50%); overflow: visible; }
.art-blueprint .bp { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.art-blueprint .bp-alt { fill: none; stroke: #6cc24a; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.art-blueprint .dot { fill: #fff; stroke: var(--blue); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.art-blueprint .cap { position: absolute; left: 24px; bottom: 22px; font-size: 2.125rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.art-grid { background-image: linear-gradient(#2a2c31 1px, transparent 1px), linear-gradient(90deg, #2a2c31 1px, transparent 1px); background-size: 63px 63px; background-position: -1px -1px; }
.art-grid .sq { position: absolute; width: 22px; height: 22px; border-radius: 3px; background: #f06a1e; }
.art-grid .tile-big { position: absolute; display: grid; place-items: center; width: 63px; height: 63px; }
.art-grid .spark { position: absolute; width: 14px; height: 14px; color: #5d6068; }
.art-phone { position: absolute; left: 50%; top: 34px; width: 54%; transform: translateX(-50%); }

/* positions inside the studio card art */
.c1 { left: 18px; top: 36px; } .c2 { right: 16px; top: 118px; } .c3 { left: 34px; bottom: 30px; }
.c4 { right: 18px; top: 22px; } .c5 { left: 18px; top: 146px; }
.c6 { left: 14px; top: 78px; } .c7 { right: 18px; top: 176px; } .c8 { left: 96px; bottom: 18px; }
.art-grid .t1 { left: 126px; top: 126px; } .art-grid .t1 .nw-tile { width: 40px; height: 40px; }
.art-grid .s1 { left: 204px; top: 40px; } .art-grid .s2 { left: 226px; top: 40px; } .art-grid .s3 { left: 226px; top: 62px; }
.art-grid .k1 { left: 56px; top: 56px; } .art-grid .k2 { left: 245px; top: 182px; } .art-grid .k3 { left: 182px; top: 245px; }
.who-a { left: 48%; top: 60%; } .who-b { right: 3%; bottom: 7%; }
.app-panel { text-align: left; }

/* Closing band */
.cta { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 10vw, 136px); background: var(--dark); color: #fff; text-align: center; }
.cta .mark-bg { position: absolute; z-index: -1; left: 50%; top: 58%; width: min(560px, 110vw); transform: translate(-50%, -50%); color: var(--dark-2); overflow: visible; }
.cta .h1 { color: #fff; max-width: 735px; margin-inline: auto; }
.cta p { max-width: 735px; margin: 16px auto 40px; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.24; letter-spacing: -0.015em; }

/* ---------- Footer ---------- */

.site-footer { padding: 16px var(--gutter) 28px; }
.foot-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: 1200px; margin-inline: auto; padding: 36px 24px; border-radius: 24px; background: var(--soft); }
.foot-col h4 { display: flex; align-items: center; height: 26px; margin: 0 0 28px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.foot-col h4 .nw-tile { width: 26px; height: 26px; }
.foot-col li + li { margin-top: 13px; }
.foot-col a { font-size: 0.875rem; color: var(--ink); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-col.strong a { font-weight: 700; }
.foot-col .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-weight: 600; }
.foot-col .more svg { width: 14px; height: 14px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; max-width: 1200px; margin: 32px auto 0; padding-inline: 24px; font-size: 0.875rem; color: var(--muted); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.foot-bottom a { color: var(--ink); text-decoration: none; }
.foot-bottom a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Film dialog ---------- */

dialog.film { width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
dialog.film::backdrop { background: rgba(9, 30, 66, 0.72); }
dialog.film video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; }
dialog.film .close { position: absolute; top: -50px; right: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; cursor: pointer; font-weight: 600; font-size: 0.875rem; }
.play-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--blue); font-size: 1.25rem; font-weight: 500; }
.play-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.play-link svg { width: 18px; height: 18px; }

/* ---------- Inner pages ---------- */

.page-hero { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.page-hero .label { display: block; margin-bottom: 16px; }
.page-hero .lead { max-width: 768px; margin-top: 16px; }
.mission-band { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(360px, 40vw, 500px); padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--dark); color: #fff; }
.mission-band .art { position: absolute; z-index: -1; right: clamp(0px, 3vw, 48px); top: 46%; width: clamp(200px, 30vw, 400px); transform: translateY(-58%); color: #fff; overflow: visible; }
.mission-band .label { display: block; color: #b8bbc2; margin-bottom: 12px; }
.mission-band blockquote { max-width: 18ch; font-size: clamp(1.75rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.035em; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px clamp(40px, 6vw, 96px); }
.prose p { font-size: 1.125rem; color: var(--text); }
.prose p + p { margin-top: 16px; }
.plist { margin-top: 56px; border-top: 1px solid var(--line); }
.plist li { display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.plist .label { padding-top: 8px; }
.plist h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink); }
.plist p { padding-top: 4px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.step .num { display: block; margin-bottom: 24px; font: 600 3.5rem/1 var(--font); letter-spacing: -0.04em; color: var(--blue); }
.step h3 { margin-bottom: 8px; }
.founder { display: flex; align-items: center; gap: 24px; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); max-width: 560px; }
.founder .ava { display: grid; place-items: center; flex: none; width: 88px; height: 88px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.75rem; font-weight: 600; }
.founder b { display: block; font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.founder span { display: block; margin: 2px 0 10px; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ccard { display: flex; flex-direction: column; gap: 8px; min-height: 260px; padding: 32px; border-radius: 20px; background: var(--sky); color: var(--ink); text-decoration: none; }
.ccard:nth-child(2) { background: var(--lime); }
.ccard:nth-child(3) { background: var(--orange); color: #fff; }
.ccard:nth-child(4) { background: var(--blue-d); color: #fff; }
.ccard h3 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; }
.ccard p { font-size: 1.0625rem; }
.ccard .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.ccard .more svg { width: 16px; height: 16px; }
.ccard:hover .more { text-decoration: underline; text-underline-offset: 4px; }
.studio-card { padding: 32px; border-radius: 20px; background: var(--soft); }
.studio-card img { height: 22px; width: auto; margin-bottom: 24px; }
.studio-card dl div { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.studio-card dt { font: 500 0.75rem/1.6 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.studio-card dd { text-align: right; font-weight: 600; color: var(--ink); }
.studio-card a { color: var(--blue); text-decoration: none; }
.studio-card a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq { max-width: 868px; margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; max-width: 720px; }
.faq a, .doc a { color: var(--blue); text-underline-offset: 3px; }
.doc .wrap { max-width: calc(768px + var(--gutter) * 2); }
.doc h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin: 44px 0 12px; }
.doc p, .doc li { font-size: 1.0625rem; }
.doc p + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 1.25em; margin-top: 12px; }
.doc li + li { margin-top: 8px; }

.lost { min-height: 100svh; display: grid; place-items: center; padding: var(--gutter); text-align: center; background: var(--dark); color: #fff; }
.lost svg { width: 88px; height: 88px; margin: 0 auto 32px; color: #fff; transform: rotate(135deg); }
.lost h1 { font-size: clamp(2.75rem, 8vw, 4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 14px; }
.lost p { margin-bottom: 32px; color: #b8bbc2; font-size: 1.25rem; }

/* ---------- Reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
@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; }
  .marquee-track, .graph .w, .graph .gn { animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .menu, .nav-right .divider, .nav-right .text-link { display: none; }
  .burger { display: block; }
}
@media (max-width: 1024px) {
  .cols, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .foot-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .graph { width: 100%; max-width: 760px; margin: 32px auto 0; height: 600px; }
}
@media (max-width: 860px) {
  .coll, .split, .contact-layout { grid-template-columns: 1fr; }
  .coll .collage, .coll .phones-row, .coll .next-tiles { order: -1; }
  .plist li { grid-template-columns: 1fr; gap: 8px; }
  .row-head { flex-direction: column; align-items: flex-start; }
  .app-search { display: none; }
  .app-bar .pill { margin-left: auto; }
  .stage { height: 560px; }
  .reel { --pw: 240px; --gap: 28px; top: 32px; }
}
@media (max-width: 560px) {
  .cols, .steps, .contact-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .btn { font-size: 1.125rem; }
  .app-bar .pill.ghost { display: none; }
  .stats { gap: 12px; }
  .stat span { font-size: 0.75rem; letter-spacing: 0.1em; }
  .graph { height: 520px; width: 150%; max-width: none; margin-left: -25%; }
  .pills button { padding: 10px 20px; font-size: 1rem; }
  .collage { height: 300px; }
  .founder { flex-direction: column; align-items: flex-start; }
  .studio-card dl div { flex-direction: column; gap: 4px; }
  .studio-card dd { text-align: left; }
  .foot-panel { grid-template-columns: 1fr 1fr; padding: 28px 20px; }
  .foot-panel .foot-col.strong { grid-column: 1 / -1; }
}
