:root {
  --btc-blue: #003869;
  --btc-blue-2: #0f4b8c;
  --btc-mid: #5aa6e7;
  --btc-light: #cee4f8;
  --btc-yellow: #fbd200;
  --btc-grey: #f5f5f5;
  --btc-text: #072f52;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(0, 56, 105, 0.14);
}

@font-face {
  font-family: "Roobert BTC";
  src: url("/assets/fonts/RoobertBTC-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roobert BTC";
  src: url("/assets/fonts/RoobertBTC-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--btc-text);
  font-family: "Roobert BTC", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  background: var(--white);
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(90, 166, 231, 0.13) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.55;
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(0, 56, 105, 0.08);
  backdrop-filter: blur(14px);
  transition: box-shadow 240ms ease, background-color 240ms ease;
}

.nav {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav-panel {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.nav-panel-head,
.nav-backdrop,
.nav-close {
  display: none;
}

@media (min-width: 981px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--btc-blue);
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  font-size: 34px;
  font-style: italic;
  line-height: 1;
}

.brand-sub {
  font-size: 14px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  padding: 8px 2px;
  color: var(--btc-blue);
  font-size: 16px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  border-color: var(--btc-yellow);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  color: var(--btc-blue);
  background: var(--btc-yellow);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 56, 105, 0.18);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 0;
  background: var(--btc-blue);
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.nav-toggle:hover {
  background: var(--btc-blue-2);
  transform: translateY(-1px);
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 3px;
  margin: 2px 0;
  background: var(--white);
  transition: transform 220ms ease, opacity 160ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  min-height: 660px;
  display: grid;
  align-items: stretch;
  color: var(--white);
  background: var(--btc-blue);
}

.hero-media {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 660px;
  overflow: hidden;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-media::before {
  background: linear-gradient(90deg, rgba(0, 56, 105, 0.96), rgba(15, 75, 140, 0.9) 38%, rgba(0, 56, 105, 0.38));
  z-index: 1;
}

.hero-media::after {
  z-index: 2;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero:hover .hero-media img {
  transform: scale(1.07);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--btc-mid);
  font-size: 15px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 6px;
  background: var(--btc-yellow);
}

.hero .eyebrow {
  color: var(--white);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--btc-blue);
  line-height: 1.08;
  hyphens: auto;
  overflow-wrap: break-word;
}

.hero h1 {
  max-width: 860px;
  margin-top: 18px;
  color: var(--white);
  font-size: 58px;
}

.hero p {
  max-width: 800px;
  margin: 26px 0 0;
  font-size: 22px;
  overflow-wrap: break-word;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  color: var(--btc-blue);
  background: var(--btc-yellow);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  overflow-wrap: break-word;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.button.outline {
  color: var(--btc-blue);
  background: transparent;
  border: 2px solid var(--btc-blue);
}

.section {
  padding: 94px 0;
  background: var(--white);
}

.reveal-ready .section,
.reveal-ready .faq,
.reveal-ready .site-footer {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-ready .section.is-visible,
.reveal-ready .faq.is-visible,
.reveal-ready .site-footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section.alt {
  background: var(--btc-grey);
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head h2 {
  margin-top: 14px;
  font-size: 42px;
}

.section-head p,
.intro-body {
  margin: 18px 0 0;
  font-size: 20px;
}

.pill-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.pill-list li {
  list-style: none;
  padding: 18px 20px;
  background: #ecf6fd;
  border-left: 7px solid var(--btc-mid);
}

.pain-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pain-card,
.case-card,
.module-card {
  min-height: 100%;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(0, 56, 105, 0.12);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pain-card:hover,
.case-card:hover,
.module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 166, 231, 0.44);
  box-shadow: 0 24px 58px rgba(0, 56, 105, 0.18);
}

.pain-card h3,
.case-card h3,
.module-card h3 {
  font-size: 27px;
}

.quote {
  margin: 14px 0;
  color: var(--btc-blue);
  font-size: 21px;
  font-weight: 700;
}

.pain-card ul,
.case-card ul {
  margin: 18px 0;
  padding-left: 22px;
}

.focus {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 4px solid var(--btc-yellow);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 360ms ease, box-shadow 360ms ease;
}

.split img:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 58px rgba(0, 56, 105, 0.18);
}

.split h2,
.cta-band h2 {
  margin-top: 14px;
  font-size: 42px;
}

.split p,
.cta-band p {
  margin: 20px 0 0;
  font-size: 20px;
}

.use-teaser {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  list-style: none;
  padding: 18px 18px 18px 54px;
  border-bottom: 1px solid rgba(0, 56, 105, 0.14);
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 180ms ease, transform 180ms ease;
}

.check-list li:hover {
  background: var(--white);
  transform: translateX(4px);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 17px;
  height: 17px;
  background: var(--btc-yellow);
}

.flow-ring {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: modules;
}

.module-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #eff7ff);
}

.module-card::before {
  counter-increment: modules;
  content: counter(modules);
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 36px;
  place-items: center;
  color: var(--btc-blue);
  background: var(--btc-yellow);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 150px;
  list-style: none;
  padding: 58px 18px 18px;
  background: var(--btc-blue);
  color: var(--white);
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--btc-yellow);
  font-size: 24px;
  font-weight: 700;
}

.webinar-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  background: #ecf6fd;
  border-left: 8px solid var(--btc-yellow);
}

.cta-band {
  color: var(--white);
  background: linear-gradient(90deg, var(--btc-blue-2), var(--btc-blue));
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: start;
}

.contact-person {
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-person img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
}

.person-content {
  padding: 28px;
}

.person-content h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(251, 210, 0, 0.65);
  border-color: var(--btc-blue);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--btc-blue);
  font-size: 15px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--btc-text);
  font: inherit;
  font-size: 16px;
  border: 1px solid rgba(0, 56, 105, 0.24);
  border-radius: 0;
  background: var(--white);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-message {
  min-height: 24px;
  color: var(--btc-blue);
  font-weight: 700;
}

.faq {
  padding: 74px 0;
  background: #ecf6fd;
}

.faq details {
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 56, 105, 0.16);
}

.faq summary {
  cursor: pointer;
  color: var(--btc-blue);
  font-size: 21px;
  font-weight: 700;
}

.not-found {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 253, 0.86)),
    radial-gradient(circle, rgba(90, 166, 231, 0.22) 1px, transparent 1px);
  background-size: auto, 18px 18px;
}

.not-found-inner {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 54px;
  align-items: center;
}

.not-found h1 {
  max-width: 760px;
  margin-top: 16px;
  font-size: 58px;
}

.not-found p {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 21px;
}

.not-found-panel {
  display: grid;
  gap: 14px;
  padding: 34px;
  background: var(--btc-blue);
  box-shadow: var(--shadow);
}

.not-found-panel span {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  border-left: 8px solid var(--btc-yellow);
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  padding: 54px 0;
  color: var(--white);
  background: var(--btc-blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
}

.footer-grid a {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    z-index: 30;
  }

  .nav {
    min-height: 74px;
    flex-wrap: nowrap;
    padding: 14px 0;
  }

  .nav-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .nav-backdrop {
    position: fixed;
    inset: 74px 0 0;
    display: block;
    background: rgba(0, 26, 48, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 240ms ease;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 31;
    display: flex;
    width: 100%;
    padding: 18px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    background: var(--white);
    border-top: 1px solid rgba(0, 56, 105, 0.1);
    box-shadow: 0 22px 48px rgba(0, 56, 105, 0.18);
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1), visibility 260ms;
  }

  .nav-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-panel-head {
    display: block;
    min-height: 50px;
    padding-top: 15px;
    color: var(--btc-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 56, 105, 0.12);
  }

  .nav-close {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: var(--btc-grey);
    cursor: pointer;
  }

  .nav-close::before,
  .nav-close::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--btc-blue);
  }

  .nav-close::before {
    transform: rotate(45deg);
  }

  .nav-close::after {
    transform: rotate(-45deg);
  }

  .nav-links {
    position: static;
    transform: none;
    display: grid;
    gap: 0;
    width: 100%;
    padding: 0;
    border-top: 0;
  }

  .nav-links a {
    position: relative;
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 0 0 0 22px;
    color: var(--btc-blue);
    font-size: 22px;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 56, 105, 0.1);
  }

  .nav-links a::before {
    content: "";
    position: absolute;
    left: 0;
    width: 7px;
    height: 7px;
    background: transparent;
    transition: background-color 180ms ease, transform 180ms ease;
  }

  .nav-links a[aria-current="page"],
  .nav-links a:hover {
    color: var(--btc-blue);
    border-color: rgba(0, 56, 105, 0.1);
  }

  .nav-links a[aria-current="page"]::before,
  .nav-links a:hover::before {
    background: var(--btc-yellow);
    transform: scale(1.25);
  }

  .nav-panel .header-cta {
    width: 100%;
    min-height: 56px;
    justify-content: center;
    margin-top: 4px;
  }

  .hero,
  .hero-media {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .pill-list,
  .pain-grid,
  .case-grid,
  .split,
  .use-teaser,
  .flow-ring,
  .steps,
  .contact-layout,
  .footer-grid,
  .not-found-inner {
    grid-template-columns: 1fr;
  }

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

  .webinar-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .nav,
  .wrap,
  .hero-inner {
    width: min(calc(100% - 28px), 1180px);
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p,
  .section-head p,
  .split p,
  .cta-band p,
  .intro-body {
    font-size: 18px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head h2,
  .split h2,
  .cta-band h2,
  .not-found h1 {
    font-size: 32px;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .nav > .header-cta {
    width: auto;
  }
}

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

  .reveal-ready .section,
  .reveal-ready .faq,
  .reveal-ready .site-footer {
    opacity: 1;
    transform: none;
  }
}
