/* ==========================================================================
   Astutica — marketing site
   ========================================================================== */

:root {
  /* palette — pulled from the Welcome lockup + rooftop illustration */
  --cream: #FAF8F3;
  --paper: #FFFDF8;
  --linen: #F3EFE6;
  --sky: #C8EAF5;
  --sky-2: #9FD3EA;
  --sage: #E1EDC2;
  --sage-2: #C4DB8E;
  --leaf: #5E8C31;
  --blue: #005C99;
  --blue-2: #0A6FB0;
  --blue-deep: #06385E;
  --ink: #0C2236;
  --ink-2: #3B4D5E;
  --ink-3: #6B7B8A;
  --sun: #F6D39A;
  --bloom: #D9467A;
  --line: rgba(12, 34, 54, 0.09);
  --line-2: rgba(12, 34, 54, 0.14);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-1: 0 1px 1px rgba(12, 34, 54, .04), 0 2px 6px rgba(12, 34, 54, .04);
  --shadow-2: 0 1px 2px rgba(12, 34, 54, .05), 0 8px 24px -6px rgba(12, 34, 54, .10), 0 24px 48px -18px rgba(12, 34, 54, .12);
  --shadow-3: 0 2px 4px rgba(6, 56, 94, .06), 0 18px 40px -12px rgba(6, 56, 94, .22), 0 50px 100px -30px rgba(6, 56, 94, .28);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--sky); color: var(--blue-deep); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* film grain over everything — subtle tactile texture */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.13 0 0 0 0 0.21 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow--center::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--sky); }

.h2, .about__title, .cta__title, .vision__title, .hero__title {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.02; margin: 0;
}
.h2 { font-size: clamp(40px, 5.2vw, 72px); }
.h2 em, .about__title em, .cta__title em, .hero__title em { color: var(--blue); }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--blue); }
.link span { transition: transform .4s var(--ease); }
.link:hover span { transform: translateX(4px); }
.muted { color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 500; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  isolation: isolate; overflow: hidden;
  transition: box-shadow .45s var(--ease), background-color .3s, filter .45s var(--ease);
}
.btn::before { /* top highlight — gives buttons a pressed-glass layer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--dark { box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 16px -6px rgba(12,34,54,.5); }
.btn--dark:hover { box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 0 0 4px rgba(200,234,245,.55), 0 8px 26px -4px rgba(0,92,153,.45); }
.btn--blue {
  --bg: linear-gradient(180deg, #0B78BE, #005C99); background: var(--bg);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 10px 24px -8px rgba(0,92,153,.6);
}
.btn--blue:hover { filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 0 0 4px rgba(200,234,245,.6), 0 10px 32px -4px rgba(11,120,190,.55); }
.btn--ghost { --bg: rgba(255,255,255,.6); --fg: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset, var(--shadow-1); backdrop-filter: blur(8px); }
.btn--ghost:hover { --bg: #fff; box-shadow: 0 0 0 1px var(--line-2) inset, 0 0 0 4px rgba(200,234,245,.5), 0 8px 22px -8px rgba(0,92,153,.3); }
.btn--light { --bg: #fff; --fg: var(--blue-deep); box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.btn--light:hover { box-shadow: 0 0 0 4px rgba(225,237,194,.45), 0 10px 34px -6px rgba(200,234,245,.7); }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__inner {
  max-width: 1180px; margin: 0 auto; height: 60px; padding: 0 10px 0 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 999px;
  background: rgba(255, 253, 248, .62);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset, 0 0 0 1px var(--line), 0 10px 30px -12px rgba(12,34,54,.18);
  transition: background .4s;
}
.nav.is-scrolled .nav__inner { background: rgba(255, 253, 248, .82); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; filter: drop-shadow(0 4px 8px rgba(0,92,153,.3)); }
.brand__word { font-family: var(--serif); font-size: 26px; letter-spacing: -.01em; line-height: 1; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 999px; transition: color .25s, background .25s; }
.nav__links a:hover { color: var(--ink); background: rgba(12,34,54,.05); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__signin { font-size: 14px; font-weight: 500; padding: 8px 14px; color: var(--ink-2); }
.nav__signin:hover { color: var(--ink); }
.nav__burger { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(12,34,54,.06); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 23px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet {
  display: none; max-width: 1180px; margin: 8px auto 0; padding: 10px; border-radius: 24px;
  background: rgba(255,253,248,.92); backdrop-filter: blur(18px); box-shadow: 0 0 0 1px var(--line), var(--shadow-2);
}
.nav__sheet a { display: block; padding: 14px 16px; font-size: 17px; border-radius: 14px; }
.nav__sheet a:hover { background: rgba(12,34,54,.05); }
.nav.is-open .nav__sheet { display: block; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 138px 0 0; isolation: isolate; }
.hero__bg { position: absolute; inset: 0 0 20% 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; }
.orb--sky { width: 58vw; height: 58vw; max-width: 820px; max-height: 820px; left: -14vw; top: -22vw; background: radial-gradient(circle, var(--sky) 0%, rgba(200,234,245,0) 68%); }
.orb--sage { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; right: -14vw; top: -6vw; background: radial-gradient(circle, var(--sage) 0%, rgba(225,237,194,0) 68%); }
.orb--sun { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: 34%; top: 8vw; background: radial-gradient(circle, rgba(246,211,154,.55) 0%, rgba(246,211,154,0) 70%); }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(12,34,54,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,34,54,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gutter); }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; margin-bottom: 30px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  border-radius: 999px; background: rgba(255,255,255,.7); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line), 0 6px 18px -8px rgba(12,34,54,.2);
  transition: box-shadow .3s;
}
.pill:hover { box-shadow: 0 0 0 1px var(--line-2), 0 10px 24px -8px rgba(12,34,54,.25); }
.pill__tag { padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--sage), var(--sky)); color: var(--blue-deep); font-weight: 600; font-size: 12px; }
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.pill:hover svg { transform: translateX(3px); }

.welcome { width: min(1040px, 100%); margin: 0 auto -6px; }
.welcome__svg { width: 100%; height: auto; overflow: visible; }
.wl--sky { fill: var(--sky); }
.wl--sage { fill: var(--sage); }
.wl { filter: drop-shadow(0 1px 0 rgba(255,255,255,.9)); }
.welcome__ink { filter: drop-shadow(0 6px 10px rgba(0, 92, 153, .18)); }

.hero__title { font-size: clamp(40px, 6vw, 86px); max-width: 17ch; margin-top: 4px; }
.hero__title em { font-style: italic; }
.hero__lead { max-width: 560px; margin: 22px auto 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); }

.capture {
  display: flex; gap: 6px; width: min(480px, 100%); margin: 32px auto 0; padding: 6px;
  border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px var(--line), 0 1px 0 #fff inset, 0 14px 40px -14px rgba(12,34,54,.28);
  transition: box-shadow .3s;
}
.capture:focus-within { box-shadow: 0 0 0 1px rgba(0,92,153,.35), 0 0 0 5px rgba(200,234,245,.7), 0 14px 40px -14px rgba(12,34,54,.28); }
.capture input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.capture input::placeholder { color: var(--ink-3); }
.capture .btn { height: 46px; }
.capture__done { display: none; }
.capture.is-sent .capture__label { display: none; }
.capture.is-sent .capture__done { display: inline; }

.hero__micro { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }
.hero__micro i { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); opacity: .5; }

/* stage: layered surfaces holding the illustration */
.stage { position: relative; width: min(1360px, calc(100% - 2 * var(--gutter))); margin: 64px auto 0; perspective: 1400px; }
.stage__layer { position: absolute; left: 0; right: 0; margin: 0 auto; border-radius: var(--r-xl); }
.stage__layer--back { top: -26px; width: 86%; height: 100%; background: linear-gradient(180deg, rgba(200,234,245,.9), rgba(225,237,194,.6)); box-shadow: 0 0 0 1px rgba(255,255,255,.8) inset; }
.stage__layer--mid { top: -13px; width: 93%; height: 100%; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,253,248,.7)); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); }
.stage__frame {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--r-xl);
  aspect-ratio: 2500 / 996; background: var(--sky);
  box-shadow: 0 0 0 1px rgba(12,34,54,.08), 0 0 0 7px rgba(255,255,255,.75), var(--shadow-3);
  transform-origin: 50% 0;
}
.stage__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transform-origin: 50% 60%; }
.stage__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 18% 0%, rgba(255,240,210,.45), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(6,56,94,.18));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  border-radius: inherit;
}

.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.86), rgba(255,255,255,.66));
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(255,255,255,.9) inset, 0 0 0 1px rgba(12,34,54,.06), 0 20px 50px -18px rgba(6,56,94,.35);
  border-radius: 20px;
}
.float { position: absolute; z-index: 3; padding: 16px 18px; font-size: 13px; line-height: 1.35; will-change: transform; }
.float__head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--ink-3); margin-bottom: 6px; }
.float__head--flat { margin: 0; }
.float__big { font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -.01em; color: var(--ink); }
.float__mid { font-family: var(--serif); font-size: 30px; line-height: 1; }
.float__row { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.8); }
.dot--green { background: #58A636; } .dot--amber { background: #E3A23B; }
.chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; font-style: normal; }
.chip--up { background: #E4F1D0; color: #3E6B1D; }
.chip--wait { background: #E6F3FA; color: var(--blue); }

.float--rent { left: -2.5%; top: 16%; width: 230px; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 40px; margin-top: 12px; }
.spark i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--blue-2), var(--sky-2)); transform-origin: bottom; }
.spark i:last-child { background: linear-gradient(180deg, #6BAE3D, var(--sage-2)); }

.float--ticket { right: -2.5%; top: 9%; width: 262px; }
.ticket__title { font-weight: 600; font-size: 15px; color: var(--ink); }
.ticket__who { display: flex; align-items: center; gap: 10px; margin: 12px 0 10px; font-size: 12px; }
.avatar { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: var(--blue-deep); font-size: 10px; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.progress { height: 5px; border-radius: 99px; background: rgba(12,34,54,.07); overflow: hidden; }
.progress span { display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky-2), var(--blue)); }

.float--occ { right: 16%; bottom: -34px; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; }
.ring { width: 52px; height: 52px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring__track { stroke: rgba(12,34,54,.08); }
.ring__val { stroke: var(--blue); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 2.2; }

.float--toast { left: 14%; bottom: -26px; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; }
.float--toast strong { display: block; font-size: 13px; }
.float--toast .muted { font-size: 12px; }
.toast__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #7BBE4A, #4E8C24); color: #fff; font-size: 14px; box-shadow: 0 4px 10px -2px rgba(78,140,36,.5); }

/* ---------- LOGOS ---------- */
.logos { padding: 110px 0 40px; text-align: center; }
.logos__label { margin: 0 0 28px; font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 36px)); } }
.lg { font-size: 24px; color: var(--ink); opacity: .42; white-space: nowrap; transition: opacity .3s; }
.lg:hover { opacity: .8; }
.lg--1 { font-family: var(--serif); font-size: 30px; font-style: italic; }
.lg--2 { font-weight: 600; letter-spacing: .12em; font-size: 16px; } .lg--2 b { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 22px; margin-left: 4px; }
.lg--3 { font-family: var(--serif); font-size: 28px; }
.lg--4 { font-weight: 500; letter-spacing: -.04em; font-size: 26px; }
.lg--5 { font-weight: 300; letter-spacing: .32em; font-size: 16px; }
.lg--6 { font-weight: 600; font-size: 24px; letter-spacing: -.02em; } .lg--6 sup { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 15px; }
.lg--7 { font-family: var(--serif); font-style: italic; font-size: 26px; }
.lg--8 { font-weight: 500; letter-spacing: .2em; font-size: 15px; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section__head .h2 { max-width: 14ch; }
.section__lede { margin: 0; max-width: 420px; justify-self: end; font-size: 17px; color: var(--ink-2); }
.section__head--center .h2 { max-width: none; }
.section__head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section__head--center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }

/* platform backdrop — soft paper band */
.platform::before {
  content: ""; position: absolute; inset: 40px 0 0; z-index: -1;
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(225,237,194,.55), transparent 70%),
    radial-gradient(ellipse 40% 40% at 5% 70%, rgba(200,234,245,.5), transparent 70%);
}

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 380px; padding: 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #FFFFFF, var(--paper));
  box-shadow: 0 0 0 1px var(--line), 0 1px 0 #fff inset, var(--shadow-2);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(200,234,245,.55), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card::after { /* hairline gradient edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,1), rgba(200,234,245,.0) 40%, rgba(225,237,194,.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2), 0 1px 0 #fff inset, var(--shadow-3); }
.card--w7 { grid-column: span 7; } .card--w5 { grid-column: span 5; } .card--w6 { grid-column: span 6; }
.card__kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.card h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.01em; max-width: 18ch; }
.card p { margin: 0; color: var(--ink-2); max-width: 44ch; font-size: 15px; }
.card .link { margin-top: 16px; }

.ui { position: relative; }
/* leasing pipeline */
.ui--pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px; border-radius: 18px; background: var(--linen); box-shadow: inset 0 0 0 1px var(--line); }
.pipe { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pipe__h { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--ink-3); padding: 2px 4px 4px; }
.pipe__h b { color: var(--ink); font-weight: 600; }
.lead-card { display: flex; justify-content: space-between; gap: 6px; padding: 9px 10px; border-radius: 10px; background: #fff; font-size: 12px; font-weight: 500; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); white-space: nowrap; overflow: hidden; }
.lead-card i { font-style: normal; color: var(--ink-3); font-weight: 400; }
.lead-card--sky { background: linear-gradient(180deg, #fff, #EEF8FC); }
.lead-card--sage { background: linear-gradient(180deg, #fff, #F2F7E4); }
.lead-card--blue { background: linear-gradient(180deg, #0B78BE, #005C99); color: #fff; } .lead-card--blue i { color: var(--sky); }
/* ledger */
.ui--ledger { list-style: none; margin: 0; padding: 6px; border-radius: 18px; background: var(--linen); box-shadow: inset 0 0 0 1px var(--line); }
.ui--ledger li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; font-size: 13px; }
.ui--ledger li + li { margin-top: 4px; }
.ui--ledger li:first-child { background: #fff; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.ui--ledger b { font-weight: 600; }
/* triage */
.ui--triage { display: flex; flex-direction: column; gap: 8px; }
.triage { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.triage__t { margin-left: auto; font-size: 11px; color: var(--ink-3); font-weight: 400; }
.tag { padding: 3px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tag--red { background: #FBE3EA; color: #B42A5A; } .tag--amber { background: #FBEFD9; color: #9A6412; } .tag--green { background: #E4F1D0; color: #3E6B1D; }
/* phone */
.card--phone { flex-direction: row; align-items: stretch; background: radial-gradient(ellipse 80% 90% at 100% 100%, rgba(200,234,245,.8), transparent 60%), linear-gradient(180deg, #fff, var(--paper)); }
.card--phone .card__text { align-self: center; flex: 1; }
.phone {
  flex: none; width: 214px; margin: -2px -4px -62px 0; padding: 14px 14px 20px; border-radius: 34px 34px 0 0;
  background: linear-gradient(180deg, #FDFCF8, #F4F1E8);
  box-shadow: 0 0 0 7px #0C2236, 0 0 0 8px #33475B, 0 30px 60px -20px rgba(6,56,94,.5);
  font-size: 11px;
}
.phone__notch { width: 70px; height: 18px; margin: -6px auto 10px; border-radius: 0 0 12px 12px; background: #0C2236; }
.phone__hi { font-family: var(--serif); font-size: 21px; line-height: 1.1; margin: 4px 2px 12px; }
.phone__rent { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; padding: 12px; border-radius: 16px; background: linear-gradient(135deg, #0B78BE, #004A7C); color: #fff; box-shadow: 0 10px 20px -8px rgba(0,74,124,.6); }
.phone__rent span:first-child { opacity: .8; }
.phone__rent b { grid-column: 1; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.phone__pay { grid-column: 2; grid-row: 1 / span 2; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--blue-deep); font-weight: 600; }
.phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0; }
.phone__tiles span { display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 14px; background: #fff; font-size: 16px; box-shadow: 0 0 0 1px var(--line); }
.phone__tiles em { font-style: normal; font-size: 11px; font-weight: 500; }
.phone__msg { padding: 10px; border-radius: 14px; background: var(--sage); line-height: 1.4; }
.phone__msg b { display: block; }
/* owner bars */
.ui--bars { padding: 18px; border-radius: 18px; background: var(--linen); box-shadow: inset 0 0 0 1px var(--line); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; background-image: repeating-linear-gradient(to top, rgba(12,34,54,.07) 0 1px, transparent 1px 30px); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--sky-2), var(--sky)); transform-origin: bottom; }
.bars i.is-hi { background: linear-gradient(180deg, var(--blue-2), var(--blue)); box-shadow: 0 8px 18px -6px rgba(0,92,153,.6); }
.bars__legend { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.bars__legend b { color: #3E6B1D; }
/* reconcile */
.ui--recon { display: flex; flex-direction: column; gap: 8px; }
.recon { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #fff; font-size: 13px; box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.recon b { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #3E6B1D; }
.recon b::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #E4F1D0; font-size: 10px; }
.recon--live b { color: var(--blue); }
.recon--live b::before { display: none; }
.recon__bar { width: 90px; height: 6px; border-radius: 99px; background: rgba(12,34,54,.08); overflow: hidden; }
.recon__bar i { display: block; width: 92%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky-2), var(--blue)); transform-origin: left; }

/* ---------- VISION ---------- */
.vision { position: relative; padding: 0 0 20px; }
.vision__media {
  position: relative; height: 115vh; min-height: 720px; overflow: hidden;
  clip-path: inset(0 var(--gutter) round var(--r-xl));
}
.vision__media picture, .vision__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.vision__media img { object-fit: cover; object-position: 50% 30%; transform: scale(1.15); }
.vision__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,56,94,.1) 0%, rgba(6,56,94,0) 30%, rgba(6,40,70,.55) 62%, rgba(4,30,52,.92) 100%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(0,92,153,.5), transparent 70%);
}
.vision__content { position: absolute; left: 0; right: 0; bottom: clamp(48px, 8vw, 100px); color: #fff; }
.vision__title { font-size: clamp(52px, 9vw, 140px); color: #fff; margin-bottom: 48px; }
.vision__title em { color: var(--sage); }
.vision__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; }
.vision__col {
  padding: 24px 26px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 20px 40px -20px rgba(0,0,0,.4);
}
.vision__label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.vision__col p { margin: 0; color: rgba(255,255,255,.86); font-size: 15px; }

/* ---------- RESULTS ---------- */
.results__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.results__statement { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.18; letter-spacing: -.01em; }
.results__statement .w { opacity: .16; transition: none; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.glass-soft {
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,253,248,.75));
  box-shadow: 0 0 0 1px var(--line), 0 1px 0 #fff inset, var(--shadow-2);
  border-radius: var(--r-lg);
}
.stat { position: relative; padding: 28px 26px; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, var(--sky), transparent 70%); opacity: .7; }
.stat:nth-child(2)::after, .stat:nth-child(3)::after { background: radial-gradient(circle, var(--sage), transparent 70%); }
.stat__n { font-family: var(--serif); font-size: clamp(52px, 5.4vw, 76px); line-height: 1; letter-spacing: -.02em; color: var(--blue-deep); }
.stat__n sup { font-size: .4em; margin-left: 4px; color: var(--blue); vertical-align: .9em; }
.stat p { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }

.quote {
  display: grid; grid-template-columns: 1fr 1.2fr; margin: clamp(80px, 10vw, 130px) 0 0; overflow: hidden;
  border-radius: var(--r-xl); background: linear-gradient(135deg, #fff, var(--paper));
  box-shadow: 0 0 0 1px var(--line), var(--shadow-3);
}
.quote__img { position: relative; min-height: 420px; overflow: hidden; }
.quote__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform: scale(1.1); }
.quote__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(255,253,248,.6)); }
.quote__body { position: relative; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.quote__body::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 60% 60% at 100% 0%, rgba(225,237,194,.6), transparent 70%); pointer-events: none; }
.quote__mark { position: relative; width: 44px; fill: var(--sky-2); margin-bottom: 22px; }
.quote blockquote { position: relative; margin: 0 0 28px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.22; letter-spacing: -.005em; }
.quote figcaption { position: relative; display: flex; flex-direction: column; font-size: 14px; }
.quote figcaption span { color: var(--ink-3); }

/* ---------- ABOUT ---------- */
.about {
  position: relative; padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); text-align: center;
  background:
    radial-gradient(ellipse 34% 60% at 32% 55%, rgba(200,234,245,.75), transparent 70%),
    radial-gradient(ellipse 30% 55% at 68% 45%, rgba(225,237,194,.8), transparent 70%),
    radial-gradient(ellipse 26% 40% at 50% 70%, rgba(246,211,154,.35), transparent 70%);
}
.about__title { font-size: clamp(44px, 6.4vw, 96px); max-width: 16ch; margin: 0 auto; line-height: .98; }

/* ---------- PRICING ---------- */
.pricing { padding-top: clamp(60px, 8vw, 110px); background: linear-gradient(180deg, transparent, var(--linen) 30%, var(--linen) 70%, transparent); }
.toggle {
  position: relative; display: inline-flex; margin-top: 30px; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px var(--line), var(--shadow-1);
}
.toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.toggle button.is-on { color: #fff; }
.toggle button span { font-size: 11px; font-weight: 600; margin-left: 4px; padding: 2px 6px; border-radius: 99px; background: var(--sage); color: #3E6B1D; }
.toggle__knob { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 4px 10px -4px rgba(12,34,54,.6); transition: transform .5s var(--ease), width .5s var(--ease); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, #fff, var(--paper)); box-shadow: 0 0 0 1px var(--line), 0 1px 0 #fff inset, var(--shadow-2);
}
.tier h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.tier__for { margin: 6px 0 24px; font-size: 14px; color: var(--ink-3); }
.tier__price { display: flex; align-items: baseline; gap: 2px; font-family: var(--serif); font-size: 64px; line-height: 1; letter-spacing: -.02em; margin-bottom: 26px; }
.tier__cur { font-size: 30px; align-self: flex-start; margin-top: 6px; }
.tier__per { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.tier__price--text { font-size: 56px; }
.tier ul { list-style: none; margin: 0 0 30px; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; flex: 1; align-content: start; }
.tier li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-2); }
.tier li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%233E6B1D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tier--feature {
  color: #fff; transform: translateY(-14px);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(200,234,245,.35), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(225,237,194,.25), transparent 60%),
    linear-gradient(160deg, #0B6DAD 0%, #005C99 40%, #06385E 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 40px 80px -30px rgba(0,74,124,.7);
}
.tier--feature::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .25; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.tier--feature .tier__for, .tier--feature .tier__per { color: rgba(255,255,255,.7); }
.tier--feature ul { border-color: rgba(255,255,255,.18); }
.tier--feature li { color: rgba(255,255,255,.9); }
.tier--feature li::before { background-color: rgba(225,237,194,.95); }
.tier__badge { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: linear-gradient(135deg, var(--sage), var(--sky)); color: var(--blue-deep); }

/* ---------- CTA ---------- */
.cta { padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(90px, 10vw, 130px); }
.cta__card { position: relative; max-width: 1360px; margin: 0 auto; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; box-shadow: 0 0 0 1px var(--line), var(--shadow-3); }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg picture { display: block; height: 100%; }
.cta__bg img { width: 100%; height: 130%; object-fit: cover; object-position: 50% 80%; }
.cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250,248,243,.96) 0%, rgba(250,248,243,.86) 45%, rgba(250,248,243,.35) 100%);
}
.cta__inner { padding: clamp(80px, 11vw, 150px) var(--gutter) clamp(160px, 18vw, 260px); text-align: center; }
.cta__title { font-size: clamp(44px, 7vw, 104px); max-width: 13ch; margin: 0 auto; line-height: .98; }
.cta__lead { max-width: 520px; margin: 24px auto 0; font-size: 17px; color: var(--ink-2); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* ---------- FOOTER ---------- */
.footer { position: relative; padding: 80px 0 32px; background: linear-gradient(180deg, var(--cream), var(--linen)); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer__brand p { margin: 16px 0 0; max-width: 28ch; color: var(--ink-2); font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.footer__cols a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.footer__cols a:hover { color: var(--blue); }
.footer__word {
  margin: 56px 0 20px; font-family: var(--serif); font-size: clamp(90px, 22vw, 330px); line-height: .8; letter-spacing: -.03em; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(0,92,153,.22), rgba(200,234,245,.15) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom nav a:hover { color: var(--ink); }
.phase { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); transition: box-shadow .3s, color .3s; }
.phase span { font-weight: 600; color: var(--ink); }
.phase:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-1); }

/* SplitText line masks: room for descenders (g, y, p) and italic overhang */
.line-mask { padding: .06em .12em .2em; margin: -.06em -.12em -.2em; }

/* ---------- reveal defaults (JS enhances; no-JS stays visible) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-hero-in] { opacity: 0; transform: translateY(16px); }
.js .hero__title, .js .h2[data-split], .js [data-split] { visibility: hidden; }
.js .stage { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .float--rent { left: 2%; top: 8%; }
  .float--ticket { right: 2%; top: 6%; }
  .card--w7, .card--w5 { grid-column: span 6; }
  .phone { width: 190px; }
}
@media (max-width: 900px) {
  .nav__links, .nav__signin { display: none; }
  .nav__burger { display: block; }
  .section__head { grid-template-columns: 1fr; }
  .section__lede { justify-self: start; }
  .bento .card { grid-column: 1 / -1; min-height: 0; }
  .results__grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote__img { min-height: 300px; }
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tier--feature { transform: none; }
  .vision__cols { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .float--ticket { display: none; }
  .float--rent { width: 190px; padding: 12px 14px; }
  .float__big { font-size: 28px; }
  .spark { height: 26px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 112px; }
  .nav .btn--sm { display: none; }
  .capture { flex-direction: column; border-radius: 24px; }
  .capture input { height: 46px; }
  .stage { margin-top: 44px; }
  .stage__frame { aspect-ratio: 4 / 3; border-radius: 22px; }
  .stage__layer { border-radius: 22px; }
  .stage__img { object-position: 42% 50%; }
  .float--rent { left: 10px; top: 12px; transform-origin: top left; scale: .82; }
  .float--occ { right: 10px; bottom: -24px; scale: .85; }
  .float--toast { left: 10px; bottom: -22px; scale: .85; transform-origin: left; }
  .float--toast { display: none; }
  .ui--pipeline { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 24px; }
  .card--phone { flex-direction: column; }
  .phone { margin: 0 auto -48px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 22px 18px; }
  .vision__media { height: auto; min-height: 0; padding-top: 40vh; margin: 0 var(--gutter); clip-path: none; border-radius: 24px; }
  .vision__content { padding: 0 20px; }
  .vision__content { position: relative; bottom: auto; padding-bottom: 40px; }
  .vision__title { margin-bottom: 28px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .marquee__track { animation: none; }
  .js [data-reveal], .js [data-hero-in], .js .stage { opacity: 1; transform: none; }
  .js [data-split], .js .hero__title { visibility: visible; }
  .results__statement .w { opacity: 1; }
  * { transition-duration: .01ms !important; }
}
