/* alrightdev.com - same Windows 11 (Fluent) look as the admin panel.
   Light tokens are the default here. Dark mode, Auto and your accent colour come from
   /api/theme.css, which the admin panel's Settings control. */
@font-face{font-family:"Pacifico";src:url(/assets/fonts/pacifico.woff2) format("woff2");font-weight:400;font-display:swap}

:root{
  --font:"Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --font-display:"Segoe UI Variable Display","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --r:8px; --r-sm:4px; --ease:cubic-bezier(0,0,0,1);
  color-scheme:light;
  --bg:#f3f3f3; --layer:#f9f9f9; --card:#ffffff; --card-2:#fbfbfb; --card-hover:#f6f6f6;
  --stroke:rgba(0,0,0,.08); --stroke-2:rgba(0,0,0,.14); --divider:rgba(0,0,0,.08);
  --text:rgba(0,0,0,.9); --text-2:rgba(0,0,0,.62); --text-3:rgba(0,0,0,.45);
  --hover:rgba(0,0,0,.04); --press:rgba(0,0,0,.025); --selected:rgba(0,0,0,.055);
  --ctl:#ffffff; --ctl-hover:#f9f9f9; --ctl-press:#f5f5f5; --ctl-bottom:rgba(0,0,0,.2); --field-bottom:rgba(0,0,0,.55);
  --accent:#005fb8; --accent-hover:#1a6fc4; --accent-press:#2f7bc7; --on-accent:#ffffff; --accent-text:#005fb8;
  --danger:#c42b1c; --success:#0f7b0f;
  --shadow-card:0 1px 2px rgba(0,0,0,.04); --shadow-flyout:0 8px 16px rgba(0,0,0,.14);
}

@view-transition{navigation:auto}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;font:16px/1.55 var(--font);color:var(--text);background:var(--bg)}
main{flex:1}
img,svg{display:block;max-width:100%}
a{color:var(--accent-text)}
:focus-visible{outline:2px solid var(--text);outline-offset:2px;border-radius:var(--r-sm)}
.skip{position:absolute;left:-9999px;top:8px;z-index:50;background:var(--accent);color:var(--on-accent);padding:8px 12px;border-radius:var(--r-sm)}
.skip:focus{left:12px}
.wrap{width:min(1160px,100% - 2.5rem);margin-inline:auto}

/* ---- top navigation bar ---- */
.bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;
  height:56px;padding:0 max(16px,calc((100% - 1160px) / 2));background:var(--bg);border-bottom:1px solid var(--divider);view-transition-name:bar}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.logo{width:26px;height:26px}
.logo .l1{fill:#1FB8B2}
.logo .l2{fill:#5B8CFF;fill-opacity:.82}
.wm{font:400 23px/1 "Pacifico",cursive;letter-spacing:0;padding-bottom:4px;color:var(--text)}
.bar nav{display:flex;align-items:center;gap:2px}
.bar nav a:not(.btn){position:relative;display:flex;align-items:center;height:36px;padding:0 12px;border-radius:var(--r-sm);color:var(--text-2);text-decoration:none;font-size:14px}
.bar nav a:not(.btn):hover{background:var(--hover);color:var(--text)}
.bar nav a[aria-current]:not(.btn){color:var(--text);font-weight:600}
.bar nav a[aria-current]:not(.btn)::after{content:"";position:absolute;left:50%;bottom:2px;width:16px;height:3px;margin-left:-8px;border-radius:2px;background:var(--accent)}
.menu{display:none;border:0;background:transparent;width:40px;height:36px;border-radius:var(--r-sm);cursor:pointer;color:var(--text);place-items:center}
.menu:hover{background:var(--hover)}
.menu .ic{width:22px;height:22px}
.menu .ic:last-child,.menu[aria-expanded=true] .ic:first-child{display:none}
.menu[aria-expanded=true] .ic:last-child{display:block}

/* ---- icons (Lucide) ---- */
.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.tile{flex:none;width:40px;height:40px;border-radius:var(--r);display:grid;place-items:center;background:var(--selected);color:var(--accent-text)}
.tile.big{width:52px;height:52px}
.tile.big .ic{width:26px;height:26px}
.tile.huge{width:64px;height:64px;margin-bottom:20px}
.tile.huge .ic{width:32px;height:32px}
@keyframes draw{from{stroke-dasharray:1;stroke-dashoffset:1}to{stroke-dasharray:1;stroke-dashoffset:0}}
.sheet:hover .ic,.sheet:focus-visible .ic,.area:hover .tile .ic,.area:focus-visible .tile .ic,.item:hover .ic,.tile.huge .ic{animation:draw .8s var(--ease)}

/* ---- buttons ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:6px 16px;border-radius:var(--r-sm);
  border:1px solid var(--stroke);border-bottom-color:var(--ctl-bottom);background:var(--ctl);color:var(--text);font:600 15px var(--font);text-decoration:none;cursor:pointer}
.btn:hover{background:var(--ctl-hover)}
.btn:active{background:var(--ctl-press);color:var(--text-2)}
.btn:not(.ghost){background:var(--accent);color:var(--on-accent);border-color:transparent;border-bottom-color:rgba(0,0,0,.15)}
.btn:not(.ghost):hover{background:var(--accent-hover)}
.btn:not(.ghost):active{background:var(--accent-press)}
.btn.small{min-height:32px;padding:4px 14px;font-size:14px;margin-left:6px}
.btn[disabled]{opacity:.5;cursor:progress}

/* ---- type ---- */
h1,h2,h3{font-family:var(--font-display);font-weight:600;margin:0;letter-spacing:-.01em}
h1{font-size:clamp(2.3rem,5.4vw,3.9rem);line-height:1.08}
h2{font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.2}
h3{font-size:1.1rem;line-height:1.35}
p{margin:0}
.lead{font-size:clamp(1.05rem,1.5vw,1.25rem);color:var(--text-2);max-width:54ch}

/* ---- sections ---- */
.block{padding:clamp(28px,5vw,56px) 0}
.block.tight{padding-top:0}
.block>h2{margin-bottom:20px}

/* ---- hero with product cards ---- */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding:clamp(48px,8vw,96px) 0 clamp(28px,4vw,48px)}
.hero h1{max-width:15ch;font-size:clamp(2.1rem,4.4vw,3.2rem);margin-bottom:20px}
.hero .lead{margin-bottom:28px}
.actions{display:flex;flex-wrap:wrap;gap:10px}
.stack{display:grid;gap:10px}
.sheet{padding:16px 18px;border-radius:var(--r);background:var(--card);border:1px solid var(--stroke);
  box-shadow:var(--shadow-flyout);text-decoration:none;color:var(--text);
  transition:transform .28s var(--ease),border-color .2s;animation:settle .8s var(--ease) backwards;
  animation-delay:calc(var(--i)*.1s + .1s)}
.s0{--i:0}
.s1{--i:1}
.s2{--i:2}
.s3{--i:3}
.sheet:hover,.sheet:focus-visible{border-color:var(--accent);transform:translateY(-3px)}
.sheet-h{display:flex;align-items:center;gap:12px;font:600 16px var(--font);line-height:1.25}
.sheet-p{display:block;margin-top:10px;font-size:14px;line-height:1.5;color:var(--text-2)}
@keyframes settle{from{translate:0 24px;opacity:0}to{translate:0 0;opacity:1}}

/* ---- area rows (like Windows Settings rows) ---- */
.areas{display:grid;gap:4px}
.area{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;min-height:84px;padding:14px 18px 14px 20px;border-radius:var(--r);
  background:var(--card);border:1px solid var(--stroke);text-decoration:none;color:var(--text);transition:background .1s}
.area:hover{background:var(--card-hover)}
.area-t{display:grid;gap:2px}
.area-t strong{font:600 17px var(--font)}
.area-t span{color:var(--text-2);font-size:14px;max-width:70ch}
.go{width:32px;height:32px;display:grid;place-items:center;color:var(--text-2);transition:transform .2s var(--ease)}
.go .ic{width:18px;height:18px}
.area:hover .go{transform:translateX(3px);color:var(--text)}

/* ---- steps (an actual sequence) ---- */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;counter-reset:s}
.steps li{counter-increment:s;padding:18px 20px;border-radius:var(--r);background:var(--card);border:1px solid var(--stroke);display:grid;gap:6px;align-content:start}
.steps li::before{content:counter(s);width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--on-accent);font:600 14px var(--font)}
.steps strong{font:600 16px var(--font)}
.steps span{color:var(--text-2);font-size:14px}

/* ---- call to action ---- */
.cta{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 32px;border-radius:var(--r);background:var(--card);border:1px solid var(--stroke)}
.cta p{color:var(--text-2);margin-top:6px;max-width:52ch}

/* ---- inner pages ---- */
.page-hero{padding:clamp(48px,7vw,80px) 0 clamp(20px,3vw,32px)}
.page-hero h1{margin-bottom:14px;max-width:18ch}
.panel{padding:24px 28px;border-radius:var(--r);background:var(--card);border:1px solid var(--stroke)}
.panel>h2{margin-bottom:22px;font-size:1.4rem}
.items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px 32px}
.item{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:start}
.item p{color:var(--text-2);margin-top:4px;font-size:15px}

/* ---- services and products ---- */
.note{margin-top:18px;color:var(--text-2);font-size:14px;max-width:46ch}
.svc-list{display:grid;gap:12px}
.svc{padding:24px 28px 26px}
.svc-h{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start}
.svc-h h2{font-size:1.25rem;margin:2px 0 8px}
.svc-h p{color:var(--text-2);font-size:15px;max-width:62ch}
.status-tag{margin:-4px 0 8px}
.status-tag span{display:inline-block;padding:2px 10px;border-radius:999px;background:var(--selected);color:var(--accent-text);font-size:12px;font-weight:600}
.ticks{list-style:none;margin:18px 0 20px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:8px 24px}
.ticks li{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start;font-size:15px;color:var(--text-2)}
.ticks .ic{width:18px;height:18px;margin-top:3px;color:var(--accent-text)}
.svc .btn.small{margin-top:2px}
@media (max-width:620px){
  .svc{padding:20px}
  .svc-h{grid-template-columns:1fr;gap:12px}
}
.prose>p{font-size:1.1rem;max-width:60ch;margin-bottom:24px}
.values{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.values p{color:var(--text-2);margin-top:4px;font-size:15px}
.after{margin-top:24px}

/* ---- form (Fluent text boxes) ---- */
.form{display:grid;gap:16px;max-width:620px}
.form label{display:grid;gap:6px;font-size:14px}
.form input,.form textarea{font:400 15px var(--font);color:var(--text);padding:7px 11px;border-radius:var(--r-sm);
  border:1px solid var(--stroke);border-bottom-color:var(--field-bottom);background:var(--ctl);width:100%}
.form textarea{resize:vertical;min-height:140px;line-height:1.5}
.form input:focus,.form textarea:focus{outline:none;background:var(--card);border-bottom:2px solid var(--accent);padding-bottom:6px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.status{color:var(--text-2);font-size:14px}
.status.err{color:var(--danger)}
.done{font-size:1.1rem}
.alt-contact{margin-top:20px;color:var(--text-2)}
.alt-contact a{font-weight:600}

/* ---- banner set in the admin panel ---- */
.notice{display:flex;justify-content:center;padding:10px 16px;font-size:14px;background:var(--selected);border-bottom:1px solid var(--divider);text-align:center}

/* ---- footer ---- */
.foot{margin-top:40px;padding:28px 0 36px;border-top:1px solid var(--divider)}
.foot-in{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:center}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 18px}
.foot nav a{text-decoration:none;color:var(--text-2);font-size:14px}
.foot nav a:hover{color:var(--text);text-decoration:underline}
.foot-contact{display:flex;flex-wrap:wrap;gap:4px 18px}
.foot-contact a{color:var(--text-2);font-size:14px;text-decoration:none}
.foot-contact a:hover{color:var(--text);text-decoration:underline}
.foot-legal{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px;padding-top:18px;border-top:1px solid var(--divider)}
.foot-legal p{color:var(--text-3,var(--text-2));font-size:13px;margin:0}
.foot-legal nav a{font-size:13px}
.updated{color:var(--text-2);font-size:14px;margin-top:10px}
.legal h2{font-size:1.15rem;margin:30px 0 10px}
.legal h2:first-child{margin-top:0}
.legal p{font-size:1rem;max-width:68ch;margin-bottom:14px}

/* ---- small screens ---- */
@media (max-width:860px){
  .hero{grid-template-columns:1fr;gap:28px}
  .sheet:hover,.sheet:focus-visible{transform:none}
  .steps{grid-template-columns:1fr 1fr}
  .cta{flex-direction:column;align-items:flex-start}
  .menu{display:grid}
  .bar{flex-wrap:wrap;height:auto;min-height:56px;padding:0 12px}
  .bar nav{display:none;flex-direction:column;align-items:stretch;width:100%;padding:4px 0 10px}
  .bar nav.open{display:flex}
  .bar nav a:not(.btn){height:44px;font-size:15px}
  .bar nav a[aria-current]:not(.btn)::after{left:4px;top:50%;bottom:auto;width:3px;height:16px;margin:-8px 0 0}
  .bar nav .btn{margin:6px 0 0}
}
@media (max-width:520px){
  .steps{grid-template-columns:1fr}
  .area{grid-template-columns:auto 1fr;padding:12px 14px}
  .go{display:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  @view-transition{navigation:none}
}

/* ---- opening animation (once per visit; skipped with reduced motion) ---- */
.splash{display:none}
html.intro .splash{position:fixed;inset:0;z-index:100;display:grid;place-items:center;background:var(--bg);pointer-events:none;animation:splash-out .45s ease 1.65s forwards}
.splash-mark{display:flex;align-items:center;gap:20px}
.splash-gem{width:96px;height:96px;fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;overflow:visible;animation:gem-pop .5s cubic-bezier(.2,1.4,.4,1) .95s both}
.splash-gem path:not(.gem-fill){stroke-dasharray:1;stroke-dashoffset:1;animation:gem-draw .8s cubic-bezier(.6,0,.2,1) forwards}
.splash-gem .g3{animation-delay:.25s!important}
.splash-gem .g1{animation-delay:.4s!important}
.splash-gem .gem-fill{fill:var(--accent);stroke:none;opacity:0;animation:gem-glow .5s ease .9s forwards}
.splash-name{font:400 52px/1.25 "Pacifico",cursive;color:var(--text);padding-bottom:8px;opacity:0;transform:translateX(-10px);animation:splash-name .5s ease 1.05s forwards}
@keyframes gem-draw{to{stroke-dashoffset:0}}
@keyframes gem-glow{to{opacity:.18}}
@keyframes gem-pop{0%{transform:scale(1)}40%{transform:scale(1.12)}100%{transform:scale(1)}}
@keyframes splash-name{to{opacity:1;transform:none}}
@keyframes splash-out{to{opacity:0;visibility:hidden}}
@media (max-width:520px){.splash-gem{width:64px;height:64px}.splash-name{font-size:36px}}

/* diamond logo */
.logo{width:26px;height:26px;fill:none;stroke:var(--accent);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
