/* Bleuu Can — dark, high-tech theme built on the brand blue #466bb0.
   Display type: Changeling Neo (brand) with Michroma as the web fallback. */

@property --spread { syntax: '<length>'; inherits: true; initial-value: 0px; }
@view-transition { navigation: auto; }

:root {
  --blue: #466bb0;
  --blue-dark: #34548f;
  --accent: #7aa2ff;
  --accent-soft: #a9c1ff;
  --bg: #060b16;
  --bg-2: #0a1222;
  --bg-3: #0e1830;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(122, 162, 255, .14);
  --line-strong: rgba(122, 162, 255, .38);
  --heading: #f2f5fb;
  --text: #b6c1d8;
  --muted: #7d89a3;
  --danger: #ff8a80;
  --radius: 16px;
  --display: "Changeling Neo", "Michroma", "Exo 2", system-ui, sans-serif;
  --body: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 60px); background: var(--bg); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--heading); line-height: 1.25; font-weight: 400; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
strong { color: var(--heading); font-weight: 600; }

.container { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow-accent { color: var(--accent); }
.section-title { font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: .03em; }
.section-head { margin-bottom: 40px; }

/* ---------- Background effects ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  opacity: .55;
  animation: grid-pan 24s linear infinite;
}
@keyframes grid-pan { to { background-position: 56px 56px, 56px 56px; } }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .55; }
.bg-glow-1 { width: 620px; height: 620px; left: -180px; top: -220px; background: radial-gradient(circle, #466bb0, transparent 65%); animation: float-a 18s ease-in-out infinite; }
.bg-glow-2 { width: 520px; height: 520px; right: -120px; bottom: -200px; background: radial-gradient(circle, #3b4fd1, transparent 65%); animation: float-b 22s ease-in-out infinite; }
.bg-glow-cta { width: 700px; height: 380px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(70, 107, 176, .7), transparent); }
@keyframes float-a { 50% { transform: translate(120px, 80px); } }
@keyframes float-b { 50% { transform: translate(-100px, -60px); } }
.spotlight {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--sx, 70%) var(--sy, 40%), rgba(122, 162, 255, .13), transparent 60%);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 26px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { background: #5279c4; box-shadow: 0 0 0 1px var(--accent), 0 10px 40px rgba(122, 162, 255, .35); }
.btn-glow { background: linear-gradient(135deg, #5c84d4, var(--blue)); box-shadow: 0 0 30px rgba(122, 162, 255, .25); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--heading); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.chev { display: inline-block; letter-spacing: -.05em; font-family: var(--body); font-size: 1.15em; line-height: 1; transition: transform .3s var(--ease); }
.btn:hover .chev, .card:hover .chev, .nav-cta:hover .chev { transform: translateX(4px); animation: chev 1s steps(3) infinite; }
@keyframes chev { 0% { opacity: .5; } 50% { opacity: 1; } 100% { opacity: .5; } }

/* ---------- Header / navigation ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: linear-gradient(90deg, var(--blue), var(--accent), #b3c8ff);
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  box-shadow: 0 0 12px var(--accent);
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(6, 11, 22, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .3s; }
.scrolled .header-inner { height: 66px; }
.brand { position: relative; z-index: 2; }
.brand img { height: 50px; width: auto; filter: brightness(0) invert(1); transition: height .3s, filter .3s; }
.scrolled .brand img { height: 42px; }
.brand:hover img { filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(122, 162, 255, .8)); }

.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  font-family: var(--display);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding: 12px 14px;
  transition: color .25s;
}
.nav-num { display: none; }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--heading); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active::before { content: ""; position: absolute; left: 50%; top: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-left: 14px;
  font-family: var(--display); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: #fff;
  padding: 12px 18px; border-radius: 8px;
  background: linear-gradient(135deg, #5c84d4, var(--blue));
  box-shadow: 0 0 24px rgba(122, 162, 255, .3);
  transition: box-shadow .25s, transform .25s;
}
.nav-cta:hover { box-shadow: 0 0 0 1px var(--accent), 0 0 34px rgba(122, 162, 255, .55); }

.nav-toggle { display: none; position: relative; z-index: 2; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(6, 11, 22, .4); cursor: pointer; padding: 12px 11px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--heading); margin: 5px 0; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, width .35s; }
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Intro + reveal animations (JS-gated) ---------- */
.js .intro { opacity: 0; transform: translateY(26px); filter: blur(8px); animation: intro-in 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes intro-in { to { opacity: 1; transform: none; filter: none; } }
.js .reveal { opacity: 0; transform: translateY(34px); filter: blur(4px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.visible { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 90px; background: radial-gradient(120% 80% at 80% 0%, #0f1c3a 0%, var(--bg) 60%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 11, 22, .92) 0%, rgba(6, 11, 22, .55) 60%, rgba(6, 11, 22, .8) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.1rem, 4.4vw, 3.7rem); letter-spacing: .01em; line-height: 1.12; margin-bottom: .55em; }
.hero-title .line { display: block; }
.hero-title .accent { background: linear-gradient(90deg, var(--accent), #c5d6ff 60%, var(--accent)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
/* The fade-in lives on the parent .line: Safari drops background-clip:text when the same element is blurred/animated. */
.hero-title .accent { animation: shimmer 6s linear 1.5s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 580px; font-weight: 300; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-visual { position: relative; z-index: 1; }
.hero-stack { width: 100%; height: auto; overflow: visible; animation: hover-y 7s ease-in-out infinite; }
.js .hero-stack { animation: spread-in 1.6s var(--ease) .4s backwards, hover-y 7s ease-in-out 2s infinite; }
@keyframes spread-in { from { --spread: -62px; } }
@keyframes hover-y { 50% { transform: translateY(-14px); } }
.hero-stack .layer { transform: translateY(calc(var(--n) * var(--spread))); }
.hero-stack .layer-solid .top { fill: url(#g-fill); opacity: .92; }
.hero-stack .side { fill: url(#g-side); }
.hero-stack .side-r { fill: #22396a; }
.hero-stack .layer-outline .top { fill: rgba(122, 162, 255, .05); stroke: var(--accent); stroke-width: 1.4; }
.hero-stack .layer-outline .inner { fill: none; stroke: rgba(122, 162, 255, .35); stroke-dasharray: 4 6; animation: dash 12s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.hero-stack .connector { stroke: var(--line-strong); stroke-dasharray: 3 4; }
.hero-stack .node { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }
.hero-stack text { font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; fill: #c9d6f5; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid var(--line-strong); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 90px) 0 90px; background: radial-gradient(120% 90% at 85% 0%, #10204a 0%, var(--bg) 65%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: .02em; }
main > .section:first-child { padding-top: calc(var(--header-h) + 80px); }

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { font-family: var(--display); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent-soft); white-space: nowrap; display: flex; align-items: center; }
.ticker li::after { content: ""; width: 7px; height: 7px; margin: 0 34px; transform: rotate(45deg); border: 1px solid var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 110px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Cost of renting */
.cost-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 12px; justify-self: start;
  padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: rgba(10, 18, 34, .8); color: var(--heading); font-weight: 500;
  box-shadow: 0 0 0 1px rgba(122, 162, 255, .04), 0 10px 30px rgba(0, 0, 0, .3);
}
.chip:nth-child(even) { margin-left: 26px; }
.js .chip.reveal.visible { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes bob { 50% { translate: 0 -8px; } }
.chip svg { width: 12px; height: 12px; stroke: var(--danger); stroke-width: 2; flex: none; }

/* Scroll-highlighted statement */
.statement { font-family: var(--display); font-size: clamp(1.4rem, 3.3vw, 2.5rem); line-height: 1.45; letter-spacing: .01em; color: var(--heading); text-align: center; max-width: 1000px; margin: 0 auto; }
.js .statement .w { opacity: .18; transition: opacity .3s, text-shadow .3s; }
.js .statement .w.on { opacity: 1; }
.statement .accent .w.on { text-shadow: 0 0 24px rgba(122, 162, 255, .45); }

/* Cards with cursor-following glow */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(122, 162, 255, .16), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
.card h3 { font-size: 1.02rem; letter-spacing: .05em; margin-top: 22px; }
.card p { flex: 1; }
.card p.card-tagline { flex: none; }
.card-tagline, .detail-tagline { font-weight: 600; color: var(--accent); margin: -6px 0 12px; }
.card-link { display: inline-flex; gap: 8px; align-items: center; font-family: var(--display); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.card-icon { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 14px; color: var(--accent); background: rgba(122, 162, 255, .08); border: 1px solid var(--line-strong); box-shadow: inset 0 0 20px rgba(122, 162, 255, .12); }
.icon { width: 30px; height: 30px; }

/* Featured product */
.featured { position: relative; overflow: hidden; padding: 110px 0; background: radial-gradient(90% 120% at 0% 50%, rgba(18, 36, 80, .56) 0%, transparent 60%), var(--bg); border-block: 1px solid var(--line); }
.featured-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.featured-name { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .35em; text-shadow: 0 0 40px rgba(122, 162, 255, .45); }
.featured-pitch { font-size: 1.18rem; font-weight: 300; color: var(--heading); }
.featured-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.featured-list li { position: relative; padding-left: 26px; }
.featured-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border: 1px solid var(--accent); transform: rotate(45deg); box-shadow: 0 0 8px var(--accent); }

.terminal { min-width: 0; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(4, 8, 16, .9); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(70, 107, 176, .2); overflow: hidden; }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.terminal-bar i:first-child { background: #ff6b6b; } .terminal-bar i:nth-child(2) { background: #ffd166; } .terminal-bar i:nth-child(3) { background: #3ddc97; }
.terminal-bar span { margin-left: 10px; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.terminal-body { margin: 0; padding: 20px 20px 24px; font-family: var(--mono); font-size: .8rem; line-height: 1.75; color: #cfe0ff; white-space: pre; overflow-x: auto; }
.terminal-body .cmd { color: #8fffd2; }
.terminal-body .caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Reasons */
.reason-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.reason { position: relative; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.reason::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .3s; }
.reason.visible::before, html:not(.js) .reason::before { transform: scaleX(1); }
.reason h3 { font-size: .92rem; letter-spacing: .06em; }
.reason-num { display: block; font-family: var(--display); color: var(--accent); font-size: .78rem; letter-spacing: .2em; margin-bottom: 14px; }

/* Ecosystem: horizontal logo accordion */
.eco-intro { max-width: 640px; margin: 0 auto; }
.accordion { display: flex; gap: 10px; height: 400px; margin-top: 8px; }
.acc-item {
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 26px 0 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: var(--text); font: inherit; text-align: left; cursor: pointer; overflow: hidden;
  transition: flex-grow .7s var(--ease), border-color .4s, background .4s;
}
.acc-item:hover { border-color: var(--line-strong); }
.acc-item.open { flex-grow: 5.5; align-items: flex-start; padding-left: 34px; border-color: var(--line-strong); background: radial-gradient(120% 90% at 0% 0%, rgba(70, 107, 176, .45), transparent 60%), var(--bg-3); }
.acc-logo { display: flex; width: 34px; height: 34px; color: var(--accent-soft); transition: width .6s var(--ease), height .6s var(--ease), color .4s; flex: none; }
.acc-logo svg { width: 100%; height: 100%; fill: currentColor; }
.acc-name { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--display); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: opacity .3s; }
.acc-index { position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-size: .7rem; color: var(--muted); opacity: 0; transition: opacity .3s; }
.acc-body { position: absolute; left: 34px; right: 34px; bottom: 30px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(14px); transition: opacity .2s, transform .2s; pointer-events: none; min-width: 260px; }
.acc-role { font-family: var(--display); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.acc-title { font-family: var(--display); font-size: 1.5rem; color: var(--heading); letter-spacing: .04em; }
.acc-text { color: var(--text); max-width: 380px; }
.acc-item.open .acc-logo { width: 84px; height: 84px; color: #fff; filter: drop-shadow(0 0 22px rgba(122, 162, 255, .7)); }
.acc-item.open .acc-name { opacity: 0; }
.acc-item.open .acc-index { opacity: 1; }
.acc-item.open .acc-body { opacity: 1; transform: none; transition: opacity .5s .35s, transform .5s .35s var(--ease); }
.acc-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); box-shadow: 0 0 10px var(--accent); transform-origin: left; transform: scaleX(0); }
.acc-item.open.auto .acc-progress { animation: acc-progress var(--acc-ms, 4500ms) linear forwards; }
@keyframes acc-progress { to { transform: scaleX(1); } }

.eco-list { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.eco-list li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .9rem; color: var(--text); background: var(--surface); transition: border-color .25s, color .25s; }
.eco-list li:hover { border-color: var(--accent); color: var(--heading); }
.eco-list .eco-more { border-style: dashed; color: var(--muted); }

/* CTA */
.cta { text-align: center; overflow: hidden; }
.cta-inner { position: relative; max-width: 700px; margin: 0 auto; text-align: center; }

/* ---------- Detail pages ---------- */
.subnav { position: sticky; top: 66px; z-index: 40; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding: 12px 16px; background: rgba(6, 11, 22, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: top .45s var(--ease); }
body.header-hidden .subnav { top: 0; }
.subnav a { font-size: .9rem; font-weight: 500; text-decoration: none; padding: 7px 16px; border-radius: 999px; color: var(--text); border: 1px solid transparent; transition: color .25s, border-color .25s, background .25s; }
.subnav a:hover, .subnav a.current { color: var(--heading); border-color: var(--line-strong); background: var(--surface-2); }
.detail-inner { display: grid; grid-template-columns: 170px 1fr; gap: 56px; align-items: start; }
.detail-icon { position: sticky; top: 150px; width: 150px; height: 150px; border-radius: 28px; display: flex; align-items: center; justify-content: center; color: var(--accent); border: 1px solid var(--line-strong); background: radial-gradient(circle at 30% 20%, rgba(122, 162, 255, .25), transparent 70%), var(--bg-3); box-shadow: 0 0 60px rgba(70, 107, 176, .25); }
.detail-icon .icon { width: 64px; height: 64px; }
.detail-body { max-width: 760px; }
.detail-tagline { font-size: 1.1rem; margin-top: -8px; }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 10px; border: 1px solid var(--accent); transform: rotate(45deg); box-shadow: 0 0 8px rgba(122, 162, 255, .6); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.pillars { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: center; }
.pillars li { font-family: var(--display); font-size: .85rem; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; color: var(--heading); border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 34px 20px; }
.pillars span { display: block; color: var(--accent); font-size: 1.3rem; margin-bottom: 12px; text-shadow: 0 0 20px var(--accent); }

/* Team */
.team-photo { margin: 0 0 56px; }
.team-photo img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.team-photo figcaption { text-align: center; color: var(--muted); margin-top: 12px; font-size: .95rem; }
.team-placeholder img { width: 96px; height: 96px; border: 0; border-radius: 50%; box-shadow: 0 0 40px rgba(122, 162, 255, .35); }
.team-placeholder { aspect-ratio: 16 / 7; border-radius: var(--radius); border: 1px dashed var(--line-strong); background: var(--bg-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.contact-form { display: grid; gap: 22px; }
.field label { display: block; font-weight: 600; color: var(--heading); margin-bottom: 8px; }
.field label span { color: var(--accent); }
.field input, .field textarea, .chat-form input, .chat-form textarea {
  width: 100%;
  font: inherit; font-size: 16px; /* prevents iOS zoom on focus */
  color: var(--heading);
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .chat-form ::placeholder { color: var(--muted); }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus, .chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--accent); background: rgba(122, 162, 255, .06); box-shadow: 0 0 0 4px rgba(122, 162, 255, .15); }
.has-error input, .has-error textarea { border-color: var(--danger); }
.error { color: var(--danger); font-size: .9rem; margin: 6px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { justify-self: start; }
.contact-aside { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 32px; }
.contact-aside h2 { font-size: 1.1rem; letter-spacing: .08em; }
.aside-product { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.notice { border-radius: var(--radius); padding: 20px 24px; }
.notice-success { border: 1px solid var(--line-strong); background: var(--surface-2); padding: 40px; }
.notice-error { background: rgba(255, 138, 128, .08); color: var(--danger); border: 1px solid rgba(255, 138, 128, .4); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #040810; color: var(--muted); padding: 72px 0 26px; font-size: .95rem; border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 8px; }
.footer-hours-title { margin-top: 22px; }
.footer-hours { margin: 0; line-height: 1.6; }
.footer-hours span { font-size: .85rem; letter-spacing: .04em; }
.footer-logo { height: 58px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer h4 { color: var(--heading); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { display: block; width: fit-content; color: var(--muted); text-decoration: none; padding: 3px 0; transition: color .2s, transform .2s; }
.site-footer a:hover { color: var(--heading); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; font-size: .85rem; }

/* ---------- Slack chat widget ---------- */
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.chat-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 16px; border-radius: 999px;
  border: 1px solid var(--accent); cursor: pointer; color: #fff;
  font-family: var(--display); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(135deg, #5c84d4, var(--blue));
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4), 0 0 30px rgba(122, 162, 255, .35);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.chat-toggle::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--accent); animation: ping 2.6s var(--ease) infinite; pointer-events: none; }
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.25); } }
.chat-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45), 0 0 40px rgba(122, 162, 255, .55); }
.chat-toggle[aria-expanded="true"]::before { animation: none; opacity: 0; }
.chat-toggle-icon, .chat-logo, .chat-join-logo { display: inline-flex; width: 22px; height: 22px; }
.chat-toggle-icon svg, .chat-logo svg, .chat-join-logo svg { width: 100%; height: 100%; fill: currentColor; }
.chat-panel {
  width: min(370px, calc(100vw - 28px));
  max-height: calc(100vh - 110px); overflow-y: auto;
  border: 1px solid var(--line-strong); border-radius: 18px;
  background: rgba(8, 14, 28, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 50px rgba(70, 107, 176, .25);
  transform-origin: bottom right;
  animation: pop-in .35s var(--ease);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(70, 107, 176, .35), transparent); }
.chat-logo { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #fff; color: #4a154b; flex: none; }
.chat-head h2 { font-size: .8rem; letter-spacing: .08em; margin: 0 0 2px; }
.chat-head p { margin: 0; font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 8px #3ddc97; flex: none; }
.chat-close { margin-left: auto; width: 34px; height: 34px; flex: none; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.chat-close:hover { border-color: var(--accent); color: #fff; }
.chat-form { display: grid; gap: 10px; padding: 16px 18px 18px; }
.chat-form input, .chat-form textarea { padding: 11px 13px; }
.chat-form textarea { resize: none; }
.chat-bubble { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 12px 14px; font-size: .92rem; color: var(--heading); margin-bottom: 4px; }
.chat-status { margin: 0; font-size: .88rem; }
.chat-status:empty { display: none; }
.chat-status.ok { color: #3ddc97; }
.chat-status.err { color: var(--danger); }
.chat-join { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-top: 1px solid var(--line); color: var(--heading); text-decoration: none; font-weight: 500; transition: background .2s; }
.chat-join:hover { background: var(--surface-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 100px 28px 40px;
    background: radial-gradient(120% 70% at 100% 0%, #13275a 0%, rgba(6, 11, 22, .98) 60%), var(--bg);
    clip-path: circle(0% at calc(100% - 46px) 40px);
    visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .site-nav.open { clip-path: circle(150% at calc(100% - 46px) 40px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .nav-link { display: flex; align-items: baseline; gap: 18px; font-size: clamp(1.05rem, 5vw, 1.5rem); letter-spacing: .08em; padding: 16px 4px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-24px); transition: opacity .4s, transform .5s var(--ease), color .25s; }
  .nav-num { display: inline; font-family: var(--mono); font-size: .75rem; color: var(--accent); letter-spacing: 0; }
  .nav-link::after { left: 4px; right: 4px; bottom: -1px; }
  .nav-link.active::before { display: none; }
  .nav-cta { margin: 30px 0 0; justify-content: center; padding: 18px; font-size: .78rem; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); }
  .site-nav.open .nav-link, .site-nav.open .nav-cta { opacity: 1; transform: none; transition-delay: calc(var(--i) * 60ms + 200ms); }
  /* The header's backdrop-filter would trap the fixed overlay, so drop it while the menu is open. */
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; transform: none; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .reason-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin: 10px auto 0; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .brand img { height: 40px; }
  .scrolled .header-inner { height: 60px; }
  .scrolled .brand img { height: 36px; }
  .section, .featured { padding: 72px 0; }
  .page-hero { padding: calc(var(--header-h) + 56px) 0 60px; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 44px) 0 80px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { max-width: 380px; }
  .scroll-cue { display: none; }
  .card-grid, .two-col, .pillars, .contact-wrap, .reason-grid, .featured-inner, .cost-inner { grid-template-columns: 1fr; }
  .two-col, .contact-wrap, .cost-inner, .featured-inner { gap: 40px; }
  .chips { gap: 12px; }
  .chip { padding: 10px 14px; font-size: .9rem; }
  .chip:nth-child(even) { margin-left: 12px; }
  .terminal-body { font-size: .68rem; padding: 16px; }
  .detail-inner { grid-template-columns: 1fr; gap: 22px; }
  .detail-icon { position: static; width: 84px; height: 84px; border-radius: 20px; }
  .detail-icon .icon { width: 40px; height: 40px; }
  .subnav { top: 60px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .subnav a { white-space: nowrap; }
  .contact-form .btn { justify-self: stretch; }
  .team-placeholder { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Accordion becomes vertical on phones */
  .accordion { flex-direction: column; height: auto; gap: 8px; }
  .acc-item { flex: none; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 16px 18px; min-height: 64px; }
  .acc-item.open { flex-grow: 0; flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .acc-name { writing-mode: horizontal-tb; transform: none; font-size: .72rem; }
  .acc-logo { width: 28px; height: 28px; }
  .acc-item.open .acc-logo { width: 54px; height: 54px; }
  .acc-body { position: static; min-width: 0; display: none; }
  .acc-item.open .acc-body { display: flex; }
  .acc-item.open .acc-name { display: none; }

  .chat { right: 14px; bottom: 14px; }
  .chat-toggle { width: 56px; padding: 0; justify-content: center; }
  .chat-toggle-label { display: none; }
  .chat-toggle-icon { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .intro { opacity: 1; transform: none; filter: none; }
  .js .statement .w { opacity: 1; }
}
