:root {
  --primary: #123D73;
  --primary-dark: #08294f;
  --accent: #f2b705;
  --bg: #f4f6f8;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.dark {
  --bg: #0f172a;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --border: #334155;
  --white: #1e293b;
  --primary: #035BEB;
  --primary-dark: #60a5fa;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.topbar {
  background: var(--primary);
  color: white;
  font-size: 14px;
  text-align: center;
  padding: 8px 12px;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand img {
  display: block;
  height: 48px;
  width: auto;
}

.brand-text h1 {
  font-size: 28px;
  color: var(--primary);
  line-height: 1.1;
}

.brand-text p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

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

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

main {
  max-width: 1400px;
  margin: 18px auto;
  padding: 0 20px 24px;
}

.banner {
  background: linear-gradient(135deg, var(--primary), #035BEB);
  color: white;
  border-radius: 24px;
  padding: 22px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.banner h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.banner p {
  font-size: 15px;
  opacity: 0.95;
  max-width: 760px;
  line-height: 1.5;
}

.banner-action {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.iframe-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  min-height: 75vh;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.iframe-toolbar {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--white);
}

.iframe-toolbar span {
  font-size: 14px;
  color: var(--muted);
}

iframe {
  width: 100%;
  height: 78vh;
  min-height: 720px;
  border: 0;
  display: block;
  background: white;
}

footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 20px 28px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-content,
  .banner,
  .iframe-toolbar,
  footer {
    align-items: stretch;
  }

  .header-content {
    flex-direction: column;
  }

  .brand {
    width: 100%;
  }

  .actions {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .brand-text h1 {
    font-size: 24px;
  }

  .banner h2 {
    font-size: 21px;
  }

  iframe {
    min-height: 680px;
    height: 80vh;
  }
}
