/* =========================================================
   Root Variables
   ========================================================= */
:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --border: #e5e7eb;
  --borderf: #9b9a9a36;
  --text: #0f141b;
  --muted: #292b30;

  --primary: #130bb6;
  --primary-soft: #e9f4fc;

  --radius: 14px;
  --nav-h: 100px;
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.15);

  --slogan-blue: #0716ea;
  --slogan-green: #028f00;
  --slogan-bg: #100e1c;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Inter", sans-serif;
  background: #ffffff;
  color: #1f2937;
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

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

main {
  padding: 0;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 64px 0;
}

@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }
}

/* Headings (baseline) */
h1, h2, h3 {
  margin: 0 0 0.75em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  font-weight: 680;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.4rem;
}

@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.1rem; }
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 10px;
}

/* =========================================================
   Header / Navigation
   ========================================================= */
[hidden] { display: none !important; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.lefts-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: -18px;
}

.menu-btn {
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.05s ease, background 0.2s ease;
}

.menu-btn:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  background: #f9fafb;
}

.menu-btn:active { transform: scale(0.97); }

.menu-btn:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.5);
  outline-offset: 2px;
}

.menu-icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: block;
}

.menu-icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 5px; }
.menu-icon span:nth-child(3) { top: 10px; }

.company {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.site-logo {
  width: auto;
  height: 70px;
  object-fit: contain;
}

.site-title {
  width: auto;
  height: 100px;
  padding: 0;
  object-fit: contain;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { background: #f9fafb; }

.btn:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: rgba(30, 136, 229, 0.4);
}

.btn-primary:hover { background: #1976d2; }

.btn-primary:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Slogan pill */
.slogan { display: inline-flex; align-items: center; }

.slogan-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #e3e7ed99;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 4px 8px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-left: 3px;
  margin-bottom: 12px;
  white-space: nowrap;
}

.slogan-part-blue { color: #18108c; font-weight: 700; }
.slogan-part-green { color: #117d18; font-weight: 700; }
.slogan-part-blue1 { color: #13a7f1; font-weight: 700; }
.slogan-part-green1 { color: #3aed29; font-weight: 700; }

.slogan-mobile-text { display: inline; font-size: 0.95rem; font-weight: 650; }
.slogan-desktop-text { display: none; font-size: 0.95rem; font-weight: 650; }

/* Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: #ffffff;
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(-103%);
  transition: transform 0.25s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  visibility: hidden;
}

.drawer-header {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
}

.drawer-title { font-size: 1rem; font-weight: 800; }

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
}

.drawer-close:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.35);
  outline-offset: 2px;
}

.drawer-body {
  padding: 14px;
  overflow-y: auto;
}

.drawer-nav { display: grid; gap: 8px; }

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  font-weight: 650;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.drawer-link:hover {
  background: #f4f9ff;
  border-color: rgba(30, 136, 229, 0.4);
}

.drawer-link:focus-visible {
  outline: 3px solid rgba(30, 136, 229, 0.35);
  outline-offset: 2px;
}

.drawer-link.active {
  background: var(--primary-soft);
  border-color: rgba(30, 136, 229, 0.6);
}

.drawer-cta {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.drawer-cta p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

html.drawer-open,
html.drawer-open body {
  overflow: hidden;
}

html.drawer-open .drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

html.drawer-open .drawer {
  transform: translateX(0);
  visibility: visible;
}

/* Mobile slogan section */
.slogan-mobile-section {
  display: none;
  text-align: center;
  background: #24242a;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 499px) {
  .slogan { display: none; }

  .slogan-mobile-section {
    display: block;
    padding: 6px;
  }

  .slogan-mobile-section .slogan-pill {
    display: inline;
    background: transparent;
    color: #ffffff;
    border: 0;
    border-radius: 0;
    padding: 12px;
  }
}

/* Header responsive sizing (kept) */
@media (min-width: 768px) {
  .slogan-mobile-text { display: none; }
  .slogan-desktop-text { display: inline; }
}

@media (min-width: 500px) and (max-width: 767px) {
  .site-logo { height: 65px; }
  .slogan-mobile-text { display: none; }
  .slogan-desktop-text { display: inline; font-size: 0.75rem; font-weight: 660; }
}

@media (min-width: 350px) and (max-width: 767px) {
  .topbar { height: 70px; backdrop-filter: blur(12px); }
  .topbar-inner { height: 70px; }
  .menu-btn { width: 38px; height: 48px; }
  .menu-icon { width: 16px; }
  .company { gap: 0; margin: auto; }
  .topbar-actions { gap: 0; }
  .lefts-cluster { gap: 6px; margin-left: 0; }
  .site-title { height: 60px; }
  .site-logo { height: 50px; }
}

@media (max-width: 349px) {
  .topbar { height: 70px; backdrop-filter: blur(12px); }
  .topbar-inner { height: 70px; }
  .menu-btn { width: 28px; height: 48px; }
  .menu-icon { width: 12px; height: 10px; }
  .company { gap: 0; margin: auto; }
  .topbar-actions { gap: 0; }
  .lefts-cluster { gap: 3px; margin-left: 0; }
  .site-title { height: 50px; }
  .site-logo { height: 40px; }
}

@media (min-width: 350px) and (max-width: 782px) {
  .topbar-actions .btn {
    min-height: 30px;
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 10px;
    max-height: 45px;
  }
}

@media (min-width: 500px) and (max-width: 554px) {
  .topbar-actions .btn { max-width: 65px; }
}

@media (min-width: 350px) and (max-width: 499px) {
  .topbar-actions .btn { max-width: 125px; }
}

@media (min-width: 555px) and (max-width: 767px) {
  .topbar-actions .btn { max-width: 125px; }
}

@media (min-width: 768px) and (max-width: 782px) {
  .topbar-actions .btn { font-size: 0.9rem; max-width: 125px; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  position: relative;
  padding: 40px 0 60px;
  background: #ffffff;
  border-top: 1px solid var(--borderf);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
  align-items: center;
  justify-items: center;
}

.footer__center {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  height: auto;
}

.footer__nav {
  display: grid;
  grid-template-columns: auto-fit minmax(100px, 1fr);
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.footer__brand .brand__mark {
  width: auto;
  height: 70px;
  align-items: center;
}

.footer__links {
  display: inline-flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #0c2a54;
  font-size: 18px;
  font-weight: 600;
}

.footer__note {
  text-align: center;
  margin-bottom: 18px;
  color: #040510;
  font-size: 18px;
  font-weight: 550;
}

@media (min-width: 768px) {
  .footer__links { margin-bottom: 30px; }
}

@media (max-width: 767px) {
  .footer__brand .brand__mark { height: 35px; }
  .footer__links { font-size: 14px; gap: 8px; }
  .footer__note { font-size: 14px; }
}

/* =========================================================
   About Page Styles (scoped)
   ========================================================= */

/* About-only tokens */
main {
  --about-primary: #1c1088;
  --about-primary-dark: #0a033d;
  --about-text: #0b0e12;
  --about-text-light: #272c34;
  --about-muted: #454a52;
  --about-bg-light: #eafff190;
  --about-border: #e5e7eb;
  --about-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --about-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --about-radius: 8px;
}

/* Hero */
.about-hero {
  background: #6b7280;
  color: #ffffff;
  padding: 80px 24px;
  margin: 0;
  position: relative;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.about-hero .container {
  text-align: center;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
  line-height: 1.2;
}

.about-hero-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
}

/* CTA button only within hero */
.about-hero .button {
  background: var(--about-primary);
  color: #dce5f7;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--about-radius);
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  border: none;
  cursor: pointer;
}

.about-hero .button:hover {
  background: var(--about-primary);
  transform: translateY(-2px);
  box-shadow: var(--about-shadow-lg);
}

.about-hero-content .button {
  margin-top: 24px;
}

/* About sections (scoped to main) */
main .section {
  padding: 80px 24px;
  background: #e3f2fd;
}

main .section.section-left {
  background: var(--about-bg-light);
}

/* override container center, but only in about content sections */
main .section .container {
  text-align: left;
}

main .section h2 {
  font-size: 2rem;
  font-weight: 640;
  text-align: center;
  margin-bottom: 32px;
  color: var(--about-text);
}

main .section.section-left h2 {
  text-align: left;
}

main .section h3 {
  font-size: 1.25rem;
  font-weight: 620;
  margin-bottom: 12px;
  color: var(--about-muted);
}

main .section p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--about-text-light);
  margin-bottom: 16px;
}

/* Lists */
main .section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

main .section li {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--about-text-light);
  margin-bottom: 12px;
  padding-left: 32px;
  position: relative;
}

main .section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--about-primary);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Cards */
.about-hero-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

.about-card {
  background: #ffffff;
  color: var(--about-text);
  padding: 32px;
  border-radius: var(--about-radius);
  box-shadow: var(--about-shadow);
  border: 1px solid var(--about-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--about-shadow-lg);
  border-color: var(--about-primary);
}

.about-card h3 {
  font-size: 1.15rem;
  font-weight: 610;
  margin-bottom: 12px;
  color: var(--about-text);
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--about-text-light);
  margin: 0;
}

/* About-only links (scoped to main) */
main a {
  color: var(--about-primary);
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

main a:hover {
  color: var(--about-primary-dark);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .about-hero { padding: 60px 16px; }
  .about-hero h1 { font-size: 2rem; }
  .about-hero-text { font-size: 1rem; }

  main .section { padding: 60px 16px; }
  main .section h2 { font-size: 1.8rem; margin-bottom: 24px; }
  main .section.section-left h2 { text-align: center; }
  main .section h3 { font-size: 1.1rem; text-align: center; }
  main .section p { font-size: 0.95rem; }

  .about-hero-cards { gap: 16px; margin-top: 24px; }
  .about-card { padding: 20px 12px; max-width: 82%; margin: 0 auto; }
  .about-card h3 { font-size: 1.1rem; }
  .about-card p { font-size: 0.9rem; }
}

@media (min-width: 768px) {
  .about-hero-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .about-card { padding: 40px; }
}

@media (min-width: 1024px) {
  .about-hero-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* keep your original "mobile hero" breakpoint too */
@media (max-width: 640px) {
  .about-hero-text { font-size: 1rem; }
}

