/* ==========================================================================
   ARVELANE SOFTWARE LLC — BRAND STYLESHEET
   "Simple, direct technology that pays for itself."
   Editorial, classical, calm: navy ink on warm marble paper, one blue accent.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (local upright weights; italic comes from Google Fonts)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'),
       url('../assets/fonts/cormorant-garamond-latin-500-normal.woff') format('woff');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'),
       url('../assets/fonts/cormorant-garamond-latin-600-normal.woff') format('woff');
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/work-sans-latin-400-normal.woff2') format('woff2'),
       url('../assets/fonts/work-sans-latin-400-normal.woff') format('woff');
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/work-sans-latin-500-normal.woff2') format('woff2'),
       url('../assets/fonts/work-sans-latin-500-normal.woff') format('woff');
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy: #0B2F55;        /* Deep Blue — headings, dark sections */
  --ink: #0A1626;         /* Near-black navy — body text, footer */
  --aegean: #1F5BD6;      /* Aegean Blue — the single action colour */
  --aegean-dark: #1849AE;
  --sky: #8FB4FF;         /* Sky — accents on dark */

  /* Neutrals: warm marble */
  --white: #FFFFFF;
  --paper: #F6F3EE;
  --stone: #ECE7DE;
  --line: #E2DCD1;
  --line-dark: rgba(255, 255, 255, 0.14);

  --text: #0A1626;
  --text-muted: #4A5566;
  --text-soft: #6B7585;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255, 255, 255, 0.72);

  /* Type */
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 820px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 8.5rem);
  --radius: 14px;
  --radius-sm: 8px;

  --shadow-lg: 0 1px 2px rgba(10, 22, 38, 0.04), 0 24px 60px -20px rgba(10, 22, 38, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--aegean); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky); color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }

/* --------------------------------------------------------------------------
   4. Type
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-weight: 600; color: var(--navy); }

.display-xl, .display-lg {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--navy);
}
.display-xl { font-size: clamp(3rem, 7vw, 6rem); line-height: 0.98; }
.display-lg { font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.04; }

.display-xl em, .display-lg em {
  font-style: italic;
  font-weight: 500;
  color: var(--aegean);
}

.label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--aegean);
  margin-bottom: 1.5rem;
}
.label::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.label--sky { color: var(--sky); }

.label-num {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  height: 52px; padding: 0 1.6rem;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.005em; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { height: 42px; padding: 0 1.2rem; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--aegean); color: var(--white); }
.btn-primary:hover { background: var(--aegean-dark); }

.btn-ghost { color: var(--navy); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); }

.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--paper); }

.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn-outline-light:hover { border-color: var(--white); }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 243, 238, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 243, 238, 0.94); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header-logo img { height: 50px; width: auto; }

.nav-desktop { display: flex; align-items: center; gap: 2.25rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  position: relative; font-size: 0.925rem; font-weight: 500; color: var(--text-muted);
  transition: color .2s ease;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--navy); }
.nav-desktop .nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-desktop .nav-link:hover::after { transform: scaleX(1); }

.mobile-nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.mobile-nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--navy);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.mobile-nav-toggle span:nth-child(1) { top: 18px; }
.mobile-nav-toggle span:nth-child(2) { top: 25px; }
.mobile-nav-toggle.is-open span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.mobile-nav-toggle.is-open span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-nav-drawer {
  display: none;
  padding: 0.5rem var(--gutter) 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav-drawer.is-open { display: block; }
.mobile-nav-drawer .nav-links { flex-direction: column; gap: 0; margin-bottom: 1.25rem; }
.mobile-nav-drawer .nav-link {
  display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.5rem; color: var(--navy);
}
.mobile-nav-drawer .btn { width: 100%; }

/* --------------------------------------------------------------------------
   7. Hero — headline, phone, connected floating cards
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(ellipse 60% 55% at 50% 78%, rgba(143, 180, 255, 0.45) 0%, rgba(143, 180, 255, 0) 70%),
    linear-gradient(180deg, var(--paper) 0%, #EEF2FA 70%, var(--white) 100%);
}
/* Faint chalk geometry, tinted navy */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--navy);
  -webkit-mask: url('../assets/images/chalk-geometry.svg') center / cover no-repeat;
          mask: url('../assets/images/chalk-geometry.svg') center / cover no-repeat;
  opacity: 0.13;
}
/* Soft fade into the next section */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--white) 100%);
}

.hero-top {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: end;
}
.hero-top .display-xl em { display: block; }
.hero-aside { padding-bottom: 0.6rem; }
.hero-aside p { font-size: 1.1rem; color: var(--text-muted); max-width: 22rem; margin-bottom: 1.5rem; }

.hero-stage {
  position: relative;
  height: clamp(520px, 52vw, 640px);
  margin-top: clamp(1rem, 3vw, 2rem);
}

/* Signal rings behind the phone */
.rings { position: absolute; left: 50%; top: 58%; width: 0; height: 0; }
.rings span {
  position: absolute; left: 50%; top: 50%;
  border: 1px solid rgba(31, 91, 214, 0.16); border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ring 6s var(--ease) infinite;
}
.rings span:nth-child(1) { width: 380px; height: 380px; }
.rings span:nth-child(2) { width: 560px; height: 560px; animation-delay: .8s; }
.rings span:nth-child(3) { width: 760px; height: 760px; animation-delay: 1.6s; }
.rings span:nth-child(4) { width: 980px; height: 980px; animation-delay: 2.4s; border-style: dashed; }
@keyframes ring {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.03); }
}

/* Phone */
.phone {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 300px; height: 620px; padding: 10px;
  background: linear-gradient(145deg, #1B2B42, #070F1C);
  border-radius: 50px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 50px 90px -30px rgba(11, 47, 85, 0.55),
    0 20px 40px -20px rgba(11, 47, 85, 0.4);
  z-index: 3;
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 40px;
  background: linear-gradient(180deg, #F7F9FD 0%, #EEF3FC 100%);
  padding: 14px 16px;
  font-size: 12px; color: var(--navy);
  display: flex; flex-direction: column; gap: 12px;
}
.phone-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #05090F; }
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 2px 10px 6px; font-weight: 500; font-size: 11px; }
.ps-signal { display: flex; align-items: flex-end; gap: 2px; }
.ps-signal i { width: 3px; background: var(--navy); border-radius: 1px; }
.ps-signal i:nth-child(1) { height: 4px; } .ps-signal i:nth-child(2) { height: 7px; } .ps-signal i:nth-child(3) { height: 10px; }

.ps-head { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ps-head img { width: 34px; height: 34px; padding: 4px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(11,47,85,0.08); }
.ps-head small { display: block; color: var(--text-soft); font-size: 10.5px; }
.ps-head strong { font-weight: 500; font-size: 13px; }

.ps-hero-card {
  padding: 14px; border-radius: 18px; color: var(--white);
  background: linear-gradient(135deg, var(--aegean) 0%, var(--navy) 100%);
  box-shadow: 0 12px 24px -12px rgba(31, 91, 214, 0.6);
}
.ps-hero-card small { opacity: 0.75; font-size: 10.5px; }
.ps-hero-card strong { display: block; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; margin: 2px 0 10px; }
.ps-hero-card strong span { font-size: 13px; opacity: 0.6; }
.ps-progress { height: 5px; border-radius: 4px; background: rgba(255,255,255,0.2); overflow: hidden; }
.ps-progress i { display: block; height: 100%; background: var(--sky); border-radius: inherit; }

.ps-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; font-size: 10px; color: var(--text-muted); }
.ps-actions i {
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 4px;
  border-radius: 14px; background: var(--white); color: var(--aegean);
  box-shadow: 0 2px 8px rgba(11,47,85,0.06);
}
.ps-actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.ps-list { background: var(--white); border-radius: 16px; padding: 10px 12px 4px; box-shadow: 0 2px 8px rgba(11,47,85,0.05); }
.ps-list > small { color: var(--text-soft); font-size: 10.5px; }
.ps-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid var(--stone); }
.ps-list > small + .ps-row { border-top: 0; }
.ps-row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.ps-row em { font-style: normal; }

.ps-tabbar {
  margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  padding: 8px 10px; border-radius: 22px; background: var(--white); box-shadow: 0 4px 14px rgba(11,47,85,0.08);
}
.ps-tabbar span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #9AA6B8; }
.ps-tabbar span.on { color: var(--aegean); background: rgba(31,91,214,0.1); }
.ps-tabbar b {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px;
  background: linear-gradient(145deg, #2A6BE8, var(--aegean)); color: var(--white);
  box-shadow: 0 8px 16px -6px rgba(31, 91, 214, 0.7);
}
.ps-tabbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.chip { font-size: 10.5px; font-weight: 500; padding: 3px 9px; border-radius: 999px; }
.chip-blue { background: rgba(31, 91, 214, 0.1); color: var(--aegean); }
.chip-green { background: rgba(34, 160, 107, 0.12); color: #1D7A4E; }
.chip-navy { background: rgba(11, 47, 85, 0.08); color: var(--navy); }

/* Floating glass cards */
.float {
  position: absolute; z-index: 4;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 24px 50px -24px rgba(11, 47, 85, 0.35);
  font-size: 0.8rem; color: var(--navy);
  animation: bob 7s ease-in-out infinite;
}
.float small { display: block; color: var(--text-soft); font-size: 0.72rem; }
.float strong { font-weight: 500; }
.float--a { left: 6%; top: 10%; width: 190px; }
.float--a strong { display: block; font-size: 1.6rem; letter-spacing: -0.02em; margin: 2px 0 8px; }
.float--a .up { font-size: 0.75rem; color: #1D7A4E; }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.spark i { flex: 1; height: var(--h); border-radius: 3px; background: rgba(31, 91, 214, 0.25); }
.spark i:last-child { background: var(--aegean); }

.float--b { left: 13%; bottom: 20%; animation-delay: -2s; }
.float-big { display: block; font-size: 1.5rem; letter-spacing: -0.02em; margin: 2px 0 2px; }
.float-sub { font-size: 0.75rem; color: #1D7A4E; font-weight: 500; }
.sync { margin-top: 8px; display: grid; gap: 6px; }
.sync li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.sync i { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 3px rgba(34,160,107,0.18); }

.float-icon {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--aegean); color: var(--white);
}
.float-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.float--d { right: 8%; top: 30%; display: flex; align-items: center; gap: 12px; animation-delay: -1s; }
.donut {
  --p: 50; position: relative; width: 58px; height: 58px; border-radius: 50%;
  background: conic-gradient(var(--aegean) calc(var(--p) * 1%), var(--stone) 0);
  display: grid; place-items: center;
}
.donut::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: var(--white); }
.donut span { position: relative; font-size: 0.7rem; font-weight: 500; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------------------------
   8. Statement
   -------------------------------------------------------------------------- */
.statement { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4.5rem, 9vw, 7rem); text-align: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin: 0 auto 2rem; padding: 0.45rem 1.1rem 0.45rem 0.45rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(11,47,85,0.04), 0 14px 30px -20px rgba(11, 47, 85, 0.45);
  text-align: left; line-height: 1.2;
}
.status-pill img { width: 34px; height: 34px; border-radius: 10px; }
.status-pill b { display: block; font-size: 0.88rem; font-weight: 500; color: var(--navy); }
.status-pill em { display: block; font-style: normal; font-size: 0.75rem; color: var(--text-soft); }
.status-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22A06B; }
.status-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(34, 160, 107, 0.5);
  animation: dot-ping 2s ease-out infinite;
}
@keyframes dot-ping { from { transform: scale(0.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.statement-text {
  font-family: var(--serif); font-weight: 500; color: var(--navy);
  font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance;
}
.statement-text em { font-style: italic; color: var(--aegean); }

/* --------------------------------------------------------------------------
   10. Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--text-on-dark); }
.section--navy .display-lg { color: var(--white); }
.section--navy .display-lg em { color: var(--sky); }
.section--navy .section-lead { color: var(--text-on-dark-muted); }

.section-head {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.section-head--center { display: block; text-align: center; }
.section-head--center .label { justify-content: center; }
.section-lead { font-size: 1.1rem; color: var(--text-muted); max-width: 26rem; }

/* --------------------------------------------------------------------------
   11. Integrations hub + live demo cards
   -------------------------------------------------------------------------- */
.connect { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem); text-align: center; }
.connect-label { justify-content: center; }
.connect-title {
  font-family: var(--serif); font-weight: 500; color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.connect-title em { font-style: italic; color: var(--aegean); }

.hub { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 1000 / 360; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines path { fill: none; vector-effect: non-scaling-stroke; }
.hub-base path { stroke: rgba(31, 91, 214, 0.16); stroke-width: 1.5; }
.hub-flow path {
  stroke: var(--aegean); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 34 320; animation: flow 3.2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(31, 91, 214, 0.7));
}
.hub-flow path:nth-child(2), .hub-flow path:nth-child(6) { animation-delay: -0.8s; }
.hub-flow path:nth-child(3), .hub-flow path:nth-child(7) { animation-delay: -1.6s; }
.hub-flow path:nth-child(4), .hub-flow path:nth-child(8) { animation-delay: -2.4s; }
@keyframes flow { from { stroke-dashoffset: 354; } to { stroke-dashoffset: 0; } }

.hub-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 0.75rem; z-index: 1;
}
.hub-plate {
  position: relative; display: block; width: 132px; height: 132px; padding: 10px;
  border-radius: 36px; background: var(--white);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 30px 60px -24px rgba(11, 47, 85, 0.45),
    0 12px 24px -16px rgba(31, 91, 214, 0.4);
}
.hub-plate img { width: 100%; height: 100%; border-radius: 27px; display: block; }
.hub-orbit {
  position: absolute; left: 50%; top: 66px; width: 250px; height: 250px; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px dashed rgba(31, 91, 214, 0.28);
  animation: spin 40s linear infinite;
}
.hub-orbit::before, .hub-orbit::after {
  content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--aegean);
  box-shadow: 0 0 10px rgba(31, 91, 214, 0.7);
}
.hub-orbit::before { top: -4px; left: calc(50% - 4px); }
.hub-orbit::after { bottom: 18%; right: 4%; background: var(--sky); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hub-name {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 0.9rem; white-space: nowrap;
  font-family: var(--serif); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--navy); padding-left: 0.32em;
}

.hub-pill {
  position: absolute; width: 23%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 2px rgba(11, 47, 85, 0.04), 0 12px 28px -18px rgba(11, 47, 85, 0.35);
  font-weight: 500; font-size: 0.92rem; color: var(--navy); text-align: left;
  transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s var(--ease);
}
.hub-pill:hover { transform: translateY(calc(-50% - 3px)); border-color: var(--c); box-shadow: 0 16px 30px -16px var(--c); }
.hub-pill--l { left: 0; }
.hub-pill--r { right: 0; flex-direction: row-reverse; text-align: right; padding: 0.55rem 0.55rem 0.55rem 1rem; }
.hub-pill--1 { top: 12.5%; } .hub-pill--2 { top: 37.5%; } .hub-pill--3 { top: 62.5%; } .hub-pill--4 { top: 87.5%; }
.hub-icon {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 82%, white), var(--c));
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 14px -6px var(--c);
}
.hub-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.demos { padding-top: clamp(3rem, 6vw, 4.5rem); }
.demos-sub { margin-top: 1rem; color: var(--text-soft); font-size: 1.05rem; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.demo {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: 24px; min-height: 560px;
}
.demo::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.demo--dark { background: #05080D; color: var(--white); }
.demo--dark::before {
  background:
    radial-gradient(circle at 20% 25%, rgba(31, 91, 214, 0.75) 0%, rgba(31, 91, 214, 0) 45%),
    radial-gradient(circle at 85% 80%, rgba(143, 180, 255, 0.35) 0%, rgba(143, 180, 255, 0) 45%),
    radial-gradient(circle at 75% 15%, rgba(11, 47, 85, 0.9) 0%, rgba(11, 47, 85, 0) 50%);
  filter: blur(10px);
  animation: drift 14s ease-in-out infinite alternate;
}
.demo--light { background: var(--white); border: 1px solid var(--line); }
.demo--light::before {
  background:
    radial-gradient(circle at 80% 25%, rgba(31, 91, 214, 0.28) 0%, rgba(31, 91, 214, 0) 45%),
    radial-gradient(circle at 15% 85%, rgba(143, 180, 255, 0.55) 0%, rgba(143, 180, 255, 0) 50%);
  filter: blur(10px);
  animation: drift 16s ease-in-out infinite alternate-reverse;
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-3%, 2%) scale(1.08); } }

.demo-visual { position: relative; flex: 1; display: grid; place-items: center; padding: 3rem 2.5rem 1.5rem; }
.demo-copy { padding: 0 2.5rem 2.5rem; }
.demo-copy h3 { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; margin-bottom: 0.4rem; }
.demo-copy p { color: var(--text-muted); margin-bottom: 1.5rem; max-width: 26rem; }
.demo--dark .demo-copy h3 { color: var(--white); }
.demo--dark .demo-copy p { color: rgba(255,255,255,0.72); }

.btn-white { background: var(--white); color: var(--navy); box-shadow: 0 6px 16px -8px rgba(11,47,85,0.3); }
.btn-white:hover { background: var(--paper); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }

/* ERP sync panel */
.erp { position: relative; z-index: 1; width: min(100%, 420px); display: grid; gap: 1.1rem; }
.erp-flow { display: flex; align-items: center; justify-content: center; }
.node {
  display: inline-flex; align-items: center; gap: 0.45rem; flex: none;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.78rem; font-weight: 500; color: var(--white);
}
.node--brand { background: var(--aegean); border-color: var(--aegean); box-shadow: 0 0 24px rgba(31, 91, 214, 0.7); }
.node img { width: 16px; height: 16px; }
.link { position: relative; flex: 1; height: 1px; min-width: 24px; background: rgba(255,255,255,0.25); overflow: hidden; }
.link i {
  position: absolute; top: -1px; left: -30%; width: 30%; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--sky));
  animation: pulse-move 1.8s linear infinite;
}
.link--rev i { animation-delay: .9s; }
@keyframes pulse-move { to { left: 100%; } }

.erp-window {
  background: var(--white); color: var(--navy); border-radius: 16px; padding: 0.9rem 1rem 0.6rem;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
}
.erp-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.6rem; border-bottom: 1px solid var(--stone); font-size: 0.9rem; }
.erp-head b { font-weight: 500; }
.erp-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 500; color: #1D7A4E; }
.erp-live i { width: 7px; height: 7px; border-radius: 50%; background: #22A06B; animation: blink 2s ease-in-out infinite; }
.erp-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--stone); font-size: 0.8rem;
}
.erp-id { font-weight: 500; font-variant-numeric: tabular-nums; }
.erp-meta { color: var(--text-soft); }
.erp-row .chip { font-style: normal; }
.code-result { display: flex; align-items: center; gap: 0.6rem; padding: 10px 0 4px; font-size: 0.75rem; color: var(--text-soft); }
.ok { white-space: nowrap; flex: none; background: #22A06B; color: #fff; font-weight: 600; font-size: 0.7rem; padding: 3px 8px; border-radius: 6px; }
/* Live sequence: lines type in, then the result pops */
.js .demo.is-visible .ln { animation: line-in .5s var(--ease) both; }
.js .demo.is-visible .ln:nth-child(1) { animation-delay: .3s; }
.js .demo.is-visible .ln:nth-child(2) { animation-delay: .7s; }
.js .demo.is-visible .ln:nth-child(3) { animation-delay: 1.1s; }
.js .demo.is-visible .ln:nth-child(4) { animation-delay: 1.5s; }
.js .demo.is-visible .ln { animation-name: row-in; }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.js .demo.is-visible .code-result { animation: line-in .5s var(--ease) 2s both; }
.js .demo.is-visible .ok { animation: pop .5s var(--ease) 2.1s both; }
@keyframes line-in { from { opacity: 0; transform: translateX(-8px); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* Floor minis */
.demo-visual--split { grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
.demo-visual--split .mini:last-child { transform: translateY(28px); }
.mini {
  display: flex; flex-direction: column; gap: 0.9rem;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; padding: 1.1rem; box-shadow: 0 24px 50px -26px rgba(11, 47, 85, 0.4); border: 1px solid var(--line);
  font-size: 0.85rem; color: var(--navy);
}
.mini small { color: var(--text-soft); font-size: 0.72rem; }
.scan { position: relative; padding: 14px 12px; border-radius: 10px; background: #1E2A3A; overflow: hidden; }
.barcode { display: flex; gap: 3px; height: 54px; }
.barcode i { flex: 1; background: #E7EDF7; border-radius: 1px; }
.barcode i:nth-child(3n) { flex: 2; }
.barcode i:nth-child(4n) { flex: 0.5; }
.scan-line {
  position: absolute; left: 6px; right: 6px; top: 12px; height: 2px; background: #FF4D4D;
  box-shadow: 0 0 12px 3px rgba(255, 77, 77, 0.6);
  animation: sweep 2.4s ease-in-out infinite;
}
@keyframes sweep { 0%, 100% { top: 12px; } 50% { top: calc(100% - 14px); } }
.mini-ok { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #22A06B; color: #fff; font-size: 0.7rem; }
.mini-big { font-size: 1.9rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.mini-big span { font-size: 0.85rem; color: var(--text-soft); }
.sync-bar { height: 6px; border-radius: 4px; background: #E3EAF7; overflow: hidden; }
.sync-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--aegean)); transform-origin: left; animation: fill 3s var(--ease) infinite; }
@keyframes fill { 0% { transform: scaleX(0.08); } 70%, 100% { transform: scaleX(1); } }
.mini-status { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: #1D7A4E; font-weight: 500; }
.mini-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 3px rgba(34,160,107,0.2); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }

/* --------------------------------------------------------------------------
   12. Services — cards with live mini demos
   -------------------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 1.25rem; }
.svc {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.svc:hover { transform: translateY(-4px); border-color: rgba(31, 91, 214, 0.35); box-shadow: 0 24px 50px -28px rgba(11, 47, 85, 0.4); }
.svc--feature { grid-row: span 2; background: var(--ink); border-color: var(--ink); }
.svc--wide { grid-column: span 2; flex-direction: row; }
.svc--wide .svc-visual { border-bottom: 0; border-right: 1px solid var(--line); }
.svc--wide .svc-copy { flex: 1; align-self: center; }
.svc-visual {
  position: relative; flex: 1; min-height: 170px;
  display: grid; place-items: center; padding: 1.5rem;
  background: radial-gradient(ellipse at 50% 120%, rgba(143, 180, 255, 0.35) 0%, rgba(143, 180, 255, 0) 70%), var(--paper);
  border-bottom: 1px solid var(--line);
}
.svc-visual > * { width: 100%; max-width: 280px; }
.svc-visual--dark {
  display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 2rem;
  background: radial-gradient(ellipse at 30% 0%, rgba(31, 91, 214, 0.55) 0%, rgba(31, 91, 214, 0) 60%), #0A1626;
  border-bottom: 1px solid rgba(255,255,255,0.08); color: var(--white);
}
.svc-visual--dark > * { max-width: none; }
.svc-copy { padding: 1.5rem 1.6rem 1.7rem; }
.svc-copy h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; margin-bottom: 0.35rem; }
.svc-copy p { color: var(--text-muted); font-size: 0.95rem; }
.svc--feature .svc-copy { padding: 1.75rem 2rem 2rem; }
.svc--feature h3 { color: var(--white); font-size: clamp(2rem, 2.8vw, 2.4rem); }
.svc--feature p { color: rgba(255,255,255,0.7); }

/* Pick path */
.pick-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.pick-tag { font-size: 0.72rem; font-weight: 500; color: var(--sky); background: rgba(143,180,255,0.14); padding: 0.25rem 0.65rem; border-radius: 999px; }
.pick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.pick-grid i { aspect-ratio: 1.6; border-radius: 5px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.06); }
.pick-grid .p { animation: pick 4.8s ease-in-out infinite; }
.pick-grid .p1 { animation-delay: 0s; } .pick-grid .p2 { animation-delay: .4s; } .pick-grid .p3 { animation-delay: .8s; }
.pick-grid .p4 { animation-delay: 1.2s; } .pick-grid .p5 { animation-delay: 1.6s; } .pick-grid .p6 { animation-delay: 2s; }
@keyframes pick {
  0%, 8% { background: rgba(255,255,255,0.07); box-shadow: none; }
  14%, 70% { background: var(--aegean); box-shadow: 0 0 16px rgba(31, 91, 214, 0.8); border-color: var(--sky); }
  85%, 100% { background: rgba(255,255,255,0.07); box-shadow: none; }
}
.pick-foot { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.pick-foot .dot { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 3px rgba(34,160,107,0.25); }

/* Bin */
.bin { background: var(--white); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: 0 14px 30px -18px rgba(11,47,85,0.35); }
.bin-top { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: var(--navy); }
.bin-top b { font-weight: 500; }
.bin-count { font-size: 2rem; font-weight: 500; color: var(--navy); letter-spacing: -0.02em; margin: 0.35rem 0 0.6rem; }
.bin-count small { font-size: 0.8rem; color: var(--text-soft); letter-spacing: 0; }
.bin-bar { height: 6px; border-radius: 4px; background: var(--stone); overflow: hidden; }
.bin-bar i { display: block; height: 100%; width: 70%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--aegean)); animation: bin 5s ease-in-out infinite; transform-origin: left; }
@keyframes bin { 0%, 100% { transform: scaleX(1); } 40% { transform: scaleX(0.82); } 60% { transform: scaleX(0.82); } }

/* Rates */
.rates { background: var(--white); border-radius: 14px; padding: 0.4rem 1rem; box-shadow: 0 14px 30px -18px rgba(11,47,85,0.35); }
.rates li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.6rem; align-items: center; padding: 0.55rem 0; border-top: 1px solid var(--stone); font-size: 0.82rem; color: var(--text-muted); }
.rates li:first-child { border-top: 0; color: var(--navy); }
.rates em { font-style: normal; }
.rates b { font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; }
.rates li:first-child { position: relative; }
.rates li:first-child::before { content: ''; position: absolute; inset: 2px -0.6rem; border-radius: 8px; background: rgba(31,91,214,0.07); z-index: -1; }
.rates { position: relative; isolation: isolate; }
.rates li:not(:first-child)::after { content: ''; width: 0; }

/* Modernization */
.modern { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.6rem; }
.old, .new { height: 86px; border-radius: 10px; padding: 0.6rem; }
.old { background: #0B1A0F; color: #39D353; font: 500 0.6rem/1.5 ui-monospace, Menlo, monospace; display: flex; flex-direction: column; justify-content: space-between; opacity: 0.85; }
.modern-arrow { color: var(--aegean); font-weight: 600; }
.new { background: var(--white); box-shadow: 0 12px 26px -16px rgba(11,47,85,0.4); display: flex; flex-direction: column; gap: 7px; }
.new-bar { height: 8px; border-radius: 4px; background: var(--stone); }
.new-bar--s { width: 60%; }
.new-btn { margin-top: auto; height: 18px; width: 55%; border-radius: 999px; background: var(--aegean); }

/* --------------------------------------------------------------------------
   13. Value — payback chart
   -------------------------------------------------------------------------- */
.payback { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: stretch; }
.payback-chart {
  position: relative; margin: 0; padding: 2rem 2rem 2.5rem;
  border-radius: 20px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
}
.payback-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.pb-zero { stroke: rgba(255,255,255,0.25); stroke-width: 1; stroke-dasharray: 4 6; }
.pb-line { fill: none; stroke: var(--sky); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 0; }
.pb-area { fill: url(#gainFill); }
.pb-dot { fill: var(--white); stroke: var(--aegean); stroke-width: 3; }
.pb-pulse { fill: none; stroke: var(--sky); stroke-width: 2; transform-origin: 262px 180px; animation: pb-pulse 2.4s ease-out infinite; }
@keyframes pb-pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
.js .payback-chart.is-visible .pb-line { animation: draw 2.2s var(--ease) both; }
.js .payback-chart.is-visible .pb-area { animation: fade-in 1s ease 1.4s both; }
@keyframes draw { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.pb-tag rect { fill: var(--white); filter: drop-shadow(0 8px 14px rgba(0,0,0,0.35)); }
.pb-tag text { fill: var(--navy); font: 500 14px var(--sans); }
.pb-note { fill: rgba(255,255,255,0.55); font: 500 13px var(--sans); }
.pb-note--up { fill: var(--sky); }
.payback-chart figcaption { position: absolute; right: 2rem; bottom: 1rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

.payback-list { display: grid; gap: 1rem; }
.payback-list li {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.4rem 1.5rem; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark);
  transition: background-color .3s ease, transform .4s var(--ease);
}
.payback-list li:hover { background: rgba(255,255,255,0.08); transform: translateX(4px); }
.pb-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(143, 180, 255, 0.14); color: var(--sky); }
.pb-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.payback-list b { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.9rem; line-height: 1; color: var(--white); margin-bottom: 0.25rem; }
.payback-list span { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   14. Approach — rising temple steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: end; }
.step { padding: 2rem 2rem 2.25rem; background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; border-bottom: 3px solid var(--aegean); }
.step--1 { min-height: 260px; }
.step--2 { min-height: 310px; }
.step--3 { min-height: 360px; background: var(--navy); color: var(--white); }
.step-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3.5rem; }
.step-num { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--aegean); }
.step-greek { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--text-soft); }
.step h3 { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; margin-bottom: 0.6rem; letter-spacing: -0.015em; }
.step p { color: var(--text-muted); }
.step--3 .step-num { color: var(--sky); }
.step--3 .step-greek { color: rgba(255,255,255,0.55); }
.step--3 h3 { color: var(--white); }
.step--3 p { color: var(--text-on-dark-muted); }

.steps-rule { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 2.25rem auto; }
.steps-rule span { height: 2px; background: var(--aegean); }
.steps-rule span:nth-child(1) { width: 30px; }
.steps-rule span:nth-child(2) { width: 42px; }
.steps-rule span:nth-child(3) { width: 54px; }
.steps-rule--sky span { background: var(--sky); }

/* --------------------------------------------------------------------------
   15. Chalkboard (philosophy)
   -------------------------------------------------------------------------- */
.chalkboard {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(7rem, 14vw, 11rem) 0;
  text-align: center; color: var(--white);
  background:
    radial-gradient(ellipse at 50% 40%, #1F2E3A 0%, #141E27 55%, #0C131A 100%);
}
.chalkboard::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('../assets/images/chalk-geometry.svg') center / cover no-repeat;
}
/* Dust haze so the type stays readable */
.chalkboard::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 45% 50% at 50% 50%, rgba(16, 24, 32, 0.85) 0%, rgba(16, 24, 32, 0) 100%);
}
.philosophy-greek { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--sky); margin-bottom: 1.25rem; }
.philosophy-quote {
  font-family: var(--serif); font-weight: 500; color: var(--white);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.06; letter-spacing: -0.02em;
}
.philosophy-cite { margin-top: 1.5rem; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.philosophy-body { font-size: 1.15rem; color: rgba(255,255,255,0.82); }

/* --------------------------------------------------------------------------
   16. Support + update feed
   -------------------------------------------------------------------------- */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.support-copy .display-lg { margin-bottom: 2rem; }
.check-list { margin-bottom: 2.25rem; }
.check-list li { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 0; border-top: 1px solid var(--line); color: var(--navy); font-weight: 500; }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list svg {
  flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%;
  background: rgba(31, 91, 214, 0.1); color: var(--aegean);
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

.feed { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; box-shadow: var(--shadow-lg); }
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 0 0.25rem 1rem; border-bottom: 1px solid var(--stone); }
.feed-head strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.feed-live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 500; color: #1D7A4E; background: rgba(34,160,107,0.1); padding: 0.3rem 0.75rem; border-radius: 999px; }
.feed-live i { width: 7px; height: 7px; border-radius: 50%; background: #22A06B; }
.feed-list { position: relative; padding-top: 0.5rem; }
.feed-list::before { content: ''; position: absolute; left: 0.95rem; top: 1.5rem; bottom: 1.5rem; width: 1px; background: var(--stone); }
.feed-list li { position: relative; display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 0.75rem; padding: 0.9rem 0.25rem; }
.feed-list b { display: block; font-weight: 500; color: var(--navy); font-size: 0.95rem; }
.feed-list small { color: var(--text-soft); font-size: 0.8rem; }
.feed-when { font-size: 0.78rem; color: var(--text-soft); }
.feed-dot { position: relative; width: 12px; height: 12px; margin-left: 0.6rem; border-radius: 50%; box-shadow: 0 0 0 4px var(--white); }
.feed-dot--blue { background: var(--aegean); }
.feed-dot--green { background: #22A06B; }
.feed-dot--navy { background: var(--navy); }
.feed-dot--sky { background: var(--sky); }

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */
.faq { background: linear-gradient(180deg, var(--white) 0%, #F4F7FD 100%); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.ask-card {
  display: flex; align-items: center; gap: 0.9rem; margin-top: 2.5rem; max-width: 420px;
  padding: 0.9rem 0.9rem 0.9rem 0.9rem; border-radius: 18px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 18px 40px -26px rgba(11, 47, 85, 0.45);
}
.ask-card img { flex: none; width: 48px; height: 48px; border-radius: 14px; }
.ask-card div { flex: 1; line-height: 1.3; }
.ask-card b { display: block; font-weight: 500; color: var(--navy); font-size: 0.95rem; }
.ask-card span { font-size: 0.85rem; color: var(--text-soft); }

.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
  border-radius: 18px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(11, 47, 85, 0.04);
  transition: border-color .3s ease, box-shadow .4s var(--ease), background-color .3s ease;
}
.faq-item:hover { border-color: rgba(31, 91, 214, 0.3); }
.faq-item[open] {
  border-color: rgba(31, 91, 214, 0.35);
  background: linear-gradient(180deg, #F3F7FF 0%, var(--white) 100%);
  box-shadow: 0 22px 44px -28px rgba(31, 91, 214, 0.5);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.25rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--paper); color: var(--navy);
  transition: background-color .3s ease, color .3s ease;
}
.faq-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.faq-item[open] .faq-icon { background: var(--aegean); color: var(--white); box-shadow: 0 8px 18px -8px rgba(31, 91, 214, 0.8); }
.faq-q { flex: 1; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.faq-toggle {
  flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--paper);
  transition: transform .35s var(--ease), background-color .3s ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--navy);
  transform: translate(-50%, -50%); border-radius: 2px;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq-item[open] .faq-toggle { background: rgba(31, 91, 214, 0.12); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 1.5rem 1.4rem calc(1.25rem + 42px + 1rem); }
.faq-a p { color: var(--text-muted); max-width: 34rem; }

/* Smooth open/close where supported */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: hidden; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

/* --------------------------------------------------------------------------
   18. CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--white);
  padding: clamp(5.5rem, 11vw, 9rem) 0;
}
.cta-chalk {
  position: absolute; inset: 0; z-index: -1; opacity: 0.45;
  background: url('../assets/images/chalk-geometry.svg') center / cover no-repeat;
}
.cta-mark {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%); z-index: -1;
  width: min(560px, 55vw); height: auto; opacity: 0.08; pointer-events: none;
}
.cta .display-xl { color: var(--white); max-width: 16ch; margin-bottom: 2.5rem; }
.cta .display-xl em { color: var(--sky); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding: 4.5rem 0 2rem; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 24rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem; }
.footer-col li + li { margin-top: 0.6rem; }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--line-dark);
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}

/* --------------------------------------------------------------------------
   20. Contact page
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 50% 70% at 85% 60%, rgba(143, 180, 255, 0.4) 0%, rgba(143, 180, 255, 0) 70%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--navy);
  -webkit-mask: url('../assets/images/chalk-geometry.svg') center / cover no-repeat;
          mask: url('../assets/images/chalk-geometry.svg') center / cover no-repeat;
  opacity: 0.13;
}
.page-hero .display-xl { margin-bottom: 1.25rem; }
.page-hero p:not(.label) { font-size: 1.15rem; color: var(--text-muted); max-width: 32rem; }

.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }

/* Mail card — a letter-like card that hands off to the visitor's email */
.mail-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 100% 0%, rgba(143, 180, 255, 0.22) 0%, rgba(143, 180, 255, 0) 70%),
    var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(2rem, 4.5vw, 3.25rem);
  box-shadow: var(--shadow-lg);
}
/* Airmail edge */
.mail-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: repeating-linear-gradient(-45deg, var(--aegean) 0 14px, transparent 14px 24px, var(--navy) 24px 38px, transparent 38px 48px);
  opacity: 0.85;
}
.mail-card .label { display: flex; margin-bottom: 1rem; }
.mail-card h2 {
  font-family: var(--serif); font-weight: 500; line-height: 1.08;
  font-size: clamp(2rem, 3.6vw, 2.6rem); color: var(--navy);
  max-width: 15ch; margin-bottom: 0.75rem;
}
.mail-card h2 em { font-style: italic; color: var(--aegean); }
.mail-lead { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2.25rem; }

.mail-stamp {
  position: absolute; top: clamp(1.5rem, 3vw, 2.25rem); right: clamp(1.5rem, 3vw, 2.25rem);
  width: 72px; height: 84px; display: grid; place-items: center;
  background: var(--paper);
  border: 2px dashed rgba(11, 47, 85, 0.22); border-radius: 6px;
  transform: rotate(6deg);
}
.mail-stamp::after {
  content: ''; position: absolute; width: 96px; height: 96px; left: -44px; top: 26px;
  border: 1.5px solid rgba(31, 91, 214, 0.28); border-radius: 50%;
}

.mail-address {
  display: inline-block; position: relative;
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(1.45rem, 3.2vw, 2.1rem); color: var(--ink);
  overflow-wrap: anywhere; margin-bottom: 1.75rem;
}
.mail-address::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -0.2rem; height: 2px;
  background: var(--aegean); transform: scaleX(0.18); transform-origin: left;
  transition: transform .5s var(--ease);
}
.mail-address:hover::after, .mail-address:focus-visible::after { transform: scaleX(1); }

.mail-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.1rem; }
.mail-actions .btn-ghost:hover svg { transform: none; }
.mail-actions .is-copied { border-color: #22A06B; color: #17633F; }

.mail-webmail { font-size: 0.9rem; color: var(--text-soft); }
.mail-webmail a { color: var(--aegean); font-weight: 500; white-space: nowrap; }
.mail-webmail a:hover { color: var(--aegean-dark); text-decoration: underline; text-underline-offset: 3px; }
.mail-webmail span { margin: 0 0.35rem; }

.mail-hints { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.mail-hints p { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 0.75rem; }
.mail-hints ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mail-hints li {
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: var(--paper); color: var(--navy); font-size: 0.88rem;
}

.aside-block { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.aside-block:first-child { border-top: 0; padding-top: 0.5rem; }
.aside-block .label { display: flex; margin-bottom: 0.6rem; }
.aside-block p { color: var(--text-muted); font-size: 0.97rem; }
.aside-link { display: inline-block; margin-bottom: 0.3rem; font-size: 1.15rem; font-weight: 500; color: var(--aegean); }
.aside-link:hover { color: var(--aegean-dark); }

.next-steps { counter-reset: s; }
.next-steps li { counter-increment: s; display: flex; gap: 0.85rem; padding: 0.4rem 0; color: var(--text-muted); font-size: 0.97rem; }
.next-steps li::before {
  content: counter(s); flex: none; width: 24px; height: 24px; margin-top: 1px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--paper); color: var(--navy); font-size: 0.75rem; font-weight: 500;
}

/* --------------------------------------------------------------------------
   21. Reveal animation (only when JS is running)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s !important; }
.delay-2 { transition-delay: .16s !important; }
.delay-3 { transition-delay: .24s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float, .rings span, .status-dot::after, .hub-flow path, .hub-orbit, .pick-grid .p, .bin-bar i, .pb-pulse, .demo::before, .link i, .erp-live i, .scan-line, .sync-bar i, .mini-status .dot { animation: none; }
  .js .demo .ln, .js .demo .code-result, .js .demo .ok { animation: none !important; }
  * { transition-duration: 0s !important; }
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc--feature { grid-row: auto; grid-column: span 2; }
  .svc--wide { flex-direction: column; }
  .svc--wide .svc-visual { border-right: 0; border-bottom: 1px solid var(--line); }
  .float--a { left: 2%; }
  .float--b { left: 4%; }
    .float--d { right: 4%; }
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .mobile-nav-toggle { display: block; }

  .hero-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; }
  .support-grid, .contact-layout, .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }

  .payback { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }
  .step--1, .step--2, .step--3 { min-height: 0; }
  .step-head { margin-bottom: 1.75rem; }

  .demo-grid { grid-template-columns: 1fr; }
  .hub { aspect-ratio: auto; display: grid; justify-items: center; gap: 3.75rem; padding-top: 3rem; }
  .hub-lines { display: none; }
  .hub-core { position: relative; left: auto; top: auto; transform: none; }
  .hub-plate { width: 112px; height: 112px; border-radius: 30px; padding: 8px; }
  .hub-plate img { border-radius: 23px; }
  .hub-orbit { top: 56px; width: 176px; height: 176px; }
  .hub-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: 640px; }
  .hub-pill, .hub-pill--r { position: static; width: auto; transform: none; flex-direction: row; text-align: left; padding: 0.4rem 0.9rem 0.4rem 0.4rem; border-radius: 14px; }
  .hub-pill:hover { transform: translateY(-3px); }
  .demo { min-height: 0; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .hero-stage { height: 560px; }
  .phone { width: 260px; height: 540px; border-radius: 44px; }
  .phone-screen { border-radius: 35px; }
  .rings span:nth-child(n+3) { display: none; }
  .float { display: none; }

  .demo-visual { padding: 2rem 1.25rem 1rem; }
  .demo-visual > * { min-width: 0; max-width: 100%; }
  .erp-meta { display: none; }
  .erp-row { grid-template-columns: 1fr auto; }
  .node { padding: 0.4rem 0.6rem; font-size: 0.72rem; }
  .demo-visual--split { grid-template-columns: 1fr; }
  .demo-copy { padding: 0 1.5rem 2rem; }
  .demo-visual--split .mini:last-child { transform: none; }
  .hub-list { gap: 0.5rem; }
  .hub-pill, .hub-pill--r { gap: 0.55rem; padding: 0.35rem 0.75rem 0.35rem 0.35rem; font-size: 0.85rem; border-radius: 12px; }
  .hub-icon { width: 30px; height: 30px; border-radius: 9px; }
  .hub-icon svg { width: 16px; height: 16px; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc--feature, .svc--wide { grid-column: auto; }
  .payback-chart { padding: 1.25rem 1.25rem 2.25rem; }
  .payback-chart figcaption { right: 1.25rem; bottom: 0.8rem; }
  .pb-note { font-size: 22px; }
  .pb-tag { transform: scale(1.6); transform-origin: 262px 131px; }

  .mail-stamp { width: 56px; height: 66px; }
  .mail-stamp img { width: 30px; height: 30px; }
  .mail-card h2 { padding-right: 4.5rem; }
  .mail-actions .btn { flex: 1 1 100%; justify-content: center; }
  .btn-group .btn { flex: 1 1 100%; }

  .faq-q { font-size: 1.15rem; }
  .faq-item summary { padding: 1rem; gap: 0.8rem; }
  .faq-icon { width: 36px; height: 36px; }
  .faq-a { padding: 0 1.1rem 1.2rem 1.1rem; }
  .ask-card .btn { flex: none; width: auto; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
