/* Globescape — globescape.app. Deep-blue night with the app icon's sunset: orange/coral glow, turquoise bloom, deep blue. */
:root {
  --ink: #0b1638; --ink2: #0f2150; --fg: #f6f3ee; --soft: #b3bdd6; --faint: #7d89a8;
  --coral: #ff6b5b; --teal: #2ec4c9; --teal2: #7fe3e3; --deep: #2b4fc9; --sun: #ffb347;
  --line: rgba(255,255,255,.12); --glass: rgba(18,34,82,.6);
  --accent: #ff8a3d; --accent2: #ffb36b; --blue: #4da3ff; --good: #3ddc97; --warn: #f5c84b;
  --grad: linear-gradient(180deg, #ffa45c, #ff7a29);
  --sans: 'Inter', -apple-system, system-ui, sans-serif; --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--fg); font: 16px/1.6 var(--sans); background: var(--ink); overflow-x: hidden; overflow-x: clip; }
html { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.grad { background: linear-gradient(100deg, #ffd29c 0%, #ff9a4d 45%, #ff6f2e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; border-radius: 6px; }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 20px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gut) 12px; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11,22,56,.72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px var(--display); letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(77,163,255,.55)); }
.links { display: flex; gap: 26px; margin-left: 24px; }
.links a { text-decoration: none; color: var(--soft); font-size: 15px; font-weight: 500; transition: color .2s; }
.links a:hover { color: var(--fg); }
.navr { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { text-decoration: none; font: 600 13px var(--sans); color: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 6px 11px; }
.lang:hover { color: var(--fg); border-color: rgba(255,255,255,.25); }
.cta-s { text-decoration: none; font: 600 14px var(--sans); color: #1a0d02; background: var(--grad); border-radius: 99px; padding: 8px 16px; box-shadow: 0 6px 22px -6px rgba(255,138,61,.7); }
@media (max-width: 760px) { .links { display: none; } }

/* ── hero: text and the AR phone share a centred 1200 px stage ── */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--gut) 100px; overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(70% 55% at 50% -8%, rgba(255,140,70,.55), rgba(255,107,91,.22) 45%, transparent 75%),
    radial-gradient(45% 50% at 72% 55%, rgba(46,196,201,.30), transparent 70%),
    radial-gradient(40% 45% at 18% 78%, rgba(255,107,91,.14), transparent 70%),
    linear-gradient(180deg, #1a2a66 0%, #12245c 40%, #0b1638 100%); }
.sky::before, .sky::after { content: ""; position: absolute; inset: -50%; background-repeat: repeat;
  background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 80px 120px, rgba(255,255,255,.8), transparent), radial-gradient(1.5px 1.5px at 150px 60px, #fff, transparent), radial-gradient(1px 1px at 210px 190px, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 260px 20px, rgba(200,220,255,.9), transparent);
  background-size: 300px 220px; opacity: .55; animation: drift 180s linear infinite; }
.sky::after { background-size: 470px 380px; opacity: .35; animation-duration: 260s; transform: rotate(13deg); }
@keyframes drift { to { transform: translate3d(-300px, -220px, 0); } }

.hero-grid { width: 100%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero-in { position: relative; max-width: 600px; justify-self: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px 6px 10px; border-radius: 99px; font: 600 13px var(--sans); letter-spacing: .02em;
  color: var(--accent2); background: rgba(255,138,61,.1); border: 1px solid rgba(255,138,61,.28); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1 { font-size: clamp(44px, 5.4vw, 80px); line-height: 1; font-weight: 700; }
.lead { font-size: clamp(17px, 1.45vw, 19px); color: #c9cfdb; max-width: 33em; margin: 24px 0 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ctas.center { justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; background: #000; border: 1px solid rgba(255,255,255,.35); border-radius: 14px; padding: 9px 20px 9px 16px; transition: transform .2s, border-color .2s; }
.badge:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.7); }
.badge svg { width: 28px; height: 28px; fill: #fff; }
.badge span { display: grid; line-height: 1.1; }
.badge small { font-size: 11px; opacity: .85; }
.badge b { font: 600 21px var(--sans); letter-spacing: -0.01em; }
.btn-play { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 16px var(--sans); color: #1a0d02; background: var(--grad); border-radius: 99px; padding: 15px 24px 15px 20px;
  box-shadow: 0 10px 34px -8px rgba(255,138,61,.75), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .2s, box-shadow .2s; }
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(255,138,61,.9), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-play svg { width: 18px; height: 18px; fill: currentColor; }
.soon { margin: 12px 0 0; font-size: 13px; color: var(--faint); }
.stats { display: flex; gap: clamp(20px, 4vw, 44px); margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font: 700 clamp(26px, 3vw, 34px)/1 var(--display); }
.stats dd { margin: 6px 0 0; color: var(--soft); font-size: 13px; }

/* the visual: a dim globe and an orbit behind an iPhone showing AR */
.hero-visual { position: relative; margin: 0; display: grid; place-items: center; justify-self: start; width: 100%; max-width: 520px; padding: 20px 0 10px; }
.halo { position: absolute; z-index: -1; width: 118%; aspect-ratio: 1; left: 50%; top: 47%; translate: -50% -50%; }
.halo img { width: 100%; height: 100%; border-radius: 50%; opacity: .34; filter: saturate(1.1) blur(1px); -webkit-mask: radial-gradient(closest-side, #000 70%, transparent); mask: radial-gradient(closest-side, #000 70%, transparent);
  animation: halo 120s linear infinite; }
.halo::after { content: ""; position: absolute; inset: 4%; border-radius: 50%; box-shadow: 0 0 120px 30px rgba(77,163,255,.18), inset 0 0 90px rgba(5,7,13,.6); }
@keyframes halo { to { rotate: 360deg; } }
.orbit { position: absolute; z-index: -1; width: 112%; aspect-ratio: 1.9; left: 50%; top: 56%; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(255,179,107,.22); rotate: -14deg; }
.orbit::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px 3px rgba(255,138,61,.8); top: 50%; left: -5px; offset-path: border-box; animation: orbit 14s linear infinite; }
@supports not (offset-path: border-box) { .orbit::before { display: none; } }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }

.phone { position: relative; width: clamp(250px, 24vw, 318px); aspect-ratio: 9 / 19.5; padding: 11px; border-radius: 52px;
  background: linear-gradient(145deg, #3a3f4a, #15181e 40%, #2a2e36); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 100px -30px rgba(0,0,0,.9), 0 0 90px -20px rgba(77,163,255,.4), 0 30px 80px -40px rgba(255,138,61,.45);
  rotate: 3deg; }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2b2f37; }
.phone::before { left: -3px; top: 22%; height: 9%; }
.phone::after { right: -3px; top: 28%; height: 13%; }
.ar-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #1d1713; isolation: isolate; }
.ar-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; }
.ar-screen.live canvas { opacity: 1; }
.island { position: absolute; z-index: 5; top: 11px; left: 50%; translate: -50% 0; width: 30%; height: 26px; border-radius: 20px; background: #000; }
.grain { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(120% 80% at 50% 45%, transparent 55%, rgba(0,0,0,.45)); }

/* the static picture before WebGL is ready (and without it) */
.ar-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-screen.live .ar-still { opacity: 0; transition: opacity 1s ease; }

/* the app's own UI on top of the camera picture */
.ar-ui { position: absolute; inset: 0; z-index: 4; font-family: var(--sans); pointer-events: none; }
.ar-prompt { position: absolute; left: 7%; right: 7%; top: 8.5%; padding: 9px 14px; border-radius: 16px; background: rgba(20,22,30,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12);
  opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .5s; }
.ar-prompt small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent2); }
.ar-prompt b { display: block; font: 700 clamp(16px, 1.5vw, 19px)/1.2 var(--display); color: #fff; }
.ar-screen.playing .ar-prompt { opacity: 1; transform: none; }
.ar-hint { position: absolute; left: 50%; bottom: 17%; translate: -50% 0; white-space: nowrap; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(20,22,30,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .4s; }
.ar-hint.on { opacity: 1; }
.reticle { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); animation: ret 1.2s ease-in-out infinite; }
@keyframes ret { 50% { transform: scale(.7); } }
.ar-chip { position: absolute; left: 50%; top: 20%; translate: -50% 0; display: grid; justify-items: center; padding: 8px 16px; border-radius: 16px; background: rgba(12,40,28,.62); border: 1px solid rgba(61,220,151,.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .35s, transform .45s cubic-bezier(.2,1.6,.4,1); }
.ar-chip b { font: 700 clamp(18px, 1.7vw, 22px)/1.1 var(--display); color: var(--good); font-variant-numeric: tabular-nums; }
.ar-chip small { font-size: 10px; color: #bfe9d4; }
.ar-chip.on { opacity: 1; transform: none; }
.ar-bar { position: absolute; left: 50%; bottom: 5.5%; translate: -50% 0; display: flex; padding: 3px; border-radius: 99px; background: rgba(20,22,30,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.12); }
.ar-bar span { font-size: 11px; font-weight: 700; padding: 5px 13px; border-radius: 99px; color: #fff; }
.ar-bar span:first-child { background: var(--grad); color: #1a0d02; }
.ar-bar span.on { color: #fff; }
.ar-cap { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255,77,77,.6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(255,77,77,0); } }

.scroll-cue { position: absolute; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.25); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fg); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 108px; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; text-align: center; }
  .hero-in { justify-self: center; }
  .lead { margin-inline: auto; }
  .ctas { justify-content: center; }
  .stats { justify-content: center; }
  .hero-visual { justify-self: center; max-width: 440px; }
  .phone { width: min(68vw, 290px); rotate: 0deg; }
  .scroll-cue { display: none; }
}
@media (max-width: 420px) { .stats { gap: 18px; } .stats dd { font-size: 12px; } }

/* ── sections ── */
.sec { position: relative; max-width: 1180px; margin: 0 auto; padding: clamp(80px, 11vw, 140px) var(--gut) 0; }
.sec.narrow { max-width: 820px; }
.kicker { margin: 0 0 14px; font: 600 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--teal2); }
.sec > .kicker, .sec > h2 { text-align: center; }
h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; max-width: 18em; margin-inline: auto; }
.body { color: #c2c8d4; font-size: 18px; max-width: 36em; }
.center { text-align: center; margin-inline: auto; }
.fine { color: var(--soft); font-size: 15px; max-width: 40em; margin-top: 28px; }
.fine b { color: var(--fg); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card { position: relative; padding: 22px 22px 26px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,179,107,.5), transparent); }
.card .num { font: 600 13px var(--display); color: var(--accent2); letter-spacing: .1em; }
.card h3 { font-size: 21px; line-height: 1.2; margin: 6px 0 8px; }
.card p { margin: 0; color: var(--soft); font-size: 15px; }

/* card illustrations */
.ill { position: relative; height: 150px; margin: -4px -4px 18px; border-radius: 18px; background: radial-gradient(80% 90% at 50% 100%, rgba(77,163,255,.18), transparent 70%), rgba(0,0,0,.25); overflow: hidden; }
.mini-globe { position: absolute; left: 50%; top: 58%; width: 150px; height: 150px; translate: -50% -30%; border-radius: 50%;
  background: url(/assets/img/globe-poster.webp) center/cover; box-shadow: 0 0 40px rgba(77,163,255,.4); }
.drop { position: absolute; left: 50%; top: 52px; width: 18px; height: 18px; margin-left: -9px; }
.drop i { position: absolute; inset: 0; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--accent); box-shadow: 0 0 0 2px #fff, 0 6px 18px rgba(255,138,61,.8); }
.ripple { position: absolute; left: 50%; top: 70px; width: 40px; height: 14px; margin-left: -20px; border-radius: 50%; border: 2px solid var(--accent2); opacity: 0; }
.in .drop { animation: drop 2.6s cubic-bezier(.3,1.5,.5,1) infinite; }
.in .ripple { animation: ripple 2.6s ease-out infinite; }
@keyframes drop { 0% { transform: translateY(-80px); opacity: 0; } 25%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes ripple { 0%, 22% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; } 70%, 100% { opacity: 0; transform: scale(2.2); } }

.ill-score svg { position: absolute; inset: 16px 10px 30px; width: calc(100% - 20px); height: calc(100% - 46px); }
.arc { fill: none; stroke: var(--accent2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; filter: drop-shadow(0 0 6px rgba(255,138,61,.8)); }
.p-you { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.p-ans { fill: var(--accent); stroke: #fff; stroke-width: 2; opacity: 0; }
.pts { position: absolute; right: 16px; bottom: 12px; font: 700 22px var(--display); color: var(--good); opacity: 0; }
.in .arc { animation: arc 3.2s ease-in-out infinite; }
.in .p-ans { animation: ans 3.2s ease infinite; }
.in .pts { animation: pts 3.2s ease infinite; }
@keyframes arc { 0% { stroke-dashoffset: 220; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes ans { 0%, 40% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes pts { 0%, 48% { opacity: 0; transform: translateY(8px); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.ill-daily { display: grid; place-content: center; gap: 14px; justify-items: center; }
.grid { display: flex; gap: 8px; }
.grid i, .sc-grid i { width: 30px; height: 30px; border-radius: 7px; background: #2d3446; }
.grid i.g, .sc-grid i.g { background: linear-gradient(180deg, #4ee39f, #2bb878); }
.grid i.y, .sc-grid i.y { background: linear-gradient(180deg, #ffd95c, #e9b52a); }
.in .grid i { animation: tile .5s cubic-bezier(.3,1.6,.5,1) both; }
.in .grid i:nth-child(2) { animation-delay: .12s; } .in .grid i:nth-child(3) { animation-delay: .24s; } .in .grid i:nth-child(4) { animation-delay: .36s; } .in .grid i:nth-child(5) { animation-delay: .48s; }
@keyframes tile { from { transform: scale(.3) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }
.flame { font: 700 16px var(--display); color: var(--accent2); padding: 4px 12px; border-radius: 99px; background: rgba(255,138,61,.12); }

.ill-ar { perspective: 500px; }
.table { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 110px; background: linear-gradient(180deg, #3b2a1f, #23180f); transform: rotateX(62deg); transform-origin: bottom; border-top: 1px solid rgba(255,255,255,.12); }
.ar-globe { position: absolute; left: 50%; top: 18px; width: 86px; height: 86px; margin-left: -43px; border-radius: 50%; background: url(/assets/img/globe-poster.webp) center/cover; box-shadow: 0 0 30px rgba(77,163,255,.45); }
.shadow { position: absolute; left: 50%; top: 108px; width: 80px; height: 14px; margin-left: -40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent); }
.corners { position: absolute; inset: 14px 30%; border: 2px solid transparent; border-image: linear-gradient(var(--blue), var(--blue)) 1; clip-path: polygon(0 0, 18% 0, 18% 3px, 3px 3px, 3px 18%, 0 18%, 0 82%, 3px 82%, 3px calc(100% - 3px), 18% calc(100% - 3px), 18% 100%, 82% 100%, 82% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px), calc(100% - 3px) 82%, 100% 82%, 100% 18%, calc(100% - 3px) 18%, calc(100% - 3px) 3px, 82% 3px, 82% 0); opacity: .7; }
.in .ar-globe { animation: float 4s ease-in-out infinite; }
.in .shadow { animation: shadow 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes shadow { 50% { transform: scale(.82); opacity: .7; } }

/* daily split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-text h2, .split-text .kicker { text-align: left; margin-inline: 0; }
.split-text .body { margin-top: 22px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.share-card { justify-self: center; width: min(380px, 100%); padding: 24px; border-radius: 30px; background: linear-gradient(160deg, rgba(40,52,78,.75), rgba(14,18,30,.9)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,138,61,.08), 0 0 80px -20px rgba(255,138,61,.35); transform: rotate(-3deg); }
.sc-head { display: flex; justify-content: space-between; font: 600 12px var(--sans); letter-spacing: .12em; color: var(--accent2); }
.sc-flame { letter-spacing: 0; }
.sc-rank { font: 700 26px var(--display); margin-top: 14px; }
.sc-score { font: 700 54px/1.05 var(--display); background: linear-gradient(180deg, #ffd29c, #ff8a3d); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.sc-grid { display: flex; gap: 8px; margin: 16px 0; }
.sc-grid i { width: 40px; height: 40px; border-radius: 9px; }
.sc-week { display: flex; gap: 7px; align-items: end; height: 44px; }
.sc-week i { flex: 1; height: calc(6px + var(--h) * 38px); border-radius: 4px; background: rgba(255,255,255,.12); }
.sc-week i.now { background: var(--grad); }
.sc-btn { margin-top: 18px; text-align: center; font: 600 16px var(--sans); color: #1a0d02; background: var(--grad); border-radius: 99px; padding: 13px; }

/* packs */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 48px; }
@media (max-width: 720px) { .packs { grid-template-columns: repeat(2, 1fr); } }
.pack { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: transform .25s, border-color .25s, background .25s; min-width: 0; }
.pack:hover { transform: translateY(-4px); border-color: rgba(255,179,107,.4); background: rgba(255,138,61,.06); }
.pack .flag { font-size: 30px; line-height: 1; }
.pack b { display: block; font: 600 17px var(--display); margin-top: 10px; }
.pack small { color: var(--soft); font-size: 13px; }
.modes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.modes span { padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 15px; }

/* features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 36px; }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feats { grid-template-columns: 1fr; } }
.feat { min-width: 0; }
.fi { width: 52px; height: 52px; display: grid; place-items: center; font-size: 24px; border-radius: 16px; background: rgba(255,138,61,.1); border: 1px solid rgba(255,138,61,.25); margin-bottom: 16px; }
.feat h3 { font-size: 19px; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--soft); font-size: 15px; }

/* faq */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid var(--line); padding: 0 22px; transition: background .2s; }
.faq details[open] { background: rgba(255,255,255,.06); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; position: relative; font: 600 17px var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--accent2); border-bottom: 2px solid var(--accent2); rotate: 45deg; transition: rotate .25s, margin .25s; }
.faq details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.faq p { margin: 0 0 20px; color: #c2c8d4; }
.faq a { color: var(--accent2); }

/* final */
.final { position: relative; text-align: center; padding: clamp(110px, 14vw, 180px) var(--gut) clamp(80px, 10vw, 120px); overflow: hidden; }
.final-glow { position: absolute; left: 50%; top: 52%; width: 900px; height: 600px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(77,163,255,.22), transparent); z-index: -1; }
.final-globe { width: 200px; height: 200px; margin: 0 auto 28px; border-radius: 50%; box-shadow: 0 0 80px rgba(77,163,255,.5); animation: float 6s ease-in-out infinite; }
.final h2 { font-size: clamp(38px, 6vw, 72px); }
.final p { color: var(--soft); font-size: 19px; margin: 14px 0 30px; }

/* footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 32px var(--gut) calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; max-width: 1180px; margin: 0 auto; }
.foot .brand { font-size: 16px; color: var(--fg); }
.foot .brand img { width: 24px; height: 24px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--fg); }
.foot p { margin: 0 0 0 auto; }
@media (max-width: 600px) { .foot p { margin: 0; width: 100%; } }

/* the hero comes in on load (no scroll needed) */
.js .rv-h { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(80ms + var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.snap .rv-h { animation: none; }

/* ?t= screenshots: no transitions */
.snap *, .snap *::before, .snap *::after { transition: none !important; }

/* reveal on scroll */
.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; }
.js .share-card.rv.in { transform: rotate(-3deg); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 130px var(--gut) 80px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 8px; }
.legal .meta { color: var(--soft); margin: 0 0 36px; }
.legal h2 { font-size: 22px; text-align: left; margin: 36px 0 10px; max-width: none; }
.legal p, .legal li { color: #c9cfdb; }
.legal a { color: var(--accent2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .p-ans, .pts { opacity: 1; } .arc { stroke-dashoffset: 0; }
  .ar-chip, .ar-prompt { opacity: 1; transform: none; }
}

/* hero video inside the phone (fal.ai / Kling render of a class on Old Town Square) */
.ar-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:inherit}
@media (prefers-reduced-motion: reduce){.ar-video{animation:none}}

/* the live globe floats over the looping class video; until it is ready (or without WebGL / with reduced motion)
   the poster, which already shows the globe, stays */
.hero-live-globe{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;background:none}
.ar-screen.live .hero-live-globe{opacity:1}

/* hero headline: exactly two lines on desktop ("The whole world," / "at your fingertips.") */
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero-in { max-width: 680px; }
  .hero-in h1 { font-size: clamp(44px, 4.3vw, 66px); text-wrap: initial; }
  .hero-in h1 br { display: block; }
  .hero-in h1, .hero-in h1 .grad { white-space: nowrap; }
}


/* ── icon palette: sunset orange/coral → turquoise → deep blue ── */
body { background:
  radial-gradient(60% 40% at 85% 38%, rgba(46,196,201,.10), transparent 70%),
  radial-gradient(55% 35% at 10% 62%, rgba(255,107,91,.08), transparent 70%),
  radial-gradient(70% 40% at 50% 100%, rgba(43,79,201,.35), transparent 75%),
  var(--ink); }
.grad { background: linear-gradient(100deg, #ffd38a 0%, #ff9a4d 40%, #ff6b5b 100%); -webkit-background-clip: text; background-clip: text; }
.eyebrow { color: #ffd0a6; background: rgba(255,107,91,.14); border-color: rgba(255,150,100,.38); }
.card { background: linear-gradient(180deg, rgba(120,170,255,.10), rgba(46,196,201,.04)); border-color: rgba(160,200,255,.14); }
.card::before { background: linear-gradient(90deg, transparent, rgba(127,227,227,.6), transparent); }
.card .num { color: var(--teal2); }
.ill { background: radial-gradient(80% 90% at 50% 100%, rgba(46,196,201,.28), transparent 70%), rgba(8,18,50,.45); }
.pack, .faq details, .modes span { background: rgba(120,170,255,.07); border-color: rgba(160,200,255,.14); }
.pack:hover { border-color: rgba(127,227,227,.5); background: rgba(46,196,201,.10); }
.faq details[open] { background: rgba(120,170,255,.11); }
.faq summary::marker, .faq summary::after { color: var(--teal2); }
.fi { background: linear-gradient(160deg, rgba(255,140,70,.18), rgba(46,196,201,.14)); border-color: rgba(127,227,227,.3); }
.share-card { background: linear-gradient(160deg, rgba(50,78,170,.8), rgba(14,30,80,.92)); border-color: rgba(160,200,255,.2); }
.grid i, .sc-grid i { background: #2a3d78; }
.final-glow { background: radial-gradient(closest-side, rgba(46,196,201,.28), rgba(255,107,91,.12) 55%, transparent); }
.halo::after { box-shadow: 0 0 140px 40px rgba(46,196,201,.22), inset 0 0 90px rgba(11,22,56,.55); }
.phone { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 100px -30px rgba(3,8,30,.9), 0 0 100px -16px rgba(46,196,201,.45), 0 30px 90px -40px rgba(255,107,91,.55); }
.foot { border-top-color: rgba(160,200,255,.14); }
.foot nav a:hover, a:hover { color: var(--teal2); }
.nav a:hover { color: var(--teal2); }
.sec h2 .accent, .t-teal { color: var(--teal2); }

/* hero stats: four selling points with icons, a glow and a count-up when they come into view */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 0; padding-top: 0; margin-top: 34px; }
.stats .stat { position: relative; padding: 14px 14px 13px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(46,196,201,.13), rgba(43,79,201,.10) 60%, rgba(255,107,91,.06));
  border: 1px solid rgba(127,227,227,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.stats .stat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.10) 50%, transparent 65%);
  transform: translateX(-120%); }
.stats.counted .stat::after { animation: statShine 1.6s .2s ease-out both; }
.stats .stat:nth-child(2)::after { animation-delay: .35s; } .stats .stat:nth-child(3)::after { animation-delay: .5s; } .stats .stat:nth-child(4)::after { animation-delay: .65s; }
@keyframes statShine { to { transform: translateX(120%); } }
.stat-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; margin-bottom: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(255,179,71,.35), rgba(255,107,91,.15)); box-shadow: 0 0 18px rgba(255,138,61,.25); }
.stat:nth-child(even) .stat-ic { background: radial-gradient(circle at 30% 30%, rgba(127,227,227,.38), rgba(46,196,201,.12)); box-shadow: 0 0 18px rgba(46,196,201,.28); }
.stat-ic svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stats dt { font: 700 clamp(24px, 2.3vw, 32px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap;
  background: linear-gradient(90deg, #ffffff, #ffe2b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(even) dt { background-image: linear-gradient(90deg, #ffffff, #bff3f3); }
.stats dd { margin: 7px 0 0; color: var(--soft); font-size: 13px; line-height: 1.3; }
.count { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; margin-left: auto; margin-right: auto; text-align: left; } }
@media (prefers-reduced-motion: reduce) { .stats.counted .stat::after { animation: none; } }

/* anchor jumps land below the fixed header */
html { scroll-padding-top: 84px; }
#get { scroll-margin-top: 84px; }

/* language menu: every language, named in itself */
.langs { position: relative; }
.langs > summary { list-style: none; cursor: pointer; user-select: none; display: inline-flex; align-items: center; gap: 6px; }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.langs[open] > summary { color: var(--fg); border-color: rgba(255,255,255,.3); }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; margin: 0; padding: 6px; list-style: none; min-width: 168px;
  background: rgba(15, 33, 80, .96); border: 1px solid rgba(127, 227, 227, .22); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.langs li a { display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none; color: var(--fg); font: 500 14px var(--sans); }
.langs li a:hover, .langs li a:focus-visible { background: rgba(127, 227, 227, .12); }
.langs li a[aria-current] { color: var(--teal2, #7fe3e3); font-weight: 600; }
.langs li a[aria-current]::after { content: " ✓"; }
.foot .langs ul { bottom: calc(100% + 8px); top: auto; left: 0; right: auto; }

/* what you can find: countries, capitals, cities, regions, rivers, peaks */
.finds { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: -14px 0 30px; max-width: 34em; }
.finds li { font: 600 13px var(--sans); letter-spacing: .01em; color: #e9f7f7; padding: 6px 12px; border-radius: 99px;
  background: linear-gradient(135deg, rgba(46,196,201,.18), rgba(43,79,201,.16)); border: 1px solid rgba(127,227,227,.28); }
.finds li:nth-child(n+4) { background: linear-gradient(135deg, rgba(255,154,77,.2), rgba(255,107,91,.14)); border-color: rgba(255,179,107,.35); color: #fff1e3; }
@media (max-width: 900px) { .finds { justify-content: center; margin-inline: auto; } }
