:root {
  color-scheme: light;
  --paper: #f4f4ed;
  --surface: #fbfbf7;
  --ink: #17231d;
  --muted: #67746b;
  --line: #d9ded4;
  --line-strong: #bec8bb;
  --green: #315b43;
  --green-dark: #214232;
  --acid: #d5f279;
  --red: #b34536;
  --red-wash: #f8e8e3;
  --shadow: 0 22px 60px rgba(31, 48, 37, .07);
  font-family: Inter, "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

.skip-link { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 12px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { height: 78px; max-width: 1320px; margin: 0 auto; padding: 0 54px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(30, 52, 39, .12); }
.brand { display: inline-flex; gap: 11px; align-items: center; text-decoration: none; font-size: 17px; font-weight: 750; letter-spacing: -.055em; }
.brand-period { color: #7aa04b; }
.brand-mark { width: 22px; height: 22px; display: inline-grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 3px; transform: rotate(-6deg); }
.brand-mark i { display: block; border: 1.5px solid var(--green); border-radius: 2px; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { background: var(--acid); border-color: var(--green); }
.header-nav { display: flex; align-items: center; gap: 31px; font-size: 12px; font-weight: 600; color: #4f5d53; }
.header-nav a { text-decoration: none; }
.header-nav a:hover, .back-top:hover { color: var(--green); }
.privacy-note { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #526258; }
.status-dot, .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #7aa04b; display: inline-block; }

main { max-width: 1320px; margin: 0 auto; padding: 0 54px; }
.tool-section { min-height: 580px; display: grid; grid-template-columns: minmax(320px, .83fr) minmax(470px, 1.17fr); gap: clamp(44px, 7vw, 100px); align-items: center; padding: 62px 0 56px; }
.tool-intro { max-width: 520px; }
.eyebrow { margin: 0; color: var(--green); display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 760; }
.eyebrow-index { color: #829384; font-variant-numeric: tabular-nums; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 540px; margin: 23px 0 15px; font-size: clamp(39px, 4.2vw, 58px); line-height: .99; letter-spacing: -.065em; font-weight: 690; }
h1 span { color: var(--green); }
.lede { max-width: 400px; margin-bottom: 34px; color: var(--muted); font-size: 16px; line-height: 1.6; letter-spacing: -.015em; }
.lookup-form label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; letter-spacing: .015em; }
.input-wrap { position: relative; display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.input-wrap:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(49, 91, 67, .09); }
.input-wrap.invalid { border-color: var(--red); background: #fffaf8; box-shadow: 0 0 0 4px rgba(179, 69, 54, .08); }
.input-glyph { width: 34px; flex: 0 0 34px; color: #809083; text-align: center; font-size: 20px; }
.input-wrap input { min-width: 0; flex: 1; height: 45px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.input-wrap input::placeholder { color: #89958c; opacity: 1; }
.submit-button { min-height: 44px; flex: 0 0 auto; display: inline-flex; gap: 13px; align-items: center; padding: 0 16px; border: 0; border-radius: 8px; background: var(--green); color: white; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.submit-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.submit-button:focus-visible, .action-button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #91ad50; outline-offset: 3px; }
.submit-button:disabled { opacity: .75; cursor: wait; transform: none; }
.button-arrow { font-size: 16px; font-weight: 450; }
.form-meta { display: flex; justify-content: space-between; gap: 14px; margin-top: 9px; color: #738076; font-size: 10px; }
kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-right: 4px; border: 1px solid var(--line-strong); border-radius: 4px; font: inherit; }
.form-message { min-height: 17px; margin: 9px 0 0; color: var(--red); font-size: 12px; line-height: 1.45; }
.form-message:empty { display: none; }
.form-message.success { color: var(--green); }
.trust-row { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 27px; padding-top: 18px; border-top: 1px solid var(--line); color: #5e6c61; font-size: 10px; font-weight: 600; }
.trust-row b { margin-right: 5px; color: var(--green); font-size: 13px; font-weight: 500; }

.results-panel { position: relative; min-height: 440px; padding: 24px; border: 1px solid #d4dbd1; border-radius: 16px; background: rgba(251, 251, 247, .82); box-shadow: var(--shadow); overflow: hidden; }
.results-panel::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px; background: linear-gradient(90deg, var(--acid) 0 25%, transparent 25% 100%); }
.results-topline { display: flex; justify-content: space-between; align-items: flex-start; padding: 3px 0 17px; border-bottom: 1px solid var(--line); }
.results-eyebrow { font-size: 9px; gap: 8px; }
.results-eyebrow .live-dot { width: 6px; height: 6px; }
.results-topline h2 { margin: 7px 0 0; font-size: 18px; letter-spacing: -.04em; }
.tier-count { padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; color: #637064; font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; }
.results-grid { min-height: 340px; padding-top: 17px; }
.empty-state { min-height: 308px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-frame { position: relative; width: 135px; height: 91px; display: grid; place-items: center; margin: 0 0 20px; border: 1px solid #dbe1d8; background: radial-gradient(ellipse at 50% 110%, rgba(213, 242, 121, .29), transparent 64%); }
.frame-corner { position: absolute; width: 11px; height: 11px; border-color: #74905e; }
.corner-tl { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.corner-tr { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.corner-bl { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.corner-br { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }
.frame-center { display: flex; flex-direction: column; gap: 4px; color: #718172; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.frame-spark { color: var(--green); font-size: 24px; line-height: 1; }
.empty-title { margin: 0 0 7px; font-size: 14px; font-weight: 700; letter-spacing: -.025em; }
.empty-copy { max-width: 265px; margin: 0; color: #758176; font-size: 11px; line-height: 1.55; }
.empty-tags { display: flex; gap: 6px; margin-top: 17px; }
.empty-tags span { padding: 5px 8px; border: 1px solid #e0e5dc; border-radius: 5px; color: #69766b; font-size: 9px; font-weight: 650; }
.result-summary { min-height: 16px; margin-top: 12px; color: #68756b; font-size: 10px; }
.result-summary:empty { display: none; }
.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.thumb-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; animation: card-in .28s ease both; }
.thumb-card:nth-child(2) { animation-delay: .03s; }.thumb-card:nth-child(3) { animation-delay: .06s; }.thumb-card:nth-child(4) { animation-delay: .09s; }.thumb-card:nth-child(5) { animation-delay: .12s; }
@keyframes card-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.thumb-card-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 11px 8px; }
.thumb-tier { font-size: 11px; font-weight: 740; letter-spacing: -.015em; }
.thumb-dimensions { color: #647165; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.thumb-image-wrap { position: relative; display: grid; place-items: center; min-height: 98px; aspect-ratio: 16 / 8.8; margin: 0 8px; overflow: hidden; border-radius: 6px; background: #eff1eb; }
.thumb-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.thumb-image-wrap.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 18%, rgba(255,255,255,.56) 45%, transparent 68%); transform: translateX(-100%); animation: shimmer 1.1s ease-in-out infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.thumb-card.is-unavailable .thumb-image-wrap { background: #f4eee7; }
.unavailable-mark { display: none; color: #866c58; font-size: 10px; font-weight: 650; }
.thumb-card.is-unavailable .unavailable-mark { display: inline; }
.thumb-card.is-unavailable .thumb-dimensions { color: #a14c3d; }
.thumb-actions { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px; }
.action-button { min-height: 29px; display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 5px; padding: 0 8px; border: 1px solid #e1e5de; border-radius: 5px; background: #fbfcf9; color: #4e5c51; text-decoration: none; cursor: pointer; font-size: 9px; font-weight: 650; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.action-button:hover { border-color: #9fb19e; background: #f4f8ef; color: var(--green-dark); }
.action-button.primary-action { border-color: var(--green); background: var(--green); color: white; }
.action-button.primary-action:hover { background: var(--green-dark); }
.action-button[disabled] { opacity: .5; cursor: not-allowed; }
.thumb-card.is-unavailable .thumb-image { display: none; }
.thumb-card.is-unavailable .thumb-actions { opacity: .46; }

.page-rule { display: flex; align-items: center; gap: 15px; color: #7b897d; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; font-weight: 700; }
.rule-line { height: 1px; flex: 1; background: var(--line); }
.rule-code { color: #a0aa9f; font-variant-numeric: tabular-nums; }
.content-section, .support-section, .faq-section { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(40px, 9vw, 130px); padding: 83px 0; border-bottom: 1px solid var(--line); }
.section-heading h2, .support-label h2, .faq-title h2 { margin: 18px 0 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -.055em; }
.section-heading h2 span { color: #748574; }
.guide-content { max-width: 660px; }
.guide-lede { max-width: 590px; margin: 0 0 28px; color: #58665c; font-size: 16px; line-height: 1.7; letter-spacing: -.015em; }
.steps-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.steps-list li { display: grid; grid-template-columns: 44px 1fr; gap: 11px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.step-number { color: #849183; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.steps-list h3 { margin: 0 0 5px; font-size: 13px; letter-spacing: -.01em; }
.steps-list p { margin: 0; color: #69766c; font-size: 12px; line-height: 1.6; }
.support-section { grid-template-columns: .78fr 1.22fr; align-items: start; }
.format-list { border-top: 1px solid var(--line); }
.format-row { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.format-row code { color: #315b43; font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 11px; }
.format-row span { color: #748075; text-align: right; font-size: 11px; }
.faq-section { grid-template-columns: .78fr 1.22fr; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 17px 28px 17px 0; cursor: pointer; list-style: none; font-size: 13px; font-weight: 680; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1px; top: 14px; color: var(--green); font-size: 18px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 630px; margin: -3px 0 17px; color: #69766c; font-size: 12px; line-height: 1.7; }
.site-footer { max-width: 1320px; min-height: 100px; margin: 0 auto; padding: 24px 54px; display: flex; align-items: center; gap: 24px; color: #748075; font-size: 10px; }
.footer-brand { color: var(--ink); font-size: 14px; }
.footer-brand .brand-mark { width: 18px; height: 18px; }
.site-footer p { margin: 0; }
.back-top { margin-left: auto; color: #516154; text-decoration: none; font-weight: 650; }
.back-top span { padding-left: 4px; color: var(--green); }

/* --- footer page links --- */
.footer-links { display: flex; gap: 16px; margin-left: 6px; }
.footer-links a { color: #516154; text-decoration: none; font-weight: 650; }
.footer-links a:hover { color: var(--green); }

/* --- static content pages (about / privacy / contact / 404) --- */
.doc-main { max-width: 1320px; margin: 0 auto; padding: 62px 54px 76px; }
.doc-wrap { max-width: 720px; }
.doc-main h1 { margin: 14px 0 16px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -.05em; }
.doc-main h2 { margin: 34px 0 9px; font-size: 17px; letter-spacing: -.025em; }
.doc-main p { margin: 0 0 12px; color: #47574c; font-size: 14px; line-height: 1.75; }
.doc-main ul { margin: 0 0 14px; padding-left: 19px; color: #47574c; font-size: 14px; line-height: 1.75; }
.doc-main li { margin-bottom: 5px; }
.doc-main a { color: var(--green); }
.doc-lede { margin-bottom: 26px !important; font-size: 16px !important; color: #3b4b40 !important; line-height: 1.65 !important; }
.doc-meta { color: #7d8a80 !important; font-size: 11px !important; line-height: 1.6 !important; }
.doc-label { margin: 0 0 4px !important; color: #7d8a80 !important; font-size: 9px !important; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.doc-address { margin: 0 0 10px !important; font-size: 20px !important; font-weight: 700; letter-spacing: -.03em; }
.doc-address a { text-decoration: none; }
.doc-address a:hover { text-decoration: underline; }
.doc-card { margin: 24px 0 8px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.doc-actions { margin: 22px 0 18px !important; }
.doc-button { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--green); color: white !important; font-size: 12px; font-weight: 700; text-decoration: none; }
.doc-button:hover { background: var(--green-dark); }
.doc-button span { font-size: 15px; }
@media (max-width: 980px) { .doc-main { padding: 50px 30px 64px; } }
@media (max-width: 760px) { .footer-links { order: 2; flex-basis: 100%; margin-left: 0; } .doc-main { padding: 42px 20px 56px; } }


@media (max-width: 980px) {
  .site-header, main, .site-footer { padding-left: 30px; padding-right: 30px; }
  .tool-section { grid-template-columns: minmax(280px, .88fr) minmax(390px, 1.12fr); gap: 36px; }
  .results-panel { padding: 19px; }
  .results-panel::before { left: 19px; right: 19px; }
  .content-section, .support-section, .faq-section { gap: 52px; }
}
@media (max-width: 760px) {
  .site-header { height: 67px; padding: 0 20px; }
  .header-nav { gap: 15px; font-size: 11px; }
  .header-nav a { display: none; }
  main { padding: 0 20px; }
  .tool-section { min-height: 0; grid-template-columns: 1fr; gap: 23px; padding: 42px 0 39px; }
  .tool-intro { max-width: 100%; }
  h1 { max-width: 530px; margin: 17px 0 11px; font-size: clamp(38px, 10vw, 52px); }
  .lede { margin-bottom: 24px; font-size: 14px; }
  .trust-row { margin-top: 17px; padding-top: 13px; gap: 13px; }
  .results-panel { min-height: 394px; padding: 17px; border-radius: 13px; }
  .results-panel::before { left: 17px; right: 17px; }
  .results-grid { min-height: 306px; }
  .empty-state { min-height: 280px; }
  .page-rule { font-size: 8px; }
  .content-section, .support-section, .faq-section { grid-template-columns: 1fr; gap: 25px; padding: 56px 0; }
  .section-heading h2, .support-label h2, .faq-title h2 { font-size: 33px; }
  .guide-lede { font-size: 14px; }
  .site-footer { min-height: 90px; padding: 20px; flex-wrap: wrap; gap: 10px 16px; }
  .site-footer p { order: 3; flex-basis: 100%; }
}
@media (max-width: 460px) {
  .brand { font-size: 15px; }
  .privacy-note { padding: 7px 9px; font-size: 10px; }
  .input-wrap { flex-wrap: wrap; gap: 3px 6px; padding: 6px; }
  .input-wrap input { flex: 1 1 calc(100% - 45px); height: 43px; font-size: 12px; }
  .submit-button { flex: 1 1 100%; justify-content: center; min-height: 43px; }
  .form-meta { font-size: 9px; }
  .trust-row { justify-content: space-between; gap: 8px; font-size: 9px; }
  .results-panel { padding: 14px; }
  .results-panel::before { left: 14px; right: 14px; }
  .cards-grid { grid-template-columns: 1fr; gap: 10px; }
  .thumb-card { display: grid; grid-template-columns: minmax(0, 1fr) 102px; align-items: stretch; }
  .thumb-card-head { grid-column: 1 / -1; padding-bottom: 7px; }
  .thumb-image-wrap { grid-column: 1; grid-row: 2; min-height: 82px; aspect-ratio: 16 / 8.8; margin: 0 0 9px 8px; }
  .thumb-actions { grid-column: 2; grid-row: 2; align-content: center; padding: 0 8px 9px; flex-direction: column; }
  .action-button { min-height: 27px; }
  .format-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .format-row span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
