:root {
  --sw-brand-ink: #002f6c;
  --sw-brand-ink-2: #004080;
  --sw-accent: #4caf50;
  --sw-accent-2: #008CBA;
  --sw-ink: #1d2433;
  --sw-bg: #f5f7fb;
  --sw-card: #ffffff;
  --sw-sub: #6b778c;
  --sw-soft: #e6ecf5;
}

/* Base */
/* Base */
/* Base */
html, body {
  margin: 0;
  padding: 0;
  background: var(--sw-bg);
  color: var(--sw-ink);
  font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  min-height: 100%;
}

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

/* Appbar */
/* Appbar */
header.appbar {
  position: fixed;  /* CHANGED: sticky → fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(90deg, var(--sw-brand-ink), var(--sw-brand-ink-2));
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}

.appbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(18px, env(safe-area-inset-right)) 14px max(18px, env(safe-area-inset-left));
  min-height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #fbffa1;
  box-shadow: 0 0 10px #fbffa1;
}
.brand-text h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: .25px;
  margin: 0;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-size: .72rem;
  color: #fbffa1;
  opacity: .95;
  margin-top: 2px;
}

/* Header actions (Register/Login) */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}
.button {
  background: #355e76;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.button a {
  display: block;
  color: #ffffff;
  text-decoration: none;
}

/* Shell */
/* Shell – space for fixed header + footer */
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 18px 28px;
  box-sizing: border-box;
  min-height: calc(100svh - 72px);
}


/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid var(--sw-soft);
  border-radius: 16px;
  padding: 18px 18px 6px 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.hero-copy h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  margin: .25rem 0 .35rem 0;
  letter-spacing: .2px;
}
.hero-copy p {
  color: var(--sw-sub);
  margin: .25rem 0 .5rem 0;
  line-height: 1.55;
}
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi {
  background: var(--sw-card);
  border: 1px solid var(--sw-soft);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.kpi .v {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0a2540;
}
.kpi .k {
  font-size: .75rem;
  color: var(--sw-sub);
}
.hero-note {
  color: var(--sw-sub);
  font-size: .8rem;
  margin-top: 8px;
}
.hero-media video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--sw-soft);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

/* Sections / Placards — keep your IDs/behavior */
.section {
  margin-top: 18px;
}
.placard {
  background: var(--sw-card);
  border: 1px solid var(--sw-soft);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  overflow: hidden;
}
.placard-toggle {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  cursor: pointer;
  background: #f9fbfc;
  user-select: none;
}
.placard-toggle:hover {
  background: #f0f5fb;
}
.placard-toggle .title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toggle-icon {
  font-size: 1.1rem;
  transition: transform .25s ease;
  color: #243046;
}
.placard-content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s ease, padding .25s ease;
  background: #fff;
}
.placard-content.open {
  padding: 16px 18px 18px 18px;
  max-height: 600px;
}
.placard-content p {
  margin: .4rem 0;
  line-height: 1.6;
  color: #243046;
}

/* Footer */
/* Footer */
footer.appfoot {
  width: 100%;
  background: var(--sw-brand-ink);
  color: #fff;
  text-align: center;
  padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  font-size: .8em;
  margin-top: 0;
}

.footline {
  font-size: x-small;
  margin: 0;
}
footer.appfoot a {
  color: #a8dadc;
  text-decoration: none;
}
footer.appfoot a:hover {
  text-decoration: underline;
}
.share-link {
  cursor: pointer;
  color: #fbffa1;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .appbar-inner {
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 76px;
  }
  .brand {
    gap: 8px;
  }
  .brand-text h1 {
    font-size: 1.05rem;
  }
  .brand-text small {
    font-size: .66rem;
    max-width: 44vw;
  }
  .button {
    border-radius: 8px;
    padding: 8px 10px;
    font-size: .86rem;
  }
  .shell {
    padding: 92px 12px 22px;
  }
  .hero {
    border-radius: 12px;
    padding: 14px 12px 10px;
    gap: 14px;
  }
  .hero-copy h2 {
    font-size: 1.18rem;
  }
  .hero-kpis {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  }
  .actions { gap: 8px; }
  .placard-toggle {
    align-items: flex-start;
    gap: 12px;
    padding: 13px 12px;
  }
  .placard-toggle .title {
    min-width: 0;
    line-height: 1.25;
  }
  .placard-content,
  .placard-content.open {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 380px) {
  .appbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .actions {
    width: 100%;
    justify-content: flex-start;
  }
  .shell {
    padding-top: 122px;
  }
}
