/* MUBASA Campaign — flyer color system */
:root {
  --blue-deep: #001a57;
  --blue-primary: #003399;
  --blue-mid: #0a2d7a;
  --blue-panel: rgba(0, 26, 87, 0.72);
  --yellow: #ffcc00;
  --orange: #ff8c00;
  --coral: #ff4500;
  --red: #e31b23;
  --white: #ffffff;
  --off-white: #f4f6fb;
  --text-muted: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 60px rgba(0, 10, 40, 0.35);
  --radius: 18px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--white);
  background: var(--blue-deep);
  line-height: 1.6;
}

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

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

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--blue-deep);
  padding: 0.75rem 1rem;
  z-index: 9999;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  background: rgba(0, 26, 87, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 51, 153, 0.55), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(0, 26, 87, 0.9), transparent 50%),
    linear-gradient(145deg, var(--blue-primary) 0%, var(--blue-deep) 58%, #000814 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='0.9'%3E%3Cpath d='M130 20c30 18 48 48 48 82s-18 64-48 82-48-48-48-82 18-64 48-82z'/%3E%3Cpath d='M130 48c18 10 30 28 30 48s-12 38-30 48-30-28-30-48 12-38 30-48z'/%3E%3Cpath d='M130 76c8 5 14 14 14 24s-6 19-14 24-14-14-14-24 6-19 14-24z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 280px 280px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - var(--header-h) - 72px);
  padding-block: 2rem 0;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

  .hero-visual {
    order: -1;
    align-items: flex-end;
  }
}

.hero-photo {
  width: min(100%, 420px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: floatIn 0.9s ease both;
}

.hero-copy {
  padding-block: 2rem 3rem;
}

.hero-logo {
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-institution {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-title {
  margin: 0 0 1.25rem;
  line-height: 0.95;
}

.title-main {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  letter-spacing: 0.02em;
}

.title-outline {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.85);
}

.hero-name {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.hero-name span {
  color: var(--yellow);
}

.hero-role {
  margin: 0.35rem 0 0.25rem;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--yellow);
}

.hero-election {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-lead {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue-deep);
  box-shadow: 0 12px 30px rgba(255, 204, 0, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(255, 204, 0, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-slogan {
  position: relative;
  z-index: 1;
  background: var(--yellow);
  color: var(--blue-deep);
}

.hero-slogan .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-slogan p {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.04em;
}

.hero-term {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

/* Pillars strip */
.pillars-strip {
  background: var(--off-white);
  color: var(--blue-deep);
  padding: 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.pillar-card {
  padding: 1.5rem 1.25rem;
  min-height: 180px;
}

.pillar-num {
  display: inline-block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  line-height: 1;
  opacity: 0.85;
}

.pillar-card h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.35rem;
}

.pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pillar-unity { background: var(--yellow); }
.pillar-welfare { background: var(--orange); color: var(--white); }
.pillar-growth { background: var(--coral); color: var(--white); }
.pillar-sustainability { background: var(--red); color: var(--white); }

/* Sections */
.section {
  padding: 5rem 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
}

.about {
  background: linear-gradient(180deg, var(--blue-deep), var(--blue-mid));
}

.message {
  background: var(--blue-mid);
}

.message-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.message-copy p {
  color: var(--text-muted);
}

.message-emphasis {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--yellow);
  background: rgba(0, 0, 0, 0.15);
  color: var(--white) !important;
  font-weight: 600;
}

.message-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--text-muted);
}

.about-points {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.about-points li {
  color: var(--white);
  font-weight: 500;
}

/* Manifesto */
.manifesto {
  background: var(--blue-primary);
}

.manifesto-list {
  display: grid;
  gap: 1.25rem;
}

.manifesto-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.manifesto-tag {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.manifesto-tag span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}

.manifesto-tag h3 {
  margin: 0.25rem 0 0;
  font-size: 1.5rem;
}

.manifesto-body {
  background: var(--blue-panel);
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(8px);
}

.manifesto-tagline {
  margin: 0 0 1rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.manifesto-note {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.manifesto-body li {
  margin-bottom: 0.55rem;
  color: var(--text-muted);
}

.manifesto-body li::marker {
  color: var(--yellow);
}

.manifesto-subhead {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.manifesto-commitment {
  margin: 0;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--yellow);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.manifesto-commitment p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.7;
}

.manifesto-commitment footer {
  font-weight: 700;
  color: var(--yellow);
}

.commitment-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}

.commitment-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.commitment-vote {
  font-weight: 800;
  color: var(--yellow) !important;
}

.manifesto-grounding {
  margin: 2rem 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

.manifesto-item[data-pillar="unity"] .manifesto-tag { background: var(--yellow); color: var(--blue-deep); }
.manifesto-item[data-pillar="welfare"] .manifesto-tag { background: var(--orange); }
.manifesto-item[data-pillar="growth"] .manifesto-tag { background: var(--coral); }
.manifesto-item[data-pillar="sustainability"] .manifesto-tag { background: var(--red); }

/* Feedback */
.feedback {
  background: linear-gradient(180deg, var(--blue-deep), #000814);
}

.feedback-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.feedback-copy p {
  color: var(--text-muted);
}

.feedback-note {
  font-size: 0.88rem;
  opacity: 0.85;
}

.feedback-form {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--white);
  font: inherit;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}

.form-row select option {
  color: #111;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.form-status-success {
  color: #7dffb2;
}

.form-status-error {
  color: #ffb4b4;
}

button.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

button.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.manifesto-grounding a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Policy Hub */
.policies {
  background: linear-gradient(180deg, #000814, var(--blue-deep));
}

.policy-intro {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.policy-intro p {
  margin: 0;
  color: var(--text-muted);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.policy-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-tag {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.policy-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.policy-card > p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.policy-topics {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--white);
  font-size: 0.9rem;
}

.policy-topics li {
  margin-bottom: 0.35rem;
}

.policy-align {
  margin: 0 0 1rem !important;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

.policy-chat-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.55), rgba(0, 26, 87, 0.9));
  border: 1px solid rgba(255, 204, 0, 0.25);
}

.policy-chat-promo h3 {
  margin: 0 0 0.5rem;
}

.policy-chat-promo p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
}

.policy-chat-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* AI Assistant page — modern full-height chat (ChatGPT / Claude style) */
.ai-assistant-body {
  --ai-header-h: 56px;
  --header-h: var(--ai-header-h);
  --ai-content-max: 42rem;
  --ai-composer-max: 46rem;
  --ai-surface: rgba(255, 255, 255, 0.06);
  --ai-border: rgba(255, 255, 255, 0.1);
  --ai-text-muted: rgba(255, 255, 255, 0.62);
  background: #0b1538;
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(0, 51, 153, 0.35), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(255, 204, 0, 0.06), transparent 50%);
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
}

.ai-assistant-body .site-header-compact,
.ai-shell-header {
  height: var(--ai-header-h);
  background: rgba(11, 21, 56, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ai-border);
}

.ai-assistant-body .brand-logo {
  width: 36px;
  height: 36px;
}

.ai-assistant-body .brand-text strong {
  font-size: 0.92rem;
}

.ai-assistant-body .brand-text small {
  font-size: 0.68rem;
}

.ai-shell {
  display: flex;
  flex-direction: column;
  height: calc(100svh - var(--ai-header-h));
  height: calc(100dvh - var(--ai-header-h));
  margin-top: var(--ai-header-h);
  min-height: 0;
}

.ai-chat-app {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.ai-chat-messages-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

.ai-chat-empty[hidden],
.ai-chat-app.is-chatting .ai-chat-empty {
  display: none !important;
}

.ai-chat-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  min-height: 0;
}

.ai-chat-empty-inner {
  width: min(var(--ai-content-max), 100%);
  text-align: center;
}

.ai-chat-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.ai-chat-mark img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.ai-chat-empty-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.ai-chat-empty-lead {
  margin: 0 auto 1.1rem;
  max-width: 32rem;
  color: var(--ai-text-muted);
  font-size: clamp(0.82rem, 2.5vw, 0.92rem);
  line-height: 1.55;
}

.ai-starter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  text-align: left;
}

.ai-starter-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--ai-border);
  border-radius: 14px;
  background: var(--ai-surface);
  color: var(--white);
  font: inherit;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  text-align: left;
}

.ai-starter-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 204, 0, 0.35);
}

.ai-starter-chip:active {
  transform: scale(0.98);
}

.ai-starter-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.ai-starter-text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.ai-chat-credit {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 204, 0, 0.82);
  font-weight: 600;
}

/* Message thread — row layout like Claude / ChatGPT */
.ai-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(var(--ai-content-max), 100%);
  margin-inline: auto;
  padding: 0.5rem 0 0.25rem;
}

.ai-msg {
  display: flex;
  gap: 0.75rem;
  padding: 1rem clamp(0.85rem, 3vw, 1.25rem);
  animation: aiMsgIn 0.28s ease-out;
}

@keyframes aiMsgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-msg-user {
  justify-content: flex-end;
}

.ai-msg-assistant {
  align-items: flex-start;
}

.ai-msg-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 0.15rem;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ai-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-msg-content {
  min-width: 0;
  max-width: min(92%, 36rem);
}

.ai-msg-user .ai-msg-content {
  max-width: min(88%, 32rem);
}

.ai-msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 18px;
  border-bottom-right-radius: 6px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.ai-msg-bubble p,
.ai-msg-bubble ul {
  margin: 0;
}

.ai-msg-bubble p + p,
.ai-msg-bubble ul + p {
  margin-top: 0.65rem;
}

.ai-msg-bubble ul {
  padding-left: 1.2rem;
}

.ai-msg-bubble strong {
  font-weight: 700;
}

.ai-msg-assistant .chat-msg-body {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
}

.chat-msg-body .chat-heading {
  margin: 1rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--white);
}

.chat-msg-body .chat-heading:first-child {
  margin-top: 0;
}

.chat-msg-body .chat-heading-lg {
  font-size: 1.05rem;
}

.chat-msg-body .chat-heading-sm {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.chat-msg-body ol {
  margin: 0.55rem 0 0;
  padding-left: 1.35rem;
}

.chat-msg-body ol li {
  margin-bottom: 0.35rem;
}

.ai-msg-assistant .chat-msg-source {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  color: var(--ai-text-muted);
  line-height: 1.4;
}

.ai-msg-typing .chat-msg-body {
  padding-top: 0.25rem;
}

/* Follow-up suggestions after each reply */
.ai-chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: min(var(--ai-content-max), 100%);
  margin-inline: auto;
  padding: 0.25rem clamp(0.85rem, 3vw, 1.25rem) 1rem;
}

.ai-chat-suggestions[hidden] {
  display: none !important;
}

.ai-chat-followup-label {
  flex: 0 0 100%;
  margin: 0.15rem 0 0.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.ai-chat-chip {
  flex: 0 1 auto;
  max-width: 100%;
  border: 1px solid var(--ai-border);
  background: var(--ai-surface);
  color: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  text-align: left;
}

.ai-chat-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 204, 0, 0.35);
}

/* Composer dock — fixed at bottom like ChatGPT */
.ai-composer-dock {
  flex-shrink: 0;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0.5rem clamp(0.75rem, 3vw, 1.25rem) max(0.85rem, env(safe-area-inset-bottom, 0px));
  background: rgba(11, 21, 56, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--ai-border);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
}

.ai-chat-composer {
  width: min(var(--ai-composer-max), 100%);
  margin-inline: auto;
}

.ai-chat-composer-inner {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 28, 58, 0.95);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ai-chat-composer-inner:focus-within {
  border-color: rgba(255, 204, 0, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 204, 0, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.35);
}

.ai-chat-composer textarea {
  flex: 1;
  min-width: 0;
  min-height: 24px;
  max-height: 140px;
  resize: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.4rem 0;
}

.ai-chat-composer textarea:focus {
  outline: none;
}

.ai-chat-composer textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.ai-chat-send {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s, background 0.15s;
}

.ai-chat-send:hover:not(:disabled) {
  transform: scale(1.05);
  background: #ffe033;
}

.ai-chat-send:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.ai-chat-disclaimer {
  max-width: var(--ai-composer-max);
  margin: 0.5rem auto 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .ai-assistant-body {
    --ai-header-h: 52px;
  }

  .ai-chat-messages-wrap {
    padding-bottom: calc(6.75rem + env(safe-area-inset-bottom, 0px));
  }

  .ai-composer-dock {
    padding-bottom: max(1.1rem, calc(env(safe-area-inset-bottom, 0px) + 0.65rem));
  }

  .ai-chat-empty-lead {
    display: none;
  }

  .ai-starter-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
  }

  .ai-starter-chip {
    flex-direction: row;
    align-items: center;
    padding: 0.6rem 0.75rem;
  }

  .ai-chat-empty-title {
    font-size: 1.25rem;
  }

  .ai-chat-mark img {
    width: 40px;
    height: 40px;
  }

  .ai-chat-credit {
    font-size: 0.65rem;
  }

  .ai-chat-disclaimer {
    display: none;
  }

  .ai-msg {
    padding: 0.85rem 0.85rem;
  }

  .ai-msg-content {
    max-width: 94%;
  }

  .ai-msg-user .ai-msg-content {
    max-width: 90%;
  }

  .ai-msg-bubble,
  .ai-msg-assistant .chat-msg-body {
    font-size: 0.9rem;
  }

  .ai-chat-composer textarea {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .ai-starter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Policy chat widget */
.policy-chat-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
}

.policy-chat-toggle {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  background: var(--yellow);
  color: var(--blue-deep);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.policy-chat-panel {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  width: min(380px, calc(100vw - 2rem));
  height: min(520px, calc(100dvh - 7rem));
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--blue-deep);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1001;
}

.policy-chat-panel.is-open {
  display: flex;
}

body.policy-chat-open {
  overflow: hidden;
}

.policy-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-chat-header strong {
  display: block;
  font-size: 0.95rem;
}

.policy-chat-header span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.policy-chat-close {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.policy-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg {
  max-width: 92%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg p,
.chat-msg-body p {
  margin: 0;
}

.chat-msg-body p + p,
.chat-msg-body ul + p {
  margin-top: 0.65rem;
}

.chat-msg-body ul {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
}

.chat-msg-body li {
  margin-bottom: 0.35rem;
}

.chat-msg-body strong {
  font-weight: 700;
  color: inherit;
}

.chat-msg-body em {
  font-style: italic;
  opacity: 0.95;
}

.chat-msg-typing .chat-msg-body {
  padding-bottom: 0.25rem;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  min-height: 1rem;
}

.chat-typing span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: chatTypingPulse 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chatTypingPulse {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.chat-msg-user {
  align-self: flex-end;
  background: var(--yellow);
  color: var(--blue-deep);
}

.chat-msg-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-msg-source {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: var(--yellow);
}

.policy-chat-suggestions {
  display: flex;
  gap: 0.45rem;
  padding: 0 0.75rem 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scrollbar-width: none;
}

.policy-chat-suggestions::-webkit-scrollbar {
  display: none;
}

.chat-suggestion {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.2);
  color: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
  white-space: nowrap;
}

.policy-chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-chat-form input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  font: inherit;
}

.policy-chat-form button {
  border: 0;
  border-radius: 10px;
  padding: 0 1rem;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 700;
  cursor: pointer;
}

/* Contact */
.contact {
  background: linear-gradient(180deg, var(--blue-mid), var(--blue-deep));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy p {
  color: var(--text-muted);
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s, border-color 0.2s;
}

a.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 204, 0, 0.35);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: #000814;
  border-top: 4px solid var(--yellow);
  padding: 2rem 0;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand strong {
  display: block;
}

.footer-brand span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-slogan {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  color: var(--yellow);
  letter-spacing: 0.05em;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Animations */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    min-height: auto;
    gap: 1.5rem;
  }

  .hero-copy {
    padding-block: 1rem 0.5rem;
    text-align: center;
  }

  .hero-logo {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-photo {
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .hero-slogan .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding-block: 1rem;
  }

  .hero-term {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .about-grid,
  .message-grid,
  .contact-grid,
  .feedback-grid,
  .commitment-block,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-chat-promo {
    flex-direction: column;
    align-items: stretch;
  }

  .policy-chat-promo-actions {
    width: 100%;
  }

  .policy-chat-promo-actions .btn {
    flex: 1;
  }

  .chat-suggestion {
    max-width: 85vw;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
  }

  .policy-chat-widget {
    right: 0;
    bottom: 0;
    left: 0;
  }

  .policy-chat-toggle {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manifesto-item {
    grid-template-columns: 1fr;
  }

  .form-row-split {
    grid-template-columns: 1fr;
  }

  .message-grid .message-media {
    order: 2;
  }

  .about-grid .about-media {
    order: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .title-main,
  .title-outline {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-head h2,
  .about-copy h2,
  .contact-copy h2,
  .feedback-copy h2,
  .message-copy h2 {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }

  .pillar-card {
    min-height: auto;
    padding: 1.15rem 1rem;
  }

  .commitment-block {
    gap: 1.25rem;
  }

  .commitment-photo img {
    max-width: 220px;
    margin-inline: auto;
  }

  .manifesto-commitment {
    padding: 1.25rem 1.35rem;
  }

  .feedback-form {
    padding: 1.25rem;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(0, 26, 87, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .policy-chat-widget {
    right: 0;
    bottom: 0;
    left: 0;
  }

  .policy-chat-toggle {
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 1002;
  }

  .policy-chat-widget.is-open .policy-chat-toggle {
    display: none;
  }

  .policy-chat-panel.is-open {
    right: 0;
    bottom: 0;
    width: 100%;
    height: min(88dvh, 100%);
    max-height: 100dvh;
    border-radius: var(--radius) var(--radius) 0 0;
  }
}
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
