:root {
  color-scheme: light dark;
  --gp-bg: #f6f6f3;
  --gp-ink: #080808;
  --gp-muted: #606060;
  --gp-panel: #ffffff;
  --gp-panel-2: #eeeeea;
  --gp-line: rgba(8, 8, 8, 0.12);
  --gp-accent: #d8ff3e;
  --gp-accent-2: #bfff00;
  --gp-dark: #050505;
  --gp-soft: rgba(216, 255, 62, 0.22);
  --gp-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --gp-bg: #050505;
    --gp-ink: #f8f8f3;
    --gp-muted: #aaa;
    --gp-panel: #0f0f0f;
    --gp-panel-2: #171717;
    --gp-line: rgba(255, 255, 255, 0.14);
    --gp-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gp-ink);
  background:
    radial-gradient(circle at 15% 0%, var(--gp-soft), transparent 32rem),
    radial-gradient(circle at 100% 10%, rgba(255,255,255,0.12), transparent 28rem),
    var(--gp-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.gp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid var(--gp-line);
  background: color-mix(in srgb, var(--gp-bg) 88%, transparent);
  backdrop-filter: blur(18px);
}
.gp-brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.gp-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #050505;
  background: var(--gp-accent);
  border-radius: 50%;
  font-weight: 950;
}
.gp-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--gp-muted);
  font-size: 0.94rem;
}
.gp-nav a[aria-current="page"], .gp-nav a:hover { color: var(--gp-ink); }
.gp-header-action, .gp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.gp-header-action, .gp-button.primary {
  color: #050505;
  background: var(--gp-accent);
  border-color: var(--gp-accent);
}
.gp-button.ghost {
  color: var(--gp-ink);
  background: transparent;
}
.gp-button:hover, .gp-header-action:hover { transform: translateY(-2px); }
.gp-button.full { width: 100%; }
.gp-menu { display: none; }

.gp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(28px, 6vw, 80px);
  min-height: calc(100vh - 68px);
  padding: clamp(54px, 8vw, 110px) clamp(18px, 6vw, 92px);
  align-items: center;
}
.gp-eyebrow {
  margin: 0 0 12px;
  color: color-mix(in srgb, var(--gp-ink) 72%, var(--gp-accent));
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 980px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: .9;
  letter-spacing: -0.08em;
}
h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: .96;
  letter-spacing: -0.06em;
}
h3 { margin-bottom: 8px; font-size: 1.2rem; }
.gp-hero-copy p, .gp-page-head p, .gp-section-head p, .gp-band p {
  max-width: 760px;
  color: var(--gp-muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}
.gp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gp-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.gp-trust span, .gp-notice {
  padding: 10px 14px;
  border: 1px solid var(--gp-line);
  border-radius: 999px;
  color: var(--gp-muted);
  background: color-mix(in srgb, var(--gp-panel) 72%, transparent);
  font-size: .92rem;
}
.gp-hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--gp-line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(216,255,62,.25), transparent 35%),
    var(--gp-dark);
  overflow: hidden;
  box-shadow: var(--gp-shadow);
}
.gp-terminal {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  color: #f8f8f3;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.gp-terminal span { color: var(--gp-accent); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 900; }
.gp-terminal strong { display: block; margin: 12px 0; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.06em; }
.gp-terminal p { color: #cfcfcf; }
.gp-orbit {
  position: absolute;
  border: 1px solid rgba(216,255,62,.35);
  border-radius: 50%;
}
.gp-orbit.one { width: 340px; height: 340px; top: 40px; right: -70px; }
.gp-orbit.two { width: 220px; height: 220px; top: 120px; left: 60px; }

.gp-section, .gp-page, .gp-band {
  padding: clamp(54px, 8vw, 100px) clamp(18px, 6vw, 92px);
}
.gp-page { min-height: 72vh; }
.gp-page-head { margin-bottom: clamp(28px, 5vw, 58px); }
.gp-section-head { margin-bottom: 26px; }
.gp-steps, .gp-dashboard, .gp-source-grid, .gp-auth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gp-steps article, .gp-dashboard article, .gp-source-grid article, .gp-form, .gp-results, .gp-report-shell, .gp-legal, .gp-proof-list, .gp-action-list article {
  border: 1px solid var(--gp-line);
  border-radius: 28px;
  background: color-mix(in srgb, var(--gp-panel) 88%, transparent);
  box-shadow: var(--gp-shadow);
}
.gp-steps article, .gp-dashboard article, .gp-source-grid article, .gp-proof-list, .gp-action-list article { padding: 24px; }
.gp-steps span, .gp-source-grid span, .gp-dashboard span {
  display: inline-block;
  margin-bottom: 28px;
  color: #050505;
  background: var(--gp-accent);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 950;
  font-size: .76rem;
}
.gp-steps p, .gp-dashboard p, .gp-source-grid p, .gp-proof-list p, .gp-action-list p { color: var(--gp-muted); }
.gp-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(18px, 6vw, 92px);
  border: 1px solid var(--gp-line);
  border-radius: 36px;
  background: var(--gp-panel);
}
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.gp-scan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 18px;
  align-items: start;
}
.gp-form, .gp-results, .gp-report-shell, .gp-legal { padding: clamp(20px, 3vw, 34px); }
.gp-form-block { margin-top: 28px; }
.gp-form-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.gp-form-title span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #050505;
  background: var(--gp-accent);
  font-weight: 950;
}
.gp-form-title p { color: var(--gp-muted); margin-bottom: 0; }
.gp-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
label { display: grid; gap: 8px; font-weight: 750; }
.wide { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  border: 1px solid var(--gp-line);
  border-radius: 18px;
  padding: 14px 16px;
  color: var(--gp-ink);
  background: var(--gp-bg);
  outline: none;
}
input:focus, textarea:focus { border-color: color-mix(in srgb, var(--gp-accent) 70%, var(--gp-line)); }
.hp { position: absolute; left: -9999px; }
.gp-file {
  padding: 24px;
  border: 1px dashed color-mix(in srgb, var(--gp-accent) 55%, var(--gp-line));
  border-radius: 24px;
  background: color-mix(in srgb, var(--gp-accent) 8%, transparent);
}
.gp-file input { margin-bottom: 10px; }
.gp-file small, .gp-consent, .gp-message { color: var(--gp-muted); }
.gp-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--gp-line);
  border-radius: 24px;
}
.gp-checks legend { padding: 0 8px; font-weight: 900; }
.gp-checks label, .gp-consent { display: flex; align-items: center; gap: 10px; }
.gp-results { position: sticky; top: 92px; }
.gp-score strong { display: block; font-size: clamp(4rem, 8vw, 6.8rem); line-height: .9; letter-spacing: -.08em; }
.gp-score span { color: var(--gp-muted); }
.gp-meter {
  height: 12px;
  margin: 20px 0;
  border-radius: 999px;
  background: var(--gp-panel-2);
  overflow: hidden;
}
.gp-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gp-accent), #ff7a59);
  transition: width .35s ease;
}
.gp-result-list, .report-list, .gp-action-list { display: grid; gap: 12px; margin-top: 18px; }
.gp-result-list article, .report-list article {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gp-line);
  border-radius: 20px;
  background: var(--gp-bg);
}
.dot { width: 12px; height: 12px; flex: 0 0 auto; margin-top: 6px; border-radius: 50%; background: var(--gp-muted); }
.dot.low { background: #29c36a; }
.dot.medium { background: #f5b942; }
.dot.high { background: #ff5959; }
.dot.neutral { background: var(--gp-accent); }
.hidden { display: none !important; }

.gp-report-shell { display: grid; gap: 18px; }
.report-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  color: #f8f8f3;
  border-radius: 28px;
  background: var(--gp-dark);
}
.report-hero strong { color: var(--gp-accent); font-size: clamp(3rem, 6vw, 5.4rem); letter-spacing: -.08em; }
.report-block {
  padding: 24px;
  border: 1px solid var(--gp-line);
  border-radius: 24px;
  background: var(--gp-bg);
}
.source-link {
  align-self: center;
  color: #050505;
  background: var(--gp-accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
}
.empty-text { color: var(--gp-muted); }
.gp-legal { max-width: 980px; }
.gp-legal h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); margin-top: 28px; }
.gp-auth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gp-auth-grid .gp-form { display: grid; gap: 16px; }

.gp-footer {
  padding: 54px clamp(18px, 6vw, 92px) 30px;
  border-top: 1px solid var(--gp-line);
  background: var(--gp-panel);
}
.gp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}
.gp-footer p, .gp-footer a, .gp-footer-bottom { color: var(--gp-muted); }
.gp-footer h2 { font-size: 1rem; letter-spacing: 0; }
.gp-footer a { display: block; margin: 9px 0; }
.gp-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--gp-line);
}

@media (max-width: 980px) {
  .gp-header { grid-template-columns: auto auto; }
  .gp-menu { display: inline-flex; justify-self: end; border: 1px solid var(--gp-line); border-radius: 999px; padding: 9px 13px; color: var(--gp-ink); background: transparent; }
  .gp-nav, .gp-header-action { display: none; }
  .gp-nav.open { display: grid; grid-column: 1 / -1; justify-content: stretch; gap: 0; }
  .gp-nav.open a { padding: 12px 0; border-top: 1px solid var(--gp-line); }
  .gp-hero, .gp-scan-layout, .split { grid-template-columns: 1fr; }
  .gp-hero-visual { min-height: 360px; }
  .gp-steps, .gp-dashboard, .gp-source-grid, .gp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-results { position: static; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.6rem, 16vw, 4.4rem); }
  .gp-fields, .gp-checks, .gp-steps, .gp-dashboard, .gp-source-grid, .gp-auth-grid, .gp-footer-grid { grid-template-columns: 1fr; }
  .gp-band, .report-hero, .gp-footer-bottom { display: grid; }
}
