/* Revoa front page. Neutral near-black hero, quiet light sections, gold used sparingly.
   Brand golds: Antique #B58A42, Champagne #E5B96E, Royal #C99A50. */
:root {
  --ink: #0a0a0b;            /* hero */
  --ink-text: #f5f5f7;
  --ink-muted: #a1a1a6;
  --gold: #e5b96e;
  --gold-deep: #c99a50;
  --page: #f5f5f7;           /* sections after the hero */
  --page-alt: #ffffff;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #5f5f64;
  --hair: rgb(0 0 0 / 0.08);
  --accent-text: #7a5a1e;    /* gold dark enough to read on light */
  --soft-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 32px rgb(0 0 0 / 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* One art direction in both light and dark mode: a near-black hero over light sections. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text);
  font: 400 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 680px; text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* ------------------------------------------------------------- buttons */
.button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  font-weight: 500; font-size: 16px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease), filter .2s var(--ease), transform .2s var(--ease); }
.button.small { padding: 8px 16px; font-size: 14px; }
.button.gold { background: linear-gradient(180deg, #ecc67f, #cf9f52); color: #1d1608;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 6px 20px rgb(201 154 80 / 0.22); }
.button.gold:hover { filter: brightness(1.06); }
.button.ghost { color: var(--ink-text); border-color: rgb(255 255 255 / 0.28); background: rgb(255 255 255 / 0.03); }
.button.ghost:hover { border-color: rgb(255 255 255 / 0.5); background: rgb(255 255 255 / 0.08); }
.button .arrow { transition: transform .2s var(--ease); }
.button:hover .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------------- hero */
.stage { position: relative; background: var(--ink); color: var(--ink-text); overflow: hidden; isolation: isolate; }
.stage::before { /* a soft warm light from the upper right */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 78% 30%, rgb(229 185 110 / 0.16), transparent 70%),
    radial-gradient(40% 40% at 12% 0%, rgb(255 255 255 / 0.05), transparent 70%); }
.top { position: relative; z-index: 3; }
.bar { display: flex; align-items: center; gap: 32px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: block; flex: none; line-height: 0; border-radius: 8px; }
.logo-art { width: 164px; height: auto; display: block; overflow: visible; }
nav { display: flex; gap: 6px; flex: 1; justify-content: center; }
.navlink { color: var(--ink-muted); text-decoration: none; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .2s var(--ease); }
.navlink:hover { color: var(--ink-text); }
.cta { display: flex; gap: 10px; align-items: center; }

.hero { position: relative; padding: 64px 0 176px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; position: relative; z-index: 2; }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 18px; }
h1 { font-size: clamp(40px, 4.8vw, 62px); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.gilt { display: block; color: var(--gold);
  background: linear-gradient(100deg, #c99a50 0%, #f3d59a 45%, #d7a758 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lede { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: #c7c7cc; max-width: 30em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* A slim laptop drawn in CSS. The screen keeps a 16:10 shape. */
.device { position: relative; filter: drop-shadow(0 18px 28px rgb(0 0 0 / 0.5)); }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 16px 16px 4px 4px; overflow: hidden;
  background: #111113; border: 1px solid rgb(255 255 255 / 0.14); box-shadow: inset 0 0 0 7px #050506; }
.screen > * { position: absolute; inset: 7px; border-radius: 9px 9px 0 0; }
.blank { display: grid; place-items: center;
  background: radial-gradient(90% 70% at 70% 0%, rgb(229 185 110 / 0.1), transparent 70%), linear-gradient(180deg, #1c1c1e, #131314); }
.blank img { opacity: 0.5; width: 72px; height: auto; }
.shot { background: url(app-dashboard.png) top left / cover no-repeat; }
.base { height: 12px; margin: 0 -5%; border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #d4d4d8, #8e8e93 55%, #55555a); position: relative; }
.base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 4px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: rgb(0 0 0 / 0.28); }

/* The curved line of light across the foot of the hero, fading into the page below. */
.sweep { position: absolute; left: -20%; right: -20%; bottom: -330px; height: 460px; border-radius: 50%; z-index: 1; pointer-events: none;
  background: var(--page);
  box-shadow: 0 -1px 0 rgb(243 213 154 / 0.75), 0 -10px 30px rgb(229 185 110 / 0.3), 0 -40px 110px rgb(229 185 110 / 0.16); }

/* ------------------------------------------------------- feature band */
.features { position: relative; z-index: 2; padding: 6px 0 84px; background: var(--page); }
.quiet { text-align: center; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin: 0 auto 34px; max-width: none; }
.feature-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature-row li { padding: 6px 22px; text-align: center; border-left: 1px solid var(--hair); }
.feature-row li:first-child { border-left: 0; }
.feature-row svg { width: 34px; height: 34px; fill: none; stroke: var(--text); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.feature-row h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 12px 0 6px; }
.feature-row p { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ------------------------------------------------------------ sections */
.band { padding: 104px 0; background: var(--page-alt); }
.band.alt { background: var(--page); }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; max-width: 18em; }
.sub { margin-top: 18px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 36em; }
.narrow h2, .narrow .sub { margin-left: auto; margin-right: auto; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.012em; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 52px; }
.trio li, .stages article { background: var(--card); border-radius: 22px; padding: 28px; box-shadow: var(--soft-shadow); border: 1px solid var(--hair); }
.band:not(.alt) .trio li, .band:not(.alt) .stages article { background: var(--page); box-shadow: none; }
.trio p { margin-top: 8px; color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.steps { display: grid; gap: 14px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--hair); border-radius: 20px; padding: 22px 24px; box-shadow: var(--soft-shadow); }
.steps .n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600;
  color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--gold-deep) 55%, transparent); }
.steps p { margin-top: 4px; color: var(--muted); font-size: 16px; }

.stages { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; margin-top: 52px; align-items: start; }
.tag { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tag.now { color: #1a7f4b; } .tag.dev { color: var(--accent-text); } .tag.next { color: var(--muted); }
.stages li { padding: 9px 0; border-top: 1px solid var(--hair); font-size: 16px; }
.stages li:first-child { border-top: 0; padding-top: 0; }
.fine { margin-top: 30px; color: var(--muted); font-size: 15px; }

.contact { text-align: center; }
.contact .mark { width: 56px; height: auto; margin-bottom: 22px; }
.contact .button { margin-top: 30px; }

footer { background: var(--ink); color: var(--ink-muted); font-size: 14px; }
.foot { display: flex; align-items: center; gap: 10px; padding-top: 28px; padding-bottom: 28px; }

/* ------------------------------------------------------ logo animation
   Plays once on load. Every element's resting style is its finished state, so
   if animations never run the logo is simply there. */
.logo-art .ribbon, .logo-art .letters path { transform-box: fill-box; transform-origin: center; }
.logo-art .sheen { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .logo-art .ribbon { animation: ribbon-in 0.9s var(--ease) both; }
  .logo-art .r-left { --dx: -190px; --dy: 0px; animation-delay: 0.05s; }
  .logo-art .r-top { --dx: 0px; --dy: -190px; animation-delay: 0.15s; }
  .logo-art .r-right { --dx: 190px; --dy: 0px; animation-delay: 0.25s; }
  .logo-art .r-bottom { --dx: 0px; --dy: 190px; animation-delay: 0.35s; }
  .logo-art .letters path { animation: letter-in 0.8s var(--ease) both; }
  .logo-art .letters path:nth-child(1) { animation-delay: 0.45s; }
  .logo-art .letters path:nth-child(2) { animation-delay: 0.52s; }
  .logo-art .letters path:nth-child(3) { animation-delay: 0.59s; }
  .logo-art .letters path:nth-child(4) { animation-delay: 0.66s; }
  .logo-art .letters path:nth-child(5) { animation-delay: 0.73s; }
  .logo-art .sheen { animation: sheen 0.9s ease-in-out 0.95s both; }

  .hero-copy > * { animation: rise 0.9s var(--ease) both; }
  .hero-copy > :nth-child(1) { animation-delay: 0.25s; }
  .hero-copy > :nth-child(2) { animation-delay: 0.35s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.47s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.59s; }
  .device { animation: rise 1.1s var(--ease) 0.5s both; }
}
@keyframes ribbon-in { from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.82); } }
@keyframes letter-in { from { opacity: 0; transform: translateY(46px); } }
@keyframes sheen { 0% { opacity: 0; transform: skewX(-18deg) translateX(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: skewX(-18deg) translateX(1100px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* -------------------------------------------------------------- smaller */
@media (max-width: 980px) {
  .hero { padding: 48px 0 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .device { max-width: 620px; margin: 0 5%; }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
  .feature-row li:nth-child(odd) { border-left: 0; }
  .feature-row li:last-child { grid-column: 1 / -1; border-left: 0; }
  .trio, .stages, .split { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .band { padding: 76px 0; }
}
@media (max-width: 720px) {
  nav { display: none; }
  .bar { justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .logo-art { width: 132px; }
  .wrap { padding: 0 20px; }
  .actions .button { flex: 1 1 100%; justify-content: center; }
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row li { border-left: 0; }
  .sweep { bottom: -390px; }
}
@media (max-width: 420px) { .cta .demo { display: none; } }
