:root {
  --ink: #17211d;
  --paper: #f5f3ec;
  --line: #d8d7cf;
  --acid: #d9ff58;
  --forest: #21483b;
  --muted: #6d746f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  height: 78px;
  max-width: none;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.site-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: calc(100vh - 78px);
}

.page-content {
  min-width: 0;
}

.tool-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 28px 16px;
  overflow-y: auto;
  background: #efeee7;
  border-right: 1px solid var(--line);
}

.tool-navigation {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15px;
}

.tool-navigation strong {
  font-size: 10px;
  letter-spacing: 1.2px;
}

.tool-navigation .flexaccordian-item-header {
  border-radius: 7px;
}

.tool-navigation li.current > .flexaccordian-item-header {
  background: #dfe8d8 !important;
  color: var(--ink) !important;
  box-shadow: inset 3px 0 0 var(--forest);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  width: fit-content;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.brand small {
  color: #66716b;
  font-size: 12px;
  font-weight: 500;
}

.brand-mark {
  width: 33px;
  height: 33px;
  display: inline-grid;
  place-items: center;
  margin-right: 7px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--acid);
  font: 700 12px/1 monospace;
}

nav {
  display: flex;
  gap: 34px;
}

nav a,
.github-link {
  color: #47504c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.topbar-actions {
  justify-self: end;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

.client-ip {
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.client-ip strong {
  color: var(--ink);
  font: 700 12px/1.2 monospace;
}

.client-ip small {
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.github-link span {
  color: var(--forest);
}

.hero {
  max-width: 920px;
  margin: 0 auto;
  padding: 112px 28px 104px;
  text-align: center;
}

.eyebrow,
.kicker,
.workspace-head > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #55615b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4eb36c;
  box-shadow: 0 0 0 4px #dceadf;
}

.hero h1 {
  margin: 27px 0 25px;
  font-size: clamp(50px, 7vw, 84px);
  line-height: 0.97;
  letter-spacing: -5px;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 22%;
  left: -2%;
  right: -2%;
  bottom: 5%;
  background: var(--acid);
  transform: rotate(-1deg);
}

.hero > p {
  max-width: 590px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.search-box {
  width: min(610px, 100%);
  min-height: 58px;
  margin: 42px auto 20px;
  padding: 0 16px 0 20px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #cfcfc7;
  border-radius: 13px;
  box-shadow: 0 9px 25px rgb(31 47 40 / 8%);
}

.search-box:focus-within {
  outline: 3px solid rgb(217 255 88 / 45%);
  border-color: #809337;
}

.search-box > span {
  font-size: 25px;
  transform: rotate(-15deg);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

kbd {
  padding: 5px 8px;
  background: #f1f1ec;
  border: 1px solid #dfdfd7;
  border-radius: 6px;
  color: #8a8e8b;
  font-size: 10px;
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: #777d79;
  font-size: 11px;
}

.trust-row span::first-letter {
  color: #4e9a62;
}

.tools-section {
  padding: 86px max(28px, calc((100% - 1164px) / 2)) 110px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
  padding: 0 10px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -1.4px;
}

.section-number {
  color: #97a09b;
  font: 700 11px monospace;
}

.section-heading > span {
  color: #929995;
  font: 700 10px monospace;
  letter-spacing: 1px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tool-card {
  min-height: 265px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: var(--ink);
  background: #f3f2ec;
  border: 1px solid #d9d9d2;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 25px rgb(27 38 33 / 10%);
}

.tool-card:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.tool-card.mint {
  background: #e7f3e7;
}

.tool-card.lilac {
  background: #eeebf8;
}

.tool-card.peach {
  background: #f7e8dc;
}

.tool-card.blue {
  background: #e4eff5;
}

.tool-card.yellow {
  background: #f7f0d4;
}

.tool-card.pink {
  background: #f5e8eb;
}

.tool-card.grey {
  background: #eeefec;
}

.tool-mark {
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(23 33 29 / 15%);
  border-radius: 10px;
  font: 800 12px monospace;
}

.status {
  align-self: flex-end;
  margin-top: -35px;
  padding: 5px 8px;
  border-radius: 50px;
  background: rgb(255 255 255 / 55%);
  color: #818783;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.status.ready {
  background: #d8f0d9;
  color: #377446;
}

.tool-card strong {
  margin-top: 45px;
  font-size: 18px;
  letter-spacing: -0.5px;
}

.tool-description {
  margin-top: 8px;
  color: #6e746f;
  font-size: 12px;
  line-height: 1.5;
}

.open-tool {
  margin-top: auto;
  color: #3d4742;
  font-size: 11px;
  font-weight: 800;
}

.empty-state {
  padding: 50px;
  text-align: center;
  color: var(--muted);
}

.workspace {
  max-width: 1164px;
  margin: 100px auto;
  border: 1px solid #233d34;
  border-radius: 18px;
  overflow: hidden;
  background: var(--forest);
  color: #f7f4e9;
  box-shadow: 0 28px 70px rgb(24 43 36 / 17%);
}

.workspace-head {
  min-height: 65px;
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 13%);
}

.workspace-head > span,
.kicker {
  color: #b8c8c0;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgb(0 0 0 / 15%);
}

.segmented button {
  padding: 8px 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #afc0b8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.segmented button.active {
  background: #fff;
  color: var(--ink);
}

.work-panel {
  padding: 58px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 110%, rgb(217 255 88 / 12%), transparent 33%),
    var(--forest);
}

.work-copy h1,
.work-copy h2 {
  margin: 18px 0;
  font-size: clamp(37px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -2.8px;
}

.work-copy p {
  max-width: 390px;
  color: #becbc5;
  font-size: 14px;
  line-height: 1.7;
}

.control-card {
  padding: 27px;
  border-radius: 14px;
  background: #f8f7f1;
  color: var(--ink);
}

.field-label {
  display: block;
  margin: 12px 0 8px;
  color: #6f7772;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.result-field {
  min-height: 56px;
  padding: 10px 10px 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d8d8d0;
  border-radius: 9px;
  background: #fff;
}

.result-field code {
  flex: 1;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.result-field button {
  width: 74px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: #edf0e9;
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.result-multiline {
  min-height: 78px;
  align-items: flex-start;
}

.result-multiline code {
  max-height: 115px;
  overflow: auto;
  white-space: pre-wrap;
  line-height: 1.45;
}

.secret code {
  filter: blur(4px);
  transition: filter 150ms ease;
}

.secret:hover code,
.secret:focus-within code {
  filter: none;
}

.range-row {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.range-row output {
  min-width: 31px;
  padding: 3px 7px;
  border-radius: 5px;
  text-align: center;
  background: #e8eadf;
  font: 700 11px monospace;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--forest);
}

.option-grid {
  margin: 21px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.option-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #59615d;
  font-size: 11px;
}

.option-grid input {
  accent-color: var(--forest);
}

.primary-button,
.secondary-button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  width: 100%;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
}

.primary-button span {
  float: right;
}

.primary-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.secondary-button {
  width: 100%;
  border: 1px solid #cbd0ca;
  background: #fff;
  color: var(--ink);
}

.segmented {
  width: fit-content;
  margin-bottom: 18px;
  background: #e9ebe5;
}

.segmented button {
  color: #747b77;
}

textarea,
.two-fields input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8d8d0;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 95px;
  resize: vertical;
  font: 12px/1.5 monospace;
}

textarea:focus,
.two-fields input:focus {
  border-color: #718878;
  box-shadow: 0 0 0 3px rgb(33 72 59 / 10%);
}

.button-row {
  margin: 11px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.two-fields {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.blacklist-workspace {
  overflow: visible;
}

.blacklist-panel {
  align-items: center;
}

.blacklist-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: 8px;
}

.blacklist-input-row input {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d8d8d0;
  border-radius: 8px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font: 13px monospace;
}

.blacklist-input-row input:focus {
  border-color: #718878;
  box-shadow: 0 0 0 3px rgb(33 72 59 / 10%);
}

.blacklist-input-row .primary-button {
  min-width: 142px;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 7px;
  color: #a43e3e;
  font-size: 11px;
  font-weight: 700;
}

.field-help {
  margin: 4px 0 0;
  color: #747b77;
  font-size: 10px;
  line-height: 1.5;
}

.blacklist-results {
  padding: 38px 42px 42px;
  border-top: 1px solid rgb(255 255 255 / 13%);
  background: #f8f7f1;
  color: var(--ink);
}

.blacklist-results-head {
  padding: 0 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.blacklist-results-head .kicker {
  color: var(--forest);
}

.blacklist-results-head h2 {
  margin: 8px 0 0;
  font: 700 clamp(24px, 3vw, 34px) monospace;
  letter-spacing: -1.5px;
}

.blacklist-summary {
  min-width: 190px;
  text-align: right;
}

.blacklist-summary strong {
  display: block;
  color: var(--forest);
  font-size: 28px;
  line-height: 1;
}

.blacklist-summary span {
  display: block;
  margin-top: 5px;
  color: #6f7772;
  font-size: 10px;
}

.blacklist-table-wrap {
  overflow-x: auto;
  border: 1px solid #d8d8d0;
  border-radius: 10px;
  background: #fff;
}

.blacklist-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 12px;
}

.blacklist-table th,
.blacklist-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e3e3dc;
  text-align: left;
  vertical-align: middle;
}

.blacklist-table thead th {
  background: #eef0ea;
  color: #68706b;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blacklist-table tbody tr:last-child th,
.blacklist-table tbody tr:last-child td {
  border-bottom: 0;
}

.blacklist-table a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blacklist-status {
  display: inline-block;
  min-width: 82px;
  padding: 5px 8px;
  border-radius: 999px;
  text-align: center;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.blacklist-status.listed {
  background: #f5dede;
  color: #963737;
}

.blacklist-status.not-listed {
  background: #dcefe0;
  color: #377446;
}

.blacklist-status.failed {
  background: #f4ebcf;
  color: #80651f;
}

.blacklist-disclaimer {
  margin: 18px 10px 0;
  color: #6f7772;
  font-size: 10px;
  line-height: 1.6;
}

.roadmap {
  max-width: 1164px;
  margin: 0 auto;
  padding: 40px 28px 120px;
}

.roadmap h2 {
  margin: 18px 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -3px;
}

.roadmap > p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.65;
}

.roadmap-line {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #c5c8c2;
}

.tool-page {
  min-height: calc(100vh - 208px);
  padding: 1px 28px;
}

.tool-workspace {
  margin-top: 70px;
  margin-bottom: 70px;
}

.password-page {
  background:
    radial-gradient(circle at 84% 12%, rgb(54 116 190 / 10%), transparent 28%),
    var(--paper);
}

.password-workspace {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 88px 0 100px;
}

.password-heading {
  max-width: 650px;
  margin-bottom: 42px;
}

.password-heading .kicker {
  color: #2c68ac;
}

.password-heading h1 {
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -3px;
}

.password-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.password-control-card {
  padding: 34px;
  border: 1px solid #cfd9e5;
  border-radius: 16px;
  background: rgb(255 255 255 / 78%);
  box-shadow: 0 18px 48px rgb(31 67 107 / 9%);
}

.password-control-card > .field-label {
  margin-top: 0;
  color: #58708a;
}

.password-result-field {
  min-height: 72px;
  padding: 10px 10px 10px 20px;
  gap: 8px;
  border-color: #b9c9da;
}

.password-result-field code {
  min-width: 0;
  color: #16324f;
  font-size: clamp(14px, 2vw, 19px);
  line-height: 1.4;
}

.password-result-field .password-refresh-button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  background: #edf3f9;
  color: #2c68ac;
  font-size: 20px;
}

.password-result-field .password-copy-button {
  flex: 0 0 82px;
  width: 82px;
  min-height: 42px;
  background: #3185d6;
  color: #fff;
  box-shadow: 0 4px 12px rgb(49 133 214 / 20%);
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.password-result-field button:hover {
  filter: brightness(0.96);
}

.password-result-field .password-copy-button:hover {
  background: #4a9bea;
  box-shadow: 0 9px 20px rgb(37 119 196 / 30%);
  filter: none;
  transform: translateY(-2px);
}

.password-result-field .password-copy-button:active {
  background: #2675bf;
  box-shadow: 0 3px 8px rgb(37 119 196 / 24%);
  transform: translateY(0);
}

.password-result-field button:focus-visible {
  outline: 3px solid rgb(49 133 214 / 28%);
  outline-offset: 2px;
}

.password-range-row {
  margin-top: 30px;
  align-items: center;
  color: #29445f;
  font-size: 14px;
}

.password-length-label {
  color: #58708a;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.65px;
}

.password-range-row output {
  min-width: 44px;
  min-height: 30px;
  padding: 6px 10px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #d2dee8;
  border-radius: 7px;
  background: #edf3f7;
  color: var(--strength-color, #2c68ac);
  font: 700 14px/1 Arial, Helvetica, sans-serif;
  font-variant-numeric: tabular-nums;
}

.password-range-values {
  display: grid;
  grid-template-columns: 170px 44px;
  gap: 6px;
}

.password-range-row .password-strength-output {
  min-width: 170px;
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.1px;
}

.password-length-slider {
  --range-progress: 26.67%;
  --allowed-maximum-progress: 100%;
  --strength-color: #35bd68;
  height: 34px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.password-slider-shell {
  position: relative;
  margin-top: 6px;
  padding-bottom: 34px;
}

.password-length-slider::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--strength-color) 0 var(--range-progress),
    #dce4ec var(--range-progress) var(--allowed-maximum-progress),
    #edf0f3 var(--allowed-maximum-progress) 100%
  );
}

.password-length-slider::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  margin-top: -8px;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--strength-color);
  box-shadow: 0 1px 6px rgb(22 50 79 / 30%);
}

.password-length-slider::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #dce4ec 0 var(--allowed-maximum-progress),
    #edf0f3 var(--allowed-maximum-progress) 100%
  );
}

.password-length-slider::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: var(--strength-color);
}

.password-length-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--strength-color);
  box-shadow: 0 1px 6px rgb(22 50 79 / 30%);
}

.password-length-slider:focus-visible {
  outline: 0;
}

.password-length-slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgb(44 104 172 / 20%);
}

.password-length-slider:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgb(44 104 172 / 20%);
}

.password-limit-marker {
  position: absolute;
  top: 30px;
  transform: translateX(-50%);
  color: #58708a;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.password-limit-marker.at-end {
  transform: translateX(-100%);
}

.password-limit-marker.at-end::before {
  left: 100%;
}

.password-limit-marker::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  width: 2px;
  height: 14px;
  border-radius: 999px;
  background: #2c68ac;
  transform: translateX(-50%);
}

.password-limit-marker output {
  font: inherit;
}

.password-option-grid {
  margin-bottom: 0;
  padding-top: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  border-top: 1px solid #e1e7ee;
}

.password-option-grid label {
  min-height: 40px;
  color: #425a70;
  font-size: 13px;
}

.password-option-grid input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  display: grid;
  place-content: center;
  -webkit-appearance: none;
  appearance: none;
  border: 1.5px solid #9cabb8;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.password-option-grid input[type="checkbox"]::before {
  content: "";
  width: 6px;
  height: 10px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 100ms ease;
}

.password-option-grid input[type="checkbox"]:hover {
  border-color: #168b78;
  box-shadow: 0 0 0 3px rgb(22 139 120 / 10%);
}

.password-option-grid input[type="checkbox"]:checked {
  border-color: #168b78;
  background: #168b78;
}

.password-option-grid input[type="checkbox"]:checked::before {
  transform: rotate(45deg) scale(1);
}

.password-option-grid input[type="checkbox"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgb(22 139 120 / 20%);
}

.password-option-with-tip {
  display: flex;
  align-items: center;
  gap: 5px;
}

.password-option-with-tip label {
  min-height: 40px;
}

.password-duplicates-option {
  grid-column: 3;
  grid-row: 1;
}

.password-similars-option {
  grid-column: 3;
  grid-row: 2;
}

.password-tip-indicator {
  flex: 0 0 auto;
  color: #2c68ac;
  font-size: 14px;
  cursor: default;
}

.password-flex-tip {
  max-width: 280px;
  color: #29445f;
  font-size: 11px;
  line-height: 1.5;
}

.speed-test-page {
  background:
    radial-gradient(circle at 86% 9%, rgb(95 92 214 / 10%), transparent 27%),
    radial-gradient(circle at 20% 72%, rgb(49 133 214 / 8%), transparent 30%),
    var(--paper);
}

.speed-test-workspace {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 88px 0 100px;
}

.speed-test-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.speed-test-heading .kicker {
  color: #5f5cd6;
}

.speed-test-heading h1 {
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -3px;
}

.speed-test-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.speed-test-panel {
  padding: 34px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 38px;
  border: 1px solid #d3d8ea;
  border-radius: 18px;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 18px 48px rgb(48 53 113 / 9%);
}

.speed-test-meter-column {
  padding-right: 38px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #e1e4ef;
}

.speed-test-meter {
  --meter-progress: 0%;
  position: relative;
  width: 238px;
  height: 238px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    from -42deg,
    #5f5cd6 0,
    #3185d6 var(--meter-progress),
    #e8ebf3 var(--meter-progress),
    #e8ebf3 100%
  );
  box-shadow: 0 13px 30px rgb(49 87 157 / 14%);
  transition: background 180ms ease;
}

.speed-test-meter::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px #edf0f6;
}

.speed-test-meter-value {
  position: relative;
  z-index: 1;
  min-width: 160px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  justify-content: center;
  column-gap: 6px;
  text-align: center;
}

.speed-test-meter-value strong {
  justify-self: end;
  color: #253d69;
  font: 700 clamp(44px, 6vw, 62px)/1 monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -4px;
}

.speed-test-meter-value > span {
  justify-self: start;
  color: #6c7690;
  font-size: 12px;
  font-weight: 800;
}

.speed-test-meter-value small {
  margin-top: 9px;
  grid-column: 1 / -1;
  color: #5f5cd6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.speed-test-button {
  min-width: 174px;
  min-height: 48px;
  margin-top: 28px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: #426fd0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgb(66 111 208 / 25%);
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.speed-test-button:hover {
  background: #527fde;
  box-shadow: 0 11px 24px rgb(66 111 208 / 32%);
  transform: translateY(-2px);
}

.speed-test-button:active {
  background: #315dbb;
  box-shadow: 0 4px 10px rgb(66 111 208 / 23%);
  transform: translateY(0);
}

.speed-test-button:focus-visible {
  outline: 3px solid rgb(66 111 208 / 28%);
  outline-offset: 3px;
}

.speed-test-button[aria-busy="true"] {
  background: #6b7190;
  box-shadow: none;
}

.speed-test-status {
  min-height: 36px;
  margin: 14px 0 0;
  color: #778096;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.speed-test-results {
  min-width: 0;
}

.speed-test-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.speed-test-phases span {
  padding: 0 4px 11px;
  border-bottom: 3px solid #e4e7ef;
  color: #969cad;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  transition:
    border-color 150ms ease,
    color 150ms ease;
}

.speed-test-phases span.active {
  border-color: #426fd0;
  color: #315dbb;
}

.speed-test-phases span.done {
  border-color: #7b78dc;
  color: #5f5cd6;
}

.speed-test-metric-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.speed-test-metric {
  min-height: 122px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  align-items: baseline;
  column-gap: 7px;
  border: 1px solid #dfe3ee;
  border-radius: 12px;
  background: #f8f9fc;
}

.speed-test-metric > span {
  margin-bottom: 13px;
  grid-column: 1 / -1;
  color: #7a8398;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.9px;
}

.speed-test-metric strong {
  min-width: 0;
  overflow: hidden;
  color: #253d69;
  font: 700 clamp(28px, 4vw, 38px)/1 monospace;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
}

.speed-test-metric small {
  color: #7a8398;
  font-size: 10px;
  font-weight: 800;
}

.speed-test-note {
  margin-top: 18px;
  padding: 17px 19px;
  border-left: 3px solid #7b78dc;
  border-radius: 0 9px 9px 0;
  background: #f2f1fb;
}

.speed-test-note strong {
  color: #484690;
  font-size: 11px;
}

.speed-test-note p {
  margin: 5px 0 0;
  color: #74758d;
  font-size: 11px;
  line-height: 1.55;
}

.coming-soon {
  max-width: 760px;
  min-height: 420px;
  margin: 70px auto;
  padding: 70px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 110%, rgb(217 255 88 / 16%), transparent 38%),
    #fff;
}

.coming-soon .kicker {
  color: var(--forest);
}

.coming-soon h1 {
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -3px;
}

.coming-soon p {
  max-width: 490px;
  color: var(--muted);
  line-height: 1.65;
}

.back-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--forest);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.roadmap-line span {
  position: relative;
  padding-top: 22px;
  color: #848b87;
  font-size: 10px;
  font-weight: 800;
}

.roadmap-line span::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aeb4b0;
}

.roadmap-line span.done {
  color: var(--forest);
}

.roadmap-line span.done::before {
  background: var(--forest);
  box-shadow: 0 0 0 4px #dce6df;
}

footer {
  min-height: 130px;
  padding: 30px max(28px, calc((100% - 1164px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
}

footer p,
footer > span {
  color: #7b827e;
  font-size: 11px;
}

footer > span {
  justify-self: end;
}

@media (max-width: 900px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .tool-sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .speed-test-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .speed-test-meter-column {
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid #e1e4ef;
  }

  nav {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    height: auto;
    min-height: 96px;
    padding: 13px 18px;
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .site-shell {
    min-height: calc(100vh - 96px);
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .client-ip {
    flex-wrap: wrap;
    white-space: normal;
  }

  .client-ip strong {
    overflow-wrap: anywhere;
  }

  .github-link {
    font-size: 0;
  }

  .github-link span {
    font-size: 18px;
  }

  .hero {
    padding: 80px 20px 75px;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .trust-row {
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .tools-section {
    padding: 65px 18px;
  }

  .section-heading {
    padding: 0 10px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 230px;
  }

  .workspace {
    margin: 50px 12px 80px;
    border-radius: 13px;
  }

  .workspace-head {
    padding: 12px 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .work-panel {
    padding: 32px 18px;
  }

  .control-card {
    padding: 18px;
  }

  .option-grid,
  .two-fields {
    grid-template-columns: 1fr;
  }

  .roadmap {
    padding-bottom: 75px;
  }

  .roadmap-line {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 28px;
  }

  .tool-page {
    padding: 1px 12px;
  }

  .tool-workspace,
  .coming-soon {
    margin-top: 40px;
    margin-bottom: 50px;
  }

  .password-workspace {
    padding: 54px 6px 70px;
  }

  .password-heading {
    margin-bottom: 30px;
  }

  .password-control-card {
    padding: 22px 18px;
  }

  .speed-test-workspace {
    padding: 54px 6px 70px;
  }

  .speed-test-heading {
    margin-bottom: 30px;
  }

  .speed-test-panel {
    padding: 24px 18px;
  }

  .speed-test-meter {
    width: 216px;
    height: 216px;
  }

  .speed-test-metric {
    min-height: 108px;
    padding: 16px;
  }

  .password-duplicates-option,
  .password-similars-option {
    grid-column: auto;
    grid-row: auto;
  }

  .password-result-field {
    padding-left: 14px;
  }

  .password-result-field .password-copy-button {
    flex-basis: 72px;
    width: 72px;
  }

  .blacklist-input-row {
    grid-template-columns: 1fr;
  }

  .blacklist-input-row .primary-button {
    min-width: 0;
  }

  .blacklist-results {
    padding: 28px 18px 30px;
  }

  .blacklist-results-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .blacklist-summary {
    min-width: 0;
    text-align: left;
  }

  .coming-soon {
    min-height: 340px;
    padding: 40px 24px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  footer > span {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
