/* Comfortable reading sizes without changing the approved font families. */
.site-header .brand > .xdna-header-logo { width: auto; height: 78px; object-fit: contain; filter: none; }
@media (max-width: 760px) { .site-header .brand > .xdna-header-logo { height: 56px; } }
.flow-ribbon { display: grid; grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr); align-items: center; gap: 16px; padding: 13px 20px; margin: 0 0 24px; background: radial-gradient(ellipse at center, #4a9ba813, transparent 65%); border-top: 1px solid #81b6d020; border-bottom: 1px solid #81b6d020; }
.ribbon-helix { display: block; min-width: 0; height: 62px; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.ribbon-helix canvas, .card-helix canvas { display: block; width: 100%; height: 100%; }
.ribbon-core { position: relative; display: grid; place-items: center; width: 76px; height: 76px; isolation: isolate; }
.ribbon-core img { display: block; width: 46px; height: auto; object-fit: contain; }
.ribbon-core::before, .ribbon-core::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.ribbon-core::before { border: 1px solid #7abbd62b; }
.ribbon-core::after { border: 1px solid transparent; border-top-color: #a3e8df; border-right-color: #a3e8df30; filter: drop-shadow(0 0 4px #7ee6d6); animation: xrpl-orbit 7s linear infinite; }
@keyframes xrpl-orbit { to { transform: rotate(360deg); } }
.motion-paused .ribbon-core::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ribbon-core::after { animation: none; } }
.process-grid article { display: flex; flex-direction: column; }
.process-grid article > p { margin-bottom: 22px; }
.process-rule { position: relative; display: flex; align-items: center; margin-top: auto; padding-top: 13px; border-top: 1px solid #83b1d018; }
.card-helix { display: block; width: 100%; height: 40px; min-width: 0; opacity: .48; transition: opacity .3s; mask-image: linear-gradient(90deg, black calc(50% - 32px), transparent calc(50% - 23px), transparent calc(50% + 23px), black calc(50% + 32px)); }
.process-grid article:hover .card-helix { opacity: 1; }
.process-rule .card-core { position: absolute; left: 50%; bottom: 1px; transform: translateX(-50%); width: 38px; height: 38px; }
.process-rule .card-core img { width: 24px; }
.card-core::after { animation-duration: 9s; opacity: .65; }
.process-grid article:nth-child(2) .card-core::after { animation-delay: -2.25s; }
.process-grid article:nth-child(3) .card-core::after { animation-delay: -4.5s; }
.process-grid article:nth-child(4) .card-core::after { animation-delay: -6.75s; }
.loading-helix { display: flex; justify-content: center; align-items: center; gap: 8px; height: 82px; margin: 12px 0 28px; }
.loading-helix .base-pair { height: 42px; width: 2px; animation-duration: 2s; }
.loading-helix .base-pair:before, .loading-helix .base-pair:after { width: 5px; height: 5px; }
.is-verifying .helix-seal { animation: proof-glow 1.5s ease-in-out infinite alternate; }
.is-verifying .proof-helix-strip { background: radial-gradient(ellipse, #79d0da12, transparent 70%); }
.motion-paused .helix-seal { animation-play-state: paused!important; }
@keyframes proof-glow { from { filter: drop-shadow(0 0 3px #7abbef36); } to { filter: drop-shadow(0 0 12px #8ceddcaa); } }
@media (prefers-reduced-motion: reduce) { .helix-seal { animation: none!important; } }
@media (max-width: 760px) { .flow-ribbon { grid-template-columns: minmax(0, 1fr) 60px minmax(0, 1fr); padding: 12px 0; gap: 10px; } .ribbon-core { width: 60px; height: 60px; } .ribbon-core img { width: 36px; } .ribbon-helix { height: 49px; } .card-helix { max-width: none; } }
:root { --muted: #afbed1; --dim: #91a5bf; }
body { font-size: 16px; }
.nav-link { font-size: 15px; }
.network-pill { font-size: 12px; }
.brand small { font-size: 11px; letter-spacing: 3px; }
.hero-copy > p { font-size: 17px; line-height: 1.8; }
.hero-tags { font-size: 13px; flex-wrap: wrap; }
.eyebrow { font-size: 12px; letter-spacing: 1px; }
.protocol-ribbon { font-size: 11px; letter-spacing: .5px; flex-wrap: wrap; }
.section-caption, .workspace-heading .section-caption,
.section-heading .section-caption, .proof-panel-heading .section-caption { font-size: 12px; letter-spacing: 1px; }
.preview-pill, .preview-pill span, .step-label { font-size: 11px; }
.panel-title h2 { font-size: 25px; }
.panel-title p { font-size: 15px; line-height: 1.6; }
.input-tabs { gap: 24px; }
.input-tabs button { font-size: 15px; padding-top: 5px; padding-bottom: 16px; }
.field-top { font-size: 14px; }
.key-hint { font-size: 12px; }
.input-wrap { min-height: 58px; }
.input-wrap input { font-size: 16px; padding: 17px 0; letter-spacing: -.3px; }
.input-wrap input::placeholder { color: #98acc5; }
.input-hint, .input-error { font-size: 14px; line-height: 1.65; }
.input-hint { color: #9fb3cb; margin-bottom: 22px; }
.primary-button { font-size: 16px; height: 54px; }
.primary-button svg { width: 18px; height: 18px; }
.text-button, .demo-callout .text-button, .section-heading > .text-button { font-size: 14px; min-height: 40px; }
.demo-callout { padding: 19px 0; gap: 12px; flex-wrap: wrap; }
.demo-callout strong { font-size: 15px; }
.demo-callout p { font-size: 14px; line-height: 1.65; max-width: none; }
.privacy-line, .proof-panel-footer { font-size: 12px; line-height: 1.65; padding: 16px; text-align: center; color: #a2bbcf; }
.status-tag { font-size: 12px; padding: 7px 9px; }
.proof-helix-strip { height: 78px; margin: 18px 0; }
.proof-panel .standby-symbol { margin-bottom: 24px; }
.proof-panel .overview-content h2 { font-size: 24px; line-height: 1.4; }
.overview-content > p { font-size: 15px; color: #afc0d7; line-height: 1.75; }
.empty-metadata > div { font-size: 13px; gap: 16px; line-height: 1.7; }
.empty-metadata > div > span:first-child { color: #9aafca; }
.empty-metadata > div > span:last-child { color: #afc5da; }
.section-heading h2, .process-section .section-heading h2 { font-size: 30px; line-height: 1.4; }
.process-grid article { padding: 24px 20px; }
.process-grid h3 { font-size: 16px; line-height: 1.55; }
.process-grid p { font-size: 15px; line-height: 1.75; color: #acbed3; max-width: none; }
.process-top > span:last-child { font-size: 13px; color: #95afca; }
.phase-note { font-size: 13px; color: #9fb5cc; line-height: 1.8; align-items: flex-start; }
.phase-note svg { margin-top: 5px; }
.activity-title h2 { font-size: 19px; }
.count-badge { font-size: 12px; }
.activity-empty { font-size: 14px; color: #a7bed5; line-height: 1.7; }
.activity-row code { font-size: 13px; }
.activity-row small, .activity-row .row-status, .activity-row time { font-size: 12px; }
.activity-row small { color: #99b1ca; }
.result-top p { font-size: 15px; line-height: 1.7; }
.secondary-button { font-size: 14px; min-height: 44px; }
.sample-notice { font-size: 14px; line-height: 1.8; }
.result-data > div, .result-data dt, .result-data dd { font-size: 14px; line-height: 1.7; }
.check-list h3 { font-size: 13px; }
.check-row strong { font-size: 15px; line-height: 1.6; }
.check-row small { font-size: 13px; line-height: 1.7; color: #a4b8d0; }
summary, details > p { font-size: 14px; line-height: 1.8; }
details code { font-size: 13px; line-height: 1.9; }
.result-bottom { font-size: 13px; }
.connection-message h3 { font-size: 24px; }
.connection-message p { font-size: 15px; }
footer { font-size: 13px; }
.footer-brand { font-size: 11px; }
footer a { font-size: 13px; }
.dialog-top .section-caption { font-size: 12px; }
dialog > p, .guide-item p, .guide-note { font-size: 14px; line-height: 1.8; }
.guide-item h3 { font-size: 16px; }
.guide-item > span { font-size: 13px; }
#toast { font-size: 14px; }
.motion-toggle { font-size: 11px; min-height: 34px; letter-spacing: .6px; }
.hero-art { height: 360px; }
.art-marker, .art-marker span, .art-label, .art-label-bottom { font-size: 10px; letter-spacing: .5px; }
.art-marker { pointer-events: none; }
.art-label, .art-grid { pointer-events: none; }

@media (max-width: 1100px) and (min-width: 761px) {
  .workspace { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .input-tabs { gap: 17px; }
  .input-tabs button { font-size: 14px; }
  .demo-callout .text-button { margin-left: 28px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .art-marker span { font-size: 9px; }
  .art-marker:before, .art-marker:after { display: none; }
  .art-label-bottom { font-size: 8px; }
  .protocol-ribbon { display: grid; grid-template-columns: 1fr 1fr; row-gap: 12px; }
}
@media (max-width: 760px) {
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .workspace > .panel { min-width: 0; }
  .site-header { gap: 10px; }
  .brand > span { font-size: 14px; }
  .brand small { font-size: 10px; }
  .network-pill { font-size: 11px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-bottom: 49px; gap: 18px; }
  .hero h1 { font-size: clamp(34px, 8.8vw, 52px); }
  .hero-copy > p { max-width: 540px; font-size: 16px; }
  .hero-tags { font-size: 12px; gap: 12px; }
  .eyebrow { font-size: 10px; letter-spacing: .6px; }
  .hero-art { position: relative; inset: auto; width: 100%; height: 265px; opacity: 1; mask-image: none; pointer-events: auto; }
  .art-label, .art-marker { display: none; }
  .motion-toggle { bottom: 11px; right: 0; font-size: 10px; }
  .protocol-ribbon { grid-template-columns: 1fr; font-size: 11px; gap: 11px; }
  .protocol-ribbon > span:nth-child(even) { justify-content: flex-start; }
  .workspace-heading { gap: 10px; flex-wrap: wrap; }
  .workspace-heading .section-caption { font-size: 11px; letter-spacing: .5px; }
  .preview-pill { font-size: 10px; }
  .panel-title h2 { font-size: 23px; }
  .panel-title p { font-size: 14px; }
  .input-tabs { gap: 18px; }
  .input-tabs button { font-size: 14px; gap: 6px; }
  .input-wrap input { font-size: 16px; }
  .demo-callout .text-button { margin-left: 28px; }
  .demo-callout p { font-size: 14px; }
  .privacy-line, .proof-panel-footer { font-size: 12px; }
  .proof-panel { min-height: 460px; }
  .proof-panel .overview-content h2 { font-size: 22px; }
  .empty-metadata > div { font-size: 13px; }
  .section-heading h2, .process-section .section-heading h2 { font-size: 26px; }
  .process-grid { grid-template-columns: 1fr; gap: 15px; }
  .process-grid h3 { font-size: 17px; }
  .process-grid p { font-size: 15px; }
  .process-top { margin-bottom: 16px; }
  .result-data > div { flex-direction: column; gap: 4px; }
  .result-data dd { text-align: left; font-size: 14px; }
  .result-data dt { font-size: 14px; }
  .activity-row { flex-wrap: wrap; gap: 10px; }
  .activity-row .row-status { font-size: 11px; }
  .activity-row time { display: none; }
  .result-top h2 { font-size: 25px; }
  .result-bottom { font-size: 13px; }
  footer { align-items: flex-start; flex-direction: column; gap: 17px; }
  .footer-brand { font-size: 12px; }
  footer a { font-size: 14px; }
}

/* Long live hashes and metadata stay inside the existing result layout. */
.live-metadata { white-space: pre-wrap; overflow-wrap: anywhere; }

.verification-scope { margin-top: 18px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.verification-scope strong { color: var(--text); font-weight: 500; }

/* Keep phone controls usable and long live-result states inside their cards. */
@media (max-width: 760px) {
  .site-header .header-actions > .icon-button,
  .clear-input, #close-guide { width: 44px; min-width: 44px; min-height: 44px; }
  .header-actions { flex-shrink: 0; }
  .brand { min-width: 0; }
  .motion-toggle, .text-button, .demo-callout .text-button,
  .section-heading > .text-button { min-height: 44px; }
  .panel-title { align-items: flex-start; }
  .panel-title > div { min-width: 0; }
  .panel-title .icon-tile { flex-shrink: 0; margin-top: 2px; }
  .input-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .input-tabs button { justify-content: center; min-height: 56px; line-height: 1.5; }
  .input-tabs button > span { display: none; }
  .input-wrap { padding-right: 5px; }
  .input-wrap input { min-width: 0; }
  .demo-callout { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px 10px; align-items: start; }
  .demo-icon { margin-top: 3px; }
  .demo-callout .text-button { grid-column: 2; justify-self: start; margin: 0; }
  .proof-panel-heading { gap: 10px; flex-wrap: wrap; align-items: center; }
  .proof-panel-heading .section-caption { flex-shrink: 0; }
  .status-tag { white-space: normal; line-height: 1.5; }
  .empty-metadata > div { flex-wrap: wrap; gap: 4px 12px; }
  .empty-metadata > div > :last-child { overflow-wrap: anywhere; }
  .result-actions { flex-wrap: wrap; }
  .result-grid, .result-data, .check-row > div { min-width: 0; }
  .result-data dd { max-width: 100%; }
  .result-bottom a { white-space: normal; }
  .activity-section .section-heading { flex-wrap: wrap; align-items: center; gap: 8px; }
  .activity-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 18px; gap: 8px; }
  .activity-row > span:nth-child(2) { min-width: 0; }
  .activity-row .row-status { grid-column: 2; grid-row: 2; margin: 0; white-space: normal; }
  .activity-row > span:last-child { grid-column: 3; grid-row: 1 / 3; }
  dialog { overscroll-behavior: contain; scrollbar-gutter: stable; }
  body:has(dialog[open]) { overflow: hidden; }
  dialog .dialog-top { position: sticky; top: -22px; z-index: 2; padding: 10px 0; background: #111b2c; }
  summary { min-height: 44px; padding: 8px 0; }
  #toast { width: max-content; max-width: calc(100vw - 32px); text-align: center; bottom: max(16px, env(safe-area-inset-bottom)); }
  footer { padding-bottom: max(28px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .site-header { gap: 8px; }
  .header-actions { gap: 6px; }
  .network-pill { gap: 5px; padding: 8px 6px; font-size: 10px; }
  .input-tabs { gap: 8px; }
  .input-tabs button { font-size: 12px; }
  .workspace-heading { row-gap: 8px; }
  .workspace-heading .section-caption { font-size: 10px; }
  .proof-panel-heading .section-caption { font-size: 11px; }
  .status-tag { font-size: 11px; }
}

/* The public workflow has one live lookup, without identifier tabs or demos. */
.verification-card #verify-form { margin-top: 24px; }
.verification-card .verification-scope { margin-bottom: 20px; }
