:root {
  --bg: #f3f8ff;
  --panel: #ffffff;
  --text: #1b2b44;
  --muted: #5d708e;
  --line: #cfdbed;
  --accent: #2f7dff;
  --accent-2: #67b0ff;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  background: radial-gradient(1100px 600px at 18% -10%, rgba(103, 176, 255, 0.26), transparent),
    radial-gradient(900px 600px at 100% 0%, rgba(47, 125, 255, 0.14), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

.bg-blur {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
}

.bg-blur-one {
  width: 300px;
  height: 300px;
  background: #8dc1ff;
  top: 8%;
  left: -80px;
}

.bg-blur-two {
  width: 360px;
  height: 360px;
  background: #d1e7ff;
  bottom: 6%;
  right: -120px;
}

.site-header {
  max-width: 1050px;
  margin: 0 auto;
  padding: 22px 22px;
}

.brand {
  font-family: inherit;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 13px;
  border-radius: 10px;
}

.nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.2rem 0.4rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #275faf;
}

.nav-toggle {
  border-color: #b9cee9;
  background: #fff;
}

.nav-toggle .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2827,43,68,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 8px 22px 60px;
}

.hero {
  padding: 36px 0 20px;
}

.eyebrow {
  color: #3e7de2;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  font-size: 0.76rem;
}

h1, h2, h3 {
  font-family: inherit;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.5rem, 2.9vw, 2.35rem);
  margin: 10px 0 10px;
  font-weight: 700;
}

h1 span {
  color: var(--accent-2);
}

.lead {
  color: var(--muted);
  max-width: 690px;
  font-size: 0.94rem;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 11px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(120deg, #2f7dff, #58a7ff);
  color: #fff;
  border: none;
}

.btn-ghost {
  color: var(--text);
  border: 1px solid #b7cae5;
  background: #fff;
}

.card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-top: 18px;
  box-shadow: 0 10px 26px rgba(45, 99, 179, 0.08);
}

.card p {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.project {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #f7fbff;
}

.project p {
  min-height: 70px;
}

.media-note {
  margin: 4px 0 10px;
  color: var(--muted);
}

.media-status {
  font-size: 0.88rem;
  color: #3f628f;
  margin-bottom: 12px;
}

.media-status.error {
  color: #a13a2d;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.media-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fbff;
  padding: 12px;
}

.media-card h3 {
  margin: 10px 0 6px;
  font-size: 0.95rem;
}

.media-meta {
  margin: 0 0 8px;
  color: #5c7395;
  font-size: 0.83rem;
}

.media-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #0f2037;
}

.media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

a {
  color: #2f73d6;
}

footer {
  max-width: 1050px;
  margin: 12px auto 40px;
  padding: 0 22px;
  color: var(--muted);
  font-size: 0.88rem;
}

.partner-strip {
  margin-bottom: 8px;
  padding: 10px 12px;
  border: 1px solid #cfdcf0;
  border-radius: 10px;
  background: #f8fbff;
}

.partner-title {
  margin: 0 0 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5377ab;
}

.partner-list {
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tool-hero p {
  max-width: 760px;
}

.tool-pills {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-pills span {
  border: 1px solid #c5d8f0;
  background: #f4f9ff;
  color: #436992;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tool-mini-meta {
  color: #4e6c95;
  font-size: 0.83rem;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(220px, 1fr);
  gap: 18px;
}

.tool-form-row {
  margin: 6px 0 10px;
  display: grid;
  gap: 6px;
}

.tool-form-row label {
  font-weight: 600;
  font-size: 0.86rem;
  color: #476892;
}

.tool-form-row select {
  border: 1px solid #b9cee9;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 9px 10px;
  font-size: 0.9rem;
}

.dropzone {
  margin-top: 10px;
  border: 2px dashed #9fbee6;
  background: linear-gradient(180deg, #fafdff, #f2f8ff);
  border-radius: 14px;
  padding: 26px 16px;
  min-height: 150px;
  display: grid;
  gap: 4px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dropzone:hover,
.dropzone.dragging {
  border-color: #4f8ee5;
  background: #edf5ff;
}

.dropzone input {
  display: none;
}

.dropzone strong {
  font-size: 0.98rem;
}

.dropzone span {
  color: #5a7396;
  font-size: 0.86rem;
}

.tool-file-list {
  margin: 10px 0 12px;
  padding-left: 18px;
  color: #4d688c;
  font-size: 0.88rem;
  max-height: 210px;
  overflow: auto;
}

.tool-file-list li {
  margin-bottom: 4px;
}

.tool-notes {
  border: 1px solid #cddcf0;
  border-radius: 12px;
  background: #f7fbff;
  padding: 14px;
}

.tool-notes h3 {
  margin: 4px 0 6px;
  font-size: 0.96rem;
}

.tool-notes p {
  margin: 0 0 9px;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .tool-layout {
    grid-template-columns: 1fr;
  }
}

.partner-list a {
  color: #2f73d6;
  text-decoration: none;
  font-weight: 600;
}

.partner-list a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 14px;
  }

  .hero {
    padding-top: 8px;
  }

  body {
    font-size: 14.5px;
  }

  .lead {
    font-size: 0.9rem;
  }

  .card {
    padding: 14px;
  }

}
