/* ==========================================================================
   Byurel Solutions
   Palette: near-black and signal blue. Archivo for headings, IBM Plex Sans
   for text.
   ========================================================================== */

:root {
  --void: #04060C;
  --navy: #091529;

  /* dark theme surfaces */
  --bg: #04060C;
  --bg-alt: #080E1A;
  --surface: rgba(255, 255, 255, 0.038);
  --surface-lift: rgba(255, 255, 255, 0.065);
  --edge: rgba(255, 255, 255, 0.095);
  --edge-soft: rgba(255, 255, 255, 0.06);
  --text: #E9EFF8;
  --text-dim: #A2B3CB;
  --text-faint: #7386A0;
  --blue: #2563EB;
  --blue-lift: #3B82F6;
  --blue-deep: #1D4ED8;
  --blue-mist: #EFF6FF;
  --mist: #F8FAFC;
  --white: #FFFFFF;
  --steel: #475569;
  --steel-light: #94A3B8;
  --line: #E2E8F0;
  --line-dark: rgba(255, 255, 255, 0.11);

  --wa-header: #075E54;
  --wa-bg: #ECE5DD;
  --wa-out: #D9FDD3;
  --wa-link: #027EB5;

  --measure: 64ch;
  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.023em;
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1, h2, h3, h4 { color: var(--text); }
h1 { font-size: clamp(2.15rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.28rem); }

p { margin: 0 0 1.1rem; max-width: var(--measure); color: var(--text-dim); }
.prose li { color: var(--text-dim); }
a { color: var(--blue-lift); text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -9999px; background: var(--void); color: #fff; padding: 0.7rem 1.1rem; z-index: 100; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap { width: min(1220px, 100%); margin-inline: auto; padding-inline: var(--pad-x); }
.narrow { width: min(780px, 100%); margin-inline: auto; padding-inline: var(--pad-x); }

/* ---------- Wordmark ---------- */

.mark { display: inline-flex; align-items: baseline; gap: 0.4rem; text-decoration: none; }
.mark-name {
  font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.4rem;
  letter-spacing: -0.035em; color: var(--white);
}
.mark-suffix { font-size: 0.7rem; font-weight: 400; letter-spacing: 0.18em; color: var(--text-faint); }
.mark-dot { color: var(--blue); }
.on-dark .mark-name { color: var(--white); }
.on-dark .mark-suffix { color: #7E8FA8; }

/* ---------- Header ---------- */

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge-soft);
}
.masthead-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { text-decoration: none; color: var(--text-dim); font-size: 0.95rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--white); border-bottom-color: var(--blue); }
.nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--blue); }
.nav a.btn { border-bottom: 1.5px solid transparent; }
.nav a.btn-solid { color: var(--white); background: var(--blue); }
.nav a.btn-solid:hover { background: var(--blue-deep); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--edge);
  border-radius: 7px; padding: 0.5rem 0.7rem; cursor: pointer;
  font: inherit; font-size: 0.9rem; color: var(--text);
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--edge);
    padding: 0.4rem var(--pad-x) 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.78rem 0; border-bottom: 1px solid var(--edge-soft); }
  .nav a.btn { margin-top: 0.8rem; text-align: center; border-bottom: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; padding: 0.82rem 1.6rem; border-radius: 8px;
  font-weight: 600; font-size: 0.97rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--blue-deep); }
.btn-line { border-color: var(--edge); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--white); background: rgba(255,255,255,0.05); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,0.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.07); color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  background: var(--void); color: var(--white);
  padding: clamp(3rem, 6.5vw, 5.6rem) 0 clamp(3.4rem, 7vw, 6rem);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60rem 38rem at 80% 4%, rgba(37, 99, 235, 0.32), transparent 58%),
    radial-gradient(44rem 32rem at 4% 94%, rgba(29, 78, 216, 0.26), transparent 62%),
    radial-gradient(30rem 20rem at 50% 110%, rgba(59, 130, 246, 0.12), transparent 55%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero-grid { display: grid; gap: clamp(2.4rem, 5vw, 4.4rem); grid-template-columns: 1.05fr 0.95fr; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); }
.hero-lede { font-size: clamp(1.06rem, 1.55vw, 1.22rem); color: #AFBFD6; max-width: 50ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(46, 107, 255, 0.13); border: 1px solid rgba(46, 107, 255, 0.36);
  color: #B6CDFF; border-radius: 30px; padding: 0.36rem 0.95rem;
  font-size: 0.83rem; margin-bottom: 1.5rem;
}
.badge-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-lift); }

.hero-proof { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 520px) { .hero-proof { grid-template-columns: 1fr 1fr; } }
.proof-item {}
.proof-item strong { display: block; font-family: "Archivo", sans-serif; font-size: 1.3rem; color: var(--white); line-height: 1.15; }
.proof-item span { font-size: 0.87rem; color: #8DA0BB; }

/* ---------- Phone ---------- */

.phone-stage { display: flex; justify-content: center; }
.phone {
  width: 318px; max-width: 100%; background: #04060B;
  border: 1px solid rgba(255,255,255,0.13); border-radius: 34px; padding: 10px;
  box-shadow: 0 34px 70px -26px rgba(0,0,0,0.85), 0 0 0 1px rgba(46,107,255,0.14);
}
.phone-screen { background: var(--wa-bg); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; height: 556px; }
.wa-bar { background: var(--wa-header); color: #fff; display: flex; align-items: center; gap: 0.65rem; padding: 0.75rem 0.85rem; flex-shrink: 0; }
.wa-back { font-size: 1.1rem; line-height: 1; opacity: 0.9; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: #cfd8d3; color: #2c4a3f; flex-shrink: 0; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; font-family: "Archivo", sans-serif; }
.wa-who { line-height: 1.25; min-width: 0; }
.wa-name { font-weight: 600; font-size: 0.92rem; }
.wa-status { font-size: 0.7rem; opacity: 0.85; }

.wa-body {
  flex: 1; overflow-y: auto; padding: 0.85rem 0.7rem 1rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(0,0,0,0.028) 0 2px, transparent 2px),
    radial-gradient(circle at 62% 44%, rgba(0,0,0,0.024) 0 3px, transparent 3px),
    radial-gradient(circle at 34% 78%, rgba(0,0,0,0.022) 0 2px, transparent 2px);
  background-size: 130px 130px, 170px 170px, 150px 150px;
  scrollbar-width: none;
}
.wa-body::-webkit-scrollbar { display: none; }

.msg { max-width: 82%; padding: 0.44rem 0.58rem 0.36rem; border-radius: 8px; font-size: 0.845rem; line-height: 1.42; position: relative; box-shadow: 0 1px 0.5px rgba(11,20,26,0.13); color: #111b21; white-space: pre-line; }
.msg, .msg-buttons > .mb-text { color: #111b21; }
.msg-in { align-self: flex-start; background: var(--white); border-top-left-radius: 2px; }
.msg-out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 2px; }
.msg-meta { display: block; text-align: right; font-size: 0.62rem; color: #667781; margin-top: 0.12rem; }
.msg-tick { color: #53bdeb; letter-spacing: -2px; margin-left: 2px; }

.msg-buttons { align-self: flex-start; width: 82%; background: var(--white); border-radius: 8px; border-top-left-radius: 2px; overflow: hidden; box-shadow: 0 1px 0.5px rgba(11,20,26,0.13); }
.msg-buttons > .mb-text { padding: 0.5rem 0.58rem 0.4rem; font-size: 0.845rem; line-height: 1.42; color: #111b21; }
.mb-opt { display: block; width: 100%; text-align: center; border: 0; border-top: 1px solid #e9edef; background: var(--white); color: var(--wa-link); font: inherit; font-size: 0.82rem; font-weight: 500; padding: 0.56rem 0.5rem; cursor: default; }
.mb-opt.is-picked { background: #eef6fb; }

.typing { align-self: flex-start; background: var(--white); border-radius: 8px; border-top-left-radius: 2px; padding: 0.6rem 0.72rem; display: flex; gap: 4px; box-shadow: 0 1px 0.5px rgba(11,20,26,0.13); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #9aa8ae; animation: bob 1.15s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.16s; }
.typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes bob { 0%,60%,100% { transform: translateY(0); opacity: 0.55; } 30% { transform: translateY(-4px); opacity: 1; } }

.pop { animation: pop 0.22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(7px) scale(0.985); } to { opacity: 1; transform: none; } }

.wa-input { flex-shrink: 0; background: var(--wa-bg); padding: 0.45rem 0.6rem 0.65rem; display: flex; align-items: center; gap: 0.45rem; }
.wa-field { flex: 1; background: var(--white); border-radius: 20px; padding: 0.5rem 0.85rem; font-size: 0.8rem; color: #8b9aa1; }
.wa-send { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: var(--wa-header); color: #fff; display: grid; place-items: center; font-size: 0.9rem; }
.demo-caption { text-align: center; font-size: 0.83rem; color: #7E90AB; margin-top: 1rem; }

/* ---------- Bands ---------- */

.band { padding: clamp(3.2rem, 6.5vw, 5.4rem) 0; }
.band-mist { background: var(--bg-alt); border-block: 1px solid var(--edge-soft); }
.band-dark { background: var(--void); color: var(--white); }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark p { color: #A9BAD2; }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy p { color: #ADC0DC; }

.band-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 3.6vw, 3rem); }
.band-head p { color: var(--text-dim); margin-bottom: 0; }
.band-dark .band-head p, .band-navy .band-head p { color: #A9BAD2; }

/* ---------- Capability grid ---------- */

.caps { display: grid; gap: 1.15rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; } }

.cap {
  background: var(--surface); border: 1px solid var(--edge); border-radius: 12px;
  padding: 1.5rem 1.45rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cap:hover {
  background: var(--surface-lift);
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}
.cap h3 { margin-bottom: 0.4rem; font-size: 1.08rem; }
.cap p { font-size: 0.94rem; color: var(--text-dim); margin: 0; }
.cap-icon { width: 40px; height: 40px; border-radius: 9px; margin-bottom: 0.95rem; background: rgba(37, 99, 235, 0.16); color: var(--blue-lift); display: grid; place-items: center; font-size: 1.05rem; }

/* ---------- Split feature ---------- */

.split { display: grid; gap: clamp(2.2rem, 4.5vw, 4rem); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } }

.ticks { margin: 1.3rem 0 0; padding: 0; list-style: none; }
.ticks li { padding: 0.4rem 0 0.4rem 1.7rem; position: relative; font-size: 0.97rem; color: var(--text-dim); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.82em; width: 9px; height: 9px; border-radius: 2px; background: var(--blue); }
.band-dark .ticks li, .band-navy .ticks li { color: #A9BAD2; }

/* ---------- Chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.chip { font-size: 0.88rem; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.95rem; }
.band-dark .chip, .band-navy .chip { background: rgba(255,255,255,0.055); border-color: var(--line-dark); color: #D3DEEE; }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 1.6rem; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; padding-top: 2.5rem; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--blue-lift); border-bottom: 2px solid var(--blue); padding-bottom: 0.28rem; }
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.93rem; margin: 0; }

/* ---------- Browser mockup ---------- */

.browser { border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid var(--edge); box-shadow: 0 26px 54px -24px rgba(0, 0, 0, 0.7); }
.browser-bar { background: #E8EDF5; border-bottom: 1px solid #D5DDE9; display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.75rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #C6D0E2; }
.browser-url { flex: 1; background: var(--white); border: 1px solid var(--line); border-radius: 20px; font-size: 0.72rem; color: var(--steel-light); padding: 0.24rem 0.8rem; margin-left: 0.4rem; text-align: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-view { position: relative; height: 396px; overflow: hidden; }
@media (max-width: 560px) { .browser-view { height: 330px; } }

.site { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; display: flex; flex-direction: column; font-size: 0.72rem; }
.site.is-live { opacity: 1; }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.07); font-weight: 700; font-family: "Archivo", sans-serif; }
.site-links { display: flex; gap: 0.75rem; font-weight: 400; font-size: 0.66rem; opacity: 0.72; }
.site-hero { padding: 1.5rem 1rem; }
.site h4, .site p, .site span, .site div { color: inherit; }
.site-hero h4 { font-family: "Archivo", sans-serif; font-size: 1.2rem; line-height: 1.15; margin: 0 0 0.4rem; letter-spacing: -0.02em; }
.site-hero p { font-size: 0.7rem; margin: 0 0 0.85rem; opacity: 0.75; max-width: 34ch; }
.site-cta { color: #fff; }
.site-cta { display: inline-block; font-size: 0.66rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 5px; }
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; padding: 0 1rem 1rem; }
.site-card { border-radius: 6px; padding: 0.6rem; font-size: 0.63rem; line-height: 1.35; }
.site-swatch { height: 32px; border-radius: 4px; margin-bottom: 0.4rem; }
.site-foot { margin-top: auto; padding: 0.6rem 1rem; font-size: 0.6rem; opacity: 0.6; border-top: 1px solid rgba(0,0,0,0.07); }

.site-a { background: #FBFCFE; color: #101F3A; }
.site-a .site-cta { background: #1748C4; color: #fff; }
.site-a .site-card { background: #fff; border: 1px solid #E2E8F4; }
.site-a .site-swatch { background: linear-gradient(135deg, #2E6BFF, #93B4FF); }

.site-b { background: #F4FAF9; color: #12332F; }
.site-b .site-cta { background: #0E7C6B; color: #fff; }
.site-b .site-card { background: #fff; border: 1px solid #DCEBE8; }
.site-b .site-swatch { background: linear-gradient(135deg, #7FC8BD, #0E7C6B); }

.site-c { background: #16182A; color: #E8EAF6; }
.site-c .site-nav { border-bottom-color: rgba(255,255,255,0.13); }
.site-c .site-cta { background: #8E7BFF; color: #14162A; }
.site-c .site-card { background: rgba(255,255,255,0.06); }
.site-c .site-swatch { background: linear-gradient(135deg, #8E7BFF, #4B3DB0); }
.site-c .site-foot { border-top-color: rgba(255,255,255,0.13); }

.browser-tabs { display: flex; gap: 0.4rem; margin-top: 1.3rem; flex-wrap: wrap; }
.browser-tab { background: var(--surface); border: 1px solid var(--edge); color: var(--text-dim); font: inherit; font-size: 0.83rem; padding: 0.36rem 0.9rem; border-radius: 20px; cursor: pointer; transition: all 0.18s ease; }
.browser-tab:hover { background: var(--surface-lift); color: var(--white); }
.browser-tab[aria-selected="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---------- Sector list ---------- */

.who { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .who { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .who { grid-template-columns: 1fr; } }
.who-item { border-left: 2px solid rgba(59,130,246,0.6); padding: 0.15rem 0 0.15rem 1rem; }
.who-item strong { display: block; font-weight: 600; font-size: 0.98rem; }
.who-item span { font-size: 0.9rem; color: var(--text-dim); }
.band-dark .who-item span { color: #A9BAD2; }

/* ---------- Prose ---------- */

.page-head { padding: clamp(2.6rem, 5vw, 4rem) 0 1.6rem; }
.page-head p { color: var(--text-dim); font-size: 1.07rem; }
.prose { padding-bottom: clamp(3rem, 6vw, 5rem); }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.3rem, 2.2vw, 1.62rem); }
.prose h3 { margin-top: 1.8rem; font-size: 1.06rem; }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.15rem; }
.prose li { margin-bottom: 0.45rem; }
.prose .updated { color: var(--text-faint); font-size: 0.9rem; }

.callout { background: rgba(37, 99, 235, 0.09); border: 1px solid rgba(59, 130, 246, 0.28); border-left: 3px solid var(--blue); border-radius: 8px; padding: 1.15rem 1.35rem; margin: 1.7rem 0; max-width: var(--measure); }
.callout p { margin: 0; font-size: 0.95rem; color: #C6D8F5; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.6rem); grid-template-columns: 1fr 1fr; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.detail { margin-bottom: 1.5rem; }
.detail dt { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 0.18rem; }
.detail dd { margin: 0; font-size: 1.02rem; }
.form-row { margin-bottom: 1.05rem; }
.form-row label { display: block; font-size: 0.9rem; margin-bottom: 0.32rem; color: var(--text-dim); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font: inherit; font-size: 0.97rem; padding: 0.68rem 0.8rem;
  border: 1px solid var(--edge); border-radius: 8px;
  background: var(--surface); color: var(--text);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-faint); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue); background: var(--surface-lift);
}
.form-row select option { background: var(--bg-alt); color: var(--text); }
.form-row textarea { min-height: 118px; resize: vertical; }

/* ---------- Footer ---------- */

.footer { background: var(--bg-alt); color: var(--text-dim); border-top: 1px solid var(--edge-soft); padding: clamp(2.8rem, 5vw, 4.2rem) 0 1.8rem; }
.footer a { color: #D3DEEE; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 0.8rem; color: var(--white); font-weight: 600; margin-bottom: 0.8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.45rem; font-size: 0.93rem; }
.footer address { font-style: normal; font-size: 0.92rem; line-height: 1.6; margin-top: 0.9rem; }
.footer p { font-size: 0.93rem; max-width: 38ch; }
.footer-base { padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between; font-size: 0.85rem; color: #7C8FA9; }

/* ---- WhatsApp floating button ---- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: wa-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.65);
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

@keyframes wa-pop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

.wa-float-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--void); color: #fff;
  font-size: 0.82rem; white-space: nowrap;
  padding: 0.4rem 0.85rem; border-radius: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease;
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* ==========================================================================
   Integration grid — brand-coloured marks
   ========================================================================== */

.integrations {
  display: grid; gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(182px, 1fr));
  margin-top: 2rem;
}

.intg {
  --brand: var(--blue);
  display: flex; align-items: center; gap: 0.75rem; min-width: 0;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 11px;
  padding: 0.85rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.intg:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--brand) 55%, transparent);
  transform: translateY(-2px);
}
.intg-mark {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 9px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 24%, transparent);
  color: color-mix(in srgb, var(--brand) 74%, white);
}
.intg-mark svg { width: 19px; height: 19px; fill: currentColor; }
.intg-name {
  font-size: 0.89rem; font-weight: 600; color: var(--text);
  line-height: 1.25; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.intg-kind {
  display: block; font-size: 0.73rem; font-weight: 400; color: var(--text-faint);
}

@media (max-width: 620px) {
  .integrations { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .intg { padding: 0.7rem 0.65rem; gap: 0.55rem; }
  .intg-mark { width: 31px; height: 31px; border-radius: 8px; }
  .intg-mark svg { width: 16px; height: 16px; }
  .intg-name { font-size: 0.82rem; }
  .intg-kind { font-size: 0.68rem; }
}

/* dark-band variant */
.band-navy .intg, .band-dark .intg {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.1);
}
.band-navy .intg:hover, .band-dark .intg:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: var(--brand);
}
.band-navy .intg-name, .band-dark .intg-name { color: #EAF1FA; }
.band-navy .intg-kind, .band-dark .intg-kind { color: #8DA0BB; }
.band-navy .intg-mark, .band-dark .intg-mark {
  background: color-mix(in srgb, var(--brand) 26%, transparent);
  color: color-mix(in srgb, var(--brand) 72%, white);
}

/* ==========================================================================
   Texture on dark bands
   ========================================================================== */

.band-dark, .band-navy, .band-mist { position: relative; overflow: hidden; }
.band-dark::before, .band-navy::before, .band-mist::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 25%, transparent 78%);
}
.band-dark > *, .band-navy > *, .band-mist > * { position: relative; z-index: 1; }

/* ==========================================================================
   Steps — connector line
   ========================================================================== */

.steps { position: relative; }
.steps::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent, rgba(59,130,246,0.35) 12%,
    rgba(59,130,246,0.35) 88%, transparent);
}
@media (max-width: 920px) { .steps::before { display: none; } }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 0.55s cubic-bezier(0.22,0.61,0.36,1),
              transform 0.55s cubic-bezier(0.22,0.61,0.36,1);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Floating action buttons
   ========================================================================== */

.fab {
  position: fixed; bottom: 1.5rem; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fab svg { width: 27px; height: 27px; fill: currentColor; }
.fab:hover { transform: scale(1.09); }

.fab-wa {
  right: 1.5rem; background: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  animation: fab-in 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.1s both;
}
.fab-wa:hover { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6); color: #fff; }

.fab-call {
  left: 1.5rem; background: var(--blue);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  animation: fab-in 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.35s both;
}
.fab-call:hover { box-shadow: 0 8px 26px rgba(37, 99, 235, 0.6); color: #fff; }

@keyframes fab-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.fab-tip {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--void); color: #fff;
  font-size: 0.8rem; font-weight: 500; white-space: nowrap;
  padding: 0.38rem 0.8rem; border-radius: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
}
.fab-wa .fab-tip { right: 66px; }
.fab-call .fab-tip { left: 66px; }
.fab:hover .fab-tip { opacity: 1; }

@media (max-width: 560px) {
  .fab { width: 50px; height: 50px; bottom: 1.1rem; }
  .fab svg { width: 24px; height: 24px; }
  .fab-wa { right: 1.1rem; }
  .fab-call { left: 1.1rem; }
  .fab-tip { display: none; }
}

/* ==========================================================================
   Motion polish
   ========================================================================== */

/* Hero content rises on load */
.js .hero-grid > div:first-child > * {
  animation: rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.js .hero-grid > div:first-child > .badge   { animation-delay: 0.05s; }
.js .hero-grid > div:first-child > h1       { animation-delay: 0.13s; }
.js .hero-grid > div:first-child > .hero-lede    { animation-delay: 0.22s; }
.js .hero-grid > div:first-child > .hero-actions { animation-delay: 0.31s; }
.js .hero-grid > div:first-child > .hero-proof   { animation-delay: 0.4s; }

.js .phone-stage {
  animation: rise-phone 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes rise-phone {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

/* Live pulse on the badge dot */
.badge-pip { position: relative; }
.badge-pip::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%; border: 1px solid var(--blue-lift);
  animation: pip 2.4s ease-out infinite;
}
@keyframes pip {
  0%   { transform: scale(0.7); opacity: 0.9; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { opacity: 0; }
}

/* Buttons lift slightly */
.btn-solid { box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.5); }
.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(37, 99, 235, 0.65);
}

/* Step numbers glow as they arrive */
.step.is-in::before { animation: numglow 0.9s ease-out both; }
@keyframes numglow {
  from { color: var(--white); border-bottom-color: var(--white); }
  to   { color: var(--blue-lift); border-bottom-color: var(--blue); }
}

/* Section headings get a subtle blue underline accent */
.band-head h2 { position: relative; display: inline-block; padding-bottom: 0.15em; }
.band-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), transparent);
  transition: width 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s;
}
.band-head.is-in h2::after { width: 68px; }

/* Prose links */
.prose a { color: var(--blue-lift); }
.prose a:hover { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .js .hero-grid > div:first-child > *,
  .js .phone-stage { animation: none; }
  .badge-pip::after { animation: none; }
  .band-head h2::after { transition: none; width: 68px; }
}
