/* ==========================================================================
   Raga Training Institute — SAP FICO Training
   Design system v2: light/light alternating palette (trust-blue + growth-green),
   fully curved shape language, no square corners.
   ========================================================================== */

:root{
  /* -- ink / text -- */
  --ink:        #101A26;
  --slate:      #5B6B72;
  --line:       rgba(16,26,38,0.09);

  /* -- section backgrounds (both light — alternated for rhythm) -- */
  --blue-bg:    #E9F2F8;   /* trust / calm */
  --green-bg:   #EAF3EC;   /* growth / progress */
  --footer-bg:  #F2F4F1;
  --card:       #FFFFFF;

  /* -- accents -- */
  --green:      #1E7A56;
  --green-deep: #155C41;
  --green-soft: #E3F1EA;
  --blue:       #2568A0;
  --blue-deep:  #1C5480;
  --blue-soft:  #E4EFF7;
  --rust:       #9C3E2E;
  --rust-soft:  #F6E9E5;

  /* -- type -- */
  --font-display: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* -- layout -- */
  --wrap: 1160px;
  --header-h: 78px;

  /* -- radii: curves everywhere, no square corners -- */
  --radius-xl: 28px;   /* hero/large cards */
  --radius-lg: 20px;   /* accordion rows, medium cards */
  --radius-md: 14px;   /* small elements */
  --pill: 999px;       /* buttons, chips, badges */
}

/* ---------------------------------- reset --------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body, h1, h2, h3, p, ul, figure{ margin: 0; }
ul{ padding: 0; list-style: none; }
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
iframe{ border: 0; }

body{
  font-family: var(--font-body);
  background: var(--blue-bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.skip-link{
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--pill);
  z-index: 1000;
  transition: top .2s ease;
  font-family: var(--font-mono);
  font-size: 14px;
}
.skip-link:focus{ top: 12px; }

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

.wrap{
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --------------------------------- sections -------------------------------- */
.section{ padding-block: clamp(56px, 8vw, 108px); }
.section--blue{ background: var(--blue-bg); }
.section--green{ background: var(--green-bg); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rust);
}

.section-title{
  font-size: clamp(28px, 3.4vw, 40px);
  max-width: 20ch;
  margin-bottom: 14px;
  color: var(--ink);
}

.section-sub{
  font-size: 17px;
  color: var(--slate);
  max-width: 58ch;
  margin-bottom: 8px;
}

.section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ---------------------------------- buttons -------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 16px 28px;
  border-radius: var(--pill);
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn--primary{
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(30,122,86,0.55);
}
.btn--primary:hover{ background: var(--green-deep); transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(21,92,65,0.55); }
.btn--ghost{
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: 0 2px 10px -4px rgba(16,26,38,0.12);
}
.btn--ghost:hover{ border-color: var(--ink); transform: translateY(-1px); }
.btn--sm{ padding: 11px 20px; font-size: 13px; }
.btn--lg{ padding: 18px 32px; font-size: 15px; }
.btn--block{ width: 100%; justify-content: center; }
.btn-arrow{ width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn--tiny{
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 9px 16px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
}
.btn--tiny-ghost{
  background: var(--card);
  border: 1.3px solid var(--line);
  color: var(--ink);
}
.acc-controls{ display: flex; gap: 10px; }

/* ---------------------------------- header --------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled{
  background: rgba(255,255,255,0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(16,26,38,0.3);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.brand{ display: flex; align-items: center; gap: 12px; }
.brand-mark{ width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.25; }
.brand-name{ font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); }
.brand-sub{ font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }

.main-nav{ display: none; align-items: center; gap: 28px; }
.nav-link{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--slate);
  position: relative;
  padding-block: 6px;
  transition: color .18s ease;
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  border-radius: var(--pill);
  background: var(--green);
  transition: right .22s ease;
}
.nav-link:hover, .nav-link.is-active{ color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after{ right: 0; }

.header-actions{ display: flex; align-items: center; gap: 14px; }

.nav-toggle{
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 96;
}
.nav-toggle-bar{
  width: 100%;
  height: 2px;
  border-radius: var(--pill);
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-scrim{
  position: fixed; inset: 0;
  background: rgba(16,26,38,0.35);
  backdrop-filter: blur(2px);
  z-index: 80;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.nav-scrim.is-visible{ opacity: 1; visibility: visible; }

.progress-rail{ position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110; background: transparent; }
.progress-fill{ height: 100%; width: 0%; background: linear-gradient(90deg, var(--rust), var(--green)); border-radius: var(--pill); transition: width .1s linear; }

@media (max-width: 899px){
  .main-nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding-inline: 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 95;
    border-radius: 28px 0 0 28px;
    box-shadow: -20px 0 60px -20px rgba(16,26,38,0.35);
  }
  .main-nav.is-open{ transform: translateX(0); display: flex; }
  .main-nav .nav-link{ font-size: 18px; color: var(--ink); }
  .header-actions .btn--sm{ display: none; }
}
@media (min-width: 900px){
  .main-nav{ display: flex; }
  .nav-toggle{ display: none; }
}

/* ----------------------------------- hero ---------------------------------- */
.hero{
  background: var(--blue-bg);
  padding-block: clamp(52px, 9vw, 96px) clamp(64px, 10vw, 116px);
  position: relative;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  gap: 48px;
  align-items: start;
  position: relative;
}
.hero-copy h1{
  font-size: clamp(34px, 5vw, 56px);
  max-width: 15ch;
  margin-bottom: 22px;
  color: var(--ink);
}
.hero-lede{
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--slate);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.ledger-label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin-bottom: 10px;
}
.ledger-card{
  background: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(16,26,38,0.28);
}
.ledger-head{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--slate);
}
.ledger-body{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ledger-col{ padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.ledger-col--dr{ border-right: 1px dashed var(--line); }
.ledger-col li{
  font-size: 13.6px;
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
  color: var(--ink);
}
.ledger-col--dr li::before{
  content: "\2013";
  position: absolute; left: 0; top: 0;
  color: var(--rust);
}
.ledger-col--cr li::before{
  content: "+";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-family: var(--font-mono);
}
.ledger-total{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-top: 3px double var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
}
.ledger-total span:first-child{ color: var(--rust); }
.ledger-total span:last-child{ color: var(--green); }

/* hero key-highlights strip, attached under the ledger card */
.hero-highlights{
  margin-top: 18px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 20px 44px -26px rgba(16,26,38,0.22);
}
.hero-highlights-label{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}
.hero-highlight-chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.hero-highlight-chips li{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px 8px 10px;
  border-radius: var(--pill);
  background: var(--green-soft);
  color: var(--green-deep);
}
.hero-highlight-chips li span.dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.hero-highlight-chips li:nth-child(2n){ background: var(--blue-soft); color: var(--blue-deep); }
.hero-highlight-chips li:nth-child(2n) span.dot{ background: var(--blue); }

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

/* ------------------------------------ stats --------------------------------- */
.stats-section{ padding-block: clamp(48px, 6vw, 72px); }
.stat-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat{
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 16px 36px -26px rgba(16,26,38,0.2);
}
.stat-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.stat-label{ font-size: 13.5px; color: var(--slate); max-width: 22ch; }
@media (min-width: 700px){ .stat-grid{ grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------ value cards ---------------------------- */
.value-grid{
  display: grid;
  gap: 20px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}
.value-card{
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  box-shadow: 0 18px 40px -28px rgba(16,26,38,0.22);
}
.value-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-soft);
  margin-bottom: 18px;
}
.value-card:nth-child(2n) .value-icon{ background: var(--blue-soft); }
.value-icon svg{
  width: 22px; height: 22px;
  stroke: var(--green-deep);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.value-card:nth-child(2n) .value-icon svg{ stroke: var(--blue-deep); }
.value-card h3{ font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.value-card p{ font-size: 14.5px; color: var(--slate); line-height: 1.55; }

@media (min-width: 700px){ .value-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px){ .value-grid{ grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------ accordion (curriculum + faq) ----------- */
.accordion--intro{ margin-bottom: 28px; }
.curriculum-group{ margin-bottom: 28px; }
.curriculum-group:last-child{ margin-bottom: 0; }
.curriculum-group-label{
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 14px;
  padding-left: 4px;
}
.accordion{ display: flex; flex-direction: column; gap: 12px; }
.acc-item{
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 22px -16px rgba(16,26,38,0.18);
}
.acc-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  text-align: left;
}
.acc-num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--rust);
  min-width: 26px;
}
.acc-title{ font-family: var(--font-display); font-size: 17px; font-weight: 600; flex: 1; color: var(--ink); }
.acc-title em{ font-style: normal; color: var(--slate); font-family: var(--font-body); font-weight: 400; font-size: 15px; margin-left: 4px; }
.acc-badge{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--green-deep);
  background: var(--green-soft);
  padding: 6px 12px;
  border-radius: var(--pill);
  white-space: nowrap;
}
.acc-badge--muted{ color: var(--blue-deep); background: var(--blue-soft); }
.acc-chevron{
  width: 18px; height: 18px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .28s ease;
  flex-shrink: 0;
}
.acc-trigger[aria-expanded="true"] .acc-chevron{ transform: rotate(180deg); }

.acc-panel-wrap{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}
.acc-panel-wrap.is-open{ grid-template-rows: 1fr; }
.acc-panel-inner{ overflow: hidden; }
.acc-panel-inner > *{ padding: 0 22px 24px 64px; }

.topic-list{ display: grid; gap: 10px 24px; }
.topic-list li{
  font-size: 14.5px;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
  opacity: 0.82;
}
.topic-list li::before{
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
}
.topic-note{ font-size: 15px; color: var(--slate); max-width: 60ch; }

.accordion--faq .acc-panel-inner > *{ padding-left: 22px; }
.accordion--faq .acc-title{ font-size: 16px; }

@media (min-width: 640px){
  .topic-list--cols2{ grid-template-columns: repeat(2, 1fr); }
  .topic-list--cols3{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px){
  .topic-list--cols3{ grid-template-columns: repeat(3, 1fr); }
}

/* ------------------------------------ chip cloud (real-time) ----------------- */
.chip-cloud{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.chip-cloud li{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 11px 18px;
  background: var(--card);
  border-radius: var(--pill);
  color: var(--ink);
  box-shadow: 0 6px 16px -12px rgba(16,26,38,0.25);
  transition: box-shadow .18s ease, transform .18s ease, color .18s ease;
}
.chip-cloud li:hover{
  color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -12px rgba(16,26,38,0.3);
}

/* ------------------------------------ feature grid (s4hana) ------------------ */
.feature-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 36px;
}
.feature-item{
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 17px 20px;
  font-size: 15px;
  color: var(--ink);
  box-shadow: 0 10px 24px -18px rgba(16,26,38,0.2);
}
.feature-dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
@media (min-width: 640px){ .feature-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px){ .feature-grid{ grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------ highlight cards ------------------------ */
.highlight-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}
.highlight-card{
  padding: 28px 26px;
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: 0 18px 40px -28px rgba(16,26,38,0.22);
}
.highlight-card .value-icon{ background: var(--blue-soft); }
.highlight-card .value-icon svg{ stroke: var(--blue-deep); }
.highlight-card:nth-child(2n) .value-icon{ background: var(--green-soft); }
.highlight-card:nth-child(2n) .value-icon svg{ stroke: var(--green-deep); }
.highlight-card h3{ font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.highlight-card p{ font-size: 14.5px; color: var(--slate); }
@media (min-width: 700px){ .highlight-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px){ .highlight-grid{ grid-template-columns: repeat(5, 1fr); } }

/* ------------------------------------ glance ---------------------------------- */
.glance-section{ padding-block: clamp(48px, 6vw, 76px); }
.glance-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.glance-item{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  background: var(--card);
}
.glance-k{ font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rust); flex-shrink: 0; padding-top: 2px; }
.glance-v{ font-size: 15px; text-align: right; max-width: 60%; color: var(--ink); }
@media (min-width: 780px){ .glance-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------ register --------------------------------- */
.register-section{ padding-block: clamp(56px, 8vw, 100px); }
.register-grid{ display: grid; gap: 40px; }
.embed-frame{
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card);
  height: 620px;
  box-shadow: 0 24px 50px -30px rgba(16,26,38,0.28);
}
.embed-frame iframe{ width: 100%; height: 100%; }
.embed-fallback{ font-size: 13px; color: var(--slate); margin-top: 12px; }
.embed-fallback a{ color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 980px){ .register-grid{ grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
@media (max-width: 480px){ .embed-frame{ height: 520px; } }

/* ------------------------------------ footer ------------------------------------ */
.site-footer{ background: var(--footer-bg); color: var(--ink); padding-top: 56px; }
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-brand{ display: flex; gap: 14px; max-width: 420px; }
.footer-name{ font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.footer-tag{ font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.footer-nav{ display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: flex-start; }
.footer-nav a{ font-family: var(--font-mono); font-size: 13px; color: var(--slate); }
.footer-nav a:hover{ color: var(--ink); }
.footer-bottom{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--slate);
}

/* ------------------------------------ floating controls -------------------------- */
.back-to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .18s ease;
  z-index: 70;
  box-shadow: 0 14px 30px -14px rgba(30,122,86,0.55);
}
.back-to-top:hover{ background: var(--green-deep); }
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg{ width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.mobile-cta{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 30px -18px rgba(16,26,38,0.35);
  transform: translateY(100%);
  transition: transform .28s ease;
  z-index: 75;
}
.mobile-cta.is-visible{ transform: translateY(0); }
@media (min-width: 720px){ .mobile-cta{ display: none; } }

/* ------------------------------------ reveal animation ---------------------------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

.ledger-col li{ opacity: 0; transform: translateX(6px); transition: opacity .5s ease, transform .5s ease; }
.ledger-card.is-visible .ledger-col li{ opacity: 1; transform: translateX(0); }
.ledger-card.is-visible .ledger-col--dr li:nth-child(1){ transition-delay: .1s; }
.ledger-card.is-visible .ledger-col--dr li:nth-child(2){ transition-delay: .22s; }
.ledger-card.is-visible .ledger-col--dr li:nth-child(3){ transition-delay: .34s; }
.ledger-card.is-visible .ledger-col--dr li:nth-child(4){ transition-delay: .46s; }
.ledger-card.is-visible .ledger-col--cr li:nth-child(1){ transition-delay: .16s; }
.ledger-card.is-visible .ledger-col--cr li:nth-child(2){ transition-delay: .28s; }
.ledger-card.is-visible .ledger-col--cr li:nth-child(3){ transition-delay: .4s; }
.ledger-card.is-visible .ledger-col--cr li:nth-child(4){ transition-delay: .52s; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  [data-reveal], .ledger-col li{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
