/* ============================================================
   Renvane — v3 styles  (Together AI–inspired design system)
   Alternating near-black (#010120) and white bands, a single
   brand gradient ribbon — Sunset (coral/rose/lilac) —
   the only decorative chrome, sentence-case Inter display vs.
   uppercase mono eyebrows/buttons, flat 4px cards w/ hairline
   borders, mint stat tiles, giant wordmark sign-off.
   The Future -> Inter 500; PP Neue Montreal Mono -> JetBrains Mono.
   ============================================================ */

:root {
  --ink: #000000;
  --on-primary: #ffffff;
  --body: #999999;
  --canvas: #ffffff;
  --canvas-dark: #010120;
  --surface-dark-soft: #313641;
  --hairline-dark: #26263a;
  --on-dark: #ffffff;

  --orange: #ff6a3d;
  --magenta: #f43f8e;
  --periwinkle: #c4b5fd;
  --mint: #ffe1ec;
  --hairline: #ebebeb;

  --grad: linear-gradient(100deg, var(--orange) 0%, var(--magenta) 52%, var(--periwinkle) 100%);

  --r-xs: 3.25px; --r-sm: 4px; --r-md: 8px; --r-full: 9999px;

  --s-sm: 8px; --s-md: 12px; --s-lg: 16px; --s-2xl: 24px; --s-3xl: 32px;
  --s-5xl: 48px; --s-section: 80px;

  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.3; letter-spacing: -0.01em;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* Mono uppercase eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--body);
  margin: 0 0 var(--s-lg);
}
.eyebrow.on-dark { color: var(--periwinkle); }

/* Gradient ribbon divider — the brand's one decoration, at large scale */
.ribbon-rule { height: 4px; width: 100%; background: var(--grad); border: 0; margin: 0; }

/* ---------- Buttons — uppercase mono ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-sm); border: 1px solid transparent;
  cursor: pointer; transition: opacity .16s ease, background-color .16s ease, transform .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); opacity: .88; }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-1px); opacity: .9; }
.btn-ghost-dark { background: var(--surface-dark-soft); color: #fff; }
.btn-ghost-dark:hover { background: #3c424f; }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(0,0,0,.14); }
.btn-outline:hover { border-color: rgba(0,0,0,.4); }

/* ---------- Announcement bar (thin black, very top) ---------- */
.announce {
  background: var(--canvas-dark); color: #fff;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; text-align: center;
  padding: 9px 16px;
}
.announce a { border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 1px; margin-left: 6px; }
.announce .tag { color: var(--periwinkle); }

/* ---------- Nav (light, on white hero) ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
/* Sunset-gradient accent on the "va" in renvane (nav, footer, big wordmark) */
.accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.muted { font-size: 15px; color: #555; }
.nav-links a.muted:hover { color: var(--ink); }
.nav .btn { padding: 11px 18px; }

/* ---------- Dark band base ---------- */
.band-dark { background: var(--canvas-dark); color: var(--on-dark); }

/* ---------- Hero (light, matching live together.ai) ---------- */
.hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  /* slight on-brand tint + a faint sunset glow behind the mark */
  background:
    radial-gradient(52% 64% at 80% 36%, rgba(244, 63, 142, 0.08) 0%, rgba(196, 181, 253, 0.05) 45%, transparent 72%),
    #fdf6f8;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 {
  font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; color: var(--ink);
  font-size: clamp(38px, 5.6vw, 64px); margin: 0 0 var(--s-2xl); max-width: 15ch;
}
.hero h1 .muted { color: var(--body); }
.hero-sub { font-size: clamp(16px, 2vw, 18px); line-height: 1.45; color: #555; max-width: 50ch; margin: 0 0 var(--s-3xl); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Glossy 3D gradient sculpture (SVG wrapper) — the brand's one decoration */
.ribbon-art { width: 100%; aspect-ratio: 1 / 1; max-width: 560px; margin-left: auto; filter: drop-shadow(0 30px 60px rgba(244,63,142,.18)); }
.ribbon-art svg, .ribbon-art img { width: 100%; height: 100%; display: block; }

/* ---------- Trust strip (white) ---------- */
.trust { padding: clamp(44px, 6vw, 64px) 0; border-bottom: 1px solid var(--hairline); }
.trust .eyebrow { display: block; text-align: center; margin-bottom: var(--s-3xl); }
.trust-row { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; }
.trust-row span { font-size: clamp(18px, 2.4vw, 26px); font-weight: 500; letter-spacing: -0.02em; color: #c4c4c4; }

/* ---------- Section scaffold ---------- */
.section { padding: var(--s-section) 0; }
.section-head { max-width: 64ch; margin-bottom: clamp(40px, 5vw, 56px); }
.section-head h2 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(30px, 4.2vw, 40px); margin: 0; }
.section-head p { font-size: 18px; line-height: 1.45; color: #555; margin: 16px 0 0; max-width: 56ch; }
.band-dark .section-head h2 { color: #fff; }
.band-dark .section-head p { color: rgba(255,255,255,.72); }

/* About pillars (white cards, hairline) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2xl); }
.pillar { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: var(--s-3xl); }
.pillar .n { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--body); }
.pillar h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 18px 0 10px; }
.pillar p { font-size: 15.5px; line-height: 1.5; color: #555; margin: 0; }

/* Stat tiles — each a soft tint of the sunset palette */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2xl); margin-top: var(--s-2xl); }
.stat { background: var(--mint); border-radius: var(--r-sm); padding: var(--s-3xl); }
/* Peach (orange) · Rose (magenta) · Lilac (periwinkle) — label echoes the tile hue */
.stat:nth-child(1) { background: #ffe6da; }
.stat:nth-child(2) { background: #ffe1ec; }
.stat:nth-child(3) { background: #ece7fe; }
.stat .k { font-size: clamp(28px, 3.4vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat .l { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 12px; }
.stat:nth-child(1) .l { color: #c2410c; }
.stat:nth-child(2) .l { color: #9d174d; }
.stat:nth-child(3) .l { color: #6d28d9; }

/* ---------- Solutions (white cards, gradient top-rule) ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2xl); }
.sol-card {
  position: relative; overflow: hidden;
  background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: var(--s-3xl); display: flex; flex-direction: column;
  transition: border-color .18s ease, transform .18s ease;
}
.sol-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
}
.sol-card:hover { border-color: #d8d8d8; transform: translateY(-2px); }
.sol-tag {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--body); margin: 6px 0 14px;
}
.sol-card h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 8px; }
.sol-by { font-size: 13.5px; color: var(--body); margin: 0 0 16px; }
.sol-problem { font-size: 15.5px; line-height: 1.55; color: #555; margin: 0 0 var(--s-2xl); }
.sol-build { border-top: 1px solid var(--hairline); padding-top: var(--s-lg); margin-bottom: var(--s-2xl); }
.sol-build-label {
  display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--body); margin-bottom: 8px;
}
.sol-build p { font-size: 15.5px; line-height: 1.55; color: #555; margin: 0; }
.sol-result { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 14px; color: #555; }
.sol-result .sol-result-k {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.01em; font-size: 13.5px;
  color: var(--ink); background: var(--mint); border-radius: var(--r-sm); padding: 6px 10px;
}

/* ---------- Testimonials (dark band, research-style cards) ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2xl); }
.t-card {
  background: var(--canvas-dark); border: 1px solid var(--hairline-dark); border-radius: var(--r-sm);
  padding: var(--s-2xl); display: flex; flex-direction: column;
}
.t-card { background: #0a0a1f; }
.t-sector { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--periwinkle); margin-bottom: 20px; }
.t-quote { font-size: 17px; line-height: 1.5; letter-spacing: -0.01em; color: #fff; margin: 0 0 24px; }
.t-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--hairline-dark); }
.t-name { font-weight: 500; color: #fff; font-size: 14px; }
.t-role { color: rgba(255,255,255,.55); font-size: 13px; margin-top: 4px; }

/* ---------- CTA (white) ---------- */
.cta { padding: clamp(72px, 9vw, 112px) 0; text-align: center; }
.cta h2 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.06; font-size: clamp(30px, 4.4vw, 44px); margin: 0 auto 16px; max-width: 18ch; }
.cta p { font-size: 18px; color: #555; max-width: 50ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.footer { padding: var(--s-section) 0 0; border-top: 1px solid var(--hairline); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: var(--s-5xl); }
.footer-tag { color: #555; font-size: 15px; margin: 12px 0 0; max-width: 38ch; }
.footer .brand { color: var(--ink); }
.footer-right { text-align: right; }
.footer-right .lbl { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--body); margin-bottom: 10px; }
.footer-right a { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.footer-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--body); }
/* Giant wordmark sign-off, tinted nearly into the canvas */
.wordmark { font-weight: 500; letter-spacing: -0.04em; line-height: 0.9; font-size: clamp(72px, 19vw, 280px); color: var(--hairline); padding-bottom: 12px; white-space: nowrap; overflow: hidden; }
.wordmark .d { color: #e0e0e0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ribbon-art { order: -1; max-width: 360px; margin: 0 auto; }
  .pillars, .stats, .t-grid, .sol-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-links a.muted { display: none; }
  .footer-right { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
