/* Generated from website specs */
:root {
  --bg: #f6f4ee;
  --bg-strong: #eef4fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --ink: #15202b;
  --muted: #516172;
  --brand: #22384a;
  --brand-2: #35586b;
  --brand-3: #1a6f69;
  --gold: #f3c64d;
  --gold-soft: #fff3c7;
  --accent: #1a73b8;
  --accent-strong: #165e95;
  --ok: #1c8b55;
  --danger: #bb3b3b;
  --card-border: rgba(31, 56, 76, 0.12);
  --shadow: 0 20px 50px rgba(28, 49, 66, 0.12);
  --radius: 1.25rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(243, 198, 77, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(26, 115, 184, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfaf6 0%, #f5f8fc 52%, #f7f4ef 100%);
  font-family: "Noto Sans Tamil", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 0.15em; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100vw - 2rem)); margin: 0 auto; }
.site-header {
  --header-bg: #293b4a;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(15, 28, 40, 0.22);
}
.header-inner {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.75rem 0.9rem;
  align-items: center;
  min-height: 72px;
  padding: 0.65rem 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
}
.header-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--header-bg);
  border-radius: 0.5rem;
  padding: 0.2rem 0.35rem;
  line-height: 0;
}
.header-logo { max-height: 40px; width: auto; display: block; }
.brand-copy { display: none; color: rgba(255,255,255,0.88); }
.brand-copy strong { display: block; font-size: 0.94rem; }
.brand-copy span { font-size: 0.76rem; color: rgba(255,255,255,0.68); }
.main-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  padding-bottom: 0.1rem;
  overflow: visible;
  min-width: 0;
}
.mobile-menu-btn, .mobile-nav-overlay, .mobile-footer-quick { display: none; }
.nav-home,
.main-nav > details > summary,
.nav-panel a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
  list-style: none;
  cursor: pointer;
  transition: all 150ms ease;
}
.nav-home {
  display: inline-flex;
  align-items: center;
}
.nav-home:hover, .nav-home:focus-visible,
.main-nav > details > summary:hover,
.main-nav > details > summary:focus-visible,
.nav-panel a:hover, .nav-panel a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  outline: none;
}
.nav-dropdown { position: relative; }
.nav-dropdown > summary { position: relative; padding-right: 1.4rem; }
.nav-dropdown > summary::-webkit-details-marker { display: none; }
.nav-dropdown > summary::after {
  content: "▾";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0.75;
  pointer-events: none;
}
.nav-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: min(280px, 92vw);
  max-width: 92vw;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem;
  background: #1f2f3c;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.6rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.nav-panel a {
  display: block;
  border-radius: 0.4rem;
  white-space: normal;
  line-height: 1.4;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
}
.nav-dropdown[open] > summary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.header-right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.lang-toggle, .cta-btn, .btn, .tool-card button {
  min-height: 38px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease;
}
.lang-toggle {
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 0.2rem;
  gap: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: relative;
  min-width: 96px;
  min-height: 34px;
}
.lang-toggle .lang-option {
  position: relative;
  z-index: 1;
  font-size: 0.76rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
  color: rgba(255,255,255,0.86);
}
.lang-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  background: rgba(255,255,255,0.92);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  transition: transform 160ms ease;
}
.lang-toggle.is-ta::after { transform: translateX(100%); }
.lang-toggle .lang-option.active { color: #1f2f3c; }
.lang-toggle:hover, .lang-toggle:focus-visible {
  border-color: rgba(255,255,255,0.45);
}
.lang-toggle::before {
  content: attr(data-hover-text);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  background: #1f2f3c;
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 150ms ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.lang-toggle:hover::before {
  opacity: 1;
  visibility: visible;
}
.hero-cta .lang-toggle {
  border-color: rgba(34,56,74,0.28);
  background: rgba(34,56,74,0.08);
}
.hero-cta .lang-toggle .lang-option {
  color: rgba(34,56,74,0.85);
}
.hero-cta .lang-toggle .lang-option.active {
  color: #0f2535;
}
.cta-btn:hover, .cta-btn:focus-visible,
.btn:hover, .btn:focus-visible,
.tool-card button:hover, .tool-card button:focus-visible {
  transform: translateY(-1px);
}
.cta-btn {
  background: #fff;
  color: var(--brand);
  padding: 0.4rem 0.85rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid transparent;
}
.cta-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
main { padding: 1.2rem 0 3.5rem; }
.hero-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(243, 198, 77, 0.18), transparent 23%),
    radial-gradient(circle at 82% 16%, rgba(26, 111, 105, 0.16), transparent 23%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(242,247,252,0.96));
  border: 1px solid rgba(31, 56, 76, 0.08);
  border-radius: calc(var(--radius) + 0.35rem);
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem 1.35rem;
}
.hero-shell::after {
  content: "";
  position: absolute;
  inset: auto -8% -18% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,115,184,0.1), transparent 70%);
  pointer-events: none;
}
.hero { position: relative; text-align: center; }
.hero-brand-logo, .hero-brand-tagline { display: flex; justify-content: center; }
.hero-brand-logo { padding-top: 0.2rem; padding-bottom: 0.6rem; }
.hero-brand-tagline { padding-bottom: 1rem; }
.serungka-logo { max-width: 340px; width: 100%; height: auto; }
.serungka-tagline { max-width: 430px; width: 100%; height: auto; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 56, 74, 0.07);
  color: var(--brand);
  border: 1px solid rgba(34,56,74,0.08);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 800;
}
.brand-line {
  margin: 1rem auto 0.5rem;
  color: var(--brand-2);
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1, .page-title {
  margin: 0.2rem auto 0.8rem;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.08;
  max-width: 15ch;
  letter-spacing: -0.03em;
}
.subhead, .page-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #314659;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.68;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.3rem 0 1rem;
}
.btn { border: 0; padding: 0.9rem 1.15rem; box-shadow: 0 12px 26px rgba(17, 67, 104, 0.12); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}
.btn-secondary {
  background: rgba(34, 56, 74, 0.08);
  color: var(--brand);
  border: 1px solid rgba(34, 56, 74, 0.1);
}
.hero-meta {
  display: grid;
  gap: 0.65rem;
  max-width: 880px;
  margin: 1rem auto 0;
}
.trust-card, .scope-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(31, 56, 76, 0.08);
  border-radius: 1rem;
  padding: 0.8rem 0.95rem;
  text-align: left;
  color: #294254;
}
.hero-stats {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
}
.hero-stat {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(31, 56, 76, 0.08);
  border-radius: 1rem;
  padding: 0.95rem;
  text-align: left;
}
.hero-stat strong { display: block; font-size: 1.45rem; color: var(--brand); }
.section-title {
  margin: 1.9rem 0 0.95rem;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-intro {
  margin: -0.15rem 0 0.9rem;
  color: var(--muted);
  max-width: 700px;
}
.status-bar {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgba(255,243,199,0.96), rgba(251,233,163,0.92));
  border: 1px solid rgba(228, 189, 64, 0.55);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 12px 26px rgba(243, 198, 77, 0.16);
}
.status-wrap { margin: 1.2rem 0 0; width: 100%; }
.status-item {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(191, 145, 22, 0.14);
  border-radius: 1rem;
  padding: 0.85rem 0.95rem;
}
.status-item span {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #72570a;
}
.status-item strong { color: #3a2f05; font-size: 0.99rem; line-height: 1.45; }
.stats-grid, .tools-grid, .nav-grid, .facts-grid, .footer-grid {
  display: grid;
  gap: 0.9rem;
}
.stat-card, .tool-card, .nav-card, .fact-card, .content-card, .page-hero, .footer-panel {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.stat-card, .fact-card { padding: 1rem; }
.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand-3), var(--gold));
}
.stat-num { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 900; color: var(--brand); margin-bottom: 0.25rem; }
.stat-label { color: var(--muted); line-height: 1.45; }
.tool-card {
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}
.tool-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--brand-3), var(--gold));
}
.tool-card h3 { margin: 0 0 0.7rem; font-size: 1.1rem; }
.tool-card label { display: block; font-weight: 800; margin: 0.6rem 0 0.25rem; }
.tool-card input, .tool-card select {
  width: 100%;
  border: 1px solid rgba(43, 72, 94, 0.15);
  background: rgba(255,255,255,0.95);
  border-radius: 0.9rem;
  min-height: 46px;
  padding: 0.68rem 0.8rem;
  font: inherit;
}
.tool-card input:focus, .tool-card select:focus {
  outline: 2px solid rgba(26,115,184,0.18);
  border-color: rgba(26,115,184,0.45);
}
.tool-card button {
  margin-top: 0.9rem;
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 0.75rem 1rem;
}
.result {
  margin-top: 0.75rem;
  padding: 0.8rem 0.95rem;
  background: #eff8ff;
  border: 1px solid rgba(24, 130, 216, 0.18);
  border-left: 4px solid #1882d8;
  border-radius: 1rem;
  line-height: 1.55;
}
.result.ok { background: #eef9f1; border-left-color: var(--ok); border-color: rgba(28, 139, 85, 0.16); }
.result.bad { background: #fff1f1; border-left-color: var(--danger); border-color: rgba(187, 59, 59, 0.16); }
.nav-card {
  position: relative;
  padding: 1.05rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.nav-card::before {
  content: "";
  position: absolute;
  inset: auto -20px -35px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,115,184,0.12), transparent 70%);
}
.nav-card:hover { transform: translateY(-2px); }
.nav-card > * { position: relative; z-index: 1; }
.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(145deg, rgba(34,56,74,0.12), rgba(243,198,77,0.22));
  margin-bottom: 0.85rem;
}
.nav-card h3 { margin: 0 0 0.35rem; font-size: 1.08rem; line-height: 1.3; }
.nav-card p { margin: 0 0 0.9rem; color: var(--muted); line-height: 1.52; }
.card-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}
.facts-grid { margin-top: 0.5rem; }
.fact-card h3 { margin: 0 0 0.45rem; font-size: 1.04rem; }
.fact-card p, .fact-card ul { margin: 0; color: var(--muted); line-height: 1.58; }
.page-shell { display: grid; gap: 1.2rem; }
.page-hero {
  padding: 1.25rem 1rem;
  background:
    radial-gradient(circle at top right, rgba(243,198,77,0.16), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(240,246,252,0.95));
}
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(34,56,74,0.08);
  border: 1px solid rgba(34,56,74,0.08);
  border-radius: 999px;
  padding: 0.45rem 0.78rem;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}
.page-title { max-width: 18ch; margin-left: 0; }
.page-lead { margin-left: 0; max-width: 70ch; }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(31,56,76,0.08);
  border-radius: 999px;
  padding: 0.52rem 0.78rem;
  color: #375265;
  font-size: 0.84rem;
  font-weight: 700;
}
.content-card {
  padding: 1.05rem;
  overflow: hidden;
}
.md-content > :first-child { margin-top: 0; }
.md-content h2, .md-content h3 {
  scroll-margin-top: 95px;
}
.md-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.md-content h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.45rem;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--brand);
}
.md-content p, .md-content li {
  color: #32495b;
  line-height: 1.78;
  font-size: 1rem;
}
.md-content ul, .md-content ol { padding-left: 1.2rem; }
.md-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,56,76,0.16), transparent);
  margin: 1.6rem 0;
}
.md-content blockquote {
  margin: 1.25rem 0;
  padding: 0.95rem 1rem;
  background: rgba(255, 243, 199, 0.42);
  border-left: 4px solid var(--gold);
  border-radius: 0 1rem 1rem 0;
}
.md-content pre {
  overflow-x: auto;
  background: linear-gradient(145deg, #122537, #1d3348);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem;
}
.md-content code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.md-content p code, .md-content li code {
  background: rgba(34,56,74,0.08);
  color: var(--brand);
  border-radius: 0.5rem;
  padding: 0.12rem 0.4rem;
}
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(31,56,76,0.1);
  border-radius: 1rem;
  overflow: hidden;
}
th, td {
  padding: 0.8rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(31,56,76,0.08);
}
th {
  background: linear-gradient(180deg, #f0f6fb, #eaf2f9);
  color: var(--brand);
  font-size: 0.92rem;
}
tbody tr:nth-child(even) td { background: rgba(248, 251, 254, 0.82); }
tbody tr:last-child td { border-bottom: 0; }
.lang-en .ta-only, .lang-ta .en-only { display: none !important; }
.disclaimer {
  background: linear-gradient(135deg, rgba(255,243,199,0.95), rgba(255,233,168,0.95));
  border: 1px solid rgba(228, 189, 64, 0.42);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: #5d4300;
  box-shadow: 0 14px 24px rgba(243, 198, 77, 0.12);
}
.site-footer {
  margin-top: 3rem;
  padding: 2.3rem 0;
  background: linear-gradient(180deg, #192936, #12202b);
  color: #dce7f0;
}
.footer-grid { grid-template-columns: 1.35fr 1fr 1fr; }
.footer-panel {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
  padding: 1rem;
}
.footer-panel h3, .footer-panel p { margin: 0 0 0.55rem; }
.footer-panel h3 { color: #fff; letter-spacing: 0.01em; }
.footer-panel p { color: rgba(220, 231, 240, 0.9); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 0.15rem; }
.footer-badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.35rem; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  font-size: 0.78rem;
  color: #fff;
  background: rgba(255,255,255,0.05);
}
@media (min-width: 700px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 74px;
  }
  .main-nav { grid-column: 2; justify-content: flex-start; padding-bottom: 0; }
  .brand-copy { display: block; }
  .hero-meta, .hero-stats, .status-bar, .stats-grid, .nav-grid, .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
  .hero-shell { padding: 2rem 2rem 1.6rem; }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .status-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .content-card { padding: 1.5rem; }
  .page-hero { padding: 1.5rem 1.5rem 1.2rem; }
}
@media (max-width: 720px) {
  body.mobile-menu-open { overflow: hidden; }
  .main-nav { display: none; }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    color: #fff;
    font-size: 1.25rem;
    width: 2.2rem;
    height: 2.2rem;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
  }
  .mobile-menu-btn::before {
    content: "☰";
    line-height: 1;
  }
  .mobile-menu-btn[aria-expanded="true"]::before {
    content: "✕";
  }
  .mobile-nav-overlay {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 100;
    padding: 1rem;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 1rem;
  }
  .mobile-nav-overlay.is-open {
    display: flex;
  }
  .mobile-nav-category {
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(31,56,76,0.1);
  }
  .mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
    color: #314659;
    text-decoration: none;
    font-size: 1.05rem;
  }
  .header-right {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }
  .cta-btn { display: none; }
  .site-footer { padding: 1.2rem 0 1.4rem; margin-top: 2rem; }
  .footer-grid { display: none; }
  .mobile-footer-quick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }
  .mobile-footer-quick .mfq-brand {
    font-size: 0.78rem;
    color: rgba(220,231,240,0.5);
    letter-spacing: 0.02em;
  }
  .mobile-footer-quick .mfq-links {
    display: flex;
    align-items: center;
    gap: 0;
  }
  .mobile-footer-quick .mfq-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.25rem 0.6rem;
    transition: color 150ms;
  }
  .mobile-footer-quick .mfq-links a:hover { color: #fff; }
  .mobile-footer-quick .mfq-sep {
    color: rgba(255,255,255,0.22);
    font-size: 0.75rem;
    user-select: none;
  }
}
@media (max-width: 640px) {
  .header-logo { max-height: 32px; }
  .serungka-logo { max-width: 260px; }
  .serungka-tagline { max-width: 88vw; }
  .hero-shell { padding: 1.1rem 0.85rem; }
  .content-card, .tool-card, .page-hero { padding: 0.95rem; }
  .md-content h2 { font-size: 1.5rem; margin-top: 1.5rem; }
  .md-content h3 { font-size: 1.2rem; margin-top: 1.2rem; }
  .md-content p, .md-content li { font-size: 0.95rem; }
  .page-title { font-size: 1.75rem; }
  .page-lead { font-size: 1rem; }
  .table-wrap { margin: 0 -0.95rem; padding: 0 0.95rem; }
  table { border-radius: 0.5rem; }
}
