
:root {
  --i80-dark: #111827;
  --i80-muted: #6b7280;
  --i80-border: #e5e7eb;
  --i80-bg: #f8fafc;
  --i80-accent: #219ebc;
  --i80-accent-dark: #1b829b;
  --i80-brand-red: #d12828;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--i80-dark);
  line-height: 1.65;
}

.navbar {
  border-bottom: 1px solid var(--i80-border);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 30px;
}

.brand-i80 {
  color: var(--i80-brand-red);
}

.brand-solutions {
  color: var(--i80-accent);
}

.navbar-brand .brand-agent {
  color: #000;
}

.navbar-brand .brand-dot {
  color: var(--i80-brand-red);
}

.brand-red-link {
  color: var(--i80-brand-red);
  font-weight: 650;
}

.brand-red-link:hover {
  color: #b91f1f;
}

.nav-link {
  font-weight: 500;
  color: #374151;
}

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 850;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #4b5563;
  max-width: 780px;
}

.hero-visual-link {
  display: block;
  width: 100%;
  max-width: 100%;
  color: var(--i80-muted);
  text-decoration: none;
  overflow: hidden;
}

.hero-visual {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border: 1px solid var(--i80-border);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(17,24,39,0.10);
}

.hero-visual-link span {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-visual-link:hover .hero-visual {
  box-shadow: 0 22px 58px rgba(17,24,39,0.15);
}

.hero-visual-link:focus-visible {
  outline: 3px solid rgba(33, 158, 188, 0.35);
  outline-offset: 6px;
  border-radius: 18px;
}

.btn-primary {
  background: var(--i80-accent);
  border-color: var(--i80-accent);
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 650;
}

.btn-primary:hover {
  background: var(--i80-accent-dark);
  border-color: var(--i80-accent-dark);
}

.btn-brand-red {
  background: var(--i80-brand-red);
  border-color: var(--i80-brand-red);
  border-radius: 999px;
  color: #fff;
  font-weight: 650;
  padding: 0.78rem 1.25rem;
}

.btn-brand-red:hover {
  background: #b91f1f;
  border-color: #b91f1f;
  color: #fff;
}

.btn-outline-dark {
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 650;
}

.section {
  padding: 78px 0;
}

.section-sm {
  padding: 54px 0;
}

.cta-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 820;
}

.section-kicker {
  color: var(--i80-accent);
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: .78rem;
  margin-bottom: .6rem;
}

.muted {
  color: var(--i80-muted);
}

.card-soft {
  border: 1px solid var(--i80-border);
  border-radius: 22px;
  padding: 28px;
  background: white;
  height: 100%;
  box-shadow: 0 10px 35px rgba(17,24,39,0.04);
}

.card-soft h3,
.card-soft h4 {
  font-weight: 760;
  letter-spacing: -0.025em;
}

.platform-intro {
  background: #fff;
}

.platform-title-panel {
  position: sticky;
  top: 104px;
  border-left: 5px solid var(--i80-accent);
  padding-left: 24px;
}

.platform-copy-panel {
  border: 1px solid var(--i80-border);
  border-radius: 16px;
  padding: 26px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(17,24,39,0.04);
}

.world-example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.world-example {
  border: 1px solid var(--i80-border);
  border-radius: 14px;
  padding: 18px;
  background: #f8fafc;
}

.world-example p {
  color: var(--i80-muted);
}

.platform-callout {
  margin-top: 18px;
  border-left: 4px solid var(--i80-accent);
  border-radius: 14px;
  padding: 18px 20px;
  background: #f8fafc;
  font-weight: 650;
}

.home-story-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.home-story-heading {
  border-left: 5px solid var(--i80-accent);
  padding-left: 24px;
}

.home-story-card {
  position: relative;
  border-left-width: 0;
  border-top: 5px solid var(--i80-accent);
  padding: 34px;
}

.home-story-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  right: 26px;
  color: rgba(33,158,188,0.16);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.home-story-card .btn {
  margin-top: 4px;
}

.timeline-card {
  padding: 30px 30px 26px;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
  width: 2px;
  background: linear-gradient(180deg, rgba(33,158,188,0.35), rgba(33,158,188,0.08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 14px;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border: 4px solid #e0f2fe;
  border-radius: 999px;
  background: var(--i80-accent);
  box-shadow: 0 0 0 4px #fff;
}

.timeline-marker-current {
  background: var(--i80-accent-dark);
  border-color: rgba(33,158,188,0.28);
}

.timeline-content h5 {
  margin-bottom: 8px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.timeline-content ul {
  margin-bottom: 0 !important;
  padding-left: 1.15rem;
}

.timeline-content li + li {
  margin-top: 2px;
}

.bg-soft {
  background: var(--i80-bg);
}

.bg-tint {
  background: #f1fbfd;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--i80-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .9rem;
  font-weight: 650;
  background: #fff;
  color: #374151;
  margin: 4px 4px 4px 0;
}

.capability-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-retrieval {
  background: #e0f2fe;
  color: #036987;
}

.capability-task {
  background: #eef2ff;
  color: #4338ca;
}

.capability-both {
  background: #ecfeff;
  color: #0e7490;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.step-heading h4 {
  margin-bottom: 0;
}

.step-number {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--i80-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 0.92rem;
}

.quote-box {
  border-left: 4px solid var(--i80-accent);
  padding: 24px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(17,24,39,0.04);
}

.cta-card {
  max-width: 980px;
  margin: 0 auto;
  border-top: 5px solid var(--i80-accent);
  padding: 42px;
  box-shadow: 0 18px 55px rgba(17,24,39,0.08);
}

.cta-card .section-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}

.cta-card .btn {
  margin-top: 8px;
  min-width: 170px;
}

.workflow-visual {
  margin-top: 42px;
}

.workflow-visual a {
  display: block;
  width: min(100%, 1040px);
  margin: 0 auto;
}

.workflow-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid var(--i80-border);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(17,24,39,0.10);
}

.workflow-visual a:focus-visible {
  outline: 3px solid rgba(33, 158, 188, 0.35);
  outline-offset: 6px;
  border-radius: 14px;
}

.article-card {
  border-bottom: 1px solid var(--i80-border);
  padding: 24px 0;
}

.article-card:first-child {
  padding-top: 0;
}

.article-card a {
  color: var(--i80-dark);
  font-weight: 760;
  text-decoration: none;
  font-size: 1.15rem;
  text-underline-offset: 0.18em;
}

.article-card-title {
  color: var(--i80-dark);
  font-weight: 760;
  font-size: 1.15rem;
}

.article-card a:hover {
  color: var(--i80-accent);
}

.article-card a:focus-visible {
  color: var(--i80-accent);
  outline: 2px solid rgba(33, 158, 188, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--i80-border);
  color: var(--i80-muted);
}

.footer a,
.footer a:visited,
.footer a:hover,
.footer a:focus,
.footer a:active {
  color: var(--i80-accent);
  font-weight: 650;
  text-decoration: none !important;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.footer a:hover {
  color: var(--i80-accent-dark);
  opacity: 0.82;
}

.footer .footer-link,
.footer .footer-link:visited,
.footer .footer-link:hover,
.footer .footer-link:focus,
.footer .footer-link:active {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
}

.story-hero {
  padding: 42px 0 34px;
  background:
    radial-gradient(circle at 18% 10%, rgba(33,158,188,0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.story-hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 780;
  color: #1f2937;
  margin-bottom: 0;
}

.story-hero .lead {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.25;
  font-weight: 650;
  color: var(--i80-dark);
}

.story-hero-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  margin-top: 24px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(17,24,39,0.10);
}

.story-inline-image {
  margin: 46px 0 6px;
}

.story-inline-image img {
  display: block;
  width: min(100%, 620px);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(17,24,39,0.09);
}

.story-photo {
  margin: 26px 0 0;
}

.story-photo img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(17,24,39,0.10);
}

.story-content {
  max-width: 880px;
}

.story-main {
  padding: 46px 0 62px;
  background: #fff;
}

.story-main .story-content h2:first-child {
  margin-top: 0;
}

.story-content h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
  font-weight: 820;
}

.story-content p {
  font-size: 1.08rem;
}

.story-main a:not(.btn) {
  color: var(--i80-accent);
  font-weight: 650;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.story-main .story-content > h2 {
  padding-top: 4px;
}

.story-main .story-content > h2:not(:first-child) {
  border-top: 1px solid var(--i80-border);
  padding-top: 30px;
}

.story-main .quote-box {
  margin-top: 38px !important;
}

.story-cta {
  background: #f8fafc;
}

.story-cta h3 {
  margin-bottom: 10px;
  font-weight: 760;
  letter-spacing: -0.025em;
}

.story-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.story-signoff {
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--i80-border);
  padding-top: 18px;
  margin-top: 34px !important;
  font-weight: 650;
}

.story-signoff a {
  display: block;
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
}

.story-signoff img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--i80-border);
  box-shadow: 0 10px 24px rgba(17,24,39,0.10);
}

.story-signoff a:focus-visible {
  outline: 3px solid rgba(33, 158, 188, 0.35);
  outline-offset: 5px;
}

.story-signoff p {
  margin-bottom: 0;
}

.story-signoff span {
  display: block;
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 500;
}

.anchor-offset {
  scroll-margin-top: 84px;
}

@media (max-width: 768px) {
  .hero {
    padding: 28px 0 42px;
  }
  .hero-visual {
    width: 100%;
    max-width: 100%;
    max-height: 260px;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    border-radius: 14px;
  }
  .hero-visual-link span {
    display: none;
  }
  .section {
    padding: 44px 0;
  }
  .section-sm {
    padding: 38px 0;
  }
  .section .text-center.mb-5 {
    margin-bottom: 2rem !important;
  }
  .row.g-5 {
    --bs-gutter-y: 2rem;
  }
  .notes-row {
    --bs-gutter-y: 1rem;
  }
  #notes .col-lg-4 .muted {
    margin-bottom: 0;
  }
  .row.g-4 {
    --bs-gutter-y: 1.25rem;
  }
  .card-soft {
    padding: 22px;
  }
  .platform-title-panel {
    position: static;
    padding-left: 18px;
  }
  .platform-copy-panel {
    padding: 22px;
  }
  .world-example-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }
  .world-example {
    padding: 16px;
  }
  .platform-callout {
    margin-top: 14px;
    padding: 16px 18px;
  }
  .home-story-heading {
    padding-left: 18px;
  }
  .home-story-card {
    padding: 26px 22px;
  }
  .home-story-card .btn {
    width: 100%;
  }
  .cta-card {
    padding: 30px 22px;
  }
  .cta-card .section-title {
    margin-bottom: 14px;
  }
  .cta-card .btn {
    width: 100%;
  }
  .timeline-card {
    padding: 24px 20px;
  }
  .timeline-item {
    grid-template-columns: 24px 1fr;
    column-gap: 12px;
    padding-bottom: 24px;
  }
  .quote-box {
    padding: 20px 22px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .workflow-visual {
    margin-top: 28px;
  }
  .workflow-image {
    max-height: none;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(17,24,39,0.08);
  }
  .story-hero {
    padding: 28px 0 26px;
  }
  .story-hero .pill {
    margin-bottom: 0.65rem !important;
  }
  .story-hero .lead {
    margin-top: 0.65rem !important;
    margin-bottom: 0.5rem;
  }
  .story-hero-image {
    max-height: 160px;
    margin-top: 18px;
    border-radius: 8px;
  }
  .story-main {
    padding: 30px 0 42px;
  }
  .story-content h2 {
    margin-top: 28px;
    margin-bottom: 10px;
  }
  .story-main .story-content > h2:not(:first-child) {
    padding-top: 22px;
  }
  .story-content p {
    font-size: 1.02rem;
    margin-bottom: 0.85rem;
  }
  .story-main .quote-box {
    margin-top: 28px !important;
  }
  .story-cta .btn {
    width: 100%;
  }
  .story-signoff {
    margin-top: 24px !important;
    padding-top: 16px;
  }
  .story-signoff a {
    width: 64px;
    height: 64px;
  }
  .story-signoff img {
    width: 100%;
    height: 100%;
  }
  .story-inline-image {
    margin: 34px auto 0;
    max-width: 82%;
  }
  .story-photo {
    margin-top: 22px;
  }
  .story-photo img {
    max-height: 180px;
  }
  .article-card a {
    color: var(--i80-accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
}
