/* Realty360 site. Graphik first; licensed Graphik webfont files still needed for production.
   When the woff2 files are in /assets/fonts, add:
   @font-face { font-family: "Graphik"; src: url("../fonts/Graphik-Regular-Web.woff2") format("woff2"); font-weight: 400; font-display: swap; }
   @font-face { font-family: "Graphik"; src: url("../fonts/Graphik-Medium-Web.woff2") format("woff2"); font-weight: 500; font-display: swap; }
   @font-face { font-family: "Graphik"; src: url("../fonts/Graphik-Semibold-Web.woff2") format("woff2"); font-weight: 600; font-display: swap; } */
:root {
  --navy: #0A2A66; --blue: #1F5EFF; --blue-soft: #5C8BFF; --mist: #EAF0FF; --plaster: #F5F2EC;
  --ink: #0B1324; --ink-2: #101A31; --ink-3: #16223F; --concrete: #6B7385; --brick: #C2522F;
  --teal: #14A38F; --plum: #8E4FC4; --amber: #E0A43A;
  --line-dark: rgba(255,255,255,.10); --line: rgba(10,42,102,.10);
  --font: "Graphik", "Graphik Web", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--plaster); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.i { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 6px; }
.section-title { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.03em; max-width: 16em; }
.section-lede { margin-top: 18px; max-width: 34em; font-size: clamp(16.5px, 1.3vw, 19px); color: #4a5266; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 56px; }
.split-head .section-lede { margin-top: 0; justify-self: end; }
.split-head--dark .section-lede { color: rgba(255,255,255,.66); }
.sample { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: .55em; padding: .72em 1.2em; border-radius: 999px; font: 500 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn--lg { padding: 1em 1.6em; font-size: 16px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -10px rgba(31,94,255,.8); }
.btn--primary:hover { background: #3a72ff; transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(31,94,255,.9); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--line { color: var(--ink); border-color: rgba(11,19,36,.2); background: #fff; }
.btn--line:hover { border-color: var(--ink); }
.btn--quiet { background: rgba(11,19,36,.06); color: var(--ink); }
.btn--quiet:hover { background: rgba(11,19,36,.12); }
.btn .i { transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }

/* ------------------------------------------------ Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; padding-top: 14px; transition: padding .5s var(--ease); }
.nav__inner { position: relative; width: min(1320px, 100% - 32px); margin-inline: auto; height: 64px; padding: 0 10px 0 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-radius: 20px; border: 1px solid transparent; transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease); }
.nav.is-solid { padding-top: 10px; }
.nav.is-solid .nav__inner { background: rgba(11,19,36,.88); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-color: rgba(255,255,255,.10); box-shadow: 0 20px 50px -24px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); }
.nav__brand { justify-self: start; display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.nav__brand img { height: 24px; width: auto; transition: transform .5s var(--ease); }
.nav__brand:hover img { transform: translateY(-1px); }
.nav__by { font-size: 12px; color: rgba(255,255,255,.55); }
.nav__center { position: relative; justify-self: center; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav__links { position: relative; z-index: 1; list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav__links a { display: block; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: rgba(255,255,255,.72); transition: color .35s var(--ease); }
.nav__links a:hover, .nav__links a:focus-visible, .nav__links a.is-active { color: #fff; }
.nav__pill { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); width: 0; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 18px -8px rgba(31,94,255,.7); opacity: 0; transform: translateX(var(--x, 0)); transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; pointer-events: none; }
.nav__center.has-hover .nav__pill { opacity: 1; }
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span { display: inline-block; transition: transform .45s var(--ease); }
.roll::after { content: attr(data-t); position: absolute; left: 0; top: 100%; white-space: nowrap; transition: transform .45s var(--ease); }
a:hover .roll > span, a:focus-visible .roll > span, a:hover .roll::after, a:focus-visible .roll::after { transform: translateY(-100%); }
.nav__end { justify-self: end; display: flex; align-items: center; gap: 6px; }
.nav__cta { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 500; text-decoration: none; overflow: hidden; isolation: isolate; box-shadow: 0 10px 28px -12px rgba(31,94,255,.9), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.nav__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(31,94,255,1), inset 0 1px 0 rgba(255,255,255,.3); }
.nav__cta:hover::before { transform: translateX(120%); }
.nav__cta-text { white-space: nowrap; }
.nav__cta-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--blue); transition: transform .45s var(--ease); }
.nav__cta:hover .nav__cta-icon { transform: rotate(45deg); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.05); padding: 0; cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: #fff; margin: 5px auto; transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav__mobile[hidden] { display: none; }
.nav__mobile { width: min(1320px, 100% - 32px); margin: 8px auto 0; border-radius: 20px; background: rgba(11,19,36,.95); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.1); padding: 8px 20px 14px; display: grid; }
.nav__mobile a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; font-size: 18px; }
.nav__mobile a:last-child { border-bottom: 0; }

/* ------------------------------------------------ Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; background: radial-gradient(120% 90% at 70% 40%, #12234a 0%, var(--ink) 60%); overflow: hidden; isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.hero__poster, .hero__video, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .6s; }
@media (min-width: 901px) { .hero__poster { object-position: 50% 50%; } }
.hero__canvas { opacity: 0; transition: opacity 1s var(--ease); }
.hero.is-video .hero__video { opacity: 1; }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero.is-3d .hero__poster { opacity: 0; transition: opacity 1.2s; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,19,36,.92) 0%, rgba(11,19,36,.62) 34%, rgba(11,19,36,0) 62%), linear-gradient(0deg, rgba(11,19,36,.85) 0%, rgba(11,19,36,0) 30%); pointer-events: none; }
.hero__content { width: min(1320px, 100% - 40px); margin-inline: auto; padding: 120px 0 96px; }
.hero__title { font-size: clamp(40px, 6vw, 84px); max-width: 11.5em; letter-spacing: -0.035em; line-height: 1.02; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero.is-ready .hero__title .line > span { transform: none; }
.hero.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.hero__lede { max-width: 33em; margin-top: 28px; font-size: clamp(17px, 1.35vw, 19px); color: rgba(255,255,255,.78); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__cred { margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.55); padding-left: 16px; border-left: 1px solid var(--blue); max-width: 30em; }
.hero__lede, .hero__ctas, .hero__cred { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .45s, transform .9s var(--ease) .45s; }
.hero.is-ready .hero__lede, .hero.is-ready .hero__ctas, .hero.is-ready .hero__cred { opacity: 1; transform: none; }

/* ------------------------------------------------ Problem */
.problem { background: var(--ink); color: #fff; }
.problem__track { height: 230vh; position: relative; }
.problem__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.problem__frame { position: absolute; inset: 0; clip-path: inset(var(--inset-y, 22%) var(--inset-x, 26%) round var(--radius, 28px)); will-change: clip-path; }
.problem__video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.18)); }
.problem__tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,19,36,.9) 0%, rgba(11,19,36,.6) 45%, rgba(10,42,102,.3) 100%); opacity: var(--tint, 0); }
.problem__copy { position: relative; width: min(1240px, 100% - 48px); }
.problem__title { font-size: clamp(32px, 4.6vw, 64px); max-width: 12em; letter-spacing: -0.03em; opacity: var(--title-o, 0); transform: translateY(calc((1 - var(--title-o, 0)) * 30px)); }
.problem__lede { margin-top: 18px; max-width: 32em; color: rgba(255,255,255,.75); opacity: var(--title-o, 0); }
.plus-list { list-style: none; padding: 0; margin: 0; }
.plus-list li { position: relative; padding-left: 30px; }
.plus-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; background: linear-gradient(var(--blue-soft), var(--blue-soft)) center/14px 1.6px no-repeat, linear-gradient(var(--blue-soft), var(--blue-soft)) center/1.6px 14px no-repeat; }
.problem__list { margin-top: 34px; display: grid; gap: 14px; max-width: 34em; font-size: clamp(17px, 1.5vw, 21px); }
.problem__list li { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.problem__list li.is-on { opacity: 1; transform: none; }
.problem__stack { position: absolute; right: max(4vw, 24px); top: 50%; width: 300px; height: 380px; transform: translateY(-50%); opacity: var(--stack-o, 0); pointer-events: none; }
.polaroid { position: absolute; margin: 0; padding: 8px 8px 30px; background: #fff; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform .8s var(--ease); }
.polaroid img { border-radius: 2px; }
.polaroid--a { width: 220px; right: 0; top: 0; transform: rotate(5deg) translateY(calc((1 - var(--stack-o, 0)) * 60px)); }
.polaroid--b { width: 200px; left: 0; bottom: 0; transform: rotate(-6deg) translateY(calc((1 - var(--stack-o, 0)) * 90px)); }

/* ------------------------------------------------ Solutions */
.solutions { padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); background: var(--plaster); }
.banner { position: relative; margin: 0 0 22px; border-radius: 28px; overflow: hidden; height: clamp(300px, 42vw, 540px); background: #cfe3f5; }
.banner img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 58%; transform: translateY(var(--py, -4%)) scale(1.001); will-change: transform; image-rendering: auto; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,19,36,.38) 0%, rgba(11,19,36,0) 32%); pointer-events: none; }
.banner__chip { position: absolute; z-index: 1; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20,163,143,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(20,163,143,0); } }

/* colour cards (hover floods colour from the entry point) */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card--blue, .mod--blue, .rule--blue { --c1: #1F5EFF; --c2: #0A2A66; --tint: #DCE6FF; --ink-c: #1F5EFF; }
.card--brick, .mod--brick, .rule--brick { --c1: #D9693F; --c2: #7A2C17; --tint: #FBE3D8; --ink-c: #C2522F; }
.card--teal, .mod--teal, .rule--teal { --c1: #14A38F; --c2: #0B4F5C; --tint: #D5F2EC; --ink-c: #0E8C7B; }
.card--plum, .mod--plum, .rule--plum { --c1: #8E4FC4; --c2: #3E1A6B; --tint: #EDE0FA; --ink-c: #7A3DB3; }
.mod--amber, .rule--amber { --c1: #E8A83C; --c2: #8A4E12; --tint: #FBEED3; --ink-c: #B9781B; }
.card { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; outline: none; min-height: 440px; background: linear-gradient(165deg, var(--tint) 0%, #fff 46%); border: 1px solid color-mix(in srgb, var(--ink-c) 18%, #fff); box-shadow: 0 1px 0 rgba(10,42,102,.04), 0 30px 60px -42px rgba(10,42,102,.45); }
.card__fill { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at var(--fx, 50%) var(--fy, 50%), var(--c1) 0%, var(--c2) 75%); clip-path: circle(0% at var(--fx, 50%) var(--fy, 50%)); transition: clip-path .75s var(--ease); }
.card__num { position: absolute; z-index: 0; top: 14px; right: 18px; font-size: 92px; font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink-c) 32%, #fff); transition: -webkit-text-stroke-color .5s, color .5s, transform .7s var(--ease); }
.card__body { position: relative; z-index: 1; height: 100%; padding: 30px 26px 28px; display: flex; flex-direction: column; }
.card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--ink-c); font-size: 22px; border: 1px solid color-mix(in srgb, var(--ink-c) 20%, #fff); box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--ink-c) 70%, transparent); transition: background .5s, color .5s, border-color .5s, transform .6s var(--ease); }
.card h3 { margin-top: 34px; font-size: 22px; line-height: 1.18; transition: color .5s; }
.card__lede { margin-top: 10px; font-size: 15px; color: #4a5266; transition: color .5s; }
.card__list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid color-mix(in srgb, var(--ink-c) 16%, #fff); transition: border-color .5s; }
.card__list li { position: relative; padding: 12px 0 12px 24px; font-size: 14.5px; line-height: 1.45; color: #343c50; border-bottom: 1px solid color-mix(in srgb, var(--ink-c) 12%, #fff); transition: color .5s, border-color .5s; }
.card__list li:last-child { border-bottom: 0; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 11px; height: 11px; background: linear-gradient(var(--ink-c), var(--ink-c)) center/11px 1.6px no-repeat, linear-gradient(var(--ink-c), var(--ink-c)) center/1.6px 11px no-repeat; transition: background .5s; }
.mod:hover .card__fill, .mod:focus-visible .card__fill { clip-path: circle(150% at var(--fx, 50%) var(--fy, 50%)); }

/* ------------------------------------------------ One record (interactive tower) */
.record { position: relative; padding: clamp(96px, 11vw, 150px) 0; color: #fff; background: radial-gradient(80% 70% at 75% 50%, #15306a 0%, var(--ink) 65%); overflow: hidden; }
.record::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(92,139,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(92,139,255,.08) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent); pointer-events: none; }
.record__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.record .section-lede { color: rgba(255,255,255,.7); }
.legend { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 8px; max-width: 360px; }
.legend li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); font-size: 15px; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.legend li:hover, .legend li.is-on { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); transform: translateX(4px); }
.legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.legend b { margin-left: auto; font-weight: 500; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
[data-s="handed"] { --c: #8FA3C7; } [data-s="booked"] { --c: #1F5EFF; } [data-s="hold"] { --c: #E0A43A; } [data-s="blocked"] { --c: #C2522F; } [data-s="available"] { --c: #3FD3B5; }
.flatcard { margin-top: 18px; max-width: 360px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(31,94,255,.18), rgba(255,255,255,.04)); border: 1px solid rgba(92,139,255,.3); display: grid; gap: 2px; min-height: 76px; }
.flatcard__id { font-size: 18px; font-weight: 600; }
.flatcard__status { font-size: 14px; color: rgba(255,255,255,.7); }
.hint { margin-top: 18px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); }
.record__stage { position: relative; height: clamp(420px, 46vw, 640px); }
.record__canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.record__canvas:active { cursor: grabbing; }
.record__tip { position: absolute; z-index: 2; padding: 8px 12px; border-radius: 10px; background: rgba(11,19,36,.92); border: 1px solid rgba(255,255,255,.15); font-size: 13px; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); }
.facade { display: none; position: absolute; inset: 0; margin: auto; width: min(100%, 340px); height: fit-content; padding: 14px; border-radius: 16px; background: linear-gradient(#1a2a4d, #0f1a33); border: 1px solid var(--line-dark); grid-template-columns: repeat(6, 1fr); gap: 5px; }
.facade button { aspect-ratio: 1.4; border: 0; border-radius: 4px; background: var(--c); opacity: .85; cursor: pointer; padding: 0; }
.facade button:focus-visible, .facade button.is-sel { outline: 2px solid #fff; opacity: 1; }
.record.is-2d .facade { display: grid; position: relative; inset: auto; margin: 0 auto; }
.record.is-2d .record__stage { height: auto; }
.record.is-2d .record__canvas { display: none; }

/* ------------------------------------------------ Journey (8 steps, sticky media) */
.journey { padding: clamp(96px, 12vw, 160px) 0; background: #fff; }
.journey__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.journey__media { position: sticky; top: 100px; height: min(78vh, 660px); border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: 0 50px 90px -50px rgba(10,42,102,.6); }
.jm { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.jm.is-on { opacity: 1; transform: scale(1); }
.jm img, .jm video { width: 100%; height: 100%; object-fit: cover; }
.jm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,19,36,.55), rgba(11,19,36,0) 45%); }
.jm__ui { position: absolute; z-index: 1; left: 24px; bottom: 74px; width: min(300px, calc(100% - 48px)); padding: 18px; border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); display: grid; gap: 4px; font-size: 14px; color: #4a5266; transform: translateY(16px); opacity: 0; transition: transform .8s var(--ease) .25s, opacity .8s var(--ease) .25s; }
.jm.is-on .jm__ui { transform: none; opacity: 1; }
.jm__ui strong { font-size: 18px; color: var(--ink); }
.demand__k { font-size: 12px; font-weight: 600; color: var(--blue); }
.demand__row { display: flex; gap: 8px; margin-top: 6px; }
.demand__row em, .receipt__key em { font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 999px; background: var(--mist); color: var(--navy); }
.demand__sent { margin-top: 8px; display: flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 500; }
.receipt__split { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin: 8px 0 4px; gap: 2px; }
.receipt__split i { width: var(--w); background: var(--teal); }
.receipt__split i:nth-child(2) { background: var(--blue); } .receipt__split i:nth-child(3) { background: var(--amber); min-width: 6px; }
.receipt__key { display: flex; gap: 6px; flex-wrap: wrap; }
.earn__bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin: 8px 0 6px; }
.earn__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--teal), #0B4F5C); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.jm.is-on .earn__bars i { transform: scaleY(1); }
.jm.is-on .earn__bars i:nth-child(2) { transition-delay: .08s; } .jm.is-on .earn__bars i:nth-child(3) { transition-delay: .16s; } .jm.is-on .earn__bars i:nth-child(4) { transition-delay: .24s; } .jm.is-on .earn__bars i:nth-child(5) { transition-delay: .32s; } .jm.is-on .earn__bars i:nth-child(6) { transition-delay: .4s; }
.earn__cap { font-size: 12.5px; }
.journey__count { position: absolute; z-index: 2; left: 24px; bottom: 24px; display: flex; align-items: baseline; gap: 6px; color: #fff; font-size: 14px; color: rgba(255,255,255,.7); }
.journey__now { font-size: 28px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.journey__bar { position: absolute; z-index: 2; right: 24px; bottom: 34px; width: 40%; height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
.journey__bar i { display: block; height: 100%; width: var(--jp, 12.5%); background: #fff; transition: width .6s var(--ease); }
.journey__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.journey__steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 1px; background: var(--line); }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 30px 22px 30px 0; min-height: 34vh; align-items: start; cursor: default; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--concrete); transition: background .5s var(--ease), color .5s, border-color .5s, box-shadow .5s, transform .5s var(--ease); }
.step h3 { font-size: clamp(22px, 2vw, 28px); color: #9aa1b2; transition: color .5s; padding-top: 12px; }
.step p { margin-top: 10px; color: #9aa1b2; max-width: 30em; transition: color .5s; }
.step.is-on .step__n { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 10px 24px -8px rgba(31,94,255,.7); transform: scale(1.06); }
.step.is-on h3 { color: var(--ink); }
.step.is-on p { color: #4a5266; }
.step:hover h3 { color: var(--ink); }

/* ------------------------------------------------ Modules: dashboard + tiles */
.modules { position: relative; padding: clamp(96px, 12vw, 160px) 0; color: #fff; background: var(--ink); overflow: hidden; }
.modules::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 220px; transform: translateX(-50%); background: radial-gradient(circle, rgba(31,94,255,.28), transparent 60%); pointer-events: none; }
.dash { position: relative; padding: 18px; border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line-dark); box-shadow: 0 60px 120px -50px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); }
.dash::before { content: ""; position: absolute; inset: -1px; border-radius: 29px; padding: 1px; background: linear-gradient(120deg, rgba(31,94,255,.7), rgba(20,163,143,.4), rgba(142,79,196,.5), rgba(194,82,47,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none; }
.dash__top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 6px 8px 18px; }
.dash__title { display: flex; align-items: center; gap: 12px; }
.dash__title .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue); }
.dash__title strong { display: block; font-size: 18px; }
.dash__title span { font-size: 13px; color: rgba(255,255,255,.55); }
.dash__tabs { margin-left: auto; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.dash__tabs button { white-space: nowrap; border: 0; background: transparent; color: rgba(255,255,255,.65); font: 500 13.5px var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.dash__tabs button:hover { color: #fff; }
.dash__tabs button[aria-selected="true"] { background: rgba(255,255,255,.14); color: #fff; }
.dash__sample { font-size: 12px; color: rgba(255,255,255,.45); padding: 6px 10px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.2); }
.dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { position: relative; overflow: hidden; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); display: grid; gap: 4px; outline: none; transition: transform .45s var(--ease), border-color .45s, box-shadow .45s; }
.kpi::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 0% 0%, var(--c1), transparent 60%); opacity: .18; transition: opacity .45s; }
.kpi::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--c1); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease); }
.kpi--blue { --c1: #1F5EFF; } .kpi--teal { --c1: #14A38F; } .kpi--plum { --c1: #8E4FC4; } .kpi--brick { --c1: #D9693F; }
.kpi span, .kpi em { position: relative; font-size: 13px; color: rgba(255,255,255,.6); font-style: normal; }
.kpi strong { position: relative; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi:hover, .kpi:focus-visible { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 60%, transparent); box-shadow: 0 24px 50px -24px var(--c1); }
.kpi:hover::before, .kpi:focus-visible::before { opacity: .5; }
.kpi:hover::after, .kpi:focus-visible::after { transform: scaleX(1); }
.dash__main { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1fr); gap: 12px; }
.panel { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); transition: border-color .4s, background .4s; }
.panel:hover { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-size: 13px; color: rgba(255,255,255,.55); }
.panel__head strong { font-size: 15px; color: #fff; font-weight: 500; }
.keys { display: flex; align-items: center; gap: 6px; }
.k { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-left: 6px; }
.k--sold { background: #5C8BFF; } .k--earned { background: #14A38F; } .k--books { background: #C9A27A; } .k--teal { background: #14A38F; } .k--blue { background: #1F5EFF; } .k--amber { background: #E0A43A; } .k--plum { background: #8E4FC4; }
.bars { position: relative; height: 230px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: end; padding: 0 6px 26px; background: repeating-linear-gradient(0deg, transparent 0 45px, rgba(255,255,255,.06) 45px 46px); }
.bars__g { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 8px; border-radius: 10px; transition: background .3s, opacity .4s; }
.bars__g span { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.6); }
.b { width: 26%; max-width: 30px; height: var(--h); border-radius: 8px 8px 3px 3px; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease), filter .3s, box-shadow .3s; cursor: pointer; }
.dash.is-in .b { transform: scaleY(1); }
.dash.is-in .bars__g:nth-child(2) .b { transition-delay: .1s; } .dash.is-in .bars__g:nth-child(3) .b { transition-delay: .2s; }
.b--sold { background: linear-gradient(#7FA4FF, #1F5EFF); } .b--earned { background: linear-gradient(#3FD3B5, #0E8C7B); } .b--books { background: linear-gradient(#E2C6A4, #9C7651); }
.b:hover { filter: brightness(1.2); box-shadow: 0 0 24px rgba(255,255,255,.25); }
.bars:hover .bars__g { opacity: .55; }
.bars .bars__g:hover { opacity: 1; background: rgba(255,255,255,.05); }
.bars__g.is-dim { opacity: .3; }
.bars__tip { position: absolute; z-index: 2; padding: 6px 10px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 500; white-space: nowrap; pointer-events: none; transform: translate(-50%, calc(-100% - 8px)); box-shadow: 0 10px 24px -10px rgba(0,0,0,.6); }
.ring { position: relative; width: 150px; margin: 4px auto 12px; outline: none; }
.ring svg { transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 14; }
.ring__bg { stroke: rgba(255,255,255,.08); }
.ring__a, .ring__b, .ring__c { stroke-dasharray: 0 100; stroke-dashoffset: calc(var(--o, 0) * -1); stroke-linecap: butt; transition: stroke-dasharray 1.2s var(--ease), stroke-width .3s; }
.dash.is-in .ring__a, .dash.is-in .ring__b, .dash.is-in .ring__c { stroke-dasharray: var(--p) 100; }
.ring__a { stroke: #14A38F; } .ring__b { stroke: #1F5EFF; } .ring__c { stroke: #E0A43A; }
.ring:hover circle:not(.ring__bg) { stroke-width: 17; }
.ring__c-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__c-label strong { font-size: 26px; }
.ring__c-label span { font-size: 11.5px; color: rgba(255,255,255,.55); max-width: 80px; line-height: 1.3; }
.ring__key { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: rgba(255,255,255,.7); }
.ring__key li { display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 8px; transition: background .3s; }
.ring__key li:hover { background: rgba(255,255,255,.06); }
.ring__key b { margin-left: auto; color: #fff; font-weight: 500; }
.prog { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.prog li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 10px; align-items: center; font-size: 13px; color: rgba(255,255,255,.7); }
.prog b { grid-column: 2; font-weight: 400; font-size: 12px; color: rgba(255,255,255,.5); }
.prog__bar { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.prog__bar i { display: block; height: 100%; width: var(--w); border-radius: 8px; background: linear-gradient(90deg, #1F5EFF, #3FD3B5); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.dash.is-in .prog__bar i { transform: scaleX(1); }
.feed { margin-top: 18px; display: grid; gap: 6px; }
.feed__row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 12.5px; color: rgba(255,255,255,.8); transition: background .3s, transform .3s var(--ease); }
.feed__row .k { margin-left: 0; }
.feed__row span { margin-left: auto; color: rgba(255,255,255,.45); white-space: nowrap; }
.feed__row:hover { background: rgba(255,255,255,.08); transform: translateX(3px); }
.mods { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mod { position: relative; isolation: isolate; overflow: hidden; display: block; min-height: 210px; padding: 22px; border-radius: 22px; text-decoration: none; background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 16%, transparent), rgba(255,255,255,.03) 60%); border: 1px solid var(--line-dark); transition: transform .5s var(--ease), border-color .5s, box-shadow .5s; }
.mod .card__fill { background: radial-gradient(120% 100% at var(--fx, 50%) var(--fy, 50%), var(--c1) 0%, var(--c2) 80%); }
.mod__n { position: absolute; top: 16px; right: 18px; font-size: 40px; font-weight: 700; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); }
.mod__i { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--c1) 30%, transparent); color: #fff; font-size: 20px; transition: background .5s, transform .5s var(--ease); }
.mod h3 { margin-top: 34px; font-size: 19px; }
.mod p { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.65); transition: color .5s; }
.mod:hover, .mod:focus-visible { transform: translateY(-5px); border-color: transparent; box-shadow: 0 30px 60px -30px var(--c1); }
.mod:hover .mod__i, .mod:focus-visible .mod__i { background: rgba(255,255,255,.2); transform: rotate(-6deg) scale(1.06); }
.mod:hover p, .mod:focus-visible p { color: rgba(255,255,255,.9); }

/* ------------------------------------------------ Buyer portal */
.portal { padding: clamp(96px, 12vw, 160px) 0; background: linear-gradient(180deg, var(--mist), #fff); overflow: hidden; }
.portal__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.portal__visual { position: relative; padding: 40px 0 40px 0; }
.portal__frame { border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 50px 90px -50px rgba(10,42,102,.6); }
.portal__frame video { width: 100%; height: 100%; object-fit: cover; }
.phone { position: absolute; right: -10px; bottom: -10px; width: 250px; padding: 10px; border-radius: 40px; background: #0d1426; box-shadow: 0 40px 80px -30px rgba(11,19,36,.8), inset 0 0 0 2px rgba(255,255,255,.08); transition: transform 1s var(--ease), opacity 1s; }
.phone:not(.is-in) { transform: translateY(40px) rotate(4deg); }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #0d1426; z-index: 2; }
.phone__screen { border-radius: 31px; overflow: hidden; background: #F4F6FB; padding: 46px 14px 16px; display: grid; gap: 10px; font-size: 12px; color: var(--ink); }
.ph__top { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.ph__card { padding: 12px; border-radius: 16px; background: #fff; display: grid; gap: 2px; box-shadow: 0 6px 16px -10px rgba(10,42,102,.3); }
.ph__card span { color: var(--concrete); font-size: 11px; }
.ph__card strong { font-size: 16px; }
.ph__bar { height: 6px; border-radius: 6px; background: var(--mist); margin-top: 6px; overflow: hidden; }
.ph__bar i { display: block; width: 88%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.ph__card--due { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.ph__card--due span { color: rgba(255,255,255,.7); }
.ph__card--due button { margin-top: 6px; border: 0; border-radius: 999px; padding: 7px; background: #fff; color: var(--blue); font: 600 12px var(--font); }
.ph__list { display: grid; gap: 6px; }
.ph__list div { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: #fff; font-size: 11.5px; }
.ph__list .i { color: var(--blue); }
.ph__list em { margin-left: auto; font-style: normal; font-size: 10px; padding: 2px 7px; border-radius: 999px; background: var(--mist); color: var(--navy); }
.portal__chip { position: absolute; left: 20px; top: 60px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 13px; font-weight: 500; box-shadow: 0 10px 30px -14px rgba(10,42,102,.5); }
.portal__chip .i { color: var(--teal); }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.ticks li .i { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--mist); color: var(--blue); transition: background .4s, color .4s; }
.ticks li span { padding-top: 6px; }
.ticks li:hover { transform: translateX(6px); border-color: rgba(31,94,255,.3); box-shadow: 0 18px 40px -24px rgba(31,94,255,.6); }
.ticks li:hover .i { background: var(--blue); color: #fff; }

/* ------------------------------------------------ Built on SAP */
.sap { position: relative; padding: clamp(96px, 12vw, 160px) 0; color: #fff; background: var(--navy); overflow: hidden; }
.sap::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; }
.sap__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.sap .section-lede { color: rgba(255,255,255,.72); }
.sap__points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sap__points li { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .4s, transform .4s var(--ease), border-color .4s; }
.sap__points li:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.sap__points .i { width: 22px; height: 22px; color: #9DB8FF; margin-top: 2px; }
.sap__points strong { display: block; font-size: 15px; font-weight: 500; }
.sap__points span { font-size: 13.5px; color: rgba(255,255,255,.65); }
.arch { position: relative; display: grid; gap: 0; justify-items: center; }
.arch__node { position: relative; width: 100%; max-width: 460px; padding: 24px; border-radius: 22px; background: rgba(11,19,36,.55); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.arch__node:hover { transform: translateY(-4px); border-color: rgba(157,184,255,.6); box-shadow: 0 30px 60px -30px rgba(31,94,255,.9); }
.arch__node--btp { background: linear-gradient(135deg, rgba(31,94,255,.5), rgba(11,19,36,.6)); }
.arch__tag { font-size: 12px; font-weight: 600; color: #9DB8FF; }
.arch__node strong { display: block; margin-top: 4px; font-size: 24px; }
.arch__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.arch__chips i { font-style: normal; font-size: 12.5px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); transition: background .3s; }
.arch__chips i:hover { background: rgba(255,255,255,.22); }
.arch__link { position: relative; height: 96px; width: 2px; background: linear-gradient(rgba(157,184,255,.2), rgba(157,184,255,.7), rgba(157,184,255,.2)); }
.arch__link em { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-style: normal; font-size: 12.5px; padding: 6px 10px; border-radius: 999px; background: rgba(11,19,36,.8); border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.8); }
.arch__pulse { position: absolute; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 16px #9DB8FF; animation: travel 2.4s var(--ease) infinite; }
@keyframes travel { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
.arch__side { margin-top: 18px; }
.arch__side span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.3); color: rgba(255,255,255,.8); }

/* ------------------------------------------------ Compliance */
.comply { padding: clamp(96px, 12vw, 160px) 0; background: var(--plaster); }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rule { position: relative; overflow: hidden; padding: 28px 26px 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); min-height: 200px; outline: none; transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.rule::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--tint), #fff 60%); opacity: 0; transition: opacity .5s; }
.rule > * { position: relative; }
.rule__code { display: inline-block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--ink-c); }
.rule p { margin-top: 16px; color: #4a5266; max-width: 22em; }
.rule .i { position: absolute; right: 22px; top: 24px; width: 30px; height: 30px; color: var(--ink-c); opacity: .35; transition: opacity .5s, transform .6s var(--ease); }
.rule:hover, .rule:focus-visible { transform: translateY(-5px); border-color: color-mix(in srgb, var(--ink-c) 35%, #fff); box-shadow: 0 30px 60px -36px var(--ink-c); }
.rule:hover::before, .rule:focus-visible::before { opacity: 1; }
.rule:hover .i, .rule:focus-visible .i { opacity: 1; transform: rotate(-8deg) scale(1.15); }
.fineprint { margin-top: 22px; font-size: 14px; color: var(--concrete); }

/* ------------------------------------------------ TechOrbit */
.org { position: relative; padding: clamp(110px, 13vw, 180px) 0; color: #fff; overflow: hidden; isolation: isolate; background: var(--ink) center/cover; }
.org__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.org__tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,19,36,.92) 0%, rgba(11,19,36,.6) 55%, rgba(10,42,102,.45)); }
.org__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.org .section-lede { color: rgba(255,255,255,.75); margin-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.stat { padding: 26px 24px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .4s, transform .4s var(--ease), border-color .4s; }
.stat:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); transform: translateY(-4px); }
.stat dt { font-size: 14px; color: rgba(255,255,255,.65); }
.stat dd { margin: 6px 0 0; font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: 18px; font-weight: 500; color: rgba(255,255,255,.75); letter-spacing: 0; }

/* ------------------------------------------------ FAQ */
.faq { padding: clamp(96px, 12vw, 160px) 0; background: #fff; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq__side { position: sticky; top: 110px; }
.faq__img { margin: 32px 0 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
.faq__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.faq__img:hover img { transform: scale(1.05); }
.faq__list { display: grid; gap: 10px; }
.qa { border-radius: 18px; background: var(--plaster); border: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s; }
.qa[open] { background: #fff; border-color: var(--line); box-shadow: 0 24px 50px -36px rgba(10,42,102,.5); }
.qa summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 22px 24px; font-size: 18px; font-weight: 500; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__i { position: relative; flex: none; margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: background .4s, transform .5s var(--ease); }
.qa__i::before, .qa__i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: var(--ink); transition: transform .4s var(--ease), background .4s; }
.qa__i::after { transform: rotate(90deg); }
.qa[open] .qa__i { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.qa[open] .qa__i::before, .qa[open] .qa__i::after { background: #fff; }
.qa[open] .qa__i::after { transform: rotate(0); }
.qa__a { padding: 0 24px 24px; color: #4a5266; max-width: 46em; }

/* ------------------------------------------------ Walkthrough form */
.walk { position: relative; padding: clamp(96px, 12vw, 160px) 0; color: #fff; overflow: hidden; isolation: isolate; }
.walk__bg { position: absolute; inset: 0; z-index: -2; }
.walk__bg img { width: 100%; height: 100%; object-fit: cover; }
.walk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,42,102,.95) 0%, rgba(10,42,102,.82) 45%, rgba(11,19,36,.55)); }
.walk__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.walk .section-lede { color: rgba(255,255,255,.8); }
.walk__contact { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; font-size: 15px; color: rgba(255,255,255,.85); }
.walk__contact li { display: flex; gap: 12px; align-items: flex-start; }
.walk__contact .i { margin-top: 3px; color: #9DB8FF; }
.form { padding: 30px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 60px 120px -50px rgba(0,0,0,.7); display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fld { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: #343c50; }
.fld em { font-style: normal; font-weight: 400; color: var(--concrete); }
.fld input, .fld select, .fld textarea { width: 100%; font: 16px var(--font); color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(11,19,36,.16); background: #FAFAF8; transition: border-color .3s, box-shadow .3s, background .3s; }
.fld textarea { resize: vertical; min-height: 90px; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: rgba(11,19,36,.32); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31,94,255,.14); }
.fld .is-bad, .is-bad { border-color: var(--brick) !important; box-shadow: 0 0 0 4px rgba(194,82,47,.12) !important; }
.phonef { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px; }
.phonef select, .phonef input { width: 100%; font: 16px var(--font); padding: 12px 10px; border-radius: 12px; border: 1px solid rgba(11,19,36,.16); background: #FAFAF8; }
.phonef select:focus, .phonef input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,.14); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #4a5266; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form__btn { justify-content: center; }
.form__msg { font-size: 14px; color: var(--brick); }

/* ------------------------------------------------ Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 72px 0 36px; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { height: 27px; width: auto; }
.footer__tag { margin-top: 16px; color: #fff; font-size: 17px; }
.footer__addr { margin-top: 18px; line-height: 1.7; font-size: 13.5px; }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__col h2 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 6px; letter-spacing: 0; }
.footer__col a, .footer__col .linkbtn { text-decoration: none; color: rgba(255,255,255,.65); transition: color .3s, transform .3s var(--ease); width: fit-content; }
.footer__col a:hover, .footer__col .linkbtn:hover { color: #fff; transform: translateX(3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }
.footer__tm { color: rgba(255,255,255,.4); }

/* ------------------------------------------------ Cookie banner */
.cookie[hidden] { display: none; }
.cookie { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px)); padding: 20px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(11,19,36,.55); border: 1px solid var(--line); display: grid; gap: 14px; font-size: 14px; animation: rise .6s var(--ease); }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }
.cookie__title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.cookie a { color: var(--blue); }
.cookie__prefs { display: grid; gap: 10px; }
.cookie__prefs[hidden] { display: none; }
.tog { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--plaster); font-size: 13px; color: #4a5266; }
.tog input { width: 18px; height: 18px; accent-color: var(--blue); margin-top: 2px; }
.tog strong { display: block; color: var(--ink); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__btns .btn { padding: .7em 1em; font-size: 13.5px; }
.cookie__btns [hidden] { display: none; }

/* ------------------------------------------------ Legal + simple pages */
.legal__hero { position: relative; padding: 170px 0 70px; color: #fff; background: var(--ink); overflow: hidden; }
.legal__glow { position: absolute; width: 800px; height: 800px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(31,94,255,.45), transparent 60%); }
.legal__hero h1 { position: relative; font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.035em; }
.legal__date { position: relative; margin-top: 18px; color: rgba(255,255,255,.6); }
.legal__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 70px 0 110px; }
.legal__toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 4px; font-size: 14px; }
.legal__toc p { font-weight: 600; margin-bottom: 8px; }
.legal__toc a { padding: 7px 12px; border-radius: 10px; text-decoration: none; color: #4a5266; border-left: 2px solid transparent; transition: background .3s, color .3s, border-color .3s; }
.legal__toc a:hover, .legal__toc a.is-active { background: #fff; color: var(--ink); border-color: var(--blue); }
.legal__body { max-width: 760px; }
.legal__body section { padding: 28px 30px; margin-bottom: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 100px; transition: box-shadow .4s, border-color .4s; }
.legal__body section:hover { border-color: rgba(31,94,255,.25); box-shadow: 0 24px 50px -36px rgba(10,42,102,.5); }
.legal__body h2 { display: flex; align-items: baseline; gap: 14px; font-size: 22px; margin-bottom: 12px; }
.legal__body h2 span { font-size: 13px; color: var(--blue); font-weight: 600; }
.legal__body p { color: #343c50; }
.legal__body p + p { margin-top: 12px; }
.legal__body a { color: var(--blue); }
.tbl { overflow-x: auto; margin-top: 16px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-weight: 600; background: var(--plaster); }
.page-simple { background: var(--ink); }
.simple { position: relative; min-height: 100svh; display: grid; place-items: center; color: #fff; text-align: center; overflow: hidden; padding: 140px 0 80px; }
.simple__glow { position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 45%, rgba(31,94,255,.35), transparent 70%); }
.simple__inner { position: relative; display: grid; justify-items: center; gap: 20px; }
.simple__mark { width: 64px; height: 64px; padding: 10px; border-radius: 18px; background: #fff; }
.simple h1 { font-size: clamp(36px, 5vw, 64px); max-width: 14em; }
.simple p { color: rgba(255,255,255,.72); max-width: 32em; }
.simple__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.simple .btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* ------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .nav__center { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .nav__toggle { display: block; }
  .cards, .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .panel--chart { grid-column: 1 / -1; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem__stack { display: none; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .split-head, .record__grid, .journey__grid, .portal__grid, .sap__grid, .org__inner, .faq__grid, .walk__grid { grid-template-columns: minmax(0, 1fr); }
  .split-head { gap: 16px; margin-bottom: 40px; }
  .split-head .section-lede { justify-self: start; }
  .journey__media { top: 76px; height: 38vh; z-index: 2; }
  .jm__ui { bottom: 64px; padding: 14px; transform-origin: left bottom; scale: .9; }
  .step { min-height: 0; padding: 24px 0; }
  .faq__side { position: static; }
  .faq__img { display: none; }
  .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 40px; }
  .legal__toc { position: static; display: flex; flex-wrap: wrap; }
  .legal__toc p { width: 100%; }
  .phone { width: 210px; right: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { padding-top: 8px; }
  .nav__inner { height: 58px; gap: 10px; padding: 0 6px 0 14px; width: calc(100% - 16px); border-radius: 18px; }
  .nav__by { display: none; }
  .nav__brand img { height: 21px; }
  .nav__cta { padding: 5px 5px 5px 14px; font-size: 13.5px; gap: 8px; }
  .nav__cta-icon { width: 28px; height: 28px; }
  .nav__toggle { width: 40px; height: 40px; }
  .hero { align-items: flex-end; background: var(--ink); }
  .hero__stage { bottom: auto; height: 64svh; }
  .hero__stage::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, var(--ink), rgba(11,19,36,0)); }
  .hero__poster { object-position: 50% 50%; }
  .hero__shade { background: linear-gradient(0deg, rgba(11,19,36,.9) 0%, rgba(11,19,36,0) 35%); }
  .hero__content { padding: 50svh 0 64px; }
  .hero__title { font-size: 38px; opacity: 0; transition: opacity 1s var(--ease); }
  .hero__title .line { display: inline; overflow: visible; padding: 0; }
  .hero__title .line > span { display: inline; transform: none; }
  .hero.is-ready .hero__title { opacity: 1; }
  .problem__track { height: 180vh; }
  .cards, .mods, .rules, .dash__kpis, .sap__points, .stats { grid-template-columns: minmax(0, 1fr); }
  .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__main { grid-template-columns: minmax(0, 1fr); }
  .dash { padding: 12px; border-radius: 22px; }
  .dash__tabs { margin-left: 0; width: 100%; overflow-x: auto; }
  .card { min-height: 0; }
  .card__num { font-size: 72px; }
  .mod { min-height: 0; }
  .banner__chip { left: 12px; right: 12px; bottom: 12px; font-size: 12.5px; white-space: normal; }
  .record__stage { height: auto; min-height: 420px; }
  .portal__visual { padding: 0 0 60px; }
  .phone { width: 180px; right: 10px; bottom: 0; }
  .portal__chip { top: 14px; left: 14px; }
  .arch__link em { left: 14px; font-size: 11.5px; }
  .form { padding: 20px; border-radius: 22px; }
  .form__row, .form__row--3 { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa summary { font-size: 16.5px; padding: 18px; }
  .qa__a { padding: 0 18px 18px; }
  .legal__body section { padding: 22px 20px; }
}
@media (hover: none) { .record__canvas { cursor: default; } }

/* ------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span, .hero__lede, .hero__ctas, .hero__cred { transform: none; opacity: 1; }
  .problem__track { height: auto; }
  .problem__sticky { position: relative; height: auto; min-height: 100vh; padding: 120px 0; }
  .problem__frame { clip-path: none; }
  .problem__tint { opacity: 1; }
  .problem__title, .problem__lede { opacity: 1; transform: none; }
  .problem__list li { opacity: 1; transform: none; }
  .card, .mod, .rule, .kpi { transform: none !important; }
  .b, .prog__bar i, .earn__bars i { transform: none; }
  .ring__a, .ring__b, .ring__c { stroke-dasharray: var(--p) 100; }
  .phone:not(.is-in) { transform: none; }
}

/* =====================================================================
   v3 updates: colourful steps, compact form, colourful portal points,
   live dashboard, Blender flat tower
   ===================================================================== */

/* ---------- Journey steps: each step has its own colour ---------- */
.step:nth-child(1) { --c1: #1F5EFF; --c2: #0A2A66; --tint: #E3EBFF; }
.step:nth-child(2) { --c1: #14A38F; --c2: #0B4F5C; --tint: #DDF4EF; }
.step:nth-child(3) { --c1: #D9693F; --c2: #7A2C17; --tint: #FCE6DC; }
.step:nth-child(4) { --c1: #8E4FC4; --c2: #3E1A6B; --tint: #EFE4FB; }
.step:nth-child(5) { --c1: #E0A43A; --c2: #8A4E12; --tint: #FCF0D9; }
.step:nth-child(6) { --c1: #0EA5C6; --c2: #0B4A6B; --tint: #DCF3FA; }
.step:nth-child(7) { --c1: #E0527A; --c2: #7A1E3E; --tint: #FCE3EA; }
.step:nth-child(8) { --c1: #4F5BD5; --c2: #232A7A; --tint: #E6E8FB; }
.journey__steps { padding-right: 4px; }
.journey__steps::before { background: linear-gradient(#1F5EFF, #14A38F, #D9693F, #8E4FC4, #E0A43A, #0EA5C6, #E0527A, #4F5BD5); opacity: .35; width: 2px; left: 38px; }
.step { position: relative; isolation: isolate; margin: 6px 0; padding: 26px 24px 26px 10px; border-radius: 22px; transition: transform .5s var(--ease); }
.step::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: linear-gradient(120deg, var(--tint), rgba(255,255,255,0) 75%); border: 1px solid transparent; opacity: 0; transition: opacity .5s var(--ease), border-color .5s; }
.step::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: radial-gradient(140% 120% at 0% 50%, var(--c1), var(--c2)); clip-path: inset(0 100% 0 0 round 22px); transition: clip-path .7s var(--ease); }
.step__n { width: 56px; height: 56px; color: var(--c1); border-color: color-mix(in srgb, var(--c1) 30%, #fff); background: #fff; }
.step h3 { padding-top: 10px; }
.step.is-on::before { opacity: 1; border-color: color-mix(in srgb, var(--c1) 22%, transparent); }
.step.is-on .step__n { background: linear-gradient(135deg, var(--c1), var(--c2)); border-color: transparent; color: #fff; box-shadow: 0 12px 28px -10px var(--c1), 0 0 0 6px color-mix(in srgb, var(--c1) 14%, transparent); }
.step.is-on h3 { color: var(--c2); }
@media (hover: hover) {
  .step:hover { transform: translateX(6px); }
  .step:hover::after { clip-path: inset(0 0 0 0 round 22px); }
  .step:hover .step__n { background: #fff; color: var(--c1); border-color: transparent; box-shadow: 0 10px 26px -8px rgba(0,0,0,.35); transform: scale(1.08) rotate(-6deg); }
  .step:hover h3 { color: #fff; }
  .step:hover p { color: rgba(255,255,255,.85); }
}
.journey__bar i { background: linear-gradient(90deg, #1F5EFF, #14A38F, #E0A43A, #E0527A); }

/* ---------- Walkthrough form: smaller and more refined ---------- */
.walk__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: center; }
/* Colour edge lives in the form's own border (padding-box white, border-box gradient), so it stays visible after the reveal */
.form { position: relative; gap: 10px; padding: 24px 24px 22px; border-radius: 24px; border: 2px solid transparent; background: linear-gradient(rgba(255,255,255,.98), rgba(255,255,255,.98)) padding-box, linear-gradient(120deg, #1F5EFF, #14A38F 25%, #8E4FC4 50%, #D9693F 75%, #1F5EFF) border-box; background-size: 100% 100%, 300% 300%; box-shadow: 0 50px 100px -40px rgba(0,0,0,.75), 0 0 46px -14px rgba(31,94,255,.55), 0 0 60px -20px rgba(142,79,196,.45); animation: formEdge 9s ease-in-out infinite alternate; }
@keyframes formEdge { from { background-position: 0 0, 0% 50%; } to { background-position: 0 0, 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .form { animation: none; } }

.form__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.form__head .i { width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 8px 20px -8px rgba(31,94,255,.8); }
.form__head strong { display: block; font-size: 16px; color: var(--ink); }
.form__head span { font-size: 12.5px; color: var(--concrete); }
.form__row { gap: 10px; align-items: end; }
.form__row--3 { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.1fr); }
.fld { gap: 4px; font-size: 12.5px; color: #4a5266; }
.fld input, .fld select, .fld textarea, .phonef select, .phonef input { font-size: 15px; padding: 9px 12px; border-radius: 10px; background: #F6F7FA; border: 1px solid transparent; box-shadow: inset 0 0 0 1px rgba(11,19,36,.08); }
.fld textarea { min-height: 62px; }
.phonef { grid-template-columns: 112px minmax(0, 1fr); gap: 6px; }
.fld input:hover, .fld select:hover, .fld textarea:hover, .phonef select:hover, .phonef input:hover { box-shadow: inset 0 0 0 1px rgba(31,94,255,.35); }
.fld input:focus, .fld select:focus, .fld textarea:focus, .phonef select:focus, .phonef input:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,94,255,.12); }
.consent { font-size: 12.5px; gap: 10px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; }
.form__btn { padding: .9em 1.4em; font-size: 15px; background: linear-gradient(110deg, #1F5EFF, #3B6BFF 45%, #14A38F); background-size: 200% 100%; transition: background-position .6s var(--ease), transform .3s var(--ease), box-shadow .3s; }
.form__btn:hover { background-position: 100% 0; }
@media (max-width: 900px) { .walk__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 760px) {
  .form { padding: 18px; }
  .fld input, .fld select, .fld textarea, .phonef select, .phonef input { font-size: 16px; }
}

/* ---------- Buyer portal points: colourful ---------- */
.ticks li:nth-child(1) { --c1: #1F5EFF; --c2: #0A2A66; --tint: #E3EBFF; }
.ticks li:nth-child(2) { --c1: #14A38F; --c2: #0B4F5C; --tint: #DDF4EF; }
.ticks li:nth-child(3) { --c1: #8E4FC4; --c2: #3E1A6B; --tint: #EFE4FB; }
.ticks li { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(110deg, var(--tint), #fff 70%); border-color: color-mix(in srgb, var(--c1) 22%, #fff); }
.ticks li::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(140% 140% at 0% 50%, var(--c1), var(--c2)); clip-path: circle(0% at 30px 50%); transition: clip-path .7s var(--ease); }
.ticks li .i { color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 10px 22px -10px var(--c1); }
.ticks li span { transition: color .4s; }
.ticks li:hover { border-color: transparent; box-shadow: 0 24px 44px -24px var(--c1); }
.ticks li:hover::after { clip-path: circle(150% at 30px 50%); }
.ticks li:hover .i { background: rgba(255,255,255,.2); color: #fff; }
.ticks li:hover span { color: #fff; }

/* ---------- Dashboard: live motion ---------- */
.dash__live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,.75); }
.dash__live i { width: 8px; height: 8px; border-radius: 50%; background: #3FD3B5; box-shadow: 0 0 0 0 rgba(63,211,181,.6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(63,211,181,0); } }
.dash.is-live .b { transition: height 1.1s cubic-bezier(.45,.05,.25,1), filter .3s, box-shadow .3s; }
.ring svg { animation: spin 14s linear infinite; }
.ring:hover svg { animation-duration: 5s; }
@keyframes spin { to { transform: rotate(270deg); } from { transform: rotate(-90deg); } }
.ring::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: spin2 22s linear infinite reverse; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.ring__c-label strong { font-variant-numeric: tabular-nums; }
.prog__bar { position: relative; }
.prog__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-100%); animation: shimmer 2.6s var(--ease) infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.prog__bar i { transition: transform 1.2s var(--ease), width 1.1s var(--ease); }
.feed__row { animation: feedin .6s var(--ease); }
@keyframes feedin { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .ring svg, .ring::before, .prog__bar::after, .dash__live i { animation: none !important; }
  .step::after, .ticks li::after { display: none; }
}

/* =====================================================================
   v4: one record section, Blender construction film + interactive tower
   ===================================================================== */
.record__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "head stage" "panel stage"; gap: 28px 56px; align-items: center; }
.record__head { grid-area: head; align-self: end; }
.record__panel { grid-area: panel; align-self: start; }
.record__panel .legend { margin-top: 0; }
.record__stage { grid-area: stage; position: relative; width: 100%; max-width: 660px; justify-self: end; aspect-ratio: 1 / 1; height: auto; border-radius: 30px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #1b3a7a 0%, #0f1f45 72%); border: 1px solid rgba(157,184,255,.18); box-shadow: 0 60px 120px -60px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06); }
.record__stage::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 30%); }
.record__film, .record__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.record__film { object-fit: cover; transition: opacity .9s var(--ease); }
.record__canvas { opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.record.is-3d .record__canvas { opacity: 1; pointer-events: auto; }
.record.is-3d .record__film { opacity: 0; }
.record__chip { position: absolute; z-index: 4; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px; border-radius: 999px; background: rgba(11,19,36,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 500; color: #fff; }
.record__chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--chip, #E0A43A); box-shadow: 0 0 0 4px color-mix(in srgb, var(--chip, #E0A43A) 25%, transparent); transition: background .4s; }
.record__replay { position: absolute; z-index: 4; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; font: 500 13px var(--font); cursor: pointer; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease), background .3s; }
.record__replay:hover { background: rgba(255,255,255,.18); }
.record.is-done .record__replay { opacity: 1; transform: none; }
.record__progress { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 16px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; transition: opacity .5s; }
.record__progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #E0A43A, #1F5EFF, #3FD3B5); }
.record.is-done .record__progress { opacity: 0; }
.record__tip { z-index: 5; }
.record .hint span { color: rgba(255,255,255,.6); }
@media (max-width: 900px) {
  .record__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "panel"; gap: 28px; }
  .record__stage { justify-self: center; max-width: 560px; }
}
@media (max-width: 760px) {
  .record__stage { border-radius: 24px; }
  .record__chip { left: 12px; top: 12px; font-size: 12px; }
  .record__replay { right: 12px; top: 12px; }
  .record__panel .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .record__panel .legend li { font-size: 14px; padding: 10px 11px; gap: 9px; white-space: nowrap; }
  .record__panel .flatcard { max-width: none; }
}

/* hero: picture wrapper fills the stage */
.hero__stage picture { position: absolute; inset: 0; }
.hero__canvas { image-rendering: auto; }

@media (max-width: 760px) { .banner { height: auto; aspect-ratio: 1 / 1; border-radius: 22px; } .banner img { height: 108%; object-position: 56% 48%; } .banner__chip { left: 12px; right: auto; bottom: 12px; max-width: calc(100% - 24px); padding: 8px 12px; font-size: 12px; line-height: 1.35; gap: 8px; } }

/* ---------- hero fallback: the HD poster builds up floor by floor, then keeps moving ---------- */
.hero.is-fallback .hero__stage picture { animation: heroBuild 3.4s steps(18, end) both, heroSway 14s ease-in-out 3.4s infinite; transform-origin: 60% 70%; }
.hero.is-fallback .hero__stage::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(92,139,255,.9), transparent); box-shadow: 0 0 18px rgba(92,139,255,.8); animation: heroScan 3.4s steps(18, end) both; pointer-events: none; }
@keyframes heroBuild { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroScan { from { bottom: 0; opacity: 1; } 95% { opacity: 1; } to { bottom: 100%; opacity: 0; } }
@keyframes heroSway {
  0%, 100% { transform: scale(1.02) translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: scale(1.045) translate3d(-1.2%, -0.6%, 0) rotate(-0.4deg); }
  50% { transform: scale(1.03) translate3d(0.8%, -1%, 0) rotate(0.3deg); }
  75% { transform: scale(1.05) translate3d(1.2%, 0.4%, 0) rotate(0.2deg); }
}
@media (prefers-reduced-motion: reduce) { .hero.is-fallback .hero__stage picture, .hero.is-fallback .hero__stage::before { animation: none; } }
