/* Aksel Cichocki — premium refresh.
   System: Schibsted Grotesk (display) + Hanken Grotesk (text) + JetBrains Mono (labels).
   Palette: warm paper, deep ink navy, single cobalt accent, restrained clay secondary.
   All class/ID hooks preserved so existing markup + JS keep working. */
:root {
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --bg: #eef1f5;
  --surface: #ffffff;
  --surface-2: #e4e9ef;
  --surface-3: #d9e0e8;

  --ink: #0c1322;       /* dark sections */
  --ink-2: #131d33;
  --ink-3: #1b2840;
  --text: #141b29;      /* headings on light */
  --muted: #555d6c;
  --muted-2: #878f9c;

  --line: rgba(14, 22, 38, .10);
  --line-strong: rgba(14, 22, 38, .15);
  --line-light: rgba(255, 255, 255, .12);

  --accent: #2a4fdd;        /* confident cobalt */
  --accent-deep: #1c39b8;
  --accent-tint: rgba(42, 79, 221, .09);
  --accent-line: rgba(42, 79, 221, .22);
  --clay: #c2613a;          /* warm secondary, used sparingly */
  --green: #1f9d63;

  --shadow: 0 30px 70px -28px rgba(12, 19, 34, .30);
  --shadow-soft: 0 20px 48px -26px rgba(12, 19, 34, .22);
  --shadow-card: 0 1px 2px rgba(12, 19, 34, .04), 0 14px 30px -20px rgba(12, 19, 34, .18);

  --maxw: 1200px;
  --radius: 22px;
  --radius-lg: 28px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-text);
  font-size: 17px;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overscroll-behavior: contain; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
::selection { background: rgba(42, 79, 221, .18); }

.container { width: min(var(--maxw), calc(100% - 48px)); margin-inline: auto; }
.section { position: relative; padding: 120px 0; }
.section-dark { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.section-tint { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 999; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow-soft); font-weight: 700; transition: top .15s var(--ease); }
.skip-link:focus { top: 16px; outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: clip; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Header & menu ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 241, 245, .80);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(238, 241, 245, .90); }
.top-note { background: var(--ink); color: #fff; }
.top-note-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: .84rem; font-weight: 500; }
.top-note-message { min-width: 0; color: rgba(255, 255, 255, .68); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-note-cta { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 7px; min-height: 26px; padding: 0 13px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; white-space: nowrap; transition: transform .18s var(--ease), background .18s var(--ease); }
.top-note-cta:hover, .top-note-cta:focus-visible { transform: translateY(-1px); background: rgba(255, 255, 255, .18); outline: none; }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px; }
.brand-text { display: grid; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { margin-top: 2px; color: var(--muted); font-family: var(--font-mono); font-size: .66rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 2px; min-width: 0; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .5); }
.nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 15px; border-radius: 999px; color: var(--muted); font-size: .9rem; font-weight: 600; white-space: nowrap; transition: color .18s var(--ease), background .18s var(--ease); }
.nav a:hover, .nav a:focus-visible, .nav a.active { color: var(--text); background: #fff; box-shadow: var(--shadow-card); outline: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header-cta { flex: 0 0 auto; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-family: var(--font-text); font-weight: 700; font-size: .98rem; letter-spacing: -.005em; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease); }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 16px 34px -16px rgba(42, 79, 221, .65); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-deep); box-shadow: 0 22px 44px -16px rgba(42, 79, 221, .7); }
.btn-sm { min-height: 44px; padding-inline: 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.btn-ghost-dark:hover, .btn-ghost-dark:focus-visible { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .34); }

/* Mobile menu toggle */
.nav-toggle { display: none; position: relative; align-items: center; justify-content: center; gap: 11px; min-width: 112px; height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; box-shadow: var(--shadow-card); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.nav-toggle:hover, .nav-toggle:focus-visible { transform: translateY(-1px); border-color: var(--accent-line); outline: none; }
.nav-toggle-label { font-size: .96rem; font-weight: 700; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.nav-toggle-orb { display: inline-grid; place-items: center; gap: 5px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-tint); }
.nav-toggle-orb i { display: block; width: 13px; height: 2px; border-radius: 999px; background: var(--text); transition: transform .18s var(--ease), opacity .18s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-orb i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-orb i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav { position: absolute; top: calc(100% + 12px); left: max(18px, calc((100vw - var(--maxw)) / 2 + 24px)); right: max(18px, calc((100vw - var(--maxw)) / 2 + 24px)); z-index: 140; display: none; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .96); box-shadow: 0 40px 90px -30px rgba(12, 19, 34, .4); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); max-height: calc(100dvh - 128px); overflow-y: auto; }
.mobile-nav.open { display: grid; animation: menuIn .18s var(--ease) both; }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); }
.mobile-nav-kicker { display: block; margin-bottom: 4px; color: var(--accent); font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mobile-nav-top strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.mobile-nav-badge { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-tint); color: var(--accent); font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.mobile-nav-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mobile-nav-grid a { position: relative; display: grid; gap: 4px; min-height: 72px; padding: 15px 42px 15px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); color: var(--text); transition: transform .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease); }
.mobile-nav-grid a::after { content: "→"; position: absolute; top: 14px; right: 16px; color: var(--accent); font-weight: 700; opacity: .7; }
.mobile-nav-grid a:hover, .mobile-nav-grid a:focus-visible, .mobile-nav-grid a.active { transform: translateY(-1px); background: #fff; border-color: var(--accent-line); box-shadow: var(--shadow-card); outline: none; }
.mobile-nav-grid span { display: block; max-width: 100%; font-family: var(--font-display); font-size: 1rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-nav-grid small { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.25; }
.mobile-nav-cta { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 18px; border-radius: 16px; background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 16px 34px -16px rgba(42, 79, 221, .6); transition: transform .16s var(--ease), background .16s var(--ease); }
.mobile-nav-cta:hover, .mobile-nav-cta:focus-visible { transform: translateY(-1px); background: var(--accent-deep); outline: none; }
.menu-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(12, 19, 34, .3); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .18s var(--ease); }
.menu-backdrop.open { opacity: 1; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---------- Type & shared ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--accent); font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.eyebrow-glow { color: #93b4ff; }
h1, h2, h3 { font-family: var(--font-display); margin-top: 0; color: var(--text); }
p { margin-top: 0; }
h1 { margin-bottom: 22px; max-width: 16ch; font-size: clamp(2.9rem, 6.4vw, 5.7rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
h2 { margin-bottom: 0; font-size: clamp(2.15rem, 4.4vw, 3.7rem); font-weight: 700; line-height: 1.0; letter-spacing: -.03em; }
h3 { margin-bottom: 10px; font-size: 1.3rem; font-weight: 700; line-height: 1.16; letter-spacing: -.02em; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
p { color: var(--muted); line-height: 1.68; }
.lead { max-width: 640px; color: rgba(255, 255, 255, .76); font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.62; }
.lead .term-chip { vertical-align: baseline; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .72fr); gap: 44px; align-items: end; margin-bottom: 56px; }
.split-head p { margin: 0; color: var(--muted); font-size: 1.05rem; font-weight: 500; }
.section-dark .split-head p { color: rgba(255, 255, 255, .72); }

/* Soft ambient glow (calm, single-hue) */
.mesh { position: absolute; pointer-events: none; border-radius: 999px; filter: blur(60px); opacity: .6; }
.mesh-a { width: 540px; height: 540px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(42, 79, 221, .42), transparent 70%); }
.mesh-b { width: 460px; height: 460px; left: -180px; bottom: -220px; background: radial-gradient(circle, rgba(147, 180, 255, .22), transparent 70%); }
.mesh-soft { width: 540px; height: 540px; right: -180px; bottom: -220px; background: radial-gradient(circle, rgba(42, 79, 221, .34), transparent 70%); }

/* ---------- Hero ---------- */
.hero { padding: 128px 0 120px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(420px, .82fr); gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-signals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-signals span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; color: rgba(255, 255, 255, .76); font-size: .85rem; font-weight: 500; white-space: nowrap; }
/* Hero panel — editorial engagement summary (not an app UI) */
.studio-card { position: relative; padding: 38px; border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, .14); background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; }
.studio-card::before { content: ""; position: absolute; inset: -45% -25% auto; height: 340px; background: radial-gradient(circle, rgba(42, 79, 221, .32), transparent 66%); pointer-events: none; }
.studio-card-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.studio-eyebrow { color: #93b4ff; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.studio-status { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .72); font-size: .84rem; font-weight: 500; white-space: nowrap; }
.studio-status i { width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 99, .18); }
.studio-list { position: relative; list-style: none; margin: 0; padding: 0; }
.studio-list li { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.studio-list li:last-child { border-bottom: none; padding-bottom: 4px; }
.studio-num { font-family: var(--font-mono); font-size: .92rem; font-weight: 600; color: #93b4ff; padding-top: 5px; }
.studio-list strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.studio-list em { display: block; margin-top: 7px; font-style: normal; color: rgba(255, 255, 255, .66); font-size: .98rem; line-height: 1.55; }
.studio-foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: var(--radius); background: rgba(42, 79, 221, .16); border: 1px solid rgba(147, 180, 255, .24); }
.studio-foot span { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #93b4ff; }
.studio-foot strong { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.04rem; text-align: right; letter-spacing: -.01em; }

/* ---------- Offer ---------- */
.enterprise-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rail-card { position: relative; display: grid; align-content: start; min-height: 392px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.rail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.rail-card-featured { border-color: var(--accent-line); }
.rail-card-featured::after { content: "Most common"; position: absolute; top: 22px; right: 22px; padding: 5px 11px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.rail-card-dark { color: #fff; background: var(--ink); border-color: rgba(255, 255, 255, .1); }
.rail-card-dark::before { content: ""; position: absolute; inset: -30% -20% auto auto; width: 280px; height: 200px; background: radial-gradient(circle, rgba(42, 79, 221, .28), transparent 70%); pointer-events: none; }
.rail-card-dark h3 { color: #fff; }
.rail-card-dark p, .rail-card-dark li { color: rgba(255, 255, 255, .74); }
.rail-step { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 13px; color: var(--accent); background: var(--accent-tint); border: 1px solid var(--accent-line); font-family: var(--font-mono); font-size: .9rem; font-weight: 600; }
.rail-card-dark .rail-step { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); }
.rail-card h3 { font-size: 1.42rem; }
.rail-card > p { color: var(--muted); line-height: 1.6; }
.rail-card ul { position: relative; z-index: 1; display: grid; gap: 11px; padding: 22px 0 0; margin: 22px 0 0; list-style: none; border-top: 1px solid var(--line); }
.rail-card-dark ul { border-top-color: rgba(255, 255, 255, .12); }
.rail-card li { padding-left: 22px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.rail-card li::before { content: ""; position: absolute; left: 0; width: 14px; height: 14px; margin-top: .42em; border-radius: 999px; background: var(--accent-tint); box-shadow: inset 0 0 0 1.5px var(--accent); }
.rail-card li { position: relative; }
.rail-card-dark li::before { background: rgba(147, 180, 255, .2); box-shadow: inset 0 0 0 1.5px #93b4ff; }

/* ---------- Care ---------- */
.care-section { overflow: hidden; }
.mesh-care { width: 560px; height: 560px; left: -200px; top: -150px; background: radial-gradient(circle, rgba(42, 79, 221, .16), transparent 68%); filter: blur(60px); }
.care-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.care-copy p { color: var(--muted); font-size: 1.06rem; line-height: 1.68; }
.care-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.care-pills span { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 12px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-tint); color: var(--accent-deep); font-size: .86rem; font-weight: 600; }
.care-pills span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.direct-care-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.direct-care-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--accent), #6f86ff 60%, var(--accent)); }
.direct-care-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 6px 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.direct-care-top span { color: var(--accent); font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.direct-care-top strong { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--font-display); font-size: .95rem; font-weight: 700; white-space: nowrap; }
.direct-care-top strong::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 157, 99, .16); }
.direct-care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.direct-care-grid div { position: relative; min-height: 152px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: linear-gradient(180deg, var(--surface), var(--surface-2)); transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); }
.direct-care-grid div:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: var(--shadow-card); }
.direct-care-grid b { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #6f86ff); color: #fff; font-family: var(--font-mono); font-weight: 600; font-size: .85rem; box-shadow: 0 10px 22px -10px rgba(42, 79, 221, .85); }
.direct-care-grid span { display: block; margin-bottom: 7px; color: var(--text); font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
.direct-care-grid small { color: var(--muted); font-weight: 500; line-height: 1.5; }

/* ---------- AI ---------- */
.ai-addons-section { color: #fff; background: var(--ink); overflow: hidden; }
.ai-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 8%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 8%, #000, transparent 70%); opacity: .8; }
.ai-command-head { position: relative; }
.ai-addons-section h2, .ai-addons-section h3 { color: #fff; }
.ai-addons-section .split-head p { color: rgba(255, 255, 255, .72); }
.chatbot-showcase { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: stretch; margin-bottom: 18px; }
.chatbot-copy { display: grid; align-content: center; padding: 36px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); }
.module-label { display: inline-flex; width: fit-content; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border: 1px solid rgba(147, 180, 255, .26); border-radius: 999px; color: #c9d6ff; background: rgba(147, 180, 255, .08); font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.module-label.live::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 5px rgba(31, 157, 99, .16); }
.chatbot-copy h3 { margin: 20px 0 0; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.85rem); line-height: 1.02; letter-spacing: -.03em; }
.chatbot-copy p { margin-top: 16px; color: rgba(255, 255, 255, .74); line-height: 1.66; }
.chatbot-proof-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chatbot-proof-row span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .04); font-size: .82rem; font-weight: 500; }
.chatbot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.demo-copy-btn { min-height: 54px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .05); color: #fff; font-weight: 700; cursor: pointer; transition: transform .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease); }
.demo-copy-btn:hover, .demo-copy-btn:focus-visible { transform: translateY(-1px); background: rgba(255, 255, 255, .12); border-color: rgba(147, 180, 255, .3); outline: none; }
.copy-status { color: #c9d6ff; font-size: .82rem; font-weight: 600; min-height: 1.1em; }
.chatbot-console { position: relative; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .2)); box-shadow: 0 50px 110px -40px rgba(0, 0, 0, .7); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 7px; min-height: 50px; padding: 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .56); font-family: var(--font-mono); font-size: .72rem; font-weight: 500; }
.console-bar span { width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.console-bar strong { margin-left: auto; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scenario-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.scenario-chip { min-height: 40px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .68); font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
.scenario-chip:hover, .scenario-chip:focus-visible, .scenario-chip.active { color: #fff; background: rgba(42, 79, 221, .26); border-color: rgba(147, 180, 255, .32); outline: none; }
.console-thread { display: grid; gap: 12px; padding: 24px; min-height: 246px; align-content: center; }
.thread-message { width: min(620px, 90%); padding: 15px 17px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .05); line-height: 1.55; font-weight: 500; }
.thread-message.assistant { margin-left: auto; border-color: rgba(147, 180, 255, .22); background: rgba(42, 79, 221, .22); color: #eef3ff; }
.owner-output { margin: 0 20px 20px; padding: 17px; border: 1px solid rgba(31, 157, 99, .26); border-radius: 18px; background: rgba(31, 157, 99, .1); }
.owner-output span { display: block; margin-bottom: 6px; color: #7ee0ad; font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.owner-output p { margin: 0; color: #fff; font-weight: 600; }
.ai-lab { position: relative; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; padding: 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); }
.ai-tabs { display: grid; align-content: start; gap: 10px; }
.ai-tab { min-height: 60px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-sm); color: rgba(255, 255, 255, .72); background: rgba(255, 255, 255, .04); cursor: pointer; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.ai-tab:hover, .ai-tab:focus-visible, .ai-tab.active { color: #fff; background: rgba(42, 79, 221, .24); border-color: rgba(147, 180, 255, .3); outline: none; }
.ai-demo-card { position: relative; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(0, 0, 0, .2); overflow: hidden; }
.ai-demo-card::before { content: ""; position: absolute; left: -40%; right: -40%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(147, 180, 255, .8), transparent); animation: scanLine 3.5s ease-in-out infinite; }
@keyframes scanLine { 0%, 100% { transform: translateX(-35%); opacity: .3; } 50% { transform: translateX(35%); opacity: .85; } }
.ai-demo-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ai-demo-header span { color: #c9d6ff; font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.ai-demo-header strong { text-align: right; font-family: var(--font-display); font-weight: 700; color: #fff; }
.ai-demo-window { display: grid; gap: 12px; padding: 22px; }
.chat-bubble { width: min(600px, 90%); padding: 14px 17px; border-radius: 18px; color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); line-height: 1.55; font-weight: 500; }
.chat-bubble.bot { margin-left: auto; background: rgba(42, 79, 221, .22); border-color: rgba(147, 180, 255, .2); color: #eef3ff; }
.demo-output { margin-top: 4px; padding: 17px; border: 1px solid rgba(147, 180, 255, .22); border-radius: 18px; background: rgba(147, 180, 255, .08); }
.demo-output span { display: block; margin-bottom: 5px; color: #c9d6ff; font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.demo-output p { margin: 0; color: #fff; font-weight: 600; }
.ai-benefits { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ai-benefits article { padding: 22px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.ai-benefits span { color: #93b4ff; font-family: var(--font-mono); font-weight: 600; font-size: .9rem; }
.ai-benefits h3 { margin-top: 14px; color: #fff; }
.ai-benefits p { margin: 0; color: rgba(255, 255, 255, .7); }

/* ---------- Work ---------- */
.work-stack { display: grid; gap: 18px; }
.work-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); overflow: clip; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.work-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.work-feature-copy { display: grid; align-content: center; padding: 46px; }
.work-feature-copy h3 { margin-top: 14px; font-size: clamp(1.5rem, 2.7vw, 2.5rem); line-height: 1.04; letter-spacing: -.03em; }
.work-feature-copy p { margin: 16px 0 0; color: var(--muted); line-height: 1.62; }
.work-feature-copy a { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--accent); font-weight: 700; transition: gap .18s var(--ease); }
.work-feature-copy a:hover, .work-feature-copy a:focus-visible { gap: 12px; outline: none; }
.work-feature-visual { min-height: 340px; padding: 32px; background: linear-gradient(150deg, var(--ink-2), var(--ink)); }
.work-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.suite-card { position: relative; display: grid; min-height: 290px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); overflow: clip; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.suite-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.suite-card-large { grid-row: span 2; min-height: 596px; }
.suite-card-dark { color: #fff; background: var(--ink); border-color: rgba(255, 255, 255, .1); }
.suite-visual { min-height: 310px; padding: 26px; background: linear-gradient(150deg, var(--ink-2), var(--ink)); }
.enterprise-site-visual { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1.2fr .8fr; gap: 12px; }
.enterprise-site-visual span { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .06); }
.enterprise-site-visual span:first-child { grid-row: span 2; background: linear-gradient(150deg, rgba(42, 79, 221, .3), rgba(147, 180, 255, .12)); }
.enterprise-site-visual span:nth-child(2) { background: rgba(31, 157, 99, .14); }
.enterprise-site-visual span:nth-child(3) { background: rgba(255, 255, 255, .08); }
.enterprise-site-visual span:nth-child(4) { display: none; }
.suite-copy { padding: 30px; }
.suite-kicker { color: var(--accent); font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.suite-card-dark .suite-kicker { color: #93b4ff; }
.suite-copy h3 { margin-top: 14px; font-size: clamp(1.4rem, 2.4vw, 2.25rem); line-height: 1.06; letter-spacing: -.03em; }
.suite-card-dark h3 { color: #fff; }
.suite-copy p { margin-top: 12px; margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.suite-card-dark p { color: rgba(255, 255, 255, .72); }
.suite-copy a { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--accent); font-weight: 700; }
.suite-copy a:hover, .suite-copy a:focus-visible { gap: 12px; outline: none; }
.suite-mini-visual { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 146px; padding: 22px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.suite-mini-visual b { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border-radius: 12px; background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-card); font-family: var(--font-mono); font-weight: 500; font-size: .82rem; }
.suite-mini-visual i { width: 26px; height: 2px; border-radius: 999px; background: var(--accent); opacity: .5; }
.suite-card-dark .suite-mini-visual { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.suite-card-dark .suite-mini-visual b { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.ai-mini { flex-wrap: wrap; }
.suite-checklist ul { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.suite-checklist li { position: relative; padding-left: 26px; color: var(--muted); font-weight: 500; }
.suite-checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 999px; background: var(--accent-tint); box-shadow: inset 0 0 0 1.5px var(--accent); }

/* ---------- Process / FAQ / Contact ---------- */
.process-accordion summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }

/* Process — glowing engagement timeline (dark) */
.process-section { overflow: hidden; }
.mesh-proc { width: 620px; height: 620px; right: -200px; top: -160px; background: radial-gradient(circle, rgba(42, 79, 221, .45), transparent 66%); filter: blur(70px); opacity: .7; }
.process-timeline { position: relative; display: grid; gap: 14px; }
.process-timeline::before { content: ""; position: absolute; left: 22px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(rgba(147, 180, 255, .85), rgba(42, 79, 221, .35) 55%, transparent); box-shadow: 0 0 16px rgba(42, 79, 221, .6); }
.process-timeline details { position: relative; margin-left: 72px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .035); transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.process-timeline details:hover { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .055); }
.process-timeline details[open] { border-color: rgba(147, 180, 255, .34); background: linear-gradient(180deg, rgba(42, 79, 221, .18), rgba(255, 255, 255, .03)); box-shadow: 0 30px 70px -30px rgba(42, 79, 221, .7); }
.process-timeline summary { position: relative; display: flex; align-items: center; gap: 16px; padding: 24px 58px 24px 26px; cursor: pointer; list-style: none; }
.proc-node { position: absolute; left: -72px; top: 18px; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ink-2); border: 1px solid rgba(147, 180, 255, .3); color: #c9d6ff; font-family: var(--font-mono); font-size: .92rem; font-weight: 600; box-shadow: 0 0 0 5px var(--ink); transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.process-timeline details[open] .proc-node { background: linear-gradient(135deg, var(--accent), #6f86ff); border-color: transparent; color: #fff; box-shadow: 0 0 0 5px var(--ink), 0 0 28px rgba(42, 79, 221, .95); transform: scale(1.06); }
.proc-main { display: grid; gap: 5px; flex: 1; min-width: 0; }
.proc-main strong { font-family: var(--font-display); font-size: 1.26rem; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.proc-main em { color: rgba(255, 255, 255, .6); font-style: normal; font-weight: 500; line-height: 1.45; }
.proc-tag { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .6); font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.process-timeline details[open] .proc-tag { color: #bcd0ff; background: rgba(42, 79, 221, .24); border-color: rgba(147, 180, 255, .34); }
.process-timeline summary::after { content: ""; position: absolute; top: 50%; right: 24px; margin-top: -9px; width: 11px; height: 11px; border-right: 2px solid rgba(255, 255, 255, .45); border-bottom: 2px solid rgba(255, 255, 255, .45); transform: rotate(45deg); transition: transform .25s var(--ease), border-color .2s var(--ease); }
.process-timeline details[open] summary::after { transform: rotate(225deg); border-color: #93b4ff; }
.process-timeline details p { margin: 0; padding: 2px 58px 26px 26px; color: rgba(255, 255, 255, .66); line-height: 1.66; }
.process-timeline details[open] p, .faq-list details[open] p { animation: accReveal .34s var(--ease) both; }
@keyframes accReveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.definition-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.term-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 13px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-weight: 600; font-size: .88rem; cursor: pointer; line-height: 1; white-space: nowrap; vertical-align: baseline; transition: background .16s var(--ease), border-color .16s var(--ease); }
.term-chip:hover, .term-chip:focus-visible, .term-chip.is-open { background: rgba(42, 79, 221, .15); border-color: var(--accent); outline: none; }
.term-chip.on-dark { color: #c9d6ff; border-color: rgba(147, 180, 255, .3); background: rgba(147, 180, 255, .1); }
.term-tooltip { position: fixed; z-index: 999; max-width: min(310px, calc(100vw - 32px)); padding: 13px 15px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: var(--ink); color: #fff; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); font-size: .82rem; font-weight: 500; line-height: 1.5; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .14s var(--ease), transform .14s var(--ease); }
.term-tooltip.visible { opacity: 1; transform: translateY(0); }

/* FAQ — centered decision list */
.faq-section .split-head { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.faq-section .split-head p { margin: 16px 0 0; }
.faq-terms { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 880px; margin: 0 auto 30px; text-align: center; }
.faq-terms-label { color: var(--muted); font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.faq-terms .definition-cloud { justify-content: center; margin-top: 0; }
.faq-list { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.faq-list details { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-card); overflow: clip; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-list details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .28s var(--ease); }
.faq-list details:hover { border-color: var(--line-strong); }
.faq-list details[open] { border-color: var(--accent-line); box-shadow: var(--shadow-soft); }
.faq-list details[open]::before { transform: scaleY(1); }
.faq-list summary { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px 58px 22px 24px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; color: var(--text); }
.faq-list summary span { display: inline-grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-tint); color: var(--accent); font-family: var(--font-mono); font-size: .78rem; font-weight: 600; transition: background .2s var(--ease), color .2s var(--ease); }
.faq-list details[open] summary span { background: var(--accent); color: #fff; }
.faq-list summary::after { content: ""; position: absolute; top: 50%; right: 24px; margin-top: -9px; width: 11px; height: 11px; border-right: 2px solid var(--muted-2); border-bottom: 2px solid var(--muted-2); transform: rotate(45deg); transition: transform .25s var(--ease), border-color .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(225deg); border-color: var(--accent); }
.faq-list details p { margin: 0; padding: 2px 58px 24px 76px; color: var(--muted); line-height: 1.66; }

.contact-section { padding-bottom: 120px; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); gap: 52px; align-items: start; }
.contact-copy p { color: rgba(255, 255, 255, .76); font-size: 1.08rem; line-height: 1.66; }
.contact-note { margin-top: 28px; padding: 20px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.contact-note strong { display: block; font-family: var(--font-display); font-weight: 700; }
.contact-note span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .7); line-height: 1.6; }
.contact-form { display: grid; gap: 15px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: 0 50px 110px -40px rgba(0, 0, 0, .6); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 8px; color: var(--text); font-size: .82rem; font-weight: 700; letter-spacing: -.005em; }
.label-soft { color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 15px; background: var(--surface-2); color: var(--text); font-weight: 500; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted-2); }
.contact-form textarea { min-height: 134px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-tint); }
.contact-form .btn { margin-top: 4px; }
.form-status { min-height: 1.2em; margin: 0; font-size: .9rem; font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #dc2626; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 44px 0 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.footer-nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .92rem; transition: color .16s var(--ease), background .16s var(--ease); }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--text); background: var(--surface-2); outline: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 22px; color: var(--muted); font-family: var(--font-mono); font-size: .76rem; font-weight: 500; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .62s var(--ease), transform .62s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive (1280/1281 system preserved) ---------- */
@media (min-width: 1281px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 1280px) {
  .nav, .header-cta { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .brand-text small { display: none; }
}
@media (max-width: 1040px) {
  .top-note-message { display: none; }
  .top-note-inner { justify-content: center; }
  .hero-grid, .care-grid, .faq-grid, .contact-grid, .chatbot-showcase, .faq-command-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 680px; margin-inline: auto; }
  .split-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .enterprise-rail, .work-grid, .work-suite { grid-template-columns: 1fr 1fr; }
  .ai-lab { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ai-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, var(--maxw)); }
  .section { padding: 84px 0; }
  .hero { padding: 92px 0 84px; }
  h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 8.5vw, 2.7rem); }
  .split-head { margin-bottom: 40px; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { max-width: 172px; font-size: .96rem; }
  .nav-toggle { min-width: 108px; height: 46px; }
  .mobile-nav { left: 16px; right: 16px; top: calc(100% + 10px); padding: 16px; border-radius: 24px; }
  .mobile-nav-grid { grid-template-columns: 1fr; }
  .mobile-nav-grid a { min-height: 64px; }
  .mobile-nav-badge { display: none; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-signals span { flex: 1 1 auto; justify-content: center; text-align: center; }
  .ops-window { min-height: auto; border-radius: var(--radius); }
  .ops-console { grid-template-columns: 1fr; }
  .studio-card { padding: 28px; }
  .studio-list strong { font-size: 1.35rem; }
  .site-wire { grid-template-columns: 1fr 1fr; }
  .enterprise-rail, .work-grid, .work-trio, .ai-benefits { grid-template-columns: 1fr; }
  .work-feature { grid-template-columns: 1fr; }
  .work-feature-copy { padding: 28px; }
  .work-feature-visual { min-height: 220px; }
  .faq-command-card { position: relative; top: auto; }
  .rail-card { min-height: auto; }
  .direct-care-grid { grid-template-columns: 1fr; }
  .ai-tabs { grid-template-columns: 1fr 1fr; }
  .chatbot-copy { padding: 26px; }
  .scenario-grid { grid-template-columns: 1fr 1fr; }
  .thread-message { width: 100%; }
  .ai-demo-header { display: grid; }
  .ai-demo-header strong { text-align: left; }
  .chat-bubble { width: 100%; }
  .process-timeline::before { left: 17px; }
  .process-timeline details { margin-left: 52px; }
  .proc-node { left: -52px; top: 16px; width: 38px; height: 38px; border-radius: 11px; font-size: .82rem; }
  .proc-tag { display: none; }
  .process-timeline summary { padding: 20px 48px 20px 20px; }
  .process-timeline details p { padding: 2px 24px 22px 20px; }
  .faq-list summary { padding-right: 48px; align-items: flex-start; }
  .faq-list summary span { margin-top: 1px; }
  .faq-list details p { padding-left: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { display: grid; justify-items: start; }
  .footer-nav { justify-content: start; }
}
@media (max-width: 390px) {
  .container { width: min(100% - 28px, var(--maxw)); }
  .top-note-cta { padding-inline: 11px; }
  .brand-text strong { max-width: 136px; }
  .nav-toggle { min-width: 98px; padding-inline: 13px; }
  .nav-toggle-orb { width: 24px; height: 24px; }
  .mobile-nav { left: 12px; right: 12px; padding: 14px; }
  .ai-tabs { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .site-wire { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* === Contact: Tips & Tricks (matches the .contact-note card beside it) === */
.tips { margin-top: 22px; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.04); cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.tips:hover { border-color: rgba(103,232,249,.26); background: rgba(255,255,255,.06); }
.tips:focus-visible { outline: 2px solid rgba(103,232,249,.4); outline-offset: 3px; }
.tips-label { display: block; margin-bottom: 11px; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: #9ef4ff; }
.tips-line { margin: 0; min-height: 2.9em; font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.78); transition: opacity .22s ease, transform .22s ease; }
.tips-line.swap { opacity: 0; transform: translateY(4px); }
.tips-tag { color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .tips-line { transition: none; } }

/* Contact section: keep natural spacing on the left, stretch the form to the same
   bottom line, and let the message box absorb the extra height (desktop two-column). */
@media (min-width: 1041px) {
  .contact-grid { align-items: stretch; }
  .contact-form { display: flex; flex-direction: column; }
  .contact-form > label { flex: 1 1 auto; grid-template-rows: auto 1fr; }
  .contact-form > label textarea { height: 100%; min-height: 120px; }
}

/* === Selected work / portfolio === */
.portfolio-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: stretch; }
.project-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card, 0 18px 40px -24px rgba(12,19,34,.3)); }
.project-preview { display: block; }
.project-chrome { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: #0d1626; }
.project-chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.project-chrome i:nth-child(1) { background: #ff5f57; } .project-chrome i:nth-child(2) { background: #febc2e; } .project-chrome i:nth-child(3) { background: #28c840; }
.project-chrome b { margin-left: 8px; font-family: var(--font-mono, ui-monospace, monospace); font-weight: 600; font-size: .8rem; color: rgba(255,255,255,.64); }
.project-shot { position: relative; display: grid; place-items: center; gap: 16px; min-height: 256px; padding: 30px; transition: transform .3s var(--ease, ease); }
.project-card:hover .project-shot { transform: scale(1.015); }
.project-shot-cbc { background: radial-gradient(circle at 30% 0%, #d8f0e2, transparent 55%), linear-gradient(180deg, #EAF7EF, #ffffff); }
.project-shot-cbc img { width: min(300px, 72%); height: auto; }
.shot-cta { padding: 11px 20px; border-radius: 999px; background: linear-gradient(135deg, #00A64A, #006C3F); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 12px 26px -10px rgba(0,166,74,.6); }
.project-body { display: flex; flex-direction: column; gap: 13px; padding: 26px; }
.project-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.project-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; }
.project-place { flex: 0 0 auto; font-family: var(--font-mono, ui-monospace, monospace); font-size: .74rem; color: #5b6675; }
.project-body p { margin: 0; color: #5b6675; line-height: 1.6; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.project-tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--accent-line); background: var(--accent-tint); color: var(--accent); font-size: .78rem; font-weight: 600; }
.project-link { align-self: flex-start; margin-top: 3px; color: var(--accent); font-weight: 700; }
.project-link:hover { color: var(--accent-deep); }
.project-next { justify-content: center; gap: 13px; padding: 32px; background: linear-gradient(165deg, #0f1a2e, #0c1322); color: #fff; border-color: rgba(255,255,255,.12); }
.next-eyebrow { font-family: var(--font-mono, ui-monospace, monospace); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8aa2ff; }
.project-next h3 { margin: 0; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -.02em; }
.project-next p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.6; }
.project-next .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 860px) { .portfolio-grid { grid-template-columns: 1fr; } }
