:root {
  --bg: #ffffff;
  --soft: #f5f5f3;
  --ink: #0e0e0e;
  --muted: #6e6e73;
  --line: #e7e7e4;
  --accent: #3d5afe;
  --navy: #12243f;
  --volt: #d4f53c;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1200px;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 11vw, 140px) var(--pad); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 14px var(--pad); background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.logo { font-weight: 600; font-size: 22px; letter-spacing: -.04em; }
.logo span, .accent { color: var(--accent); }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); font-size: 15px; font-weight: 500; }
.nav nav a:not(.nav-cta) { color: var(--muted); transition: color .2s; }
.nav nav a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta { padding: 8px 16px; border-radius: 99px; background: var(--ink); color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 14px 24px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 500; transition: transform .3s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn-lg { font-size: clamp(18px, 2.2vw, 24px); padding: 18px 32px; }
.link { font-weight: 500; color: var(--muted); transition: color .2s; }
.link:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; min-height: calc(100svh - 64px); padding-top: clamp(40px, 6vw, 72px); }
.pill { display: inline-block; font-size: 14px; font-weight: 500; color: var(--muted); padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; margin-bottom: 28px; }
h1 { font-size: clamp(48px, 7.4vw, 104px); font-weight: 600; line-height: .98; letter-spacing: -.05em; }
.hero-sub { margin-top: 24px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 36px; }

/* Entrance animations */
.words .w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.3em); animation: wordIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + 150ms); }
@keyframes wordIn { to { opacity: 1; filter: none; transform: none; } }
.fade { opacity: 0; transform: translateY(16px); animation: fadeIn 1s var(--ease) forwards; animation-delay: calc(var(--d) * 90ms + 100ms); }
@keyframes fadeIn { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Hero app tiles */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; border-radius: 40px; background: var(--soft); }
.tile { position: absolute; width: 38%; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .3); animation: float 7s ease-in-out infinite; }
.tile svg, .app-icon svg { width: 46%; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.t1 { top: 12%; left: 10%; background: var(--navy); color: var(--volt); transform: rotate(-8deg); }
.t2 { top: 26%; right: 9%; background: #ffb547; color: #3b2400; animation-delay: -2.5s; }
.t3 { bottom: 14%; left: 30%; background: var(--accent); color: #fff; animation-delay: -5s; }
.soon { position: absolute; left: 50%; bottom: -18px; translate: -50% 0; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 500; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .2); }
@keyframes float { 50% { translate: 0 -10px; } }

/* Sections */
.eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 12px; }
.section-head h2, .contact h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 600; letter-spacing: -.04em; line-height: 1.02; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* Apps */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--soft); transition: transform .5s var(--ease); }
.app:hover { transform: translateY(-4px); }
.app:nth-child(2) { transition-delay: .08s; }
.app:nth-child(3) { transition-delay: .16s; }
.app-icon { width: 72px; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; margin-bottom: 20px; }
.i1 { background: var(--navy); color: var(--volt); }
.i2 { background: #ffb547; color: #3b2400; }
.i3 { background: var(--accent); color: #fff; }
.app h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.status { font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 99px; background: #ebebe8; color: var(--muted); }
.app-desc { color: var(--muted); }

/* About */
.about { border-top: 1px solid var(--line); }
.statement { font-size: clamp(26px, 3.4vw, 44px); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; max-width: 26ch; }
.statement em { font-style: normal; color: var(--accent); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px); }
.values li { padding-top: 20px; border-top: 1px solid var(--ink); }
.values li:nth-child(2) { transition-delay: .08s; }
.values li:nth-child(3) { transition-delay: .16s; }
.values h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.values p { color: var(--muted); }

/* Contact */
.contact { text-align: center; display: grid; justify-items: center; gap: 16px; }
.contact > p { color: var(--muted); font-size: 19px; margin-bottom: 16px; }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px var(--pad) 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* Mobile */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .values, .app-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin-bottom: 24px; }
  .nav nav a[href="#about"] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade, .words .w { opacity: 1; transform: none; filter: none; }
}
