/* Vatani Labs website. One stylesheet for every page: deep night colours,
   points of light, teal accents. */
:root {
  --bg: #04060c;
  --bg-2: #080c18;
  --card: #0b1020;
  --line: rgba(120, 140, 200, .16);
  --line-2: rgba(140, 160, 220, .28);
  --text: #f3f5fb;
  --muted: #95a0bd;
  --dim: #5f6a8c;
  --navy: #1e2a5a;
  --teal: #2cc4b8;
  --teal-2: #7ff0e4;
  --radius: 22px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Soft coloured light behind everything, and a whisper of film grain. */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 36% at 78% 18%, rgba(44,196,184,.13), transparent 70%),
    radial-gradient(46% 40% at 12% 8%, rgba(46,64,150,.34), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(30,42,90,.4), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { to { transform: translate3d(3%, 4%, 0) scale(1.08); } }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3, h4 { letter-spacing: -.03em; margin: 0; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.015em;
  background: linear-gradient(100deg, #fff 0%, var(--teal-2) 45%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.grey { color: #6c7697; }

.label { font: 500 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.label .n { color: var(--dim); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(12,18,36,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c6cee4; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(44,196,184,.7); animation: beat 2.2s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 9px rgba(44,196,184,0); } 100% { box-shadow: 0 0 0 0 rgba(44,196,184,0); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(4,6,12,.62);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 28px; }
.brand b { font-weight: 600; }
.brand span { color: var(--teal); font-weight: 400; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; transition: color .2s; }
.nav a:hover { color: var(--text); text-decoration: none; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--text); background: rgba(12,18,36,.5);
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.btn:hover { border-color: var(--teal); text-decoration: none; transform: translateY(-1px); }
.btn.solid { background: linear-gradient(120deg, var(--teal-2), var(--teal)); border-color: transparent; color: #03131a;
  box-shadow: 0 10px 40px -10px rgba(44,196,184,.7); }
.btn.solid:hover { box-shadow: 0 14px 50px -8px rgba(44,196,184,.9); }
.btn .arr { display: inline-block; transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }
.btn[aria-disabled="true"] { color: var(--muted); cursor: default; }
.btn[aria-disabled="true"]:hover { border-color: var(--line-2); transform: none; }
.nav .btn { padding: 11px 17px; color: var(--text); }

/* Appear on scroll (only when scripts run) */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* Hero */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; overflow: hidden; }
.sculpt { position: absolute; top: 0; bottom: 0; right: -7%; width: 64%; }
.sculpt::before { content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(44,196,184,.16), rgba(40,60,150,.14) 55%, transparent 75%); }
.sculpt canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sculpt-cap { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; opacity: 0; transform: translateY(6px);
  transition: opacity .5s, transform .5s; font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sculpt-cap.on { opacity: 1; transform: none; }
.sculpt-cap b { color: var(--teal); font-weight: 500; margin-right: 8px; }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 40px; padding-bottom: 70px; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(54px, 8.6vw, 124px); line-height: .94; font-weight: 700; letter-spacing: -.05em; margin: 26px 0 0; }
.hero h1 em.s { font-size: 1.06em; letter-spacing: -.03em; }
.hero p.lead { max-width: 520px; color: var(--muted); font-size: 18.5px; margin: 30px 0 38px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-hint { position: absolute; left: 28px; bottom: 26px; z-index: 2; font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 12px; }
.scroll-hint::before { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--teal), transparent); animation: drop 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Numbers strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(8,12,24,.5); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(38px, 4.6vw, 62px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .45em; color: var(--teal); font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.stat > span { display: block; margin-top: 10px; color: var(--muted); font: 500 11.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; }

/* Moving band of words */
.band { overflow: hidden; padding: 34px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.band-track { display: flex; width: max-content; animation: slide 42s linear infinite; }
.band span { font-size: clamp(34px, 5vw, 64px); font-weight: 700; letter-spacing: -.035em; white-space: nowrap; padding-right: .9em;
  color: transparent; -webkit-text-stroke: 1px rgba(150,170,230,.42); }
.band span i { font-style: normal; color: var(--teal); -webkit-text-stroke: 0; margin-left: .9em; font-size: .5em; vertical-align: middle; }
.band span.f { color: var(--text); -webkit-text-stroke: 0; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section.block { padding: 130px 0; position: relative; }
.block-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.block-head h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1; font-weight: 700; letter-spacing: -.045em; margin-top: 20px; }
.block-head h2 em.s { font-size: 1.08em; }
.block-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* Cards that light up under the pointer */
.glow { position: relative; isolation: isolate; }
.glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(44,196,184,.16), transparent 60%); }
.glow::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(127,240,228,.75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glow:hover::before, .glow:hover::after { opacity: 1; }

/* Showcase tabs and panel */
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; background: none; border: 0; cursor: pointer; padding: 16px 26px 16px 0; margin-right: 26px;
  color: var(--dim); font: 500 13px/1 var(--mono); letter-spacing: .06em; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s; }
.tab .n { margin-right: 10px; }
.tab:hover { color: var(--muted); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--teal); }
.panel[hidden] { display: none; }
.panel { animation: rise .7s cubic-bezier(.2,.7,.2,1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.app-line { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.app-line img { width: 68px; height: 68px; border-radius: 17px; box-shadow: 0 16px 50px -12px rgba(63,81,181,.9); }
.app-line h3 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.05; }
.app-line .sub { color: var(--muted); margin-top: 2px; }
.app-line .chips { margin-left: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 12px; background: rgba(10,14,28,.5); }
.chip.on { color: var(--teal); border-color: rgba(44,196,184,.5); }
.showcase-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; color: var(--dim); font: 500 12px/1 var(--mono); letter-spacing: .08em; }
.pager { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.pager button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: none; color: var(--text); cursor: pointer; font-size: 16px; transition: border-color .2s, background .2s; }
.pager button:hover { border-color: var(--teal); background: rgba(44,196,184,.08); }

/* Bento grid of living tiles */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { grid-column: span 4; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(20,28,54,.62), rgba(9,13,26,.72)); padding: 26px; display: flex; flex-direction: column; min-height: 330px; }
.tile.w5 { grid-column: span 5; } .tile.w6 { grid-column: span 6; } .tile.w7 { grid-column: span 7; } .tile.w8 { grid-column: span 8; }
.tile .viz { flex: 1; display: grid; place-items: center; min-height: 170px; margin-bottom: 22px; position: relative; }
.tile .cap { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.tile h4 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.tile p { color: var(--muted); margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; }
.tile *, .tile *::before, .tile *::after { animation-play-state: paused; }
.tile.live *, .tile.live *::before, .tile.live *::after { animation-play-state: running; }

/* Tile: world map */
.vmap { width: 100%; }
.vmap svg { width: 100%; height: auto; display: block; overflow: visible; }
.vmap .dots { stroke: rgba(170,188,245,.42); stroke-width: 2.3; stroke-linecap: round; fill: none; }
.vmap .core { fill: var(--teal-2); }
.vmap .ring { fill: none; stroke: var(--teal); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 2.8s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(6.5); opacity: 0; } }
.vmap .tag { position: absolute; left: 4%; bottom: 2%; }

/* Tile: converter */
.conv { width: 100%; max-width: 340px; display: grid; gap: 10px; }
.conv .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(6,9,18,.6); }
.conv .row.out { border-color: rgba(44,196,184,.45); background: linear-gradient(120deg, rgba(44,196,184,.14), rgba(6,9,18,.5)); }
.conv .num { font: 500 clamp(26px, 3vw, 34px)/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.conv .out .num { color: var(--teal-2); }
.conv .unit { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: .08em; }
.conv .swap { justify-self: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--teal); margin: -4px 0; background: var(--bg-2); animation: spin 5.2s ease-in-out infinite; }
@keyframes spin { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }

/* Tile: flashcard */
.flash { width: min(100%, 300px); height: 172px; perspective: 1000px; position: relative; }
.flash::before, .flash::after { content: ""; position: absolute; inset: 0; border-radius: 18px; border: 1px solid var(--line); background: rgba(14,20,40,.7); }
.flash::before { transform: translateY(16px) scale(.9); opacity: .45; }
.flash::after { transform: translateY(8px) scale(.95); opacity: .7; }
.flash-in { position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,.8,.2,1); }
.flash.flip .flash-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; justify-content: center; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--line-2); background: linear-gradient(150deg, #18224a, #0b1022); }
.face.back { transform: rotateY(180deg); background: linear-gradient(150deg, #0d3b46, #0a1424); border-color: rgba(44,196,184,.5); }
.face small { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.face b { font-size: 24px; letter-spacing: -.025em; line-height: 1.15; }
.face span { font-size: 15px; line-height: 1.5; color: #d5dcf0; }

/* Tile: quiz */
.quiz { width: 100%; max-width: 330px; display: grid; gap: 8px; }
.quiz .q { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.quiz .ringbox { flex: 0 0 auto; width: 44px; height: 44px; position: relative; display: grid; place-items: center; font: 500 10px/1 var(--mono); color: var(--muted); }
.quiz .ringbox svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.quiz .ringbox circle { fill: none; stroke-width: 3; }
.quiz .ringbox .tr { stroke: rgba(140,160,220,.2); }
.quiz .ringbox .pr { stroke: var(--teal); stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 34; animation: ring 7s ease-in-out infinite; }
@keyframes ring { 0%, 38% { stroke-dashoffset: 34; } 50%, 92% { stroke-dashoffset: 22.6; } 100% { stroke-dashoffset: 34; } }
.opt { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6,9,18,.55); font-size: 14px; color: #cfd6ea; }
.opt i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: 0 0 auto; display: grid; place-items: center; font-style: normal; font-size: 10px; color: transparent; }
.opt.ok { animation: pick 7s ease-in-out infinite; }
.opt.ok i { animation: tick 7s ease-in-out infinite; }
@keyframes pick { 0%, 36% { border-color: var(--line); background: rgba(6,9,18,.55); } 44%, 92% { border-color: rgba(44,196,184,.65); background: rgba(44,196,184,.14); color: #fff; } 100% { border-color: var(--line); } }
@keyframes tick { 0%, 36% { background: transparent; color: transparent; border-color: var(--line-2); } 44%, 92% { background: var(--teal); color: #03131a; border-color: var(--teal); } 100% { background: transparent; color: transparent; } }
.streak { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #ffc38a; }
.streak svg { width: 14px; height: 14px; }

/* Tile: languages */
.langs7 { text-align: center; width: 100%; }
.langword { font-size: clamp(32px, 3.5vw, 50px); white-space: nowrap; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; min-height: 1.2em; transition: opacity .35s, filter .35s, transform .35s;
  background: linear-gradient(100deg, #fff, var(--teal-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.langword.out { opacity: 0; filter: blur(8px); transform: translateY(8px); }
.langs7 .chips { justify-content: center; margin-top: 18px; gap: 6px; }
.langs7 .chip { padding: 8px 9px; transition: color .3s, border-color .3s, background .3s; }
.langs7 .chip.on { background: rgba(44,196,184,.14); }

/* Tile: market chart */
.chart { width: 100%; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: rgba(140,160,220,.14); stroke-dasharray: 3 6; }
.chart .l1, .chart .l2 { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart .l1 { stroke: var(--teal); stroke-width: 2.4; }
.chart .l2 { stroke: rgba(200,212,255,.45); stroke-width: 1.6; }
.chart .area { opacity: 0; }
.tile.seen .chart .l1 { animation: draw 2.6s cubic-bezier(.4,0,.2,1) forwards; }
.tile.seen .chart .l2 { animation: draw 2.6s .3s cubic-bezier(.4,0,.2,1) forwards; }
.tile.seen .chart .area { animation: fade 1.2s 1.6s forwards; }
.tile.seen .chart .end { animation: fade .4s 2.4s forwards; }
.chart .end { opacity: 0; }
.chart .end .ring { fill: none; stroke: var(--teal); transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.chart .chips { margin-top: 14px; }

/* Tile: interview */
.talk { width: 100%; max-width: 420px; display: grid; gap: 10px; }
.talk .ask { justify-self: start; max-width: 88%; padding: 13px 16px; border-radius: 16px 16px 16px 4px; background: #172044; border: 1px solid var(--line-2); font-size: 14.5px; }
.talk .ans { justify-self: end; width: 86%; padding: 14px 16px; border-radius: 16px 16px 4px 16px; border: 1px solid rgba(44,196,184,.4); background: rgba(44,196,184,.09); }
.talk .ans small { font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 10px; }
.talk .ln { height: 7px; border-radius: 4px; background: linear-gradient(90deg, rgba(200,215,255,.5), rgba(200,215,255,.18)); margin-top: 7px; transform-origin: left; animation: type 6s ease-in-out infinite; }
.talk .ln:nth-child(3) { width: 82%; animation-delay: .25s; } .talk .ln:nth-child(4) { width: 60%; animation-delay: .5s; }
@keyframes type { 0%, 8% { transform: scaleX(0); } 30%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* Tile: offline */
.offline { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.offline span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(44,196,184,.5); animation: wave 3.6s ease-out infinite; }
.offline span:nth-child(2) { animation-delay: 1.2s; } .offline span:nth-child(3) { animation-delay: 2.4s; }
@keyframes wave { 0% { transform: scale(.32); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.offline .core { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, #123e49, #0b1428); border: 1px solid rgba(44,196,184,.6); box-shadow: 0 0 60px -6px rgba(44,196,184,.6); }
.offline .core svg { width: 34px; height: 34px; }

/* "Next app" panel */
.soon { border: 1px solid var(--line); border-radius: 26px; padding: 90px 30px; text-align: center;
  background: radial-gradient(60% 80% at 50% 0%, rgba(44,196,184,.12), transparent 70%), linear-gradient(180deg, rgba(20,28,54,.6), rgba(9,13,26,.7)); }
.orbit { width: 170px; height: 170px; margin: 0 auto 34px; position: relative; display: grid; place-items: center; }
.orbit svg { width: 84px; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(127,240,228,.4); }
.orbit::before { inset: 0; animation: turn 22s linear infinite; }
.orbit::after { inset: 20px; border-color: rgba(150,170,230,.3); animation: turn 16s linear infinite reverse; }
@keyframes turn { to { transform: rotate(360deg); } }
.soon h3 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; letter-spacing: -.035em; margin-top: 14px; }
.soon p { color: var(--muted); max-width: 520px; margin: 14px auto 0; }

/* Principles */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: linear-gradient(180deg, rgba(20,28,54,.55), rgba(9,13,26,.7)); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 26px; color: var(--teal-2);
  background: linear-gradient(140deg, rgba(44,196,184,.2), rgba(30,42,90,.35)); border: 1px solid rgba(44,196,184,.35); }
.card .ico svg { width: 24px; height: 24px; }
.card .label { margin-bottom: 16px; display: block; }
.card h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.02em; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* Contact */
.contact-card { position: relative; border-radius: 34px; padding: clamp(50px, 8vw, 110px) 28px; text-align: center; overflow: hidden; border: 1px solid var(--line-2);
  background: radial-gradient(70% 120% at 50% 120%, rgba(44,196,184,.28), transparent 60%), radial-gradient(60% 90% at 10% 0%, rgba(46,64,150,.5), transparent 60%), #070b17; }
.contact-card h2 { font-size: clamp(36px, 6vw, 80px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin: 22px 0 18px; }
.contact-card p { color: var(--muted); margin: 0 auto 36px; max-width: 520px; font-size: 17px; }
.mail { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(19px, 3vw, 30px); color: var(--text); letter-spacing: -.015em; padding-bottom: 6px; border-bottom: 1px solid var(--line-2); transition: border-color .25s, color .25s; }
.mail:hover { text-decoration: none; border-color: var(--teal); color: var(--teal-2); }

/* Small message at the bottom of the screen (e.g. "address copied") */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 999px; font-size: 14.5px; color: #03131a; text-align: center;
  background: linear-gradient(120deg, var(--teal-2), var(--teal)); box-shadow: 0 16px 50px -10px rgba(44,196,184,.7);
  transition: opacity .3s, transform .3s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Footer */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; overflow: hidden; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; padding-top: 40px; padding-bottom: 30px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; }
.site-footer a { color: var(--muted); }
.wordmark { font-size: clamp(70px, 17.5vw, 270px); font-weight: 700; letter-spacing: -.06em; line-height: .8; text-align: center; white-space: nowrap; user-select: none; margin-bottom: -.12em;
  background: linear-gradient(180deg, rgba(120,140,210,.3), rgba(120,140,210,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* App page */
.app-hero { position: relative; overflow: hidden; min-height: min(92svh, 860px); display: flex; align-items: center; }
.app-hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 40px; padding-bottom: 60px; }
.app-hero .top { display: flex; align-items: center; gap: 24px; margin: 26px 0 28px; }
.app-hero img.app-icon { width: 96px; height: 96px; border-radius: 23px; box-shadow: 0 24px 70px -14px rgba(63,81,181,.95); }
.app-hero h1 { font-size: clamp(50px, 8vw, 112px); font-weight: 700; line-height: .95; letter-spacing: -.05em; }
.app-hero p.lead { color: var(--muted); font-size: 19px; max-width: 560px; margin: 0 0 34px; }
.store-note { color: var(--dim); font: 500 11.5px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; margin-top: 18px; }

/* The real screens, fanned out */
.fan { position: relative; height: 560px; perspective: 1600px; margin-top: 10px; }
.fan .phone { position: absolute; left: 50%; top: 20px; width: 236px; margin-left: -118px; transition: transform .7s cubic-bezier(.2,.7,.2,1);
  transform: translateX(calc(var(--i) * 150px)) translateZ(calc(var(--a) * -90px)) rotateY(calc(var(--i) * -9deg)) translateY(calc(var(--a) * 14px)); z-index: calc(10 - var(--a)); }
.fan:hover .phone { transform: translateX(calc(var(--i) * 205px)) translateZ(calc(var(--a) * -40px)) rotateY(calc(var(--i) * -4deg)); }
.phone { aspect-ratio: 1320 / 2868; border-radius: 34px; padding: 7px; background: linear-gradient(160deg, #2a3358, #10152a); border: 1px solid #38436e; box-shadow: 0 40px 90px -20px rgba(0,0,0,.8), 0 0 60px -20px rgba(44,196,184,.35); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }

/* Long text pages (privacy, terms) */
.doc { max-width: 800px; margin: 0 auto; padding: 80px 28px 110px; }
.doc .langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.doc .langs a { font: 500 14px/1 var(--sans); color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 14px; background: rgba(10,14,28,.5); transition: color .2s, border-color .2s; }
.doc .langs a:hover { color: var(--text); border-color: var(--teal); text-decoration: none; }
.doc section { border-top: 1px solid var(--line); margin-top: 52px; padding-top: 36px; }
.doc h1 { font-size: clamp(32px, 4.8vw, 48px); line-height: 1.08; font-weight: 700; margin: 14px 0 10px; letter-spacing: -.035em; }
.doc section h1 { font-size: 32px; margin-top: 0; }
.doc h2 { font-size: 20px; margin: 36px 0 8px; letter-spacing: -.015em; }
.doc p, .doc li { color: #c9d0e3; }
.doc .meta { color: var(--dim); font-size: 14px; }
.doc ul { padding-inline-start: 22px; }
.doc strong { color: var(--text); }

/* Tablets and phones */
@media (max-width: 980px) {
  .block-head { grid-template-columns: 1fr; gap: 16px; }
  .tile, .tile.w5, .tile.w6, .tile.w7, .tile.w8 { grid-column: span 6; }
  .tile.w8, .tile.w7 { grid-column: span 12; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .app-line .chips { margin-left: 0; width: 100%; }
}
@media (max-width: 860px) {
  .hero, .app-hero { align-items: flex-start; min-height: 0; }
  .sculpt { left: 0; right: 0; width: 100%; top: 0; bottom: auto; height: 46svh; min-height: 300px; }
  .hero .wrap { padding-top: calc(46svh + 22px); padding-bottom: 60px; }
  .app-hero .wrap { padding-top: calc(46svh - 10px); padding-bottom: 60px; }
  .sculpt-cap { bottom: 0; }
  .scroll-hint { display: none; }
  .fan { height: auto; perspective: none; display: flex; gap: 14px; overflow-x: auto; padding: 10px 4px 30px; scroll-snap-type: x mandatory; }
  .fan .phone, .fan:hover .phone { position: static; margin: 0; transform: none; flex: 0 0 200px; scroll-snap-align: center; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .nav a:not(.btn) { display: none; }
  section.block { padding: 84px 0; }
  .tile, .tile.w5, .tile.w6, .tile.w7, .tile.w8 { grid-column: span 12; min-height: 0; }
  .grid4, .grid3 { grid-template-columns: 1fr; }
  .site-footer nav { margin-left: 0; }
  .showcase-foot > span { display: none; }
  .showcase-foot { justify-content: flex-end; }
  .stat { padding: 26px 16px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .app-hero .top { gap: 16px; }
  .app-hero img.app-icon { width: 68px; height: 68px; border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chart .l1, .chart .l2 { stroke-dashoffset: 0; } .chart .area, .chart .end { opacity: 1; }
}
