:root {
  --ink: #15251f;
  --muted: #64716b;
  --cream: #f3f0e8;
  --paper: #fbfaf6;
  --green: #266a4e;
  --lime: #cbe86b;
  --line: #d9ddd5;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
main > section,
footer {
  padding-right: max(6vw, 24px);
  padding-left: max(6vw, 24px);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  max-width: 1600px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.logo {
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.logo span {
  color: var(--green);
}

.main-nav {
  display: flex;
  gap: 36px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.language-toggle {
  min-width: 42px;
  padding: 7px 10px;
  border: 1px solid rgba(20, 48, 36, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  font: 700 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.7px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.language-toggle:hover {
  border-color: var(--green);
  background: white;
  transform: translateY(-1px);
}

.main-nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  min-height: 760px;
  align-items: center;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 6vw;
  padding-top: 130px;
  padding-bottom: 90px;
  background:
    radial-gradient(circle at 80% 30%, rgba(203, 232, 107, 0.16), transparent 28%),
    linear-gradient(135deg, #fbfaf6 0%, #f3f0e8 100%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 800px;
  margin-bottom: 30px;
  font-size: clamp(48px, 5.6vw, 84px);
}

h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 5px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  background: #1e573f;
}

.text-link {
  font-size: 14px;
  font-weight: 700;
}

.text-link span,
.project-link span {
  display: inline-block;
  margin-left: 7px;
  transition: transform 180ms ease;
}

.text-link:hover span,
.project-link:hover span {
  transform: translate(3px, -2px);
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.visual-card {
  position: absolute;
  z-index: 2;
  top: 65px;
  left: 4%;
  width: 90%;
  max-width: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 35px 80px rgba(21, 37, 31, 0.2);
  transform: rotate(2deg);
}

.code-top {
  display: flex;
  height: 54px;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
  color: #87938e;
  background: #1c3028;
  font-family: monospace;
  font-size: 12px;
}

.code-top i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #456056;
}

.code-top span {
  margin-left: 10px;
}

.code-lines {
  min-height: 280px;
  padding: 42px 45px;
  color: #dfe9e4;
  background: #15251f;
  font-family: monospace;
  font-size: clamp(13px, 1.2vw, 17px);
  line-height: 1.9;
}

.code-lines p {
  margin: 0;
}

.code-lines b {
  color: var(--lime);
}

.code-lines strong {
  color: #e8bd75;
  font-weight: 400;
}

.status-pill {
  position: absolute;
  z-index: 3;
  right: -5px;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 30px;
  box-shadow: 0 12px 35px rgba(21, 37, 31, 0.14);
  background: white;
  font-size: 12px;
  font-weight: 700;
}

.status-pill i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64c876;
  box-shadow: 0 0 0 5px rgba(100, 200, 118, 0.15);
}

.shape {
  position: absolute;
  border-radius: 50%;
}

.shape-one {
  top: 20px;
  right: 5%;
  width: 160px;
  height: 160px;
  border: 35px solid var(--lime);
  opacity: 0.7;
}

.shape-two {
  bottom: 30px;
  left: 0;
  width: 80px;
  height: 80px;
  background: var(--green);
  opacity: 0.15;
}

.section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.security-section {
  padding-top: 120px;
  padding-bottom: 120px;
  color: #e9f2ed;
  background:
    radial-gradient(circle at 90% 10%, rgba(203, 232, 107, 0.1), transparent 28%),
    #10211b;
}

.security-heading {
  display: grid;
  align-items: end;
  margin-bottom: 55px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.security-heading h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 5vw, 68px);
}

.security-heading > p {
  max-width: 540px;
  margin: 0 0 5px;
  color: #a9bab1;
}

.eyebrow-security {
  color: var(--lime);
}

.security-console {
  overflow: hidden;
  border: 1px solid #31463d;
  border-radius: var(--radius);
  background: #172b23;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.25);
}

.scan-form {
  padding: 42px;
}

.scan-form > label:first-child {
  display: block;
  margin-bottom: 10px;
  color: #dce8e1;
  font-size: 13px;
  font-weight: 700;
}

.scan-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.url-input {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 0 19px;
  border: 1px solid #40564c;
  border-radius: 8px;
  background: #10211b;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.url-input:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(203, 232, 107, 0.1);
}

.url-input > span {
  color: var(--lime);
  font-size: 20px;
}

.url-input input {
  width: 100%;
  height: 62px;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  font: inherit;
}

.url-input input::placeholder {
  color: #71847a;
}

.scan-button {
  display: flex;
  min-width: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.scan-button:hover {
  background: #dcf58a;
  transform: translateY(-1px);
}

.scan-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.authorization-check {
  display: flex;
  max-width: 760px;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  color: #a9bab1;
  cursor: pointer;
  font-size: 12px;
}

.authorization-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--lime);
}

.scan-scope {
  margin: 12px 0 0 26px;
  color: #70847a;
  font-size: 11px;
}

.source-summary {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.scan-progress {
  padding: 0 42px 36px;
}

.progress-line {
  height: 3px;
  overflow: hidden;
  border-radius: 5px;
  background: #2c4037;
}

.progress-line span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  animation: scan-progress 1.3s ease-in-out infinite;
}

.scan-progress p {
  margin: 12px 0 0;
  color: #a9bab1;
  font-size: 12px;
}

@keyframes scan-progress {
  from { transform: translateX(-110%); }
  to { transform: translateX(300%); }
}

.scan-error {
  margin: 0 42px 36px;
  padding: 14px 17px;
  border: 1px solid #864c4c;
  border-radius: 7px;
  color: #ffd6d6;
  background: rgba(138, 53, 53, 0.18);
  font-size: 13px;
}

.scan-results {
  border-top: 1px solid #31463d;
}

.result-overview {
  display: grid;
  align-items: center;
  padding: 35px 42px;
  grid-template-columns: auto 1fr auto;
  gap: 25px;
  background: #13271f;
}

.score-ring {
  display: grid;
  width: 96px;
  height: 96px;
  place-content: center;
  border: 7px solid var(--score-color, var(--lime));
  border-radius: 50%;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.score-ring strong {
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.score-ring span {
  color: #8ca097;
  font-size: 10px;
}

.result-kicker {
  margin: 0 0 4px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.result-overview h3 {
  margin-bottom: 7px;
  font-size: 24px;
  letter-spacing: -0.8px;
}

.result-overview p:last-child {
  max-width: 620px;
  margin: 0;
  color: #9eafa6;
  font-size: 13px;
}

.result-counts {
  display: flex;
  gap: 10px;
}

.result-counts div {
  min-width: 78px;
  padding: 12px;
  border: 1px solid #31463d;
  border-radius: 7px;
  text-align: center;
}

.result-counts strong,
.result-counts span {
  display: block;
}

.result-counts strong {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
}

.result-counts span {
  color: #84978e;
  font-size: 9px;
  text-transform: uppercase;
}

.result-columns {
  display: grid;
  min-width: 0;
  padding: 42px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 35px;
}

.result-columns > * {
  min-width: 0;
}

.result-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.result-section-title h3,
.intelligence-panel h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.result-section-title span {
  color: #70847a;
  font-size: 10px;
}

.findings-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.finding {
  display: grid;
  min-width: 0;
  max-width: 100%;
  padding: 18px;
  border: 1px solid #31463d;
  border-radius: 8px;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: #13271f;
}

.finding > div {
  min-width: 0;
}

.severity-dot {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--severity);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--severity) 15%, transparent);
}

.finding[data-severity="critical"] { --severity: #ff6b6b; }
.finding[data-severity="high"] { --severity: #ff9670; }
.finding[data-severity="medium"] { --severity: #f0c65c; }
.finding[data-severity="low"] { --severity: #79a9d4; }

.finding h4 {
  margin: 0 0 5px;
  font-size: 14px;
}

.finding p {
  margin: 0;
  color: #91a39a;
  font-size: 12px;
}

.finding .fix {
  margin-top: 8px;
  color: #cbd8d1;
}

.finding-references {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.finding-references a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid #365247;
  border-radius: 999px;
  color: #c8d6cf;
  background: #10211b;
  font-size: 9px;
  font-weight: 700;
}

.finding-references a:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.finding-references a span {
  color: var(--lime);
  font-size: 8px;
}

.finding .finding-locations {
  min-width: 0;
  max-width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #2d463a;
  border-radius: 7px;
  background: rgba(7, 20, 15, 0.45);
}

.finding-locations > strong {
  display: block;
  margin-bottom: 7px;
  color: #8da198;
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.location-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.location-entry {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #304d40;
  border-radius: 6px;
  background: #0a1813;
}

.location-chip {
  display: grid;
  min-width: 0;
  align-items: center;
  padding: 7px 8px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 7px;
  background: #0d1d17;
}

.location-icon {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 4px;
  color: #13271f;
  background: var(--lime);
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
}

.location-chip code {
  overflow: hidden;
  color: #d3dfd8;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-position {
  padding: 3px 6px;
  border-radius: 4px;
  color: #8fa39a;
  background: #172d24;
  font-size: 8px;
  white-space: nowrap;
}

.location-position strong {
  color: var(--lime);
  font-size: 9px;
}

.code-snippet {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 11px 12px;
  overflow: hidden;
  border-top: 1px solid #263d33;
  color: #c7d5cd;
  background: #09140f;
  font-size: 10px;
  line-height: 1.65;
  tab-size: 2;
}

.code-snippet code {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.reproduction {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin-top: 10px;
  padding: 11px 12px;
  border-left: 3px solid #79a9d4;
  border-radius: 0 6px 6px 0;
  background: rgba(121, 169, 212, 0.07);
}

.reproduction > strong {
  display: block;
  margin-bottom: 6px;
  color: #b9d0e4;
  font-size: 10px;
}

.reproduction ol {
  overflow-wrap: anywhere;
  margin: 0;
  padding-left: 18px;
  color: #9eb0a7;
  font-size: 10px;
  line-height: 1.55;
}

.reproduction li + li {
  margin-top: 4px;
}

.finding-impact {
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--severity) 45%, #304038);
  border-radius: 6px;
  background: color-mix(in srgb, var(--severity) 8%, transparent);
}

.finding-impact > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--severity);
  font-size: 10px;
}

.finding .finding-impact p {
  color: #c4d0ca;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .location-chip {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .location-position {
    grid-column: 2;
    width: fit-content;
  }
}

.admin-page {
  min-height: 100vh;
  background: #f6f7f4;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 260px 1fr;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 28px 22px;
  border-right: 1px solid #dde3dc;
  background: #ffffff;
}

.admin-brand {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.admin-brand span {
  color: var(--green);
}

.admin-tool-nav {
  display: grid;
  gap: 8px;
}

.admin-tool-link {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #53615a;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.admin-tool-link:hover,
.admin-tool-link.active {
  color: var(--ink);
  background: #edf2ea;
}

.admin-workspace {
  padding: 34px max(4vw, 24px) 48px;
}

.admin-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.admin-eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.admin-topbar h1,
.admin-section-heading h2 {
  margin: 0;
  letter-spacing: 0;
}

.admin-topbar h1 {
  font-size: clamp(34px, 4vw, 56px);
}

.admin-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d5ddd4;
  border-radius: 6px;
  color: #53615a;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-section-heading {
  max-width: 680px;
  margin-bottom: 22px;
}

.admin-section-heading h2 {
  font-size: 26px;
}

.admin-section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-tool-card {
  display: grid;
  min-height: 170px;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid #dce3da;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.admin-tool-card:hover {
  border-color: #b7c7b8;
}

.admin-tool-card.muted {
  cursor: default;
  opacity: 0.72;
}

.admin-tool-card span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.admin-tool-card strong,
.admin-placeholder strong {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.admin-tool-card small,
.admin-placeholder p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.admin-placeholder,
.admin-notes textarea {
  width: min(100%, 820px);
  border: 1px solid #dce3da;
  border-radius: 8px;
  background: #fff;
}

.admin-placeholder {
  padding: 22px;
}

.admin-placeholder p {
  margin: 8px 0 0;
}

.admin-notes textarea {
  display: block;
  min-height: 320px;
  padding: 18px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.admin-notes textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(38, 106, 78, 0.12);
}

.admin-search-form {
  display: grid;
  max-width: 980px;
  grid-template-columns: minmax(260px, 1fr) 160px auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.admin-search-form label {
  display: grid;
  gap: 7px;
  color: #53615a;
  font-size: 13px;
  font-weight: 800;
}

.admin-search-form input,
.admin-search-form select {
  min-height: 46px;
  width: 100%;
  border: 1px solid #d5ddd4;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.admin-search-form input {
  padding: 0 13px;
}

.admin-search-form select {
  padding: 0 10px;
}

.admin-search-form input:focus,
.admin-search-form select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(38, 106, 78, 0.12);
}

.admin-primary-action,
.admin-secondary-action {
  min-height: 46px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.admin-primary-action {
  padding: 0 20px;
  color: #fff;
  background: var(--green);
}

.admin-secondary-action {
  padding: 0 14px;
  color: var(--green);
  background: #edf2ea;
}

.admin-primary-action:disabled,
.admin-secondary-action:disabled {
  cursor: wait;
  opacity: 0.58;
}

.admin-result-meta {
  display: flex;
  max-width: 980px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #dce3da;
  border-radius: 8px;
  background: #fff;
}

.admin-result-meta div {
  display: grid;
  gap: 3px;
}

.admin-result-meta span,
.admin-result-meta small {
  color: var(--muted);
}

.admin-result-meta small {
  max-width: 760px;
  font-size: 12px;
  line-height: 1.45;
}

.admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dce3da;
  border-radius: 8px;
  background: #fff;
}

.admin-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #edf0eb;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #53615a;
  background: #f8faf7;
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table a {
  color: var(--green);
  font-weight: 700;
  word-break: break-word;
}

.admin-inline-action {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.admin-inline-action:disabled {
  cursor: wait;
  opacity: 0.6;
}

.review-result {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.website-review {
  display: grid;
  gap: 3px;
  min-width: 220px;
}

.website-review strong {
  color: var(--ink);
}

.website-review span,
.website-review small {
  color: var(--muted);
}

@media (max-width: 820px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    border-right: 0;
    border-bottom: 1px solid #dde3dc;
  }

  .admin-tool-nav {
    display: flex;
    overflow-x: auto;
  }

  .admin-tool-link {
    white-space: nowrap;
  }

  .admin-tool-grid {
    grid-template-columns: 1fr;
  }

  .admin-search-form,
  .admin-result-meta {
    grid-template-columns: 1fr;
  }

  .admin-search-form {
    display: grid;
  }

  .admin-result-meta {
    display: grid;
  }
}

.finding small {
  display: inline-block;
  margin-top: 8px;
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.empty-result {
  padding: 25px;
  border: 1px solid #345547;
  border-radius: 8px;
  color: #b8d1c4;
  background: rgba(57, 112, 86, 0.12);
  font-size: 13px;
}

.intelligence-panel {
  min-width: 0;
  padding: 24px;
  border: 1px solid #31463d;
  border-radius: 10px;
  background: #10211b;
}

.methodology-panel {
  padding: 0 42px 42px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
}

.methodology-grid > div {
  min-width: 0;
}

.methodology-grid h4 {
  margin: 0 0 12px;
  color: #cbd8d1;
  font-size: 12px;
}

.attack-surface-list,
.hypothesis-list {
  display: grid;
  gap: 9px;
}

.surface-card,
.hypothesis-card {
  padding: 13px;
  border: 1px solid #30463c;
  border-radius: 8px;
  background: #10211b;
}

.surface-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.surface-card strong,
.hypothesis-card h5 {
  color: #e3ebe7;
  font-size: 12px;
}

.surface-card span,
.hypothesis-card > span {
  padding: 3px 7px;
  border-radius: 999px;
  color: var(--lime);
  background: rgba(203, 232, 107, 0.09);
  font-size: 9px;
  font-weight: 700;
}

.surface-card p,
.surface-card small,
.hypothesis-card p {
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  color: #91a39a;
  font-size: 10px;
  line-height: 1.5;
}

.hypothesis-card h5 {
  margin: 8px 0 0;
}

.hypothesis-card .expected-check {
  padding: 8px;
  border-left: 2px solid var(--lime);
  color: #c4d0ca;
  background: rgba(203, 232, 107, 0.05);
}

.methodology-empty {
  color: #84978e;
  font-size: 11px;
}

@media (max-width: 900px) {
  .methodology-grid {
    grid-template-columns: 1fr;
  }
}

.intelligence-panel > p {
  color: #84978e;
  font-size: 12px;
}

.cms-summary {
  display: grid;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #3d594d;
  border-radius: 7px;
  gap: 3px;
  background: rgba(203, 232, 107, 0.06);
}

.cms-summary strong {
  color: var(--lime);
  font-size: 13px;
}

.cms-summary span {
  color: #84978e;
  font-size: 10px;
}

.intelligence-panel h4 {
  margin: 25px 0 12px;
  color: #cbd8d1;
  font-size: 12px;
}

.technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.technology-list span {
  padding: 6px 10px;
  border-radius: 20px;
  color: var(--lime);
  background: rgba(203, 232, 107, 0.09);
  font-size: 10px;
  font-weight: 700;
}

.cve-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cve-item {
  display: block;
  padding: 11px;
  border: 1px solid #2d4238;
  border-radius: 6px;
  background: #152820;
}

.cve-item:hover {
  border-color: #587063;
}

.cve-item strong {
  display: block;
  font-size: 11px;
}

.cve-item small {
  display: block;
  margin-top: 5px;
  color: #84978e;
  font-size: 9px;
  line-height: 1.4;
}

.cve-item span {
  color: #85988e;
  font-size: 9px;
}

.cve-item .kev-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  border-radius: 3px;
  color: #281313;
  background: #ff7d7d;
  font-weight: 800;
}

.sources-block {
  margin-top: 70px;
}

.sources-heading {
  display: grid;
  align-items: end;
  margin-bottom: 25px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.sources-heading .eyebrow {
  margin-bottom: 12px;
}

.sources-heading h3 {
  margin: 0;
  font-size: 28px;
}

.sources-heading > p {
  margin: 0;
  color: #92a49b;
  font-size: 13px;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
}

.source-grid a {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  border: 1px solid #31463d;
  border-radius: 7px;
  color: #cbd8d1;
  background: #172b23;
  font-size: 11px;
  font-weight: 600;
  transition: border-color 180ms ease, background 180ms ease;
}

.source-grid a:hover {
  border-color: #687d72;
  background: #1c3329;
}

.source-grid a span {
  color: var(--lime);
}

.feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 45px 0 16px;
}

.feed-heading h3 {
  margin: 0;
  font-size: 20px;
}

.feed-heading button {
  padding: 7px 12px;
  border: 1px solid #40564c;
  border-radius: 5px;
  color: #cbd8d1;
  background: transparent;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.news-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.news-item {
  display: flex;
  min-height: 135px;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  border: 1px solid #31463d;
  border-radius: 7px;
  background: #172b23;
}

.news-item:hover {
  border-color: #687d72;
}

.news-item small {
  color: var(--lime);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.news-item strong {
  margin: 10px 0;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.news-item time {
  color: #70847a;
  font-size: 9px;
}

.feed-placeholder {
  color: #83958c;
  font-size: 12px;
}

.projects-section {
  background: var(--paper);
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 65px;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
}

.section-heading h2,
.about-title h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4vw, 58px);
}

.section-heading > p {
  max-width: 480px;
  margin: 0 0 5px;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
  box-shadow: 0 22px 55px rgba(21, 37, 31, 0.1);
  transform: translateY(-5px);
}

.project-featured {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr 0.8fr;
}

.project-preview {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 42px;
}

.project-featured .project-preview {
  min-height: 440px;
}

.preview-booking {
  background: #dce5dc;
}

.browser-bar {
  display: flex;
  height: 35px;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border-radius: 10px 10px 0 0;
  background: #f7f8f5;
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccd3cb;
}

.mock-booking {
  display: grid;
  height: 320px;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 25px 50px rgba(21, 37, 31, 0.16);
  grid-template-columns: 23% 77%;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 26px 18px;
  color: white;
  background: var(--ink);
  font-size: 10px;
}

.mock-sidebar span {
  width: 75%;
  height: 5px;
  border-radius: 5px;
  background: #4a5a53;
}

.mock-content {
  padding: 42px 35px;
  background: #f8f8f4;
}

.mock-content small {
  color: #8b958f;
}

.mock-content h3 {
  margin: 6px 0 25px;
  font-size: 22px;
  letter-spacing: -1px;
}

.mock-stats {
  display: flex;
  gap: 10px;
}

.mock-stats i {
  width: 31%;
  height: 50px;
  border-radius: 7px;
  background: white;
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.mock-list span {
  height: 26px;
  border-radius: 5px;
  background: white;
}

.project-info {
  padding: 42px;
}

.project-featured .project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px;
}

.project-number {
  margin: 0 0 15px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.project-info h3 {
  margin-bottom: 16px;
  font-size: 30px;
}

.project-info > p:not(.project-number) {
  margin-top: 0;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 30px;
  list-style: none;
}

.tags li {
  padding: 6px 12px;
  border-radius: 20px;
  color: #415149;
  background: var(--cream);
  font-size: 11px;
  font-weight: 600;
}

.project-link {
  align-self: flex-start;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.preview-corporate {
  display: flex;
  align-items: center;
  background: #e9e4db;
}

.mini-site {
  position: relative;
  width: 100%;
  height: 245px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(60, 48, 35, 0.18);
  background: #fffaf1;
}

.mini-nav {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 22px;
  font-size: 8px;
}

.mini-nav b {
  margin-right: auto;
  font-size: 13px;
}

.mini-nav span {
  width: 25px;
  height: 3px;
  background: #c9c0b2;
}

.mini-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 35px;
}

.mini-copy small {
  font-size: 7px;
  letter-spacing: 2px;
}

.mini-copy strong {
  margin-top: 10px;
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  line-height: 1.05;
}

.mini-copy i {
  width: 55px;
  height: 13px;
  margin-top: 18px;
  border-radius: 20px;
  background: #db795d;
}

.mini-orb {
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef9479, #c85153);
}

.preview-dashboard {
  display: flex;
  align-items: center;
  background: #dfe4ec;
}

.dashboard {
  display: grid;
  width: 100%;
  height: 245px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(31, 42, 60, 0.18);
  background: #f5f7fa;
  grid-template-columns: 12% 88%;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-top: 25px;
  background: #293d62;
}

.dash-nav i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #6f80a0;
}

.dash-main {
  padding: 26px;
}

.dash-main small {
  font-weight: 700;
}

.dash-cards {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.dash-cards i {
  width: 31%;
  height: 45px;
  border-radius: 5px;
  background: white;
  box-shadow: 0 4px 15px rgba(41, 61, 98, 0.06);
}

.dash-chart {
  display: flex;
  height: 100px;
  align-items: flex-end;
  gap: 12px;
  padding: 12px 18px 0;
  border-radius: 5px;
  background: white;
}

.dash-chart span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #5577b5;
}

.about-section {
  display: grid;
  background: var(--cream);
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
}

.about-copy {
  max-width: 600px;
}

.large-copy {
  margin-top: 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.about-copy > p:not(.large-copy) {
  color: var(--muted);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 35px;
}

.skills span {
  padding: 9px 15px;
  border: 1px solid #cbd1c8;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.contact-section {
  padding-top: 110px;
  padding-bottom: 110px;
  color: white;
  background: var(--green);
}

.contact-inner {
  max-width: 850px;
}

.eyebrow-light {
  color: var(--lime);
}

.contact-inner h2 {
  margin-bottom: 25px;
  font-size: clamp(48px, 6vw, 78px);
}

.contact-inner > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 35px;
  color: #d9e9df;
  font-size: 18px;
}

.button-light {
  color: var(--ink);
  background: var(--lime);
}

.button-light:hover {
  background: #dbf48a;
}

footer {
  display: flex;
  min-height: 128px;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 80px);
  border-top: 1px solid rgba(21, 37, 31, 0.08);
  background: var(--paper);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.footer-brand > div {
  display: grid;
  gap: 5px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 12px;
}

.footer-brand a:not(.logo) {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-meta a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(21, 37, 31, 0.1);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.footer-meta a:hover,
.footer-meta a[aria-current="page"] {
  border-color: rgba(0, 113, 227, 0.22);
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
}

.footer-meta a:active {
  transform: scale(0.97);
}

.footer-links {
  display: flex;
  gap: 25px;
  font-size: 13px;
  font-weight: 600;
}

.legal-page {
  color: #1d1d1f;
  background:
    linear-gradient(180deg, rgba(0, 113, 227, 0.08), rgba(245, 245, 247, 0) 340px),
    #f5f5f7;
}

.legal-page .logo span,
.legal-page .footer-brand a:not(.logo),
.legal-page .main-nav a:hover {
  color: #0071e3;
}

.legal-page footer {
  border-top-color: rgba(0, 0, 0, 0.06);
  background: rgba(245, 245, 247, 0.92);
}

.site-header-static {
  position: relative;
  max-width: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
}

.legal-main {
  min-height: calc(100vh - 290px);
  padding: clamp(78px, 10vw, 132px) max(6vw, 24px) clamp(84px, 9vw, 124px);
}

.legal-hero {
  max-width: 920px;
  padding: 0 0 clamp(38px, 5vw, 64px);
}

.legal-hero h1 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: #1d1d1f;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.078em;
}

.legal-page .legal-hero .eyebrow {
  color: #0071e3;
}

.legal-page .legal-hero .eyebrow span {
  background: #0071e3;
}

.legal-hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: #6e6e73;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 20px;
  max-width: 1100px;
}

.legal-panel {
  display: grid;
  align-content: start;
  gap: 24px;
  min-height: 330px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.legal-panel-primary {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(235, 245, 255, 0.84)),
    #ffffff;
}

.legal-label {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-panel h2 {
  margin: 14px 0 0;
  font-family: "Manrope", sans-serif;
  color: #1d1d1f;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-panel address {
  color: #1d1d1f;
  font-style: normal;
  font-size: 18px;
  line-height: 1.62;
}

.legal-mail {
  width: fit-content;
  color: #0071e3;
  font-weight: 850;
  transition: color 160ms ease, transform 160ms ease;
}

.legal-mail:active {
  transform: scale(0.97);
}

.legal-register-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.legal-register-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.legal-register-list div:first-child {
  padding-top: 0;
}

.legal-register-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-register-list dt {
  color: #86868b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-register-list dd {
  margin: 0;
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: 90%;
    max-width: 600px;
    min-height: 420px;
    margin: 0 auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .security-heading,
  .sources-heading {
    grid-template-columns: 1fr;
  }

  .result-overview {
    grid-template-columns: auto 1fr;
  }

  .result-counts {
    grid-column: 1 / -1;
  }

  .result-columns {
    grid-template-columns: 1fr;
  }

  .source-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-feed {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-featured {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }
}

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

  .site-header > .logo {
    margin-right: auto;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    border: 0;
    background: transparent;
    order: 3;
  }

  .header-actions {
    gap: 10px;
    order: 2;
  }

  .language-toggle {
    position: relative;
    z-index: 3;
    order: -1;
  }

  .menu-button > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-open .menu-button > span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-button > span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-button > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    opacity: 0;
    background: var(--cream);
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .main-nav a {
    font-family: "Manrope", sans-serif;
    font-size: 28px;
  }

  .menu-open .main-nav {
    visibility: visible;
    opacity: 1;
  }

  .hero {
    min-height: auto;
    padding-top: 135px;
    padding-bottom: 70px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-visual {
    width: 100%;
    min-height: 350px;
  }

  .visual-card {
    top: 45px;
    left: 0;
    width: 100%;
  }

  .code-lines {
    min-height: 240px;
    padding: 35px 25px;
  }

  .status-pill {
    right: 0;
    bottom: 5px;
  }

  .shape-one {
    width: 110px;
    height: 110px;
    border-width: 25px;
  }

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .security-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .security-heading {
    margin-bottom: 35px;
  }

  .scan-form,
  .result-columns {
    padding: 25px;
  }

  .scan-input-row {
    grid-template-columns: 1fr;
  }

  .scan-button {
    min-height: 56px;
  }

  .scan-progress {
    padding: 0 25px 25px;
  }

  .scan-error {
    margin: 0 25px 25px;
  }

  .result-overview {
    padding: 28px 25px;
    grid-template-columns: 1fr;
  }

  .score-ring {
    width: 82px;
    height: 82px;
  }

  .result-counts {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .result-counts div {
    min-width: 0;
    padding: 10px 5px;
  }

  .source-grid,
  .news-feed {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .project-preview,
  .project-featured .project-preview {
    min-height: 280px;
    padding: 25px;
  }

  .mock-booking {
    height: 250px;
  }

  .mock-content {
    padding: 25px 18px;
  }

  .mock-content h3 {
    font-size: 15px;
  }

  .project-info,
  .project-featured .project-info {
    padding: 30px;
  }

  .mini-site,
  .dashboard {
    height: 220px;
  }

  .about-section {
    gap: 50px;
  }

  footer {
    flex-wrap: wrap;
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer-brand,
  .footer-meta {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .footer-brand {
    justify-content: space-between;
  }

  .footer-meta {
    justify-content: flex-start;
  }

  .legal-content {
    grid-template-columns: 1fr;
  }

  .legal-register-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Apple-inspired visual system */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --cream: #f5f5f7;
  --paper: #ffffff;
  --green: #0071e3;
  --lime: #64d2ff;
  --line: rgba(0, 0, 0, 0.08);
  --radius: 28px;
}

body {
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo,
.large-copy,
.mini-copy strong,
.result-counts strong,
.score-ring strong,
.news-item strong {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
}

h1,
h2,
h3 {
  letter-spacing: -0.055em;
}

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  width: calc(100% - 32px);
  max-width: 980px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  background: rgba(250, 250, 252, 0.76);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  transform: translateX(-50%);
}

.logo {
  font-size: 21px;
  letter-spacing: -1.2px;
}

.logo span {
  color: #0071e3;
}

.main-nav {
  gap: 30px;
}

.main-nav a {
  color: #3a3a3c;
  font-size: 12px;
  font-weight: 500;
}

.main-nav a::after {
  display: none;
}

.main-nav a:hover {
  color: #0071e3;
}

.hero {
  min-height: 860px;
  padding-top: 150px;
  padding-bottom: 110px;
  background:
    radial-gradient(circle at 81% 28%, rgba(100, 210, 255, 0.28), transparent 25%),
    radial-gradient(circle at 68% 48%, rgba(191, 90, 242, 0.14), transparent 25%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

.eyebrow {
  color: #0071e3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.eyebrow span {
  display: none;
}

h1 {
  font-size: clamp(54px, 6vw, 88px);
  line-height: 0.98;
}

h1 em {
  color: #0071e3;
}

.hero-intro {
  color: #6e6e73;
  font-size: 20px;
  line-height: 1.45;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 15px;
}

.button-primary {
  background: #0071e3;
}

.button-primary:hover {
  background: #0077ed;
}

.text-link {
  color: #0066cc;
  font-size: 15px;
  font-weight: 500;
}

.hero-visual {
  min-height: 520px;
  perspective: 1200px;
}

.apple-window {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.94);
}

.hero-window {
  --base-rotate-x: 2deg;
  --base-rotate-y: -5deg;
  --base-rotate-z: 1deg;
  --scroll-x: 0px;
  --scroll-y: 0px;
  --scroll-rotate-x: 0deg;
  --scroll-rotate-y: 0deg;
  --scroll-rotate-z: 0deg;
  top: 45px;
  left: 0;
  width: 100%;
  max-width: 600px;
  border-radius: 18px;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.2),
    0 4px 15px rgba(0, 0, 0, 0.08);
  transform:
    translate3d(var(--scroll-x), var(--scroll-y), 0)
    rotateX(calc(var(--base-rotate-x) + var(--scroll-rotate-x)))
    rotateY(calc(var(--base-rotate-y) + var(--scroll-rotate-y)))
    rotateZ(calc(var(--base-rotate-z) + var(--scroll-rotate-z)));
  transform-style: preserve-3d;
  will-change: transform;
}

.window-bar {
  position: relative;
  display: grid;
  height: 52px;
  align-items: center;
  padding: 0 15px;
  background: rgba(245, 245, 247, 0.94);
  grid-template-columns: 1fr 2.2fr 1fr;
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.traffic-lights i:nth-child(2) {
  background: #febc2e;
}

.traffic-lights i:nth-child(3) {
  background: #28c840;
}

.address-bar {
  display: flex;
  height: 28px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  color: #6e6e73;
  background: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  white-space: nowrap;
}

.address-bar b {
  color: #3a3a3c;
  font-weight: 500;
}

.window-action {
  color: #8e8e93;
  font-size: 11px;
  text-align: right;
}

.hero-screen {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  padding: 26px 32px;
  background:
    radial-gradient(circle at 80% 70%, rgba(0, 113, 227, 0.25), transparent 28%),
    linear-gradient(145deg, #fff 0%, #edf5ff 100%);
}

.screen-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #6e6e73;
  font-size: 8px;
}

.screen-nav b {
  margin-right: auto;
  color: #1d1d1f;
  font-size: 13px;
}

.screen-content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 310px;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 72px;
}

.screen-content small {
  color: #0071e3;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.screen-content strong {
  margin-top: 12px;
  color: #1d1d1f;
  font-size: 38px;
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.screen-content strong em {
  color: #0071e3;
  font-style: normal;
}

.screen-content > i {
  width: 70px;
  height: 22px;
  margin-top: 24px;
  border-radius: 20px;
  background: #0071e3;
}

.screen-float {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.screen-float-one {
  right: -30px;
  bottom: -60px;
  width: 230px;
  height: 230px;
  background: linear-gradient(135deg, #64d2ff, #0a84ff 60%, #5e5ce6);
  box-shadow: inset 20px 20px 50px rgba(255, 255, 255, 0.35);
}

.screen-float-two {
  right: 120px;
  bottom: 40px;
  width: 70px;
  height: 70px;
  border: 18px solid rgba(191, 90, 242, 0.6);
  backdrop-filter: blur(8px);
}

.glass-pill {
  right: -10px;
  bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #3a3a3c;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.shape-one {
  border-color: #64d2ff;
  opacity: 0.18;
}

.shape-two {
  background: #bf5af2;
  opacity: 0.13;
}

.security-section {
  color: #f5f5f7;
  background:
    radial-gradient(circle at 85% 5%, rgba(10, 132, 255, 0.25), transparent 24%),
    #000;
}

.security-heading h2 {
  font-size: clamp(48px, 5vw, 72px);
}

.security-heading > p {
  color: #a1a1a6;
  font-size: 17px;
}

.eyebrow-security {
  color: #64d2ff;
}

.security-console {
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: rgba(28, 28, 30, 0.84);
  box-shadow: 0 45px 110px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(30px);
}

.url-input {
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: #111113;
}

.url-input:focus-within {
  border-color: #0a84ff;
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.18);
}

.url-input > span,
.result-kicker {
  color: #64d2ff;
}

.scan-button {
  border-radius: 14px;
  color: white;
  background: #0a84ff;
}

.scan-button:hover {
  background: #409cff;
}

.authorization-check,
.scan-scope,
.scan-progress p {
  color: #98989d;
}

.scan-results,
.result-overview {
  border-color: rgba(255, 255, 255, 0.1);
}

.result-overview {
  background: rgba(20, 20, 22, 0.7);
}

.score-ring {
  border-width: 6px;
}

.result-counts div,
.finding,
.intelligence-panel,
.cve-item {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(44, 44, 46, 0.72);
}

.intelligence-panel {
  background: rgba(16, 16, 18, 0.8);
}

.source-grid a,
.news-item {
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(28, 28, 30, 0.8);
}

.source-grid a:hover,
.news-item:hover {
  border-color: rgba(100, 210, 255, 0.55);
  background: #242426;
}

.projects-section {
  background: #fff;
}

.section-heading h2,
.about-title h2 {
  font-size: clamp(42px, 4.5vw, 64px);
}

.section-heading > p,
.project-info > p:not(.project-number),
.about-copy > p:not(.large-copy) {
  color: #6e6e73;
}

.project-grid {
  gap: 24px;
}

.project-card {
  border: 0;
  border-radius: 30px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  background: #f5f5f7;
}

.project-card:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.11);
  transform: translateY(-7px);
}

.project-number {
  color: #0071e3;
}

.project-info h3 {
  font-size: 34px;
}

.tags li {
  color: #515154;
  background: #e8e8ed;
}

.project-link {
  border: 0;
  color: #0066cc;
  font-weight: 500;
}

.preview-booking {
  background: linear-gradient(135deg, #dceeff, #edf5ff 55%, #f5e9ff);
}

.apple-browser-bar {
  position: relative;
  display: grid;
  height: 42px;
  padding: 0 14px;
  background: rgba(245, 245, 247, 0.96);
  grid-template-columns: 1fr 2fr 1fr;
}

.apple-browser-bar > .traffic-lights {
  align-items: center;
}

.apple-browser-bar .traffic-lights i {
  width: 9px;
  height: 9px;
}

.mini-address {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #6e6e73;
  background: white;
  font-size: 8px;
}

.mini-address span {
  margin-right: 4px;
  font-size: 7px;
}

.browser-more {
  align-self: center;
  color: #8e8e93;
  font-size: 9px;
  text-align: right;
}

.mock-booking {
  border-radius: 0 0 13px 13px;
  box-shadow: 0 30px 60px rgba(0, 70, 140, 0.18);
}

.mock-sidebar {
  background: #1c1c1e;
}

.mock-content {
  background: #f9f9fb;
}

.preview-corporate {
  background: linear-gradient(145deg, #f2edff, #f7f7fa);
}

.preview-dashboard {
  background: linear-gradient(145deg, #e6f4ff, #f4f5f8);
}

.project-window {
  --base-rotate-x: 0deg;
  --base-rotate-y: 0deg;
  --base-rotate-z: 0deg;
  --scroll-x: 0px;
  --scroll-y: 0px;
  --scroll-rotate-x: 0deg;
  --scroll-rotate-y: 0deg;
  --scroll-rotate-z: 0deg;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  transform:
    translate3d(var(--scroll-x), var(--scroll-y), 0)
    rotateX(calc(var(--base-rotate-x) + var(--scroll-rotate-x)))
    rotateY(calc(var(--base-rotate-y) + var(--scroll-rotate-y)))
    rotateZ(calc(var(--base-rotate-z) + var(--scroll-rotate-z)));
  transform-style: preserve-3d;
  will-change: transform;
}

.compact-window-bar {
  height: 34px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.compact-window-bar .traffic-lights i,
.dashboard-toolbar .traffic-lights i {
  width: 8px;
  height: 8px;
}

.compact-window-bar .address-bar {
  height: 21px;
  font-size: 7px;
}

.mini-site {
  height: 275px;
}

.dashboard {
  height: 275px;
  grid-template-columns: 12% 88%;
  grid-template-rows: 34px 1fr;
}

.dashboard-toolbar {
  display: grid;
  align-items: center;
  padding: 0 11px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #8e8e93;
  background: rgba(245, 245, 247, 0.98);
  font-size: 7px;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 2fr 1fr;
  text-align: center;
}

.dash-nav {
  padding-top: 25px;
  background: #1c1c1e;
}

.dash-main {
  background: #f7f7f9;
}

.dash-chart span {
  background: linear-gradient(180deg, #64d2ff, #0a84ff);
}

.about-section {
  background: #f5f5f7;
}

.large-copy {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.skills span {
  border: 0;
  border-radius: 980px;
  background: #fff;
}

.contact-section {
  color: #fff;
  background:
    radial-gradient(circle at 80% 30%, rgba(100, 210, 255, 0.38), transparent 25%),
    linear-gradient(135deg, #001b3d, #0066cc 58%, #0a84ff);
}

.eyebrow-light {
  color: #b9edff;
}

.button-light {
  color: #0066cc;
  background: #fff;
}

.button-light:hover {
  background: #f5f5f7;
}

footer {
  background: #f5f5f7;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-window {
    left: 5%;
    width: 90%;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 8px;
    min-height: 48px;
  }

  .main-nav {
    background: rgba(245, 245, 247, 0.96);
    backdrop-filter: blur(24px);
  }

  .main-nav a {
    color: #1d1d1f;
  }

  .hero {
    padding-top: 130px;
  }

  h1 {
    font-size: 50px;
  }

  .hero-window {
    --base-rotate-x: 0deg;
    --base-rotate-y: 0deg;
    --base-rotate-z: 0.5deg;
    top: 30px;
    left: 0;
    width: 100%;
  }

  .window-bar {
    grid-template-columns: 1fr 2fr 0.6fr;
  }

  .hero-screen {
    min-height: 285px;
    padding: 22px;
  }

  .screen-content {
    padding-top: 50px;
  }

  .screen-content strong {
    font-size: 31px;
  }

  .screen-float-one {
    right: -90px;
    width: 200px;
    height: 200px;
  }

  .security-console,
  .project-card {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-window,
  .project-window {
    --scroll-x: 0px !important;
    --scroll-y: 0px !important;
    --scroll-rotate-x: 0deg !important;
    --scroll-rotate-y: 0deg !important;
    --scroll-rotate-z: 0deg !important;
    will-change: auto;
  }
}

/* Admin workspace */
body.admin-page {
  --admin-bg: #f4f6f8;
  --admin-panel: #ffffff;
  --admin-panel-soft: #f9fafb;
  --admin-ink: #18212a;
  --admin-muted: #64707d;
  --admin-line: #dde3ea;
  --admin-accent: #155eef;
  --admin-accent-soft: #e9f0ff;
  --admin-success: #157a4f;
  --admin-radius: 8px;
  min-height: 100vh;
  color: var(--admin-ink);
  background: var(--admin-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

body.admin-page .admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 248px minmax(0, 1fr);
}

body.admin-page .admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  gap: 28px;
  padding: 22px 16px;
  border-right: 1px solid var(--admin-line);
  background: #101820;
  color: #f8fafc;
}

body.admin-page .admin-brand {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

body.admin-page .admin-brand span {
  color: #7dd3fc;
}

body.admin-page .admin-tool-nav {
  display: grid;
  gap: 4px;
}

body.admin-page .admin-tool-link {
  display: flex;
  min-height: 40px;
  align-items: center;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  color: #b9c3cf;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-align: left;
}

body.admin-page .admin-tool-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body.admin-page .admin-tool-link.active {
  color: #ffffff;
  background: var(--admin-accent);
}

body.admin-page .admin-workspace {
  min-width: 0;
  padding: 28px clamp(20px, 3vw, 42px) 44px;
}

body.admin-page .admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--admin-line);
}

body.admin-page .admin-eyebrow {
  margin: 0 0 4px;
  color: var(--admin-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.admin-page .admin-topbar h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

body.admin-page .admin-status {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--admin-line);
  border-radius: 999px;
  color: var(--admin-muted);
  background: var(--admin-panel);
  font-size: 12px;
  font-weight: 750;
}

body.admin-page .admin-panel {
  display: none;
}

body.admin-page .admin-panel.active {
  display: block;
}

body.admin-page .admin-section-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

body.admin-page .admin-section-heading h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.015em;
}

body.admin-page .admin-section-heading p {
  margin: 6px 0 0;
  color: var(--admin-muted);
  font-size: 14px;
}

body.admin-page .admin-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body.admin-page .admin-tool-card {
  display: grid;
  min-height: 158px;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  background: var(--admin-panel);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body.admin-page .admin-tool-card:hover {
  border-color: rgba(21, 94, 239, 0.45);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

body.admin-page .admin-tool-card.muted {
  cursor: default;
  opacity: 0.65;
  transform: none;
}

body.admin-page .admin-tool-card span {
  color: var(--admin-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

body.admin-page .admin-tool-card strong,
body.admin-page .admin-placeholder strong {
  color: var(--admin-ink);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.2;
}

body.admin-page .admin-tool-card small,
body.admin-page .admin-placeholder p {
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.45;
}

body.admin-page .admin-search-form,
body.admin-page .admin-result-meta,
body.admin-page .admin-table-wrap,
body.admin-page .admin-placeholder,
body.admin-page .admin-notes textarea {
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  background: var(--admin-panel);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.admin-page .admin-search-form {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(280px, 1fr) 150px auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  padding: 16px;
}

body.admin-page .admin-search-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}

body.admin-page .admin-search-form input,
body.admin-page .admin-search-form select,
body.admin-page .admin-notes textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  color: var(--admin-ink);
  background: #ffffff;
  font: inherit;
  font-size: 14px;
}

body.admin-page .admin-search-form input,
body.admin-page .admin-search-form select {
  min-height: 42px;
}

body.admin-page .admin-search-form input {
  padding: 0 12px;
}

body.admin-page .admin-search-form select {
  padding: 0 10px;
}

body.admin-page .admin-search-form input:focus,
body.admin-page .admin-search-form select:focus,
body.admin-page .admin-notes textarea:focus {
  border-color: var(--admin-accent);
  outline: 3px solid rgba(21, 94, 239, 0.14);
}

body.admin-page .admin-primary-action,
body.admin-page .admin-secondary-action,
body.admin-page .admin-inline-action {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  transition: background 160ms ease, opacity 160ms ease;
}

body.admin-page .admin-primary-action {
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--admin-accent);
}

body.admin-page .admin-primary-action:hover,
body.admin-page .admin-inline-action:hover {
  background: #0f4ed7;
}

body.admin-page .admin-secondary-action {
  min-height: 38px;
  padding: 0 13px;
  color: var(--admin-accent);
  background: var(--admin-accent-soft);
}

body.admin-page .admin-secondary-action:hover {
  background: #dce8ff;
}

body.admin-page .admin-primary-action:disabled,
body.admin-page .admin-secondary-action:disabled,
body.admin-page .admin-inline-action:disabled {
  cursor: wait;
  opacity: 0.58;
}

body.admin-page .admin-result-meta {
  display: flex;
  max-width: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0;
  padding: 14px 16px;
}

body.admin-page .admin-result-meta div {
  display: grid;
  gap: 3px;
}

body.admin-page .admin-result-meta strong {
  font-size: 14px;
}

body.admin-page .admin-result-meta span,
body.admin-page .admin-result-meta small {
  color: var(--admin-muted);
}

body.admin-page .admin-result-meta small {
  max-width: 900px;
  font-size: 12px;
  line-height: 1.45;
}

body.admin-page .admin-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

body.admin-page .admin-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

body.admin-page .admin-table th,
body.admin-page .admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #ecf0f4;
  text-align: left;
  vertical-align: top;
}

body.admin-page .admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #475467;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.admin-page .admin-table tr:hover td {
  background: #fbfcfe;
}

body.admin-page .admin-table tr:last-child td {
  border-bottom: 0;
}

body.admin-page .admin-table a {
  color: var(--admin-accent);
  font-weight: 700;
  word-break: break-word;
}

body.admin-page .company-list {
  display: grid;
  gap: 10px;
}

body.admin-page .company-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--admin-line);
  border-radius: var(--admin-radius);
  background: var(--admin-panel);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.admin-page .company-list-main {
  display: grid;
  min-width: 0;
  gap: 7px;
}

body.admin-page .company-list-main > strong {
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.01em;
}

body.admin-page .company-list-main a {
  color: var(--admin-accent);
  font-size: 13px;
  font-weight: 700;
  word-break: break-word;
}

body.admin-page .company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.admin-page .company-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #475467;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 650;
}

body.admin-page .company-empty {
  color: var(--admin-muted);
  font-size: 13px;
}

body.admin-page .company-review-cell {
  display: grid;
  justify-items: start;
}

body.admin-page .admin-inline-action {
  min-height: 30px;
  padding: 0 10px;
  color: #ffffff;
  background: var(--admin-accent);
  font-size: 12px;
}

body.admin-page .review-result {
  margin-top: 8px;
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.45;
}

body.admin-page .website-review {
  display: grid;
  min-width: 230px;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #dbe7d8;
  border-radius: 6px;
  background: #f7fcf8;
}

body.admin-page .website-review strong {
  color: var(--admin-success);
  font-size: 13px;
}

body.admin-page .website-review span,
body.admin-page .website-review small {
  color: var(--admin-muted);
  font-size: 12px;
}

body.admin-page .admin-placeholder {
  width: min(100%, 860px);
  padding: 18px;
}

body.admin-page .admin-notes textarea {
  display: block;
  width: min(100%, 860px);
  min-height: 340px;
  padding: 14px;
  resize: vertical;
}

@media (max-width: 1100px) {
  body.admin-page .admin-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.admin-page .admin-shell {
    grid-template-columns: 1fr;
  }

  body.admin-page .admin-sidebar {
    position: static;
    height: auto;
    gap: 14px;
    padding: 14px;
  }

  body.admin-page .admin-tool-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body.admin-page .admin-tool-link {
    white-space: nowrap;
  }

  body.admin-page .admin-workspace {
    padding: 22px 16px 34px;
  }

  body.admin-page .admin-topbar,
  body.admin-page .admin-result-meta {
    display: grid;
  }

  body.admin-page .admin-tool-grid,
  body.admin-page .admin-search-form {
    grid-template-columns: 1fr;
  }

  body.admin-page .company-list-item {
    grid-template-columns: 1fr;
  }
}

/* Benik backend */
body.backend-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(203, 232, 107, 0.16), transparent 28%),
    linear-gradient(135deg, #fbfaf6 0%, #f3f0e8 100%);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: max(6vw, 24px);
}

.auth-card,
.backend-card,
.stat-grid article,
.flash {
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 35px 80px rgba(21, 37, 31, 0.13);
  backdrop-filter: blur(22px);
}

.auth-card {
  width: min(100%, 500px);
  padding: clamp(28px, 5vw, 46px);
}

.auth-card h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: 0;
}

.auth-card p:not(.eyebrow),
.section-heading p,
.backend-form label,
.filter-form label,
.stat-grid span,
.user-pill {
  color: var(--muted);
}

.backend-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 260px minmax(0, 1fr);
}

.backend-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  gap: 26px;
  padding: 28px 20px;
  border-right: 1px solid rgba(21, 37, 31, 0.1);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px);
}

.backend-brand {
  padding: 0 10px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.backend-brand span {
  color: var(--green);
}

.backend-nav {
  display: grid;
  gap: 8px;
}

.backend-nav a {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}

.backend-nav a.active,
.backend-nav a:hover {
  color: var(--ink);
  background: rgba(38, 106, 78, 0.1);
}

.logout-form {
  margin-top: auto;
}

.backend-workspace {
  min-width: 0;
  padding: clamp(24px, 4vw, 52px);
}

.backend-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.backend-topbar h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: 0;
}

.user-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(21, 37, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

.backend-card {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 32px);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading > .button {
  flex: 0 0 auto;
  min-width: 176px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.section-heading p {
  margin: 8px 0 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-grid article {
  display: grid;
  gap: 9px;
  padding: 22px;
}

.stat-grid span {
  font-size: 13px;
  font-weight: 800;
}

.stat-grid strong {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 38px;
  line-height: 1;
}

.backend-form,
.filter-form {
  display: grid;
  gap: 14px;
}

.customer-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
}

.filter-form {
  width: min(100%, 460px);
  grid-template-columns: minmax(280px, 1fr);
  align-items: end;
  margin: 10px 0 22px;
}

.backend-form label,
.filter-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.backend-form input,
.backend-form select,
.backend-form textarea,
.filter-form input,
.filter-form select {
  width: 100%;
  border: 1px solid rgba(21, 37, 31, 0.14);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 15px;
}

.backend-form input,
.backend-form select,
.filter-form input,
.filter-form select {
  min-height: 48px;
  padding: 0 14px;
}

.filter-form .button {
  min-width: 132px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  box-shadow: none;
}

.backend-form textarea {
  min-height: 120px;
  padding: 13px 14px;
  resize: vertical;
}

.backend-form input:focus,
.backend-form select:focus,
.backend-form textarea:focus,
.filter-form input:focus,
.filter-form select:focus {
  border-color: var(--green);
  outline: 4px solid rgba(38, 106, 78, 0.12);
}

.wide {
  grid-column: 1 / -2;
}

.button-secondary,
.button-danger,
.button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.button-secondary {
  color: var(--green);
  background: rgba(38, 106, 78, 0.1);
}

.button-danger {
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
}

.button-small {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
}

.flash {
  margin: 0 0 16px;
  padding: 14px 16px;
  font-weight: 800;
}

.flash a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flash-error {
  color: #8d1f18;
  background: rgba(255, 241, 240, 0.9);
}

.flash-success {
  color: #157a4f;
  background: rgba(238, 250, 242, 0.9);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(21, 37, 31, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.table-wrap table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

.table-wrap th,
.table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(21, 37, 31, 0.08);
  text-align: left;
  vertical-align: middle;
}

.table-wrap th {
  color: var(--muted);
  background: rgba(243, 240, 232, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.table-wrap td a {
  color: var(--green);
  font-weight: 800;
  word-break: break-word;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #53615a;
  background: rgba(83, 97, 90, 0.1);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-interessiert,
.status-termin-vereinbart,
.status-kunde-geworden {
  color: #157a4f;
  background: rgba(21, 122, 79, 0.12);
}

.status-kein-interesse {
  color: #b42318;
  background: rgba(180, 35, 24, 0.1);
}

.status-vielleicht-spaeter {
  color: #936300;
  background: rgba(147, 99, 0, 0.12);
}

.empty-state {
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1080px) {
  .customer-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-form {
    width: 100%;
    grid-template-columns: minmax(240px, 1fr);
  }

  .wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .backend-shell,
  .stat-grid,
  .customer-form,
  .filter-form {
    grid-template-columns: 1fr;
  }

  .backend-sidebar {
    position: static;
    height: auto;
  }

  .backend-workspace {
    padding: 20px;
  }

  .backend-topbar,
  .section-heading,
  .table-actions {
    display: grid;
  }

  .section-heading > .button,
  .filter-form .button {
    width: 100%;
    min-width: 0;
  }
}

/* Contact illustration */
.contact-section {
  display: grid;
  min-height: 620px;
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(36px, 6vw, 90px);
  overflow: hidden;
}

.contact-inner {
  position: relative;
  z-index: 2;
}

.contact-visual {
  position: relative;
  min-height: 430px;
  isolation: isolate;
}

.contact-grid-lines {
  position: absolute;
  inset: 24px 0 0;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 0 22%, rgba(0, 113, 227, 0.16) 22% 22.2%, transparent 22.2% 64%, rgba(0, 113, 227, 0.13) 64% 64.2%, transparent 64.2%),
    linear-gradient(0deg, transparent 0 28%, rgba(0, 113, 227, 0.12) 28% 28.3%, transparent 28.3% 74%, rgba(0, 113, 227, 0.1) 74% 74.3%, transparent 74.3%);
}

.contact-halo {
  position: absolute;
  right: 13%;
  bottom: 0;
  z-index: -1;
  width: min(52%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.12), rgba(100, 210, 255, 0.2));
}

.contact-browser,
.contact-floating-card {
  border: 1px solid rgba(0, 113, 227, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(0, 65, 130, 0.12);
  backdrop-filter: blur(22px);
}

.contact-browser {
  position: absolute;
  top: 76px;
  left: 5%;
  width: min(72%, 520px);
  min-height: 300px;
  overflow: hidden;
  border-radius: 24px;
}

.contact-browser-top {
  display: flex;
  height: 52px;
  align-items: center;
  gap: 9px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-browser-top i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(0, 113, 227, 0.18);
}

.contact-browser-top i:nth-child(1),
.contact-browser-top i:nth-child(2) {
  background: rgba(0, 113, 227, 0.72);
}

.contact-browser-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding: 34px 34px 20px;
}

.contact-browser-nav span,
.contact-floating-card span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(110, 110, 115, 0.18);
}

.contact-browser-nav .active {
  background: rgba(0, 113, 227, 0.82);
}

.contact-hero-block {
  margin: 10px 34px 28px;
  min-height: 96px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.07), rgba(100, 210, 255, 0.13));
}

.contact-hero-block b {
  position: absolute;
  right: 52px;
  top: 170px;
  width: 82px;
  height: 32px;
  border-radius: 9px;
  background: #0071e3;
}

.contact-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 34px 34px;
}

.contact-mini-cards span {
  min-height: 84px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.contact-floating-card {
  position: absolute;
  display: grid;
  gap: 12px;
  border-radius: 22px;
  padding: 24px;
}

.contact-floating-card strong {
  color: #0071e3;
  font-size: 40px;
  line-height: 1;
}

.code-card {
  top: 92px;
  right: 3%;
  width: 210px;
}

.lock-card {
  right: 7%;
  bottom: 58px;
  width: 250px;
}

.lock-card strong {
  font-size: 48px;
}

.shield-card {
  left: 0;
  bottom: 68px;
  width: 120px;
  height: 120px;
  place-items: center;
}

.shield-card strong {
  color: var(--ink);
  font-size: 54px;
}

@media (max-width: 980px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    min-height: 360px;
    order: 2;
  }
}

@media (max-width: 620px) {
  .contact-visual {
    min-height: 300px;
  }

  .contact-browser {
    left: 0;
    width: 82%;
    min-height: 245px;
  }

  .code-card {
    top: 42px;
    right: 0;
    width: 160px;
  }

  .lock-card {
    right: 0;
    bottom: 28px;
    width: 180px;
  }

  .shield-card {
    width: 92px;
    height: 92px;
  }
}

/* Final legal page layout */
body.legal-page {
  min-height: 100vh;
  color: #1d1d1f;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 113, 227, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 58%, #f5f5f7 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
}

body.legal-page .site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  width: min(calc(100% - 48px), 1180px);
  height: 68px;
  margin: 12px auto 0;
  padding: 0 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

body.legal-page .logo {
  color: #1d1d1f;
}

body.legal-page .logo span,
body.legal-page .main-nav a:hover,
body.legal-page .footer-brand a:not(.logo) {
  color: #0071e3;
}

body.legal-page .main-nav a::after {
  background: #0071e3;
}

body.legal-page .language-toggle:hover {
  border-color: rgba(0, 113, 227, 0.38);
}

body.legal-page .legal-main {
  width: min(calc(100% - 48px), 1180px);
  min-height: auto;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) 0 clamp(72px, 8vw, 110px);
}

body.legal-page .legal-hero {
  max-width: 860px;
  padding: 0 0 clamp(34px, 5vw, 56px);
}

body.legal-page .legal-hero .eyebrow {
  margin-bottom: 18px;
  color: #0071e3;
  letter-spacing: 0.2em;
}

body.legal-page .legal-hero .eyebrow span {
  background: #0071e3;
}

body.legal-page .legal-hero h1 {
  margin: 0;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(64px, 11vw, 154px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

body.legal-page .legal-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 28px 0 0;
  color: #6e6e73;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

body.legal-page .legal-content {
  display: grid;
  max-width: 1080px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

body.legal-page .legal-panel {
  display: grid;
  min-height: 318px;
  align-content: start;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

body.legal-page .legal-panel-primary {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(234, 244, 255, 0.92)),
    #ffffff;
}

body.legal-page .legal-label {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.legal-page .legal-panel h2 {
  margin: 16px 0 0;
  color: #1d1d1f;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
}

body.legal-page .legal-panel address {
  color: #1d1d1f;
  font-size: 19px;
  font-style: normal;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

body.legal-page .legal-mail {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.09);
  font-weight: 760;
}

body.legal-page .legal-register-list {
  display: grid;
  gap: 0;
  margin: 0;
}

body.legal-page .legal-register-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

body.legal-page .legal-register-list div:first-child {
  padding-top: 0;
}

body.legal-page .legal-register-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body.legal-page .legal-register-list dt {
  color: #86868b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.legal-page .legal-register-list dd {
  margin: 0;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 680;
  letter-spacing: -0.018em;
}

body.legal-page footer {
  display: flex;
  min-height: 126px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(245, 245, 247, 0.96);
}

body.legal-page .footer-meta a {
  border-color: rgba(0, 113, 227, 0.18);
  color: #0071e3;
  background: rgba(0, 113, 227, 0.08);
}

@media (max-width: 900px) {
  body.legal-page .site-header {
    width: min(calc(100% - 28px), 760px);
  }

  body.legal-page .legal-main {
    width: min(calc(100% - 32px), 760px);
    padding-top: 58px;
  }

  body.legal-page .legal-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.legal-page .site-header {
    top: 8px;
    height: auto;
    min-height: 58px;
    padding: 0 16px;
  }

  body.legal-page .legal-main {
    padding-top: 48px;
  }

  body.legal-page .legal-hero h1 {
    font-size: clamp(54px, 17vw, 82px);
  }

  body.legal-page .legal-panel {
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
  }

  body.legal-page .legal-register-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
