/* Nexus Rising: nexusrising.co. Built from docs/design/nexusrising/concepts/r6-final.html (approved 2026-12-03). */
@font-face{font-family:"Hanken Grotesk";src:url("/vendor/fonts/HankenGrotesk-Variable.ttf") format("truetype");font-weight:100 900;font-display:swap}

:root{
  --bg:#fbfaf7; --ink:#16181a; --muted:#575b60; --accent:#06596F;
  --card:rgba(255,255,255,.6); --card-hi:rgba(255,255,255,.95); --card-edge:rgba(22,24,26,.075); --card-edge-h:rgba(22,24,26,.13);
  --card-shadow:0 1px 2px rgba(22,24,26,.04),0 28px 56px -32px rgba(6,40,50,.28);
  --well:rgba(244,241,234,.7); --hair:rgba(22,24,26,.07);
  --glass:#f3f0e9; --nav-hover:#e9e6e0; --ring:rgba(22,24,26,.14); --ring-h:rgba(22,24,26,.26); --tint:rgba(22,24,26,.045); --div:rgba(22,24,26,.16);
  --g1:rgba(246,170,84,.4); --g1b:rgba(243,214,180,.42);
  --g2:rgba(134,203,219,.36); --g2b:rgba(243,226,199,.42);
  --g3:rgba(244,196,170,.4);  --g3b:rgba(170,214,224,.3);
  --edge-light:rgba(6,89,111,.4); --spot:rgba(246,178,92,.32);
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --grain-o:.1;
  --sans:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --ease:cubic-bezier(.2,.8,.2,1);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root[data-theme="auto"]{--bg:#0a0b0c;--ink:#ededed;--muted:#a8a8a8;--accent:#86cbdb;
    --card:rgba(21,22,23,.6);--card-hi:rgba(237,237,237,.09);--card-edge:rgba(237,237,237,.06);--card-edge-h:rgba(237,237,237,.12);
    --card-shadow:0 0 0 transparent;
    --well:rgba(10,11,12,.55);--hair:rgba(237,237,237,.08);
    --glass:#1e1f20;--nav-hover:#2c2d2e;--ring:rgba(237,237,237,.2);--ring-h:rgba(237,237,237,.34);--tint:rgba(237,237,237,.07);--div:rgba(237,237,237,.28);
    --g1:rgba(236,132,56,.5);--g1b:rgba(150,62,48,.2);
    --g2:rgba(52,150,176,.48);--g2b:rgba(6,89,111,.34);
    --g3:rgba(243,226,199,.2);--g3b:rgba(6,70,88,.42);
    --edge-light:rgba(243,226,199,.42);--spot:rgba(233,150,44,.26);
    --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");--grain-o:.06;
    color-scheme:dark}
}
:root[data-theme="dark"]{--bg:#0a0b0c;--ink:#ededed;--muted:#a8a8a8;--accent:#86cbdb;
    --card:rgba(21,22,23,.6);--card-hi:rgba(237,237,237,.09);--card-edge:rgba(237,237,237,.06);--card-edge-h:rgba(237,237,237,.12);
    --card-shadow:0 0 0 transparent;
    --well:rgba(10,11,12,.55);--hair:rgba(237,237,237,.08);
    --glass:#1e1f20;--nav-hover:#2c2d2e;--ring:rgba(237,237,237,.2);--ring-h:rgba(237,237,237,.34);--tint:rgba(237,237,237,.07);--div:rgba(237,237,237,.28);
    --g1:rgba(236,132,56,.5);--g1b:rgba(150,62,48,.2);
    --g2:rgba(52,150,176,.48);--g2b:rgba(6,89,111,.34);
    --g3:rgba(243,226,199,.2);--g3b:rgba(6,70,88,.42);
    --edge-light:rgba(243,226,199,.42);--spot:rgba(233,150,44,.26);
    --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");--grain-o:.06;
    color-scheme:dark}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:400 18px/1.35 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
h1,h2,h3,p{margin:0;font-weight:400;text-wrap:pretty}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:8px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;background:var(--bg);padding:8px 12px;z-index:70}

.site{position:relative;background:var(--bg);color:var(--ink);container-type:inline-size;min-height:100vh;overflow:clip}
.home,.privacy,.nf{position:relative;z-index:1}
.wrap{max-width:1208px;margin:0 auto;padding:0 24px}

.nav{position:sticky;top:calc(var(--rb,0px) + 16px);z-index:60;display:flex;justify-content:center;margin-top:16px;height:56px;pointer-events:none}
.nav-in{position:relative;display:flex;gap:10px;pointer-events:auto}
.nav-shape{position:absolute;inset:0;width:100%;height:100%;overflow:visible;opacity:0}
.nav-shape path{fill:var(--glass)}
.nav.shaped .nav-shape{opacity:1}
.seg{position:relative;display:flex;height:56px;padding:6px;border-radius:28px}
.nav:not(.shaped) .seg{background:var(--glass)}
.pin{display:flex;align-items:center;height:44px;border-radius:22px;box-shadow:inset 0 0 0 1px var(--ring);font-size:16px;white-space:nowrap}
.seg-links .pin{padding:0 4px}

.pin a{display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;border-radius:17px;text-decoration:none;color:var(--muted)}
.pin a:hover{background:var(--nav-hover);color:var(--ink)}
.pin a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.pin a img{width:20px;height:20px;border-radius:20%;display:block}
.pin .div{flex:none;width:1px;height:18px;background:var(--div)}
.pin a.at-btn{border-radius:17px 0 0 17px;margin:0 5px 0 1px}
.pin a.txt{border-radius:0 17px 17px 0;margin:0 1px 0 5px}

.hero{position:relative;z-index:1;padding:112px 0 0;text-align:center}
.hero h1{margin:0 auto;font-size:88px;line-height:1.02;letter-spacing:-.02em;text-wrap:balance}
.ph{display:inline-block}

.cards{position:relative;isolation:isolate;margin-top:104px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.cards>.card{grid-row:span 3;display:grid;grid-template-rows:subgrid;row-gap:0}
.card{position:relative;border-radius:28px;padding:36px;background:var(--card);
  box-shadow:inset 0 1px 0 var(--card-hi),inset 0 0 0 1px var(--card-edge),var(--card-shadow);
  transition:box-shadow .3s ease,transform .3s var(--ease)}
.card .head{display:flex;align-items:center;gap:24px}
.card .head img{width:56px;height:56px;border-radius:20%;display:block}
.card .tt{display:flex;flex-direction:column;gap:8px}
.card h2,.card h3{font-size:32px;line-height:1.05;letter-spacing:-.015em}
.card .meta{font-size:15.75px;line-height:1.2;color:var(--muted)}
.card .line{margin-top:18px}
.card .well{position:relative;margin-top:32px;min-height:300px;border-radius:16px;background:var(--well);display:grid;place-items:center;padding:24px}
.card .well::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px var(--hair);pointer-events:none}
.card .well>img{width:152px;height:152px;border-radius:20%;display:block;
  box-shadow:0 1px 2px rgba(0,0,0,.12),0 24px 48px -16px rgba(6,40,50,.45);
  transition:transform .7s var(--ease),box-shadow .7s var(--ease)}
.card.product h3 a{text-decoration:none}
.card.product h3 a::after{content:"";position:absolute;inset:0;border-radius:28px;z-index:2}
.card.product h3 a:focus-visible{outline:none}
.card.product:has(a:focus-visible){outline:2px solid var(--accent);outline-offset:4px}
@media (hover:hover){
  .card.product:hover{box-shadow:inset 0 1px 0 var(--card-hi),inset 0 0 0 1px var(--card-edge-h),var(--card-shadow)}
  .card.product:hover .well>img{transform:translateY(-8px);box-shadow:0 1px 2px rgba(0,0,0,.12),0 36px 56px -18px rgba(6,40,50,.5)}
}
.card.product:active{transform:scale(.995)}
.email{position:relative;z-index:2;font-size:30px;letter-spacing:-.015em;color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em;text-decoration-color:var(--ring-h);overflow-wrap:anywhere;text-align:center;transition:color .15s ease,text-decoration-color .15s ease}
.email:hover{color:var(--accent);text-decoration-color:currentColor}
.noscript{font-size:17px;color:var(--muted);text-align:center}

footer .in{display:flex;justify-content:space-between;gap:16px;padding:156px 0 32px;font-size:15.75px;color:var(--muted)}
footer a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--ring);transition:color .15s ease,text-decoration-color .15s ease}
footer a:hover{color:var(--ink);text-decoration-color:currentColor}

.prose{max-width:34em;margin:48px auto 0;text-align:center;font-size:22px;line-height:1.35;color:var(--muted)}
.prose p+p{margin-top:18px}
.prose a{color:var(--ink)}
.prose .email{font-size:inherit;letter-spacing:0}
.prose .upd{font-size:16px}

@keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes drop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.nav-in{animation:drop .7s var(--ease) backwards}
.hero h1,.prose{animation:rise .9s var(--ease) backwards}
.prose{animation-delay:.12s}
.card.c1{animation:rise .9s var(--ease) .24s backwards}

@keyframes fadein{from{opacity:0}}
.drift{animation:fadein .9s var(--ease) .24s backwards}
.card.c2{animation:rise .9s var(--ease) .34s backwards}

@container (max-width:860px){
  .cards{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:64px}
  .hero{padding-top:72px}
  .hero h1{font-size:56px}
  .card .well{min-height:240px}
}
@container (max-width:600px){
  .nav{top:calc(var(--rb,0px) + 12px);margin-top:12px}
  .hero{padding-top:64px}
  .hero h1{font-size:44px}
  .card{padding:24px;border-radius:24px}
  .card.product h3 a::after{border-radius:24px}
  .card>span[aria-hidden]{display:none}
  .card .head{gap:16px}
  .card .head img{width:44px;height:44px}
  .card h2,.card h3{font-size:26px}
  .card .line{margin-top:16px}
  .card .well{margin-top:24px;min-height:220px;border-radius:12px}
  .card .well>img{width:112px;height:112px}
  .email{font-size:22px}
  footer .in{padding-top:88px}
  .prose{font-size:19px}
}

.drift{position:absolute;left:calc(50% - 50cqw);right:calc(50% - 50cqw);top:-540px;height:1040px;z-index:-1;pointer-events:none;overflow:hidden}
.drift i{position:absolute;top:0;width:70%;height:100%;animation:40s ease-in-out infinite alternate}
.drift .d1{left:0;background:radial-gradient(closest-side at 50% 56%,var(--g1),var(--g1b) 55%,transparent);animation-name:d1}
.drift .d2{right:0;background:radial-gradient(closest-side at 50% 56%,var(--g2),var(--g2b) 55%,transparent);animation-name:d2}
@keyframes d1{to{transform:translate3d(42%,0,0)}}
@keyframes d2{to{transform:translate3d(-42%,0,0)}}
@container (max-width:600px){.drift{top:-360px;height:760px}.drift i{width:110%}.drift .d1{left:-40%}.drift .d2{right:-40%}}

.card::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;padding:1px;
  background:linear-gradient(110deg,transparent 42%,var(--edge-light) 50%,transparent 58%) 0 0/300% 100% no-repeat;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  animation:sweep 10s ease-in-out 1.4s infinite}
.card::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;
  background:linear-gradient(110deg,transparent 44%,var(--tint) 50%,transparent 56%) 0 0/300% 100% no-repeat;opacity:.7;
  animation:sweep 10s ease-in-out 1.4s infinite}
.card.c2::before,.card.c2::after{animation-delay:1.9s}
@keyframes sweep{0%{background-position:100% 0}26%,100%{background-position:0 0}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .card.product:hover .well>img{transform:none}
}

:root{--gold:#8a6400}
:root[data-theme="dark"]{--gold:#e5b53d}
@media (prefers-color-scheme:dark){:root[data-theme="auto"]{--gold:#e5b53d}}
.pin a.brand{height:44px;gap:11px;padding:0 20px 0 14px;border-radius:22px;color:var(--ink)}
.pin a.brand:hover{background:none;color:var(--ink)}

:root{--mk0:rgba(255,251,233,0);--mk1:#c99a2e;--mk2:#a87412;--mk3:#7a5200}
:root[data-theme="dark"]{--mk0:#fffbe9;--mk1:#fff1c2;--mk2:#f0bd45;--mk3:#c98f1c}
@media (prefers-color-scheme:dark){:root[data-theme="auto"]{--mk0:#fffbe9;--mk1:#fff1c2;--mk2:#f0bd45;--mk3:#c98f1c}}
.brand .mk{height:32px;width:auto;display:block;flex:none;transform:translateY(11.9%)}
.brand .wm{font-size:13px;font-weight:500;letter-spacing:.32em;text-transform:uppercase;margin-right:-.32em;white-space:nowrap}
.brand .r{color:var(--gold)}

@container (max-width:600px){
  .pin a.brand{gap:8px;padding:0 12px 0 10px}
  .brand .mk{height:28px}
  .brand .wm{font-size:11px;letter-spacing:.2em;margin-right:-.2em}
}
@container (max-width:440px){ .seg-links .pin .div,.seg-links .pin a.txt{display:none} .seg-links .pin a.at-btn{border-radius:17px;margin:0 1px} }

.card .well.shot{display:block;height:340px;min-height:0;padding:32px 0 0;overflow:hidden}
.card .well.shot .phone{width:min(76%,290px);margin:0 auto;padding:7px 7px 0;border-radius:38px 38px 0 0;background:#1b1e20;
  box-shadow:0 0 0 1px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.08),0 28px 60px -22px rgba(0,0,0,.65);transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.card.product:hover .well.shot .phone{transform:translateY(-8px);box-shadow:0 0 0 1px rgba(255,255,255,.12),inset 0 1px 0 rgba(255,255,255,.1),0 40px 70px -24px rgba(0,0,0,.7)}
.phone .sb{position:relative;height:26px;display:flex;align-items:center;justify-content:space-between;padding:2px 16px 0 20px;background:#050e11;border-radius:31px 31px 0 0;color:#eef2f3;font:500 11px/1 var(--sans);letter-spacing:.01em}
.phone .sb-cam{position:absolute;left:50%;top:8px;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:#000;box-shadow:0 0 0 1.5px #10181b}
.phone .sb-i{display:inline-flex;gap:4px;align-items:center;font-size:12px;line-height:1}
.phone img{display:block;width:100%;height:auto}
@container (max-width:860px){ .card .well.shot{height:300px} }

.cards{grid-template-columns:minmax(0,1fr)}
.cards>.card{grid-row:auto;display:block}
.card .well.shot{display:flex;justify-content:center;align-items:flex-start;gap:28px;height:400px;padding:36px 28px 0;overflow:hidden}
.card .well.shot .phone{width:min(31%,270px);margin:0}

.card .well.shot .phone:nth-child(1){transition-delay:120ms}
.card .well.shot .phone:nth-child(2){transition-delay:60ms}
.card .well.shot .phone:nth-child(3){transition-delay:0ms}
.card.product:hover .well.shot .phone:nth-child(1){transition-delay:0ms}
.card.product:hover .well.shot .phone:nth-child(2){transition-delay:60ms}
.card.product:hover .well.shot .phone:nth-child(3){transition-delay:120ms}
.contact{margin-top:40px;text-align:center;font-size:18px;color:var(--muted)}
.contact .email{margin-left:8px;font-size:18px;letter-spacing:0}
@container (max-width:860px){ .card .well.shot{height:340px;gap:16px;padding:28px 16px 0} }
@container (max-width:600px){ .card .well.shot .phone{width:min(70%,260px)} .card .well.shot .phone+.phone{display:none} }

.priv-h{max-width:40rem;margin:0 auto;text-align:left}
.priv-h h1{font-size:56px;line-height:1.05}
.privacy .prose{max-width:40rem;margin:32px auto 0;text-align:left;font-size:18px;line-height:1.6;color:var(--ink)}
.privacy .prose p+p{margin-top:16px}
.privacy .prose .upd{margin-top:32px;font-size:15px;color:var(--muted)}
@container (max-width:600px){ .priv-h h1{font-size:40px} .privacy .prose{font-size:17px} }

/* Production only: the logo gradients' colours and the hidden gradient holder, moved here from style attributes (the CSP allows no inline style). */
.defs{position:absolute}
#nrGold stop:nth-child(1){stop-color:var(--mk1)}
#nrGold stop:nth-child(2){stop-color:var(--mk2)}
#nrGold stop:nth-child(3){stop-color:var(--mk3)}
#nrCore stop{stop-color:var(--mk0)}
#nrCore stop:nth-child(2){stop-opacity:0}

/* 404 page: the privacy heading size, centred, with one short line below. */
.nf-h h1{font-size:56px;line-height:1.05}
@container (max-width:600px){ .nf-h h1{font-size:40px} }
