/* SkyMonkey Labs: shared by every page. Each app sets its accent with a class on <body> (or on its band on the home page);
   the app's own style.css holds only what its pages add. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #fff;
  --mist: #f5f6f8;
  --ink: #16181d;
  --text: #2a2d34;
  --muted: #5c6370;
  --line: #e4e6eb;
  --line-2: #d3d7de;
  /* the studio's own accent is ink; each app replaces these four */
  --accent: #16181d;
  --accent-bright: #16181d;
  --accent-tint: #eef0f3;
  --glow: rgba(22, 24, 29, .1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1168px;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(16, 18, 24, .04), 0 8px 28px rgba(16, 18, 24, .06);
  --shadow-lg: 0 2px 6px rgba(16, 18, 24, .05), 0 28px 60px -16px rgba(16, 18, 24, .22), 0 64px 120px -48px rgba(16, 18, 24, .26);
}
/* one accent per app, taken from its icon; --accent passes AA as text on white, --mist and --accent-tint */
.t-vastpeek { --accent: #0369a1; --accent-bright: #38bdf8; --accent-tint: #eaf5fb; --glow: rgba(56, 189, 248, .30); }
.t-fincalc  { --accent: #9a5b00; --accent-bright: #f0b429; --accent-tint: #fdf5e6; --glow: rgba(240, 180, 41, .28); }
.t-vastgeo  { --accent: #3346c8; --accent-bright: #6d7cf0; --accent-tint: #eef0fc; --glow: rgba(99, 115, 240, .26); }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; text-wrap: pretty; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: color-mix(in srgb, var(--accent-bright) 28%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* an iOS icon is a full square: round it as the system does, and scale it to the body of a macOS icon, which carries its own shape and margin */
.ios { border-radius: 22.5%; scale: .805; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(16, 18, 24, .07);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.topbar nav { display: flex; gap: 2px; }
.topbar nav a { padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s, background .2s; }
.topbar nav a:hover { color: var(--ink); background: rgba(16, 18, 24, .05); }
.topbar nav a[aria-current="page"] { color: var(--ink); background: rgba(16, 18, 24, .07); }

/* ---------- buttons, links, pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 500; text-decoration: none; transition: background .2s, box-shadow .2s; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #000; }
.btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(16, 18, 24, .04); }
.more { font-size: 17px; font-weight: 500; color: var(--accent); text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.status { display: inline-block; padding: 3px 11px; border-radius: 999px; background: var(--accent-tint); font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--accent); white-space: nowrap; vertical-align: middle; }
.formats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; }
.formats li { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; color: var(--ink); }

/* ---------- an app's page: hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 104px); text-align: center; }
.hero-copy { max-width: 900px; }
.app-icon { display: block; width: 112px; height: 112px; margin: 0 auto 22px; filter: drop-shadow(0 18px 28px rgba(16, 18, 24, .18)); }
.hero h1 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--accent); }
.tagline { margin-top: 10px; font-size: clamp(40px, 7.2vw, 88px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; color: var(--ink); text-wrap: balance; }
.desc { max-width: 640px; margin: 24px auto 0; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); text-wrap: balance; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 10px 20px; border-radius: 999px; background: var(--accent-tint); font-size: 15px; font-weight: 500; color: var(--accent); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-bright) 25%, transparent); }
.meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
/* the screenshot stage: a soft glow in the app's colour behind the window */
.stage { position: relative; isolation: isolate; max-width: 1280px; margin: clamp(48px, 7vw, 88px) auto 0; padding: 0 24px clamp(72px, 10vw, 128px); }
.stage::before { content: ""; position: absolute; z-index: -1; inset: 8% 6% 18%; border-radius: 50%; background: var(--glow); filter: blur(70px); }
.shot { display: block; width: 100%; height: auto; }
/* screenshots with square corners get their rounding and depth here; others carry their own shadow */
.framed { border-radius: clamp(8px, 1.3vw, 16px); box-shadow: 0 0 0 1px rgba(16, 18, 24, .06), var(--shadow-lg); }
.hero-copy > *, .hero .stage { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(n+5) { animation-delay: .24s; }
.hero .stage { animation-duration: 1.4s; animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- sections ---------- */
.section { padding: clamp(88px, 11vw, 152px) 0; }
.alt { background: var(--mist); }
.section-head { max-width: 860px; margin: 0 auto; text-align: center; }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: -.005em; color: var(--accent); }
.section h2 { margin-top: 10px; font-size: clamp(36px, 5.6vw, 64px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; }
.lead { max-width: 720px; margin: 22px auto 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); }
.lead b { font-weight: 500; color: var(--ink); }
.note, .text { max-width: 760px; margin: 18px auto 0; color: var(--muted); }
.note { font-size: 14px; }
.text b { font-weight: 600; color: var(--ink); }
.note a, .text a, .cards a { color: var(--accent); text-underline-offset: 3px; }
.sub { margin: 56px 0 16px; font-size: 15px; font-weight: 600; color: var(--muted); text-align: center; }
.group { margin-top: clamp(64px, 8vw, 96px); font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; text-align: center; }

/* cards: features, and the timings as big numbers */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); list-style: none; }
.cards li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-size: 15px; line-height: 1.55; color: var(--muted); }
.alt .cards li { border-color: transparent; box-shadow: var(--shadow); }
.cards b { display: block; margin-bottom: 6px; font-size: 17px; font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.cards:not(.stats) li::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 20px; border-radius: 2px; background: var(--accent-bright); }
.stats .num { display: block; margin-bottom: 16px; font-size: clamp(44px, 4.6vw, 60px); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.num small { margin-left: .06em; font-size: .52em; font-weight: 500; letter-spacing: -.02em; color: var(--muted); }
/* the first number leads: two columns by two rows, in the app's colour */
.bento li:first-child { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; min-height: 340px; padding: 36px; background: radial-gradient(120% 90% at 0% 0%, var(--accent-tint), var(--paper) 70%); }
.bento li:first-child .num { font-size: clamp(80px, 12vw, 168px); letter-spacing: -.06em; color: var(--accent); }
.bento li:first-child .num small { color: var(--accent); }
.bento li:first-child b { margin-top: auto; font-size: 22px; letter-spacing: -.02em; }
/* three big numbers in a row, without cards */
.bignums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: clamp(56px, 8vw, 104px) auto 0; list-style: none; text-align: center; font-size: 15px; color: var(--muted); }
.bignums .num { display: block; font-size: clamp(56px, 7vw, 96px); font-weight: 600; line-height: 1; letter-spacing: -.055em; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bignums .num small { color: var(--accent); }
.bignums b { display: block; margin: 16px 0 2px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
/* VastGeo's two windows, overlapping a little; their shadows are in the images */
.duo .shot { width: 88%; }
.duo .shot + .shot { position: relative; margin: -5% 0 0 auto; }

/* ---------- support and privacy pages ---------- */
.doc-page { background: linear-gradient(var(--accent-tint), var(--paper) 460px) no-repeat; }
.doc-page .topbar { background: rgba(255, 255, 255, .6); }
.doc { max-width: 720px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) 0 clamp(80px, 10vw, 136px); }
.doc h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; }
.doc .lead { margin: 16px 0 40px; font-size: 19px; }
.doc h2 { margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 24px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.doc h3 { margin: 36px 0 8px; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.012em; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 14px; }
.doc ul { padding-left: 22px; }
.doc li { padding-left: 4px; }
.doc li + li { margin-top: 8px; }
.doc li::marker { color: var(--accent); }
.doc a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.doc a:hover { text-decoration-color: currentColor; }
.box { margin: 8px 0 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.box h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.email { font-weight: 600; color: var(--accent); user-select: all; overflow-wrap: anywhere; }
.box .email { font-size: clamp(18px, 2.4vw, 22px); letter-spacing: -.015em; }
.muted { color: var(--muted); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--mist); font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 36px; padding-bottom: 44px; }
.family { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.family a { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--ink); text-decoration: none; }
.family img { width: 24px; height: 24px; }
.family a:hover, .family a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- calm scroll reveal: site.js adds .in as each block comes into view; without JS or with reduced motion, everything simply shows ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal, .js .stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal.in, .js .stagger.in > * { opacity: 1; transform: none; }
  .stagger > :nth-child(2) { transition-delay: .07s; }
  .stagger > :nth-child(3) { transition-delay: .14s; }
  .stagger > :nth-child(4) { transition-delay: .21s; }
  .stagger > :nth-child(5) { transition-delay: .28s; }
  .stagger > :nth-child(n+6) { transition-delay: .35s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento li:first-child { grid-row: auto; min-height: 280px; }
  .bento li:last-child:nth-child(even) { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .topbar nav a { padding: 6px 10px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cards li { padding: 24px; }
  .bento li:first-child, .bento li:last-child:nth-child(even) { grid-column: auto; }
  .bento li:first-child { min-height: 0; padding: 28px 24px; }
  .bento li:first-child .num { margin-bottom: 40px; }
  .app-icon { width: 88px; height: 88px; }
  .bignums { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .duo .shot { width: 94%; }
  .stage { padding-left: 12px; padding-right: 12px; }
  .site-foot .wrap { flex-direction: column; align-items: flex-start; }
}
@media (forced-colors: active) {
  .badge::before { forced-color-adjust: none; }
}
main p a { overflow-wrap: anywhere; } /* long support URLs on the privacy pages overflow phones otherwise */
