/* =========================
   Minimalist system
========================= */
:root{
  --bg: #ffffff;
  --bg-alt: #f7f7f9;
  --text: #0b0f19;
  --muted: rgba(11,15,25,.65);
  --line: rgba(11,15,25,.10);
  --line-strong: rgba(11,15,25,.14);
  --shadow: 0 12px 40px rgba(11,15,25,.08);
  --radius: 18px;
  --max: 1160px;
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; }

/* Prevent accidental horizontal overflow ("white strip" on the right) */
html, body{ overflow-x: hidden; }

@supports (overflow: clip){
  html, body{ overflow-x: clip; }
}

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

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .86; }

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.fineprint{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(11,15,25,.55);
}

/* =========================
   Animations
========================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =========================
   Navbar (logo left, links center)
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  align-items: center;
  gap: 16px;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-img{
  height: 70px;
  max-height: calc(var(--nav-h) - 12px);
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 560px){
  .site-header{ --nav-h: 72px; }
  .logo-img{ height: 40px; }
}

.logo-mark{
  width: 28px; height: 28px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, #404040, #2a2a2a, #353535);
}

.logo-text{ font-size: 16px; }

.nav{
  justify-self: center;
  display: none;
  gap: 20px;
  align-items: center;
}

.nav-link{
  font-size: 14px;
  font-weight: 600;
  color: rgba(11,15,25,.75);
  padding: 10px 10px;
  border-radius: 12px;
}

.nav-link:hover{
  background: rgba(11,15,25,.04);
  color: rgba(11,15,25,.92);
}

.nav-actions{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(11,15,25,.78);
}

.lang-btn:hover{
  background: rgba(11,15,25,.04);
  opacity: 1;
}

.nav-ghost{
  font-size: 14px;
  font-weight: 600;
  color: rgba(11,15,25,.75);
}

.nav-cta{
  font-size: 14px;
  font-weight: 700;
  background: rgba(11,15,25,.92);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
}

.menu-btn{
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.menu-btn span{
  width: 18px;
  height: 2px;
  background: rgba(11,15,25,.8);
  border-radius: 2px;
}

.mobile-nav{
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-nav-inner{
  padding: 14px 0 18px;
  display: grid;
  gap: 8px;
}

.mobile-nav a{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
  color: rgba(11,15,25,.85);
}

@media (min-width: 980px){
  .nav{ display: inline-flex; }
  .menu-btn{ display: none; }
  .mobile-nav{ display: none; }
}

/* =========================
   Sections (no boxed panels)
========================= */
.section{
  min-height: 100vh;
  padding: 72px 0;
  display: flex;
  align-items: center;
}

/* Better viewport units on mobile browsers (prevents jumpy 100vh) */
@supports (height: 100svh){
  .section,
  .hero{ min-height: 100svh; }
}

@supports (height: 100dvh){
  .section,
  .hero{ min-height: 100dvh; }
}

.section.alt{
  background: 
    linear-gradient(to bottom, 
      transparent 0%, 
      var(--bg-alt) 10%, 
      var(--bg-alt) 90%, 
      transparent 100%);
}

.section-head{
  margin-bottom: 30px;
}

.section-head.center{
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.03em;
}

.section-head p{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* =========================
   About (centered, no boxes)
========================= */
#about .container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about .about-copy{
  width: 100%;
  max-width: 82ch;
  text-align: center;
}

#about .about-copy p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

#about .about-copy p:last-child{
  margin-bottom: 0;
}

/* =========================
   Hero
========================= */
.hero{
  min-height: 100vh;
  padding-top: 54px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 18% -12%, rgba(50,50,50,.20), transparent 46%),
    radial-gradient(circle at 85% -12%, rgba(30,30,30,.18), transparent 46%),
    radial-gradient(circle at 60% 18%, rgba(40,40,40,.16), transparent 55%);
}

.hero-grid{
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-copy{
  text-align: left;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 56ch;
  transform: translateY(-90px);
}

/* Allow hero container to be wider for larger hero image */
.hero .container{
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* Mobile/tablet: use normal container padding so content isn't edge-to-edge */
@media (max-width: 979.98px){
  .hero .container{
    width: min(var(--max), calc(100% - 48px));
    max-width: var(--max);
    padding-left: 0;
    padding-right: 0;
  }

  .hero-copy{
    text-align: center;
    transform: translateY(-24px);
  }
}

@media (min-width: 980px){
  .hero-grid{ grid-template-columns: 1fr 1.2fr; }
}

.eyebrow{
  margin: 0 0 14px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(11,15,25,.62);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(11,15,25,.10);
  padding: 8px 12px;
  border-radius: 999px;
  animation: fadeInDown 2s ease-out;
}

.hero-title{
  margin: 0 0 12px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  animation: fadeInDown 2.2s ease-out 0.3s both;
}

.hero-accent{
  color: rgba(11,15,25,.92);
}

.hero-sub{
  margin: 0;
  font-size: 18px;
  color: rgba(11,15,25,.68);
  max-width: 62ch;
  animation: fadeInDown 2.2s ease-out 0.6s both;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.btn.primary{
  background: rgba(11,15,25,.92);
  color: #fff;
  border-color: rgba(11,15,25,.92);
}

.btn.ghost{
  background: rgba(255,255,255,.7);
}

.hero-metrics{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  border-radius: 16px;
  padding: 12px;
}

.metric-kpi{
  font-weight: 900;
  letter-spacing: -0.02em;
}

.metric-label{
  font-size: 12px;
  color: rgba(11,15,25,.58);
  font-weight: 700;
}

/* Hero visual */
.hero-visual{
  border-radius: 22px;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: hidden;
  animation: fadeIn 2.5s ease-out 0.3s both;
}

.hero-img{
  width: 100%;
  max-width: 1500px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  object-fit: cover;
  animation: fadeIn 2.5s ease-out;
}

.visual-top{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(11,15,25,.08);
}

.visual-top .dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(11,15,25,.18);
}

.visual-title{
  margin-left: 8px;
  font-weight: 800;
  font-size: 13px;
  color: rgba(11,15,25,.70);
}

.visual-body{
  padding: 16px;
  display: grid;
  gap: 12px;
}

.visual-stat{
  display: grid;
  gap: 4px;
  border: 1px solid rgba(11,15,25,.08);
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  box-shadow: none;
  overflow: visible;
  animation: fadeInUp 0.8s ease-out 0.1s both;
  width: 100%;
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
}

.visual-stat .v{ font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.visual-stat .d{ font-size: 12px; color: rgba(11,15,25,.55); font-weight: 700; }

.visual-chart{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  align-items: end;
  margin-top: 4px;
  width: 100%;
  max-width: 1350px;
  margin-left: auto;
  margin-right: auto;
}

.visual-chart span{
  height: 26px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(50,50,50,.55), rgba(40,40,40,.42));
}

.visual-chart span:nth-child(2){ height: 14px; }
.visual-chart span:nth-child(3){ height: 20px; }
.visual-chart span:nth-child(4){ height: 10px; }
.visual-chart span:nth-child(5){ height: 18px; }
.visual-chart span:nth-child(6){ height: 30px; }
.visual-chart span:nth-child(7){ height: 16px; }
.visual-chart span:nth-child(8){ height: 22px; }
.visual-chart span:nth-child(9){ height: 12px; }
.visual-chart span:nth-child(10){ height: 26px; }
.visual-chart span:nth-child(11){ height: 18px; }
.visual-chart span:nth-child(12){ height: 24px; }

.visual-note{
  margin: 0;
  font-size: 12px;
  color: rgba(11,15,25,.55);
}

/* =========================
   Product split
========================= */
.split{
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 980px){
  .split{ grid-template-columns: 1fr 1fr; }
}

.split-block{
  background: #fff;
  border: 1px solid rgba(11,15,25,.08);
  border-radius: 20px;
  padding: 18px;
}

.split-block.subtle{
  background:
    radial-gradient(circle at 20% 20%, rgba(50,50,50,.16), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(40,40,40,.14), transparent 60%),
    #fff;
}

.split-block h3{
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

/* Product: damage pills (like reference) */
#product .damage-grid{
  --damage-gap: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--damage-gap);
  max-width: 1140px;
  margin: 34px auto 0;
  padding: 0 12px;
}

.damage-item{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  min-height: 70px;
  flex: 0 0 calc((100% - (var(--damage-gap) * 3)) / 4);
  width: calc((100% - (var(--damage-gap) * 3)) / 4);
  min-width: 0;
  background: rgba(255,255,255,.65);
  border: 2px solid rgba(11,15,25,.07);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(11,15,25,.06);
}

@media (max-width: 1024px){
  .damage-item{ flex-basis: calc((100% - (var(--damage-gap) * 2)) / 3); width: calc((100% - (var(--damage-gap) * 2)) / 3); }
}

@media (max-width: 720px){
  .damage-item{ flex-basis: calc((100% - var(--damage-gap)) / 2); width: calc((100% - var(--damage-gap)) / 2); }
}

@media (max-width: 560px){
  #product .damage-grid{ --damage-gap: 14px; }
  .damage-item{ flex-basis: 100%; width: 100%; }
}

.damage-icon{
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 50px;
}

.damage-icon img{
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
}

.damage-label{
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(11,15,25,.78);
}

.checklist{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.checklist li{
  padding-left: 26px;
  position: relative;
  font-weight: 650;
  color: rgba(11,15,25,.84);
}

.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(11,15,25,.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.mini-metrics{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini{
  border: 1px solid rgba(11,15,25,.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.86);
}

.mini-kpi{ font-weight: 900; letter-spacing: -0.02em; }
.mini-lbl{ font-size: 12px; color: rgba(11,15,25,.55); font-weight: 700; margin-top: 4px; }

/* =========================
   How it works (screenshot-style)
========================= */
.section.how{
  background: var(--bg);
}

.how-tabs{
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.how-tab{
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 6px;
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: rgba(11,15,25,.48);
  position: relative;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 720px){
  .how-tab{ font-size: 14px; }
}

.how-tab::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: rgba(11,15,25,.88);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.how-tab.is-active{
  color: rgba(11,15,25,.70);
}

.how-tab.is-active::after{
  transform: scaleX(1);
}

.how-shell{
  margin: 34px auto 0;
  max-width: 1080px;
  padding: 34px;
  border-radius: 26px;
  background: #2d3032;
  box-shadow: 0 26px 70px rgba(11,15,25,.16);
}

.how-panel[hidden]{
  display: none;
}

.how-inner{
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 28px;
  align-items: center;
}

.how-text{
  padding: 8px 4px;
  max-width: 46ch;
}

/* Tab 2 copy is longer; allow a wider measure to avoid extra wrapping */
#how-panel-reports .how-text{
  max-width: 60ch;
}

.how-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f4cc66;
  color: rgba(11,15,25,.92);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.how-icon svg{
  width: 22px;
  height: 22px;
}

.how-text h3{
  margin: 0 0 10px;
  font-size: clamp(22px, 1.7vw, 26px);
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.98);
}

.how-text p{
  margin: 0;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  color: rgba(255,255,255,.56);
}

.how-frame{
  border-radius: 18px;
  background: #fff;
  padding: 0;
  height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}



.how-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tab 2: shift image up so bottom content stays visible */
#how-panel-reports .how-frame img{
  transform-origin: right center;
  object-position: 50% 88%;
  transform: translateX(6%) translateY(-5%) scale(0.90);
}

.how-dashboard{
  padding: 0;
}

.how-stats{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 100%;
  align-content: stretch;
}

.how-stat{
  border-radius: 14px;
  background: #fff;
  border: 2px solid rgba(11,15,25,.12);
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
  box-shadow: 0 10px 22px rgba(11,15,25,.06);
}

.how-stat img{
  width: 100%;
  height: 82px;
  display: block;
  object-fit: contain;
}

.how-stat-top{
  display: grid;
  gap: 2px;
}

.how-stat-kpi{
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(11,15,25,.92);
}

.how-stat-lbl,
.how-stat-title{
  font-size: 13px;
  color: rgba(11,15,25,.60);
  font-weight: 650;
}

/* Third tab: make dashboard visuals more compact */
#how-panel-track .how-frame{
  height: 360px;
  padding: 18px;
  align-items: stretch;
  justify-items: stretch;
}

/* Third tab: 2x2 dashboard cards like screenshot */
#how-panel-track .how-stats{
  gap: 14px;
}

/* With 3 cards total: center the last one on its own row */
#how-panel-track .how-stat:last-child{
  grid-column: 1 / -1;
  justify-self: center;
  width: min(320px, calc((100% - 14px) / 2));
  padding: 12px;
}

#how-panel-track .how-stat:last-child img{
  height: 72px;
}

#how-panel-track .how-stat{
  grid-template-columns: 1fr;
}

/* Top row: icon/mini-chart sits to the right of the text */
#how-panel-track .how-stats .how-stat:nth-child(-n+2){
  grid-template-columns: 1fr auto;
  align-items: center;
}

#how-panel-track .how-stats .how-stat:nth-child(-n+2) .how-stat-top{
  align-self: center;
}

#how-panel-track .how-stats .how-stat:nth-child(-n+2) img{
  width: 92px;
  height: 62px;
  justify-self: end;
}

/* Bottom row: charts below text */
#how-panel-track .how-stats .how-stat:nth-child(n+3) img{
  height: 92px;
}

@media (max-width: 920px){
  .how-tabs{ gap: 18px; }
  .how-shell{ padding: 22px; }
  .how-inner{ grid-template-columns: 1fr; }
  .how-text{ max-width: none; }
  .how-frame{ height: 280px; }

  /* Keep 3rd tab panel same height as others on smaller screens */
  #how-panel-track .how-frame{ height: 280px; padding: 14px; }

  #how-panel-reports .how-frame img{ object-position: 50% 92%; transform-origin: right center; transform: translateX(5%) translateY(-5%) scale(0.92); }
}

@media (max-width: 560px){
  .how-tabs{
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .how-tab{
    font-size: 14px;
    padding: 12px 12px;
    min-height: 48px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Tab 2 (mobile): show more bottom content */
  #how-panel-reports .how-frame img{
    object-position: 50% 94%;
    transform-origin: right center;
    transform: translateX(4.5%) translateY(-3.5%) scale(0.94);
  }
}

/* =========================
   About wide card
========================= */
.wide-card{
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  border: 1px solid rgba(11,15,25,.08);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
}

@media (min-width: 980px){
  .wide-card{ grid-template-columns: 1.1fr .9fr; align-items: center; }
}

.wide-text h3{
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.inline-tags{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag{
  font-size: 12px;
  font-weight: 900;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,15,25,.10);
  background: rgba(247,247,249,.9);
  color: rgba(11,15,25,.78);
}

.wide-media{
  height: 260px;
  border-radius: 20px;
  border: 1px solid rgba(11,15,25,.10);
  background:
    linear-gradient(135deg, rgba(11,15,25,.04), rgba(11,15,25,.00)),
    radial-gradient(circle at 30% 30%, rgba(50,50,50,.22), transparent 56%);
}

/* =========================
   Partners
========================= */
#partners .container{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#partners .partners-grid{
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 980px){
  #partners .partners-grid{ grid-template-columns: 320px 1fr; }
}

#partners .partners-logo{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -6px;
}

@media (min-width: 980px){
  #partners .partners-logo{
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: -24px;
  }
}

#partners .partners-logo img{
  width: min(320px, 100%);
  height: auto;
  display: block;
  border-radius: 24px;
}

#partners .partners-copy{
  width: 100%;
  max-width: 82ch;
  text-align: left;
}

#partners .partners-copy p{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

#partners .partners-copy p:last-of-type{
  margin-bottom: 0;
}

#partners .about-actions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

@media (min-width: 980px){
  #partners .about-actions{ justify-content: flex-start; }
}

/* =========================
   Further reading (carousel)
========================= */
.section.reading{
  /* Use the same full-viewport section behavior as other sections */
  min-height: 100vh;
  padding: 72px 0;
  display: flex;
  align-items: center;
}

.reading-shell{
  margin-top: 24px;
}

.reading-track{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reading-track:focus{
  outline: none;
}

.reading-track:focus-visible{
  outline: 3px solid rgba(11,15,25,.22);
  outline-offset: 6px;
  border-radius: 16px;
}

.reading-track::-webkit-scrollbar{ display: none; }
.reading-track{ scrollbar-width: none; }

.reading-card{
  flex: 0 0 auto;
  width: min(320px, 84vw);
  border-radius: 18px;
  border: 0;
  background: transparent;
  overflow: visible;
  scroll-snap-align: start;
  box-shadow: none;
  transition: transform .18s ease;
}

.reading-card:hover{
  transform: translateY(-2px);
  opacity: 1;
}

.reading-card:focus-visible{
  outline: 3px solid rgba(11,15,25,.20);
  outline-offset: 4px;
}

.reading-img{
  height: 190px;
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
}

.reading-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reading-body{
  padding: 14px 2px 0;
}

.reading-title{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(11,15,25,.92);
}

.reading-card:hover .reading-title{
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.reading-excerpt{
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(11,15,25,.58);
}

.reading-progress{
  width: min(920px, 100%);
  height: 8px;
  border-radius: 999px;
  background: rgba(11,15,25,.16);
  margin: 14px auto 0;
  overflow: hidden;
}

.reading-progress-bar{
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: rgba(11,15,25,.86);
  transform: scaleX(0);
}

@media (max-width: 560px){
  .section.reading{ padding: 64px 0; }
  .reading-img{ height: 170px; }
  .reading-title{ font-size: 17px; }
}

.logos-row{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.logo-chip{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,15,25,.10);
  background: #fff;
  font-weight: 850;
  color: rgba(11,15,25,.62);
}

/* =========================
   Articles slider (8 cards + progress bar)
========================= */
.articles{
  margin-top: 10px;
}

.articles-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 6px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.articles-track::-webkit-scrollbar{ height: 10px; }
.articles-track::-webkit-scrollbar-track{ background: transparent; }
.articles-track::-webkit-scrollbar-thumb{
  background: rgba(11,15,25,.18);
  border-radius: 999px;
}

.article-card{
  scroll-snap-align: start;
  border: 1px solid rgba(11,15,25,.10);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(11,15,25,.06);
}

.article-img{
  height: 170px;
  background:
    linear-gradient(135deg, rgba(50,50,50,.25), rgba(40,40,40,.22)),
    radial-gradient(circle at 35% 25%, rgba(45,45,45,.22), transparent 55%);
}

.article-title{
  margin: 14px 14px 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.article-desc{
  margin: 0 14px 12px;
  color: rgba(11,15,25,.62);
  font-size: 14px;
}

.article-link{
  display: inline-block;
  margin: 0 14px 14px;
  font-weight: 900;
  color: rgba(11,15,25,.84);
}

.sliderbar{
  margin: 12px auto 0;
  width: min(720px, 100%);
  height: 6px;
  border-radius: 999px;
  background: rgba(11,15,25,.10);
  overflow: hidden;
}

.sliderbar-fill{
  height: 100%;
  width: 18%;
  border-radius: 999px;
  background: rgba(11,15,25,.82);
}

/* =========================
   FAQ layout (matches screenshot style)
========================= */

.faq-label{
  display: block;
  text-align: left;
  justify-self: start;
}

.faq-section{
  background: #fff;
  /* Prevent "twitch" when accordion expands inside vertically-centered .section */
  align-items: flex-start;
  overflow-anchor: none;
}

.faq-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  margin-top: 26px;
  width: 100%;
}

@media (min-width: 980px){
  .faq-grid{
    grid-template-columns: 1fr 1fr;
    gap: 68px;
  }
}

.faq-col{
  display: flex;
  flex-direction: column;
}

.faq-item{
  border-bottom: 0;
  padding: 22px 0;
}

.faq-q{
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: rgba(11,15,25,.82);
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  column-gap: 18px;
  padding: 0;
}

/* Left / right column text alignment (matches the reference layout) */
.faq-col:last-child .faq-q{
  text-align: left;
}

.faq-col:last-child .faq-label{
  text-align: left;
  justify-self: start;
}

.faq-q:hover{ color: rgba(11,15,25,.94); }

.faq-plus{
  font-size: 22px;
  color: rgba(11,15,25,.40);
  line-height: 1;
  flex: 0 0 auto;
  justify-self: end;
}

.faq-a{
  margin-top: 0;
  color: rgba(11,15,25,.62);
  font-size: 14px;
  line-height: 1.7;
  padding-right: 34px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-2px);
  transition:
    max-height 360ms ease,
    opacity 220ms ease,
    transform 360ms ease,
    margin-top 360ms ease;
}

.faq-col:last-child .faq-a{
  text-align: left;
}

.faq-item.is-open .faq-a{
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Video
========================= */
.video-section{ min-height: auto; }

.video-embed{
  width: min(960px, 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(11,15,25,.10);
  box-shadow: 0 10px 26px rgba(11,15,25,.06);
}

.video-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================
   Contacts (replicate layout + form)
========================= */
.contacts-top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
  text-align: center;
}

.contacts-col h3{
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.contacts-col p{
  margin: 8px 0;
  color: rgba(11,15,25,.70);
  font-weight: 600;
}

@media (min-width: 980px){
  .contacts-top{
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    gap: 24px;
  }
}

.contacts-bottom{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.map{
  width: min(980px, 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(11,15,25,.10);
  box-shadow: 0 10px 26px rgba(11,15,25,.06);
  min-height: 420px;
}

.map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 420px;
}

.instant-form{
  border-radius: 18px;
  border: 1px solid rgba(11,15,25,.10);
  background: #fff;
  box-shadow: 0 10px 26px rgba(11,15,25,.06);
  padding: 18px;
}

.instant-form h3{
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.form{
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

label span{
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: rgba(11,15,25,.62);
  margin-bottom: 7px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

input, textarea{
  width: 100%;
  border: 1px solid rgba(11,15,25,.14);
  border-radius: 14px;
  padding: 12px 12px;
  font: inherit;
  outline: none;
  background: #fff;
}

input:focus, textarea:focus{
  border-color: rgba(11,15,25,.36);
  box-shadow: 0 0 0 4px rgba(50,50,50,.18);
}

/* =========================
   Footer
========================= */
.footer{
  padding: 44px 0 24px;
  background: #fff;
}

.footer-inner{ display: grid; gap: 18px; }

.footer-cols{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 980px){
  .footer-cols{ grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.footer-cols a{
  display: block;
  padding: 6px 0;
  font-weight: 700;
  color: rgba(11,15,25,.68);
}

.footer-bar{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 0;
  color: rgba(11,15,25,.62);
  font-weight: 700;
}

.powered{
  color: rgba(11,15,25,.62);
}

/* Small screens tweaks */
@media (max-width: 560px){
  .container{ width: calc(100% - 28px); }
  .section{ padding: 56px 0; }
  .hero{ padding-top: 28px; }
  .hero .container{ width: calc(100% - 28px); }
  .hero-copy{ transform: translateY(-12px); }
  .nav-inner{ grid-template-columns: 1fr auto; }
  .nav{ display: none; }
  .nav-actions{ gap: 10px; }
  .nav-ghost, .nav-cta{ display: none; }
  .articles-track{ grid-auto-columns: 86vw; }
  .slide-media{ height: 300px; }
}