@font-face {
  font-family: Manrope;
  src: url(./type.woff2) format("woff2");
  font-display: swap;
  font-weight: 200 800;
}
:root {
  --ink: #14241e;
  --paper: #faf9f5;
  --line: #d4dcd5;
  --muted: #526057;
  --mint: #81d9ae;
  --display: Manrope, system-ui, sans-serif;
  font-family: var(--display);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scrollbar-color: var(--thumb, #9ca99f) var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.48;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--focus, #176648);
  outline-offset: 3px;
}
::selection {
  background: #c1ebd4;
  color: #112a20;
}
.wrap {
  max-width: 1192px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4.5vw, 68px);
}
.skip,
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.skip:focus {
  inset: 6px auto auto 6px;
  clip-path: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px;
  background: var(--paper);
  z-index: 10;
}
.bar {
  border-bottom: 1px solid var(--line);
}
.bar-in,
nav,
.wordmark,
.live,
.hero-foot,
.heading,
.detail-top,
.actions,
.range-row,
.pager,
footer a {
  display: flex;
  align-items: center;
}
.bar-in {
  min-height: 76px;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  gap: 9px;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.038em;
  text-decoration: none;
}
.wordmark img {
  object-fit: contain;
  width: 32px;
  height: 32px;
}
nav {
  gap: clamp(8px, 2.6vw, 36px);
  font-size: 0.91rem;
  font-weight: 700;
}
nav a {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 44px;
  text-decoration: none;
}
nav a:not(.live)::after {
  content: "";
  position: absolute;
  inset: auto 0 4px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.17s ease;
}
nav a[aria-current]::after,
nav a:hover::after {
  transform: scaleX(1);
}
nav .live {
  padding: 0 15px;
  gap: 10px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 9px;
}
[data-i],
.site-mark,
.indicator,
.detail-icon {
  display: inline-grid;
  place-items: center;
}
.live svg,
footer svg {
  width: 16px;
  height: 16px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  min-height: 320px;
  margin-block: clamp(20px, 3vw, 38px) 0;
  background: #073d35;
  color: #f9f8ee;
  border-radius: 16px;
  padding: clamp(28px, 4.5vw, 65px);
  padding-bottom: 70px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}
.hero i {
  font-family: var(--display);
  font-style: normal;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: -0.04em;
}
.hero p {
  max-width: 36ch;
  line-height: 1.55;
  color: #dae9df;
  margin: 18px 0 0;
  font-size: clamp(0.92rem, 1.45vw, 1.08rem);
}
.hero-foot {
  position: absolute;
  inset-block-end: 23px;
  inset-inline-start: clamp(28px, 4.5vw, 65px);
  gap: 9px;
  font-size: 0.77rem;
  color: #d6e6db;
}
.signal {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px #375046;
}
.mechanism {
  position: absolute;
  inset-block: 0;
  inset-inline: 48% 0;
  display: grid;
  place-items: center;
  perspective: 800px;
  pointer-events: auto;
  z-index: -1;
  --shift: 0px;
}
.plate {
  --size: clamp(195px, 24vw, 315px);
  position: relative;
  width: var(--size);
  aspect-ratio: 1/1;
  background: linear-gradient(130deg, #27d297, #008963 60%, #005843);
  border-radius: 22%;
  transform: translateY(var(--shift)) rotateX(calc(6deg + var(--tilt-x, 0deg)))
    rotateY(calc(-8deg + var(--tilt-y, 0deg))) rotateZ(7deg);
  box-shadow:
    inset 2px 3px 1px #88f3cd,
    inset -3px -5px 2px #078567,
    4px 7px #166048,
    6px 10px #164a39,
    12px 23px 34px #031b128f;
  display: grid;
  place-items: center;
  transition: transform 0.22s ease-out;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 6%;
  border: 1px solid #40c69d;
  border-radius: 20%;
}
.screw {
  position: absolute;
  width: 2.9%;
  height: 2.9%;
  background: linear-gradient(
    135deg,
    #ffdc75 38%,
    #415057 44% 54%,
    #fff4c2 62%
  );
  box-shadow: inset 0 0 0 1px #63706c;
  border-radius: 50%;
}
.tl {
  top: 11%;
  left: 12%;
}
.tr {
  top: 11%;
  right: 12%;
}
.bl {
  bottom: 11%;
  left: 12%;
}
.br {
  bottom: 11%;
  right: 12%;
}
.dial-seat {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #edb62e, #fff2b2 45%, #ffd04b 72%, #fff2b2);
  box-shadow: inset 1px 2px 5px #47351055;
  display: grid;
  place-items: center;
}
.dial {
  position: absolute;
  inset: 5%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    #ffdb6c 0 1.2deg,
    #172e35 1.3deg 7.5deg
  );
  border: 4px solid #344c53;
  box-shadow:
    inset 1px 1px 1px #baac8a,
    2px 4px #121e18,
    5px 8px 9px #0821177a;
  transform: rotate(var(--turn, -18deg));
  transition: transform 0.68s cubic-bezier(0.2, 0.85, 0.28, 1.05);
}
.inner {
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(132deg, #34525a, #183038 56%, #0b2025);
  border: 2px solid #1b251d;
  box-shadow: inset 1px 2px 1px #878773;
}
.inner::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px solid #797b69;
}
.latch {
  display: block;
  width: 70%;
  aspect-ratio: 1;
  filter: drop-shadow(0 2px 0 #82602b) drop-shadow(1px 3px 2px #0b110c);
  transform-origin: 70% 20%;
}
.latch::before {
  content: "";
  display: block;
  height: 100%;
  background: linear-gradient(125deg, #fff6c9 4%, #ffdc64 34%, #efb321 55%, #fff1aa 72%);
  -webkit-mask: url("./brand.svg") center / contain no-repeat;
  mask: url("./brand.svg") center / contain no-repeat;
}
@media (forced-colors: active) {
  .latch::before {
    forced-color-adjust: none;
    background: ButtonText;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .latch { transition: transform .2s ease-out; }
  .plate:hover .latch { transform: rotate(-5deg); }
  .plate:active .latch { transform: rotate(-16deg); }
}
.index {
  position: absolute;
  top: -5%;
  left: 48%;
  width: 5%;
  height: 6%;
  background: #ffdb6b;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.board {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin: clamp(26px, 4vw, 48px) 0 40px;
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}
h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.heading,
.detail-top,
.range-row,
.pager {
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.count,
.status {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--muted);
}
.count {
  background: var(--badge, #e4ebe5);
  border-radius: 20px;
  padding: 5px 11px;
}
.request-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.request-list li + li {
  border-top: 1px solid var(--line);
}
.request {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 15px 12px;
  text-align: start;
  background: transparent;
  border: 0;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.request[aria-current] {
  background: var(--selected, #e3eee6);
}
.request:hover {
  background: var(--hover, #dce9df);
}
.site-mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  color: #25342c;
}
.tone-0 {
  background: #96e9cd;
}
.tone-1 {
  background: #ffe18a;
}
.tone-2 {
  background: #bbdcf4;
}
.row-label {
  flex: 1;
  min-width: 0;
}
.row-label strong,
.row-label small {
  display: block;
  overflow-wrap: anywhere;
}
.row-label strong {
  font-size: 1rem;
}
.row-label small {
  font-size: 0.81rem;
  color: var(--muted);
  margin-top: 3px;
}
.indicator {
  opacity: 0.7;
}
.indicator svg {
  width: 17px;
  height: 17px;
  transition: transform 0.18s ease;
}
.request:hover .indicator svg {
  transform: translateX(2px);
}
.details,
.generator {
  background: var(--surface, #fffefa);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(19px, 3vw, 32px);
  min-width: 0;
}
.detail-top {
  margin-bottom: 16px;
}
.detail-icon {
  width: 35px;
  height: 35px;
  background: #e1ebe4;
  border-radius: 50%;
  color: #295341;
}
.details p,
.hint,
.empty {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.purpose {
  margin: 8px 0 18px;
}
dl {
  margin: 0 0 20px;
  border-block: 1px solid var(--line);
  padding-block: 10px;
}
dl div {
  display: grid;
  grid-template-columns: minmax(0, 6.2rem) minmax(0, 1fr);
  gap: 12px;
  padding: 5px 0;
  align-items: baseline;
}
dt {
  font-size: 0.83rem;
  color: var(--muted);
}
dd {
  margin: 0;
  font-size: 0.89rem;
  font-weight: 650;
  overflow-wrap: anywhere;
  unicode-bidi: plaintext;
}
.actions {
  gap: 10px;
  flex-wrap: wrap;
}
.actions button,
.quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  padding: 10px 15px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.actions button svg,
.quiet svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.primary {
  background: var(--action);
  color: var(--action-ink);
  border: 1px solid var(--button-line);
}
.primary:hover:enabled,
nav .live:hover {
  color: var(--action-ink);
  background: var(--primary-hover, #07503a);
}
.secondary,
.quiet {
  border: 1px solid var(--button-line, #c9c5bb);
  background: transparent;
}
.secondary:hover,
.quiet:hover:enabled {
  background: var(--hover, #eeece2);
}
button:active:enabled {
  transform: translateY(1px);
}
.result {
  color: var(--success, #36471f) !important;
  font-weight: 700;
}
.field-error {
  color: var(--error, #803225) !important;
}
.pager:not(:empty) {
  margin-top: 15px;
}
.pager span {
  font-size: 0.8rem;
}
.details:focus {
  outline-offset: 4px;
}
.generator {
  max-width: 720px;
  margin: 30px auto 40px;
}
.generator .heading {
  margin-bottom: 22px;
}
.generator label {
  font-weight: 650;
  font-size: 0.88rem;
}
#generated,
#own {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--well, #edf2ed);
  color: var(--ink);
  padding: 14px 16px;
  margin: 0;
  font:
    500 clamp(1.15rem, 2.2vw, 1.7rem) / 1.6 ui-monospace,
    monospace;
  overflow-wrap: anywhere;
  word-break: break-all;
}
#generated {
  resize: none;
  overflow: hidden;
}
#generated[data-masked="true"] {
  letter-spacing: 0.06em;
}
.secret {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  margin: 8px 0 18px;
}
.eye {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--button-line, #c9c5bb);
  border-radius: 10px;
  background: transparent;
  transition: background 0.15s;
}
.eye:hover,
.eye[aria-pressed="true"] {
  background: var(--hover, #eeece2);
}
.eye svg {
  width: 22px;
  height: 22px;
}
.modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  margin: 0 0 22px;
  min-width: 0;
}
.modes label {
  position: relative;
  display: grid;
  cursor: pointer;
}
.modes input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.modes span {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
  overflow-wrap: anywhere;
  transition:
    background 0.15s,
    color 0.15s;
}
.modes input:hover + span {
  background: var(--hover, #eeece2);
}
.modes input:checked + span {
  background: var(--ink);
  color: var(--paper);
}
.modes input:focus-visible + span {
  outline: 3px solid var(--focus, #176648);
  outline-offset: 3px;
}
#own-note {
  margin: -8px 0 18px;
}
.strength {
  --level: var(--muted);
  margin: 20px 0;
}
.strength[hidden],
.breach[hidden],
.advice[hidden] {
  display: none;
}
.strength-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.strength-line span {
  color: var(--muted);
}
.strength-line strong {
  font-weight: 750;
  color: var(--level);
}
.meter {
  height: 10px;
  border-radius: 99px;
  background: var(--well, #edf2ed);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--level);
  transform: scaleX(var(--fill, 0));
  transform-origin: left center;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.75, 0.3, 1),
    background-color 0.3s;
}
.strength .hint {
  margin-top: 10px;
}
.strength[data-level="0"] { --level: #9c2f1c; }
.strength[data-level="1"] { --level: #96480f; }
.strength[data-level="2"] { --level: #735a00; }
.strength[data-level="3"] { --level: #3f6a18; }
.strength[data-level="4"] { --level: #25603a; }
[data-theme="dark"] .strength[data-level="0"] { --level: #ffa08c; }
[data-theme="dark"] .strength[data-level="1"] { --level: #ffb877; }
[data-theme="dark"] .strength[data-level="2"] { --level: #ead06e; }
[data-theme="dark"] .strength[data-level="3"] { --level: #8cdbac; }
[data-theme="dark"] .strength[data-level="4"] { --level: #81d9ae; }
.advice {
  margin: 10px 0 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.advice li + li {
  margin-top: 4px;
}
.breach {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.breach h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  font-size: 1rem;
}
.breach h3 span {
  border: 1px solid var(--button-line, #c9c5bb);
  border-radius: 99px;
  padding: 2px 9px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
}
.breach .hint {
  margin-top: 8px;
}
.breach .actions {
  margin-top: 16px;
}
button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.6;
}
.breach-result {
  margin: 16px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.breach-result:empty {
  display: none;
}
.breach-result[data-state="found"] {
  border-color: currentColor;
  color: var(--error, #803225);
  font-weight: 700;
}
.breach-result[data-state="clear"] {
  border-color: currentColor;
  color: var(--success, #36471f);
}
.breach-result[data-state="error"],
.breach-result[data-state="stale"] {
  border-color: currentColor;
  color: var(--notice, #6a4a0c);
}
#gen-status:empty {
  display: none;
}
#digits {
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  width: 100%;
  min-height: 44px;
  accent-color: var(--slider, #126348);
  margin: 0 0 12px;
}
.hint {
  font-size: 0.86rem;
  margin: 16px 0 0;
}
footer.wrap {
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}
footer a {
  gap: 5px;
  min-height: 44px;
}
@media (max-width: 720px) {
  .board {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero {
    min-height: 300px;
  }
  .hero-copy {
    max-width: 55vw;
  }
  .hero p {
    max-width: 22ch;
  }
  .plate {
    --size: clamp(140px, 30vw, 210px);
  }
  .hero h1 {
    font-size: clamp(3rem, 9vw, 4.5rem);
  }
  .bar-in {
    min-height: 66px;
  }
  .wordmark {
    font-size: 1.2rem;
  }
  .wordmark img {
    width: 26px;
    height: 26px;
  }
  nav {
    font-size: 0.83rem;
  }
  .mechanism {
    inset-inline-start: 54%;
  }
  .hero[data-page="generator"] .mechanism {
    inset-inline-start: 59%;
  }
  .hero[data-page="generator"] .plate {
    width: 80%;
  }
}
@media (max-width: 520px) {
  .bar-in {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 12px;
  }
  .wordmark {
    min-height: 36px;
  }
  nav {
    justify-content: space-between;
    width: 100%;
    gap: 6px;
    margin: 4px 0 8px;
  }
  nav .live {
    min-height: 44px;
  }
  .hero {
    display: block;
    padding: 24px 18px 54px;
    min-height: 252px;
  }
  .hero h1 {
    font-size: clamp(3.15rem, 11vw, 4.4rem);
  }
  .hero-copy {
    max-width: 60%;
  }
  .hero p {
    font-size: 0.88rem;
    margin-top: 14px;
  }
  .hero-foot {
    inset-inline-start: 18px;
    inset-block-end: 18px;
  }
  .mechanism {
    inset-inline-start: 58%;
    inset-inline-end: 3%;
  }
  .plate {
    --size: min(100%, 155px);
  }
  .hero[data-page="generator"] .mechanism {
    inset-inline-start: 64%;
  }
  .hero[data-page="generator"] .plate {
    width: 100%;
  }
  .hero[data-page="generator"] h1 {
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }
  .request {
    padding: 12px 9px;
  }
  .request-list {
    margin-top: 12px;
  }
  dl div {
    grid-template-columns: 5.6rem minmax(0, 1fr);
    gap: 8px;
  }
  .details,
  .generator {
    padding: 18px;
  }
}
@media (max-width: 360px) {
  .wrap {
    padding-inline: 12px;
  }
  .actions {
    align-items: stretch;
  }
  .actions button {
    flex: 1;
  }
  nav {
    font-size: 0.79rem;
  }
  .bar-in {
    padding-top: 8px;
  }
  dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::after,
  *::before {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .mechanism {
    --shift: 0px !important;
    --tilt-x: 0deg !important;
    --tilt-y: 0deg !important;
  }
}
.hero {
  container-type: inline-size;
}
@container (max-width:13em) {
  .hero-copy {
    max-width: 100%;
  }
  .mechanism {
    display: none;
  }
  .hero h1,
  .hero[data-page="generator"] h1 {
    font-size: clamp(1.75rem, 19cqi, 3rem);
    overflow-wrap: anywhere;
  }
  .hero p {
    max-width: none;
  }
}
@media (max-width: 520px) {
  nav {
    flex-wrap: wrap;
  }
  .heading {
    align-items: baseline;
  }
}
.change-note {
  background: var(--comparison, #f3edda);
  border-radius: 9px;
  padding: 14px 16px;
  margin: 15px 0;
}
.change-note strong {
  font-size: 0.94rem;
}
.change-note p {
  font-size: 0.85rem;
  color: var(--comparison-ink, #50432a);
  margin: 5px 0 0;
}
