

:root {
  
  --teal: #0B7A75;
  --teal-dark: #09615D;
  --teal-tint: rgba(11, 122, 117, 0.10);
  --teal-tint-2: rgba(11, 122, 117, 0.06);

  
  --maroon: #7A1E2A;
  --maroon-dark: #611620;
  --maroon-tint: rgba(122, 30, 42, 0.10);

  
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --line: #E6E9EE;
  --line-strong: #D5DAE2;

  
  --ink: #0E1116;
  --ink-2: #5B6470;
  --ink-3: #8A92A0;

  
  --green: #1FA971;
  --amber: #E8A317;
  --red:   #E5484D;

  
  --r-card: 16px;
  --r-ctrl: 12px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgba(14, 17, 22, 0.04), 0 8px 24px rgba(14, 17, 22, 0.06);
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, 0.05);

  --ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ui);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }


.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 250, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.wordmark-img {
  height: 28px;
  width: auto;
  display: block;
}
.wm-a { color: var(--ink); }
.wm-b { color: var(--teal); }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.nav-link {
  position: relative;
  padding: 6px 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); font-weight: 600; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 2.5px;
  background: var(--teal);
  border-radius: 2px;
}


@media (max-width: 560px) {
  .nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 12px;
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: 10px 2px; font-size: 15px; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { color: var(--teal); }
}


.page {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 20px 48px;
  overflow: clip;
}
.deco {
  position: absolute;
  top: -10px;
  right: -40px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  z-index: 0;
}
.deco-sq, .deco-tri { position: absolute; }
.deco-sq {
  border-radius: 10px;
  background: var(--teal);
}
.deco-sq--1 { width: 120px; height: 120px; top: 10px; right: 60px; opacity: 0.10; transform: rotate(18deg); }

.deco-sq--2 { width: 76px; height: 76px; top: 86px; right: 6px; opacity: 0.18; transform: rotate(-12deg); background: var(--maroon); }
.deco-tri {
  width: 0; height: 0;
  top: 0; right: 120px;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid var(--teal);
  opacity: 0.07;
  transform: rotate(10deg);
}

.page > * { position: relative; z-index: 1; }


.hero { margin: 8px 0 22px; max-width: 30ch; }
.hero-eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);   
}
.hero-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}
.hero-sub {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}


.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  padding: 20px;
}
.gen-card { margin-bottom: 20px; }

.gen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.gen-head-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}


.seg {
  display: inline-flex;
  padding: 3px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.seg-btn {
  border: 0;
  background: transparent;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  transition: background .15s, color .15s;
}
.seg-btn.is-on {
  background: var(--teal);
  color: #fff;
  box-shadow: var(--shadow-sm);
}


.output-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 16px;
}
.output {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0 44px 0 14px;
  height: 52px;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-ctrl);
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  overflow-x: auto;
  white-space: nowrap;
  cursor: pointer;
  scrollbar-width: thin;
}
.output::-webkit-scrollbar { height: 6px; }
.output::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.output:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.icon-copy {
  position: absolute;
  margin-left: -42px;
  align-self: center;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--ink-3);
  transition: color .15s, background .15s;
}
.icon-copy:hover { color: var(--teal); background: var(--teal-tint); }

.btn {
  border: 0;
  border-radius: var(--r-ctrl);
  font-weight: 600;
  font-size: 15px;
  transition: background .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-copy {
  padding: 0 20px;
  background: var(--teal);
  color: #fff;
  flex: 0 0 auto;
}
.btn-copy:hover { background: var(--teal-dark); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }


.meter-row { margin-bottom: 20px; }
.meter {
  height: 8px;
  background: var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--green);
  transition: width .2s ease, background .2s;
}
.meter-fill.is-green { background: var(--green); }
.meter-fill.is-amber { background: var(--amber); }
.meter-fill.is-red   { background: var(--red); }

.meter-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 8px;
}
.meter-label { font-size: 14px; font-weight: 600; color: var(--green); }
.meter-label.is-green { color: var(--green); }
.meter-label.is-amber { color: var(--amber); }
.meter-label.is-red   { color: var(--red); }
.meter-bits { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }


.ctrl { display: grid; gap: 18px; margin-bottom: 20px; }
.ctrl-row { border: 0; margin: 0; padding: 0; }
.ctrl-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px;
  padding: 0;
}
.ctrl-label strong { color: var(--ink); font-weight: 700; }


.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--r-pill);
  background: linear-gradient(var(--teal), var(--teal)) 0/0% 100% no-repeat var(--line);
  
  accent-color: var(--teal);
  outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.slider::-moz-range-progress { background: var(--teal); height: 6px; border-radius: var(--r-pill); }


.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-ctrl);
  color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s;
}
.type-glyph { font-family: var(--mono); font-size: 15px; font-weight: 600; }
.type-sub { font-size: 10px; color: var(--ink-3); }
.type.is-on {
  background: var(--teal-tint);
  border-color: var(--teal);
  color: var(--teal-dark);
}
.type.is-on .type-sub { color: var(--teal-dark); }

.pin-note {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--amber);
}


.btn-regen {
  width: 100%;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
}

.privacy-line {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.privacy-line svg { color: var(--green); flex: 0 0 auto; }


.check-card { margin-bottom: 20px; }

.check-field {
  position: relative;
  display: flex;
  align-items: center;
  margin: 4px 0 14px;
}
.check-input {
  width: 100%;
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: 0.04em;
  padding: 14px 48px 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
}
.check-input::placeholder { font-family: "Inter", sans-serif; letter-spacing: 0; color: var(--ink-3); }
.check-input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  background: var(--surface);
}
.eye-btn {
  position: absolute;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
}
.eye-btn:hover { color: var(--teal); background: var(--teal-tint); }
.eye-btn[aria-pressed="true"] { color: var(--teal); }

.btn-check { width: 100%; }

.check-result { margin-top: 18px; }
.check-result .meter-row { margin-bottom: 14px; }

.breach-line {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.4;
}
.breach-line strong { font-weight: 700; }
.breach-line.is-good { background: rgba(31, 169, 113, 0.10); color: #0f7a51; }
.breach-line.is-bad  { background: rgba(229, 72, 77, 0.10);  color: var(--red); }


.ex-hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}
.examples-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 40vh;   
}
.ex-card {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  scroll-margin: 20vh;
}
.ex-pw {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(22px, 7vw, 32px);
  letter-spacing: 0.02em;
  color: var(--ink);
  word-break: break-all;
  text-align: center;
  line-height: 1.25;
}
.ex-meta { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ex-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(31, 169, 113, 0.12);
  color: #0f7a51;
  font-size: 12px;
  font-weight: 600;
}
.ex-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ex-sub { font-size: 12px; color: var(--ink-3); font-family: var(--mono); }


body.scroll-locked { touch-action: none; }


.arm-zone {
  position: fixed;
  bottom: 0;
  width: 64px;
  height: 64px;
  z-index: 50;
  background: transparent;
}
.arm-zone--l { left: 0; }
.arm-zone--r { right: 0; }


body:not(.dev-pad) .dev-only { display: none !important; }
.ex-dev {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 60;
}


.btn.secondary { background: var(--surface); color: var(--teal-dark); border: 1px solid var(--line-strong); }
.status { font-size: 12.5px; min-height: 16px; color: var(--ink-2); }
.status.ok { color: var(--green); }
.status.err { color: var(--red); }


.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  padding: 8px 0;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 4px; }
.trust-num {
  font-size: clamp(24px, 7vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.trust-cap { font-size: 12px; color: var(--ink-2); line-height: 1.3; }


.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity .2s, transform .2s;
  z-index: 40;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }


.coming {
  max-width: 44ch;
  margin: 24px 0;
}
.coming h1 {
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.coming .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.coming p { color: var(--ink-2); font-size: 16px; margin: 0; }


.pw-card { margin-bottom: 20px; }


.pw-lenrow {
  margin-bottom: 18px;
}
.pw-lenlabel {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.len-tabs {
  display: flex;
  gap: 8px;
}
.len-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 13px 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.len-tab:hover { border-color: var(--teal); color: var(--teal-dark); }
.len-tab.is-on {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.pw-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
}

.pw-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pw-search {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.pw-search svg {
  position: absolute;
  left: 12px;
  color: var(--ink-3);
  pointer-events: none;
}
.pw-search input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 10px 12px 10px 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink);
}
.pw-search input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  background: var(--surface);
}
.pw-search input::-webkit-search-cancel-button { cursor: pointer; }
.pw-count {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  white-space: nowrap;
}

.pw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.pw-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  padding: 11px 12px;
  background: var(--bg);
}
.pw-table thead th:first-child { border-radius: 8px 0 0 8px; }
.pw-table thead th:last-child { border-radius: 0 8px 8px 0; }
.pw-table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.pw-table tr:last-child td { border-bottom: 0; }
.pw-rank {
  width: 2.2em;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 13px;
}
.pw-word {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.pw-num {
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
}
.pw-crack { width: 1%; white-space: nowrap; text-align: right; }
.pw-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(229, 72, 77, 0.10);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pw-empty {
  padding: 24px 10px;
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}


@media (max-width: 420px) {
  .pw-num { display: none; }
  .pw-table td, .pw-table th { padding-left: 8px; padding-right: 8px; }
}


@media (min-width: 768px) {
  :root { --maxw: 880px; }
  .page { padding-top: 44px; padding-bottom: 72px; }
  .hero { margin: 16px 0 30px; max-width: 34ch; }
  .hero-title { font-size: clamp(38px, 4.4vw, 52px); }
  
  .gen-card, .check-card, .pw-card { max-width: 680px; margin-left: auto; margin-right: auto; }
  
  .deco { right: 0; }
}


@media (min-width: 1200px) {
  :root { --maxw: 940px; }
}


:root {
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --teal-grad: linear-gradient(135deg, #0E8A84 0%, #0B7A75 48%, #086c67 100%);
  --shadow-sm: 0 1px 2px rgba(14, 17, 22, .05);
  --shadow: 0 1px 2px rgba(14, 17, 22, .05), 0 12px 32px -10px rgba(10, 40, 38, .16);
  --shadow-lg: 0 2px 8px rgba(14, 17, 22, .05), 0 30px 70px -22px rgba(7, 56, 52, .26);
  --ring: 0 0 0 4px rgba(11, 122, 117, .16);
  --hair: rgba(14, 30, 28, .08);
}


body {
  background:
    radial-gradient(130% 90% at 100% -8%, rgba(11, 122, 117, .10), transparent 58%),
    radial-gradient(90% 70% at -8% 2%, rgba(122, 30, 42, .045), transparent 52%),
    var(--bg);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(14, 40, 38, .055) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% -10%, #000 0%, transparent 70%);
  mask-image: radial-gradient(120% 80% at 50% -10%, #000 0%, transparent 70%);
  opacity: .7;
}


.topbar { background: rgba(247, 248, 250, .72); border-bottom: 1px solid var(--hair); }
.topbar-inner { padding-top: 15px; padding-bottom: 15px; }
.nav-link { position: relative; transition: color .18s var(--ease); }
.nav-link.is-active::after { height: 2px; border-radius: 2px; background: var(--maroon); }


.hero-eyebrow { letter-spacing: .14em; font-size: 11.5px; position: relative; padding-left: 26px; }
.hero-eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px;
  background: var(--maroon); transform: translateY(-50%); border-radius: 2px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.0;
  font-size: clamp(36px, 8.5vw, 52px);
  color: var(--ink);
}
.hero-sub { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.coming h1 { font-family: var(--display); letter-spacing: -0.03em; }
.trust-num { font-family: var(--display); letter-spacing: -0.02em; }


.deco { filter: blur(.2px); }
.deco-sq { border-radius: 16px; background: var(--teal-grad); box-shadow: 0 20px 50px -20px rgba(11, 122, 117, .5); }
.deco-sq--1 { opacity: .12; }
.deco-sq--2 { background: linear-gradient(135deg, #8a2634, #7a1e2a); opacity: .14; box-shadow: 0 20px 50px -20px rgba(122, 30, 42, .5); }
.deco-tri { opacity: .05; }


.card {
  border: 1px solid var(--hair);
  box-shadow: var(--shadow);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 40%) border-box;
  position: relative;
}
.gen-card, .check-card { box-shadow: var(--shadow-lg); border-radius: 20px; }


.btn { transition: transform .14s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease); }
.btn-primary {
  background: var(--teal-grad);
  box-shadow: 0 1px 1px rgba(255, 255, 255, .25) inset, 0 10px 24px -10px rgba(11, 122, 117, .6);
}
.btn-primary:hover { background: var(--teal-grad); transform: translateY(-1.5px); box-shadow: 0 1px 1px rgba(255, 255, 255, .3) inset, 0 16px 32px -12px rgba(11, 122, 117, .7); }
.btn-primary:active { transform: translateY(0); }
.btn-copy { background: var(--teal-grad); }


.seg { background: rgba(14, 30, 28, .05); border: 1px solid var(--hair); padding: 3px; }
.seg-btn { transition: color .18s var(--ease); border-radius: calc(var(--r-pill) - 2px); }
.seg-btn.is-on { background: var(--surface); color: var(--teal-dark); box-shadow: var(--shadow-sm), 0 0 0 1px var(--hair); }


.output, .check-input, .pw-search input {
  transition: box-shadow .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.output:focus-visible, .check-input:focus-visible, .pw-search input:focus-visible,
.output:focus, .check-input:focus {
  outline: none; border-color: var(--teal); box-shadow: var(--ring);
}
.output { font-size: 19px; letter-spacing: .02em; }


.meter { background: rgba(14, 30, 28, .06); overflow: hidden; }
.meter-fill.is-green { background: linear-gradient(90deg, #1FA971, #0E8A84); }
.meter-fill { transition: width .4s var(--ease); }


.type, .len-tab { transition: transform .14s var(--ease), border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease); }
.type:hover, .len-tab:hover { transform: translateY(-1px); }
.type.is-on { border-color: var(--teal); background: var(--teal-tint); box-shadow: 0 6px 16px -10px rgba(11, 122, 117, .5); }
.len-tab.is-on { background: var(--teal-grad); border-color: transparent; box-shadow: 0 8px 18px -10px rgba(11, 122, 117, .55); }


.pw-pill, .ex-tag { box-shadow: inset 0 0 0 1px rgba(14, 30, 28, .04); }


.ex-card { border: 1px solid var(--hair); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.ex-pw { font-family: var(--mono); letter-spacing: .04em; }


a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }


.deco { display: none; }
.page { padding-top: 18px; }
.hero { margin: 4px 0 20px; max-width: 24ch; }
.hero-title { font-size: clamp(34px, 9.5vw, 46px); }
.hero-sub { margin-top: 12px; }
@media (min-width: 768px) {
  .page { padding-top: 34px; }
  .hero { max-width: 30ch; }
}


.wordmark-img { mix-blend-mode: multiply; height: 26px; }


.output { font-weight: 600; }
.gen-card .output-row { align-items: stretch; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .type:hover, .len-tab:hover, .btn-primary:hover, .ex-card:hover { transform: none; }
}
