:root {
  --bg: #08090a;
  --panel: #101113;
  --panel-2: #15171a;
  --panel-3: #1b1d20;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.13);

  --text: #f5f6f7;
  --muted: #92979f;
  --muted-2: #666c74;

  --accent: #d8ff3e;
  --accent-soft: rgba(216, 255, 62, 0.10);
  --accent-border: rgba(216, 255, 62, 0.32);

  --success: #93ff75;
  --success-soft: rgba(147, 255, 117, 0.08);

  --danger: #ff6675;
  --danger-soft: rgba(255, 102, 117, 0.08);

  --radius: 18px;
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 82% 0%,
      rgba(216, 255, 62, 0.07),
      transparent 28rem
    ),
    radial-gradient(
      circle at 12% 45%,
      rgba(255, 255, 255, 0.025),
      transparent 25rem
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


button,
input,
textarea {
  font: inherit;
}


button {
  cursor: pointer;
}


button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}


a {
  color: inherit;
  text-decoration: none;
}


.app-shell {
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
  padding: 50px 0 40px;
}


/* HERO */

.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 26px;
}


.hero-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}


.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
}


.hero-tags .eyebrow {
  margin: 0;
}


.privacy-chip {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: #b5bac1;
  font-size: 11px;
  font-weight: 700;
}


h1,
h2,
h3,
p {
  margin-top: 0;
}


h1 {
  margin-bottom: 15px;

  font-size:
    clamp(
      44px,
      6vw,
      76px
    );

  line-height: 0.92;
  letter-spacing: -0.06em;
}


h2 {
  margin-bottom: 0;
  font-size: 23px;
  letter-spacing: -0.035em;
}


.subtitle {
  max-width: 760px;
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}


.hero-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #71767e;
  font-size: 12px;
}


.hero-links a:hover {
  color: var(--accent);
}


.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}


.how-to-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}


.how-to-button span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(216, 255, 62, 0.35);
  border-radius: 50%;
  font-size: 11px;
}


.status-pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}


.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60646b;
}


.status-pill.success {
  border-color: rgba(147, 255, 117, 0.3);
  color: var(--success);
}


.status-pill.success .status-dot {
  background: var(--success);
}


.status-pill.error {
  border-color: rgba(255, 102, 117, 0.3);
  color: var(--danger);
}


.status-pill.error .status-dot {
  background: var(--danger);
}


/* PRIVACY */

.privacy-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 17px;
  border: 1px solid rgba(216, 255, 62, 0.15);
  border-radius: 14px;
  background: rgba(216, 255, 62, 0.035);
}


.privacy-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
}


.privacy-banner strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}


.privacy-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}


/* COMMON */

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 17, 19, 0.9);
  backdrop-filter: blur(18px);
}


.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}


.panel-description {
  max-width: 650px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}


.primary-button,
.secondary-button,
.ghost-button,
.x-button,
.small-ghost-button {
  border-radius: 11px;
  font-weight: 800;
}


.primary-button,
.secondary-button,
.ghost-button,
.x-button {
  min-height: 47px;
  padding: 0 16px;
}


.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #08090a;
}


.secondary-button {
  border: 1px solid var(--border-strong);
  background: var(--panel-3);
  color: var(--text);
}


.ghost-button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
}


.x-button {
  border: 1px solid #f1f1f1;
  background: #f1f1f1;
  color: #08090a;
}


.small-ghost-button {
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}


/* CHECKER */

.checker-panel {
  padding: 20px;
  margin-bottom: 18px;
}


.drop-zone {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  border: 1px dashed rgba(216, 255, 62, 0.28);
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(216, 255, 62, 0.035),
      transparent
    ),
    var(--panel-2);
  text-align: center;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    transform 140ms ease;
}


.drop-zone:hover,
.drop-zone.dragging {
  border-color: rgba(216, 255, 62, 0.62);
  background:
    linear-gradient(
      135deg,
      rgba(216, 255, 62, 0.07),
      transparent
    ),
    var(--panel-2);
}


.drop-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 23px;
}


.drop-zone strong {
  font-size: 15px;
}


.drop-zone span {
  color: var(--muted);
  font-size: 11px;
}


.drop-zone small {
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 9px;
}


.paste-section {
  margin-top: 16px;
}


.paste-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}


.paste-heading > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}


#proofTextarea {
  width: 100%;
  min-height: 155px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: #0b0c0d;
  color: #d9dce0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  line-height: 1.6;
}


#proofTextarea:focus {
  border-color: rgba(216, 255, 62, 0.4);
}


/* RESULT */

.result-section {
  padding: 20px;
  margin-bottom: 18px;
}


.result-section.valid {
  border-color: rgba(147, 255, 117, 0.3);
  background:
    linear-gradient(
      135deg,
      rgba(147, 255, 117, 0.04),
      transparent 45%
    ),
    rgba(16, 17, 19, 0.9);
}


.result-section.invalid {
  border-color: rgba(255, 102, 117, 0.32);
  background:
    linear-gradient(
      135deg,
      rgba(255, 102, 117, 0.045),
      transparent 45%
    ),
    rgba(16, 17, 19, 0.9);
}


.result-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 19px;
}


.result-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel-2);
  color: var(--muted);
  font-size: 28px;
  font-weight: 950;
}


.valid .result-mark {
  border-color: rgba(147, 255, 117, 0.28);
  background: var(--success-soft);
  color: var(--success);
}


.invalid .result-mark {
  border-color: rgba(255, 102, 117, 0.28);
  background: var(--danger-soft);
  color: var(--danger);
}


.result-description {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
}


.result-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}


.detail-card {
  position: relative;
  min-width: 0;
  min-height: 98px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--panel-2);
}


.detail-card > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}


.detail-card strong {
  display: block;
  overflow: hidden;
  padding-right: 48px;
  text-overflow: ellipsis;
  color: #d9dce0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  white-space: nowrap;
}


.copy-inline-button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}


.verification-breakdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}


.verification-breakdown article {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}


.check-indicator {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}


.check-indicator.pass {
  background: var(--success-soft);
  color: var(--success);
}


.check-indicator.fail {
  background: var(--danger-soft);
  color: var(--danger);
}


.verification-breakdown strong {
  display: block;
  margin-bottom: 3px;
  font-size: 10px;
}


.verification-breakdown p {
  margin: 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.45;
}


/* CARD */

.card-section {
  padding: 20px;
  margin-bottom: 18px;
}


.card-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 18px;
}


.theme-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}


.theme-selector > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}


.theme-buttons {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #0b0c0d;
}


.theme-button {
  height: 29px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}


.theme-button.active {
  background: var(--panel-3);
  color: var(--text);
}


.proof-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 410px;
  padding: 30px;
  border-radius: 23px;
}


.proof-card.theme-dark {
  border: 1px solid rgba(216, 255, 62, 0.21);
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(216, 255, 62, 0.13),
      transparent 16rem
    ),
    linear-gradient(
      145deg,
      #111315,
      #090a0b
    );
  color: #f5f6f7;
}


.proof-card.theme-neon {
  border: 1px solid rgba(147, 255, 117, 0.5);
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(147, 255, 117, 0.22),
      transparent 18rem
    ),
    radial-gradient(
      circle at 5% 100%,
      rgba(119, 76, 255, 0.16),
      transparent 19rem
    ),
    #070907;
  color: #fff;
}


.proof-card.theme-minimal {
  border: 1px solid #d8dad4;
  background: #f4f4f0;
  color: #111214;
}


.card-grid-decoration {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.2;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
}


.theme-minimal .card-grid-decoration {
  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.035) 1px,
      transparent 1px
    );
}


.card-glow {
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  top: -145px;
  right: -105px;
  border-radius: 50%;
  background: rgba(216, 255, 62, 0.08);
  filter: blur(10px);
}


.theme-neon .card-glow {
  background: rgba(147, 255, 117, 0.18);
}


.proof-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}


.proof-brand {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.2em;
}


.theme-minimal .proof-brand {
  color: #607400;
}


.proof-top h3 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.045em;
}


.verified-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(147, 255, 117, 0.26);
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
}


.verified-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}


.card-artifact {
  max-width: 900px;
  margin: 70px 0 72px;
  font-size:
    clamp(
      19px,
      2.5vw,
      32px
    );
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: -0.03em;
  word-break: break-word;
}


.card-details {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 14px;
}


.card-details span {
  display: block;
  margin-bottom: 6px;
  color: #777d84;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
}


.card-details strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d8dade;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  white-space: nowrap;
}


.theme-minimal .card-details strong {
  color: #34373a;
}


.proof-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6e737a;
  font-size: 10px;
}


.theme-minimal .proof-footer {
  border-color: rgba(0, 0, 0, 0.09);
  color: #777b7e;
}


.card-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}


.card-actions button {
  width: 100%;
}


.action-intro {
  margin-bottom: 7px;
}


.action-intro strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}


.action-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}


.share-note {
  margin-top: 5px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
}


.share-note strong {
  display: block;
  margin-bottom: 4px;
  color: #c8cbd0;
  font-size: 10px;
}


.share-note p {
  margin: 0;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.5;
}


/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-bottom: 36px;
}


.about-card {
  display: flex;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(16, 17, 19, 0.72);
}


.about-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}


.about-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}


.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}


/* FOOTER */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}


footer > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


footer strong {
  font-size: 11px;
}


footer span {
  color: var(--muted-2);
  font-size: 9px;
}


.footer-links {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}


.footer-links a:hover {
  color: var(--accent);
}


/* TUTORIAL */

.tutorial-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 24px;
  background: rgba(3, 4, 5, 0.82);
  backdrop-filter: blur(12px);
}


.tutorial-overlay[hidden] {
  display: none;
}


.tutorial-modal {
  position: relative;
  width: min(760px, 100%);
  margin: min(6vh, 60px) auto;
  padding: 28px;
  border: 1px solid rgba(216, 255, 62, 0.22);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 95% 0%,
      rgba(216, 255, 62, 0.09),
      transparent 18rem
    ),
    #101113;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}


.tutorial-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 22px;
}


.tutorial-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.17em;
}


.tutorial-intro {
  max-width: 650px;
  margin: 9px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}


.tutorial-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}


.tutorial-steps article {
  display: flex;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--panel-2);
}


.tutorial-steps article:last-child {
  grid-column: 1 / -1;
}


.tutorial-steps article > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: #08090a;
  font-size: 11px;
  font-weight: 950;
}


.tutorial-steps strong {
  display: block;
  margin: 2px 0 4px;
  font-size: 11px;
}


.tutorial-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}


.tutorial-warning {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}


.tutorial-warning strong {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
}


.tutorial-warning p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}


.tutorial-start-button {
  width: 100%;
  margin-top: 18px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

  .result-grid,
  .verification-breakdown {
    grid-template-columns: 1fr 1fr;
  }


  .card-layout {
    grid-template-columns: 1fr;
  }


  .card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }


  .action-intro,
  .share-note {
    grid-column: 1 / -1;
  }

}


@media (max-width: 760px) {

  .app-shell {
    width: min(100% - 20px, 1360px);
    padding-top: 28px;
  }


  .hero {
    flex-direction: column;
  }


  .hero-actions {
    flex-wrap: wrap;
  }


  .about-grid {
    grid-template-columns: 1fr;
  }


  .card-details {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 560px) {

  .panel-heading,
  .paste-heading {
    align-items: stretch;
    flex-direction: column;
  }


  .result-grid,
  .verification-breakdown,
  .tutorial-steps {
    grid-template-columns: 1fr;
  }


  .tutorial-steps article:last-child {
    grid-column: auto;
  }


  .proof-top {
    flex-direction: column;
  }


  .card-actions {
    display: flex;
  }


  .theme-selector {
    width: 100%;
    justify-content: space-between;
  }


  footer {
    align-items: flex-start;
    flex-direction: column;
  }

}