/* =============================================================
   BottomLine Logs — Vista + QuickBooks visual system.
   ============================================================= */

:root {
  --sky:      #4a9fdd;
  --deep:     #1a5fa8;
  --lt:       #a8d8f8;
  --rim:      rgba(255,255,255,0.90);
  --shad:     rgba(30,80,160,0.18);
  --green:    #2ca01c;
  --green-dk: #1d7a12;
  --ink:      #1c2b3a;
  --body:     #3d5165;
  --muted:    #7a90a4;
  --red:      #d63030;
  --white:    #ffffff;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 1400px 700px at 50% -60px, rgba(100,180,255,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 900px 500px at 90% 100%, rgba(42,160,28,0.09) 0%, transparent 55%),
    linear-gradient(180deg, #c4e0f8 0%, #d4eaff 25%, #e4f2ff 100%);
  min-height: 100vh;
  line-height: 1.5;
}

a { color: var(--deep); text-decoration: none; }
a:hover { color: var(--sky); }

img { max-width: 100%; height: auto; }

/* ── ORB BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 11px 26px; border-radius: 22px; border: none;
  cursor: pointer; text-decoration: none; color: white;
  background: linear-gradient(180deg, #72c8f8 0%, #3092da 30%, #166aba 55%, #0e52a0 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.65), inset 0 -1.5px 0 rgba(0,28,90,0.28), 0 3px 10px rgba(22,106,186,0.40), 0 1px 3px rgba(0,0,0,0.12);
  text-shadow: 0 1px 2px rgba(0,20,80,0.42);
  transition: all .2s;
}
.btn:hover {
  background: linear-gradient(180deg, #88d8ff 0%, #42a4e8 30%, #2278c8 55%, #1460b8 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.75), 0 5px 18px rgba(22,106,186,0.48);
  color: white;
}
.btn.lg { font-size: 16px; padding: 13px 34px; border-radius: 28px; }
.btn.green {
  background: linear-gradient(180deg, #62d870 0%, #28b038 30%, #1a8828 55%, #146020 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.60), 0 3px 10px rgba(24,136,40,0.40);
}
.btn.green:hover {
  background: linear-gradient(180deg, #7ae888 0%, #36c44e 30%, #24983a 55%, #1c7028 100%);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: 22px;
  text-decoration: none; color: var(--deep); cursor: pointer;
  background: rgba(255,255,255,0.58);
  border: 1.5px solid rgba(74,159,221,0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 1px 4px rgba(30,80,160,0.08);
  transition: all .2s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.85);
  border-color: var(--sky);
  transform: translateY(-1px);
}

/* Submit button loading state — JS toggles .is-loading on .btn submit */
.btn.is-loading { opacity: .65; cursor: wait; pointer-events: none; position: relative; }
.btn.is-loading::after {
  content: ''; position: absolute; right: 14px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(222,240,255,0.94) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.96);
  box-shadow: 0 1px 0 rgba(74,159,221,0.20), 0 4px 20px rgba(30,80,160,0.09);
}
.nav-in {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; padding: 0 28px; height: 60px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-orb {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(145deg, #a8d8f8 0%, #2a88d8 40%, #0d4890 100%);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.72), inset 0 -2px 4px rgba(0,28,100,0.36), 0 2px 9px rgba(42,136,216,0.48);
  border: 1.5px solid rgba(255,255,255,0.82);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: white; font-weight: 700;
}
.logo-txt .name { font-size: 15px; font-weight: 700; color: var(--deep); line-height: 1.1; }
.logo-txt .tag { font-size: 10px; color: var(--green); font-weight: 600; letter-spacing: .3px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-right: 16px; }
.nav-links a {
  font-size: 13px; font-weight: 600; color: var(--body);
  text-decoration: none; padding: 7px 14px; border-radius: 16px;
  transition: all .18s;
}
.nav-links a:hover { color: var(--deep); background: rgba(74,159,221,0.09); }
.nav-links a[aria-current="page"] { color: var(--deep); background: rgba(74,159,221,0.13); }
.nav-act { display: flex; align-items: center; gap: 9px; }
.nav-demo {
  font-size: 13px; font-weight: 700; color: white; text-decoration: none;
  padding: 8px 18px; border-radius: 18px;
  background: linear-gradient(180deg, #62c4f0 0%, #2a88d8 40%, #1060b8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.60), 0 2px 8px rgba(20,96,184,0.36);
  transition: all .18s;
}
.nav-demo:hover {
  background: linear-gradient(180deg, #78d4ff 0%, #3a98e8 40%, #2070c8 100%);
  color: white;
}

/* ── HERO ── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid rgba(100,160,230,0.18); }
.hero-in {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 500px;
  gap: 44px; align-items: center;
  padding: 68px 28px 60px;
}
.hero-in.single-col { grid-template-columns: 1fr; text-align: center; }
.hero-in.single-col .hero-sub,
.hero-in.single-col .trust-strip { margin-left: auto; margin-right: auto; }
.hero-in.single-col .hero-ctas { justify-content: center; }

.hero h1 {
  font-size: 42px; font-weight: 700; line-height: 1.13;
  color: var(--ink); margin-bottom: 14px; letter-spacing: -.5px;
}
.hero h1 em, .hero h1 .text-rosi { font-style: normal; color: var(--deep); }
.hero h1 strong { font-weight: 700; }

.hero-sub {
  font-size: 16px; color: var(--body); line-height: 1.72;
  margin-bottom: 30px; max-width: 540px;
}
.hero-sub strong { color: var(--deep); font-weight: 700; }
.hero-ctas {
  display: flex; align-items: center; gap: 13px;
  flex-wrap: wrap; margin-bottom: 20px;
}

/* Trust strip — small line under hero CTA + standalone */
.trust-strip {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  max-width: 700px;
}

/* Hero animation entry */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero h1   { animation: fadeUp .55s ease .20s both; }
.hero-sub  { animation: fadeUp .55s ease .32s both; }
.hero-ctas { animation: fadeUp .55s ease .42s both; }
.hw        { animation: fadeUp .65s ease .28s both; }

/* ── VISTA WINDOW CHROME ── */
.hw {
  border-radius: 10px; overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.92),
    0 12px 48px rgba(30,80,180,0.20),
    0 3px 10px rgba(0,0,0,0.09);
}
.wtb {
  background: linear-gradient(180deg, rgba(140,200,255,0.68) 0%, rgba(80,160,230,0.52) 52%, rgba(50,130,210,0.42) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.55);
  padding: 7px 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.wtb-l { display: flex; align-items: center; gap: 7px; }
.wt { font-size: 12px; font-weight: 600; color: #0d3060; }
.wcs { display: flex; gap: 4px; }
.wc {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; cursor: default; font-weight: bold;
  user-select: none;
}
.wc.r { background: linear-gradient(145deg, #ff7060, #cc2020); color: #800; }
.wc.a { background: linear-gradient(145deg, #ffd060, #e09000); color: #640; }
.wc.g { background: linear-gradient(145deg, #60dd70, #18a030); color: #050; }
.wb { background: linear-gradient(155deg, rgba(255,255,255,0.84) 0%, rgba(215,238,255,0.70) 100%); }

/* Built-on panel inside hero Vista window (tech-foundation paragraph) */
.built-on { padding: 22px 24px; }
.built-on .built-on-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--deep);
  margin-bottom: 10px; display: inline-block;
  padding-bottom: 4px; border-bottom: 2px solid var(--green);
}
.built-on p { color: var(--body); font-size: 14px; line-height: 1.68; }
.built-on p strong { color: var(--ink); font-weight: 700; }

/* ── SECTION WRAPPER ── */
.w { max-width: 1160px; margin: 0 auto; padding: 68px 28px; }
.w-narrow { max-width: 880px; }
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--deep); margin-bottom: 10px;
  padding-bottom: 4px; border-bottom: 2px solid var(--green);
}
.sh2 {
  font-size: 34px; font-weight: 700; line-height: 1.18;
  color: var(--ink); margin-bottom: 12px; letter-spacing: -.3px;
}
.sh2.center { text-align: center; }
.sh2 em { font-style: normal; color: var(--deep); }

/* Boxed treatment for left-aligned section headers (about page) */
.sh2:not(.center):not(.no-box) {
  display: inline-block;
  font-size: 26px;
  color: var(--deep);
  background: linear-gradient(155deg, rgba(255,255,255,0.96) 0%, rgba(210,235,255,0.72) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  border-bottom: 3px solid var(--green);
  border-radius: 11px;
  padding: 14px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.96),
    0 4px 18px rgba(30,80,160,0.10),
    0 1px 3px rgba(0,0,0,0.05);
  letter-spacing: -.2px;
  max-width: 100%;
}
.stxt { font-size: 15.5px; color: var(--body); line-height: 1.72; max-width: 720px; }
.stxt.center { text-align: center; margin-left: auto; margin-right: auto; }
.stxt strong { color: var(--ink); }

.section-prose {
  font-size: 15.5px; color: var(--body); line-height: 1.78;
  max-width: 760px;
}
.section-prose p { margin-bottom: 16px; }
.section-prose p strong { color: var(--ink); }
.section-prose em { color: var(--deep); font-style: italic; }
.section-prose blockquote {
  margin: 20px 0; padding: 16px 22px;
  border-left: 4px solid var(--green);
  background: linear-gradient(155deg, rgba(255,255,255,0.88) 0%, rgba(215,238,255,0.66) 100%);
  border-radius: 0 9px 9px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 2px 9px rgba(30,80,160,0.08);
  font-style: italic; color: var(--ink);
}
.section-prose h3,
.section-h3 {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--deep);
  background: linear-gradient(155deg, rgba(255,255,255,0.94) 0%, rgba(210,235,255,0.72) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  border-bottom: 2px solid var(--green);
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.94),
    0 2px 9px rgba(30,80,160,0.08);
  margin: 28px 0 14px;
  letter-spacing: -.1px;
  line-height: 1.35;
  max-width: 100%;
}
/* Inside glass panels (Beyond/One model on home, sub-audience cards on about),
   the wrapping panel already provides a glass surface — drop the inner box. */
.glass-panel .section-h3,
.glass-panel .section-prose h3 {
  display: block;
  background: none;
  border: none;
  border-bottom: 2px solid var(--green);
  border-radius: 0;
  padding: 0 0 6px;
  box-shadow: none;
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--ink);
}
.section-prose ul,
.section-prose ol { margin: 8px 0 18px 22px; }
.section-prose ul li,
.section-prose ol li { margin-bottom: 8px; line-height: 1.65; }
.section-prose ul li strong,
.section-prose ol li strong { color: var(--ink); }
.section-prose ul ul { margin-top: 6px; }

/* Glass panel used to group sub-sections (about page) */
.glass-panel {
  border-radius: 11px; padding: 24px 26px;
  background: linear-gradient(155deg, rgba(255,255,255,0.86) 0%, rgba(215,238,255,0.62) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.96), 0 6px 22px rgba(30,80,160,0.09);
  margin-bottom: 18px;
}
.glass-panel h3 { margin-top: 0; }
.glass-panel ul:last-child,
.glass-panel ol:last-child { margin-bottom: 0; }

/* ── HOW IT WORKS — STEPS GRID ── */
.how-bg {
  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(100,160,230,0.16);
  border-bottom: 1px solid rgba(100,160,230,0.16);
}
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 40px;
}
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.sc {
  border-radius: 12px; padding: 28px 24px;
  background: linear-gradient(155deg, rgba(255,255,255,0.86) 0%, rgba(215,238,255,0.65) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  border-bottom-color: rgba(100,160,230,0.28);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.96),
    0 6px 24px rgba(30,80,160,0.10),
    0 2px 5px rgba(0,0,0,0.05);
  transition: transform .2s, box-shadow .2s;
}
.sc:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.96),
    0 12px 36px rgba(30,80,160,0.16);
}
.snb {
  width: 34px; height: 34px; border-radius: 50%;
  margin-bottom: 16px;
  background: linear-gradient(145deg, #72c8f8 0%, #1468b8 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.65), 0 2px 8px rgba(20,104,184,0.36);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: white;
  text-shadow: 0 1px 2px rgba(0,20,80,0.4);
}
.stit { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 9px; line-height: 1.3; }
.sbod { font-size: 13.5px; color: var(--body); line-height: 1.65; }
.sbod strong { color: var(--ink); }
.sbod + .sbod { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(100,160,230,0.13); }
.sbod-lbl {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}

/* ── FEATURE ROWS (Headline capabilities) ── */
.feat-bg {
  background: white;
  border-top: 1px solid rgba(100,160,230,0.16);
}
.fr {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
  padding: 56px 28px;
  max-width: 1160px; margin: 0 auto;
  border-bottom: 1px solid rgba(100,160,230,0.10);
}
.fr:last-child { border-bottom: none; }
.fr.flip { direction: rtl; }
.fr.flip > * { direction: ltr; }
.fc .sh2 { font-size: 26px; margin-bottom: 10px; }
.fc .stxt { font-size: 14.5px; margin-bottom: 18px; }
.fc h2 {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--deep);
  background: linear-gradient(155deg, rgba(255,255,255,0.96) 0%, rgba(210,235,255,0.72) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  border-bottom: 3px solid var(--green);
  border-radius: 10px;
  padding: 11px 20px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.96),
    0 4px 14px rgba(30,80,160,0.10),
    0 1px 3px rgba(0,0,0,0.05);
  margin-bottom: 18px;
  line-height: 1.32;
  letter-spacing: -.1px;
  max-width: 100%;
}

/* App panel — Vista window wrapper */
.apanel {
  border-radius: 11px; overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.92),
    0 10px 38px rgba(30,80,180,0.13),
    0 3px 7px rgba(0,0,0,0.06);
}
.ap-bar {
  background: linear-gradient(180deg, rgba(125,195,255,0.60) 0%, rgba(72,152,232,0.44) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.52);
  padding: 7px 13px;
  display: flex; align-items: center; gap: 5px;
}
.ap-bar .wc { width: 13px; height: 13px; font-size: 8px; }
.ap-title { font-size: 12px; font-weight: 600; color: #0d3060; margin-left: 8px; flex: 1; }
.ap-body {
  background: linear-gradient(155deg, rgba(255,255,255,0.84) 0%, rgba(215,238,255,0.68) 100%);
  padding: 22px;
}

/* Decorative empty Vista panel (sector row right column) */
.apanel.decor .ap-body { min-height: 220px; position: relative; }
.apanel.decor .ap-body::before {
  content: ''; position: absolute; inset: 22px;
  background:
    radial-gradient(circle at 30% 30%, rgba(74,159,221,0.18), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(44,160,28,0.10), transparent 60%);
  border-radius: 8px;
}

/* ── CHIPS ── */
.chips {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-top: 14px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 18px;
  font-size: 12.5px; font-weight: 600; color: var(--deep);
  background: linear-gradient(155deg, rgba(255,255,255,0.88) 0%, rgba(210,235,255,0.68) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 2px 7px rgba(30,80,160,0.09);
}
.chip::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

/* Legacy alias for existing HTML markup */
.vendor-chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 8px; margin-bottom: 6px; }
.vendor-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 18px;
  font-size: 12.5px; font-weight: 600; color: var(--deep);
  background: linear-gradient(155deg, rgba(255,255,255,0.88) 0%, rgba(210,235,255,0.68) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 2px 7px rgba(30,80,160,0.09);
}
.vendor-chip::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

/* Category list (52 attack vectors) */
.category-list { list-style: none; margin-top: 14px; }
.category-list li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(100,160,230,0.10);
  font-size: 13.5px; line-height: 1.55;
}
.category-list li:last-child { border-bottom: none; }
.cat-name {
  display: block; font-weight: 700; color: var(--deep);
  font-size: 13px; letter-spacing: .2px;
}
.cat-detail { display: block; color: var(--body); font-size: 12.5px; margin-top: 2px; }

/* ── WORKFLOW TABLES ── */
.table-wrap {
  border-radius: 11px; overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.92),
    0 8px 28px rgba(30,80,180,0.12),
    0 2px 6px rgba(0,0,0,0.05);
  margin-top: 28px;
}
.workflow {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: linear-gradient(155deg, rgba(255,255,255,0.94) 0%, rgba(220,240,255,0.78) 100%);
}
.workflow thead {
  background: linear-gradient(180deg, rgba(140,200,255,0.55) 0%, rgba(72,152,232,0.42) 100%);
  border-bottom: 1.5px solid rgba(255,255,255,0.65);
}
.workflow th {
  text-align: left; padding: 13px 16px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: #0d3060;
}
.workflow td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(100,160,230,0.13);
  color: var(--body); line-height: 1.6; vertical-align: top;
}
.workflow tbody tr:last-child td { border-bottom: none; }
.workflow tbody tr:nth-child(even) td { background: rgba(255,255,255,0.55); }
.workflow td strong { color: var(--ink); }
.workflow td em { color: var(--deep); font-style: italic; }
.workflow td:first-child {
  font-weight: 700; color: var(--deep); white-space: nowrap;
}

/* ── ICONS ON CARDS ── */
.sico {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}

/* Custom SVG icon tiles (used where emoji would feel generic) */
.sico-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(180deg, #72c8f8 0%, #2a88d8 40%, #1060b8 100%);
  border: 1.5px solid rgba(255,255,255,0.82);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(0,28,90,0.28),
    0 3px 9px rgba(20,96,184,0.38);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.sico-icon svg {
  width: 22px; height: 22px; display: block;
  stroke: white; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 1px rgba(0,20,80,0.45));
}

/* ── BULLET GRID (5-card auto-fit) ── */
.bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

/* ── FAQ GRID ── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.faq-card {
  border-radius: 11px; padding: 22px 24px;
  background: linear-gradient(155deg, rgba(255,255,255,0.90) 0%, rgba(214,236,255,0.65) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  border-bottom-color: rgba(100,160,230,0.28);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.96), 0 6px 20px rgba(30,80,160,0.09);
  transition: transform .2s, box-shadow .2s;
}
.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.96), 0 12px 28px rgba(30,80,160,0.14);
}
.faq-q {
  font-size: 16px; font-weight: 700; color: var(--deep);
  margin-bottom: 10px; line-height: 1.35;
  display: flex; align-items: flex-start; gap: 9px;
}
.faq-q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #72c8f8 0%, #1468b8 100%);
  color: white; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 1px 3px rgba(20,96,184,0.4);
  text-shadow: 0 1px 1px rgba(0,20,80,0.45);
  margin-top: 1px;
}
.faq-a {
  font-size: 14px; color: var(--body); line-height: 1.68;
  padding-left: 31px;
}
.faq-a strong { color: var(--ink); }
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ── PULL QUOTE ── */
.pull-quote {
  margin: 40px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--deep);
  padding: 22px 30px;
  letter-spacing: -.2px;
  background: linear-gradient(155deg, rgba(255,255,255,0.78) 0%, rgba(220,242,224,0.42) 100%);
  border-left: 4px solid var(--green);
  border-right: 4px solid var(--green);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 4px 16px rgba(44,160,28,0.10),
    0 1px 4px rgba(30,80,160,0.06);
  position: relative;
}
.pull-quote::before,
.pull-quote::after {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--green);
  opacity: .35;
  line-height: 1;
  position: absolute;
}
.pull-quote::before { content: '\201C'; left: 10px; top: 6px; }
.pull-quote::after  { content: '\201D'; right: 10px; bottom: -6px; }

@media (max-width: 600px) {
  .pull-quote { font-size: 18px; padding: 18px 22px; }
}

/* ── ARCHITECTURE MAP ── */
.arch-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 1000px;
  margin: 36px auto 0;
}
.arch-zone {
  border-radius: 12px;
  padding: 22px 20px 24px;
  background: linear-gradient(155deg, rgba(255,255,255,0.82) 0%, rgba(215,238,255,0.56) 100%);
  border: 1.5px dashed rgba(74,159,221,0.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 4px 18px rgba(30,80,160,0.08);
  position: relative;
  display: flex; flex-direction: column;
}
.arch-zone-customer {
  border-color: rgba(44,160,28,0.36);
  background: linear-gradient(155deg, rgba(255,255,255,0.82) 0%, rgba(220,242,224,0.46) 100%);
}
.arch-zone-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--deep);
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(74,159,221,0.22);
}
.arch-zone-customer .arch-zone-label {
  color: var(--green-dk);
  border-bottom-color: rgba(44,160,28,0.24);
}
.arch-zone-body {
  display: flex; flex-direction: column;
  gap: 10px; align-items: center;
  flex: 1; justify-content: center;
}
.arch-node {
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  padding: 11px 18px;
  border-radius: 9px;
  background: linear-gradient(155deg, rgba(255,255,255,0.95) 0%, rgba(214,236,255,0.78) 100%);
  border: 1.5px solid rgba(255,255,255,0.92);
  border-bottom-color: rgba(100,160,230,0.30);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.96), 0 2px 8px rgba(30,80,160,0.12);
  text-align: center;
  min-width: 180px;
  letter-spacing: .1px;
}
.arch-node-agent {
  background: linear-gradient(155deg, rgba(98,216,112,0.18) 0%, rgba(40,176,56,0.12) 100%);
  border-color: rgba(44,160,28,0.30);
  border-bottom-color: rgba(20,120,30,0.40);
  color: var(--green-dk);
}
.arch-node-gate {
  background: linear-gradient(180deg, #72c8f8 0%, #2a88d8 100%);
  color: white;
  text-shadow: 0 1px 1px rgba(0,30,90,0.45);
  border-color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(20,80,160,0.45);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,0.6), 0 3px 10px rgba(20,96,184,0.32);
}
.arch-row {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.arch-arrow {
  width: 2px; height: 18px;
  background: linear-gradient(180deg, rgba(74,159,221,0.18), rgba(74,159,221,0.65));
  position: relative;
}
.arch-arrow::after {
  content: '';
  position: absolute; bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid rgba(74,159,221,0.65);
}
.arch-bridge {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 6px; padding: 0 6px;
  position: relative;
}
.arch-bridge-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,0.78);
  padding: 2px 7px; border-radius: 10px;
}
.arch-bridge-arrow {
  display: block;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, rgba(74,159,221,0.20), rgba(74,159,221,0.70));
  position: relative;
}
.arch-bridge-arrow::after {
  content: '';
  position: absolute; right: -2px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid rgba(74,159,221,0.70);
}
.arch-summary {
  max-width: 880px; margin: 28px auto 0;
  text-align: center;
}
.arch-summary p {
  font-size: 14.5px; color: var(--body);
  line-height: 1.68; margin-bottom: 8px;
}
.arch-summary p:last-child { margin-bottom: 0; }
.arch-summary p strong { color: var(--ink); }

@media (max-width: 960px) {
  .arch-map { grid-template-columns: 1fr; gap: 8px; }
  .arch-bridge { flex-direction: column; padding: 6px 0; }
  .arch-bridge-arrow {
    width: 2px; height: 32px;
    background: linear-gradient(180deg, rgba(74,159,221,0.20), rgba(74,159,221,0.70));
  }
  .arch-bridge-arrow::after {
    right: 50%; top: auto; bottom: -2px;
    transform: translateX(50%);
    border-top: 8px solid rgba(74,159,221,0.70);
    border-bottom: none;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
  }
}

/* ── CTA BAND ── */
.cta-bg {
  background: linear-gradient(160deg, #ddeeff 0%, #e8f6ff 40%, #e0f8ee 100%);
  border-top: 1px solid rgba(100,160,230,0.18);
  border-bottom: 1px solid rgba(100,160,230,0.18);
}
.cta-in {
  max-width: 680px; margin: 0 auto;
  padding: 56px 28px; text-align: center;
}
.cta-pair {
  display: flex; gap: 13px; justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer.footer {
  background: linear-gradient(180deg, #1a2a40 0%, #0e1e34 100%);
  border-top: 1px solid rgba(74,159,221,0.18);
}
footer.footer .fg {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 52px 28px 38px;
}
footer.footer .fb-name { font-size: 16px; font-weight: 700; color: white; margin-bottom: 4px; }
footer.footer .fb-tag { font-size: 10.5px; color: var(--green); font-weight: 600; letter-spacing: .4px; margin-bottom: 13px; }
footer.footer .fb-desc { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.68; max-width: 360px; }
footer.footer .fc-col h4 {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 14px;
}
footer.footer .fc-col a {
  display: block; font-size: 12.5px;
  color: rgba(255,255,255,0.55); text-decoration: none;
  margin-bottom: 9px; transition: color .15s;
}
footer.footer .fc-col a:hover { color: white; }
footer.footer .fbot {
  max-width: 1160px; margin: 0 auto;
  padding: 18px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11.5px; color: rgba(255,255,255,0.30);
}

/* ── INLINE TEXT HELPERS (legacy) ── */
.text-rosi { color: var(--deep); font-weight: 700; }
.text-accent { color: var(--deep); font-weight: 700; }
.text-dim { color: var(--muted); }

/* ── CONTACT FORM ── */
.form-window { max-width: 640px; margin: 0 auto; }
.form-window .ap-body { padding: 28px 30px; }

.field { margin-bottom: 18px; }
.label {
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  color: var(--deep); margin-bottom: 8px;
}
.label .text-dim { letter-spacing: 0; text-transform: none; font-weight: 500; }
.control { width: 100%; }

.input, .textarea {
  width: 100%; display: block;
  font-family: inherit; font-size: 14.5px; color: var(--ink);
  padding: 11px 14px;
  border: 1.5px solid rgba(74,159,221,0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  box-shadow: inset 0 1px 3px rgba(30,80,160,0.10), 0 1px 0 rgba(255,255,255,0.55);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .85; }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--deep);
  box-shadow:
    inset 0 1px 3px rgba(30,80,160,0.10),
    0 0 0 3px rgba(74,159,221,0.22);
}
.textarea { resize: vertical; min-height: 130px; line-height: 1.5; }

.error-banner {
  padding: 13px 16px; border-radius: 9px;
  background: rgba(214,48,48,0.08);
  border: 1.5px solid rgba(214,48,48,0.32);
  color: #8a1818; font-size: 14px; line-height: 1.5;
}
.success-banner {
  padding: 18px 22px; border-radius: 11px;
  background: linear-gradient(155deg, rgba(98,216,112,0.18) 0%, rgba(40,176,56,0.10) 100%);
  border: 1.5px solid rgba(44,160,28,0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 14px rgba(44,160,28,0.10);
  color: var(--green-dk);
}
.success-banner p { font-size: 17px; font-weight: 700; color: var(--green-dk); }
.success-banner .text-accent { color: var(--green-dk); }

/* ── UTILITIES ── */
.is-hidden { display: none !important; }
.center { text-align: center; }
.mt-sm { margin-top: 10px; }
.mt-md { margin-top: 20px; }
.mt-lg { margin-top: 36px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-in { flex-wrap: wrap; height: auto; padding: 10px 20px; gap: 10px; }
  .nav-links { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; margin-right: 0; }
  .hero-in, .hero-in.single-col { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .hero-in { padding: 44px 20px 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps.cols-3 { grid-template-columns: 1fr; }
  .fr, .fr.flip { grid-template-columns: 1fr; direction: ltr; gap: 32px; padding: 44px 20px; }
  .fr.flip > * { direction: ltr; }
  footer.footer .fg { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 28px; }
  .w { padding: 48px 20px; }
  .sh2 { font-size: 26px; }
  .workflow { font-size: 12.5px; }
  .workflow th, .workflow td { padding: 10px 12px; }
}

@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .workflow, .workflow thead, .workflow tbody, .workflow tr, .workflow th, .workflow td {
    display: block; width: 100%;
  }
  .workflow thead { display: none; }
  .workflow tr {
    border-bottom: 1px solid rgba(100,160,230,0.16);
    padding: 10px 0;
  }
  .workflow td { border-bottom: none; padding: 6px 14px; }
  .workflow td:first-child {
    font-size: 14px; padding-top: 12px; white-space: normal;
  }
}
