/* Veer site. Black and lime, system type, one accent. Motion only where it explains, off for reduced motion. */
:root {
  --bg: #000;
  --raised: #111113;
  --raised-2: #1a1a1d;
  --line: rgba(245, 245, 247, .1);
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #86868b;
  --lime: #c6f64a;
  --ink: #121314;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r-control: 980px;
  --r-card: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 48px); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--lime); color: var(--ink); padding: 8px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; border-radius: 7px; }
.brand.small svg { width: 24px; height: 24px; border-radius: 6px; }
.nav nav { display: flex; align-items: center; gap: 24px; }
.nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav .links a { color: var(--text-2); }
.nav .links a:hover { color: var(--text); text-decoration: none; }
.langs { gap: 4px !important; }
.langs a, .langs span { display: inline-block; padding: 4px 8px; border-radius: 8px; color: var(--text-3); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.langs span { color: var(--text); background: var(--raised-2); }
.langs a:hover { color: var(--text); text-decoration: none; }

/* Store badge */
.store { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--r-control); background: var(--lime); color: var(--ink); font-weight: 600; font-size: 15px; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.store:hover { text-decoration: none; background: #d4fa6e; }
.store:active { transform: scale(.97); }
.store.soon { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(245, 245, 247, .28); cursor: default; }
.store.big { height: 52px; padding: 0 28px; font-size: 17px; }
.text-link { color: var(--lime); font-size: 17px; }

/* Phone: a bezel that borders the screen. The screen keeps the screenshot's aspect ratio (iPhone 6.9"),
   corner radii scale with the phone's own width (container units). */
.phone { --w: 300px; width: var(--w); padding: calc(var(--w) * 0.034); border-radius: calc(var(--w) * 0.170); position: relative;
  background: linear-gradient(145deg, #3a3a3e 0%, #1b1b1d 18%, #0c0c0d 50%, #1b1b1d 82%, #2e2e31 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 0 0 calc(var(--w) * 0.024) #050506, 0 40px 90px -20px rgba(0, 0, 0, .85); }
.phone::before, .phone::after { content: ""; position: absolute; left: calc(var(--w) * -0.011); width: calc(var(--w) * 0.014); border-radius: calc(var(--w) * 0.010) 0 0 calc(var(--w) * 0.010); background: #26262a; }
.phone::before { top: 22%; height: 7%; }
.phone::after { top: 32%; height: 12%; }
.screen { position: relative; aspect-ratio: 1320 / 2868; border-radius: calc(var(--w) * 0.136); overflow: hidden; background: #f2f2f7; isolation: isolate; }
.screen img, .screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.island { position: absolute; top: 2.6%; left: 50%; width: 30%; height: 3.9%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 2; }

/* Hero: big type, then the phone rising out of perspective as you scroll */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 0; text-align: center; --p: 0; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(44px, 6.2vw, 88px); letter-spacing: -.045em; line-height: 1.03; max-width: 15ch; margin-inline: auto; }
.hero .lede { margin: 24px auto 0; font-size: clamp(18px, 1.6vw, 22px); color: var(--text-2); max-width: 42ch; line-height: 1.45; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 32px; }
.stage { position: relative; height: clamp(560px, 64vw, 860px); margin-top: clamp(36px, 4vw, 56px); perspective: 1800px; }
.glow { position: absolute; left: 50%; top: 4%; width: min(1100px, 120vw); aspect-ratio: 1.6; transform: translateX(-50%) scale(calc(.8 + var(--p) * .3)); opacity: calc(.55 + var(--p) * .45);
  background: radial-gradient(closest-side, rgba(198, 246, 74, .55), rgba(198, 246, 74, .16) 48%, transparent 75%); filter: blur(24px); pointer-events: none; }
.stage .phone { position: absolute; left: 50%; top: 0; }
.hero-phone { --w: clamp(270px, 27vw, 380px); z-index: 2; transform-origin: 50% 0;
  transform: translateX(-50%) translateY(calc((1 - var(--p)) * 60px)) rotateX(calc((1 - var(--p)) * 26deg)) scale(calc(.9 + var(--p) * .1)); }
.side { --w: clamp(220px, 21vw, 300px); z-index: 1; top: 12%; opacity: calc(.35 + var(--p) * .65); }
.side.left { transform: translateX(calc(-50% - var(--w) * (.62 + var(--p) * .32))) rotate(calc(-9deg + var(--p) * 4deg)) scale(.92); }
.side.right { transform: translateX(calc(-50% + var(--w) * (.62 + var(--p) * .32))) rotate(calc(9deg - var(--p) * 4deg)) scale(.92); }
.stage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 3; pointer-events: none; }

/* Facts */
.facts { border-block: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts div { padding: 32px 24px 32px 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dd { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.facts dt { color: var(--text-2); font-size: 15px; }


/* Tour: the phone stays put while the text scrolls; its screen changes with each step */
.tour { position: relative; padding: clamp(40px, 6vw, 80px) 0; }
.tour-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); }
.step { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.step.on { opacity: 1; }
.step-n { font-size: 15px; font-weight: 500; color: var(--lime); font-variant-numeric: tabular-nums; }
.step h2 { margin-top: 12px; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: -.035em; }
.step p { margin-top: 20px; font-size: clamp(18px, 1.5vw, 22px); color: var(--text-2); max-width: 30ch; line-height: 1.5; }
.step-phone { display: none; }
.tour-stick { position: sticky; top: calc(50vh - min(42vh, 380px)); height: min(84vh, 760px); display: flex; justify-content: center; align-items: center; }
.tour-phone { --w: min(340px, calc(84vh * .44)); }
.tour-phone .layer { opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.tour-phone .layer.on { opacity: 1; transform: none; }
.road-line { position: absolute; left: 50%; top: -20%; bottom: -20%; width: 6px; margin-left: -3px; z-index: -1; opacity: .5;
  background: repeating-linear-gradient(to bottom, var(--lime) 0 32px, transparent 32px 64px); background-position: 0 calc(var(--road, 0) * 1px);
  -webkit-mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(transparent, #000 25%, #000 75%, transparent); }

/* Basics */
.basics, .pricing, .faq, .from-blog { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.basics h2, .pricing h2, .faq h2, .from-blog h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; }
.basics ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.basics li { background: var(--raised); border-radius: var(--r-card); padding: 28px; }
.basics h3 { font-size: 21px; }
.basics li p { margin-top: 8px; color: var(--text-2); }

/* Pricing */
.plans { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: var(--raised); border-radius: var(--r-card); padding: 32px; }
.plan.full { background: var(--lime); color: var(--ink); }
.plan h3 { font-size: 21px; }
.plan .price { margin: 12px 0 16px; font-size: 44px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan p:last-child { color: var(--text-2); }
.plan.full p:last-child { color: rgba(18, 19, 20, .78); }
.note { margin-top: 20px; color: var(--text-3); font-size: 15px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); max-width: 820px; }
.faq h2 + details { margin-top: 32px; border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3, .support summary h2 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.5px solid var(--text-2); border-bottom: 1.5px solid var(--text-2); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.answer { padding: 0 0 24px; color: var(--text-2); max-width: 62ch; }

/* Cards */
.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 28px; background: var(--raised); border-radius: var(--r-card); color: var(--text); transition: background-color .2s var(--ease); }
.card a:hover { text-decoration: none; background: var(--raised-2); }
.card .meta { color: var(--text-3); font-size: 13px; }
.card .ttl { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.card .dsc { color: var(--text-2); font-size: 15px; }
.from-blog .text-link { display: inline-block; margin-top: 28px; }

/* Final */
.final { padding: clamp(80px, 12vw, 160px) 0; border-top: 1px solid var(--line); text-align: center; }
.final-in { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.final-mark svg { width: 96px; height: 96px; border-radius: 22px; }
.final h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.035em; max-width: 16ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: flex-end; }
.foot a:not(.brand) { color: var(--text-2); }
.foot a:not(.brand):hover { color: var(--text); }
.fine { grid-column: 1 / -1; color: var(--text-3); font-size: 13px; }

/* Content pages */
.page-head { padding: clamp(48px, 8vw, 96px) 0 32px; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.035em; }
.page-head .lede, .post-head .lede { margin-top: 16px; font-size: 21px; color: var(--text-2); line-height: 1.45; }
.meta { margin-top: 12px; color: var(--text-3); font-size: 14px; }
.mail { font-weight: 500; }
.support .faq, .support > .faq { padding: 0; border: 0; }
.support details:first-child { border-top: 1px solid var(--line); }
.prose { font-size: 18px; line-height: 1.65; color: #e3e3e6; padding-bottom: 64px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: 30px; letter-spacing: -.025em; color: var(--text); scroll-margin-top: 72px; }
.prose h3 { margin-top: 1.8em; font-size: 21px; letter-spacing: -.015em; color: var(--text); scroll-margin-top: 72px; }
.prose .lede { font-size: 21px; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: 16px 20px; background: var(--raised); border-radius: 14px; color: var(--text); }
.prose code { font-size: .9em; }
.table { overflow-x: auto; margin-inline: -4px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text-2); font-weight: 500; }
.prose img { border-radius: 12px; }

/* Post */
.post { width: min(720px, 100% - 48px); }
.crumbs { padding-top: 40px; font-size: 14px; }
.post-head { padding: 16px 0 32px; }
.post-head h1 { font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -.035em; }
.toc { background: var(--raised); border-radius: 16px; padding: 20px 24px; margin-bottom: 40px; font-size: 15px; }
.toc p { color: var(--text-3); font-size: 13px; }
.toc ul { margin: 8px 0 0; padding: 0; list-style: none; }
.toc li + li { margin-top: 4px; }
.toc a { color: var(--text); }
.post-app { background: var(--raised); border-radius: var(--r-card); padding: 28px; display: grid; gap: 16px; justify-items: start; }
.post-app p { color: var(--text-2); }
.related { padding: 64px 0 24px; }
.related h2 { font-size: 28px; }
.related .cards { grid-template-columns: 1fr; margin-top: 20px; }
.nf .ru { margin-top: 32px; color: var(--text-2); }

/* Motion: content is visible without JS; with JS, sections rise in once. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-copy > * { animation: rise .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; }
.js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .stage { animation: rise 1.2s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero-copy > *, .js .stage { opacity: 1 !important; transform: none; animation: none !important; transition: none !important; }
  .hero { --p: 1 !important; }
  .step { opacity: 1; }
  .tour-phone .layer { transition: none; }
}

/* Small screens */
@media (max-width: 900px) {
  .tour-in { grid-template-columns: 1fr; }
  .tour-stick { display: none; }
  .step { min-height: 0; opacity: 1; padding: 48px 0; }
  .step-phone { display: flex; justify-content: center; margin-top: 40px; }
  .step-phone .phone { --w: min(68vw, 300px); }
  .stage { height: clamp(520px, 150vw, 700px); }
  .hero-phone { --w: min(64vw, 300px); }
  .side { --w: min(50vw, 230px); }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .basics ul, .plans, .cards { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot ul { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .nav .links { display: none; }
  .wrap, .narrow, .post { width: calc(100% - 40px); }
  .facts div { padding: 24px 16px 24px 0; }
  .facts div + div { padding-left: 16px; }
  .facts div:nth-child(3) { padding-left: 0; }
  .plan, .basics li, .card a { padding: 24px; }
}

/* Sign figures in posts */
.prose .signs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.prose .signs figure { margin: 0; background: var(--raised); border-radius: 16px; padding: 20px; display: grid; gap: 12px; align-content: start; }
.prose .signs img { width: 72px; height: 72px; object-fit: contain; border-radius: 0; }
.prose .signs figcaption { font-size: 14px; line-height: 1.45; color: var(--text-2); }
.prose .credit { font-size: 13px; color: var(--text-3); }
.prose .credit a { color: var(--text-2); }
.tour-stick::before { content: ""; position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); z-index: -2;
  background: radial-gradient(closest-side, rgba(198, 246, 74, .22), rgba(198, 246, 74, .06) 55%, transparent 75%); pointer-events: none; }
.final { position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 600px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(198, 246, 74, .18), transparent 70%); pointer-events: none; }
.final-in { position: relative; }
.road-line { opacity: .8; }
.facts dd { white-space: nowrap; }
@media (max-width: 520px) { .facts dd { font-size: 28px; } }
