:root {
  --bg: #07110b;
  --surface: #101914;
  --surface-2: #17231c;
  --line: #2a3d30;
  --text: #ecf7ee;
  --muted: #9db4a4;
  --accent: #77f05a;
  --accent-2: #28b15d;
  --warning: #ffd166;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.level2-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: start;
}

.level2-panel-copy,
.level2-generator,
.level2-map-card {
  min-width: 0;
}

.level2-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* Stateless Gen 3.0 */
.gen3-page [hidden] {
  display: none !important;
}

.gen3-page .gen3-hero {
  padding-bottom: 34px;
}

.gen3-map-control {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
  gap: 22px 32px;
  align-items: start;
}

.gen3-map-control > .gen3-map-actions,
.gen3-map-control > .level2-file-status {
  grid-column: 1 / -1;
}

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

.gen3-auth-option {
  min-width: 0;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 8px;
  background: rgba(4, 16, 9, 0.7);
  padding: 14px;
}

.gen3-auth-option p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.gen3-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 900;
}

.gen3-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.gen3-unlock-method,
.gen3-form {
  display: grid;
  gap: 9px;
}

.gen3-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.gen3-field {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
}

.gen3-page input {
  min-width: 0;
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 8px;
  outline: none;
  background: #061009;
  color: var(--text);
  font: inherit;
  padding: 12px;
}

.gen3-page input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(119, 240, 90, 0.1);
}

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

.gen3-unlock-method {
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 8px;
  background: rgba(4, 16, 9, 0.72);
  padding: 14px;
}

.gen3-unlock-method .legend-art {
  width: 46px;
  height: 46px;
}

.gen3-page .gen3-unlock-method {
  align-content: start;
  min-height: 205px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.gen3-page .gen3-unlock-method p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.gen3-page .gen3-unlock-method .primary-button,
.gen3-page .gen3-unlock-method .secondary-button {
  width: 100%;
  min-height: 48px;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
  padding: 0 16px;
}

.gen3-page .gen3-unlock-method .primary-button {
  border: 1px solid rgba(184, 255, 125, 0.55);
  background: linear-gradient(135deg, var(--accent), #32cc68);
  color: #041007;
  box-shadow: 0 12px 28px rgba(40, 177, 93, 0.2);
}

.gen3-page .gen3-unlock-method .secondary-button {
  border: 1px solid rgba(119, 240, 90, 0.42);
  background: linear-gradient(180deg, rgba(119, 240, 90, 0.1), rgba(119, 240, 90, 0.03)), #07170d;
  color: var(--text);
}

.gen3-page .gen3-unlock-method .primary-button:hover,
.gen3-page .gen3-unlock-method .primary-button:focus-visible,
.gen3-page .gen3-unlock-method .secondary-button:hover,
.gen3-page .gen3-unlock-method .secondary-button:focus-visible {
  border-color: var(--accent);
  outline: none;
  transform: translateY(-1px);
}

.gen3-page .gen3-unlock-method .primary-button:hover,
.gen3-page .gen3-unlock-method .primary-button:focus-visible {
  background: linear-gradient(135deg, #8cff75, #3bdd72);
  box-shadow: 0 16px 34px rgba(40, 177, 93, 0.3);
}

.gen3-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.gen3-generator,
.gen3-map-card {
  min-width: 0;
}

.gen3-recipe {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.gen3-recipe span {
  border: 1px solid rgba(119, 240, 90, 0.28);
  border-radius: 6px;
  background: rgba(119, 240, 90, 0.06);
  color: var(--text);
  padding: 10px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.gen3-recipe b {
  color: var(--accent);
}

.gen3-generate-button {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(184, 255, 125, 0.48);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #32cc68);
  color: #051009;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.gen3-generate-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.gen3-table-wrap {
  overflow: auto;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
}

.gen3-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  table-layout: fixed;
}

.gen3-table th,
.gen3-table td {
  border-bottom: 1px solid rgba(119, 240, 90, 0.14);
  padding: 11px 10px;
  text-align: left;
  overflow-wrap: anywhere;
}

.gen3-table th {
  background: rgba(119, 240, 90, 0.08);
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.gen3-table th:nth-child(1) { width: 32%; }
.gen3-table th:nth-child(2),
.gen3-table th:nth-child(3) { width: 12%; }
.gen3-table th:nth-child(4) { width: 16%; }
.gen3-table th:nth-child(5) { width: 28%; }

.gen3-empty {
  color: var(--muted);
  text-align: center !important;
}

@media (max-width: 900px) {
  .gen3-map-control,
  .gen3-workspace {
    grid-template-columns: 1fr;
  }

  .gen3-auth-grid,
  .gen3-unlock {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .gen3-form,
  .gen3-recipe {
    grid-template-columns: 1fr;
  }

  .gen3-recipe b {
    text-align: center;
  }
}

.level2-generator [hidden] {
  display: none !important;
}

.level2-settings-panel [hidden] {
  display: none !important;
}

.level2-password-field {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  min-width: 0;
}

.level2-password-heading {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.level2-password-heading label {
  color: inherit;
  font: inherit;
  margin: 0;
}

.level2-password-control {
  display: block;
}

.level2-password-control input {
  width: 100%;
  min-width: 0;
}

.level2-inline-toggle {
  display: inline-flex;
  min-width: 46px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 240, 90, 0.38);
  border-radius: 7px;
  background: rgba(5, 20, 11, 0.72);
  color: var(--text);
  padding: 3px 9px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.level2-inline-toggle:hover,
.level2-inline-toggle:focus-visible,
.level2-inline-toggle[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(119, 240, 90, 0.14);
  color: var(--accent);
  outline: none;
}

.level2-inline-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Final Level 2 privacy overrides. */
.level2-map-privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.level2-map-filter {
  display: grid;
  grid-template-columns: minmax(160px, 0.5fr) minmax(220px, 1fr) minmax(180px, 0.9fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.level2-map-filter label {
  color: var(--text);
  font-weight: 850;
}

.level2-map-filter input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 8px;
  background: rgba(2, 10, 6, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 750;
  padding: 9px 12px;
}

.level2-map-filter input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(119, 240, 90, 0.12);
}

.level2-filter-status,
.level2-pagination span {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.level2-pagination {
  display: grid;
  grid-template-columns: auto minmax(80px, auto) auto;
  gap: 8px;
  align-items: center;
}

.level2-pagination .secondary-button {
  min-height: 34px;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.82rem;
}

.level2-map-privacy .backup-status {
  margin: 0;
}

.level2-map-privacy .secondary-button,
.level2-edit-row,
.level2-reveal-row {
  min-height: 34px;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.84rem;
}

.level2-masked-value {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 24px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 999px;
  background: rgba(119, 240, 90, 0.08);
  color: transparent;
  font-size: 0;
}

.level2-masked-value::before {
  content: "Hidden";
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.level2-reveal-cell {
  text-align: center;
}

.level2-edit-cell {
  text-align: center;
}

.level2-edit-row,
.level2-reveal-row {
  border: 1px solid rgba(119, 240, 90, 0.42);
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.level2-reveal-row[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(119, 240, 90, 0.16);
  color: var(--accent);
}

.level2-table th:nth-child(3),
.level2-table td:nth-child(3) {
  width: 28%;
}

.level2-table th:nth-child(7),
.level2-table td:nth-child(7),
.level2-table th:nth-child(8),
.level2-table td:nth-child(8),
.level2-table th:nth-child(9),
.level2-table td:nth-child(9) {
  width: 76px;
  text-align: center;
}

@media (max-width: 640px) {
  .level2-map-privacy {
    grid-template-columns: 1fr;
  }

  .level2-map-filter,
  .level2-pagination {
    grid-template-columns: 1fr;
  }
}

/* Final Level 2 privacy overrides. */
.level2-map-privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.level2-map-privacy .backup-status {
  margin: 0;
}

.level2-map-privacy .secondary-button,
.level2-reveal-row {
  min-height: 34px;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.84rem;
}

.level2-masked-value {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 24px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 999px;
  background: rgba(119, 240, 90, 0.08);
  color: transparent;
  font-size: 0;
}

.level2-masked-value::before {
  content: "Hidden";
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.level2-reveal-cell {
  text-align: center;
}

.level2-reveal-row {
  border: 1px solid rgba(119, 240, 90, 0.42);
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.level2-reveal-row[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(119, 240, 90, 0.16);
  color: var(--accent);
}

.level2-table th:nth-child(3),
.level2-table td:nth-child(3) {
  width: 28%;
}

.level2-table th:nth-child(7),
.level2-table td:nth-child(7),
.level2-table th:nth-child(8),
.level2-table td:nth-child(8) {
  width: 76px;
  text-align: center;
}

@media (max-width: 640px) {
  .level2-map-privacy {
    grid-template-columns: 1fr;
  }
}

.level2-map-privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.level2-map-privacy .backup-status {
  margin: 0;
}

.level2-map-privacy .secondary-button,
.level2-reveal-row {
  min-height: 34px;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.84rem;
}

.level2-masked-value {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 24px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 999px;
  background: rgba(119, 240, 90, 0.08);
  color: transparent;
  font-size: 0;
}

.level2-masked-value::before {
  content: "Hidden";
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.level2-reveal-cell {
  text-align: center;
}

.level2-reveal-row {
  border: 1px solid rgba(119, 240, 90, 0.42);
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.level2-reveal-row[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(119, 240, 90, 0.16);
  color: var(--accent);
}

.level2-table th:nth-child(3),
.level2-table td:nth-child(3) {
  width: 28%;
}

.level2-table th:nth-child(7),
.level2-table td:nth-child(7),
.level2-table th:nth-child(8),
.level2-table td:nth-child(8) {
  width: 76px;
  text-align: center;
}

@media (max-width: 640px) {
  .level2-map-privacy {
    grid-template-columns: 1fr;
  }
}

.level2-page main {
  padding-top: 8px;
}

.level2-page .section {
  padding-top: 14px;
  padding-bottom: 14px;
}

.level2-page .level2-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, auto);
  gap: 18px;
  align-items: end;
  padding-top: 18px;
  padding-bottom: 8px;
}

.level2-page .level2-hero .section-intro {
  margin-bottom: 0;
}

.level2-page .level2-hero h1 {
  max-width: 520px;
  font-size: clamp(2.15rem, 5vw, 3.4rem);
  line-height: 0.98;
}

.level2-page .level2-hero .backup-trust-row {
  justify-content: flex-end;
  margin: 0;
}

.level2-page .level2-panel {
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
  gap: 14px;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 6px;
}

.level2-page .level2-panel-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.level2-page .level2-panel-copy p {
  margin-top: 6px;
  margin-bottom: 0;
}

.level2-page .level2-file-status {
  margin-top: 4px;
}

.level2-page .level2-layout-toolbar {
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
  padding-top: 8px;
  padding-bottom: 8px;
}

.level2-page .level2-standalone-link,
.level2-page .level2-layout-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.84rem;
}

.level2-page .level2-workspace {
  gap: 12px;
  padding-top: 10px;
}

.level2-page .level2-generator,
.level2-page .level2-map-card {
  width: min(100%, 1040px);
}

.level2-page .level2-generator {
  padding: 14px;
}

.level2-page .level2-generator .feature-card-heading {
  margin-bottom: 6px;
}

.level2-page .level2-generator .feature-card-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.level2-page .level2-generator .legend-art {
  width: 40px;
  height: 40px;
}

.level2-page .level2-tabs {
  margin: 8px 0;
}

.level2-page .level2-form-grid {
  gap: 8px;
  margin: 8px 0;
}

.level2-page .level2-method-note {
  margin-bottom: 8px;
}

.level2-page .level2-map-card .security-map-picker {
  padding: 10px;
}

.level2-page .level2-map-card .security-map-icon-button {
  width: 44px;
  height: 44px;
  min-height: 44px;
}

.level2-page .level2-map-card .security-map-icon-button .security-map-method-icon {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.level2-page .level2-map-card .security-map-icon-button .security-feature-icon.small {
  width: 30px;
  height: 30px;
}

@media (min-width: 1180px) {
  body.level2-page[data-level2-layout="default"] .level2-workspace {
    grid-template-columns: 1fr;
  }

  body.level2-page[data-level2-layout="default"] .level2-generator,
  body.level2-page[data-level2-layout="default"] .level2-map-card {
    width: min(100%, 1040px);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .level2-page .level2-hero,
  .level2-page .level2-panel,
  .level2-page .level2-layout-toolbar {
    grid-template-columns: 1fr;
  }

  .level2-page .level2-hero .backup-trust-row {
    justify-content: flex-start;
  }
}

/* Keep the Level 2 test page compact; shared section padding is too airy for this tool view. */
.level2-hero {
  padding-bottom: 28px;
}

.level2-panel {
  padding-top: 28px;
  padding-bottom: 12px;
}

.level2-layout-toolbar {
  padding-top: 10px;
  padding-bottom: 12px;
}

.level2-workspace {
  padding-top: 18px;
}

.level2-google-card {
  display: grid;
  gap: 10px;
}

.level2-google-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.level2-google-warning {
  margin: 0;
  border: 1px solid rgba(255, 209, 102, 0.55);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.1);
  color: var(--warning);
  padding: 10px 12px;
  font-size: 0.9rem;
}

.level2-google-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.level2-google-button-area:empty {
  display: none;
}

.level2-google-status {
  margin: 0;
}

.level2-trusted-card {
  display: grid;
  gap: 10px;
}

.level2-trusted-status {
  margin: 0;
}

.level2-trusted-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.level2-more-info {
  color: var(--muted);
  font-size: 0.9rem;
}

.level2-more-info summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 800;
}

.level2-more-info p {
  margin: 8px 0 0;
}

@media (max-width: 640px) {
  .level2-google-actions {
    grid-template-columns: 1fr;
  }

  .level2-trusted-actions {
    grid-template-columns: 1fr;
  }
}

.level2-layout-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.level2-standalone-link,
.level2-layout-button {
  min-height: 42px;
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.level2-layout-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.level2-layout-button.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #b8ff7d);
  color: #07110b;
}

.level2-standalone .site-header,
.level2-standalone .level2-hero,
.level2-standalone .site-footer {
  display: none;
}

.level2-standalone main {
  padding-top: 16px;
}

.level2-standalone .section {
  width: min(100% - 28px, 1180px);
}

body[data-level2-layout="wide"] .level2-generator,
body[data-level2-layout="wide"] .level2-map-card,
body[data-level2-layout="wide"] .level2-panel,
body[data-level2-layout="wide"] .level2-layout-toolbar {
  width: min(100%, 1180px);
}

body[data-level2-layout="legend-top"] .level2-map-card {
  order: -1;
}

body[data-level2-layout="split"] .level2-workspace {
  width: min(100% - 28px, 1280px);
  grid-template-columns: minmax(360px, 0.85fr) minmax(560px, 1.15fr);
}

body[data-level2-layout="split"] .level2-generator,
body[data-level2-layout="split"] .level2-map-card {
  width: 100%;
}

body[data-level2-layout="split"] .level2-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-level2-layout="split"] .level2-methods {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  .level2-layout-toolbar,
  body[data-level2-layout="split"] .level2-workspace {
    grid-template-columns: 1fr;
  }

  .level2-layout-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .level2-layout-options {
    grid-template-columns: 1fr;
  }
}

.level2-generator .level2-methods label {
  min-height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

/* Level 2 overrides live at the end so the shared Security Map styles cannot enlarge this preview. */
.level2-map-card .security-map-picker {
  gap: 10px;
  padding: 12px;
}

.level2-map-card .security-map-legend-heading {
  margin-bottom: 0;
}

.level2-map-card .security-map-legend-heading h2 {
  font-size: 1rem;
}

.level2-map-card .security-map-icon-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  justify-items: center;
}

.level2-map-card .security-map-icon-button {
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
}

.level2-map-card .security-map-icon-button .security-map-method-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.level2-map-card .security-map-icon-button .security-feature-icon.small {
  width: 38px;
  height: 38px;
}

.level2-table .security-map-method-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.level2-table .security-map-method-icon .security-feature-icon.small {
  width: 30px;
  height: 30px;
}

@media (max-width: 560px) {
  .level2-map-card .security-map-icon-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.level2-generator [hidden] {
  display: none !important;
}

.level2-generator .level2-methods label {
  min-height: 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.level2-generator [hidden] {
  display: none !important;
}

.level2-generator .level2-methods label {
  min-height: 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.level2-map-card .security-map-picker {
  gap: 10px;
  padding: 12px;
}

.level2-map-card .security-map-legend-heading {
  margin-bottom: 0;
}

.level2-map-card .security-map-legend-heading h2 {
  font-size: 1rem;
}

.level2-map-card .security-map-icon-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  justify-items: center;
}

.level2-map-card .security-map-icon-button {
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
}

.level2-map-card .security-map-icon-button .security-map-method-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.level2-map-card .security-map-icon-button .security-feature-icon.small {
  width: 38px;
  height: 38px;
}

.level2-table .security-map-method-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.level2-table .security-map-method-icon .security-feature-icon.small {
  width: 30px;
  height: 30px;
}

@media (max-width: 560px) {
  .level2-map-card .security-map-icon-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.level2-map-card .security-map-picker {
  gap: 10px;
  padding: 12px;
}

.level2-map-card .security-map-legend-heading {
  margin-bottom: 0;
}

.level2-map-card .security-map-legend-heading h2 {
  font-size: 1rem;
}

.level2-map-card .security-map-icon-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  justify-items: center;
}

.level2-map-card .security-map-icon-button {
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
}

.level2-map-card .security-map-icon-button .security-map-method-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.level2-map-card .security-map-icon-button .security-feature-icon.small {
  width: 38px;
  height: 38px;
}

.level2-table .security-map-method-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.level2-table .security-map-method-icon .security-feature-icon.small {
  width: 30px;
  height: 30px;
}

@media (max-width: 560px) {
  .level2-map-card .security-map-icon-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.level2-generator .level2-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 10px;
}

.level2-generator .level2-tab {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(119, 240, 90, 0.32);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
  padding: 9px 12px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  text-align: center;
  cursor: pointer;
}

.level2-generator .level2-tab.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #b8ff7d);
  color: #07110b;
}

.level2-generator .level2-tab:hover,
.level2-generator .level2-tab:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(119, 240, 90, 0.12);
}

.level2-generator .backup-actions .primary-button,
.level2-generator .backup-actions .secondary-button,
.level2-panel .backup-actions .primary-button,
.level2-panel .backup-actions .secondary-button {
  min-height: 42px;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.92rem;
}

.level2-generator .level2-form-grid input,
.level2-generator .level2-form-grid select {
  min-height: 42px;
}

@media (max-width: 560px) {
  .level2-generator .level2-tabs {
    grid-template-columns: 1fr;
  }
}

.level2-file-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.level2-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.level2-generator,
.level2-map-card {
  width: min(100%, 980px);
  justify-self: center;
}

.level2-generator {
  padding: 18px;
}

.level2-generator .feature-card-heading {
  gap: 12px;
  margin-bottom: 10px;
}

.level2-generator .legend-art {
  width: 46px;
  height: 46px;
}

.level2-generator .feature-card-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.05;
}

.level2-generator .eyebrow {
  margin-bottom: 4px;
}

.level2-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.level2-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 10px;
}

.level2-tab {
  min-height: 38px;
  border: 1px solid rgba(119, 240, 90, 0.32);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.level2-tab.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), #b8ff7d);
  color: #07110b;
}

.level2-form-grid label,
.level2-methods label {
  color: var(--text);
  font-weight: 800;
  font-size: 0.9rem;
}

.level2-form-grid input,
.level2-form-grid select {
  width: 100%;
  margin-top: 5px;
  border: 1px solid rgba(119, 240, 90, 0.32);
  border-radius: 8px;
  background: rgba(2, 14, 8, 0.92);
  color: var(--text);
  padding: 9px 10px;
  font: inherit;
}

.level2-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.level2-methods label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-size: 0.86rem;
}

.level2-methods input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.level2-method-note {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.level2-result {
  overflow-wrap: anywhere;
}

.level2-result-box {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.level2-result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.level2-settings-panel {
  margin-top: 18px;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.82);
  padding: 14px;
}

.level2-setting-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.level2-setting-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.level2-settings-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.level2-settings-reveal {
  margin: 8px 0 12px;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  background: rgba(2, 14, 8, 0.62);
  padding: 12px;
}

.level2-settings-reveal label {
  display: block;
  color: var(--text);
  font-weight: 800;
  font-size: 0.9rem;
}

.level2-settings-reveal input {
  width: 100%;
  min-height: 42px;
  margin-top: 5px;
  border: 1px solid rgba(119, 240, 90, 0.32);
  border-radius: 8px;
  background: rgba(2, 14, 8, 0.92);
  color: var(--text);
  padding: 9px 10px;
  font: inherit;
}

.level2-legend-item {
  display: inline-grid;
  place-items: center;
  cursor: default;
}

.level2-map-card .security-map-table-wrap {
  overflow-x: visible;
}

.level2-table {
  min-width: 0;
  table-layout: fixed;
}

.level2-table th:nth-child(1),
.level2-table td:nth-child(1) {
  width: 74px;
}

.level2-table th:nth-child(2),
.level2-table td:nth-child(2) {
  width: 18%;
}

.level2-table th:nth-child(3),
.level2-table td:nth-child(3) {
  width: 34%;
}

.level2-table th:nth-child(4),
.level2-table td:nth-child(4) {
  width: 96px;
}

.level2-table th:nth-child(5),
.level2-table td:nth-child(5),
.level2-table th:nth-child(6),
.level2-table td:nth-child(6) {
  width: 82px;
  text-align: center;
}

.level2-table th:nth-child(7),
.level2-table td:nth-child(7) {
  width: 74px;
  text-align: center;
}

.level2-delete-cell {
  text-align: center;
}

.level2-delete-row {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(255, 107, 107, 0.72);
  border-radius: 999px;
  background: rgba(255, 107, 107, 0.12);
  color: #ff8d8d;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.level2-delete-row:hover,
.level2-delete-row:focus-visible {
  background: rgba(255, 107, 107, 0.22);
  color: #ffdede;
}

@media (max-width: 900px) {
  .level2-panel,
  .level2-workspace {
    grid-template-columns: 1fr;
  }

  .level2-actions,
  .level2-methods {
    grid-template-columns: 1fr;
  }

  .level2-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .level2-form-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(119, 240, 90, 0.12), transparent 30rem),
    linear-gradient(145deg, #07110b 0%, #0c1510 45%, #050806 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(119, 240, 90, 0.16);
  background: rgba(7, 17, 11, 0.88);
  backdrop-filter: blur(14px);
}

.nav,
.section,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(119, 240, 90, 0.65);
  border-radius: 8px;
  color: #061009;
  background: linear-gradient(135deg, var(--accent), #b8ff7d);
  box-shadow: 0 0 28px rgba(119, 240, 90, 0.28);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-link,
.nav-dropdown summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  padding: 0 12px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-dropdown[open] summary,
.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible {
  color: var(--text);
  background: rgba(119, 240, 90, 0.1);
  outline: none;
}

.build-link {
  margin-left: 6px;
  border: 1px solid rgba(119, 240, 90, 0.32);
  color: #061009;
  background: linear-gradient(135deg, var(--accent), #b8ff7d);
  box-shadow: 0 10px 24px rgba(119, 240, 90, 0.18);
}

.build-link:hover,
.build-link:focus-visible {
  color: #061009;
  background: linear-gradient(135deg, #b8ff7d, var(--accent));
  border-color: rgba(184, 255, 125, 0.7);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  min-width: 210px;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 8px;
  background: rgba(7, 17, 11, 0.98);
  box-shadow: var(--shadow);
}

.nav-dropdown:last-of-type .dropdown-menu {
  right: 0;
  left: auto;
}

.dropdown-menu a {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0 10px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  color: var(--text);
  background: rgba(119, 240, 90, 0.1);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid rgba(119, 240, 90, 0.4);
  border-radius: 8px;
  background: rgba(119, 240, 90, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--accent);
}

.section {
  padding: 64px 0;
}

.hero {
  display: grid;
  min-height: 330px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.product-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: clamp(18px, 3.2vw, 34px);
  min-height: 460px;
  padding-top: 56px;
  padding-bottom: 36px;
}

.product-hero h1 {
  max-width: 680px;
  font-size: clamp(3.1rem, 6.3vw, 4.85rem);
}

.hero-subtitle {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-panel {
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(119, 240, 90, 0.08), rgba(16, 25, 20, 0.92)),
    rgba(16, 25, 20, 0.88);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.hero-panel-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-panel-top strong,
.hero-panel-top span {
  display: block;
}

.hero-panel-top strong {
  font-size: 1.2rem;
}

.hero-panel-top span,
.hero-panel p {
  color: var(--muted);
}

.hero-mark {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
}

.hero-formula-mini {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-formula-mini span,
.hero-formula-mini strong {
  display: block;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background: rgba(7, 17, 11, 0.82);
  padding: 13px 14px;
}

.hero-formula-mini span {
  color: var(--muted);
}

.hero-formula-mini strong {
  color: var(--accent);
}

.app-preview-panel {
  max-width: 360px;
  justify-self: end;
  padding: 10px;
}

.app-preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.app-preview-brand strong,
.app-preview-brand span {
  display: block;
}

.app-preview-brand strong {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1;
}

.app-preview-brand span {
  color: #baf2c4;
  font-size: 0.72rem;
}

.app-preview-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.app-preview-tabs span {
  min-height: 30px;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(119, 240, 90, 0.5);
  border-radius: 8px;
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.app-preview-tabs .active {
  border-color: transparent;
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
}

.app-preview-card {
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 18px;
  background: rgba(7, 23, 14, 0.86);
  padding: 10px;
}

.app-preview-card .mini-field strong {
  min-height: 28px;
  font-size: 0.78rem;
  font-weight: 500;
}

.app-preview-card .password-row strong {
  padding-right: 64px;
}

.app-preview-help {
  display: none;
}

.mini-yubikey-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 12px;
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 8px;
  background: rgba(119, 240, 90, 0.07);
  padding: 12px;
}

.mini-yubikey-row strong,
.mini-yubikey-row small {
  display: block;
}

.mini-yubikey-row strong {
  color: var(--text);
}

.mini-yubikey-row small {
  color: #baf2c4;
  line-height: 1.35;
}

.mini-key-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(119, 240, 90, 0.72);
  border-radius: 8px;
  background: rgba(3, 16, 8, 0.94);
  color: var(--accent);
  font-weight: 900;
}

.app-preview-panel .mini-logo {
  width: 34px;
  height: 34px;
  font-size: 0.8rem;
}

.app-preview-panel .mini-field {
  gap: 3px;
  margin-bottom: 5px;
}

.app-preview-panel .mini-field span,
.app-preview-panel .mini-check {
  font-size: 0.68rem;
}

.app-preview-panel .mini-check {
  margin: 4px 0 6px;
}

.app-preview-panel .mini-yubikey-row {
  gap: 7px;
  margin: 5px 0 6px;
  padding: 7px;
}

.app-preview-panel .mini-yubikey-row strong {
  font-size: 0.76rem;
}

.app-preview-panel .mini-yubikey-row small {
  font-size: 0.64rem;
}

.app-preview-panel .mini-key-icon {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  font-size: 0.68rem;
}

.app-preview-panel .mini-options {
  gap: 4px;
  margin: 5px 0 6px;
}

.app-preview-panel .mini-options span,
.app-preview-panel .mini-actions strong,
.app-preview-panel .mini-actions span {
  font-size: 0.66rem;
  padding: 6px 5px;
}

.app-preview-panel .mini-output {
  min-height: 36px;
  margin-top: 8px;
  font-size: 0.7rem;
  padding: 9px 54px 9px 8px;
}

.app-preview-panel .mini-output em,
.app-preview-panel .password-row em {
  right: 6px;
  bottom: 5px;
  padding: 4px 7px;
  font-size: 0.66rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.hero p,
.split-section p,
.info-grid > div:first-child p {
  color: var(--muted);
  font-size: 1.12rem;
}

.checker-card,
.result-panel,
.mistake-list article,
.info-list article,
.content-cards article {
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background: rgba(16, 25, 20, 0.88);
}

.checker-card {
  padding: clamp(18px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.checker-head,
.score-line,
.split-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.local-badge {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(119, 240, 90, 0.42);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(119, 240, 90, 0.08);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.password-field {
  margin: 26px 0;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.input-row {
  display: flex;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #07110b;
  color: var(--text);
  font-size: 1.1rem;
  padding: 0 16px;
}

select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #07110b;
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
}

textarea {
  resize: vertical;
}

input[type="color"] {
  min-height: 58px;
  padding: 6px;
}

input[type="file"] {
  padding: 15px 16px;
}

input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(119, 240, 90, 0.15);
}

.icon-button {
  min-width: 82px;
  min-height: 58px;
  border: 1px solid rgba(119, 240, 90, 0.4);
  border-radius: 8px;
  background: rgba(119, 240, 90, 0.1);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.icon-button:hover {
  background: rgba(119, 240, 90, 0.18);
}

#privacy-note,
.small-note,
#strengthSummary {
  color: var(--muted);
}

.result-grid,
.detail-grid,
.info-grid,
.mistake-list,
.info-list,
.content-cards {
  display: grid;
  gap: 16px;
}

.result-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
}

.detail-grid,
.info-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  margin-top: 16px;
}

.result-panel,
.mistake-list article,
.info-list article,
.content-cards article {
  padding: 22px;
}

.big-result {
  min-height: 230px;
}

.panel-label {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#strengthLabel {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 900;
  line-height: 1;
}

.meter {
  width: 100%;
  height: 16px;
  margin: 26px 0 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #07110b;
}

#meterFill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--danger);
  transition: width 220ms ease, background-color 220ms ease;
}

#crackTime {
  display: block;
  color: var(--accent);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
}

.checklist,
.warnings,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li,
.warnings li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.plain-list li {
  color: var(--muted);
}

.plain-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.checklist li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #07110b;
}

.checklist li.pass {
  color: var(--text);
}

.checklist li.pass::before {
  border-color: var(--accent);
  background: radial-gradient(circle, var(--accent) 0 45%, transparent 48%);
}

.warnings li::before {
  content: "!";
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.14);
  color: var(--warning);
  font-size: 0.78rem;
  font-weight: 900;
}

.split-section {
  align-items: flex-start;
  border-top: 1px solid rgba(119, 240, 90, 0.14);
  border-bottom: 1px solid rgba(119, 240, 90, 0.14);
}

.split-section > * {
  flex: 1;
}

.info-grid {
  align-items: start;
}

.info-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-intro {
  max-width: 780px;
  margin-bottom: 22px;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-me-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: stretch;
  padding: 72px 0 34px;
}

.about-me-hero-copy,
.about-me-id-card,
.story-card,
.final-callout-card {
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 10%, rgba(119, 240, 90, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(119, 240, 90, 0.06), transparent 56%),
    rgba(10, 22, 15, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.about-me-hero-copy {
  padding: clamp(28px, 5vw, 52px);
}

.about-me-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.about-me-hero .hero-subtitle {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
}

.about-me-hero-copy p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.about-me-id-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.about-me-mark {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  font-size: 1rem;
}

.about-me-id-card h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

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

.about-me-stats {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.about-me-stats span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background: rgba(5, 12, 8, 0.52);
  color: var(--muted);
  padding: 12px 14px;
}

.about-me-stats strong {
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 1;
}

.story-card {
  padding: 24px;
}

.story-card h2 {
  margin-top: 0;
}

.story-card p,
.timeline-item p,
.final-callout-card p {
  color: var(--muted);
}

.story-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 112px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(119, 240, 90, 0.5), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.timeline-year {
  position: sticky;
  top: 94px;
  z-index: 1;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 240, 90, 0.3);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(7, 17, 11, 0.96);
  box-shadow: 0 0 28px rgba(119, 240, 90, 0.14);
  font-weight: 950;
  text-align: center;
  padding: 0 14px;
}

.timeline-item > div {
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(119, 240, 90, 0.05), transparent 48%),
    rgba(11, 22, 15, 0.82);
  padding: 24px;
}

.timeline-item h3 {
  margin-top: 0;
  color: var(--text);
  font-size: 1.4rem;
}

.story-note {
  border-left: 3px solid rgba(255, 209, 102, 0.76);
  color: #ffe9a9;
  background: rgba(255, 209, 102, 0.07);
  padding: 12px 14px;
}

.final-callout-card {
  padding: clamp(26px, 5vw, 46px);
}

.final-callout-card h2 {
  max-width: 900px;
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.final-callout-card p {
  max-width: 840px;
  font-size: 1.05rem;
}

.backup-hero {
  padding: 72px 0 28px;
}

.backup-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.backup-trust-row span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 999px;
  background: rgba(119, 240, 90, 0.07);
  color: var(--text);
  font-weight: 850;
  padding: 0 14px;
}

.backup-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.backup-tool-card {
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 12%, rgba(119, 240, 90, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(119, 240, 90, 0.055), transparent 56%),
    rgba(10, 22, 15, 0.86);
  padding: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.backup-tool-card label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 900;
}

.backup-tool-card textarea {
  width: 100%;
  min-height: 220px;
  resize: vertical;
  border: 1px solid rgba(119, 240, 90, 0.36);
  border-radius: 8px;
  outline: none;
  background: #061009;
  color: var(--text);
  font: inherit;
  padding: 14px;
}

.backup-tool-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(119, 240, 90, 0.1);
}

.backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.backup-actions .primary-button,
.backup-actions .secondary-button,
.backup-actions .danger-button,
.security-map-start-card .primary-button,
.security-map-start-card .secondary-button {
  min-height: 48px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 0;
  padding: 0 18px;
}

.backup-actions .primary-button,
.security-map-start-card .primary-button {
  border: 1px solid rgba(184, 255, 125, 0.48);
  color: #051009;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, var(--accent), #32cc68);
  box-shadow: 0 16px 38px rgba(40, 177, 93, 0.2);
}

.backup-actions .secondary-button,
.security-map-start-card .secondary-button {
  border: 1px solid rgba(119, 240, 90, 0.34);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(119, 240, 90, 0.1), rgba(119, 240, 90, 0.03)),
    rgba(6, 16, 10, 0.88);
}

.backup-actions .primary-button:hover,
.backup-actions .primary-button:focus-visible,
.backup-actions .secondary-button:hover,
.backup-actions .secondary-button:focus-visible,
.security-map-start-card .primary-button:hover,
.security-map-start-card .primary-button:focus-visible,
.security-map-start-card .secondary-button:hover,
.security-map-start-card .secondary-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.backup-actions .primary-button:hover,
.backup-actions .primary-button:focus-visible,
.security-map-start-card .primary-button:hover,
.security-map-start-card .primary-button:focus-visible {
  box-shadow: 0 20px 46px rgba(40, 177, 93, 0.3);
}

.backup-actions .primary-button:disabled,
.backup-actions .secondary-button:disabled,
.backup-actions .danger-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.backup-actions .secondary-button:hover,
.backup-actions .secondary-button:focus-visible,
.security-map-start-card .secondary-button:hover,
.security-map-start-card .secondary-button:focus-visible {
  border-color: rgba(119, 240, 90, 0.62);
  background: rgba(119, 240, 90, 0.1);
}

.purge-button {
  margin-left: auto;
}

.backup-status {
  min-height: 48px;
  border: 1px dashed rgba(119, 240, 90, 0.22);
  border-radius: 8px;
  background: rgba(5, 12, 8, 0.48);
  color: var(--muted);
  padding: 12px;
}

.backup-status[data-kind="success"] {
  border-color: rgba(119, 240, 90, 0.46);
  color: #caffc8;
}

.backup-status[data-kind="warning"] {
  border-color: rgba(255, 209, 102, 0.5);
  color: #ffe9a9;
  background: rgba(255, 209, 102, 0.08);
}

.backup-storage-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 10px;
  background: rgba(5, 12, 8, 0.48);
  color: var(--muted);
  font-size: 0.92rem;
  padding: 12px;
}

.lock-indicator {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  font-weight: 950;
  padding: 0 12px;
}

.lock-indicator.locked {
  border: 1px solid rgba(255, 92, 92, 0.4);
  background: rgba(255, 92, 92, 0.12);
  color: #ffd0d0;
}

.lock-indicator.unlocked {
  border: 1px solid rgba(119, 240, 90, 0.46);
  background: rgba(119, 240, 90, 0.14);
  color: #caffc8;
}

.backup-choice-note {
  border: 1px solid rgba(255, 209, 102, 0.34);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.08);
  color: #ffe9a9;
  padding: 12px;
}

.backup-output {
  min-height: 210px;
  overflow: auto;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 8px;
  background: #061009;
  color: #dfffe7;
  font-size: 1rem;
  white-space: pre-wrap;
  padding: 14px;
}

.backup-account-display {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-top: 14px;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background: rgba(5, 12, 8, 0.48);
  color: var(--muted);
  font-weight: 850;
  padding: 0 12px;
}

.backup-output.is-sealed {
  position: relative;
  border-style: dashed;
  color: #bfe8c8;
  background:
    linear-gradient(90deg, rgba(119, 240, 90, 0.08), transparent, rgba(119, 240, 90, 0.08)),
    repeating-linear-gradient(135deg, rgba(119, 240, 90, 0.08) 0 8px, transparent 8px 18px),
    #061009;
}

.backup-output.is-sealed:hover {
  border-color: rgba(119, 240, 90, 0.55);
  box-shadow: 0 0 0 4px rgba(119, 240, 90, 0.08), 0 18px 50px rgba(40, 177, 93, 0.1);
}

.backup-output.is-unlocked {
  border-color: rgba(119, 240, 90, 0.48);
  box-shadow: inset 0 0 0 1px rgba(119, 240, 90, 0.08);
}

.encrypted-hover-hint {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  margin-top: 14px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 10px;
  background: rgba(119, 240, 90, 0.07);
  color: var(--muted);
  padding: 10px 12px;
}

.encrypted-hover-hint.hidden {
  display: none;
}

.encrypted-hover-hint span {
  grid-row: span 2;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(119, 240, 90, 0.44);
  animation: backupHintPulse 1.5s ease-in-out infinite;
}

.encrypted-hover-hint b {
  color: var(--text);
}

.encrypted-hover-hint em {
  font-style: normal;
  font-size: 0.9rem;
}

@keyframes backupHintPulse {
  0% { box-shadow: 0 0 0 0 rgba(119, 240, 90, 0.42); }
  70% { box-shadow: 0 0 0 10px rgba(119, 240, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(119, 240, 90, 0); }
}

.backup-warning-card {
  border-color: rgba(255, 209, 102, 0.32);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 209, 102, 0.11), transparent 36%),
    rgba(16, 20, 12, 0.86);
}

.backup-manager-card {
  grid-column: span 2;
}

.backup-code-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  flex: 0 0 58px;
  place-items: center;
  border: 1px solid rgba(119, 240, 90, 0.5);
  border-radius: 12px;
  color: #051009;
  background: linear-gradient(135deg, var(--accent), #b8ff7d);
  box-shadow: 0 0 28px rgba(119, 240, 90, 0.22);
  font-weight: 950;
}

.security-map-front-door {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.security-map-front-door[hidden],
.security-map-setup-panel[hidden],
#securityMapAppShell[hidden] {
  display: none;
}

.security-map-start-card,
.security-map-setup-copy {
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  background: rgba(7, 17, 11, 0.86);
  box-shadow: var(--shadow);
}

.security-map-start-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.security-map-start-card h2,
.security-map-setup-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0;
}

.security-map-start-card p:not(.eyebrow),
.security-map-setup-copy li {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.7;
}

.security-map-start-card .primary-button,
.security-map-start-card .secondary-button {
  width: 100%;
  margin-top: auto;
}

.security-map-front-status {
  grid-column: 1 / -1;
  margin: 0;
}

.security-map-setup-panel {
  display: block;
}

.security-map-setup-copy {
  padding: clamp(22px, 4vw, 34px);
}

.security-map-setup-copy ul {
  margin: 18px 0 0;
  padding-left: 1.2rem;
}

.security-map-setup-copy li + li {
  margin-top: 8px;
}

.security-map-grid {
  align-items: stretch;
}

.security-map-controls,
.security-map-notes {
  min-height: 100%;
}

.security-map-workspace {
  display: grid;
  gap: 18px;
}

.security-map-toolbar,
.security-map-picker {
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 10px;
  background: rgba(7, 17, 11, 0.82);
  box-shadow: var(--shadow);
  padding: 18px;
}

.security-map-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.security-map-toolbar h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.security-map-file-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.security-map-file-actions .danger-button,
.security-map-file-actions .secondary-button {
  min-width: 168px;
}

.security-map-state-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 10px;
  background: rgba(4, 12, 7, 0.78);
  padding: 16px 18px;
}

.security-map-state-file[hidden] {
  display: none;
}

.security-map-state-file p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.security-map-picker {
  display: grid;
  gap: 20px;
  padding-top: 24px;
}

.security-map-icon-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 62px);
  flex-wrap: wrap;
  padding: 10px 0 4px;
}

.security-map-icon-button {
  width: 104px;
  height: 104px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.security-map-icon-button:hover,
.security-map-icon-button:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 12px rgba(119, 240, 90, 0.32));
}

.security-map-icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.security-map-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.security-map-icon-button .security-map-method-icon {
  width: 96px;
  height: 96px;
  flex-basis: 96px;
}

.security-map-icon-button .security-feature-icon.small {
  width: 86px;
  height: 86px;
}

.security-map-icon-button .status-dot {
  width: 82px;
  height: 82px;
}

.security-map-method-icon.is-removable {
  cursor: pointer;
}

.security-map-method-icon.is-removable:hover,
.security-map-method-icon.is-removable:focus-visible {
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.36));
}

.security-map-method-icon .status-dot {
  width: 24px;
  height: 24px;
  margin: 0;
}

.security-map-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 10px;
  background: rgba(4, 12, 7, 0.9);
  box-shadow: var(--shadow);
}

.security-map-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.security-map-table th,
.security-map-table td {
  border-bottom: 1px solid rgba(119, 240, 90, 0.12);
  border-right: 1px solid rgba(119, 240, 90, 0.1);
  text-align: left;
  vertical-align: middle;
  padding: 12px;
}

.security-map-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #0a190d;
  color: #b8ff7d;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.security-map-table th:first-child,
.security-map-table td:first-child {
  width: 76px;
  text-align: center;
}

.security-map-table th:nth-child(2),
.security-map-table td:nth-child(2) {
  width: 130px;
}

.security-map-table th:last-child,
.security-map-table td:last-child {
  width: 76px;
  text-align: center;
}

.security-map-table td[contenteditable="true"] {
  min-width: 120px;
  outline: none;
  color: var(--text);
  background: rgba(6, 16, 9, 0.44);
}

.security-map-table td[contenteditable="true"]:focus {
  background: rgba(14, 34, 18, 0.86);
  box-shadow: inset 0 0 0 2px rgba(119, 240, 90, 0.42);
}

.security-map-table tr.is-selected td {
  background-color: rgba(119, 240, 90, 0.08);
}

.security-map-table input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.security-map-method-cell {
  min-width: 260px;
}

.security-map-method-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.security-map-method-empty {
  color: var(--muted);
  font-weight: 750;
}

.security-map-empty-row td {
  color: var(--muted);
  text-align: center;
  font-weight: 850;
  padding: 26px;
}

.security-map-row-add {
  width: 38px;
  min-width: 38px;
  height: 38px;
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 999px;
  background: rgba(119, 240, 90, 0.12);
  color: #b8ff7d;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  letter-spacing: 0;
}

.security-map-empty-row .security-map-row-add {
  width: auto;
  min-width: 120px;
  border-radius: 10px;
  padding: 0 16px;
}

.security-map-row-add:hover,
.security-map-row-add:focus-visible {
  border-color: var(--accent);
  background: rgba(119, 240, 90, 0.2);
  outline: none;
  box-shadow: 0 0 0 4px rgba(119, 240, 90, 0.1);
}

@media (max-width: 900px) {
  .security-map-front-door {
    grid-template-columns: 1fr;
  }

  .security-map-toolbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .security-map-state-file {
    align-items: stretch;
  }

  .security-map-toolbar .backup-actions {
    width: 100%;
  }

  .security-map-state-file .backup-actions {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .security-map-icon-button {
    width: 74px;
    height: 74px;
  }

  .security-map-icon-button .security-map-method-icon {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .security-map-icon-button .security-feature-icon.small {
    width: 60px;
    height: 60px;
  }

  .security-map-table {
    min-width: 720px;
  }
}

.danger-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border: 1px solid rgba(255, 107, 107, 0.44);
  border-radius: 8px;
  color: #ffe2e2;
  background: rgba(255, 107, 107, 0.08);
  cursor: pointer;
  font-weight: 900;
  padding: 0 14px;
}

.danger-button:hover,
.danger-button:focus-visible {
  border-color: rgba(255, 107, 107, 0.8);
  background: rgba(255, 107, 107, 0.16);
  outline: none;
}

.source-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.mission-line {
  color: var(--accent);
  font-weight: 900;
}

.comparison-panel {
  display: grid;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  background: rgba(119, 240, 90, 0.18);
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  background: rgba(10, 24, 15, 0.72);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(119, 240, 90, 0.14);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(119, 240, 90, 0.08);
}

.comparison-table td:first-child {
  color: var(--text);
  font-weight: 800;
}

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

.google-mark {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 950;
  background:
    conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
  vertical-align: middle;
}

.google-mark.large {
  width: 48px;
  height: 48px;
  margin-right: 0;
  font-size: 1.35rem;
}

.google-signin-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background: rgba(5, 13, 8, 0.86);
}

.google-signin-preview strong,
.google-signin-preview span,
.google-signin-preview small {
  display: block;
}

.google-signin-preview strong {
  color: var(--text);
}

.google-signin-preview span {
  color: var(--accent);
  font-weight: 800;
}

.google-signin-preview small {
  color: var(--muted);
}

.google-advantage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  background: rgba(10, 24, 15, 0.72);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.7fr 1.15fr 1.15fr;
  gap: 1px;
  background: rgba(119, 240, 90, 0.18);
}

.comparison-row span {
  display: block;
  min-width: 0;
  background: rgba(16, 25, 20, 0.96);
  color: var(--muted);
  padding: 16px;
}

.comparison-row span:first-child {
  color: var(--text);
  font-weight: 800;
}

.comparison-head span {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-cards.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-cards.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-section {
  border-top: 1px solid rgba(119, 240, 90, 0.14);
  border-bottom: 1px solid rgba(119, 240, 90, 0.14);
}

.demo-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 4px;
  border: 1px solid rgba(119, 240, 90, 0.55);
  border-radius: 8px;
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
  font-weight: 900;
  text-decoration: none;
  padding: 0 16px;
}

.demo-link:hover,
.demo-link:focus-visible {
  box-shadow: 0 0 0 4px rgba(119, 240, 90, 0.16);
  outline: none;
}

.secondary-link {
  color: var(--text);
  background: rgba(119, 240, 90, 0.1);
}

.local-app-link {
  margin-right: 10px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 0;
  padding-bottom: 28px;
}

.trust-strip span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 999px;
  background: rgba(119, 240, 90, 0.07);
  color: #d8ffe0;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0 13px;
}

.feature-card-grid {
  padding-top: 38px;
}

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

.product-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(119, 240, 90, 0.08), transparent 48%),
    rgba(16, 25, 20, 0.88);
  padding: 22px;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(119, 240, 90, 0.26);
  border-radius: 8px;
  background: rgba(7, 17, 11, 0.78);
  font-size: 1.35rem;
}

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

.card-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid rgba(119, 240, 90, 0.38);
  border-radius: 8px;
  color: var(--text);
  background: rgba(119, 240, 90, 0.08);
  font-weight: 900;
  text-decoration: none;
  padding: 0 14px;
}

.card-button:hover,
.card-button:focus-visible {
  color: #051009;
  background: var(--accent);
  outline: none;
}

.how-section,
.google-factor-section {
  border-top: 1px solid rgba(119, 240, 90, 0.14);
}

.formula-card {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(150px, 1fr) auto minmax(180px, 1fr) auto minmax(160px, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  background: rgba(16, 25, 20, 0.88);
  padding: 16px;
}

.formula-card.simple-steps {
  grid-template-columns: minmax(120px, 1fr) auto minmax(150px, 1fr) auto minmax(150px, 1fr);
}

.formula-card span,
.formula-card strong {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 8px;
  text-align: center;
  padding: 12px;
}

.formula-card span {
  color: var(--muted);
  background: #07110b;
}

.formula-card b {
  color: var(--accent);
  font-size: 1.4rem;
  text-align: center;
}

.formula-card strong {
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
}

.security-formula-card .formula-ingredient,
.security-formula-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.security-formula-card .security-feature-icon.small {
  margin-right: 0;
}

.security-formula-card .status-dot {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.security-icon-cards article {
  background:
    radial-gradient(circle at 14% 14%, rgba(119, 240, 90, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(119, 240, 90, 0.055), transparent 58%),
    rgba(12, 22, 16, 0.84);
}

.feature-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.feature-card-heading .legend-art {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
}

.feature-card-heading h3 {
  margin: 0;
}

.icon-layer-flow span,
.icon-comparison-table td {
  vertical-align: middle;
}

.icon-layer-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.icon-layer-flow .security-feature-icon.small {
  margin-right: 0;
}

.icon-comparison-table .advantage-icons {
  min-height: 42px;
}

.icon-comparison-table .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.landing-process,
.landing-yubikey {
  position: relative;
  overflow: hidden;
}

.landing-process {
  background:
    radial-gradient(circle at 12% 10%, rgba(119, 240, 90, 0.1), transparent 28%),
    rgba(9, 22, 14, 0.78);
}

.landing-section-intro {
  max-width: 720px;
  margin-bottom: 30px;
}

.landing-section-intro h2 {
  margin-bottom: 10px;
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.step-card,
.step-result-card {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(119, 240, 90, 0.07), rgba(119, 240, 90, 0.02)),
    rgba(7, 17, 11, 0.88);
  padding: 20px;
}

.step-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 1;
  width: 15px;
  height: 1px;
  background: linear-gradient(90deg, rgba(119, 240, 90, 0.5), rgba(119, 240, 90, 0.08));
}

.step-number,
.result-label {
  width: fit-content;
  border: 1px solid rgba(119, 240, 90, 0.24);
  border-radius: 999px;
  color: #c8f6cf;
  background: rgba(119, 240, 90, 0.07);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.step-card h3,
.step-result-card h3 {
  margin: 24px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.step-result-card {
  border-color: rgba(119, 240, 90, 0.5);
  background:
    radial-gradient(circle at top right, rgba(184, 255, 125, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(119, 240, 90, 0.18), rgba(40, 177, 93, 0.1)),
    rgba(9, 25, 15, 0.96);
  box-shadow: 0 18px 44px rgba(40, 177, 93, 0.14);
}

.step-result-card h3 {
  color: var(--accent);
}

.landing-yubikey {
  border-color: rgba(119, 240, 90, 0.28);
  background:
    radial-gradient(circle at 82% 18%, rgba(119, 240, 90, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(14, 32, 20, 0.94), rgba(5, 13, 8, 0.96));
}

.premium-formula-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(220px, 0.45fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(236, 247, 238, 0.03), transparent),
    rgba(3, 16, 8, 0.76);
  padding: 18px;
}

.formula-ingredients {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.formula-ingredients span,
.formula-result span {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 12px;
  color: #d8ffe0;
  background: rgba(7, 17, 11, 0.9);
  font-weight: 900;
  text-align: center;
  padding: 14px;
}

.formula-ingredients .hardware-ingredient {
  border-color: rgba(119, 240, 90, 0.48);
  background: rgba(119, 240, 90, 0.1);
  color: var(--accent);
}

.formula-equals {
  display: grid;
  min-width: 44px;
  place-items: center;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 900;
}

.formula-result span {
  height: 100%;
  border-color: rgba(119, 240, 90, 0.58);
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
  box-shadow: 0 18px 44px rgba(40, 177, 93, 0.18);
}

.formula-note {
  max-width: 760px;
  margin: 18px 0 0;
}

.compare-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding-top: 76px;
}

.compare-hero-copy {
  max-width: 680px;
}

.compare-diagrams,
.vault-vs-stateless,
.mode-card-grid,
.who-grid,
.rating-grid,
.threat-card-grid {
  display: grid;
  gap: 16px;
}

.compare-diagrams,
.vault-vs-stateless,
.who-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-diagram,
.vault-vs-stateless article,
.mode-card-grid article,
.rating-grid article,
.who-grid article,
.threat-card-grid article,
.compare-cta {
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(119, 240, 90, 0.06), transparent 44%),
    rgba(16, 25, 20, 0.88);
  padding: 22px;
}

.compare-diagram.featured,
.vault-vs-stateless article.featured,
.mode-card-grid article.featured,
.who-grid article.featured {
  border-color: rgba(119, 240, 90, 0.36);
  background:
    radial-gradient(circle at top right, rgba(119, 240, 90, 0.14), transparent 38%),
    rgba(11, 28, 17, 0.94);
}

.diagram-flow,
.mini-pipeline,
.mode-formula {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.diagram-flow span,
.diagram-flow strong,
.mini-pipeline span,
.mini-pipeline strong,
.mode-formula span {
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 10px;
  background: rgba(3, 16, 8, 0.78);
  color: #d8ffe0;
  font-weight: 800;
  padding: 10px 12px;
}

.diagram-flow span {
  position: relative;
}

.diagram-flow span::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 900;
  opacity: 0.72;
}

.diagram-flow span:last-of-type::after {
  content: "=";
}

.diagram-flow strong,
.mini-pipeline strong {
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
}

.compare-icon {
  width: 52px;
  height: 52px;
  display: grid;
  margin-bottom: 18px;
  border: 1px solid rgba(119, 240, 90, 0.28);
  border-radius: 14px;
  background: rgba(119, 240, 90, 0.08);
}

.cloud-icon::before,
.generate-icon::before {
  place-self: center;
  color: var(--accent);
  font-weight: 900;
}

.cloud-icon::before {
  content: "SYNC";
  font-size: 0.68rem;
}

.generate-icon::before {
  content: "GEN";
  font-size: 0.76rem;
}

.feature-matrix {
  overflow: hidden;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 16px;
  background: rgba(3, 16, 8, 0.7);
}

.matrix-header,
.matrix-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(180px, 0.7fr) minmax(180px, 0.8fr);
  gap: 1px;
  background: rgba(119, 240, 90, 0.1);
}

.matrix-header span,
.matrix-row > span {
  background: rgba(16, 25, 20, 0.96);
  padding: 16px;
}

.matrix-header span {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix-row strong,
.matrix-row small {
  display: block;
}

.matrix-row small {
  margin-top: 4px;
  color: var(--muted);
}

.matrix-row .yes,
.matrix-row .varies,
.matrix-row .no {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.matrix-row .yes::before,
.matrix-row .varies::before,
.matrix-row .no::before {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 999px;
  font-size: 0.82rem;
}

.matrix-row .yes::before {
  content: "\2713";
  color: #051009;
  background: var(--accent);
}

.matrix-row .varies::before {
  content: "!";
  color: #201400;
  background: var(--warning);
}

.matrix-row .no::before {
  content: "-";
  color: var(--muted);
  background: rgba(157, 180, 164, 0.14);
}

.security-stack {
  display: grid;
  max-width: 760px;
  gap: 10px;
}

.security-stack span,
.security-stack strong {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(119, 240, 90, 0.12), rgba(119, 240, 90, 0.03)),
    rgba(7, 17, 11, 0.9);
  font-weight: 900;
  text-align: center;
  padding: 12px 16px;
}

.security-stack strong {
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
  box-shadow: 0 18px 44px rgba(40, 177, 93, 0.16);
}

.threat-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.threat-card-grid article {
  min-height: 310px;
}

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

.threat-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(119, 240, 90, 0.26);
  border-radius: 12px;
  color: var(--accent);
  background: rgba(119, 240, 90, 0.08);
  font-weight: 900;
}

.threat-icon::before { font-size: 0.72rem; }
.keylog::before { content: "KEY"; }
.eye::before { content: "EYE"; }
.screen::before { content: "VIEW"; }
.remote::before { content: "NET"; }
.file::before { content: "FILE"; }
.leak::before { content: "LEAK"; }
.malware::before { content: "SYS"; }

.mode-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mode-formula b {
  color: var(--accent);
  text-align: center;
}

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

.score-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(130px, 0.85fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  color: var(--muted);
}

.score-row meter {
  width: 100%;
  height: 12px;
}

.score-row meter::-webkit-meter-bar {
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 999px;
  background: #07110b;
}

.score-row meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #28b15d, #77f05a);
}

.score-row b {
  color: var(--text);
}

.compare-cta {
  margin-top: 28px;
}

.security-model-hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(119, 240, 90, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(16, 25, 20, 0.96), rgba(6, 16, 12, 0.98));
}

.feature-legend-section {
  border-color: rgba(119, 240, 90, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% -20%, rgba(119, 240, 90, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(6, 18, 12, 0.98), rgba(9, 22, 14, 0.92));
  box-shadow: inset 0 0 0 1px rgba(119, 240, 90, 0.05), var(--shadow);
  padding-top: 28px;
  padding-bottom: 28px;
}

.feature-legend-heading {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 18px;
  text-align: center;
}

.feature-legend-heading::before,
.feature-legend-heading::after {
  content: "";
  width: 78px;
  height: 10px;
  opacity: 0.72;
  background:
    linear-gradient(90deg, transparent 0 8%, var(--accent) 8% 13%, transparent 13% 18%, var(--accent) 18% 23%, transparent 23% 28%, var(--accent) 28% 33%, transparent 33% 38%, var(--accent) 38% 43%, transparent 43% 48%, var(--accent) 48% 53%, transparent 53% 58%, var(--accent) 58% 63%, transparent 63% 68%, var(--accent) 68% 73%, transparent 73% 100%);
}

.feature-legend-heading h2 {
  margin: 0;
  color: #b8ff7d;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.feature-legend-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.feature-legend-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 108px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(119, 240, 90, 0.055), transparent 58%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 48%),
    rgba(12, 20, 15, 0.95);
  padding: 16px 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.feature-legend-card:hover,
.feature-legend-card:focus-visible {
  border-color: rgba(119, 240, 90, 0.48);
  box-shadow: 0 0 0 4px rgba(119, 240, 90, 0.1), 0 20px 48px rgba(40, 177, 93, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.legend-additional-secret:hover,
.legend-additional-secret:focus-visible {
  border-color: rgba(255, 75, 67, 0.54);
  box-shadow: 0 0 0 4px rgba(255, 75, 67, 0.1), 0 20px 48px rgba(255, 75, 67, 0.12);
}

.legend-trusted-device:hover,
.legend-trusted-device:focus-visible,
.legend-google-factor:hover,
.legend-google-factor:focus-visible {
  border-color: rgba(52, 158, 232, 0.58);
  box-shadow: 0 0 0 4px rgba(52, 158, 232, 0.1), 0 20px 48px rgba(52, 158, 232, 0.12);
}

.legend-copy-only:hover,
.legend-copy-only:focus-visible {
  border-color: rgba(111, 234, 67, 0.58);
  box-shadow: 0 0 0 4px rgba(111, 234, 67, 0.1), 0 20px 48px rgba(111, 234, 67, 0.12);
}

.legend-yubikey:hover,
.legend-yubikey:focus-visible {
  border-color: rgba(255, 201, 40, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 201, 40, 0.1), 0 20px 48px rgba(255, 201, 40, 0.12);
}

.feature-legend-card h3 {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.12;
}

.feature-legend-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.36;
}

.no-icon-legend .feature-legend-grid {
  align-items: stretch;
}

.no-icon-legend .feature-legend-card {
  min-height: 124px;
  grid-template-columns: 86px minmax(0, 1fr);
  background:
    radial-gradient(circle at 18% 18%, rgba(119, 240, 90, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(12, 27, 18, 0.98), rgba(6, 15, 10, 0.96));
}

.legend-initial {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 18px;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 0 26px color-mix(in srgb, currentColor 22%, transparent);
  font-weight: 950;
  letter-spacing: 0.04em;
}

.legend-initial.red {
  color: #ff514a;
}

.legend-initial.blue {
  color: #2da9ff;
}

.legend-initial.green {
  color: #7ef04d;
}

.legend-initial.gold {
  color: #ffc928;
}

.legend-art {
  width: 76px;
  height: 76px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 18px rgba(119, 240, 90, 0.18));
}

.icon-additional-secret-vector {
  background-image: url("../img/security-icons/additional-secret-vector.png");
  filter: drop-shadow(0 0 18px rgba(255, 81, 74, 0.22));
}

.icon-trusted-device-vector {
  background-image: url("../img/security-icons/trusted-device-vector.png");
  filter: drop-shadow(0 0 18px rgba(45, 169, 255, 0.22));
}

.icon-copy-only-vector {
  background-image: url("../img/security-icons/copy-only-vector.png");
  filter: drop-shadow(0 0 18px rgba(126, 240, 77, 0.22));
}

.icon-google-factor-vector {
  background-image: url("../img/security-icons/google-factor-vector.png");
  filter: drop-shadow(0 0 18px rgba(45, 169, 255, 0.22));
}

.icon-yubikey-vector {
  background-image: url("../img/security-icons/yubikey-vector.png");
  filter: drop-shadow(0 0 18px rgba(255, 201, 40, 0.24));
}

.security-feature-icon {
  position: relative;
  width: 78px;
  height: 72px;
  display: inline-grid;
  flex: 0 0 78px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: var(--accent);
  vertical-align: middle;
}

.security-feature-icon.small {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  margin-right: 8px;
}

.security-feature-icon::before,
.security-feature-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.security-feature-icon[class*="icon-"]::before,
.security-feature-icon[class*="icon-"]::after {
  display: none;
}

.icon-additional-secret {
  background-image: url("../img/security-icons/additional-secret.png");
}

.icon-trusted-device {
  background-image: url("../img/security-icons/trusted-device.png");
}

.icon-copy-only {
  background-image: url("../img/security-icons/copy-only.png");
}

.icon-google-factor {
  background-image: url("../img/security-icons/google-factor.png");
}

.icon-yubikey {
  background-image: url("../img/security-icons/yubikey.png");
}

.icon-additional-secret::before {
  width: 50px;
  height: 60px;
  border: 3px solid #ff4b43;
  border-radius: 4px 4px 18px 18px;
  clip-path: polygon(50% 0, 88% 14%, 88% 58%, 50% 100%, 12% 58%, 12% 14%);
}

.icon-additional-secret::after {
  width: 13px;
  height: 28px;
  top: 29px;
  border-radius: 999px;
  background: #ff4b43;
  box-shadow: 0 12px 0 -5px #ff4b43;
}

.icon-trusted-device::before {
  width: 50px;
  height: 32px;
  top: 10px;
  border: 3px solid #349ee8;
  border-radius: 4px;
}

.icon-trusted-device::after {
  content: "";
  width: 62px;
  height: 18px;
  bottom: 8px;
  border: 3px solid #349ee8;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  transform: perspective(42px) rotateX(32deg);
}

.icon-copy-only::before {
  width: 50px;
  height: 52px;
  top: 11px;
  border: 3px solid #6fea43;
  border-radius: 7px;
  box-shadow: 0 -8px 0 -3px #6fea43;
}

.icon-copy-only::after {
  width: 58px;
  height: 3px;
  transform: rotate(39deg);
  border-radius: 999px;
  background: #6fea43;
  box-shadow: 0 -11px 0 -4px #6fea43, 0 11px 0 -4px #6fea43;
}

.icon-google-factor::before {
  content: "G";
  position: static;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  color: #ffffff;
  font-weight: 950;
  font-size: 1.65rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.icon-google-factor::after {
  width: 56px;
  height: 66px;
  border: 3px solid #349ee8;
  border-radius: 4px 4px 18px 18px;
  clip-path: polygon(50% 0, 88% 14%, 88% 58%, 50% 100%, 12% 58%, 12% 14%);
}

.icon-yubikey::before {
  width: 34px;
  height: 62px;
  border: 3px solid #ffc928;
  border-radius: 5px;
  transform: rotate(31deg);
}

.icon-yubikey::after {
  width: 9px;
  height: 9px;
  top: 28px;
  border: 3px solid #ffc928;
  border-radius: 50%;
  transform: rotate(31deg);
  box-shadow: 0 -15px 0 -4px #ffc928, 0 16px 0 -4px #ffc928;
}

.security-feature-icon.small.icon-additional-secret::before {
  width: 18px;
  height: 22px;
  border-width: 2px;
}

.security-feature-icon.small.icon-additional-secret::after {
  width: 5px;
  height: 10px;
  top: 12px;
  box-shadow: 0 5px 0 -2px #ff4b43;
}

.security-feature-icon.small.icon-trusted-device::before {
  width: 19px;
  height: 13px;
  top: 4px;
  border-width: 2px;
}

.security-feature-icon.small.icon-trusted-device::after {
  width: 24px;
  height: 8px;
  bottom: 4px;
  border-width: 2px;
}

.security-feature-icon.small.icon-copy-only::before {
  width: 18px;
  height: 20px;
  top: 5px;
  border-width: 2px;
  box-shadow: 0 -5px 0 -2px #6fea43;
}

.security-feature-icon.small.icon-copy-only::after {
  width: 24px;
  height: 2px;
  box-shadow: 0 -6px 0 -3px #6fea43, 0 6px 0 -3px #6fea43;
}

.security-feature-icon.small.icon-google-factor::before {
  width: 18px;
  height: 18px;
  font-size: 0.82rem;
}

.security-feature-icon.small.icon-google-factor::after {
  width: 24px;
  height: 27px;
  border-width: 2px;
}

.security-feature-icon.small.icon-yubikey::before {
  width: 13px;
  height: 24px;
  border-width: 2px;
}

.security-feature-icon.small.icon-yubikey::after {
  width: 4px;
  height: 4px;
  top: 12px;
  border-width: 2px;
  box-shadow: 0 -7px 0 -3px #ffc928, 0 8px 0 -3px #ffc928;
}

.security-diagram-grid,
.layer-count-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.security-diagram-card,
.layer-count-grid article {
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background: rgba(16, 25, 20, 0.88);
  padding: 22px;
  box-shadow: var(--shadow);
}

.security-diagram-card.featured,
.layer-count-grid article.featured {
  border-color: rgba(119, 240, 90, 0.36);
  background: linear-gradient(180deg, rgba(21, 43, 29, 0.92), rgba(10, 22, 15, 0.96));
}

.layer-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

.layer-flow span,
.layer-flow strong {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  font-weight: 850;
}

.layer-flow span {
  color: var(--muted);
  background: #07110b;
}

.layer-flow b {
  color: var(--accent);
  text-align: center;
  font-size: 1.15rem;
}

.layer-flow strong {
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
}

.goblin-flow span {
  border-color: rgba(119, 240, 90, 0.28);
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.matrix-legend span,
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(119, 240, 90, 0.14);
  border-radius: 999px;
  background: rgba(7, 17, 11, 0.86);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.matrix-wrap {
  overflow-x: auto;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background: rgba(16, 25, 20, 0.88);
  box-shadow: var(--shadow);
}

.premium-matrix-wrap {
  border-color: rgba(119, 240, 90, 0.32);
  border-radius: 10px;
  background:
    radial-gradient(circle at 10% 0%, rgba(119, 240, 90, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(9, 25, 16, 0.98), rgba(5, 14, 10, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(119, 240, 90, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.34);
}

.security-warning-card {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 81, 74, 0.32);
  border-radius: 10px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 81, 74, 0.1), transparent 34%),
    rgba(25, 10, 10, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 81, 74, 0.05);
}

.security-warning-card strong {
  display: block;
  margin-bottom: 6px;
  color: #ffb0a8;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.security-warning-card p {
  margin: 0;
  color: var(--muted);
}

.threat-matrix {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.threat-matrix th,
.threat-matrix td {
  padding: 15px;
  border-bottom: 1px solid rgba(119, 240, 90, 0.14);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.premium-threat-matrix {
  min-width: 980px;
}

.premium-threat-matrix th,
.premium-threat-matrix td {
  border-right: 1px solid rgba(119, 240, 90, 0.16);
  background: rgba(7, 18, 12, 0.58);
}

.premium-threat-matrix th:last-child,
.premium-threat-matrix td:last-child {
  border-right: 0;
}

.premium-threat-matrix tbody tr:nth-child(even) td {
  background: rgba(12, 31, 19, 0.54);
}

.premium-threat-matrix tbody tr:hover td {
  background: rgba(38, 82, 46, 0.22);
}

.threat-matrix th {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(7, 17, 11, 0.92);
}

.premium-threat-matrix th {
  color: #dfffe7;
  padding: 18px 20px;
  background:
    linear-gradient(180deg, rgba(22, 43, 27, 0.92), rgba(7, 18, 12, 0.94));
}

.premium-threat-matrix th:first-child,
.premium-threat-matrix th:last-child {
  color: var(--accent);
}

.threat-matrix td:first-child {
  color: var(--text);
  font-weight: 850;
}

.premium-threat-matrix td {
  padding: 18px 20px;
}

.premium-threat-matrix td:first-child {
  font-size: 1rem;
}

.threat-matrix tr:last-child td {
  border-bottom: 0;
}

.status.protected {
  color: #7df34e;
  border-color: rgba(119, 240, 90, 0.26);
}

.status.partial {
  color: #ffe58a;
  border-color: rgba(255, 209, 102, 0.26);
}

.status.vulnerable {
  color: #ff514a;
  border-color: rgba(255, 102, 114, 0.3);
}

.status.equal {
  color: #dfffe7;
}

.status-dot {
  width: 22px;
  height: 22px;
  display: inline-block;
  flex: 0 0 22px;
  border-radius: 0;
  background: url("../img/security-icons/status-protected-shield-clean.png") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 0 8px rgba(126, 240, 77, 0.28));
}

.status-dot.partial {
  background-image: url("../img/security-icons/status-partial-shield-clean.png");
  filter: drop-shadow(0 0 8px rgba(255, 212, 71, 0.28));
}

.status-dot.vulnerable {
  background-image: url("../img/security-icons/status-vulnerable-shield-clean.png");
  filter: drop-shadow(0 0 8px rgba(255, 81, 74, 0.3));
}

.status-dot.equal {
  background-image: url("../img/security-icons/status-equal-shield.png");
  filter: drop-shadow(0 0 8px rgba(233, 255, 240, 0.22));
}

.premium-threat-matrix .status {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1rem;
}

.premium-threat-matrix .status small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

.premium-threat-matrix .status::before,
.advantage-copy::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 16px color-mix(in srgb, currentColor 30%, transparent);
}

.premium-threat-matrix .status.protected::before {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: url("../img/security-icons/status-protected-shield-clean.png") center / contain no-repeat;
  box-shadow: none;
  clip-path: none;
  filter: drop-shadow(0 0 12px rgba(126, 240, 77, 0.3));
}

.premium-threat-matrix .status.vulnerable::before {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: url("../img/security-icons/status-vulnerable-shield-clean.png") center / contain no-repeat;
  box-shadow: none;
  clip-path: none;
  filter: drop-shadow(0 0 12px rgba(255, 81, 74, 0.34));
}

.premium-threat-matrix .status.partial::before {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: url("../img/security-icons/status-partial-shield-clean.png") center / contain no-repeat;
  box-shadow: none;
  clip-path: none;
  filter: drop-shadow(0 0 12px rgba(255, 212, 71, 0.32));
}

.status-help {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  border: 1px solid rgba(255, 212, 71, 0.62);
  border-radius: 50%;
  color: #201400;
  background: #ffd447;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  cursor: help;
  outline: none;
  box-shadow: 0 0 14px rgba(255, 212, 71, 0.2);
}

.status-help::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: min(260px, 70vw);
  padding: 10px 12px;
  border: 1px solid rgba(255, 212, 71, 0.34);
  border-radius: 8px;
  color: #fff7ca;
  background: rgba(22, 18, 4, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.status-help:hover::after,
.status-help:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.status-help:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 212, 71, 0.2);
}

.advantage-copy {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.advantage-copy::before {
  margin-top: 2px;
  color: var(--accent);
  border-radius: 5px;
}

.advantage-copy.equal {
  color: var(--text);
  font-weight: 850;
}

.advantage-copy.equal::before {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  background: url("../img/security-icons/status-equal-shield.png") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(233, 255, 240, 0.22));
}

.advantage-icons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 38px;
}

.advantage-icon {
  width: 38px;
  height: 38px;
  display: inline-block;
  flex: 0 0 38px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 0 14px rgba(119, 240, 90, 0.18));
  transition: transform 160ms ease, filter 160ms ease;
}

.advantage-icons .icon-additional-secret-vector {
  filter: drop-shadow(0 0 14px rgba(255, 81, 74, 0.24));
}

.advantage-icons .icon-trusted-device-vector,
.advantage-icons .icon-google-factor-vector {
  filter: drop-shadow(0 0 14px rgba(45, 169, 255, 0.24));
}

.advantage-icons .icon-copy-only-vector {
  filter: drop-shadow(0 0 14px rgba(126, 240, 77, 0.24));
}

.advantage-icons .icon-yubikey-vector {
  filter: drop-shadow(0 0 14px rgba(255, 201, 40, 0.24));
}

.premium-threat-matrix tr:hover .advantage-icon {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 20px rgba(119, 240, 90, 0.28));
}

.matrix-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

.threat-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
}

.hero-threat-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--accent);
  filter: drop-shadow(0 0 12px rgba(119, 240, 90, 0.2));
  transition: color 160ms ease, filter 160ms ease, transform 160ms ease;
}

.premium-threat-matrix tr:hover .hero-threat-icon {
  color: #b8ff7d;
  filter: drop-shadow(0 0 18px rgba(119, 240, 90, 0.34));
  transform: translateY(-1px);
}

.security-threat-icon,
.status-image-icon {
  display: inline-block;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.security-threat-icon {
  width: 36px;
  height: 36px;
}

.status-image-icon {
  width: 28px;
  height: 28px;
}

.icon-threat-website-database-breach { background-image: url("../img/security-icons/website-database-breach.png"); }
.icon-threat-cloud-vault-breach { background-image: url("../img/security-icons/cloud-vault-breach.png"); }
.icon-threat-password-reuse { background-image: url("../img/security-icons/password-reuse.png"); }
.icon-threat-keylogger-attack { background-image: url("../img/security-icons/keylogger-attack.png"); }
.icon-threat-shoulder-surfing { background-image: url("../img/security-icons/shoulder-surfing.png"); }
.icon-threat-screen-watching { background-image: url("../img/security-icons/screen-watching.png"); }
.icon-threat-clipboard-monitoring { background-image: url("../img/security-icons/clipboard-monitoring.png"); }
.icon-threat-device-theft { background-image: url("../img/security-icons/device-theft.png"); }
.icon-threat-lost-device { background-image: url("../img/security-icons/lost-device.png"); }
.icon-threat-fully-compromised-computer { background-image: url("../img/security-icons/fully-compromised-computer.png"); }
.icon-threat-malware-reading-memory { background-image: url("../img/security-icons/malware-reading-memory.png"); }

.icon-status-protected-lesspass { background-image: url("../img/security-icons/protected-lesspass.png"); }
.icon-status-vulnerable-lesspass { background-image: url("../img/security-icons/vulnerable-lesspass.png"); }
.icon-status-partial-lesspass { background-image: url("../img/security-icons/partial-lesspass.png"); }
.icon-status-protected-goblinpass { background-image: url("../img/security-icons/protected-goblinpass.png"); }
.icon-status-equal-advantage { background-image: url("../img/security-icons/equal-advantage-crown.png"); }

.advantage-equal-icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(119, 240, 90, 0.24);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(119, 240, 90, 0.08);
  font-weight: 950;
}

.layer-count {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(7, 17, 11, 0.92);
  font-size: 2rem;
  font-weight: 950;
}

.reality-check {
  border-color: rgba(255, 209, 102, 0.22);
  background:
    radial-gradient(circle at top right, rgba(255, 209, 102, 0.08), transparent 30%),
    rgba(16, 25, 20, 0.88);
}

.advantage-cards h3:not(.feature-heading)::before {
  content: "✓ ";
  color: var(--accent);
}

.advantage-cards .feature-heading {
  display: flex;
  align-items: center;
  gap: 2px;
}

.about-pillars {
  margin-top: 16px;
}

.advantage-cards {
  margin: 18px 0;
}

.subnav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 8px;
  background: rgba(119, 240, 90, 0.06);
  padding: 16px;
}

.subnav-card a {
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.subnav-card a:hover,
.subnav-card a:focus-visible {
  color: var(--text);
  outline: none;
}

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

.tool-preview {
  margin-top: 34px;
}

.compact-intro {
  margin-bottom: 16px;
}

.preview-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.guide-tab-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.guide-tab-preview .mini-app,
.guide-tab-preview .mini-vault {
  min-height: 100%;
}

.generator-detail-grid {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
}

.generator-explain-cards {
  align-content: start;
}

.screen-card {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background: rgba(5, 13, 8, 0.9);
}

.large-screen {
  grid-row: span 3;
}

.screen-card figcaption {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
}

.mini-app,
.mini-vault {
  padding: 16px;
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 8px;
  background: #07170e;
}

.mini-brand,
.mini-vault-head,
.mini-actions,
.mini-two,
.mini-entry-actions {
  display: flex;
  gap: 10px;
}

.mini-brand {
  align-items: center;
  margin-bottom: 14px;
}

.mini-logo {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--text);
  font-weight: 900;
}

.mini-brand strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
}

.mini-brand strong::after {
  content: "Pass";
  color: var(--accent);
}

.mini-brand small {
  color: #baf2c4;
}

.mini-field {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.mini-field span,
.mini-check,
.mini-vault p,
.mini-entry p {
  color: #c8f6cf;
  font-size: 0.88rem;
}

.mini-field strong,
.mini-search,
.mini-pin {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(119, 240, 90, 0.55);
  border-radius: 8px;
  background: #031008;
  color: var(--text);
  padding: 0 12px;
}

.password-row {
  position: relative;
}

.password-row em,
.mini-output em {
  position: absolute;
  right: 10px;
  bottom: 7px;
  border: 1px solid rgba(119, 240, 90, 0.6);
  border-radius: 8px;
  color: var(--text);
  font-style: normal;
  font-weight: 800;
  padding: 7px 10px;
}

.mini-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 14px;
  font-weight: 700;
}

.mini-check span {
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background: var(--text);
}

.mini-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 8px 0 12px;
}

.mini-options span,
.mini-actions strong,
.mini-actions span,
.mini-vault-head span,
.mini-pin strong,
.mini-entry-actions span,
.mini-entry-actions em {
  border: 1px solid rgba(119, 240, 90, 0.5);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  padding: 10px;
}

.mini-options span {
  color: #d8ffe0;
}

.mini-two > * {
  flex: 1;
}

.mini-actions > * {
  flex: 1;
}

.mini-actions strong {
  border: none;
  color: #051009;
  background: linear-gradient(180deg, #59ef8b, #27c962);
}

.mini-output {
  position: relative;
  min-height: 52px;
  margin-top: 14px;
  border: 1px dashed rgba(119, 240, 90, 0.5);
  border-radius: 8px;
  color: var(--text);
  padding: 14px 76px 14px 10px;
}

.yubikey-highlight {
  border-color: rgba(119, 240, 90, 0.34);
  background:
    linear-gradient(135deg, rgba(119, 240, 90, 0.08), transparent 36%),
    rgba(8, 22, 13, 0.92);
}

.yubikey-formula strong {
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
}

.yubikey-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.os-dialog-mock {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background: #f5f8f6;
  color: #101510;
  padding: 18px;
}

.os-dialog-mock h3,
.os-dialog-mock p {
  margin: 0;
  color: #101510;
}

.os-dialog-mock .dialog-title {
  color: #36433a;
  font-size: 0.85rem;
  font-weight: 800;
}

.os-dialog-mock .muted {
  color: #53615a;
}

.security-key-symbol {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid #101510;
  border-radius: 8px;
  color: #101510;
  font-size: 0.82rem;
  font-weight: 900;
}

.number-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.notice {
  border: 1px solid rgba(255, 218, 82, 0.38);
  border-radius: 8px;
  background: rgba(255, 218, 82, 0.08);
  color: #ffe78a;
  padding: 14px;
}

.mini-vault-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.mini-vault-head strong {
  font-size: 1.2rem;
}

.mini-search {
  color: var(--muted);
  margin: 14px 0 10px;
}

.mini-pin {
  justify-content: space-between;
  gap: 10px;
}

.mini-pin span {
  color: var(--muted);
}

.mini-entry {
  border: 1px solid rgba(119, 240, 90, 0.38);
  border-radius: 8px;
  padding: 14px;
}

.mini-entry > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.1rem;
}

.mini-entry p {
  margin-bottom: 6px;
}

.mini-entry-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 14px;
}

.mini-entry-actions em {
  border-color: rgba(255, 107, 107, 0.55);
  background: rgba(255, 107, 107, 0.12);
  font-style: normal;
}

.preview-notes {
  margin-top: 16px;
}

.app-embed-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background: rgba(16, 25, 20, 0.88);
  padding: 22px;
}

.app-embed-copy p {
  color: var(--muted);
}

.integrated-app-layout {
  grid-template-columns: minmax(240px, 0.55fr) minmax(330px, 0.95fr);
  align-items: start;
}

.embedded-goblin-app {
  --gp-card: #0d1c14;
  --gp-card2: #09160f;
  --gp-border: #245238;
  --gp-border2: #39764f;
  --gp-text: #effff2;
  --gp-muted: #9fc7aa;
  --gp-input: #06120d;
  --gp-green: #74ff9d;
  --gp-green2: #33c46e;
  --gp-danger: #ff6672;
  --gp-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  max-height: 880px;
  overflow: auto;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 18px;
  background: radial-gradient(circle at top, #12351f 0, #06100c 42%, #030906 100%);
  box-shadow: var(--shadow);
}

.embedded-goblin-app *,
.embedded-goblin-app *::before,
.embedded-goblin-app *::after {
  box-sizing: border-box;
}

.embedded-goblin-app .app {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 14px;
  color: var(--gp-text);
  font: 15px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.embedded-goblin-app .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px 14px;
  color: var(--gp-text);
  text-decoration: none;
}

.embedded-goblin-app .logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(180deg, #10291a, #0a1a10);
  border: 1px solid var(--gp-green);
  color: #eaffef;
  font-weight: 950;
  box-shadow: 0 0 20px rgba(116, 255, 157, 0.18);
}

.embedded-goblin-app h1 {
  margin: 0;
  color: var(--gp-text);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0;
}

.embedded-goblin-app h1 span {
  color: var(--gp-green);
}

.embedded-goblin-app h2,
.embedded-goblin-app h3 {
  margin: 0;
  color: var(--gp-text);
  letter-spacing: 0;
}

.embedded-goblin-app .brand p {
  margin: 4px 0 0;
  color: var(--gp-muted);
  font-size: 12px;
}

.embedded-goblin-app .app-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 14px;
}

.embedded-goblin-app button,
.embedded-goblin-app .import-label {
  min-height: 46px;
  border: 1px solid var(--gp-border2);
  border-radius: 12px;
  background: #07160d;
  color: #fff;
  padding: 13px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  cursor: pointer;
}

.embedded-goblin-app .app-menu button.active,
.embedded-goblin-app .primary {
  border-color: var(--gp-green);
  background: linear-gradient(180deg, #76ff9e, #22a95c);
  color: #041009;
  box-shadow: 0 8px 18px rgba(116, 255, 157, 0.2);
}

.embedded-goblin-app .page-section {
  display: block;
}

.embedded-goblin-app .hidden {
  display: none !important;
}

.embedded-goblin-app .card {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid var(--gp-border);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--gp-card), var(--gp-card2));
  box-shadow: var(--gp-shadow);
}

.embedded-goblin-app label {
  display: block;
  margin: 0 0 8px;
  color: var(--gp-text);
  font-weight: 800;
}

.embedded-goblin-app input,
.embedded-goblin-app select,
.embedded-goblin-app textarea {
  width: 100%;
  border: 1px solid var(--gp-border2);
  border-radius: 12px;
  background: var(--gp-input);
  color: #fff;
  outline: none;
  padding: 13px;
  font: inherit;
  font-size: 16px;
}

.embedded-goblin-app input:focus,
.embedded-goblin-app select:focus,
.embedded-goblin-app textarea:focus {
  border-color: var(--gp-green);
  box-shadow: 0 0 0 3px rgba(116, 255, 157, 0.14);
}

.embedded-goblin-app input::placeholder {
  color: #84aa8e;
}

.embedded-goblin-app .card > input,
.embedded-goblin-app .card > select {
  margin-bottom: 16px;
}

.embedded-goblin-app .input-row {
  display: flex;
  gap: 9px;
  margin-bottom: 16px;
}

.embedded-goblin-app .input-row input {
  flex: 1;
  min-width: 0;
}

.embedded-goblin-app .icon-btn {
  width: 58px;
  min-width: 58px;
}

.embedded-goblin-app .icon-btn.small {
  width: 72px;
  min-width: 72px;
  min-height: 42px;
  padding: 9px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.embedded-goblin-app .save-full-row,
.embedded-goblin-app .check,
.embedded-goblin-app .setting-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.embedded-goblin-app .save-full-row {
  margin: -7px 0 16px;
  color: var(--gp-muted);
  font-size: 13px;
  font-weight: 750;
}

.embedded-goblin-app .save-full-row input,
.embedded-goblin-app .check input,
.embedded-goblin-app .setting-row input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  padding: 0;
  accent-color: var(--gp-green2);
}

.embedded-goblin-app .options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.embedded-goblin-app .check {
  justify-content: center;
  min-height: 44px;
  margin: 0;
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  background: #07160d;
  color: var(--gp-muted);
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 750;
}

.embedded-goblin-app .number-row,
.embedded-goblin-app .button-row,
.embedded-goblin-app .settings-actions,
.embedded-goblin-app .entry-actions {
  display: grid;
  gap: 9px;
}

.embedded-goblin-app .number-row {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.embedded-goblin-app .button-row {
  grid-template-columns: 1fr 0.55fr;
}

.embedded-goblin-app .result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 72px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  border: 1px dashed var(--gp-border2);
  border-radius: 12px;
  background: #07160d;
  color: #dfffe7;
  padding: 12px;
}

.embedded-goblin-app .result span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.embedded-goblin-app .muted {
  margin: 7px 0 12px;
  color: var(--gp-muted);
  font-size: 12px;
}

.embedded-goblin-app .notice {
  margin: 12px 0 0;
  padding: 12px;
  border: 1px solid #6a5b20;
  border-radius: 12px;
  background: #1b1909;
  color: #ffe58a;
  font-size: 13px;
}

.embedded-goblin-app .phone-challenge-box {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid var(--gp-border2);
  border-radius: 15px;
  background: #07160d;
}

.embedded-goblin-app .challenge-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--gp-green);
  font-size: 13px;
}

.embedded-goblin-app .challenge-head span {
  color: var(--gp-muted);
}

.embedded-goblin-app .challenge-code {
  border: 1px dashed var(--gp-border2);
  border-radius: 12px;
  color: #dfffe7;
  padding: 10px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.embedded-goblin-app .high-security-badge {
  display: inline-flex;
  border: 1px solid var(--gp-green);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--gp-green);
  background: rgba(116, 255, 157, 0.08);
  font-size: 12px;
  font-weight: 850;
}

.embedded-goblin-app .security-input-panel,
.embedded-goblin-app .status-line {
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  background: #07160d;
}

.embedded-goblin-app .security-input-panel {
  margin-top: 10px;
  padding: 12px;
}

.embedded-goblin-app .security-key-grid,
.embedded-goblin-app .combo-slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}

.embedded-goblin-app .security-actions,
.embedded-goblin-app .combo-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.embedded-goblin-app .combo-actions {
  grid-template-columns: repeat(3, 1fr);
}

.embedded-goblin-app .vault-head,
.embedded-goblin-app .vault-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.embedded-goblin-app .vault-head {
  justify-content: space-between;
}

.embedded-goblin-app .pin-row {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 8px;
}

.embedded-goblin-app .filter {
  margin: 4px 0 10px;
}

.embedded-goblin-app .vault-actions {
  margin-bottom: 10px;
}

.embedded-goblin-app .import-label {
  position: relative;
  overflow: hidden;
}

.embedded-goblin-app .import-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.embedded-goblin-app .entry {
  margin-bottom: 10px;
  border: 1px solid var(--gp-border);
  border-radius: 15px;
  background: #07160d;
  padding: 13px;
}

.embedded-goblin-app .entry-line {
  margin: 4px 0;
  color: #d7f5dd;
  font-size: 13px;
}

.embedded-goblin-app .entry-actions {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 10px;
}

.embedded-goblin-app .danger {
  border-color: #70424a;
  background: #211014;
  color: #ffe3e6;
}

.embedded-goblin-app .setting-row {
  margin: 14px 0 10px;
  color: var(--gp-text);
}

.embedded-goblin-app .settings-stack {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.embedded-goblin-app .settings-card {
  border: 1px solid var(--gp-border);
  border-radius: 16px;
  background: rgba(7, 22, 13, 0.62);
  padding: 14px;
}

.embedded-goblin-app .settings-card h3 {
  margin: 0 0 10px;
  color: var(--gp-text);
  font-size: 16px;
}

.embedded-goblin-app .settings-reveal {
  margin: 8px 0 14px;
  padding: 12px;
  border: 1px solid rgba(57, 118, 79, 0.55);
  border-radius: 14px;
  background: #07160d;
}

.embedded-goblin-app .more-info {
  margin: 8px 0;
  color: var(--gp-muted);
  font-size: 12px;
}

.embedded-goblin-app .more-info summary {
  cursor: pointer;
  color: var(--gp-green);
  font-weight: 850;
}

.embedded-goblin-app .more-info p {
  margin: 8px 0 0;
}

.embedded-goblin-app .settings-actions {
  grid-template-columns: 1fr 1fr;
  margin: 10px 0;
}

.embedded-goblin-app .settings-actions.single-action {
  grid-template-columns: 1fr;
}

.embedded-goblin-app .status-line {
  margin: 10px 0;
  color: #dfffe7;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
}

.embedded-goblin-app .google-button-area {
  min-height: 44px;
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.embedded-goblin-app .google-button-area:empty {
  display: none;
}

.embedded-goblin-app .google-account-card input:disabled {
  opacity: 0.55;
}

.goblinpass-frame {
  width: 100%;
  min-height: 720px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background: #06100c;
}

.builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.builder-form,
.brand-preview,
.config-panel {
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background: rgba(16, 25, 20, 0.88);
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.builder-form label {
  color: var(--muted);
}

.engine-status {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.06);
  padding: 16px;
}

.engine-status span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.engine-status strong {
  color: var(--accent);
  font-size: 1.4rem;
}

.engine-status p {
  margin: 0;
  color: var(--muted);
}

.builder-actions {
  margin-top: 16px;
}

.download-button,
.preview-shell button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #051009;
  background: linear-gradient(180deg, #7af58e, #32cc68);
  cursor: pointer;
  font-weight: 900;
}

.preview-shell button {
  background: var(--brand-primary, linear-gradient(180deg, #7af58e, #32cc68));
}

.brand-preview {
  position: sticky;
  top: 92px;
}

.preview-shell {
  overflow: hidden;
  border: 1px solid rgba(119, 240, 90, 0.28);
  border-radius: 8px;
  background: #07110b;
}

.preview-shell header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
}

.preview-logo {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--brand-primary, currentColor);
  border-radius: 8px;
  color: var(--brand-primary, var(--accent));
  font-weight: 900;
}

.preview-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-shell strong {
  display: block;
  color: var(--text);
  font-size: 1.5rem;
}

.preview-shell span,
.preview-shell label,
.preview-shell footer {
  color: var(--muted);
}

.preview-shell section {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.preview-input {
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid var(--brand-primary, rgba(119, 240, 90, 0.42));
  border-radius: 8px;
  color: var(--text);
  padding: 0 12px;
}

.preview-shell footer {
  border-top: 1px solid var(--brand-primary, rgba(119, 240, 90, 0.16));
  padding: 14px 18px;
  font-size: 0.86rem;
}

.config-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

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

.config-panel pre {
  max-height: 340px;
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(119, 240, 90, 0.16);
  border-radius: 8px;
  background: #07110b;
  color: #c8f6cf;
  padding: 16px;
  white-space: pre-wrap;
}

.mistake-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-list p,
.mistake-list p,
.content-cards p,
.site-footer,
.small-note {
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(160px, 0.55fr) minmax(260px, 1fr);
  align-items: start;
  gap: 28px;
  padding: 34px 0 46px;
  border-top: 1px solid rgba(119, 240, 90, 0.14);
}

.site-footer p {
  margin: 0;
}

.footer-brand strong {
  color: var(--text);
  font-size: 1.1rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

.footer-attribution {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

.footer-attribution a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.footer-attribution a:hover,
.footer-attribution a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer-source {
  display: grid;
  gap: 8px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.footer-actions .demo-link {
  min-height: 42px;
  margin-top: 0;
}

@media (max-width: 820px) {
  .section {
    padding: 44px 0;
  }

  .checker-head,
  .split-section,
  .site-footer {
    display: block;
  }

  .product-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 54px;
  }

  .about-me-hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .product-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .hero-panel {
    max-width: 560px;
  }

  .app-preview-panel {
    width: 100%;
    max-width: 360px;
    justify-self: center;
  }

  .nav {
    min-height: 62px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(119, 240, 90, 0.2);
    border-radius: 8px;
    background: rgba(7, 17, 11, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link,
  .nav-dropdown summary {
    min-height: 44px;
    justify-content: space-between;
    padding: 0 12px;
  }

  .build-link {
    margin: 6px 0 0;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
    background: rgba(119, 240, 90, 0.04);
  }

  .dropdown-menu a {
    min-height: 42px;
    padding-left: 18px;
  }

  .local-badge {
    display: inline-block;
    margin-top: 12px;
  }

  .result-grid,
  .detail-grid,
  .info-grid,
  .info-list,
  .mistake-list,
  .backup-tool-grid,
  .product-cards,
  .guide-tab-preview,
  .app-embed-card,
  .security-diagram-grid,
  .layer-count-grid,
  .feature-legend-grid,
  .builder-grid,
  .form-grid,
  .config-panel,
  .preview-grid,
  .content-cards.two-column,
  .content-cards.three-column {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .subnav-card {
    display: grid;
  }

  .formula-card {
    grid-template-columns: 1fr;
  }

  .formula-card b {
    transform: rotate(90deg);
  }

  .step-flow {
    grid-template-columns: 1fr;
  }

  .step-card,
  .step-result-card {
    min-height: 118px;
  }

  .step-card::after {
    display: none;
  }

  .premium-formula-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .formula-ingredients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .formula-equals {
    min-height: 28px;
    font-size: 1.5rem;
  }

  .feature-legend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goblinpass-frame {
    min-height: 680px;
  }

  .embedded-goblin-app {
    max-height: none;
  }

  .brand-preview {
    position: static;
  }

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

  .comparison-head {
    display: none;
  }

  .matrix-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .threat-matrix,
  .threat-matrix tbody,
  .threat-matrix tr,
  .threat-matrix td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .threat-matrix thead {
    display: none;
  }

  .threat-matrix tr {
    margin-bottom: 12px;
    border: 1px solid rgba(119, 240, 90, 0.16);
    border-radius: 8px;
    background: rgba(16, 25, 20, 0.9);
    padding: 12px;
  }

  .threat-matrix td {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 10px;
    border-bottom: 1px solid rgba(119, 240, 90, 0.1);
    padding: 10px 0;
  }

  .threat-matrix td:last-child {
    border-bottom: 0;
  }

  .threat-matrix td::before {
    content: attr(data-label);
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .google-advantage-panel {
    grid-template-columns: 1fr;
  }

  .compare-hero,
  .compare-diagrams,
  .vault-vs-stateless,
  .mode-card-grid,
  .who-grid,
  .rating-grid,
  .threat-card-grid {
    grid-template-columns: 1fr;
  }

  .matrix-header {
    display: none;
  }

  .matrix-row {
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    border: 1px solid rgba(119, 240, 90, 0.16);
    border-radius: 14px;
    overflow: hidden;
  }

  .matrix-row > span:nth-child(2)::after {
    content: " GoblinPass";
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
  }

  .matrix-row > span:nth-child(3)::after {
    content: " Typical";
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
  }

  .backup-manager-card {
    grid-column: auto;
  }

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

  .story-timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 42px;
  }

  .timeline-year {
    position: relative;
    top: auto;
    justify-self: start;
  }

  .timeline-item::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 14px;
    width: 13px;
    height: 13px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    background: #07110b;
    box-shadow: 0 0 18px rgba(119, 240, 90, 0.34);
  }

  .large-screen {
    grid-row: auto;
  }

  .input-row {
    align-items: stretch;
  }

  .icon-button {
    min-width: 76px;
  }
}

@media (max-width: 520px) {
  .nav,
  .section,
  .site-footer {
    width: min(100% - 22px, 1120px);
  }

  .nav {
    min-height: 62px;
  }

  .checker-card,
  .result-panel,
  .mistake-list article,
  .info-list article,
  .content-cards article,
  .product-card,
  .hero-panel,
  .screen-card,
  .about-me-hero-copy,
  .about-me-id-card,
  .story-card,
  .timeline-item > div,
  .final-callout-card {
    padding: 16px;
  }

  .about-me-hero h1 {
    font-size: clamp(2.65rem, 16vw, 4rem);
  }

  .about-me-stats span {
    display: grid;
    gap: 4px;
  }

  .feature-legend-grid {
    grid-template-columns: 1fr;
  }

  .embedded-goblin-app .app {
    padding: 10px;
  }

  .embedded-goblin-app .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .embedded-goblin-app .button-row,
  .embedded-goblin-app .result,
  .embedded-goblin-app .settings-actions {
    grid-template-columns: 1fr;
  }

  .embedded-goblin-app .result .icon-btn.small {
    width: 100%;
  }

  .hero-actions,
  .footer-actions {
    display: grid;
  }

  .hero-actions .demo-link,
  .footer-actions .demo-link {
    justify-content: center;
  }

  .trust-strip {
    gap: 8px;
  }

  .trust-strip span {
    width: 100%;
    justify-content: center;
  }

  .mini-options,
  .mini-entry-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .formula-ingredients {
    grid-template-columns: 1fr;
  }

  .formula-ingredients span,
  .formula-result span {
    min-height: 68px;
  }

  .feature-legend-grid,
  .feature-legend-card {
    grid-template-columns: 1fr;
  }

  .input-row {
    flex-direction: column;
  }

  .icon-button {
    width: 100%;
  }
}

.level2-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* Level 2 overrides live at the end so the shared Security Map styles cannot enlarge this preview. */
.level2-map-card .security-map-picker {
  gap: 10px;
  padding: 12px;
}

.level2-map-card .security-map-legend-heading {
  margin-bottom: 0;
}

.level2-map-card .security-map-legend-heading h2 {
  font-size: 1rem;
}

.level2-map-card .security-map-icon-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  justify-items: center;
}

.level2-map-card .security-map-icon-button {
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
}

.level2-map-card .security-map-icon-button .security-map-method-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.level2-map-card .security-map-icon-button .security-feature-icon.small {
  width: 38px;
  height: 38px;
}

.level2-table .security-map-method-icon {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.level2-table .security-map-method-icon .security-feature-icon.small {
  width: 30px;
  height: 30px;
}

@media (max-width: 560px) {
  .level2-map-card .security-map-icon-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.level2-generator [hidden] {
  display: none !important;
}

.level2-generator .level2-methods label {
  min-height: 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.level2-settings-panel [hidden] {
  display: none !important;
}

/* Final Level 2 privacy overrides. */
.level2-map-privacy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}

.level2-map-privacy .backup-status {
  margin: 0;
}

.level2-map-privacy .secondary-button,
.level2-reveal-row {
  min-height: 34px;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.84rem;
}

.level2-masked-value {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 24px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 999px;
  background: rgba(119, 240, 90, 0.08);
  color: transparent;
  font-size: 0;
}

.level2-masked-value::before {
  content: "Hidden";
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.level2-reveal-cell {
  text-align: center;
}

.level2-reveal-row {
  border: 1px solid rgba(119, 240, 90, 0.42);
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.level2-reveal-row[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(119, 240, 90, 0.16);
  color: var(--accent);
}

.level2-table th:nth-child(3),
.level2-table td:nth-child(3) {
  width: 28%;
}

.level2-table th:nth-child(7),
.level2-table td:nth-child(7),
.level2-table th:nth-child(8),
.level2-table td:nth-child(8) {
  width: 76px;
  text-align: center;
}

@media (max-width: 640px) {
  .level2-map-privacy {
    grid-template-columns: 1fr;
  }
}

.level2-page .level2-map-card .security-map-icon-picker,
.level2-map-card .security-map-icon-picker {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  align-items: center;
  place-items: center;
}

.level2-page .level2-map-card .security-map-icon-button,
.level2-map-card .security-map-icon-button {
  justify-self: center;
  align-self: center;
  display: inline-grid;
  place-items: center;
}

.icon-master-password-vector {
  background-image: url("../img/security-icons/additional-secret-vector.png");
  filter: drop-shadow(0 0 18px rgba(255, 81, 74, 0.22));
}

.icon-state-file-vector {
  background-image: url("../img/security-icons/state-file-vector.svg");
  filter: drop-shadow(0 0 18px rgba(119, 240, 90, 0.22));
}

.backup-trust-row .icon-state-file-vector {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.level2-method-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.level2-method-edit-option {
  display: inline-grid;
  grid-template-columns: 16px 30px;
  gap: 4px;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.72);
  padding: 3px 5px;
}

.level2-method-edit-option input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}

.level2-entry-row {
  cursor: pointer;
}

.level2-entry-row:hover td {
  background: rgba(119, 240, 90, 0.045);
}

.level2-edit-actions {
  display: grid;
  gap: 6px;
}

.level2-table th:nth-child(7),
.level2-table td:nth-child(7),
.level2-table th:nth-child(8),
.level2-table td:nth-child(8),
.level2-table th:nth-child(9),
.level2-table td:nth-child(9) {
  width: 76px;
  text-align: center;
}

@media (max-width: 560px) {
  .level2-page .level2-map-card .security-map-icon-picker,
  .level2-map-card .security-map-icon-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Final Level 2 filter and pagination controls. */
.level2-map-card .level2-map-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.34fr) minmax(180px, 0.6fr) auto;
  gap: 10px;
  align-items: end;
  margin: 12px 0;
}

.level2-filter-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--text);
  font-weight: 850;
}

.level2-filter-field span {
  font-size: 0.86rem;
  text-transform: uppercase;
  color: var(--accent);
}

.level2-filter-field input,
.level2-filter-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(119, 240, 90, 0.38);
  border-radius: 8px;
  background: rgba(2, 10, 6, 0.86);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  padding: 9px 12px;
}

.level2-filter-field input:focus,
.level2-filter-field select:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(119, 240, 90, 0.12);
}

.level2-filter-status {
  margin: 0;
  align-self: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.level2-pagination {
  display: grid;
  grid-template-columns: auto minmax(78px, auto) auto;
  gap: 8px;
  align-items: center;
  justify-content: end;
}

.level2-pagination span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  text-align: center;
}

.level2-pagination .secondary-button {
  min-height: 38px;
  border: 1px solid rgba(119, 240, 90, 0.42);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.84);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 11px;
  cursor: pointer;
}

.level2-pagination .secondary-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

@media (max-width: 820px) {
  .level2-map-card .level2-map-filter,
  .level2-pagination {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

/* Stateless Gen 2.0 choice screen. */
.stateless-gen2-choice-page .gen2-choice-hero {
  max-width: 1180px;
}

.gen2-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 1180px;
  margin-top: 18px;
}

.gen2-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  gap: 16px;
}

.gen2-choice-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.gen2-choice-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gen2-choice-card .primary-button,
.gen2-choice-card .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.gen2-choice-card .primary-button {
  border: 1px solid rgba(119, 240, 90, 0.86);
  background: linear-gradient(135deg, #7dfb5c, #32d958);
  color: #021006;
  box-shadow: 0 14px 36px rgba(60, 240, 78, 0.18);
}

.gen2-choice-card .primary-button:hover,
.gen2-choice-card .primary-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(60, 240, 78, 0.24);
}

.gen2-choice-card .secondary-button {
  border: 1px solid rgba(119, 240, 90, 0.34);
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
}

.gen2-choice-card-active {
  border-color: rgba(119, 240, 90, 0.62);
  box-shadow: 0 22px 70px rgba(39, 255, 80, 0.08);
}

.gen2-choice-card-soon {
  border-color: rgba(119, 240, 90, 0.24);
}

.gen2-choice-card-soon .secondary-button:disabled {
  cursor: not-allowed;
  border-color: rgba(119, 240, 90, 0.2);
  background: rgba(119, 240, 90, 0.08);
  color: rgba(232, 255, 228, 0.74);
  opacity: 1;
}

.gen2-choice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gen2-choice-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid rgba(119, 240, 90, 0.32);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.gen2-choice-status.ready {
  border-color: rgba(119, 240, 90, 0.72);
  background: rgba(119, 240, 90, 0.12);
  color: var(--accent);
}

.gen2-choice-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(119, 240, 90, 0.42);
  border-radius: 12px;
  background: rgba(2, 10, 6, 0.78);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(119, 240, 90, 0.12);
}

.gen2-choice-mark.windows-hello {
  position: relative;
  overflow: hidden;
  border-color: rgba(119, 240, 90, 0.58);
  background: radial-gradient(circle at 50% 40%, rgba(119, 240, 90, 0.16), rgba(2, 10, 6, 0.88) 68%);
  box-shadow: 0 0 28px rgba(119, 240, 90, 0.16);
}

.gen2-choice-mark.windows-hello::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 20px 0 0 var(--accent);
}

.gen2-choice-mark.windows-hello::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 15px;
  width: 28px;
  height: 16px;
  border-bottom: 6px solid var(--accent);
  border-radius: 0 0 28px 28px;
}

.gen2-choice-mark.biometric {
  position: relative;
  border-radius: 50%;
  border-color: rgba(119, 240, 90, 0.34);
  background:
    radial-gradient(circle at 50% 48%, rgba(119, 240, 90, 0.08), rgba(2, 10, 6, 0.94) 68%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cg stroke='%239be98c' stroke-width='2.8' stroke-linecap='round' opacity='0.86'%3E%3Cpath d='M14 35c0-11 7.5-20 18-20s18 9 18 20'/%3E%3Cpath d='M20 53V35c0-7.5 5-13.5 12-13.5S44 27.5 44 35v13'/%3E%3Cpath d='M26 57V35c0-4 2.5-7.5 6-7.5s6 3.5 6 7.5v21'/%3E%3Cpath d='M32 57V37'/%3E%3Cpath d='M8 42v-7c0-15 10-27 24-27s24 12 24 27v8'/%3E%3Cpath d='M10 23c4-9 12-15 22-15 9.5 0 17.5 5.5 22 14'/%3E%3Cpath d='M14 51V40'/%3E%3Cpath d='M50 52V39'/%3E%3Cpath d='M23 13c3-1.6 6-2.4 9-2.4 6.5 0 12.5 3 16.5 8'/%3E%3Cpath d='M16.5 26c3-6 8.5-10 15.5-10 8.5 0 15 6.5 15 16'/%3E%3Cpath d='M38 14.5c2.2.8 4.4 2.2 6.4 4.1'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center, center;
  background-size: cover, 40px 40px;
  background-repeat: no-repeat;
  box-shadow: 0 0 22px rgba(119, 240, 90, 0.08);
}

.gen2-choice-mark.biometric::before,
.gen2-choice-mark.biometric::after {
  content: none;
}

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

  .gen2-choice-card {
    min-height: 0;
  }
}

/* Homepage refresh and security visual explainers. */
.home-refresh-hero {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(560px, 1.28fr);
  gap: 18px;
  align-items: center;
  padding-top: 58px;
}

.home-refresh-copy {
  min-width: 0;
}

.home-refresh-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.9rem, 6.4vw, 5.7rem);
  line-height: 0.9;
}

.home-refresh-copy .hero-subtitle {
  font-size: clamp(1.35rem, 2.45vw, 2rem);
  line-height: 1.35;
}

.home-refresh-copy p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--muted);
}

.home-hero-visual {
  min-width: 0;
}

.home-flow-diagram {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.92fr) minmax(170px, 0.74fr) minmax(190px, 0.78fr);
  gap: 24px;
  align-items: center;
  min-height: 430px;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 58% 50%, rgba(119, 240, 90, 0.18), transparent 18rem),
    rgba(2, 10, 6, 0.62);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  padding: 18px 22px;
}

.home-flow-connectors {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-flow-connectors path {
  fill: none;
  stroke-width: 0.38;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(119, 240, 90, 0.32));
}

.home-flow-connectors .connector-blue { stroke: rgba(66, 183, 255, 0.88); }
.home-flow-connectors .connector-red { stroke: rgba(255, 81, 74, 0.86); }
.home-flow-connectors .connector-gold { stroke: rgba(255, 209, 45, 0.86); }
.home-flow-connectors .connector-green { stroke: rgba(119, 240, 90, 0.9); }
.home-flow-connectors .connector-main {
  stroke: rgba(119, 240, 90, 0.96);
  stroke-width: 0.52;
}

.home-flow-inputs,
.home-flow-outputs {
  position: relative;
  z-index: 1;
  display: grid;
  align-self: center;
  gap: 18px;
}

.home-flow-inputs {
  position: relative;
}

.home-flow-inputs::after {
  content: none;
}

.home-flow-node,
.home-flow-output {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(119, 240, 90, 0.24);
  border-radius: 10px;
  background: rgba(2, 10, 6, 0.78);
  padding: 12px;
}

.home-flow-node.blue { border-color: rgba(66, 183, 255, 0.58); }
.home-flow-node.red { border-color: rgba(255, 81, 74, 0.62); }
.home-flow-node.gold { border-color: rgba(255, 209, 45, 0.62); }
.home-flow-node.green { border-color: rgba(119, 240, 90, 0.62); }

.home-flow-node::after {
  content: none;
}

.home-flow-node.blue::after {
  color: rgba(66, 183, 255, 0.9);
  background: rgba(66, 183, 255, 0.82);
}

.home-flow-node.red::after {
  color: rgba(255, 81, 74, 0.88);
  background: rgba(255, 81, 74, 0.8);
}

.home-flow-node.gold::after {
  color: rgba(255, 209, 45, 0.88);
  background: rgba(255, 209, 45, 0.8);
}

.home-flow-node.green::after {
  color: rgba(119, 240, 90, 0.9);
  background: rgba(119, 240, 90, 0.82);
}

.home-flow-node strong,
.home-flow-output strong,
.home-engine-card strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.1;
}

.home-flow-node span,
.home-flow-output span,
.home-engine-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-flow-node .security-feature-icon,
.home-flow-output .security-feature-icon {
  width: 42px;
  height: 42px;
}

.home-flow-engine {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.home-flow-engine::after {
  content: "=";
  position: absolute;
  right: -31px;
  top: 50%;
  z-index: 2;
  width: 24px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 0;
  color: var(--accent);
  font-size: 2.1rem;
  font-weight: 950;
  line-height: 1;
  transform: translateY(-50%);
  text-shadow: 0 0 18px rgba(119, 240, 90, 0.55);
}

.home-flow-join {
  display: grid;
  position: absolute;
  left: -25px;
  top: 50%;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #eaffea;
  box-shadow: 0 0 18px rgba(119, 240, 90, 0.52);
  transform: translateY(-50%);
}

.home-flow-join::before,
.home-flow-join::after {
  content: none;
}

.home-engine-card {
  display: grid;
  justify-items: center;
  width: min(180px, 100%);
  border: 2px solid rgba(119, 240, 90, 0.76);
  border-radius: 14px;
  background: rgba(5, 20, 11, 0.9);
  box-shadow: 0 0 44px rgba(119, 240, 90, 0.18);
  padding: 20px 14px;
  text-align: center;
}

.home-engine-card .flow-brand-mark {
  margin-bottom: 14px;
}

.home-flow-output {
  border-color: rgba(119, 240, 90, 0.48);
  background:
    radial-gradient(circle at 15% 50%, rgba(119, 240, 90, 0.16), transparent 7rem),
    rgba(2, 10, 6, 0.82);
  box-shadow: 0 0 30px rgba(119, 240, 90, 0.1);
  min-height: 82px;
  margin-left: 0;
  padding: 12px;
}

.home-flow-output strong,
.home-flow-output span {
  color: var(--text);
}

.home-flow-output span {
  color: var(--accent);
  font-weight: 850;
}

.home-flow-output.password {
  position: relative;
}

.home-flow-output.password::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 2px;
  height: 18px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(119, 240, 90, 0.5);
}

.home-flow-output.password::before {
  content: "";
  position: absolute;
  left: calc(50% - 5px);
  bottom: -25px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--accent);
  filter: drop-shadow(0 0 6px rgba(119, 240, 90, 0.5));
}

.home-flow-output.map {
  margin-top: 0;
}

.home-output-lock {
  position: relative;
  display: inline-block;
  justify-self: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  margin: 0;
  background: var(--accent);
  border-radius: 7px;
  box-shadow: 0 0 16px rgba(119, 240, 90, 0.24);
}

.home-output-lock::before {
  content: "";
  position: absolute;
  left: 6px;
  top: -15px;
  width: 18px;
  height: 21px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--accent);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.home-output-lock::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 11px;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: #021006;
}

.home-formula-strip {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(160px, 1fr) auto minmax(150px, 1fr) auto minmax(170px, 1.04fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(119, 240, 90, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 52, 24, 0.78), rgba(2, 10, 6, 0.92));
  padding: 16px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.home-formula-token,
.home-formula-result {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(119, 240, 90, 0.24);
  border-radius: 8px;
  background: rgba(2, 10, 6, 0.72);
  color: var(--text);
  font-weight: 850;
  text-align: center;
  padding: 12px;
}

.home-formula-result {
  border-color: rgba(119, 240, 90, 0.82);
  background: linear-gradient(135deg, #7dfb5c, #31da58);
  color: #021006;
}

.home-formula-strip b {
  color: var(--accent);
  font-size: 1.35rem;
  text-align: center;
}

.home-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-top: 30px;
}

.home-explainer-section {
  margin-top: 30px;
}

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

.home-explainer-card,
.security-visual-card {
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.78);
  padding: 18px;
}

.home-explainer-card h3,
.security-visual-card h3 {
  margin: 0;
  color: var(--text);
}

.home-explainer-card p,
.security-visual-card p {
  color: var(--muted);
}

.mini-visual-flow,
.security-mini-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 16px 0;
}

.mini-visual-flow span,
.mini-visual-flow strong,
.security-mini-flow span,
.security-mini-flow strong {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(119, 240, 90, 0.28);
  border-radius: 8px;
  background: rgba(2, 10, 6, 0.72);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 8px 10px;
}

.mini-visual-flow strong,
.security-mini-flow strong {
  border-color: rgba(119, 240, 90, 0.72);
  background: rgba(119, 240, 90, 0.14);
  color: var(--accent);
}

.mini-visual-flow b,
.security-mini-flow b {
  color: var(--accent);
}

.mini-visual-flow.three,
.security-mini-flow.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.security-visual-card .gen2-choice-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

@media (max-width: 980px) {
  .home-refresh-hero,
  .home-tool-grid,
  .home-explainer-grid,
  .security-visual-grid {
    grid-template-columns: 1fr;
  }

  .home-formula-strip {
    grid-template-columns: 1fr;
  }

  .home-flow-diagram {
    grid-template-columns: 1fr;
  }

  .home-flow-engine {
    min-height: 210px;
  }

  .home-flow-join {
    display: none;
  }

  .home-flow-connectors,
  .home-flow-inputs::after,
  .home-flow-node::after,
  .home-flow-engine::after {
    display: none;
  }

  .home-flow-output.password::before,
  .home-flow-output.password::after {
    display: none;
  }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .home-refresh-hero {
    grid-template-columns: minmax(250px, 0.62fr) minmax(620px, 1.38fr);
    gap: 12px;
  }

  .home-refresh-copy h1 {
    font-size: clamp(2.7rem, 6vw, 4.9rem);
  }

  .home-refresh-copy .hero-subtitle {
    font-size: clamp(1.18rem, 2.1vw, 1.62rem);
  }

  .home-flow-diagram {
    grid-template-columns: minmax(210px, 0.9fr) minmax(150px, 0.72fr) minmax(180px, 0.78fr);
    gap: 20px;
    padding: 16px 18px;
  }

  .home-flow-node,
  .home-flow-output {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .home-flow-outputs {
    padding-top: 0;
    gap: 16px;
  }

  .home-flow-output {
    min-height: 88px;
  }

  .home-flow-node .security-feature-icon,
  .home-flow-output .security-feature-icon {
    width: 36px;
    height: 36px;
  }
}

/* Guide 2.0 walkthrough mock screenshots. */
.guide2-hero .guide2-formula {
  margin-top: 24px;
}

.guide2-step-grid {
  align-items: stretch;
}

.guide2-screen-card {
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
}

.guide2-browser-shot,
.guide2-generator-shot,
.guide2-map-shot,
.guide2-settings-shot {
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(119, 240, 90, 0.22);
  border-radius: 8px;
  background: rgba(2, 10, 6, 0.78);
  padding: 14px;
  color: var(--text);
}

.guide2-map-shot {
  overflow-x: auto;
}

.shot-topbar {
  min-height: 28px;
  border: 1px solid rgba(119, 240, 90, 0.18);
  border-radius: 999px;
  background: rgba(119, 240, 90, 0.08);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 10px;
  margin-bottom: 14px;
}

.guide2-choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.guide2-choice {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 150px;
  border: 1px solid rgba(119, 240, 90, 0.2);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.8);
  padding: 12px;
  text-align: center;
}

.guide2-choice.active {
  border-color: rgba(119, 240, 90, 0.7);
  box-shadow: 0 16px 38px rgba(39, 255, 80, 0.08);
}

.guide2-choice span:not(.gen2-choice-mark) {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.guide2-panel-row,
.guide2-generator-shot,
.guide2-settings-shot {
  display: grid;
  gap: 10px;
}

.guide2-panel-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide2-panel-row button,
.guide2-generator-shot label,
.guide2-checkbox,
.guide2-reveal-card {
  border: 1px solid rgba(119, 240, 90, 0.24);
  border-radius: 8px;
  background: rgba(5, 20, 11, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 850;
  padding: 10px;
}

.guide2-generator-shot {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide2-generator-shot label {
  display: grid;
  gap: 5px;
  color: var(--muted);
}

.guide2-generator-shot label strong {
  color: var(--text);
}

.guide2-checkbox::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(119, 240, 90, 0.72);
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: -2px;
}

.guide2-checkbox.checked::before {
  background: var(--accent);
  box-shadow: inset 0 0 0 3px rgba(2, 10, 6, 0.95);
}

.guide2-generator-shot .mini-actions {
  grid-column: 1 / -1;
}

.guide2-icon-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  place-items: center;
  margin-bottom: 10px;
}

.guide2-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.guide2-table th,
.guide2-table td {
  border: 1px solid rgba(119, 240, 90, 0.14);
  padding: 7px;
  text-align: left;
  white-space: nowrap;
}

.guide2-table th {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.72rem;
}

.guide2-reveal-card h3,
.guide2-reveal-card p {
  margin-top: 0;
}

.content-cards.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .guide2-choice-row,
  .guide2-panel-row,
  .guide2-generator-shot,
  .content-cards.three-column {
    grid-template-columns: 1fr;
  }
}

/* Final Gen 3 overrides live last so shared tool styles cannot flatten them. */
.gen3-page .gen3-map-control {
  border-top: 1px solid rgba(119, 240, 90, 0.16);
  border-bottom: 1px solid rgba(119, 240, 90, 0.16);
  background: #08140d;
  padding-top: 26px;
  padding-bottom: 26px;
}

.gen3-page .gen3-workspace {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.gen3-page .backup-tool-card {
  border-color: rgba(119, 240, 90, 0.28);
  border-radius: 8px;
  background: #09170f;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  padding: 20px;
}

.gen3-page .gen3-generator,
.gen3-page .gen3-map-card {
  width: 100%;
}

.gen3-page .feature-card-heading {
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.gen3-page .feature-card-heading .legend-art {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.gen3-page .feature-card-heading .eyebrow {
  margin: 0 0 4px;
  letter-spacing: 0;
}

.gen3-page .feature-card-heading h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.gen3-page .gen3-form {
  gap: 7px;
}

.gen3-page .gen3-form label {
  margin-top: 7px;
  margin-bottom: 0;
  font-size: 0.88rem;
}

.gen3-page .gen3-form label span {
  color: var(--muted);
  font-weight: 700;
}

.gen3-page input {
  min-height: 48px;
  border-color: rgba(119, 240, 90, 0.32);
  background: #041009;
}

.gen3-page button {
  letter-spacing: 0;
}

.gen3-page .secondary-button,
.gen3-page .gen3-row-actions button,
.gen3-page #gen3CopyPassword {
  min-height: 42px;
  border: 1px solid rgba(119, 240, 90, 0.38);
  border-radius: 7px;
  background: #07170d;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 0 14px;
}

.gen3-page .secondary-button:hover,
.gen3-page .secondary-button:focus-visible,
.gen3-page .gen3-row-actions button:hover,
.gen3-page .gen3-row-actions button:focus-visible,
.gen3-page #gen3CopyPassword:hover,
.gen3-page #gen3CopyPassword:focus-visible {
  border-color: var(--accent);
  background: rgba(119, 240, 90, 0.1);
  outline: none;
}

.gen3-page .secondary-button:disabled,
.gen3-page .gen3-row-actions button:disabled,
.gen3-page #gen3CopyPassword:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.gen3-page #gen3CopyPassword {
  width: 100%;
  margin-top: 10px;
}

.gen3-page .gen3-generate-button {
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(50, 204, 104, 0.18);
}

.gen3-page .level2-result-box {
  margin-top: 12px;
}

.gen3-page .gen3-recipe {
  margin: 14px 0;
}

.gen3-page .gen3-recipe span {
  min-height: 42px;
  display: grid;
  place-items: center;
}

.gen3-page .gen3-character-options {
  min-width: 0;
  margin: 16px 0 0;
  border: 0;
  padding: 0;
}

.gen3-page .gen3-character-options legend {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 850;
}

.gen3-page .gen3-character-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.gen3-page .gen3-character-grid label {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(119, 240, 90, 0.34);
  border-radius: 8px;
  background: #041009;
  color: var(--text);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 10px;
}

.gen3-page .gen3-character-grid label:has(input:checked) {
  border-color: rgba(119, 240, 90, 0.7);
  background: rgba(119, 240, 90, 0.08);
}

.gen3-page .gen3-character-grid input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
}

.gen3-page .gen3-auth-option,
.gen3-page .gen3-unlock-method {
  border-color: rgba(119, 240, 90, 0.28);
  background: #07170d;
}

.gen3-page .gen3-passphrase-option {
  display: grid;
  align-content: start;
  gap: 8px;
}

.gen3-page .gen3-passphrase-option h3,
.gen3-page .gen3-file-protection h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.gen3-page .gen3-passphrase-option label,
.gen3-page .gen3-file-protection-form label {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 850;
}

.gen3-page .gen3-passphrase-option input,
.gen3-page .gen3-file-protection-form input {
  min-height: 42px;
}

.gen3-page .gen3-file-protection {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(119, 240, 90, 0.28);
  border-radius: 8px;
  background: #07170d;
  padding: 18px;
}

.gen3-page .gen3-file-protection p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.gen3-page .gen3-file-protection-form {
  display: grid;
  gap: 8px;
}

.gen3-page .gen3-file-protection-form .primary-button {
  min-height: 46px;
  margin-top: 4px;
}

.gen3-page .level2-google-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.gen3-page .google-button-area {
  min-height: 0;
  margin-top: 10px;
  overflow: hidden;
}

.gen3-map-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
  margin-bottom: 10px;
}

.gen3-page .gen3-map-toolbar input {
  min-height: 42px;
}

.gen3-page .gen3-table-wrap {
  border-color: rgba(119, 240, 90, 0.28);
  background: #041009;
}

.gen3-page .gen3-table {
  min-width: 1020px;
  table-layout: fixed;
  font-size: 0.84rem;
}

.gen3-page .gen3-table th,
.gen3-page .gen3-table td {
  padding: 10px 9px;
}

.gen3-page .gen3-table th {
  background: #102a17;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.gen3-page .gen3-table th:nth-child(1) { width: 15%; }
.gen3-page .gen3-table th:nth-child(2) { width: 14%; }
.gen3-page .gen3-table th:nth-child(3) { width: 16%; }
.gen3-page .gen3-table th:nth-child(4),
.gen3-page .gen3-table th:nth-child(5) { width: 7%; }
.gen3-page .gen3-table th:nth-child(6) { width: 10%; }
.gen3-page .gen3-table th:nth-child(7) { width: 18%; }
.gen3-page .gen3-table th:nth-child(8) { width: 13%; }

.gen3-page .gen3-table tr.is-hidden td {
  background: rgba(2, 10, 6, 0.72);
  color: var(--muted);
}

.gen3-masked {
  color: #799183;
  font-style: italic;
}

.gen3-row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.gen3-page .gen3-row-actions button {
  min-height: 34px;
  padding: 0 8px;
  font-size: 0.76rem;
}

.gen3-page .gen3-row-actions button.danger {
  border-color: rgba(255, 107, 107, 0.48);
  color: #ffb0b0;
}

.gen3-page .gen3-row-actions button.danger:hover,
.gen3-page .gen3-row-actions button.danger:focus-visible {
  border-color: var(--danger);
  background: rgba(255, 107, 107, 0.1);
}

@media (max-width: 1050px) {
  .gen3-page .gen3-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .gen3-page .feature-card-heading h2 {
    font-size: 1.65rem;
  }

  .gen3-map-toolbar {
    grid-template-columns: 1fr;
  }

  .gen3-page .gen3-file-protection {
    grid-template-columns: 1fr;
  }

  .gen3-page .gen3-character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
