:root {
  color-scheme: dark;
  --ink: #f6f7f3;
  --muted: rgba(246, 247, 243, .68);
  --line: rgba(246, 247, 243, .16);
  --void: #05070a;
  --panel: #10151a;
  --copper: #d7945b;
  --mint: #6ef5c1;
  --sky: #91d7ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
}
a { color: inherit; }

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-public-key-fabric.png");
  background-size: cover;
  background-position: center right;
  filter: saturate(.95) contrast(1.04);
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, .96), rgba(5, 7, 10, .76) 42%, rgba(5, 7, 10, .18)),
    linear-gradient(180deg, rgba(5, 7, 10, .18), #05070a 100%);
  z-index: -1;
}

.site-header {
  position: relative;
  z-index: 2;
  padding: 18px clamp(20px, 5vw, 72px) 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid rgba(246, 247, 243, .12);
  border-radius: 8px;
  background: rgba(5, 7, 10, .74);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(110, 245, 193, .42);
  background: rgba(110, 245, 193, .1);
  color: var(--mint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  border-radius: 8px;
}
.brand--dark { color: #12171b; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(246, 247, 243, .72);
  font-size: 14px;
}
.nav__links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 11px;
  border-radius: 7px;
  text-decoration: none;
}
.nav__links a:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--mint);
}
.nav__links .nav__signin {
  margin-left: 8px;
  padding: 0 16px;
  border: 1px solid rgba(110, 245, 193, .62);
  background: var(--mint);
  color: #06100c;
  font-weight: 800;
}
.nav__links .nav__signin:hover {
  background: #8affd2;
  color: #06100c;
}

.hero__content {
  width: min(760px, calc(100% - 40px));
  padding: clamp(46px, 9vh, 110px) 0 82px clamp(20px, 5vw, 72px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font: 700 12px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(54px, 8vw, 112px);
  line-height: .92;
  letter-spacing: 0;
}
.subhead {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(246, 247, 243, .76);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.button--primary {
  background: var(--mint);
  color: #06100c;
}
.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, .06);
}
.button--signin {
  border-color: rgba(110, 245, 193, .45);
  background: rgba(110, 245, 193, .12);
  color: var(--mint);
}
.button--signin:hover {
  background: rgba(110, 245, 193, .2);
}
.url-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
}
.url-strip code {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 7, 10, .62);
  color: var(--sky);
}

.trust-band, .product {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}
.trust-band {
  display: grid;
  gap: 32px;
  background: #07100d;
  border-top: 1px solid rgba(110, 245, 193, .16);
}
.trust-band h2, .product h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.trust-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(246, 247, 243, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}
.trust-grid span {
  color: var(--copper);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.trust-grid h3 {
  margin: 34px 0 12px;
  font-size: 21px;
}
.trust-grid p, .product p {
  color: var(--muted);
  line-height: 1.7;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, .65fr);
  gap: clamp(28px, 6vw, 80px);
  background: #f6f7f3;
  color: #10151a;
}
.product .eyebrow { color: #137855; }
.product p { color: #4d5954; }
.status-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.status-list div {
  padding: 14px 0;
  border-top: 1px solid rgba(16, 21, 26, .14);
}
.status-list dt {
  font-weight: 800;
}
.status-list dd {
  margin: 4px 0 0;
  color: #59625e;
}
.claim {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(16, 21, 26, .16);
  border-radius: 8px;
  background: #fff;
}
.auth-panel__heading {
  display: grid;
  gap: 6px;
}
.auth-panel__heading .eyebrow {
  margin: 0;
}
.auth-panel h3 {
  margin: 0;
  color: #10151a;
  font-size: 24px;
  line-height: 1.15;
}
.auth-stack {
  display: grid;
  gap: 12px;
}
.auth-option {
  width: 100%;
  gap: 12px;
  min-height: 54px;
}
.auth-option__text {
  min-width: 0;
  overflow-wrap: anywhere;
}
.auth-option__tag {
  margin-left: auto;
  padding: 4px 7px;
  border: 1px solid rgba(16, 21, 26, .16);
  border-radius: 7px;
  font-size: 12px;
  line-height: 1;
}
.auth-option--sso .auth-option__tag {
  background: rgba(6, 16, 12, .1);
}
.auth-option--passkey {
  color: #10151a;
}
.auth-option--passkey:disabled {
  cursor: wait;
  opacity: .72;
}
.password-toggle {
  min-height: 44px;
  border: 0;
  border-top: 1px solid rgba(16, 21, 26, .12);
  background: transparent;
  color: #4d5954;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}
.password-toggle:hover {
  color: #10151a;
}
.password-fallback {
  display: grid;
  gap: 14px;
}
.password-fallback[hidden] {
  display: none;
}
.sso-email {
  display: grid;
  gap: 14px;
}
.claim label {
  display: grid;
  gap: 8px;
  color: #25302b;
  font-size: 14px;
  font-weight: 800;
}
.claim input, .claim textarea {
  width: 100%;
  border: 1px solid rgba(16, 21, 26, .18);
  border-radius: 8px;
  padding: 13px 14px;
  color: #10151a;
  background: #f8faf7;
  font: inherit;
}
.claim textarea {
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.form-note {
  margin: 0;
  font-size: 14px;
}
.form-note[data-kind="ok"] { color: #137855; }
.form-note[data-kind="error"] { color: #a12626; }

.key-shell {
  min-height: 100vh;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #f6f7f3;
  color: #10151a;
}
.login-shell {
  min-height: 100vh;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #f6f7f3;
  color: #10151a;
}
.key-view, .empty {
  margin-top: clamp(60px, 10vh, 120px);
  max-width: 980px;
}
.login-view {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 480px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  margin-top: clamp(60px, 10vh, 120px);
}
.login-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .98;
}
.login-copy .eyebrow {
  color: #137855;
}
.login-copy p:not(.eyebrow) {
  max-width: 600px;
  color: #59625e;
  font-size: 18px;
  line-height: 1.6;
}
.login-panel {
  box-shadow: 0 22px 80px rgba(16, 21, 26, .12);
}
.back-link {
  color: #137855;
  font-weight: 800;
  text-decoration: none;
}
.key-view .eyebrow, .empty .eyebrow { color: #137855; }
.key-view h1, .empty h1 {
  font-size: clamp(42px, 7vw, 84px);
}
.key-view h1 span {
  color: #63706a;
}
.key-block {
  margin: 30px 0 0;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid rgba(16, 21, 26, .16);
  border-radius: 8px;
  background: #10151a;
  color: var(--mint);
  white-space: pre-wrap;
  word-break: break-all;
}
.key-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.key-meta span {
  padding: 8px 10px;
  border: 1px solid rgba(16, 21, 26, .15);
  border-radius: 8px;
  color: #3d4944;
  font-size: 13px;
}
.url-strip--light code {
  background: #fff;
  color: #0f6f51;
  border-color: rgba(16, 21, 26, .14);
}
.empty p {
  max-width: 640px;
  color: #59625e;
  line-height: 1.7;
}
.site-footer {
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(246, 247, 243, .12);
  background: #05070a;
  color: rgba(246, 247, 243, .64);
  font-size: 14px;
}
.site-footer a {
  color: var(--mint);
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.key-shell .site-footer {
  margin: clamp(70px, 12vh, 130px) calc(clamp(20px, 5vw, 72px) * -1) -30px;
}

.manage-shell {
  width: 100%;
  min-height: 100vh;
  color-scheme: light;
  background:
    radial-gradient(circle at 82% 4%, rgba(110, 245, 193, .14), transparent 26rem),
    #f3f5f0;
  color: #10151a;
}
.manage-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(16, 21, 26, .1);
  background: rgba(246, 247, 243, .82);
  backdrop-filter: blur(16px);
}
.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(16, 21, 26, .12);
  border-radius: 999px;
  background: #fff;
  color: #42504a;
  font-size: 13px;
  font-weight: 750;
}
.account-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.account-actions form {
  margin: 0;
}
.account-action {
  padding: 9px 12px;
  border: 1px solid rgba(16, 21, 26, .14);
  border-radius: 999px;
  background: transparent;
  color: #2f3d37;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}
.account-action:hover {
  border-color: rgba(19, 120, 85, .45);
  background: rgba(110, 245, 193, .12);
  color: #0c6748;
}
.account-action--signout:hover {
  border-color: rgba(161, 38, 38, .28);
  background: rgba(161, 38, 38, .06);
  color: #8e2020;
}
.account-action:disabled {
  cursor: wait;
  opacity: .58;
}
.account-status {
  min-height: 20px;
  margin: 0;
  padding: 8px clamp(20px, 5vw, 72px);
  background: rgba(110, 245, 193, .1);
  color: #0c6748;
  font-size: 13px;
  font-weight: 750;
  text-align: right;
}
.account-status:empty {
  display: none;
}
.account-status[data-kind="error"] {
  background: rgba(161, 38, 38, .06);
  color: #8e2020;
}
.account-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1eaf7d;
  box-shadow: 0 0 0 4px rgba(30, 175, 125, .12);
}
.manage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding: clamp(52px, 7vw, 90px) clamp(20px, 5vw, 72px) 44px;
}
.manage-hero .eyebrow,
.manage-panel .eyebrow,
.claim-card .eyebrow {
  color: #137855;
}
.manage-hero h1 {
  max-width: 850px;
  color: #10151a;
  font-size: clamp(48px, 7vw, 90px);
  line-height: .94;
}
.manage-hero > div > p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: #59625e;
  font-size: 18px;
  line-height: 1.65;
}
.manage-stat {
  display: grid;
  min-width: 150px;
  padding: 20px;
  border: 1px solid rgba(16, 21, 26, .12);
  border-radius: 12px;
  background: #10151a;
  color: #fff;
}
.manage-stat strong {
  color: var(--mint);
  font: 700 42px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.manage-stat span {
  margin-top: 7px;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}
.manage-alert {
  margin: 0 clamp(20px, 5vw, 72px) 22px;
  padding: 13px 16px;
  border: 1px solid rgba(19, 120, 85, .25);
  border-radius: 9px;
  background: rgba(110, 245, 193, .14);
  color: #0c6748;
  font-weight: 750;
}
.manage-alert[data-kind="error"] {
  border-color: rgba(161, 38, 38, .2);
  background: rgba(161, 38, 38, .07);
  color: #8e2020;
}
.manage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  padding: 0 clamp(20px, 5vw, 72px) 80px;
}
.manage-panel,
.claim-card {
  border: 1px solid rgba(16, 21, 26, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 22px 70px rgba(24, 35, 30, .07);
}
.manage-panel {
  overflow: hidden;
}
.manage-panel__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-bottom: 1px solid rgba(16, 21, 26, .1);
}
.manage-panel__heading .eyebrow {
  margin-bottom: 7px;
}
.manage-panel h2,
.claim-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.025em;
}
.manage-panel__heading > span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #e9eee9;
  color: #59625e;
  font-size: 12px;
  font-weight: 800;
}
.handle-list {
  display: grid;
}
.handle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 26px;
  border-bottom: 1px solid rgba(16, 21, 26, .09);
}
.handle-card:last-child {
  border-bottom: 0;
}
.handle-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #137855;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.handle-card__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1eaf7d;
}
.handle-card h3 {
  margin: 8px 0 5px;
  font: 700 clamp(28px, 4vw, 44px)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.handle-card__url {
  color: #61706a;
  font-size: 14px;
  text-decoration: none;
}
.handle-card__url:hover {
  color: #137855;
}
.handle-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.button--dark {
  min-height: 42px;
  padding: 0 14px;
  background: #10151a;
  color: #fff;
  font-size: 13px;
}
.button--quiet {
  min-height: 42px;
  padding: 0 14px;
  border-color: rgba(16, 21, 26, .12);
  background: transparent;
  color: #68736e;
  font-size: 13px;
}
.button--quiet:hover {
  border-color: rgba(161, 38, 38, .24);
  color: #a12626;
}
.handle-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 34px 26px;
}
.handle-empty__mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: #e4f9f0;
  color: #137855;
  font: 700 24px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.handle-empty h3 {
  margin: 0 0 5px;
  font-size: 19px;
}
.handle-empty p {
  margin: 0;
  color: #68736e;
}
.claim-card {
  position: sticky;
  top: 20px;
  padding: 26px;
}
.claim-card > p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #68736e;
  line-height: 1.55;
}
.handle-form {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}
.handle-form label {
  font-size: 13px;
  font-weight: 850;
}
.handle-input {
  display: flex;
  min-height: 54px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(16, 21, 26, .18);
  border-radius: 9px;
  background: #f7f9f6;
}
.handle-input:focus-within {
  border-color: #1eaf7d;
  box-shadow: 0 0 0 3px rgba(30, 175, 125, .1);
}
.handle-input span {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 4px 0 13px;
  color: #78827e;
  font: 600 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.handle-input input {
  min-width: 0;
  flex: 1;
  align-self: stretch;
  border: 0;
  outline: 0;
  background: transparent;
  color: #10151a;
  font: 700 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.handle-hint {
  margin: -2px 0 5px;
  color: #7a8580;
  font-size: 12px;
  line-height: 1.45;
}
.handle-form .button {
  width: 100%;
}
.claim-card__note {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(16, 21, 26, .1);
}
.claim-card__note strong {
  font-size: 13px;
}
.claim-card__note span {
  color: #74807a;
  font-size: 12px;
  line-height: 1.5;
}
.manage-grid--public {
  grid-template-columns: minmax(0, 980px);
}
.key-row {
  display: grid;
  gap: 16px;
  padding: 25px 26px;
  border-bottom: 1px solid rgba(16, 21, 26, .09);
}
.key-row:last-child {
  border-bottom: 0;
}
.key-row__summary,
.key-row__select {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.key-row__select {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.key-row__select:focus-visible {
  outline: 3px solid rgba(30, 175, 125, .3);
  outline-offset: 6px;
  border-radius: 6px;
}
.key-row__select-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.key-row__chevron {
  color: #137855;
  font-size: 24px;
  line-height: .7;
  transition: transform .18s ease;
}
.key-row__select[aria-expanded="true"] .key-row__chevron {
  transform: rotate(180deg);
}
.key-row h3 {
  margin: 8px 0 5px;
  font: 700 clamp(24px, 3vw, 34px)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.key-type {
  padding: 6px 9px;
  border-radius: 999px;
  background: #e9eee9;
  color: #59625e;
  font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.key-preview {
  max-height: 128px;
  margin: 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(16, 21, 26, .1);
  border-radius: 8px;
  background: #f5f7f3;
  color: #26332d;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.key-commands {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(19, 120, 85, .2);
  border-radius: 9px;
  background: #edf9f3;
}
.key-commands[hidden] {
  display: none;
}
.key-command {
  display: grid;
  min-width: 0;
  gap: 8px;
}
.key-command__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.key-command__heading strong {
  font-size: 12px;
}
.key-command > code {
  display: block;
  min-width: 0;
  overflow-x: auto;
  padding: 12px 13px;
  border-radius: 7px;
  background: #10151a;
  color: var(--mint);
  font: 600 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: nowrap;
}
.key-command__note {
  margin: 0;
  color: #59625e;
  font-size: 13px;
}
.copy-command {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(16, 21, 26, .14);
  border-radius: 7px;
  background: #fff;
  color: #42504a;
  cursor: pointer;
}
.copy-command:hover,
.copy-command:focus-visible {
  border-color: #1eaf7d;
  color: #137855;
}
.copy-command.is-copied {
  background: var(--mint);
  color: #06100c;
}
.copy-command.is-copied::after {
  content: "Copied";
  position: absolute;
  right: 40px;
  padding: 5px 7px;
  border-radius: 5px;
  background: #10151a;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}
.copy-command svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.key-editor {
  border-top: 1px solid rgba(16, 21, 26, .09);
  padding-top: 14px;
}
.key-editor summary {
  width: fit-content;
  cursor: pointer;
  color: #137855;
  font-size: 13px;
  font-weight: 800;
}
.key-delete {
  justify-self: end;
}
.key-form textarea,
.key-form > label > input {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid rgba(16, 21, 26, .18);
  border-radius: 9px;
  outline: 0;
  background: #f7f9f6;
  color: #10151a;
  font: 600 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  resize: vertical;
}
.key-form > label {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 8px;
}
.key-form textarea {
  min-height: 190px;
  margin-top: 0;
}
.key-form > label > input {
  margin-top: 0;
}
.key-form textarea:focus,
.key-form > label > input:focus {
  border-color: #1eaf7d;
  box-shadow: 0 0 0 3px rgba(30, 175, 125, .1);
}
.limit-note {
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(161, 89, 38, .2);
  border-radius: 9px;
  background: rgba(215, 148, 91, .12);
  color: #7a4d27;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}
.auth-switch {
  margin: 15px 0 0;
  color: #6d7772;
  font-size: 13px;
  text-align: center;
}
.auth-switch a {
  color: #137855;
  font-weight: 800;
}
.manage-shell .site-footer {
  margin-top: 0;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }
  .nav__links {
    flex-wrap: wrap;
  }
  .nav__links .nav__signin {
    margin-left: 0;
  }
  .hero__content {
    padding-top: 36px;
  }
  .trust-grid, .product {
    grid-template-columns: 1fr;
  }
  .login-view {
    grid-template-columns: 1fr;
  }
  .manage-grid,
  .manage-hero {
    grid-template-columns: 1fr;
  }
  .manage-stat {
    width: fit-content;
  }
  .claim-card {
    position: static;
  }
  .product {
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 860px;
  }
  h1 {
    font-size: 52px;
  }
  .actions .button {
    width: 100%;
  }
  .claim {
    padding: 18px;
  }
  .auth-option {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 14px;
  }
  .auth-option__tag {
    margin-left: 0;
  }
  .manage-header {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
  .account-chip {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .account-chip span:last-child {
    min-width: 0;
  }
  .account-actions {
    width: 100%;
    align-items: stretch;
    flex-wrap: wrap;
  }
  .account-actions form {
    flex: 1;
  }
  .account-action {
    width: 100%;
  }
  .handle-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .handle-card__actions {
    justify-content: flex-start;
  }
  .key-row__summary {
    flex-direction: column;
  }
  .key-row__select {
    align-items: flex-start;
  }
  .key-row__select-meta {
    flex: 0 0 auto;
  }
  .key-delete {
    justify-self: stretch;
  }
  .key-delete .button {
    width: 100%;
  }
}

/* Controlled identity landing page */
.identity-shell {
  --identity-bg: #eef2f7;
  --identity-card: #ffffff;
  --identity-ink: #152033;
  --identity-muted: #67738a;
  --identity-line: #dfe5ee;
  --identity-accent: #246bfd;
  --identity-accent-soft: #edf3ff;
  min-height: 100vh;
  padding: clamp(24px, 6vh, 72px) 20px;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--identity-accent) 11%, transparent), transparent 34rem),
    var(--identity-bg);
  color: var(--identity-ink);
}
.identity-shell[data-accent="teal"] { --identity-accent: #087f73; --identity-accent-soft: #e7f7f4; }
.identity-shell[data-accent="violet"] { --identity-accent: #6d43dc; --identity-accent-soft: #f1edff; }
.identity-shell[data-accent="amber"] { --identity-accent: #a85b05; --identity-accent-soft: #fff3e2; }
.identity-shell[data-theme="dark"] {
  --identity-bg: #090d15;
  --identity-card: #111826;
  --identity-ink: #f4f7fc;
  --identity-muted: #9ba8bd;
  --identity-line: #263247;
  --identity-accent-soft: #17284a;
}
@media (prefers-color-scheme: dark) {
  .identity-shell[data-theme="system"] {
    --identity-bg: #090d15;
    --identity-card: #111826;
    --identity-ink: #f4f7fc;
    --identity-muted: #9ba8bd;
    --identity-line: #263247;
    --identity-accent-soft: #17284a;
  }
}
.identity-shell[data-spacing="compact"] { padding-block: 20px; }
.identity-card {
  width: min(680px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--identity-line);
  border-radius: 24px;
  background: var(--identity-card);
  box-shadow: 0 28px 90px rgba(27, 42, 68, .12);
}
.identity-shell[data-spacing="compact"] .identity-card { padding-block: 28px; }
.identity-topline {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.identity-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--identity-ink);
  font-weight: 800;
  text-decoration: none;
}
.identity-brand .brand__mark {
  width: 30px;
  height: 30px;
  border-color: color-mix(in srgb, var(--identity-accent) 40%, transparent);
  background: var(--identity-accent-soft);
  color: var(--identity-accent);
}
.identity-handle {
  color: var(--identity-muted);
  font: 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.identity-avatar {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  place-items: center;
  border: 4px solid var(--identity-card);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--identity-accent), color-mix(in srgb, var(--identity-accent) 56%, #101827));
  box-shadow: 0 0 0 1px var(--identity-line), 0 12px 28px color-mix(in srgb, var(--identity-accent) 24%, transparent);
  color: white;
  font-size: 28px;
  font-weight: 760;
  object-fit: cover;
}
.identity-intro { text-align: center; }
.identity-intro h1 {
  margin: 0;
  color: var(--identity-ink);
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.identity-pronouns, .identity-location {
  color: var(--identity-muted);
  font-size: 13px;
}
.identity-headline {
  margin: 14px 0 0;
  color: var(--identity-ink);
  font-size: 17px;
  font-weight: 680;
}
.identity-organization {
  margin: 5px 0 0;
  color: var(--identity-muted);
  font-size: 15px;
}
.identity-bio {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--identity-muted);
  font-size: 14px;
  line-height: 1.65;
}
.verified-domain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 15px 0 0;
  color: var(--identity-accent);
  font-size: 12px;
  font-weight: 750;
}
.identity-keys { margin-top: 34px; }
.section-kicker {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-kicker span { height: 1px; background: var(--identity-line); }
.section-kicker h2 {
  margin: 0;
  color: var(--identity-muted);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.key-badges {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}
.key-badges li {
  overflow: hidden;
  border: 1px solid var(--identity-line);
  border-radius: 13px;
}
.key-badges a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 14px;
  text-decoration: none;
}
.key-badges a:hover, .key-badges a:focus-visible { background: var(--identity-accent-soft); }
.key-badge__icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--identity-accent-soft);
  color: var(--identity-accent);
  font-weight: 900;
}
.key-badge__icon[data-verified="false"] {
  background: color-mix(in srgb, var(--identity-muted) 10%, transparent);
  color: var(--identity-muted);
}
.key-badges strong, .key-badges small { display: block; }
.key-badges strong { color: var(--identity-ink); font-size: 14px; }
.key-badges small { margin-top: 2px; color: var(--identity-muted); font-size: 11px; }
.key-badge__count {
  min-width: 24px;
  color: var(--identity-muted);
  font: 12px ui-monospace, monospace;
  text-align: center;
}
.key-badges code {
  display: block;
  overflow: hidden;
  padding: 8px 14px;
  border-top: 1px solid var(--identity-line);
  color: var(--identity-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.identity-empty {
  padding: 24px;
  border: 1px dashed var(--identity-line);
  border-radius: 14px;
  color: var(--identity-muted);
  text-align: center;
}
.identity-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.identity-button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--identity-line);
  border-radius: 11px;
  color: var(--identity-ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.identity-button:hover, .identity-button:focus-visible { border-color: var(--identity-accent); }
.identity-button--primary {
  border-color: var(--identity-accent);
  background: var(--identity-accent);
  color: white;
}
.identity-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.identity-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  color: var(--identity-muted);
  font-size: 12px;
  text-decoration: none;
}
.identity-links a:hover, .identity-links a:focus-visible { color: var(--identity-accent); }
.identity-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--identity-line);
  color: var(--identity-muted);
  font-size: 10px;
  flex-wrap: wrap;
}
.identity-footer a { color: inherit; }
.preview-banner {
  width: min(680px, 100%);
  margin: 0 auto 12px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #fff1c6;
  color: #654700;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

/* Authenticated profile editor */
.editor-shell {
  min-height: 100vh;
  padding: 28px clamp(18px, 4vw, 64px) 80px;
  background: #f3f5f8;
  color: #152033;
}
.editor-header, .editor-title, .editor-grid, .publish-bar {
  width: min(1320px, 100%);
  margin-inline: auto;
}
.editor-header, .editor-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.editor-header > div { display: flex; align-items: center; gap: 14px; color: #647187; font-size: 12px; }
.editor-header a { color: inherit; }
.editor-title { padding: 52px 0 28px; }
.editor-title h1 { margin: 3px 0 8px; color: #152033; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.editor-title p { margin: 0; color: #647187; }
.publish-state {
  min-width: 160px;
  padding: 14px 18px;
  border: 1px solid #dce2eb;
  border-radius: 12px;
  background: white;
}
.publish-state strong, .publish-state span { display: block; }
.publish-state strong { font-size: 13px; }
.publish-state span { margin-top: 3px; color: #728097; font-size: 11px; }
.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: start;
  gap: 24px;
}
.profile-form {
  display: grid;
  gap: 16px;
}
.profile-form fieldset {
  display: grid;
  margin: 0;
  padding: 22px;
  border: 1px solid #dce2eb;
  border-radius: 16px;
  background: white;
  gap: 15px;
}
.profile-form legend {
  padding: 0 8px;
  color: #24324a;
  font-size: 14px;
  font-weight: 800;
}
.profile-form label {
  display: grid;
  gap: 7px;
  color: #4c5c74;
  font-size: 11px;
  font-weight: 750;
}
.profile-form input[type="text"], .profile-form textarea, .profile-form select {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #ccd5e2;
  border-radius: 9px;
  background: #fbfcfe;
  color: #172238;
  font: 13px/1.4 inherit;
}
.profile-form textarea { resize: vertical; }
.profile-form input:focus, .profile-form textarea:focus, .profile-form select:focus {
  border-color: #246bfd;
  outline: 3px solid rgba(36, 107, 253, .14);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.check-grid, .toggle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.profile-form .check-card, .profile-form .toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid #dce2eb;
  border-radius: 10px;
  cursor: pointer;
}
.check-card span, .check-card strong, .check-card small { display: block; }
.check-card small { margin-top: 2px; color: #7c889b; font-weight: 500; }
.toggle span { color: #34435b; font-weight: 650; }
.editor-actions, .publish-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.preview-panel {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border: 1px solid #dce2eb;
  border-radius: 16px;
  background: white;
}
.preview-panel > div:first-child {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #e3e8ef;
  color: #516078;
  font-size: 12px;
}
.preview-card {
  min-height: 340px;
  padding: 64px 28px;
  background: radial-gradient(circle at 50% 10%, #e7efff, transparent 55%), #f5f7fa;
  text-align: center;
}
.preview-card .brand__mark { margin: 0 auto 24px; }
.preview-card h2 { margin: 0; color: #172238; font-size: 28px; }
.preview-card p { margin: 9px 0 28px; color: #66758b; }
.publish-bar {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  background: white;
}
.button:disabled { cursor: not-allowed; opacity: .42; }

@media (max-width: 900px) {
  .editor-grid { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
}
@media (max-width: 600px) {
  .identity-shell { padding: 12px; }
  .identity-card { padding: 24px 18px; border-radius: 18px; }
  .identity-topline { align-items: flex-start; }
  .identity-handle { max-width: 48%; overflow-wrap: anywhere; text-align: right; }
  .identity-actions, .field-row, .check-grid, .toggle-grid { grid-template-columns: 1fr; }
  .editor-header, .editor-title { align-items: flex-start; flex-direction: column; }
  .editor-header > div { align-items: flex-start; flex-direction: column; }
  .editor-title { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
