/* ── FONT ── */
@font-face {
  font-family: 'Yekan';
  src: url('/assets/fonts/Yekan.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ── COLOR SCHEME ──
   header teal:   #009786
   accent teal:   #16BBA0
   teal hover:    #119A84
   text-col teal: #00a693
   dark heading:  #2D2D2D
   body text:     #4A4A4A
   muted:         #A8A8A8
   divider:       #E5E5E5
   footer brand:  #007063
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Yekan', Tahoma, sans-serif;
}

.page {
  min-height: 100vh;
  background: #ffffff;
  text-align: right;
  font-size: 1.25rem;
}

/* ===================== HEADER ===================== */
.site-header {
  width: 100%;
  background: #009786;
}

.header-inner {
  margin: 0 auto;
  max-width: 72rem;
  display: flex;
  align-items: center;
  padding: 1rem;
}

.header-logo {
  height: 1.75rem;
  width: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 0.5rem;
  border-radius: 0.75rem;
  margin-top: 5px;
}

.header-title {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

/* ===================== MAIN ===================== */
.main {
  margin: 4rem auto 0;
  max-width: 80rem;
  padding: 2rem 1rem;
}

.layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .layout {
    flex-direction: row-reverse;
    gap: 4.5rem;
  }
}

/* ----- ILLUSTRATION COLUMN ----- */
.illustration-col {
  order: -1;
  width: 100%;
}

@media (min-width: 1024px) {
  .illustration-col {
    order: 0;
    width: 26rem;
    flex-shrink: 0;
  }
}

.illustration-sticky {
  padding-top: 5rem;
}

@media (min-width: 1024px) {
  .illustration-sticky {
    position: sticky;
    top: 2rem;
  }
}

.illustration-img {
  margin: 0 auto;
  width: 100%;
  max-width: 20rem;
  display: block;
}

@media (min-width: 1024px) {
  .illustration-img {
    max-width: none;
  }
}

/* ----- TEXT COLUMN ----- */
.text-col {
  flex: 1;
  line-height: 2;
  color: #00a693;
}

.page-title {
  margin-bottom: 0.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #6b7280;
}

/* ===================== SECTIONS ===================== */
.section {
  margin-top: 2.5rem;
}

.section-title {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #2d2d2d;
}

.subheading {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d2d2d;
}

.para,
.term {
  margin-bottom: 1rem;
}

.term-label,
.note-label {
  font-weight: 700;
  color: #2d2d2d;
}

/* ===================== LISTS ===================== */
.bullet-list {
  margin-bottom: 1rem;
  list-style: disc;
  padding-right: 1.25rem;
}

.bullet-list li {
  margin-bottom: 0.5rem;
}

.bullet-list li::marker {
  color: #16bba0;
}

/* ===================== LINKS / ACCENTS ===================== */
.accent {
  color: #16bba0;
}

.link {
  color: #16bba0;
  text-decoration: none;
}

.link:hover {
  color: #119a84;
}

/* ===================== FOOTER ===================== */
.footer {
  margin: 0 auto;
  max-width: 72rem;
  padding: 1.5rem 1rem 2.5rem;
}

.footer-divider-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.divider-line {
  height: 1px;
  flex: 1;
  background: #e5e5e5;
}

.footer-brand {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  text-decoration: none;
}

.footer-logo {
  height: 1.75rem;
  width: auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
}

.footer-brand-text {
  color: #007063;
  font-weight: 600;
  font-size: 1.5rem;
}

.footer-social {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #4a4a4a;
  flex-wrap: wrap;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: #fff;
  border-radius: 16px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transition: .25s ease;
  min-width: 180px;
  justify-content: center;
}

.social-btn img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.social-btn.bale:hover {
  background: #10b981;
  color: #fff;
}

.social-btn.rubika:hover {
  background: #1d4ed8;
  color: #fff;
}

.social-icon {
  height: 1.25rem;
  width: 1.25rem;
}

/* ===================== MOBILE RESPONSIVE ===================== */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .page {
    font-size: 1rem;
  }

  .header-inner {
    padding: 0.75rem;
  }

  .header-logo {
    height: 1.5rem;
  }

  .header-title {
    font-size: 1.25rem;
  }

  .main {
    margin: 2rem auto 0;
    padding: 1rem 0.75rem;
  }

  .illustration-sticky {
    padding-top: 2rem;
  }

  .illustration-img {
    max-width: 16rem;
  }

  .page-title {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .section {
    margin-top: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .subheading {
    font-size: 1.125rem;
    margin: 1.25rem 0 0.5rem;
  }

  .para,
  .term {
    line-height: 1.8;
  }

  .bullet-list {
    padding-right: 1rem;
  }

  .footer {
    padding: 1rem 0.75rem 2rem;
  }

  .footer-logo {
    height: 1.5rem;
  }

  .footer-brand-text {
    font-size: 1.25rem;
  }

  .social-btn {
    min-width: 140px;
    padding: 12px 18px;
    gap: 8px;
  }

  .social-btn img {
    width: 28px;
    height: 28px;
  }

  .social-btn span {
    font-size: 0.9rem;
  }
}

/* ===================== TABLET RESPONSIVE ===================== */
@media (min-width: 481px) and (max-width: 768px) {
  .page {
    font-size: 1.125rem;
  }

  .main {
    padding: 1.5rem 1rem;
  }

  .illustration-img {
    max-width: 18rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* ===================== DESKTOP RESPONSIVE ===================== */
@media (min-width: 640px) {
  .header-logo,
  .footer-logo {
    height: 2rem;
  }

  .page-title,
  .section-title {
    font-size: 2.25rem;
  }

  .main {
    padding: 2.5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .main {
    padding: 3rem 2rem;
  }
}

/* ===================== LANDSCAPE MOBILE ===================== */
@media (max-width: 768px) and (orientation: landscape) {
  .illustration-sticky {
    padding-top: 1rem;
  }

  .illustration-img {
    max-width: 14rem;
  }

  .main {
    margin: 1rem auto 0;
  }
}

/* ===================== PRINT RESPONSIVE ===================== */
@media print {
  .illustration-col {
    display: none;
  }

  .page {
    font-size: 12pt;
  }

  .header-inner,
  .footer {
    display: none;
  }
}
