/* TwinGP — email template colour system */
:root {
  --bg: #eef4ff;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #334155;
  --line: #e2e8f0;
  --blue: #007AFF;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --grad: linear-gradient(135deg, #007AFF 0%, #6366f1 55%, #8b5cf6 100%);
  --shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 36px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --max: 1080px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #eef4ff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.14);
}
.brand-text {
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  display: block;
  color: var(--ink);
}
.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 1px;
}
.nav-toggle,
.nav-close { display: none; }
.nav-menu { display: flex; align-items: center; }
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a,
.nav-links button.nav-lock {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 0;
}
.nav-links a:hover { color: var(--indigo); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--indigo); font-weight: 700; }
.nav-links .nav-cta {
  background: var(--grad);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
}
.nav-links .nav-cta:hover { color: #fff !important; }
.nav-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  cursor: not-allowed;
}

/* ========== Clean hero: one composition ========== */
.hero {
  padding: 0 0 8px;
}
.hero-stage {
  width: 100%;
}
.hero-intro {
  text-align: center;
  padding: 48px 0 28px;
  animation: rise 0.55s ease both;
}
.hero-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
  padding: 8px;
  border: 2px solid rgba(0, 122, 255, 0.12);
  box-shadow: var(--shadow);
}
.hero-name {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}
.hero-by {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.hero-intro h1 {
  margin: 22px auto 12px;
  max-width: 640px;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
}
.hero-lead {
  margin: 0 auto 26px;
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
/* Talk panel: wide image left, compact info right — heights match */
.talk-panel {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0;
  margin: 8px 0 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  align-items: stretch;
}
.talk-panel-media {
  position: relative;
  background: linear-gradient(90deg, #a8e7ba 0%, #cfe9f5 45%, #f3e48a 100%);
  overflow: hidden;
  min-height: 220px;
}
.talk-panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.talk-panel-info {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
  background: #fff;
  min-height: 0;
}
.talk-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.talk-panel-info h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.talk-panel-info > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.talk-points {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.talk-points li {
  position: relative;
  padding: 3px 0 3px 20px;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 500;
}
.talk-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}
.talk-panel-info .btn {
  align-self: flex-start;
  padding: 10px 16px;
  font-size: 0.9rem;
}

/* End summary strip */
.summary-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.summary-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid #e8eef7;
}
.summary-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.summary-item span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary,
.btn-on-light {
  background: var(--grad);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.28);
}
.btn-primary:hover,
.btn-on-light:hover { color: #fff !important; }
.btn-hero-solid {
  background: #fff;
  color: var(--blue) !important;
  box-shadow: var(--shadow);
}
.btn-hero-solid:hover { color: var(--blue) !important; }
.btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-secondary:hover { color: #fff; background: rgba(255, 255, 255, 0.28); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.btn-ghost:hover { color: var(--ink); }
.btn-block { width: 100%; }

/* ========== Sections ========== */
.section { padding: 56px 0; }
.section-soft {
  background: #f8fafc;
  border-block: 1px solid var(--line);
}
.section-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 32px;
}
.section-head .eyebrow { display: none; }
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* ========== Colorful cards ========== */
.feature-card,
.tool-card,
.policy-card,
.cred,
.form-card,
.prose {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}
.feature-card,
.tool-card,
.policy-card {
  padding: 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.tool-card,
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.feature-card:hover,
.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.feature-card .icon,
.tool-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 14px;
  background: var(--grad);
  font-size: 16px;
}
.feature-card.g1 .icon, .tool-card.g1 .icon,
.feature-card.g2 .icon, .tool-card.g2 .icon,
.feature-card.g3 .icon, .tool-card.g3 .icon,
.feature-card.g4 .icon, .tool-card.g4 .icon,
.feature-card.g5 .icon, .tool-card.g5 .icon,
.feature-card.g6 .icon, .tool-card.g6 .icon {
  background: var(--grad);
}
.feature-card h3,
.tool-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.feature-card p,
.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.tool-for {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Spotlight (tools/apps pages) */
.spotlight {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.spotlight-media {
  order: 0;
  background: linear-gradient(90deg, #a8e7ba 0%, #cfe9f5 45%, #f3e48a 100%);
  overflow: hidden;
  min-height: 260px;
}
.spotlight-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.spotlight-copy {
  order: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-left: 1px solid var(--line);
}
.spotlight-copy .eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--indigo);
}
.spotlight-copy h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}
.spotlight-copy p {
  margin: 0 0 12px;
  color: var(--muted);
}
.spotlight-copy .btn { align-self: flex-start; }
.spotlight-copy .copy { text-align: left; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tools-grid.home-tools {
  grid-template-columns: repeat(3, 1fr);
}
.explore-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* Page titles */
.page-banner,
.page-hero {
  position: relative;
  margin: 28px 0 28px;
  padding: 36px 32px;
  border-radius: 24px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: rise 0.5s ease both;
}
.page-banner::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(255,255,255,0.22), transparent 40%);
  pointer-events: none;
}
.page-banner h1,
.page-hero h1 {
  position: relative;
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  letter-spacing: -0.035em;
  color: #fff;
  font-weight: 800;
}
.page-banner p,
.page-hero p {
  position: relative;
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}
.page-banner.center { text-align: center; }
.page-banner.center p { margin-inline: auto; }
.page-banner .updated { color: rgba(255, 255, 255, 0.85) !important; }

.tools-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}
.tools-cats a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.15s ease;
}
.tools-cats a:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  text-decoration: none;
}
.cat-block {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}
.cat-block h2 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--soft);
}

/* Policy */
.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.policy-card {
  background: var(--surface);
  border: 1px solid var(--line);
}
.policy-card.nep,
.policy-card.naac {
  background: var(--surface);
  border: 1px solid var(--line);
}
.policy-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.policy-card h3 i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  font-size: 13px;
}
.policy-card.nep h3 i,
.policy-card.naac h3 i {
  background: var(--grad);
}
.policy-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}
.policy-card p:last-child { margin-bottom: 0; }
.policy-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}
.policy-card ul li { margin: 0 0 6px; }
.policy-card ul li:last-child { margin-bottom: 0; }
.policy-grid.policy-rich {
  grid-template-columns: repeat(3, 1fr);
}
.policy-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Audience + FAQ (home SEO/content) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.audience-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  margin-bottom: 12px;
  font-size: 1rem;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--indigo);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item p:last-child { margin-bottom: 18px; }
.faq-steps {
  margin: 0 0 14px;
  padding: 0 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-steps li { margin: 0 0 8px; }
.faq-steps li:last-child { margin-bottom: 0; }

/* Credentials */
.creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cred {
  padding: 22px 14px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
}
.cred:hover { transform: translateY(-3px); transition: 0.2s ease; }
.cred-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 14px;
  margin: 0 auto 12px;
  background: #fff;
  padding: 6px;
  border: 1px solid var(--line);
}
.cred-img.cred-dark {
  background: #0a0a0a;
  border-color: #1e293b;
  padding: 8px;
}
.cred-img.cred-app-logo {
  background: #fff;
  padding: 8px;
  object-fit: contain;
  border: 1px solid var(--line);
}
.tool-card .icon.icon-img {
  padding: 0;
  overflow: hidden;
  background: #eef4ff;
  box-shadow: none;
}
.tool-card .icon.icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cred strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 4px;
}
.cred span {
  font-size: 12px;
  color: var(--muted);
  display: block;
  line-height: 1.35;
}
.cred .status-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 700;
}
.cred .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.06); }
}

.prose {
  padding: 32px 36px 20px;
  margin: 0 0 40px;
  border: 1px solid var(--line);
}
.prose h2 { font-size: 1.15rem; margin: 1.4em 0 0.45em; }
.prose h3 { font-size: 1.02rem; margin: 1.1em 0 0.35em; }
.prose p, .prose li { color: #334155; }
.keypoints,
.legal-toc {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
}
.legal-toc ol {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #334155;
  font-size: 0.92rem;
}
.legal-toc a { font-weight: 600; }

.form-card {
  padding: 32px;
  max-width: 480px;
  margin: 8px auto 56px;
  border: 1px solid var(--line);
}
.form-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  margin-bottom: 14px;
  background: #fff;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid rgba(99, 102, 241, 0.3);
  border-color: var(--indigo);
}
.form-card textarea { min-height: 110px; resize: vertical; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #334155;
}
.check input { width: auto; margin: 3px 0 0; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.form-msg {
  display: none;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.form-msg.show { display: block; }
.form-msg.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-msg.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.band {
  background: var(--grad);
  color: #fff;
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(165,243,252,0.25), transparent 40%);
  pointer-events: none;
}
.band h2,
.band p,
.band .hero-actions {
  position: relative;
}
.band h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.band p {
  margin: 0 auto 24px;
  max-width: 480px;
  opacity: 0.95;
}
.band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.band .btn-secondary:hover {
  background: #fff;
  color: var(--indigo);
}
.band .hero-actions { justify-content: center; margin-bottom: 0; }

.address-card address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
}
.map-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

/* ========== Contact page ========== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
  margin: 0 0 56px;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.contact-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
  margin-bottom: 12px;
  font-size: 1rem;
}
.contact-card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.contact-card address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.contact-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-card .map-link i {
  font-size: 0.75em;
  margin-left: 4px;
}
.contact-card-soft {
  background: #f8fafc;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-list span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contact-list a {
  font-weight: 600;
  word-break: break-word;
}
.form-card.contact-form {
  max-width: none;
  margin: 0;
}
.form-card.contact-form h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.contact-form-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.form-card.contact-form .form-msg {
  margin-top: 4px;
  margin-bottom: 12px;
}

/* ========== Footer ========== */
.site-footer {
  margin-top: 8px;
  padding: 48px 0 28px;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.footer-brand {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}
.footer-brand span {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
}
.footer-col a,
.footer-col button {
  display: block;
  margin: 0 0 8px;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.footer-col a:hover { color: var(--indigo); text-decoration: none; }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #94a3b8;
}
.footer-address {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro { animation: none; }
  .cred .badge-dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 960px) {
  .spotlight { grid-template-columns: 1fr; }
  .talk-panel { grid-template-columns: 1fr; }
  .talk-panel-media { min-height: 200px; aspect-ratio: 952 / 500; }
  .talk-panel-info { border-left: none; border-top: 1px solid var(--line); }
  .contact-layout { grid-template-columns: 1fr; }
  .summary-bar { grid-template-columns: 1fr 1fr; }
  .tools-grid, .tools-grid.home-tools, .creds, .grid-3, .policy-grid, .policy-grid.policy-rich,
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Mobile / tablet sidebar nav — menu is moved to <body> by JS */
  .site-header { z-index: 200; }
  body.nav-open { overflow: hidden !important; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
  }

  /* When still in header before JS runs, hide desktop flex menu */
  .nav > .nav-menu {
    display: none !important;
  }

  /* Full-screen overlay on body */
  body > .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(15, 23, 42, 0.55) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 99999 !important;
    display: block !important;
    align-items: stretch !important;
  }
  body > .nav-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  body > .nav-menu .nav-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    z-index: 100001;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  }
  body > .nav-menu .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    width: min(320px, 90vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    padding: calc(76px + env(safe-area-inset-top)) 20px calc(32px + env(safe-area-inset-bottom)) !important;
    gap: 0 !important;
    background: #ffffff !important;
    box-shadow: -16px 0 48px rgba(15, 23, 42, 0.28) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 100000;
  }
  body > .nav-menu.open .nav-links {
    transform: translateX(0);
  }
  body > .nav-menu .nav-links li {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  body > .nav-menu .nav-links a,
  body > .nav-menu .nav-links button.nav-lock {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    padding: 16px 12px !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    color: #0f172a !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    background: #fff !important;
    box-shadow: none !important;
  }
  body > .nav-menu .nav-links .nav-cta {
    display: block !important;
    text-align: center !important;
    margin-top: 18px !important;
    border-bottom: none !important;
    padding: 14px 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #007AFF 0%, #6366f1 55%, #8b5cf6 100%) !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .grid-3, .grid-2, .creds, .footer-grid, .tools-grid, .tools-grid.home-tools,
  .policy-grid, .policy-grid.policy-rich, .contact-layout, .audience-grid {
    grid-template-columns: 1fr;
  }
  .hero-intro { padding: 36px 0 20px; }
  .talk-panel-media { min-height: 0; }
  .spotlight-media,
  .spotlight-media img { min-height: 180px; }
  .summary-bar { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .prose { padding: 24px 20px 12px; }
  .band { padding: 36px 22px; }
  .page-banner, .page-hero { padding: 28px 22px; }
  .container { width: min(100% - 28px, var(--max)); }
}
