:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1e293c;
  background: #f6f7fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #a7b5ff; outline-offset: 3px; }
svg { display: block; width: 24px; height: 24px; flex-shrink: 0; }
h1, h2, h3, h4, p { margin: 0; }

.page-shell { max-width: 1160px; padding: 0 44px; margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 110px; border-bottom: 1px solid #e4e7ee; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 800; letter-spacing: .035em; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; background: #5262d8; color: white; border-radius: 11px; font-size: 23px; font-weight: 800; font-style: italic; padding-right: 3px; }
.brand-product { margin-left: 7px; color: #657086; font-weight: 500; letter-spacing: 0; }
.header-note { padding: 8px 13px; border: 1px solid #dfe3ed; border-radius: 7px; font-size: 12px; color: #657086; }
.intro { padding: 57px 0 42px; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .035em; color: #667185; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #6474df; }
h1 { font-size: clamp(36px, 4.5vw, 49px); line-height: 1.15; letter-spacing: -.045em; font-weight: 750; }
h1 span { color: #5868d6; }
.intro-description { margin-top: 21px; color: #657086; font-size: 15px; line-height: 1.75; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr); gap: 54px; align-items: start; }
.lookup-card { padding: 30px; border-radius: 17px; border: 1px solid #e4e7f0; background: #fff; box-shadow: 0 8px 30px #28335c05, 0 1px 3px #28335c03; }
.card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 29px; }
.card-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; color: #5868d6; background: #f0f2fe; }
.card-heading h2 { font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.card-heading p { margin-top: 5px; color: #657086; font-size: 12px; line-height: 1.5; }
label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 650; }
#query { width: 100%; height: 49px; padding: 0 14px; background: #fcfcfe; color: #26324a; border: 1px solid #dce1ed; border-radius: 8px; transition: border-color .15s, box-shadow .15s; }
#query::placeholder { font-size: 13px; color: #68758a; }
#query:focus { border-color: #7583e1; background: #fff; }
#query[aria-invalid="true"] { border-color: #ca5555; }
.field-hint { margin-top: 9px; color: #68758a; font-size: 11px; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; margin-top: 22px; padding: 12px 18px; border: 1px solid #5262d8; border-radius: 8px; background: #5868d6; color: white; font-size: 13px; font-weight: 650; transition: background .15s, transform .15s; }
.primary-button:hover:not(:disabled) { background: #4a59c3; }
.primary-button:active:not(:disabled) { transform: translateY(1px); }
.primary-button:disabled { cursor: wait; background: #7783da; border-color: #7783da; }
.primary-button svg { width: 18px; height: 18px; }
.spinner { width: 15px; height: 15px; border: 2px solid #ffffff60; border-top-color: white; border-radius: 50%; animation: rotate .7s linear infinite; }
.lookup-status { margin-top: 16px; padding: 11px 13px; border-radius: 7px; font-size: 12px; line-height: 1.65; background: #f1f3fc; color: #59658e; overflow-wrap: anywhere; }
.lookup-status[data-kind="error"] { background: #fff2f1; color: #9f3e3b; }
.lookup-status[data-kind="success"] { color: #38755b; background: #edf7f1; }
.privacy-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #edf0f6; color: #68758a; font-size: 10px; line-height: 1.7; }
.privacy-note svg { width: 14px; height: 14px; margin-top: 1px; color: #929aab; }
.instructions { padding-top: 12px; }
.section-kicker { color: #657086; font-size: 10px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 9px; }
.instructions h2 { font-size: 22px; letter-spacing: -.03em; }
.steps { margin: 27px 0 0; padding: 0; list-style: none; }
.steps li { position: relative; display: flex; align-items: flex-start; gap: 15px; padding-bottom: 25px; }
.steps li:not(:last-child)::after { position: absolute; top: 30px; bottom: 5px; left: 14px; width: 1px; background: #e1e5ef; content: ""; }
.step-number { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px; border-radius: 50%; border: 1px solid #dfe4ef; background: #f6f7fb; color: #63709b; font-size: 11px; font-weight: 650; }
.steps h3 { margin-top: 4px; font-size: 13px; font-weight: 650; }
.steps p { margin-top: 7px; color: #657086; font-size: 12px; line-height: 1.75; }
.help-note { display: flex; align-items: center; gap: 11px; padding: 15px 17px; border: 1px solid #e2e6ef; border-radius: 9px; }
.help-icon { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #b2b9cc; border-radius: 50%; flex-shrink: 0; color: #8d97af; font-size: 12px; }
.help-note p { color: #657086; font-size: 11px; line-height: 1.65; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; margin-top: 55px; padding: 24px 0 29px; border-top: 1px solid #e4e7ee; color: #657086; font-size: 10px; }

.result { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e9edf4; }
.result-heading-row { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.success-icon { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #eaf6ef; color: #438766; flex-shrink: 0; }
.success-icon svg { width: 17px; height: 17px; }
.result h3 { font-size: 14px; font-weight: 650; letter-spacing: -.015em; }
.result h3:focus { outline: none; }
.link-label { font-size: 11px; color: #68758a; }
.subscription-url { display: block; width: 100%; resize: vertical; min-height: 78px; max-height: 220px; padding: 12px; border: 1px solid #e0e5ef; border-radius: 7px; background: #f8f9fc; color: #536080; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.copy-button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 41px; margin-top: 10px; padding: 10px 12px; border: 1px solid #dfe4f2; border-radius: 7px; background: #f0f2fd; color: #5363c5; font-size: 12px; font-weight: 600; transition: background .15s; }
.copy-button:hover:not(:disabled) { background: #e6eaff; }
.copy-button:disabled { cursor: wait; opacity: .7; }
.copy-button svg { width: 16px; height: 16px; }
.copy-status { margin-top: 9px; color: #3c7e5e; font-size: 11px; line-height: 1.6; }
.copy-status[data-kind="error"] { color: #9f3e3b; }
.qr-section { display: flex; align-items: center; gap: 17px; margin-top: 23px; }
.qr-code { display: grid; place-items: center; width: 132px; min-height: 132px; flex-shrink: 0; border-radius: 8px; background: #fff; border: 1px solid #e8ebf2; }
.qr-code canvas { display: block; width: 128px; height: auto; aspect-ratio: 1 / 1; max-width: 100%; }
.qr-description h4 { color: #566078; font-size: 11px; font-weight: 650; line-height: 1.6; }
.qr-description p { color: #68758a; margin-top: 6px; font-size: 11px; line-height: 1.7; }
.qr-description .qr-fallback { color: #9f3e3b; }
noscript { display: block; max-width: 600px; margin: 20px auto; padding: 16px; color: #9f3e3b; }

@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 800px) {
  .page-shell { padding: 0 28px; }
  .content-grid { gap: 30px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .lookup-card { padding: 24px; }
  .card-heading { gap: 10px; }
  .card-heading h2 { font-size: 16px; }
  .card-heading p { font-size: 11px; }
  .card-icon { width: 37px; height: 37px; }
  .qr-section { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .page-shell { padding: 0 20px; }
  .site-header { min-height: 82px; }
  .brand { font-size: 15px; gap: 9px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 9px; font-size: 21px; }
  .header-note { font-size: 10px; padding: 7px 9px; }
  .intro { padding: 37px 0 29px; }
  .eyebrow { font-size: 10px; margin-bottom: 16px; }
  h1 { font-size: clamp(32px, 8.5vw, 44px); }
  .intro-description { font-size: 13px; line-height: 1.8; margin-top: 17px; }
  .desktop-break { display: none; }
  .content-grid { grid-template-columns: minmax(0, 1fr); gap: 33px; }
  .lookup-card { padding: 24px 22px; border-radius: 14px; }
  #query { font-size: 16px; }
  .card-heading { margin-bottom: 25px; }
  .card-heading h2 { font-size: 17px; }
  .card-heading p { font-size: 11px; }
  .instructions { padding: 0 3px; }
  .instructions h2 { font-size: 22px; }
  .steps { margin-top: 23px; }
  .steps p { font-size: 12px; }
  .steps li { padding-bottom: 24px; }
  .site-footer { margin-top: 35px; padding-top: 21px; font-size: 9px; }
  .qr-section { flex-direction: row; align-items: center; gap: 13px; }
  .qr-code { width: 122px; min-height: 122px; }
  .qr-code canvas { width: 118px; }
}

@media (max-width: 360px) {
  .page-shell { padding: 0 14px; }
  .lookup-card { padding: 21px 17px; }
  .card-heading h2 { font-size: 15px; }
  .card-heading p { font-size: 10px; }
  .qr-section { flex-direction: column; align-items: flex-start; }
  .site-footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition: none !important; }
}
