.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.topbar__left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-inline-end: 8px;
}

.lang {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--ink-2);
}
.lang__current { color: var(--ink); font-weight: 600; }
.lang a { color: var(--ink-2); }

.pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
button.pill { border: 0; cursor: pointer; font-family: inherit; color: var(--ink); }
button.pill:hover { color: var(--muted); }
.pill--quiet { background: transparent; box-shadow: none; padding-inline: 4px; color: var(--ink-2); }

.inline-form { display: inline; margin: 0; }

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 600;
}
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-hover); color: var(--white); }
.btn--light { background: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, .07); }
.btn--sm {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 14px;
  font-size: 12px;
  white-space: nowrap;
}
.btn--sm:disabled { cursor: progress; opacity: .6; }
.btn--ghost { background: var(--frame); color: var(--ink); }
.btn--ghost:hover { background: var(--line-soft); }

.tag {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  background: var(--white);
  border-radius: 999px;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 64px;
}

.hero__badge { position: relative; }

.hero__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.hero__device {
  width: 26px;
  height: 40px;
  border: 2.5px solid var(--ink);
  border-radius: 7px;
}

.hero__tag {
  position: absolute;
  inset-inline-start: 58px;
  top: 10px;
  padding: 6px 12px;
  transform: rotate(-8deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.hero__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 600;
  margin-top: 28px;
  max-width: 640px;
  text-wrap: balance;
}

.hero__lede {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 18px;
  max-width: 460px;
  line-height: 1.55;
  text-wrap: pretty;
}

.lookup {
  margin-top: 32px;
  display: flex;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.lookup__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--ink);
}

.lookup__submit {
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 26px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lookup__submit:hover { background: var(--ink-hover); }
.lookup__submit:disabled { cursor: progress; }
.lookup__arrow { font-size: 14px; }

.lookup__hint {
  margin-top: 12px;
  font-size: 12px;
  color: var(--subtle);
  font-family: var(--font-mono);
}

.lookup__error {
  margin-top: 20px;
  font-size: 13px;
  color: var(--error);
  font-weight: 500;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 14px;
}
.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.badge--clear { background: var(--clear-bg); color: var(--clear-fg); }
.badge--stolen { background: var(--stolen-bg); color: var(--stolen-fg); }
.badge--flagged { background: var(--flagged-bg); color: var(--flagged-fg); }
.badge--not_found { background: var(--none-bg); color: var(--none-fg); }

.result {
  margin-top: 28px;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: 28px;
  padding: 24px;
  text-align: start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.result__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.result__serial { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); }

.result__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-top: 16px;
}

.result__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 8px;
  text-wrap: pretty;
}

.result__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.result__facts--report { margin-top: 12px; padding-top: 12px; }

.fact__label {
  font-size: 11px;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.fact__value { font-size: 14px; font-weight: 600; margin-top: 4px; }

.result__meta { font-size: 11px; color: var(--faint); margin-top: 18px; }

.legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.legend__item { display: flex; gap: 12px; align-items: flex-start; }

.legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex: none;
}
.legend__dot--clear { background: var(--clear-fg); }
.legend__dot--stolen { background: var(--stolen-fg); }
.legend__dot--flagged { background: var(--flagged-fg); }
.legend__dot--not_found { background: var(--none-dot); }

.legend__name { font-size: 15px; font-weight: 600; }
.legend__desc { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }

.section-title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.35;
  margin: 0 auto;
  max-width: 520px;
  text-wrap: balance;
}

.divider {
  position: relative;
  margin: 56px auto 48px;
  max-width: 880px;
  height: 1px;
  background: var(--line);
}

.divider__tag {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  padding: 7px 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
  text-align: start;
}

.step__icon { width: 28px; height: 28px; border: 2px solid var(--ink); }
.step__icon--circle { border-radius: 50%; }
.step__icon--square { border-radius: 7px; }
.step__icon--diamond { transform: rotate(45deg) scale(.82); }
.step__icon--solid { background: var(--ink); border: 0; border-radius: 7px; }

.step__name { font-size: 15px; font-weight: 600; margin-top: 18px; }
.step__desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-top: 8px; }

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--panel-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__ring {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
}

.cta__title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-top: 24px;
  max-width: 520px;
  text-wrap: balance;
}

.cta__actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero--compact { margin-top: 48px; }

.hero__title--sm { font-size: clamp(30px, 4vw, 44px); max-width: 560px; }

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 880px;
  margin: 40px auto 0;
  align-items: start;
}

.auth-grid--single { max-width: 520px; grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border-radius: 28px;
  padding: 28px;
  text-align: start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.card__title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.card__lede { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin-top: 6px; }
.card__note { font-size: 11px; color: var(--faint); margin-top: 16px; line-height: 1.5; }
.card__note .link { font-size: 12px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.notice {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--clear-bg);
  color: var(--clear-fg);
  font-size: 13px;
  font-weight: 600;
}

.form { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field__label {
  font-size: 11px;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.field__input {
  width: 100%;
  border: 1px solid transparent;
  outline: 0;
  background: var(--frame);
  border-radius: 16px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .15s, background .15s;
}
.field__input:focus { border-color: var(--ink); background: var(--white); }
.field__input--mono { font-family: var(--font-mono); letter-spacing: .02em; }
.field__input[aria-invalid="true"] { border-color: var(--error); background: var(--white); }

.field__error { font-size: 12px; color: var(--error); font-weight: 500; }

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.segmented {
  display: flex;
  gap: 4px;
  background: var(--frame);
  border-radius: 999px;
  padding: 4px;
  border: 0;
  margin: 0;
}

.segmented__option { flex: 1; position: relative; }

.segmented__option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.segmented__option span {
  display: block;
  text-align: center;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.segmented__option input:checked + span {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.segmented__option input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.45;
}
.check input { margin: 2px 0 0; accent-color: var(--ink); width: 15px; height: 15px; flex: none; }
.check a { text-decoration: underline; text-underline-offset: 2px; }

.form__error {
  font-size: 13px;
  color: var(--error);
  font-weight: 500;
}

.btn--block {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  margin-top: 4px;
}
.btn--block:disabled { cursor: progress; }

.doc__updated { font-size: 12px; color: var(--subtle); margin-top: 14px; }

.doc {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.doc__text { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-top: 10px; }
.doc__list {
  margin: 10px 0 0;
  padding-inline-start: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.doc__list strong { color: var(--ink); font-weight: 600; }
.doc__more { max-width: 760px; margin: 24px auto 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.doc__more a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.contact__value { font-family: var(--font-mono); font-size: 15px; margin-top: 16px; word-break: break-all; }
.contact__action { margin-top: 16px; }
