﻿
:root {
  color-scheme: light;
  --primary-yellow: #f6a800;
  --hover-yellow: #ffbf3d;
  --dark-grey: #f4f7fb;
  --mid-grey: #e7ecf4;
  --panel-grey: #ffffff;
  --panel-alt: #f7f9fc;
  --line-grey: #d7dde6;
  --white: #ffffff;
  --text: #1f2430;
  --muted: #5b6475;
  --accent-blue: #2b7cff;
  --accent-blue-dim: #1d56c2;
  --success-green: #2f8d5e;
  --warning-amber: #f3a712;
  --danger-red: #e35b0a;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--dark-grey);
  color: var(--text);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:hover,
a:focus {
  color: var(--primary-yellow);
  text-decoration: none;
}

.gp-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.gp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  gap: 1rem;
}

.gp-header-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.gp-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gp-nav a {
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.gp-nav a:hover {
  color: var(--primary-yellow);
  background: rgba(0, 0, 0, 0.04);
}

.gp-main {
  flex: 1;
  padding: clamp(1.2rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gp-section {
  background: var(--panel-grey);\n  color: var(--text);
  border-radius: 16px;
  padding: clamp(1.25rem, 2vw, 2rem);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gp-section.headerless {
  padding-top: clamp(1.5rem, 2vw, 2.2rem);
}

.gp-section h1,
.gp-section h2,
.gp-section h3 {
  margin-top: 0;
  color: var(--text);
}

.gp-grid {
  display: grid;
  gap: 1.2rem;
}

.gp-grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gp-grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gp-card {
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}
.gp-card-media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: center;
}
.gp-card-video {
  width: 100%;
  max-width: 640px;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}
.gp-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.gp-card-footer .gp-btn {
  align-self: flex-start;
}

.gp-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.gp-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.gp-stat {
  flex: 1 1 160px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.gp-stat-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.gp-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
}

.gp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.65rem 1.2rem;
  cursor: pointer;
  border: none;
  color: var(--dark-grey);
  background: var(--primary-yellow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
  text-decoration: none;
}

.gp-btn:hover,
.gp-btn:focus {
  background: var(--hover-yellow);
  transform: translateY(-1px);
}

.gp-btn-outline {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.gp-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.gp-btn-danger {
  background: var(--danger-red);
  color: var(--white);
}

.gp-btn-danger:hover {
  background: #ff6a1d;
}

button.gp-btn,
input.gp-btn {
  font-size: 1rem;
}

.gp-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.gp-toolbar-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

label {
  font-weight: 600;
  color: var(--text);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(43, 124, 255, 0.2);
}

.gp-form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gp-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

.gp-table thead {
  background: #f1f4f9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: #4a5161;
}

.gp-table th,
.gp-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
  vertical-align: top;
}

.gp-table tr:nth-child(even) td {
  background: #f9fbff;
}

.gp-table tr:hover td {
  background: rgba(43, 124, 255, 0.08);
}

.gp-muted {
  color: var(--muted);
}

.gp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.gp-badge.green {
  background: rgba(76, 175, 125, 0.2);
  border-color: rgba(76, 175, 125, 0.35);
  color: var(--success-green);
}

.gp-badge.amber {
  background: rgba(243, 167, 18, 0.22);
  border-color: rgba(243, 167, 18, 0.35);
  color: var(--warning-amber);
}

.gp-badge.red {
  background: rgba(227, 91, 10, 0.2);
  border-color: rgba(227, 91, 10, 0.35);
  color: var(--danger-red);
}

.gp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gp-chip.success {
  background: rgba(76, 175, 125, 0.2);
  color: var(--success-green);
}

.gp-chip.warning {
  background: rgba(243, 167, 18, 0.22);
  color: var(--warning-amber);
}

.gp-chip.danger {
  background: rgba(227, 91, 10, 0.25);
  color: var(--danger-red);
}

.gp-chip.status-high {
  background: rgba(227, 91, 10, 0.2);
  color: var(--danger-red);
}

.gp-chip.status-medium {
  background: rgba(243, 167, 18, 0.22);
  color: var(--warning-amber);
}

.gp-chip.status-low {
  background: rgba(76, 175, 125, 0.2);
  color: var(--success-green);
}

.gp-inline-form {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.gp-inline-form select {
  background: rgba(12, 14, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  color: var(--text);
  font-size: 0.85rem;
  min-width: 180px;
}

.gp-inline-form select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(43, 124, 255, 0.2);
}

.gp-small {
  font-size: 0.78rem;
}

.gp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.gp-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.gp-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.gp-checkbox input {
  accent-color: var(--accent-blue);
}

.gp-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.gp-collapsible {
  position: relative;
  padding-top: 1.75rem;
}

.gp-collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.gp-collapsible-title {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.gp-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--muted);
  padding: 0.35rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.gp-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.gp-collapsible.collapsed .gp-collapsible-body {
  display: none;
}

.gp-table-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.gp-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.gp-filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.gp-flash {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
}

.gp-flash.success {
  border-color: rgba(76, 175, 125, 0.4);
  background: rgba(76, 175, 125, 0.15);
  color: var(--success-green);
}

.gp-flash.error {
  border-color: rgba(227, 91, 10, 0.45);
  background: rgba(227, 91, 10, 0.15);
  color: var(--danger-red);
}

.gp-flash.info {
  border-color: rgba(43, 124, 255, 0.35);
  background: rgba(43, 124, 255, 0.12);
  color: var(--accent-blue);
}

.gp-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 0.5rem;
}

.gp-tab {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--muted);
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.gp-tab.active {
  background: rgba(43, 124, 255, 0.12);
  color: var(--text);
  border: 1px solid rgba(43, 124, 255, 0.4);
}

.gp-section-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.gp-footer {
  margin-top: auto;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.gp-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.gp-modal {
  width: min(420px, 100%);
  background: #ffffff;
  border-radius: 18px;
  padding: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gp-modal h1 {
  margin: 0;
  text-align: center;
}

.gp-modal p {
  margin: 0;
  text-align: center;
  color: var(--muted);
}

.gp-alert {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-align: center;
}

.gp-alert.error {
  background: rgba(227, 91, 10, 0.18);
  border-color: rgba(227, 91, 10, 0.4);
  color: var(--danger-red);
}

.gp-link {
  color: var(--primary-yellow);
}

.gp-link:hover {
  color: var(--hover-yellow);
}

@media (max-width: 768px) {
  .gp-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gp-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .gp-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .gp-toolbar-group {
    width: 100%;
    justify-content: flex-start;
  }

  .gp-table-actions,
  .gp-btn,
  button.gp-btn,
  input.gp-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Demo-specific additions for layout reference */
.demo-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(43, 124, 255, 0.85), rgba(25, 79, 184, 0.85));
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--white);
  text-transform: uppercase;
}
.gp-nav .gp-muted {
  margin-left: 0.75rem;
}
.gp-nav .gp-chip {
  border-radius: 999px;
}
.demo-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.demo-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.demo-card-meta strong {
  color: var(--white);
  font-size: 0.85rem;
}
.demo-map {
  height: 260px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background:
    radial-gradient(circle at 20% 30%, rgba(43, 124, 255, 0.45), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(251, 183, 20, 0.35), transparent 60%),
    linear-gradient(135deg, rgba(12, 14, 18, 0.8), rgba(30, 34, 40, 0.9));
  position: relative;
  overflow: hidden;
}
.demo-map::after {
  content: "Interactive map preview";
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-legend {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.demo-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.demo-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--accent-blue);
}
.demo-legend-swatch.buffer {
  background: rgba(251, 183, 20, 0.8);
}
.demo-legend-swatch.hazard {
  background: var(--danger-red);
}
@media (max-width: 640px) {
  .demo-legend {
    flex-direction: column;
    align-items: flex-start;
  }
}
  

/* === Glidepath brighter accents === */
:root {
  --hero-grad-start: #e7f0ff;
  --hero-grad-end: #d8e6ff;
  --brand-glow: rgba(43, 124, 255, 0.16);
}
.gp-hero {
  position: relative;
  background: radial-gradient(1200px 600px at 20% -10%, var(--brand-glow), transparent 60%),
              linear-gradient(135deg, var(--hero-grad-start), var(--hero-grad-end));
  border-radius: 18px;
  overflow: hidden;
}
.gp-hero::after{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(800px 400px at 120% 120%, rgba(43,124,255,0.18), transparent 55%);
  pointer-events:none;
}
.gp-burst {
  background: linear-gradient(135deg, rgba(43,124,255,0.85), rgba(25,79,184,0.85));
  color:#fff; border-radius:12px; padding:.45rem .6rem; font-weight:700; letter-spacing:.08em;
}
.fade-in { opacity:0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity:1; transform: none; }
.hero-actions { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:1rem; }
.feature-card img { width:100%; border-radius:12px; margin-top:.6rem; border:1px solid rgba(0,0,0,.06); }
.blog-grid { display:grid; gap:1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.blog-card { background: #ffffff; border:1px solid rgba(0,0,0,.06); border-radius:14px; padding:1rem; box-shadow:0 8px 24px rgba(0,0,0,0.08); }
.blog-card h3{ margin:.2rem 0 .5rem 0; }
.blog-card .meta{ font-size:.8rem; color: var(--muted); margin-bottom:.4rem; }
.blog-card-image{ margin:0 auto .75rem auto; border-radius:10px; overflow:hidden; width:100%; max-width:100%; display:block; }
.blog-card-image img{ width:100%; height:auto; display:block; object-fit:cover; }
.blog-card-summary p{ margin:0 0 .75rem 0; line-height:1.5; }
.blog-card-summary p:last-child{ margin-bottom:0; }
.header-compact .gp-nav a{padding:.35rem .6rem;}
.brand-logo { display:flex; align-items:center; gap:.65rem; font-weight:800; letter-spacing:.02em; font-size:1.1rem; }
