/* abni.css — design tokens + base styles + layout components.
   Ported from Website_design_handoff_abni_website/source/abni.css with
   inline-JSX styles flattened into reusable classes. */

:root {
  --abni-white: #ffffff;
  --abni-paper: #fafaf7;
  --abni-blue: #bdccd4;
  --abni-blue-soft: #d4dee4;
  --abni-blue-mid: #99c0d4;
  --abni-blue-bright: #6ab0d4;
  --abni-blue-deep: #488db0;
  --abni-blue-deeper: #194056;
  --abni-ink: #194056;
  --abni-mute: #5a7a8a;
  --abni-line: rgba(25, 64, 86, 0.14);

  --abni-gradient: linear-gradient(155deg, #d4dee4 0%, #bdccd4 45%, #99c0d4 100%);
  --abni-gradient-soft: linear-gradient(160deg, #fafaf7 0%, #eaf2f5 60%, #d4e3eb 100%);

  --abni-radius-sm: 10px;
  --abni-radius-md: 18px;
  --abni-radius-lg: 28px;
  --abni-radius-xl: 40px;

  --abni-font-display: "General Sans", "Söhne", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --abni-font-body: "General Sans", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --abni-ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--abni-white);
  color: var(--abni-ink);
  font-family: var(--abni-font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; }

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--abni-font-display);
  margin: 0;
}

p { margin: 0; }

::selection { background: var(--abni-blue); color: var(--abni-blue-deeper); }

/* ── Display / typography utilities ───────────────── */

.abni-display {
  font-family: var(--abni-font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}

.abni-eyebrow {
  font-family: var(--abni-font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--abni-blue-deep);
}

.abni-body-lg {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--abni-mute);
  text-wrap: pretty;
}

.abni-tnum { font-variant-numeric: tabular-nums; }

/* ── Buttons ──────────────────────────────────────── */

.abni-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 24px;
  border-radius: 999px;
  border: 0;
  font-family: var(--abni-font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .25s var(--abni-ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
  text-decoration: none;
}
.abni-btn-primary {
  background: var(--abni-ink);
  color: var(--abni-white);
}
.abni-btn-primary:hover {
  background: var(--abni-blue-deeper);
  transform: translateY(-1px);
}
.abni-btn-ghost {
  background: transparent;
  color: var(--abni-ink);
  box-shadow: inset 0 0 0 1px var(--abni-line);
}
.abni-btn-ghost:hover {
  background: var(--abni-paper);
}
.abni-btn-on-blue {
  background: var(--abni-white);
  color: var(--abni-blue-deeper);
}
.abni-btn-on-blue:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.abni-btn-outline-on-dark {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}
.abni-btn-outline-on-dark:hover { background: rgba(255,255,255,0.06); }

/* ── Hex utilities ────────────────────────────────── */

.abni-hex      { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.abni-hex-flat { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }

/* ── Glass surfaces ───────────────────────────────── */

.abni-glass {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 0.5px solid rgba(255,255,255,0.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.6),
    0 12px 40px rgba(31, 50, 60, 0.10),
    0 1px 0 rgba(255,255,255,0.5);
}
.abni-glass-dark {
  background: rgba(26, 37, 48, 0.45);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 0.5px solid rgba(255,255,255,0.18);
  color: var(--abni-white);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 40px rgba(0,0,0,0.18);
}

/* ── Layout containers + section ──────────────────── */

.abni-section { padding: 120px 64px; }

.abni-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.abni-container-wide {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* ── Navigation (sticky glass capsule) ────────────── */

.nav-shell {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav-capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 999px;
  width: min(1180px, calc(100% - 32px));
  justify-content: space-between;
  transition: padding .35s var(--abni-ease), background .35s var(--abni-ease);
}
.nav-capsule.is-scrolled { padding: 8px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 40px;
  width: auto;
  /* Tint the light-grey logo asset to --abni-blue-deep (#488db0). */
  filter: brightness(0) saturate(1) invert(56%) sepia(38%) saturate(425%) hue-rotate(167deg) brightness(0.94) contrast(0.88);
  margin-left: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--abni-ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s;
  letter-spacing: -0.005em;
}
.nav-links a:hover { background: rgba(74,107,125,0.08); }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--abni-ink);
}
.nav-burger span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .3s, opacity .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta {
  padding: 10px 18px;
  font-size: 13.5px;
}

.nav-mobile-menu {
  pointer-events: auto;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  padding: 16px;
  border-radius: 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu[data-open="true"] { display: flex; }
.nav-mobile-menu a {
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--abni-ink);
  font-size: 16px;
  font-weight: 500;
}
.nav-mobile-menu a.abni-btn {
  margin-top: 6px;
  justify-content: center;
}

/* ── Hero ─────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background: var(--abni-blue);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s var(--abni-ease), transform 14s linear;
  will-change: opacity, transform;
}
.hero-bg .slide.is-active { opacity: 1; transform: scale(1.06); }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,37,48,0.22) 0%, rgba(26,37,48,0) 30%, rgba(26,37,48,0) 60%, rgba(26,37,48,0.30) 100%);
  pointer-events: none;
}
.hero-panel-wrap {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: min(1180px, calc(100% - 96px));
}
.hero-panel {
  background: rgba(255,255,255,0.62);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  backdrop-filter: blur(32px) saturate(160%);
  border: 0.5px solid rgba(255,255,255,0.65);
  box-shadow: 0 24px 60px rgba(31,50,60,0.22), inset 0 1px 0 rgba(255,255,255,0.7);
  border-radius: 32px;
  padding: 40px 48px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 40px;
  align-items: center;
}
.hero-headline {
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.05;
  color: var(--abni-blue-deep);
  font-size: clamp(40px, 5.2vw, 72px);
}
.hero-sub {
  margin: 24px 0 0;
  max-width: 560px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--abni-blue-deeper);
  letter-spacing: -0.005em;
  text-wrap: pretty;
  font-weight: 500;
}
.hero-sub strong { color: var(--abni-ink); font-weight: 700; }
.hero-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-cards {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-cards-prompt-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--abni-mute);
  margin-bottom: 2px;
  text-align: center;
  line-height: 1.25;
}
.hero-cards-prompt-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--abni-ink);
  letter-spacing: -0.005em;
  text-align: center;
  line-height: 1.25;
}
.hero-card-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-card-frame {
  border: 6px solid var(--abni-ink);
  border-radius: 4px;
  padding: 4px;
  background: transparent;
  width: 152px;
  aspect-ratio: 152 / 200;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-card-frame > div {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-card-label {
  font-size: 14px;
  color: var(--abni-ink);
  font-weight: 700;
}

.hero-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 14px;
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 0.5px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(31,50,60,0.18), inset 0 1px 0 rgba(255,255,255,0.4);
  background: rgba(31,50,60,0.45);
}
.hero-dots { display: flex; gap: 5px; }
.hero-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.45);
  transition: all .25s ease;
}
.hero-dots button.is-active { width: 16px; background: #fff; }
.hero-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.2);
}
.hero-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: var(--abni-blue-deeper);
  font-family: inherit;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .15s;
  padding: 0;
}
.hero-arrow:hover { transform: scale(1.05); }

/* ── Problem section ──────────────────────────────── */

.problem-section { background: var(--abni-gradient-soft); }
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  margin-top: 64px;
  align-items: start;
}
.problem-copy { font-size: 19px; line-height: 1.65; color: var(--abni-ink); }
.problem-copy p { margin: 0 0 24px; }
.problem-copy p:last-child { margin: 0; }
.problem-copy p.muted { color: var(--abni-mute); }
.problem-copy strong { color: var(--abni-ink); font-weight: 700; }

.versioning-panel {
  background: var(--abni-white);
  border: 1px solid var(--abni-line);
  border-radius: var(--abni-radius-lg);
  padding: 24px;
}
.versioning-panel-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--abni-blue-deep);
  margin-bottom: 16px;
}
.versioning-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.versioning-list .row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--abni-mute);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.versioning-list .row.final {
  color: var(--abni-ink);
  background: rgba(189,204,212,0.18);
}
.versioning-list .thumb {
  width: 22px;
  height: 22px;
  background-image: url(https://images.unsplash.com/photo-1582719471384-894fbb16e074?w=80&q=80&auto=format&fit=crop);
  background-size: cover;
  border-radius: 4px;
}
.versioning-list .date { margin-left: auto; font-size: 11px; color: var(--abni-mute); }
.versioning-foot {
  margin-top: 16px;
  font-size: 12px;
  color: var(--abni-mute);
  text-align: center;
  font-style: italic;
}

/* ── Solution section ─────────────────────────────── */

.solution-section {
  padding: 140px 64px 160px;
  background: var(--abni-gradient);
  color: var(--abni-blue-deeper);
  position: relative;
  overflow: hidden;
}
.solution-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgba(47,72,86,0.15) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.solution-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  margin-top: 64px;
  align-items: start;
  position: relative;
}
.solution-copy {
  font-size: 19px;
  line-height: 1.65;
  color: var(--abni-blue-deeper);
  max-width: 640px;
}
.solution-copy p { margin: 0 0 22px; }
.solution-copy p:last-child { margin: 0; font-weight: 500; }
.solution-copy strong { color: var(--abni-ink); font-weight: 700; }

.solution-card {
  background: rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--abni-radius-lg);
  padding: 20px;
  border: 0.5px solid rgba(255,255,255,0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 12px 40px rgba(31,50,60,0.10);
}
.solution-card-label {
  padding: 0 0 14px;
  color: var(--abni-blue-deeper);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: right;
}
.solution-card-frame {
  border: 6px solid var(--abni-ink);
  border-radius: 4px;
  padding: 4px;
  background: transparent;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
}
.solution-card-frame > div {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.solution-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.solution-stats {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(47,72,86,0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--abni-font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  color: var(--abni-blue-deeper);
  line-height: 1.05;
}
.stat-value.small { font-size: 18px; }
.stat-label {
  font-size: 12.5px;
  color: var(--abni-blue-deep);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ── ShowYourBrand / Equation rows ────────────────── */

.eqn-section-intro { margin-top: 24px; max-width: 720px; }
.eqn-row { margin-top: 96px; }
.eqn-row + .eqn-row { margin-top: 80px; }
.eqn-row-title {
  font-family: var(--abni-font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  margin: 0 0 32px;
  color: var(--abni-ink);
  letter-spacing: -0.01em;
}
.eqn-row-items {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  row-gap: 32px;
}
.eqn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.eqn-item .top-label {
  font-size: 11px;
  color: var(--abni-mute);
  letter-spacing: 0.04em;
  height: 11px;
}
.eqn-frame {
  border: 6px solid var(--abni-ink);
  border-radius: 4px;
  padding: 4px;
  width: 200px;
  height: 240px;
  background: var(--abni-white);
  flex-shrink: 0;
}
.eqn-frame.wide { width: 360px; height: 220px; }
.eqn-frame > div {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eqn-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eqn-caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--abni-ink);
}
.eqn-op {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--abni-ink);
  width: 56px;
  height: 56px;
  user-select: none;
}
.eqn-prompt {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eqn-prompt-label {
  font-size: 11px;
  color: var(--abni-mute);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.eqn-prompt-text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: var(--abni-ink);
  text-wrap: pretty;
}

/* ── Capabilities ─────────────────────────────────── */

.caps-section { background: var(--abni-paper); }
.caps-list { margin-top: 72px; display: flex; flex-direction: column; }
.cap-row {
  display: grid;
  grid-template-columns: 140px 1fr 660px;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--abni-line);
}
.cap-row:first-child { border-top: 1px solid var(--abni-line); }
.cap-number {
  font-family: var(--abni-font-display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 72px;
  line-height: 0.9;
  color: var(--abni-blue);
  letter-spacing: -0.02em;
}
.cap-title {
  font-family: var(--abni-font-display);
  font-weight: 700;
  font-size: 32px;
  margin: 0;
  color: var(--abni-ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.cap-body {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--abni-mute);
  max-width: 620px;
}
.cap-body strong { color: var(--abni-ink); font-weight: 700; }
.cap-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.cap-img img { display: block; }

.cap-quotes {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.cap-quote { max-width: 180px; }
.cap-quote-role {
  font-size: 12px;
  color: var(--abni-mute);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.cap-quote-text {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  color: var(--abni-ink);
}

/* ── No Interface / Slack ─────────────────────────── */

.noui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.noui-bullets {
  margin-top: 32px;
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: var(--abni-mute);
  flex-wrap: wrap;
}
.noui-bullet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.noui-bullet .dot {
  width: 8px;
  height: 9px;
  background: var(--abni-blue-deep);
  display: inline-block;
}

.slack-card {
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  box-shadow: 0 10px 40px rgba(28, 47, 60, 0.08), 0 1px 3px rgba(28, 47, 60, 0.06);
  overflow: hidden;
  color: var(--abni-ink);
}
.slack-header {
  padding: 20px 28px 16px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}
.slack-header .hash { color: var(--abni-mute); margin-right: 8px; font-weight: 400; }
.slack-header .meta { margin-left: auto; font-size: 13px; color: var(--abni-mute); font-weight: 400; }
.slack-body {
  padding: 8px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.slack-msg { display: flex; gap: 14px; }
.slack-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: #dadfe3;
}
.slack-avatar.bot {
  background: #fff;
  border: 1px solid rgba(74, 107, 125, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slack-avatar.bot img {
  width: 26px;
  height: 28px;
  filter: brightness(0) saturate(1) invert(56%) sepia(38%) saturate(425%) hue-rotate(167deg) brightness(0.94) contrast(0.88);
}
.slack-msg-body { flex: 1; min-width: 0; }
.slack-byline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.slack-name { font-size: 16px; font-weight: 700; }
.slack-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(74, 107, 125, 0.10);
  color: var(--abni-ink);
  letter-spacing: 0.06em;
}
.slack-time { font-size: 13px; color: var(--abni-mute); font-weight: 400; }
.slack-text { font-size: 16px; line-height: 1.45; }
.slack-context { font-size: 14px; color: var(--abni-mute); margin-bottom: 12px; }
.slack-line { font-size: 16px; line-height: 1.5; margin-bottom: 6px; }
.slack-line.bold { font-weight: 700; margin-bottom: 10px; }
.slack-line.spaced { margin-bottom: 16px; }
.slack-line strong { font-weight: 700; }
.slack-image-wrap {
  border-radius: 10px;
  border: 1px solid rgba(74, 107, 125, 0.18);
  overflow: hidden;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  background: #f5f1e8;
}
.slack-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.slack-input {
  padding: 14px 28px 20px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--abni-mute);
  border-top: 1px solid rgba(74, 107, 125, 0.08);
}
.slack-input .send { margin-left: auto; }

/* ── Team ─────────────────────────────────────────── */

.team-section { background: var(--abni-gradient-soft); }
.team-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}
.team-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.team-portrait {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--abni-ink);
  box-shadow: 0 8px 24px rgba(31,50,60,0.12);
  background: var(--abni-blue-soft);
}
.team-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.team-name {
  font-family: var(--abni-font-display);
  font-weight: 700;
  font-size: 26px;
  margin: 0;
  color: var(--abni-ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.team-role {
  font-size: 13px;
  color: var(--abni-blue-deep);
  margin-top: 4px;
  font-weight: 500;
}
.team-bio {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--abni-mute);
}
.team-bio strong { color: var(--abni-ink); font-weight: 700; }
.team-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--abni-ink);
}

/* ── Final CTA ────────────────────────────────────── */

.cta-section {
  background: var(--abni-ink);
  color: #fff;
  padding: 140px 64px;
  position: relative;
  overflow: hidden;
}
.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at 1px 1px, rgba(189,204,212,0.3) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-hex {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 540px;
  height: 572px;
  background: rgba(189,204,212,0.06);
}
.cta-headline {
  font-size: clamp(48px, 7vw, 96px);
  margin: 0;
  max-width: 1100px;
  color: #fff;
  line-height: 1.1;
  font-family: var(--abni-font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.cta-headline .accent { color: rgb(153, 192, 212); }
.cta-sub {
  margin: 36px 0 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}
.cta-sub strong { color: #fff; font-weight: 700; }
.cta-actions {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────── */

.abni-footer-shell {
  background: var(--abni-ink);
  color: rgba(255,255,255,0.85);
  padding: 80px 64px 40px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
}
.footer-brand { max-width: 380px; }
.footer-logo img {
  height: 36px;
  width: auto;
  /* tint to soft blue on dark navy */
  filter: brightness(1.2) saturate(0.6) hue-rotate(180deg);
  opacity: 0.85;
}
.footer-tagline {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.footer-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ── Legal pages (privacy / terms / support) ──────── */

.legal-page {
  padding: 160px 64px 80px;
  background: var(--abni-gradient-soft);
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--abni-ink);
}
.legal-content h1 {
  font-family: var(--abni-font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.legal-content .meta {
  font-size: 13px;
  color: var(--abni-mute);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}
.legal-content h2 {
  font-family: var(--abni-font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--abni-ink);
  margin: 40px 0 12px;
  line-height: 1.2;
}
.legal-content h3 {
  font-family: var(--abni-font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--abni-ink);
  margin: 28px 0 10px;
}
.legal-content p { margin: 0 0 16px; color: var(--abni-mute); }
.legal-content p strong, .legal-content strong { color: var(--abni-ink); font-weight: 600; }
.legal-content a { color: var(--abni-blue-deep); border-bottom: 1px solid currentColor; }
.legal-content a:hover { color: var(--abni-blue-deeper); }
.legal-content ul, .legal-content ol { margin: 0 0 20px; padding-left: 24px; color: var(--abni-mute); }
.legal-content li { margin-bottom: 8px; }
.legal-content li strong { color: var(--abni-ink); }
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.legal-content table th,
.legal-content table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--abni-line);
  vertical-align: top;
}
.legal-content table th {
  font-weight: 600;
  color: var(--abni-ink);
  background: rgba(189,204,212,0.18);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.legal-content table td { color: var(--abni-mute); }
.legal-content code {
  background: var(--abni-paper);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  color: var(--abni-blue-deeper);
}

/* ── Hex pattern bg ───────────────────────────────── */

.abni-hex-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(74,107,125,0.12) 1px, transparent 0);
  background-size: 28px 28px;
}

/* ─────────────────────────────────────────────────────
   RESPONSIVE OVERRIDES
   Breakpoints: 960 / 720 / 380px
   ───────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .cap-row { grid-template-columns: 120px 1fr 480px; gap: 40px; }
  .cap-img img { max-width: 100%; height: auto; }
}

@media (max-width: 960px) {
  .abni-section { padding: 80px 28px; }
  .solution-section { padding: 100px 28px 110px; }
  .cta-section { padding: 100px 28px; }
  .abni-footer-shell { padding: 64px 28px 32px; }
  .legal-page { padding: 140px 28px 72px; }

  .hero-panel { padding: 32px 32px; }
  .problem-grid,
  .solution-grid,
  .noui-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .cap-row {
    grid-template-columns: 100px 1fr;
    gap: 24px;
  }
  .cap-img {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .cap-img img { max-width: 100%; height: auto; }

  .nav-links { gap: 0; }
  .nav-links a { padding: 6px 10px; font-size: 13.5px; }
}

@media (max-width: 720px) {
  html, body { font-size: 15px; }

  .abni-section { padding: 64px 20px; }
  .solution-section { padding: 80px 20px 90px; }
  .cta-section { padding: 80px 20px; }
  .abni-footer-shell { padding: 64px 20px 32px; }
  .legal-page { padding: 120px 20px 64px; }

  .abni-display { letter-spacing: -0.02em; }
  .abni-btn { padding: 13px 20px; font-size: 14px; }

  /* Nav: hide inline links, show burger */
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  /* Hero */
  .hero { padding: 100px 0 64px; }
  .hero-panel-wrap { width: min(1180px, calc(100% - 32px)); }
  .hero-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    border-radius: 24px;
  }
  .hero-graphic { display: none; }
  .hero-controls { bottom: 16px; right: 16px; padding: 5px 8px 5px 12px; }

  /* Problem / solution grids handled by 960px rule */

  /* Capabilities — number/text/image full stack */
  .cap-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 36px 0;
  }
  .cap-number { font-size: 60px; }
  .cap-img { justify-content: flex-start; }
  .cap-img img { max-height: 240px; width: auto; }

  /* Solution stats — 2x2 */
  .solution-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Team — single column */
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-portrait { width: 110px; height: 110px; }

  /* Footer stack */
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-cols { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  /* Final CTA smaller */
  .cta-headline { font-size: clamp(36px, 9vw, 56px); }

  /* Eqn rows — let them wrap naturally */
  .eqn-frame { width: 160px; height: 200px; }
  .eqn-frame.wide { width: 280px; height: 180px; }
  .eqn-prompt { width: 100%; }

  /* Slack demo */
  .slack-card { max-width: 100%; }
  .slack-header { padding: 16px 20px 12px; }
  .slack-body { padding: 8px 20px 16px; }
  .slack-input { padding: 12px 20px 16px; }
  .slack-image-wrap { max-width: 100%; }
}

@media (max-width: 380px) {
  .abni-section { padding: 56px 16px; }
  .hero-panel { padding: 28px 20px; }
  .legal-page { padding: 100px 16px 48px; }
}
