/* NexoTalk: Graphite. Shared by the home page, the document pages and the invite page. */

:root {
  --navy-0: #0B0C1A;
  --navy-1: #14151F;
  --navy-2: #1C1D30;
  --navy-3: #2C2D42;
  --silver: #B0B6C8;
  --indigo-0: #3A4DB0;
  --indigo-1: #6E7BD9;
  --indigo-2: #8C9BF2;
  --indigo-3: #C9D1FF;

  --bg: #F4F5FB;
  --bg-2: #ECEEF7;
  --surface: rgba(255, 255, 255, .78);
  --surface-solid: #FFFFFF;
  --line: rgba(28, 29, 48, .09);
  --line-strong: rgba(28, 29, 48, .16);
  --text: #0B0C1A;
  --text-2: #1C1D30;
  --muted: #4A4F68;
  --accent: #3A4DB0;
  --accent-soft: rgba(58, 77, 176, .1);
  --grad-a: #1C1D30;
  --grad-b: #3A4DB0;
  --grad-c: #6E7BD9;
  --orb-1: rgba(110, 123, 217, .38);
  --orb-2: rgba(201, 209, 255, .7);
  --orb-3: rgba(140, 155, 242, .28);
  --shadow: 0 1px 2px rgba(11, 12, 26, .05), 0 12px 40px -12px rgba(28, 29, 48, .18);
  --shadow-lg: 0 2px 4px rgba(11, 12, 26, .06), 0 40px 80px -24px rgba(28, 29, 48, .35);
  --phone-bezel: #14151F;
  --btn-bg: #0B0C1A;
  --btn-fg: #FFFFFF;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0C1A;
    --bg-2: #101122;
    --surface: rgba(28, 29, 48, .62);
    --surface-solid: #1C1D30;
    --line: rgba(201, 209, 255, .08);
    --line-strong: rgba(201, 209, 255, .16);
    --text: #F1F3FB;
    --text-2: #E2E5F3;
    --muted: #B0B6C8;
    --accent: #8C9BF2;
    --accent-soft: rgba(140, 155, 242, .14);
    --grad-a: #FFFFFF;
    --grad-b: #C9D1FF;
    --grad-c: #8C9BF2;
    --orb-1: rgba(58, 77, 176, .45);
    --orb-2: rgba(110, 123, 217, .22);
    --orb-3: rgba(44, 45, 66, .9);
    --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -20px rgba(0, 0, 0, .6);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8);
    --phone-bezel: #050611;
    --btn-bg: #F1F3FB;
    --btn-fg: #0B0C1A;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--indigo-1); outline-offset: 3px; border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--surface-solid); border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Animated backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.orb-a { width: 56vmax; height: 56vmax; left: -14vmax; top: -22vmax; background: radial-gradient(circle, var(--orb-1), transparent 65%); animation: drift-a 38s ease-in-out infinite alternate; }
.orb-b { width: 48vmax; height: 48vmax; right: -16vmax; top: 4vmax; background: radial-gradient(circle, var(--orb-2), transparent 65%); animation: drift-b 46s ease-in-out infinite alternate; }
.orb-c { width: 44vmax; height: 44vmax; left: 24vw; bottom: -26vmax; background: radial-gradient(circle, var(--orb-3), transparent 65%); animation: drift-c 52s ease-in-out infinite alternate; }
.grid-veil {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 10%, transparent 75%);
  opacity: .7;
}
@keyframes drift-a { to { transform: translate3d(12vw, 10vh, 0) scale(1.12); } }
@keyframes drift-b { to { transform: translate3d(-14vw, 16vh, 0) scale(.9); } }
@keyframes drift-c { to { transform: translate3d(-10vw, -14vh, 0) scale(1.15); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 10px 24px -12px rgba(11, 12, 26, .6); }
.btn-ghost, .btn-quiet { color: var(--text); border: 1px solid var(--line-strong); background: var(--surface); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover, .btn-quiet:hover { border-color: var(--accent); }
.btn-store {
  min-height: 58px; padding: 0 26px 0 20px; border-radius: 16px;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 16px 32px -14px rgba(11, 12, 26, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.btn-store .apple { width: 26px; height: 26px; margin-top: -3px; }
.btn-store span { display: flex; flex-direction: column; align-items: flex-start; font-size: 20px; letter-spacing: -.01em; }
.btn-store small { font-size: 11px; font-weight: 500; opacity: .78; margin-bottom: 3px; letter-spacing: .02em; }
.btn-store:hover { box-shadow: 0 22px 40px -16px rgba(11, 12, 26, .7), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.btn-store-light { background: #FFFFFF; color: #0B0C1A; box-shadow: 0 20px 50px -16px rgba(110, 123, 217, .7); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); border-color: var(--line); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(11, 12, 26, .5); }
.brand-sm img { width: 24px; height: 24px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 4px; margin-right: 8px; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 64px); min-height: min(calc(100vh - 260px), 600px); }
.hero-title { display: flex; flex-direction: column; gap: 14px; margin: 0 0 24px; }
.ht-1 {
  font-size: clamp(54px, 8.2vw, 108px); font-weight: 800; letter-spacing: -.048em; line-height: .95; padding-bottom: .06em;
  background: linear-gradient(115deg, var(--grad-a) 20%, var(--grad-b) 75%, var(--grad-c)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ht-2 { font-size: clamp(26px, 3.2vw, 42px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; color: var(--text-2); max-width: 15em; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 32em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.platform-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.stage { position: relative; width: min(100%, 470px); aspect-ratio: 470 / 560; }
.phone {
  position: absolute; padding: 8px; border-radius: 44px;
  background: var(--phone-bezel);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.phone img { width: 100%; height: auto; border-radius: 36px; }
.phone-front { width: 47%; left: 44%; top: 0; z-index: 2; }
.phone-back { width: 42%; left: 6%; top: 9%; z-index: 1; }
.float { position: absolute; z-index: 3; width: 68px; border-radius: 22%; overflow: hidden; box-shadow: 0 18px 30px -12px rgba(11, 12, 26, .55), 0 0 0 1px rgba(255, 255, 255, .25); animation: bob 8s ease-in-out infinite; }
.float img { width: 100%; height: auto; transform: scale(1.1); }
.f1 { left: -6%; top: 0; width: 76px; }
.f2 { right: -6%; top: 46%; animation-delay: -3s; }
.f3 { left: -9%; top: 58%; animation-delay: -5s; width: 60px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.callout {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 14px;
  font-size: 12px; line-height: 1.25; color: #C9D1FF;
  background: rgba(20, 21, 31, .86); border: 1px solid rgba(201, 209, 255, .18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6);
  white-space: nowrap;
}
.callout strong { display: block; color: #fff; font-size: 13px; }
.callout svg { width: 28px; height: 28px; padding: 6px; border-radius: 9px; background: rgba(110, 123, 217, .28); fill: none; stroke: #C9D1FF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.c1 { right: -4%; bottom: 13%; }
.c2 { left: -2%; bottom: 7%; }

/* Verbs strip */
.verbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 56px); }
.verb { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: 14px; color: var(--muted); line-height: 1.35; }
.verb strong { display: block; font-size: 17px; color: var(--text); margin-bottom: 2px; }
.verb-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--indigo-0), var(--indigo-1)); color: #fff; box-shadow: 0 8px 18px -8px rgba(58, 77, 176, .8); }
.verb-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(34px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.035em; }
.grad { background: linear-gradient(110deg, var(--grad-b), var(--grad-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-lede { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 38em; }

/* ---------- Tiles / bento ---------- */
.bento { display: grid; gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  padding: clamp(20px, 2.4vw, 30px); border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.tile h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15.5px; }
.tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }

.app-ico { display: block; width: 72px; aspect-ratio: 1; border-radius: 22.5%; overflow: hidden; box-shadow: 0 10px 22px -10px rgba(11, 12, 26, .55), 0 0 0 1px var(--line); transition: transform .35s var(--ease); }
.app-ico img { width: 100%; height: auto; transform: scale(1.1); }
.app-ico-lg { width: 88px; }
.app-ico-md { width: 64px; margin-bottom: 18px; }
/* Threads has no exported icon: drawn in the same burgundy style as the real ones. */
.app-ico-svg { position: relative; display: grid; place-items: center; background: linear-gradient(160deg, #9A4D61 0%, #7D2742 70%, #6E1F38 100%); color: #fff; }
.app-ico-svg::before { content: ""; position: absolute; inset: 11%; border-radius: 22%; border: 1.5px solid rgba(255, 255, 255, .22); }
.app-ico-svg svg { position: relative; width: 56%; height: 56%; }

.apps-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
.tile-games { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  background: radial-gradient(120% 80% at 100% 100%, var(--accent-soft), transparent), var(--surface);
}
.tile-games .tile-head h3 { font-size: clamp(26px, 2.6vw, 34px); }
.tile-games .tile-head p { max-width: 30em; font-size: 16px; }
.library { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 12px; }
.library li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.library .app-ico { width: min(100%, 104px); }
.library li:hover .app-ico { transform: translateY(-4px) scale(1.05); }

.tile-shot { grid-row: span 2; padding: 0; display: flex; justify-content: center; align-items: flex-start; background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--surface); }
.tile-shot img { width: 82%; height: auto; margin-top: 28px; border-radius: 28px 28px 0 0; box-shadow: 0 0 0 8px var(--phone-bezel), var(--shadow-lg); }

.tile-vault { grid-row: span 2; background: radial-gradient(120% 70% at 0% 0%, rgba(125, 39, 66, .14), transparent 60%), var(--surface); display: flex; flex-direction: column; }
.vault-items { display: grid; gap: 8px; margin: 24px 0 auto; }
.vault-items li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--line); font-size: 14px; font-weight: 600; box-shadow: 0 6px 16px -10px rgba(11, 12, 26, .35); }
.vault-items li:nth-child(2) { margin-left: 10px; }
.vault-items li:nth-child(3) { margin-left: 20px; }
.vi-ico { width: 26px; height: 18px; border-radius: 4px; flex: none; background: linear-gradient(135deg, #9A4D61, #6E1F38); position: relative; }
.vi-ico::after { content: ""; position: absolute; left: 4px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.tile-vault h3 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 24px; }
.tile-small:hover .app-ico, .tile-vault:hover .app-ico { transform: rotate(-6deg) scale(1.06); }

.tile-same { display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, #1C1D30, #0B0C1A); border-color: rgba(201, 209, 255, .12); color: #F1F3FB; }
.tile-same p { color: #B0B6C8; }
.same-visual { display: flex; align-items: center; gap: 8px; margin-bottom: auto; padding-bottom: 20px; flex-wrap: wrap; }
.mini-bubble { padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #3A4DB0; font-size: 13px; font-weight: 600; }
.mini-lock { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(140, 155, 242, .16); color: #C9D1FF; }
.mini-cipher { font: 600 12px/1 var(--mono); color: #8C9BF2; padding: 8px 10px; border-radius: 10px; border: 1px dashed rgba(140, 155, 242, .4); }

/* ---------- Protocol card (always dark glass) ---------- */
.protocol {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0;
  color: #F1F3FB;
  background: radial-gradient(80% 60% at 15% 0%, rgba(58, 77, 176, .45), transparent 60%), radial-gradient(70% 60% at 100% 100%, rgba(110, 123, 217, .25), transparent 60%), #0B0C1A;
  max-width: calc(var(--wrap) + 160px); margin: 0 auto;
  border-radius: clamp(28px, 4vw, 48px);
}
.protocol::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(201, 209, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 209, 255, .05) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.protocol .wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); }
.on-dark .kicker { color: #8C9BF2; }
.on-dark .section-lede { color: #B0B6C8; }
.on-dark .grad { background-image: linear-gradient(110deg, #C9D1FF, #8C9BF2); }

.flow {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 56px);
  border-radius: var(--radius-xl);
  background: rgba(28, 29, 48, .55); border: 1px solid rgba(201, 209, 255, .1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.node { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.node-label { font-size: 13px; color: #B0B6C8; max-width: 13em; line-height: 1.35; }
.node-label strong { display: block; color: #F1F3FB; font-size: 15px; margin-bottom: 2px; }
.mini-phone { display: block; width: clamp(60px, 8vw, 104px); padding: 4px; border-radius: clamp(13px, 1.8vw, 20px); background: #050611; box-shadow: 0 0 0 1px rgba(201, 209, 255, .14), 0 24px 40px -18px rgba(0, 0, 0, .9); }
.mini-phone img { width: 100%; height: auto; border-radius: clamp(10px, 1.5vw, 16px); }
.relay { width: clamp(60px, 8vw, 96px); aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; color: #C9D1FF; background: linear-gradient(145deg, #2C2D42, #14151F); box-shadow: 0 0 0 1px rgba(201, 209, 255, .16), 0 0 0 10px rgba(110, 123, 217, .06), 0 0 60px -10px rgba(110, 123, 217, .6); animation: glow 4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 1px rgba(201, 209, 255, .22), 0 0 0 16px rgba(110, 123, 217, .03), 0 0 80px -6px rgba(110, 123, 217, .8); } }

.track { position: relative; height: 56px; overflow: hidden; align-self: center; margin-top: -40px; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(140, 155, 242, .3); }
.lane { position: absolute; inset: 0; transform: translateX(-100%); animation: travel 3.6s linear infinite; }
.lane .pkt { position: absolute; right: 0; top: 50%; translate: 50% -50%; width: 30px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #8C9BF2, #3A4DB0); box-shadow: 0 0 0 1px rgba(201, 209, 255, .4), 0 0 18px rgba(140, 155, 242, .8); }
.lane .pkt i { position: absolute; left: 50%; top: 55%; width: 10px; height: 7px; translate: -50% -10%; border-radius: 2px; background: #fff; }
.lane .pkt i::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 6px; height: 5px; translate: -50% 1px; border: 1.8px solid #fff; border-bottom: 0; border-radius: 4px 4px 0 0; }
.lane.l2 { animation-delay: -1.2s; }
.lane.l3 { animation-delay: -2.4s; }
.lane.late { animation-delay: -.6s; }
.lane.l2.late { animation-delay: -1.8s; }
.lane.l3.late { animation-delay: -3s; }
@keyframes travel {
  0% { transform: translateX(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}

/* Layer stack: apps on top of our protocols on top of relays, sealed end to end */
.stack { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 0; }
.rail-line { flex: 1; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(140, 155, 242, .15), #8C9BF2, rgba(140, 155, 242, .15)); }
.rail-text { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #C9D1FF; white-space: nowrap; }
.rail-lock { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(110, 123, 217, .22); box-shadow: 0 0 0 1px rgba(201, 209, 255, .25), 0 0 24px -4px rgba(140, 155, 242, .8); }
.rail-lock svg { fill: none; stroke: #C9D1FF; stroke-width: 2; }
.layers { display: grid; gap: 10px; }
.layer { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; padding: clamp(18px, 2.2vw, 26px); border-radius: var(--radius-lg); background: rgba(28, 29, 48, .5); border: 1px solid rgba(201, 209, 255, .1); }
.layer-tag { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: #F1F3FB; }
.layer-tag span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 12px/1 var(--mono); color: #C9D1FF; background: rgba(110, 123, 217, .22); }
.layer-title { font-weight: 600; color: #F1F3FB; font-size: 16px; }
.layer-body p:not(.layer-title) { color: #B0B6C8; font-size: 15px; margin-top: 4px; }
.layer-apps { background: linear-gradient(120deg, rgba(125, 39, 66, .28), rgba(28, 29, 48, .5) 60%); }
.layer-apps .layer-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.layer-icons { display: flex; }
.layer-icons img { width: 44px; height: auto; border-radius: 22.5%; box-shadow: 0 0 0 2px #1C1D30, 0 8px 16px -8px rgba(0, 0, 0, .8); }
.layer-icons img + img { margin-left: -8px; }
.layer-relay { background: rgba(11, 12, 26, .6); border-style: dashed; border-color: rgba(201, 209, 255, .16); }

.proto-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.proto { padding: 16px 18px; border-radius: var(--radius-md); background: rgba(11, 12, 26, .45); border: 1px solid rgba(201, 209, 255, .1); transition: border-color .3s, transform .4s var(--ease); }
.proto:hover { border-color: rgba(140, 155, 242, .4); transform: translateY(-2px); }
.proto-code { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: .12em; color: #C9D1FF; padding: 6px 9px; border-radius: 7px; background: rgba(110, 123, 217, .2); margin-bottom: 10px; }
.proto h3 { font-size: 17px; margin-bottom: 4px; color: #F1F3FB; }
.proto p:not(.proto-code) { color: #B0B6C8; font-size: 14px; line-height: 1.45; }

.crypto { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-top: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(58, 77, 176, .38), rgba(28, 29, 48, .4)); border: 1px solid rgba(140, 155, 242, .22); }
.crypto > div { flex: 1 1 380px; }
.crypto h3 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 8px; }
.crypto p { color: #C9D1FF; font-size: 16px; max-width: 40em; }
.crypto-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.crypto-tags li { font: 600 13px/1 var(--mono); padding: 10px 14px; border-radius: 999px; background: rgba(11, 12, 26, .5); border: 1px solid rgba(201, 209, 255, .18); color: #F1F3FB; }

/* ---------- Private bento ---------- */
.private-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tile-connect { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; min-height: 320px; }
.tile-connect h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 12px; }
.steps { display: grid; gap: 10px; margin-top: 22px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.steps span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--indigo-1), var(--indigo-0)); }
.connect-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; justify-self: center; padding: 26px 22px; border-radius: 28px; background: linear-gradient(160deg, #1C1D30, #0B0C1A); color: #F1F3FB; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 209, 255, .1); transform: rotate(3deg); transition: transform .5s var(--ease); }
.tile-connect:hover .connect-visual { transform: rotate(0) scale(1.03); }
.cv-glyph { width: 104px; height: 104px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(145deg, var(--indigo-1), var(--indigo-0)); box-shadow: 0 18px 40px -16px rgba(110, 123, 217, .9); }
.cv-glyph svg { width: 56px; height: 56px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cv-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(201, 209, 255, .1); border: 1px solid rgba(201, 209, 255, .18); font: 600 13px/1 var(--mono); color: #C9D1FF; white-space: nowrap; }
.cv-link b { color: #8C9BF2; letter-spacing: .05em; }
.cv-link svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cv-note { font-size: 13px; color: #B0B6C8; }

.tile-welcome { grid-column: span 2; grid-row: span 2; padding: 0; display: flex; justify-content: center; align-items: flex-start; background: radial-gradient(90% 60% at 50% 0%, var(--accent-soft), transparent), var(--surface); }
.tile-welcome img { width: 74%; height: auto; margin-top: 32px; border-radius: 28px 28px 0 0; box-shadow: 0 0 0 8px var(--phone-bezel), var(--shadow-lg); }

.tile-more { grid-column: span 4; }
.more-title { margin-bottom: 24px; }
.tile .more-title { font-size: clamp(20px, 2vw, 26px); margin-bottom: 24px; }
.more-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; }
.more-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.more-list strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }
.feat-ico { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feat-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- CTA ---------- */
.section-cta { padding-top: 0; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(48px, 7vw, 88px);
  border-radius: clamp(28px, 4vw, 48px);
  background: radial-gradient(70% 90% at 50% 0%, rgba(110, 123, 217, .5), transparent 70%), linear-gradient(160deg, #1C1D30, #0B0C1A);
  color: #F1F3FB; box-shadow: var(--shadow-lg);
}
.cta-card h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; letter-spacing: -.035em; margin-top: 28px; }
.cta-card p { color: #B0B6C8; margin: 14px auto 30px; font-size: 18px; max-width: 30em; }

.orbit { --size: clamp(240px, 32vw, 340px); --r: calc(var(--size) / 2 - 26px); position: relative; width: var(--size); height: var(--size); margin: 0 auto; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(201, 209, 255, .14); }
.orbit-ring.r1 { inset: 26px; border-style: dashed; border-color: rgba(201, 209, 255, .2); }
.orbit-ring.r2 { inset: 26%; background: radial-gradient(circle, rgba(110, 123, 217, .25), transparent 70%); }
.orbit-spin { position: absolute; inset: 0; animation: spin 80s linear infinite; }
.o { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.o img { width: 100%; height: auto; border-radius: 22.5%; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12); animation: spin 80s linear infinite reverse; }
.o1 { transform: rotate(0deg) translateX(var(--r)) rotate(0deg); }
.o2 { transform: rotate(45deg) translateX(var(--r)) rotate(-45deg); }
.o3 { transform: rotate(90deg) translateX(var(--r)) rotate(-90deg); }
.o4 { transform: rotate(135deg) translateX(var(--r)) rotate(-135deg); }
.o5 { transform: rotate(180deg) translateX(var(--r)) rotate(-180deg); }
.o6 { transform: rotate(225deg) translateX(var(--r)) rotate(-225deg); }
.o7 { transform: rotate(270deg) translateX(var(--r)) rotate(-270deg); }
.o8 { transform: rotate(315deg) translateX(var(--r)) rotate(-315deg); }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 31%; translate: -50% -50%; border-radius: 22.5%; overflow: hidden; box-shadow: 0 0 0 1px rgba(201, 209, 255, .25), 0 24px 60px -16px rgba(110, 123, 217, .9); }
.orbit-core img { width: 100%; height: auto; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); margin-top: auto; }
.footer-row { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.footer-row .brand { font-size: 15px; }
.footer-links { display: flex; gap: 6px 22px; margin-left: auto; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Document pages (privacy, terms) ---------- */
.doc-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.doc-hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; letter-spacing: -.04em; background: linear-gradient(115deg, var(--grad-a) 20%, var(--grad-b) 80%, var(--grad-c)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.doc-hero .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc-wrap { max-width: calc(820px + var(--gutter) * 2); padding-bottom: clamp(64px, 8vw, 112px); }
.doc { padding: clamp(24px, 5vw, 56px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.doc h2 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; margin: 36px 0 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc p, .doc li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0; display: grid; gap: 8px; }
.doc li { position: relative; padding-left: 22px; }
.doc li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--indigo-1); box-shadow: 0 0 0 3px var(--accent-soft); }
.doc a { color: var(--accent); text-underline-offset: 3px; }
.doc .intro { font-size: 18px; color: var(--text); }

/* ---------- Invite link page ---------- */
.invite { display: grid; place-items: center; padding: clamp(24px, 6vw, 72px) var(--gutter) clamp(48px, 8vw, 96px); }
.invite-card { width: 100%; max-width: 480px; text-align: center; padding: clamp(28px, 6vw, 48px) clamp(20px, 5vw, 40px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.invite-icon { position: relative; width: 88px; margin: 0 auto 24px; }
.invite-icon::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(110, 123, 217, .45), transparent 70%); animation: glow-soft 4s ease-in-out infinite; }
.invite-icon img { position: relative; width: 88px; height: auto; border-radius: 22.5%; box-shadow: 0 20px 40px -16px rgba(11, 12, 26, .6); }
@keyframes glow-soft { 50% { opacity: .55; transform: scale(1.08); } }
.invite-card h1 { font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.invite-card #lede { margin-top: 12px; color: var(--muted); font-size: 17px; }
.invite-actions { display: grid; gap: 10px; margin-top: 28px; }
.invite-actions .btn { width: 100%; min-height: 52px; }
.invite-actions .btn svg { width: 20px; height: 20px; }
.invite-actions .btn-primary { min-height: 56px; font-size: 17px; }
.invite-help { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; text-align: left; }
.invite-help p { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.invite-help svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; translate: -50% 20px; opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg); transition: opacity .25s, translate .25s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }
.toast:empty { display: none; }

/* ---------- Reveal (only when JS is present) ---------- */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .apps-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile-games { grid-column: span 2; }
  .tile-shot { grid-row: span 2; }
  .tile-vault { grid-row: span 1; }
  .tile-same { grid-column: span 2; }
  .verbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .protocol { margin: 0 clamp(0px, 1.2vw, 16px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .stage { width: min(100%, 440px); }
  .hero-visual { margin-top: 28px; }
  .apps-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .tile-games { grid-column: span 2; grid-row: auto; }
  .tile-shot { grid-column: span 1; grid-row: span 2; min-height: 380px; }
  .tile-vault { grid-row: span 2; }
  .tile-same { grid-column: span 2; }
  .private-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-connect { grid-column: span 2; }
  .tile-welcome { grid-column: span 2; grid-row: auto; max-height: 460px; }
  .tile-welcome img { width: min(62%, 300px); }
  .tile-more { grid-column: span 2; }
  .layer { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 64px; right: var(--gutter); left: var(--gutter); flex-direction: column; gap: 2px; padding: 8px; margin: 0; border-radius: 20px; background: var(--surface-solid); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 16px; color: var(--text); }
  .site-header { background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .proto-grid { grid-template-columns: 1fr; }
  .proto { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px; }
  .proto-code { grid-row: span 2; margin: 2px 0 0; justify-self: start; }
  .stack { grid-template-columns: 1fr; }
  .rail { flex-direction: row; padding: 0 4px; }
  .rail-line { height: 2px; width: auto; background: linear-gradient(90deg, rgba(140, 155, 242, .15), #8C9BF2, rgba(140, 155, 242, .15)); }
  .rail-text { writing-mode: horizontal-tb; transform: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-title { gap: 10px; }
  .verbs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .verb { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; font-size: 13px; }
  .verb strong { font-size: 16px; }
  .verb-ico { width: 38px; height: 38px; border-radius: 12px; }
  .tile-connect { grid-template-columns: 1fr; }
  .connect-visual { transform: none; width: 100%; }
  .tile-shot { grid-column: span 2; grid-row: auto; max-height: 420px; }
  .tile-shot img { width: min(70%, 280px); }
  .tile-vault { grid-column: span 2; grid-row: auto; }
  .tile-small { grid-column: span 1; }
  .tile-small:nth-of-type(6) { grid-column: span 2; }
  .library { gap: 18px 8px; }
  .library .app-ico { width: min(100%, 76px); }
  .more-list { grid-template-columns: 1fr; gap: 16px; }
  .flow { padding: 20px 12px; gap: 6px; }
  .node-label { font-size: 11px; max-width: 8em; }
  .node-label strong { font-size: 12px; }
  .track { margin-top: -56px; }
  .lane .pkt { width: 22px; height: 16px; border-radius: 5px; }
  .layer-icons img { width: 36px; }
  .footer-links { margin-left: 0; width: 100%; }
  .float { width: 52px; }
  .f1 { width: 58px; left: -3%; }
  .f2 { right: -3%; }
  .f3 { display: none; }
  .callout { font-size: 11px; padding: 7px 10px 7px 8px; }
  .callout strong { font-size: 12px; }
  .callout svg { width: 24px; height: 24px; padding: 5px; }
  .c2 { display: none; }
}

@media (max-width: 420px) {
  .btn-ghost { display: none; }
  .nav .btn-sm { padding: 0 12px; font-size: 14px; }
  .tile-small h3 { font-size: 18px; }
  .tile-small p { font-size: 14px; }
  .app-ico-md { width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .lane { transform: translateX(-50%); opacity: 1; }
  .lane.l2, .lane.l3 { display: none; }
}

/* Protocol section, plain-language points */
.points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.points li {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  padding: 24px;
  color: #FFFFFF;
}

.point-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #FFFFFF;
  background: linear-gradient(145deg, #6E7BD9 0%, #2C2D42 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.point-icon svg {
  width: 22px;
  height: 22px;
}

.points h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.points p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .points {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Phone layout (620 px and below). Desktop and tablet rendering is untouched:
   every rule below lives inside these queries.
   Rhythm: 16 px gutter, 12 or 16 px gaps, 48 px between sections.
   ========================================================================== */
@media (max-width: 620px) {
  :root { --gutter: 16px; --radius-xl: 24px; }
  html { scroll-padding-top: 68px; }

  /* Header: brand, Get the app, then the menu button. */
  .header-row { height: 60px; }
  .brand { font-size: 17px; gap: 8px; min-height: 44px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .nav { gap: 10px; }
  .nav-toggle { width: 44px; height: 44px; order: 2; }
  .nav-links { top: 58px; }
  .nav .btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }

  /* Hero: centered, CTA inside the first screen, one compact phone pair. */
  h1, h2, h3, .ht-2 { text-wrap: balance; }
  .points h3, .more-list strong, .tile-small h3 { text-wrap: pretty; }
  .hero p, .section p { text-wrap: pretty; }
  .lede { text-wrap: balance; }
  .hero { padding: 20px 0 44px; }
  .hero-grid { gap: 0; }
  .hero-copy { text-align: center; }
  .hero-title { align-items: center; gap: 8px; margin-bottom: 14px; }
  .ht-1 { font-size: clamp(44px, 14vw, 56px); letter-spacing: -.05em; }
  .ht-2 { font-size: clamp(22px, 6.6vw, 26px); max-width: 13em; }
  .lede { font-size: 16px; line-height: 1.5; max-width: 26em; margin: 0 auto; }
  .cta-row { justify-content: center; margin-top: 22px; gap: 10px; }
  .btn-store { min-height: 54px; padding: 0 22px 0 18px; border-radius: 14px; }
  .btn-store span { font-size: 19px; }
  .platform-note { margin-top: 10px; font-size: 13px; }
  .hero-visual { margin-top: 28px; }
  .stage { width: min(84%, 320px); aspect-ratio: 470 / 490; }
  .phone { padding: 6px; border-radius: 34px; }
  .phone img { border-radius: 28px; }
  .float { width: 46px; }
  .f1 { width: 50px; left: -10%; top: -2%; }
  .f2 { right: -4%; top: 52%; }
  .f3, .callout { display: none; }

  /* Chat / Play / Keep / Share: compact 2 x 2. */
  .verbs { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .verb { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 18px; font-size: 12.5px; line-height: 1.35; }
  .verb strong { font-size: 15.5px; margin-bottom: 1px; }
  .verb-ico { width: 34px; height: 34px; border-radius: 10px; }
  .verb-ico svg { width: 18px; height: 18px; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; }
  .kicker { font-size: 12px; margin-bottom: 10px; }
  .section-head h2 { font-size: clamp(28px, 8.4vw, 34px); letter-spacing: -.03em; }
  .section-lede { margin-top: 12px; font-size: 15.5px; line-height: 1.5; }

  /* Tiles */
  .bento { gap: 12px; }
  .tile { padding: 18px; }
  .tile h3 { font-size: 19px; margin-bottom: 4px; }
  .tile p { font-size: 14.5px; line-height: 1.45; }
  .tag { font-size: 11px; padding: 4px 9px; margin-bottom: 10px; }

  /* Apps bento: games, Vault, a grouped list, the channel card. */
  .apps-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .apps-bento > .tile { grid-column: auto; grid-row: auto; }
  .tile-games { gap: 20px; }
  .tile-games .tile-head h3 { font-size: 23px; }
  .tile-games .tile-head p { font-size: 14.5px; }
  .library { gap: 16px 8px; }
  .library li { gap: 8px; font-size: 12.5px; }
  .library .app-ico { width: min(100%, 64px); }

  /* The Apps hub screenshot repeats the hero phone. */
  .tile-shot { display: none; }

  .tile-vault { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "ico title" "ico text" "items items"; column-gap: 14px; align-items: center; }
  .tile-vault .app-ico { grid-area: ico; width: 56px; align-self: start; }
  .tile-vault h3 { grid-area: title; margin: 0 0 2px; font-size: 21px; }
  .tile-vault p { grid-area: text; }
  .vault-items { grid-area: items; display: flex; flex-wrap: nowrap; gap: 6px; margin: 14px 0 0; }
  .vault-items li, .vault-items li:nth-child(2), .vault-items li:nth-child(3) { margin: 0; padding: 6px 8px 6px 6px; gap: 5px; border-radius: 10px; font-size: 11.5px; white-space: nowrap; }
  .vi-ico { width: 16px; height: 12px; border-radius: 3px; }
  .vi-ico::after { left: 3px; top: 3px; width: 6px; height: 6px; }

  /* Polls, Stickers, Threads: one grouped list. */
  .tile-small { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 18px; }
  .tile-small .app-ico-md { grid-row: span 2; width: 44px; margin: 0; }
  .tile-small h3 { font-size: 16.5px; margin: 0; align-self: end; }
  .tile-small p { font-size: 13.5px; align-self: start; }
  .tile-small + .tile-small { margin-top: -12px; border-top-left-radius: 0; border-top-right-radius: 0; border-top-color: transparent; box-shadow: none; }
  .tile-small + .tile-small::before { content: ""; position: absolute; top: 0; left: 76px; right: 0; border-top: 1px solid var(--line); }
  .tile-small:has(+ .tile-small) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: transparent; }

  .same-visual { padding-bottom: 14px; }

  /* Protocol */
  .protocol { padding: 48px 0; margin: 0; border-radius: 0; }
  .flow { padding: 18px 10px; gap: 4px; border-radius: 22px; }
  .node { gap: 10px; }
  .mini-phone { width: 52px; padding: 3px; border-radius: 12px; }
  .mini-phone img { border-radius: 9px; }
  .relay { width: 52px; }
  .relay svg { width: 30px; height: 30px; }
  .node-label { font-size: 10.5px; max-width: 7.6em; }
  .node-label strong { font-size: 12.5px; }
  .track { margin-top: -52px; height: 40px; }
  .lane .pkt { width: 18px; height: 14px; border-radius: 4px; }
  .lane .pkt i { width: 7px; height: 5px; }
  .lane .pkt i::before { width: 4px; height: 4px; border-width: 1.4px; }

  .points { margin-top: 12px; gap: 0; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .10); background: rgba(255, 255, 255, .04); overflow: hidden; }
  .points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; padding: 16px; border: 0; border-radius: 0; background: none; }
  .points li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
  .point-icon { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; margin: 2px 0 0; }
  .point-icon svg { width: 18px; height: 18px; }
  .points h3 { font-size: 16px; margin-bottom: 2px; }
  .points p { font-size: 14px; line-height: 1.45; }

  /* Private by design */
  .private-bento { grid-template-columns: minmax(0, 1fr); }
  .private-bento > .tile { grid-column: auto; grid-row: auto; }
  .tile-connect { min-height: 0; gap: 16px; }
  .tile-connect h3 { font-size: 21px; margin-bottom: 6px; }
  .steps { gap: 8px; margin-top: 14px; }
  .steps li { font-size: 14.5px; gap: 10px; }
  .steps span { width: 24px; height: 24px; font-size: 12px; }
  .connect-visual { flex-direction: row; justify-content: center; gap: 12px; padding: 14px; border-radius: 18px; }
  .cv-glyph { width: 52px; height: 52px; border-radius: 15px; flex: none; }
  .cv-glyph svg { width: 28px; height: 28px; }
  .cv-link { padding: 8px 12px; font-size: 12px; gap: 6px; }
  .cv-note { display: none; }
  /* The welcome screenshot repeats the hero phones. */
  .tile-welcome { display: none; }
  .tile .more-title { font-size: 19px; margin-bottom: 14px; }
  .more-list { grid-template-columns: 1fr; gap: 12px; }
  .more-list li { gap: 12px; align-items: center; font-size: 13.5px; line-height: 1.35; }
  .more-list strong { font-size: 15px; margin-bottom: 0; }
  .feat-ico { width: 36px; height: 36px; border-radius: 11px; }
  .feat-ico svg { width: 19px; height: 19px; }

  /* Closing card */
  .section-cta { padding-top: 0; padding-bottom: 40px; }
  .cta-card { padding: 28px 16px 32px; border-radius: 28px; }
  .orbit { --size: 220px; --r: calc(var(--size) / 2 - 22px); }
  .orbit-ring.r1 { inset: 22px; }
  .o { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .cta-card h2 { font-size: clamp(26px, 7.6vw, 30px); margin-top: 20px; }
  .cta-card p { font-size: 15.5px; margin: 10px auto 22px; }

  /* Footer */
  .site-footer { padding: 20px 0 28px; font-size: 13.5px; }
  .footer-row { gap: 14px 12px; }
  .footer-row p { margin-left: auto; }
  .footer-links { width: 100%; margin: 0; gap: 8px; padding-top: 6px; border-top: 1px solid var(--line); }
  .footer-links li { flex: 1; }
  .footer-links li:last-child { text-align: right; }
  .footer-links li:nth-child(2) { text-align: center; }
  .footer-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }

  /* Document pages and invite page */
  .doc-hero { padding: 28px 0 16px; }
  .doc-hero h1 { font-size: clamp(34px, 10vw, 40px); }
  .doc { padding: 20px 18px; }
  .doc h2 { font-size: 19px; margin: 28px 0 10px; padding-top: 22px; }
  .doc p, .doc li { font-size: 15.5px; line-height: 1.65; }
  .doc .intro { font-size: 16.5px; }
  .invite { padding: 20px 16px 40px; }
  .invite-card { padding: 28px 20px; }
  .invite-icon { width: 76px; margin-bottom: 20px; }
  .invite-icon img { width: 76px; }
  .invite-actions { margin-top: 22px; }
  .invite-help { margin-top: 22px; padding-top: 18px; gap: 12px; }
  .invite-help p { font-size: 14px; }
}

@media (max-width: 360px) {
  .verb { padding: 12px; }
  .library .app-ico { width: min(100%, 56px); }
  .library li { font-size: 12px; }
  .cv-glyph { display: none; }
  .nav .btn-sm { padding: 0 12px; }
  .flow { padding: 16px 8px; gap: 2px; }
  .mini-phone, .relay { width: 44px; }
  .node-label { font-size: 10px; max-width: 6.8em; }
  .node-label strong { font-size: 11.5px; }
  .more-list strong { font-size: 14px; }
  .vault-items { gap: 4px; }
  .vault-items li, .vault-items li:nth-child(2), .vault-items li:nth-child(3) { padding: 6px 7px; font-size: 11px; }
  .vi-ico { display: none; }
  .track { margin-top: -48px; }
}

/* Nav call to action: a small, quiet pill */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  color: #FFFFFF;
  background: linear-gradient(180deg, #2B2D45 0%, #15162A 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 0 1px rgba(20, 21, 31, 0.9),
    0 1px 2px rgba(20, 21, 31, 0.18),
    0 4px 12px -4px rgba(58, 77, 176, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta svg {
  width: 13px;
  height: 13px;
  margin-top: -1px;
  opacity: 0.92;
}

.nav-cta:hover {
  background: linear-gradient(180deg, #33365A 0%, #1A1B33 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(20, 21, 31, 0.9),
    0 2px 4px rgba(20, 21, 31, 0.2),
    0 8px 18px -6px rgba(58, 77, 176, 0.5);
}

.nav-cta:active {
  transform: scale(0.97);
}

.nav-cta:focus-visible {
  outline: 2px solid #8C9BF2;
  outline-offset: 3px;
}

/* 44 px tap area without a bigger pill */
.nav-cta::after {
  content: "";
  position: absolute;
  inset: -5px -2px;
}

@media (prefers-color-scheme: dark) {
  .nav-cta {
    color: #14151F;
    background: linear-gradient(180deg, #FFFFFF 0%, #E3E6F2 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 1px rgba(255, 255, 255, 0.12),
      0 4px 14px -4px rgba(140, 155, 242, 0.45);
  }

  .nav-cta:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF0F8 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta {
    transition: none;
  }
}

.nav-cta,
.nav-cta:hover,
.nav-cta span {
  text-decoration: none;
}

/* ==========================================================================
   NexoTalk for Work: the /work page.
   ========================================================================== */
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section-teaser { padding-top: 0; padding-bottom: clamp(48px, 6vw, 88px); }
.work-hero { padding-bottom: clamp(24px, 3vw, 40px); }
.tile-people .tag, .tile-apart .tag, .tile-calls .tag { align-self: flex-start; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* Launch badge */
.launch-badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  padding: 7px 14px 7px 12px; margin-bottom: 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.launch-badge strong { color: var(--accent); font-weight: 700; }
.lb-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--indigo-1); box-shadow: 0 0 0 4px var(--accent-soft); }
.lb-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--indigo-1); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.lb-sep { width: 1px; height: 14px; background: var(--line-strong); }
.cta-card .launch-badge-dark { font-size: 14px; margin: 0; }
.cta-card .launch-badge-dark, .launch-badge-dark { color: #E2E5F3; background: rgba(201, 209, 255, .1); border-color: rgba(201, 209, 255, .2); box-shadow: none; margin: 0 0 4px; }

/* Buttons on dark cards */
.btn-light { background: #FFFFFF; color: #0B0C1A; box-shadow: 0 20px 50px -16px rgba(110, 123, 217, .7); }
.btn-on-dark { color: #F1F3FB; border: 1px solid rgba(201, 209, 255, .28); background: rgba(201, 209, 255, .08); }
.btn-on-dark:hover { border-color: #8C9BF2; }

/* Hero visual: an admin console card with a chat bubble and a call */
.work-hero .ht-1 { font-size: clamp(50px, 6.2vw, 96px); }
.console-stage { position: relative; width: min(100%, 500px); padding: 40px 0 56px; }
.console {
  position: relative; z-index: 1; border-radius: 24px; overflow: hidden;
  background: var(--surface-solid); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.console-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.cb-dots { display: flex; gap: 6px; }
.cb-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.cb-title { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.console-body { display: grid; padding: 6px 18px 10px; }
.cs-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; padding: 13px 0; }
.cs-row + .cs-row { border-top: 1px solid var(--line); }
.cs-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); white-space: nowrap; }
.chip.on { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); justify-self: start; max-width: 100%; }
.seg span { padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.seg .on { background: var(--surface-solid); color: var(--text); box-shadow: 0 1px 3px rgba(11, 12, 26, .14), 0 0 0 1px var(--line); }
.cs-toggles { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.cs-t { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.tg { position: relative; width: 30px; height: 18px; flex: none; border-radius: 999px; background: var(--line-strong); transition: background-color .3s; }
.tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11, 12, 26, .3); transition: transform .3s var(--ease); }
.tg.on { background: linear-gradient(135deg, var(--indigo-1), var(--indigo-0)); }
.tg.on::after { transform: translateX(12px); }
.cs-rules { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.cs-rules b { color: var(--text); }

.hv-chat, .hv-call {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 16px; font-size: 12.5px; line-height: 1.3;
  color: #C9D1FF; background: rgba(20, 21, 31, .9); border: 1px solid rgba(201, 209, 255, .18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6);
  animation: bob 8s ease-in-out infinite;
}
.hv-chat { top: 0; right: -4%; flex-direction: column; align-items: flex-start; gap: 6px; }
.hv-bubble { padding: 7px 12px; border-radius: 14px 14px 4px 14px; background: #3A4DB0; color: #fff; font-size: 13px; font-weight: 600; }
.hv-seal { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #B0B6C8; }
.hv-seal svg, .hv-call svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hv-call { left: -5%; bottom: 8px; animation-delay: -4s; white-space: nowrap; }
.hv-call strong { display: block; color: #fff; font-size: 13px; }
.hv-call-ico { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #34C77B, #1E9E5C); box-shadow: 0 0 0 4px rgba(52, 199, 123, .18); }

/* Value trio */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio-ico, .sl-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--indigo-0), var(--indigo-1)); box-shadow: 0 10px 22px -10px rgba(58, 77, 176, .85); }
.trio-ico svg, .sl-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Admin console bento */
.work-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tile-people { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column;
  background: radial-gradient(120% 80% at 100% 100%, var(--accent-soft), transparent), var(--surface); }
.tile-people h3 { font-size: clamp(24px, 2.4vw, 32px); }
.tile-people > p:not(.tag) { max-width: 30em; }
.people { display: grid; gap: 8px; margin-top: auto; padding-top: 24px; }
.people li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: 0 6px 16px -10px rgba(11, 12, 26, .35); font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.people b { display: block; font-size: 14.5px; color: var(--text); }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; }
.av-1 { background: linear-gradient(135deg, #6E7BD9, #3A4DB0); }
.av-2 { background: linear-gradient(135deg, #9A4D61, #6E1F38); }
.av-3 { background: linear-gradient(135deg, #5B6178, #2C2D42); }
.tile-dir, .tile-apps { grid-column: span 3; }
.seg-lg { margin-top: 18px; font-size: 13px; }
.seg-lg span { padding: 7px 12px; }
.app-switches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.app-switches li { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.app-switches .app-ico { width: 30px; box-shadow: 0 0 0 1px var(--line); }
.tile-policies { grid-column: span 6; }

/* Device protection: three steps on a line */
.steps-line { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.steps-line li { position: relative; padding: 26px; border-radius: var(--radius-lg); background: rgba(28, 29, 48, .62); border: 1px solid rgba(201, 209, 255, .12); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 30px 60px -30px rgba(0, 0, 0, .8); }
.steps-line .sl-ico { margin-bottom: 16px; }
.sl-when { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #C9D1FF; padding: 6px 9px; border-radius: 7px; background: rgba(110, 123, 217, .2); margin-bottom: 12px; }
.steps-line h3 { font-size: clamp(19px, 1.8vw, 22px); color: #F1F3FB; margin-bottom: 6px; }
.steps-line p { color: #B0B6C8; font-size: 15px; line-height: 1.55; }
.sl-note { margin-top: 14px; font-size: 14px; color: #8C9BF2; }

/* Work stays at work + Calls and Mac */
.duo-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-apart, .tile-calls { display: flex; flex-direction: column; }
.tile-apart h3, .tile-calls h3 { font-size: clamp(22px, 2.2vw, 28px); }
.apart-visual { isolation: isolate; }
.apart-visual, .devices-visual { display: flex; align-items: center; justify-content: center; gap: 22px; height: 190px; margin-bottom: 24px; border-radius: var(--radius-lg); background: radial-gradient(80% 90% at 50% 100%, var(--accent-soft), transparent 70%), var(--bg-2); border: 1px solid var(--line); }
.apart-app { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; }
.apart-app img { width: 76px; border-radius: 22.5%; box-shadow: 0 0 0 1px var(--line-strong), 0 14px 28px -12px rgba(11, 12, 26, .6); }
.apart-home img { filter: grayscale(1) opacity(.55); }
.apart-home b { color: var(--muted); }
.apart-work { position: relative; }
.apart-work::before { content: ""; position: absolute; left: 50%; top: 38px; width: 120px; height: 120px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(110, 123, 217, .35), transparent 70%); z-index: -1; }
.apart-wall { width: 2px; height: 120px; border-radius: 2px; background: linear-gradient(180deg, transparent, var(--accent), transparent); }

.devices-visual { gap: 0; align-items: flex-end; padding-bottom: 26px; }
.dv-mac { position: relative; width: 210px; height: 130px; padding: 8px; border-radius: 12px 12px 4px 4px; background: var(--phone-bezel); box-shadow: var(--shadow-lg); }
.dv-mac::after { content: ""; position: absolute; left: -18px; right: -18px; bottom: -10px; height: 10px; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #B0B6C8, #8A90A6); }
.dv-screen { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 12px; border-radius: 6px; background: linear-gradient(160deg, #1C1D30, #14151F); }
.dv-line { height: 12px; border-radius: 6px; background: rgba(201, 209, 255, .16); }
.dv-line.me { align-self: flex-end; background: #3A4DB0; }
.w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.dv-phone { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 74px; height: 140px; margin-left: -26px; margin-bottom: -14px; border-radius: 18px; border: 5px solid var(--phone-bezel); background: linear-gradient(170deg, #2C2D42, #0B0C1A); box-shadow: var(--shadow-lg); }
.dv-ring { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #34C77B, #1E9E5C); box-shadow: 0 0 0 5px rgba(52, 199, 123, .2); animation: glow-soft 2.4s ease-in-out infinite; }
.dv-ring svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dv-name { font-size: 10.5px; font-weight: 700; color: #F1F3FB; }

/* How it is different */
.diff-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); }
.diff-head h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.035em; }
.diff-list, .check-list { display: grid; gap: 12px; }
.diff-list li, .check-list li { position: relative; padding-left: 34px; font-size: 16px; color: var(--text-2); line-height: 1.45; }
.diff-list li::before, .check-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); }
.diff-list li::after, .check-list li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 6px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Pricing */
.price-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); max-width: 940px; margin: 0 auto; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.price-main { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 4vw, 44px); color: #F1F3FB; background: radial-gradient(90% 80% at 0% 0%, rgba(110, 123, 217, .5), transparent 70%), linear-gradient(160deg, #1C1D30, #0B0C1A); }
.price-main .tag { color: #C9D1FF; background: rgba(140, 155, 242, .18); }
.price { display: flex; align-items: flex-start; font-size: clamp(72px, 9vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: 6px; }
.price-cur { font-size: .42em; margin: .2em .08em 0 0; color: #C9D1FF; }
.price-unit { margin-top: 10px; color: #C9D1FF; font-size: 16px; }
.price-min { margin: 6px 0 28px; color: #B0B6C8; font-size: 14.5px; }
.price-main .btn-primary { margin-top: auto; background: #FFFFFF; color: #0B0C1A; }
.price-incl { padding: clamp(24px, 4vw, 44px); }
.price-incl h3 { font-size: 20px; margin-bottom: 20px; }
.price-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: calc(860px + var(--gutter) * 2); }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: border-color .3s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { position: relative; display: block; padding: 18px 56px 18px 22px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; border-radius: var(--radius-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 16px; max-width: 44em; }

/* Closing card */
.work-cta { display: flex; flex-direction: column; align-items: center; }
.work-cta h2 { margin-top: 20px; max-width: 14em; text-wrap: balance; }
.work-cta p, .section-head h2 .grad { text-wrap: balance; }
.cta-row-center { justify-content: center; margin-top: 0; }
.cta-card p.cta-mail { margin: 22px auto 0; font-size: 15px; }
.cta-mail a { color: #C9D1FF; text-underline-offset: 3px; }


@media (max-width: 1080px) {
  .tile-people { grid-column: span 6; grid-row: auto; }
  .tile-dir, .tile-apps { grid-column: span 3; }
}

@media (max-width: 900px) {
  .console-stage { margin: 0 auto; }
  .trio { grid-template-columns: 1fr; }
  .trio li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
  .trio .trio-ico { grid-row: span 2; margin: 0; }
  .work-bento { grid-template-columns: minmax(0, 1fr); }
  .work-bento > .tile { grid-column: auto; grid-row: auto; }
  .steps-line { grid-template-columns: 1fr; }
  .steps-line li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; }
  .steps-line .sl-ico { grid-row: span 3; width: 40px; height: 40px; border-radius: 12px; margin: 0; }
  .steps-line .sl-when { justify-self: start; }
  .duo-bento { grid-template-columns: 1fr; }
  .diff-card, .price-card { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .launch-badge { font-size: 12.5px; padding: 6px 12px 6px 10px; margin-bottom: 16px; justify-content: center; }
  .work-hero .ht-1 { font-size: clamp(40px, 12.4vw, 52px); }
  .work-hero .cta-row .btn { flex: 1 1 100%; max-width: 340px; }
  .console-stage { width: 100%; padding: 58px 0 46px; }
  .console { border-radius: 18px; }
  .console-body { padding: 2px 14px 6px; }
  .cs-row { grid-template-columns: 1fr; gap: 8px; padding: 11px 0; }
  .cs-label { font-size: 11.5px; }
  .seg { font-size: 11.5px; }
  .seg span { padding: 4px 7px; }
  .hv-chat { right: -2%; padding: 8px 10px; }
  .hv-bubble { font-size: 12px; }
  .hv-call { left: -2%; bottom: 4px; padding: 8px 12px 8px 8px; font-size: 11.5px; }
  .hv-call-ico { width: 30px; height: 30px; }
  .trio { gap: 12px; }
  .trio li { column-gap: 14px; }
  .trio li.tile { padding: 18px; }
  .trio-ico { width: 40px; height: 40px; border-radius: 12px; }
  .trio-ico svg, .sl-ico svg { width: 20px; height: 20px; }
  .trio .trio-ico { margin-top: 2px; }
  .people li { padding: 8px 10px; gap: 10px; grid-template-columns: 32px minmax(0, 1fr) auto; }
  .av { width: 32px; height: 32px; font-size: 12px; }
  .seg-lg { font-size: 12px; }
  .seg-lg span { padding: 5px 9px; }
  .steps-line { gap: 10px; }
  .steps-line li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px; border-radius: 20px; }
  .steps-line .sl-ico { grid-row: span 3; width: 40px; height: 40px; border-radius: 12px; margin: 0; }
  .sl-when { justify-self: start; font-size: 11px; margin-bottom: 8px; }
  .steps-line h3 { font-size: 17px; margin-bottom: 4px; }
  .steps-line p { font-size: 14px; line-height: 1.45; }
  .sl-note { font-size: 13px; margin-bottom: 8px; }
  .apart-visual, .devices-visual { height: 150px; margin-bottom: 18px; border-radius: 18px; }
  .apart-app img { width: 60px; }
  .apart-wall { height: 96px; }
  .dv-mac { width: 170px; height: 104px; }
  .dv-phone { width: 62px; height: 116px; }
  .devices-visual { padding-bottom: 20px; }
  .diff-card { gap: 18px; padding: 20px 18px; }
  .diff-head h2 { font-size: clamp(26px, 7.6vw, 30px); }
  .diff-list, .check-list { gap: 10px; }
  .diff-list li, .check-list li { font-size: 15px; }
  .price-main, .price-incl { padding: 22px 18px; }
  .price-main .btn-primary { margin-top: 0; width: 100%; }
  .price-min { margin-bottom: 20px; }
  .price-incl h3 { font-size: 18px; margin-bottom: 14px; }
  .faq summary { padding: 15px 48px 15px 16px; font-size: 15.5px; }
  .faq summary::after { right: 20px; }
  .faq details p { padding: 0 16px 16px; font-size: 14.5px; }
  .work-cta .cta-row .btn { flex: 1 1 100%; }
  /* Footer links share the row evenly. */
  .footer-links { justify-content: space-between; }
  .footer-links li, .footer-links li:nth-child(2), .footer-links li:last-child { flex: none; text-align: left; }
}

@media (max-width: 420px) {
  .seg span { padding: 4px 6px; }
}

/* ==========================================================================
   Two apps: the home page product cards, the footer product line and the
   link back to the personal app on /work.
   ========================================================================== */
.section-products { padding-top: clamp(8px, 2vw, 24px); }
.section-products .section-lede { margin-left: auto; margin-right: auto; text-wrap: balance; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(24px, 3.2vw, 40px); border-radius: var(--radius-xl);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: box-shadow .4s var(--ease), border-color .3s;
}
.product:hover { box-shadow: var(--shadow-lg); }
.product-personal {
  color: var(--text);
  background: radial-gradient(90% 70% at 100% 0%, var(--accent-soft), transparent 70%), var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.product-personal:hover { border-color: var(--line-strong); }
.product-work {
  color: #F1F3FB; border-color: rgba(201, 209, 255, .14);
  background: radial-gradient(90% 70% at 100% 0%, rgba(110, 123, 217, .38), transparent 70%), linear-gradient(160deg, #1C1D30 0%, #0B0C1A 100%);
}
.product-work:hover { border-color: rgba(201, 209, 255, .26); }

.product-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.product-ico { position: relative; width: 60px; overflow: visible; }
.product-ico img { border-radius: inherit; transform: none; }
.pi-badge {
  position: absolute; right: -14px; bottom: -7px; padding: 3px 7px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  color: #0B0C1A; background: #FFFFFF; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .6);
}
.product-status {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
  color: var(--text-2); background: var(--surface-solid); border: 1px solid var(--line-strong);
}
.ps-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: #2FB36E; box-shadow: 0 0 0 4px rgba(47, 179, 110, .16); }
.product-status-soon { color: #E2E5F3; background: rgba(201, 209, 255, .1); border-color: rgba(201, 209, 255, .2); }

.product h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px; text-wrap: balance; }
.product-name { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; color: var(--accent); }
.product-work .product-name { color: #8C9BF2; }
.product > p { color: var(--muted); font-size: clamp(16px, 1.3vw, 17.5px); max-width: 32em; text-wrap: pretty; }
.product-work > p { color: #B0B6C8; }
.product-work > p.product-separate { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: #DDE1F2; }

.product-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0 28px; }
.product-points li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; font-size: 14.5px; font-weight: 600; line-height: 1.3; background: var(--surface-solid); border: 1px solid var(--line); }
.product-points .feat-ico { width: 36px; height: 36px; border-radius: 11px; }
.product-points .feat-ico svg { width: 19px; height: 19px; }
.product-work .product-points li { color: #F1F3FB; background: rgba(201, 209, 255, .06); border-color: rgba(201, 209, 255, .12); }
.product-work .feat-ico { color: #C9D1FF; background: rgba(140, 155, 242, .18); }

.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: auto; }
.product-note { font-size: 14px; color: var(--muted); }

/* Footer: products line */
.footer-products { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-left: auto; }
.fp-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.footer-products a { text-decoration: none; }
.footer-products a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-products + .footer-links { margin-left: 0; padding-left: 22px; border-left: 1px solid var(--line-strong); }

/* /work: back to the personal app */
.alt-product { margin-top: 10px; font-size: 14px; color: var(--muted); }
.alt-product a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .products { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .section-products { padding-top: 0; }
  .products { gap: 12px; }
  .product { padding: 22px 18px; }
  .product-head { margin-bottom: 20px; }
  .product-ico { width: 52px; }
  .product-status { font-size: 12px; padding: 5px 10px 5px 9px; }
  .product h3 { font-size: clamp(24px, 7vw, 28px); }
  .product-name { font-size: 12px; margin-bottom: 8px; }
  .product > p { font-size: 15px; }
  .product-work > p.product-separate { font-size: 13.5px; margin-top: 10px; }
  .product-points { gap: 8px; margin: 18px 0 20px; }
  .product-points li { padding: 10px; gap: 10px; font-size: 13px; border-radius: 14px; }
  .product-points .feat-ico { width: 32px; height: 32px; border-radius: 10px; }
  .product-points .feat-ico svg { width: 17px; height: 17px; }
  .product-actions .btn { flex: 1 1 100%; }
  .product-note { width: 100%; text-align: center; }
  .footer-products { width: 100%; margin: 0; gap: 0 18px; padding-top: 6px; border-top: 1px solid var(--line); }
  .footer-products a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-products + .footer-links { padding-left: 0; border-left: 0; }
  .alt-product { font-size: 13.5px; }
}
