/* Modern skin for AiRE Estate pages: softer, rounded, sans-serif labels in the
   style of 21st.dev / shadcn components. Loaded after each page's own styles,
   so it only adjusts look and never changes content. Delete the <link> to undo. */

:root{ --mn:'Manrope','Helvetica Neue',Helvetica,Arial,sans-serif; --r-lg:18px; --r-md:12px }

/* Labels: keep them small and calm, not typewriter caps. */
.kick,.htag,.figlab,.mod .mk,.mod .rt,.cell .cl,.cell .cn,.contact .cl,.grid .n,
.tier .flag,.tier .nm,.finalsale .ic,.svc .rate span,.cardtop .ct1,.cardfoot,
.badge .bt,.card .holder,.pipehd,.quote .rl,.railbar .ct,.scrollmark,.tkr,
.truth .tn,.vnote,.st .sn,.pc .pt,.peek .t,.howmade .pl,.promptbox .pl{
  letter-spacing:.06em; font-weight:600 }

/* Navigation reads like a modern app bar. */
.navlinks a{ text-transform:none; letter-spacing:0; font-size:.94rem; font-weight:500 }
.mtoggle{ border-radius:999px; text-transform:none; letter-spacing:0 }

/* Buttons: pill shape, sentence case, a soft glow. */
.btn{ border-radius:999px; text-transform:none; letter-spacing:0; font-weight:700;
  box-shadow:0 8px 24px -10px rgba(56,189,248,.55) }
.btn.sec{ box-shadow:none }

/* Cards and panels: rounded corners and a faint glass edge. */
.card,.tier,.mod,.pc,.peek figure,.promptbox,.quote,.st,.stats,.truth,.howmade,
.need,.pipe,.contact,.finalsale,.svc>div,.grid>div,.badge{
  border-radius:var(--r-lg) }
.card,.tier,.mod,.pc,.quote,.truth,.svc>div,.grid>div{
  background-image:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,0));
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -24px rgba(0,0,0,.6) }
.stats{ overflow:hidden }
.stats>*{ border-radius:0 }
.card,.tier{ overflow:hidden }
video,.peek img{ border-radius:var(--r-md) }

/* Prompt text stays monospaced on purpose: it is something you type. */
.promptbox p{ font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace }

/* Questions and answers read as soft rows. */
details{ border-radius:var(--r-md) }

/* The Enroll button in the top bar matches the other buttons. */
.apply{ border-radius:999px; text-transform:none; letter-spacing:0; font-weight:700;
  box-shadow:0 8px 24px -10px rgba(56,189,248,.55) }

/* The "Start here" tag tucks into the rounded corner. */
.tier .flag{ border-radius:0 0 0 var(--r-md) }

/* ---------- Motion layer (used with modern-motion.js) ---------- */
.mx-aurora{position:fixed;inset:0;z-index:1;pointer-events:none;overflow:hidden;mix-blend-mode:screen;opacity:.18}
.mx-aurora i{position:absolute;width:55vmax;height:55vmax;border-radius:50%;filter:blur(90px);opacity:.9;
  animation:mx-drift 22s ease-in-out infinite alternate}
.mx-aurora i:nth-child(1){background:#0ea5e9;left:-15vmax;top:-20vmax}
.mx-aurora i:nth-child(2){background:#db2777;right:-20vmax;top:10vmax;animation-duration:28s;animation-delay:-6s}
.mx-aurora i:nth-child(3){background:#7c3aed;left:20vmax;bottom:-30vmax;animation-duration:32s;animation-delay:-12s}
@keyframes mx-drift{0%{transform:translate(0,0) scale(1)}50%{transform:translate(8vmax,6vmax) scale(1.15)}100%{transform:translate(-6vmax,10vmax) scale(.95)}}

.mx-progress{position:fixed;left:0;right:0;top:0;height:3px;z-index:120;transform-origin:0 50%;transform:scaleX(0);
  background:linear-gradient(90deg,#38bdf8,#a78bfa,#f472b6);box-shadow:0 0 12px rgba(56,189,248,.8)}
.mx-burst{position:fixed;inset:0;width:100vw;height:100vh;z-index:95;pointer-events:none}

/* Headline gradient shimmers. */
h1 em.cc{background-image:linear-gradient(90deg,#38bdf8,#a78bfa,#f472b6,#a78bfa,#38bdf8)!important;background-size:200% auto!important;animation:mx-shimmer 6s linear infinite}
@keyframes mx-shimmer{to{background-position:200% center}}

/* Cards: a spotlight follows the cursor, and they tilt gently. */
.mx-lit{transition:transform .45s cubic-bezier(.23,1,.32,1), box-shadow .25s ease}
.mx-lit.mx-track{transition:transform 80ms linear, box-shadow .25s ease}
.mx-lit:hover{box-shadow:0 30px 60px -28px rgba(56,189,248,.45), 0 0 0 1px rgba(56,189,248,.25)}
.mx-lit{background-image:radial-gradient(420px circle at var(--mx,-999px) var(--my,-999px),rgba(56,189,248,.16),transparent 45%),
  linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,0))!important}

/* Prices pop when they arrive; buttons breathe. */
.mx-pop{animation:mx-pop .5s cubic-bezier(.23,1,.32,1)}
@keyframes mx-pop{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
.btn.pri,.apply{animation:mx-breathe 3.2s ease-in-out infinite}
@keyframes mx-breathe{0%,100%{box-shadow:0 8px 24px -10px rgba(56,189,248,.55)}50%{box-shadow:0 10px 34px -6px rgba(56,189,248,.9)}}

/* Off switches: the page's Motion toggle and the visitor's own setting. */
html[data-motion="off"] .mx-aurora i,html[data-motion="off"] h1 em,html[data-motion="off"] .cc,
html[data-motion="off"] .btn.pri,html[data-motion="off"] .apply{animation:none!important}
@media (prefers-reduced-motion:reduce){.mx-aurora i,h1 em,.cc,.btn.pri,.apply,.mx-pop{animation:none!important}.mx-lit{transition:none}}

/* Hero: the real AI drone flight replaces the point cloud. */
.mx-herovid{position:absolute;inset:0;z-index:0;overflow:hidden}
.mx-herovid video{position:absolute;right:0;top:0;width:74%;height:min(100vh,860px);object-fit:cover;object-position:62% 45%;opacity:.95;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 38%,#000 100%);mask-image:linear-gradient(90deg,transparent 0%,#000 38%,#000 100%);
  animation:mx-slowzoom 18s ease-in-out infinite alternate}
.mx-herovid::after{content:"";position:absolute;left:0;right:0;top:0;height:min(100vh,860px);background:linear-gradient(180deg,rgba(4,7,13,0) 55%,rgba(4,7,13,1) 100%)}
.mx-ailabel{position:absolute;right:20px;top:calc(min(100vh,860px) - 120px);z-index:2;font:600 11px/1 Manrope,system-ui,sans-serif;letter-spacing:.06em;
  color:#e0f2fe;background:rgba(4,7,13,.6);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:7px 11px}
@keyframes mx-slowzoom{from{transform:scale(1)}to{transform:scale(1.08)}}
/* Phones: the house gets its own clear, full-color frame above the headline. */
@media (max-width:760px){
  .mx-herovid{position:relative;inset:auto;z-index:3;margin:0 16px 22px;aspect-ratio:16/10;border-radius:18px;
    border:1px solid rgba(255,255,255,.14);box-shadow:0 24px 50px -20px rgba(56,189,248,.55)}
  .mx-herovid video{inset:0;width:100%;height:100%;opacity:1;object-position:60% 50%;-webkit-mask-image:none;mask-image:none}
  .mx-herovid::after{display:none}
  .mx-ailabel{top:auto;bottom:10px;right:10px;font-size:10px;padding:5px 9px}
}
html[data-motion="off"] .mx-herovid video{animation:none}
@media (prefers-reduced-motion:reduce){.mx-herovid video{animation:none}}

/* "Real Estate" gets the same weight as "Claude Code", in a warm-to-blue blend. */
h1 em.cc.re{background-image:linear-gradient(90deg,#fbbf24,#f472b6,#38bdf8,#f472b6,#fbbf24)!important}

/* "Compared with the top AI programs": text beside a phone-shaped video. */
#compare .cmp{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;align-items:center}
#compare .cmp-note{font-size:.82rem;color:var(--dim,#8496b2);max-width:60ch}
#compare .cmp-vid{margin:0;justify-self:center;width:100%;max-width:320px}
#compare .cmp-vid video{display:block;width:100%;aspect-ratio:9/16;background:#04070d;border-radius:22px;
  border:1px solid rgba(255,255,255,.14);box-shadow:0 24px 50px -20px rgba(56,189,248,.55)}
#compare .cmp-vid figcaption{margin-top:10px;text-align:center;font:600 12px/1 Manrope,system-ui,sans-serif;letter-spacing:.06em;color:#8496b2}
@media (max-width:760px){#compare .cmp{grid-template-columns:1fr;gap:28px}#compare .cmp-vid{max-width:300px}}

/* Footer: use the full width. Logo, company line and links across the top; the
   notices flow in newspaper columns below; tight padding, no dead space at the bottom. */
footer{padding-block:28px 18px!important}
footer>.inner{max-width:none!important;column-count:3;column-gap:40px}
footer>.inner>.lock,footer>.inner>.legal:nth-of-type(1),footer>.inner>.legal:nth-of-type(2){column-span:all}
footer>.inner>.lock{display:block}
footer>.inner>.legal:nth-of-type(1){margin-top:10px!important}
footer .legal{max-width:none!important;line-height:1.5!important;margin:0 0 10px!important;break-inside:avoid}
@media (max-width:1100px){footer>.inner{column-count:2}}
@media (max-width:640px){footer>.inner{column-count:1}}

/* ---------- Feel pass (Apple's fluid-interface rules, Nov 2026) ---------- */
/* Feedback on the press, not the release: anything tappable sinks slightly the
   instant it is pressed. No grey flash or 300ms wait on phones. */
.btn,.apply,.mtoggle,summary,.navlinks a,.mchip{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.btn:active,.apply:active,.mtoggle:active{transform:scale(.97)!important;transition:transform 100ms ease-out!important}
summary:active{opacity:.75}

/* Hover lifts only where there is a real pointer; on phones they stuck after a tap. */
@media (hover:none){
  .btn.pri:hover,.btn.sec:hover{transform:none}
  .mx-lit:hover{box-shadow:0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -24px rgba(0,0,0,.6)}
}

/* The top bar is a material: a little more blur and colour, content scrolls under it. */
.nav{backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%)}

/* Visitors who ask for less transparency or more contrast get a solid bar. */
@media (prefers-reduced-transparency:reduce){
  .nav,.nav.stuck{background:#04070d!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .mx-aurora{display:none}
}
@media (prefers-contrast:more){
  .nav,.nav.stuck{background:#04070d!important;border-bottom-color:rgba(255,255,255,.5)!important}
}

/* ---------- Phone menu (phone-menu.js) ---------- */
/* Hidden on wide screens, where the bar already shows every link. */
.mx-menubtn,.mx-scrim,.mx-menu{display:none}
@media (max-width:860px){
  /* A page with one link keeps it in the bar. */
  .navlinks a.mx-solo{display:inline!important}

  .mx-menubtn{display:inline-flex;align-items:center;gap:9px;font:600 .9rem/1 var(--mn,Manrope),system-ui,sans-serif;
    color:#fff;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-radius:999px;
    padding:9px 14px;min-height:40px;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
  .mx-menubtn:active{transform:scale(.97);transition:transform 100ms ease-out}
  .mx-menubtn:focus-visible{outline:2px solid var(--sig,#38bdf8);outline-offset:3px}
  .mx-burger{position:relative;width:14px;height:10px}
  .mx-burger i{position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;
    transition:transform .24s cubic-bezier(.23,1,.32,1),top .24s cubic-bezier(.23,1,.32,1)}
  .mx-burger i:first-child{top:1px} .mx-burger i:last-child{top:7px}
  .mx-menu-open .mx-burger i:first-child{top:4px;transform:rotate(45deg)}
  .mx-menu-open .mx-burger i:last-child{top:4px;transform:rotate(-45deg)}

  /* Dim the page behind, so the menu is the one thing in focus. */
  .mx-scrim{display:block;position:fixed;inset:0;z-index:68;background:rgba(2,4,8,.5);
    opacity:0;pointer-events:none;transition:opacity .22s ease}
  .mx-menu-open .mx-scrim{opacity:1;pointer-events:auto}

  /* The panel drops from the top bar, under the Menu button, and goes back the same way. */
  .mx-menu{display:block;position:fixed;z-index:69;right:12px;left:12px;
    top:calc(env(safe-area-inset-top,0px) + var(--nav,60px) + 8px);
    max-height:calc(100dvh - var(--nav,60px) - 32px);overflow:auto;overscroll-behavior:contain;
    padding:8px;border-radius:18px;background:rgba(8,12,22,.84);
    backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);
    border:1px solid rgba(255,255,255,.12);box-shadow:0 30px 60px -20px rgba(0,0,0,.8),0 0 0 1px rgba(56,189,248,.08);
    transform-origin:top right;opacity:0;transform:translateY(-8px) scale(.97);visibility:hidden;
    transition:opacity .18s ease,transform .18s cubic-bezier(.23,1,.32,1),visibility 0s linear .18s}
  .mx-menu-open .mx-menu{opacity:1;transform:none;visibility:visible;
    transition:opacity .24s ease,transform .32s cubic-bezier(.23,1,.32,1),visibility 0s}
  .mx-menu nav{display:flex;flex-direction:column}
  .mx-menu a,.mx-menumotion{display:flex;align-items:center;min-height:48px;padding:0 14px;border-radius:12px;
    font:600 1.05rem/1.2 var(--mn,Manrope),system-ui,sans-serif;letter-spacing:0;color:#f1f5f9;text-decoration:none;
    -webkit-tap-highlight-color:transparent;touch-action:manipulation}
  .mx-menu a:active,.mx-menumotion:active{background:rgba(56,189,248,.14)}
  .mx-menu a:focus-visible,.mx-menumotion:focus-visible{outline:2px solid var(--sig,#38bdf8);outline-offset:-2px}
  .mx-menu a+a{border-top:1px solid rgba(255,255,255,.06)}
  .mx-menumotion{width:100%;gap:10px;margin-top:6px;border:0;border-top:1px solid rgba(255,255,255,.1);border-radius:0 0 12px 12px;
    background:none;font-size:.9rem;color:#94a3b8;cursor:pointer}
  .mx-menumotion i{width:7px;height:7px;border-radius:50%;background:var(--sig,#38bdf8)}
  .mx-menumotion[aria-pressed="false"] i{background:#475569}
  html.mx-menu-open,html.mx-menu-open body{overflow:hidden}
}
/* Narrow phones: the bar is full, so the button keeps only its icon (screen readers still hear "Menu"). */
@media (max-width:520px){
  .mx-menubtn{width:42px;height:42px;padding:0;justify-content:center}
  .mx-menulabel{display:none}
  .navlinks{gap:10px}
}
/* Smallest phones (iPhone SE, small Androids): win back room so Enroll stays on screen. */
@media (max-width:380px){
  .nav{gap:10px}
  .nav .dotpulse{display:none}
  .navlinks{gap:6px}
  .mx-menubtn{width:38px;height:38px;min-height:38px}
  .navlinks .apply{padding-inline:12px}
}
@media (max-width:860px) and (prefers-reduced-motion:reduce){
  .mx-menu,.mx-menu-open .mx-menu{transform:none}
  .mx-burger i{transition:none}
}
@media (max-width:860px) and (prefers-reduced-transparency:reduce){
  .mx-menu{background:#0b111c;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media (max-width:860px) and (prefers-contrast:more){
  .mx-menu{background:#04070d;border-color:rgba(255,255,255,.6)}
}

/* While the phone menu is open, the AiRE chat button steps aside. */
html.mx-menu-open #aire-chat-btn,html.mx-menu-open #aire-chat-tip{opacity:0!important;transform:scale(.9)!important;pointer-events:none!important}

/* ---------- Calm pass: motion that plays, then rests ---------- */
/* Apple's rule: motion earns its place. Effects that looped forever now play a
   few times when the page opens and then settle, so the page goes still while
   people read. Content strips (ticker, video strip) and the diagram drawings
   still move; they carry information. */
.btn.pri,.apply{animation-iteration-count:2}          /* glow breathes twice */
h1 em.cc{animation-iteration-count:1}                 /* one shimmer sweep */
.dotpulse{animation-iteration-count:3}                /* three pulses by the logo */
.hscan{animation-iteration-count:2;animation-fill-mode:forwards} /* two sweeps, then out of view */
.scrollmark::after{animation-iteration-count:3}       /* scroll cue nudges three times */
.tex::after{animation:none}                           /* film grain stays as a still texture */
