/* NegRevel: warm paper, open space, and a little sunshine. */
:root {
  --paper: #f8f8f0;
  --ink: #263b30;
  --muted: #5b695e;
  --line: #d8ded2;
  --sun: #eef09b;
  --green: #e5ebdf;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Songti SC", "STSong", Georgia, serif;
  --sans: "Helvetica Neue", Arial, "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--sun); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
em { font-family: var(--serif); font-weight: 400; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 2px; }
.wrap { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.small { font-size: 12px; color: var(--muted); }
.eyebrow { font-size: 11px; line-height: 1.5; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; }
.text-link { display: inline-block; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link:hover { color: #517140; }
.sun { width: 50px; height: 50px; fill: none; stroke: currentColor; stroke-width: 1.8; flex-shrink: 0; }
.skip-link { position: absolute; top: 10px; left: -9999px; z-index: 100; padding: 10px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { left: 10px; }

/* A quiet, consistent navigation for all product pages. */
.revel-header { position: sticky; top: 0; z-index: 50; background: rgb(248 248 240 / .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { width: min(1320px, calc(100% - 80px)); margin: auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { font-size: 27px; letter-spacing: -.055em; display: flex; gap: 12px; align-items: center; font-weight: 500; }
.wordmark .sun { width: 29px; height: 29px; }
.app-icon { width: 29px; height: 29px; object-fit: contain; flex-shrink: 0; }
.header-tools { display: flex; align-items: center; gap: 24px; }
.language-switch { display: flex; align-items: center; gap: 13px; white-space: nowrap; font-size: 11px; }
.language-switch span { color: var(--ink); }
.language-switch a { color: var(--muted); border-bottom: 1px solid currentColor; }
html[lang="zh-CN"] .hero-copy h1 { line-height: 1.2; letter-spacing: -.035em; }
.project-hub.single { grid-template-columns: 1fr; max-width: 800px; }
.desktop-nav { display: flex; gap: 29px; align-items: center; }
.desktop-nav a { font-size: 13px; color: var(--muted); padding: 8px 0; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.mobile-menu { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 24px; border-radius: 99px; font-size: 14px; font-weight: 500; line-height: 1.5; background: var(--sun); transition: background .18s, transform .18s; }
.button:hover { background: #e4e77c; transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #405641; }
.actions { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }

/* The image is photography, not a fabricated conversion or app screenshot. */
.product-hero { display: grid; grid-template-columns: .92fr 1.08fr; gap: 28px; align-items: center; padding-block: 88px 74px; }
.hero-copy .eyebrow { margin-bottom: 27px; }
.hero-copy h1 { font-size: clamp(52px, 5.7vw, 84px); line-height: 1.05; letter-spacing: -.065em; }
.hero-copy h1 em { letter-spacing: -.055em; white-space: nowrap; }
.hero-text { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 390px; margin-block: 29px 30px; }
.hero-meta { margin-top: 19px; }
.photo-frame { position: relative; padding: 12px; background: #fffef8; transform: rotate(2deg); box-shadow: 0 9px 35px rgb(38 59 48 / .08); }
.photo-frame img { height: 420px; object-fit: cover; }
.photo-stamp { position: absolute; left: -28px; bottom: 22px; border-radius: 50%; background: var(--sun); width: 115px; height: 115px; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-13deg); text-align: center; }
.photo-stamp .sun { width: 30px; height: 30px; margin-bottom: 4px; }
.photo-stamp span { font-family: var(--serif); font-size: 16px; line-height: 1.1; font-style: italic; }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: var(--muted); margin-top: 27px; }
.capability-strip { background: var(--green); border-block: 1px solid var(--line); }
.capability-strip .wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px; font-size: 11px; letter-spacing: .045em; }
.section { padding-block: 90px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading .eyebrow { grid-column: 1/-1; margin-bottom: 20px; }
.section-heading h2, .modes-section h2, .project-note h2, .project-feature h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.12; letter-spacing: -.04em; }
.section-heading p:not(.eyebrow) { max-width: 390px; color: var(--muted); }
.section-heading.compact { display: block; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; border-top: 1px solid var(--line); }
.features article { padding-top: 30px; }
.feature-number { font-family: var(--serif); font-style: italic; font-size: 22px; }
.features h3 { font-size: 21px; letter-spacing: -.03em; margin-block: 24px 12px; }
.features p { font-size: 14px; color: var(--muted); }
.modes-section { padding-block: 72px; background: var(--green); }
.modes-section .wrap { display: grid; grid-template-columns: .9fr 1.1fr; column-gap: 48px; }
.modes-section .section-heading { margin: 0; }
.modes { display: grid; gap: 35px; }
.mode + .mode { border-top: 1px solid #c5d0be; padding-top: 30px; }
.mode h3 { font-size: 25px; letter-spacing: -.04em; margin-block: 12px; }
.mode p { font-size: 14px; color: #54654f; }
.modes-section .text-link { justify-self: start; margin-top: 35px; }
.guide-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide-option { padding: 32px 28px; border: 1px solid var(--line); }
.guide-option :is(h2, h3) { font-size: 30px; letter-spacing: -.04em; display: flex; justify-content: space-between; gap: 18px; margin-block: 25px 14px; }
.guide-option :is(h2, h3) > .guide-arrow { font-size: 24px; transition: transform .18s; }
.guide-option:hover :is(h2, h3) > .guide-arrow { transform: translate(3px, -3px); }
.guide-option p { color: var(--muted); font-size: 14px; max-width: 360px; margin-bottom: 25px; }
.project-note { padding: 45px 48px; background: var(--sun); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 65px; }
.project-note .eyebrow { grid-column: 1/-1; }
.project-note p { color: #49583c; font-size: 14px; }
.project-note .text-link { justify-self: start; }
.image-provenance { margin-top: 24px; color: var(--muted); font-size: 10px; }

/* The pages stay light: short sections, real choices, and readable guides. */
.page-intro { padding-block: 80px 48px; }
.page-intro .eyebrow { margin-bottom: 25px; }
.page-intro h1 { font-size: clamp(40px, 5vw, 66px); letter-spacing: -.055em; line-height: 1.13; max-width: 880px; }
.intro-text { font-size: 17px; color: var(--muted); max-width: 620px; margin-top: 22px; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 30px; background: var(--sun); padding: 42px 48px; margin-top: 80px; }
.closing .sun { float: left; margin-right: 25px; margin-top: 6px; }
.closing h2 { font: italic 30px/1.2 var(--serif); }
.closing p { font-size: 14px; margin-top: 10px; }
.closing .button { flex-shrink: 0; }
.release-banner { padding-block: 14px 25px; display: flex; gap: 10px; align-items: center; font-size: 13px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #7b8753; border-radius: 50%; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.download-platform { padding: 40px; position: relative; min-width: 0; }
.download-platform + .download-platform { border-left: 1px solid var(--line); }
.platform-symbol { position: absolute; right: 35px; top: 35px; font-size: 40px; line-height: 1; font-weight: 300; }
.download-platform h2 { font-size: 44px; line-height: 1.2; letter-spacing: -.05em; margin-block: 24px 9px; }
.architecture { font-size: 14px; color: var(--muted); }
.release-status { display: inline-block; font-size: 11px; background: var(--green); padding: 4px 10px; border-radius: 20px; margin-top: 18px; }
.mirrors { margin-top: 30px; border-top: 1px solid var(--line); }
.mirror-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
a.mirror-link:hover { color: #517140; }
.unavailable { color: var(--muted); }
.install-notes { margin-top: 23px; font-size: 13px; }
summary { cursor: pointer; }
.install-notes p { margin-top: 14px; color: var(--muted); }
.download-notes { display: flex; justify-content: space-between; gap: 30px; margin-top: 27px; font-size: 13px; color: var(--muted); }
.download-notes p { max-width: 640px; }
.download-notes .text-link { align-self: start; flex-shrink: 0; }
.extraction { font-size: 12px; margin-top: 12px; }
.copy-code { background: var(--green); border: 0; padding: 3px 9px; cursor: pointer; margin-left: 8px; }
.copy-status { display: inline-block; margin-left: 8px; }
.copy-code { display: none; }
.js-enabled .copy-code { display: inline-block; }
/* A voluntary thank-you, separate from the platform downloads. */
.treat-section { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }
.treat-heading { display: grid; grid-template-columns: 1fr 1.25fr; gap: 45px; align-items: start; }
.treat-heading .eyebrow { margin-bottom: 18px; }
.treat-heading h2 { font-size: 52px; line-height: 1.15; letter-spacing: -.04em; }
.treat-heading p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.treat-heading .treat-currency-note { margin-top: 14px; font-size: 12px !important; }
.treat-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 30px 0 0; padding: 0; }
.treat-tier { min-width: 0; padding: 24px; background: var(--green); border: 1px solid var(--line); }
.treat-tier:last-child { background: var(--sun); }
.treat-icon { display: block; font: 28px/1.2 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.treat-tier h3 { font-size: 17px; line-height: 1.4; margin-top: 16px; }
.treat-amount { font-size: 30px; line-height: 1.2; letter-spacing: -.03em; margin-top: 14px; font-variant-numeric: tabular-nums; }
.treat-currency { font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.treat-collection { margin-top: 24px; }
.treat-placeholder { background: var(--green); padding: 20px 24px; border-left: 2px solid #8ea57d; }
.treat-placeholder p + p { margin-top: 8px; color: var(--muted); font-size: 13px; }

.guide-index { padding-top: 12px; }
.detailed-documentation { margin-top: 56px; }
.detailed-documentation > h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 28px; }
.breadcrumb { display: flex; gap: 12px; align-items: baseline; font-size: 12px; color: var(--muted); padding-top: 36px; }
.breadcrumb .text-link { font-size: 12px; }
.breadcrumb + .page-intro { padding-top: 38px; }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 65px; align-items: start; }
.guide-toc { position: sticky; top: 122px; }
.guide-toc .eyebrow { margin-bottom: 20px; }
.guide-toc nav { display: grid; gap: 15px; }
.guide-toc a { font-size: 12px; color: var(--muted); display: flex; gap: 12px; }
.guide-toc a:hover { color: var(--ink); }
.guide-toc span { font-variant-numeric: tabular-nums; }
.guide-step { padding-block: 32px 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; gap: 22px; scroll-margin-top: 115px; }
.step-number { font: italic 31px/1.3 var(--serif); }
.guide-step h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.035em; margin-bottom: 20px; }
.guide-step p { font-size: 15px; color: var(--muted); margin-bottom: 15px; max-width: 680px; }
.guide-tip { font-size: 13px; line-height: 1.7; background: var(--green); border-left: 2px solid #8ea57d; padding: 14px 18px; margin-top: 22px; }
.guide-step .text-link { margin-top: 23px; font-size: 12px; }
.guide-next { padding: 32px 0 0 64px; border-top: 1px solid var(--line); }
.guide-next p { margin-bottom: 22px; font-family: var(--serif); font-size: 26px; font-style: italic; }
.release-list { max-width: 900px; }
.empty-state { padding: 50px; border: 1px solid var(--line); }
.empty-state .sun { margin-bottom: 28px; }
.empty-state h2 { font: italic 38px/1.2 var(--serif); margin-block: 18px; }
.empty-state p:not(.eyebrow) { color: var(--muted); max-width: 530px; font-size: 15px; }
.empty-state .text-link { margin-top: 28px; }
.release-entry { border-top: 1px solid var(--line); padding-block: 32px; }
.release-entry h2 { font-size: 32px; margin-top: 15px; }
.release-entry h3 { font-size: 19px; margin-top: 25px; }
.release-entry li { margin-top: 10px; color: var(--muted); }
.support-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 23px; font-size: 16px; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; }
.faq[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 14px; padding-bottom: 25px; max-width: 590px; }
.support-note { padding: 34px; background: var(--green); }
.support-note h2 { font-size: 31px; letter-spacing: -.03em; line-height: 1.2; margin-block: 20px; }
.support-note p:not(.eyebrow) { font-size: 14px; color: #54654f; margin-bottom: 18px; }
.support-note .small { font-size: 12px !important; }
.support-note .button { margin-bottom: 25px; }
.support-note .text-link { font-size: 12px; }

/* Projects connect back to the personal photography site. */
.negscan-hero { padding-block: 80px 55px; }
.project-title { display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; align-items: end; margin-block: 25px 55px; }
.project-title h1 { font-size: clamp(70px, 9vw, 130px); letter-spacing: -.075em; line-height: 1; }
.project-title h1 span { font-size: .5em; display: inline-block; vertical-align: top; margin-left: 10px; }
.project-title .sun { width: 44px; height: 44px; margin-bottom: 25px; }
.project-title p { color: var(--muted); font-size: 16px; }
.project-statement { font: italic 37px/1.2 var(--serif); }
.project-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; border-top: 1px solid var(--line); }
.project-area { padding-block: 34px 65px; }
.project-area h2 { font-size: 24px; letter-spacing: -.04em; line-height: 1.3; margin-block: 28px 18px; }
.project-area p { font-size: 14px; color: var(--muted); }
.project-feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--green); margin-top: 20px; }
.project-feature > div { padding: 45px; }
.project-feature h2 { margin-top: 20px; }
.project-feature p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-block: 22px; }
.project-feature img { height: 100%; object-fit: cover; }
.project-hub { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; }
.hub-feature { background: var(--green); display: flex; flex-direction: column; }
.hub-feature > div { padding: 38px; }
.hub-feature img { height: 290px; object-fit: cover; flex: 1; }
.hub-label { display: flex; align-items: center; gap: 16px; }
.hub-feature .tool-icon { width: 64px; height: 64px; object-fit: contain; flex: none; }
.project-hub h2 { font-size: 39px; letter-spacing: -.05em; display: flex; justify-content: space-between; margin-block: 24px 18px; }
.project-hub p:not(.eyebrow) { font-size: 14px; color: var(--muted); max-width: 430px; }
.project-hub .text-link { margin-top: 25px; }
.hub-project { background: var(--sun); padding: 38px; position: relative; }
.hub-project .sun { width: 85px; height: 85px; margin-top: 60px; }
.hub-project:hover .sun { transform: rotate(30deg); transition: transform .35s; }
.revel-footer { width: min(1200px, calc(100% - 112px)); margin: 90px auto 0; border-top: 1px solid var(--line); padding-block: 40px 25px; }
.footer-top { display: flex; justify-content: space-between; gap: 35px; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 28px; letter-spacing: -.055em; }
.footer-top p { color: var(--muted); font: italic 16px var(--serif); margin-top: 10px; }
.footer-top nav { display: flex; gap: 25px; align-items: start; }
.footer-top nav .text-link { font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; font-size: 10px; color: var(--muted); padding-top: 45px; }

@media (min-width: 1500px) { .hero-copy h1 { font-size: 85px; } }
@media (max-width: 1000px) {
  .wrap, .revel-footer { width: calc(100% - 64px); }
  .header-inner { width: calc(100% - 64px); }
  .desktop-nav { gap: 20px; }
  .product-hero { gap: 24px; padding-top: 65px; }
  .hero-copy h1 { font-size: clamp(45px, 6.3vw, 63px); }
  .photo-frame img { height: 370px; }
  .hero-text { font-size: 15px; }
  .hero-photo figcaption span { display: none; }
  .actions { gap: 20px; }
  .actions .text-link { font-size: 12px; }
  .section-heading { gap: 40px; }
  .modes-section .wrap { column-gap: 32px; }
  .features, .project-areas { gap: 25px; }
  .guide-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 35px; }
  .support-layout { gap: 35px; }
  .closing { padding: 32px; }
  .closing .sun { display: none; }
  .project-title { gap: 40px; }
}
@media (max-width: 760px) {
  .wrap, .revel-footer, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 8px 12px; padding-block: 12px; }
  .header-tools { display: contents; }
  .wordmark { order: 1; }
  .mobile-menu { order: 2; margin-left: auto; }
  .language-switch { order: 3; flex-basis: 100%; justify-content: flex-end; }

  .wordmark { font-size: 25px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { list-style: none; font-size: 13px; padding: 10px 0 10px 15px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { padding-left: 8px; }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; padding: 16px 25px 25px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgb(38 59 48 / .06); }
  .mobile-menu nav a { padding: 11px 0; font-size: 15px; }
  .mobile-menu nav a[aria-current] { font-weight: 600; }
  .product-hero { grid-template-columns: 1fr; padding-block: 50px 40px; gap: 28px; }
  .hero-copy h1 { font-size: clamp(49px, 9vw, 74px); }
  .hero-copy .eyebrow { margin-bottom: 22px; }
  .hero-text { max-width: 440px; margin-block: 22px 25px; font-size: 16px; }
  .hero-photo { padding-inline: 7px; }
  .photo-frame { transform: rotate(1.2deg); }
  .photo-frame img { height: auto; aspect-ratio: 1.4; }
  .photo-stamp { left: -12px; width: 90px; height: 90px; bottom: 16px; }
  .photo-stamp .sun { width: 25px; height: 25px; }
  .photo-stamp span { font-size: 14px; }
  .hero-photo figcaption { margin-top: 18px; }
  .capability-strip .wrap { flex-wrap: wrap; gap: 9px 20px; font-size: 10px; }
  .section { padding-block: 55px; }
  .section-heading { grid-template-columns: 1fr; row-gap: 20px; margin-bottom: 30px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .section-heading.compact .eyebrow { margin-bottom: 18px; }
  .features { grid-template-columns: 1fr; gap: 0; }
  .features article { display: grid; grid-template-columns: 35px 1fr; column-gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
  .features h3 { margin: 0 0 10px; }
  .features p { grid-column: 2; }
  .modes-section { padding-block: 48px; }
  .modes-section .wrap { display: block; }
  .modes { margin-top: 35px; }
  .guide-options { grid-template-columns: 1fr; }
  .guide-option { padding: 28px 24px; }
  .guide-option :is(h2, h3) { font-size: 26px; line-height: 1.3; margin-top: 20px; }
  .project-note { padding: 30px; grid-template-columns: 1fr; gap: 18px; }
  .project-note .eyebrow { grid-column: auto; }
  .page-intro { padding-block: 48px 35px; }
  .page-intro h1 { font-size: 43px; }
  .intro-text { font-size: 15px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-platform { padding: 30px; }
  .download-platform + .download-platform { border-left: 0; border-top: 1px solid var(--line); }
  .treat-section { margin-top: 48px; padding-top: 32px; }
  .treat-heading { grid-template-columns: 1fr; gap: 20px; }
  .treat-heading h2 { font-size: 42px; }
  .treat-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .treat-tier { padding: 18px; }
  .treat-tier h3 { font-size: 15px; }
  .treat-amount { font-size: 28px; }
  .treat-placeholder { padding: 18px; }
  .download-notes, .closing { flex-direction: column; align-items: flex-start; gap: 23px; }
  .closing { margin-top: 50px; padding: 30px; }
  .closing h2 { font-size: 28px; }
  .guide-layout { grid-template-columns: 1fr; gap: 35px; }
  .guide-toc { position: static; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
  .guide-toc nav { grid-template-columns: 1fr 1fr; gap: 13px 20px; }
  .guide-toc a { font-size: 11px; gap: 7px; }
  .guide-step { gap: 12px; grid-template-columns: 30px 1fr; padding-block: 25px 32px; }
  .guide-step h2 { font-size: 25px; }
  .guide-step p { font-size: 14px; }
  .guide-tip { padding: 12px 14px; font-size: 12px; }
  .guide-next { padding-left: 0; }
  .empty-state { padding: 30px; }
  .empty-state h2 { font-size: 32px; }
  .support-layout { grid-template-columns: 1fr; }
  .support-note { padding: 30px; }
  .faq summary { font-size: 15px; }
  .negscan-hero { padding-block: 48px 35px; }
  .project-title { grid-template-columns: 1fr; gap: 30px; margin-bottom: 35px; }
  .project-title h1 { font-size: clamp(68px, 15vw, 105px); }
  .project-title .sun { display: none; }
  .project-statement { font-size: 31px; }
  .project-areas { grid-template-columns: 1fr; gap: 0; }
  .project-area { padding-block: 25px 32px; border-bottom: 1px solid var(--line); }
  .project-area h2 { margin-top: 17px; }
  .project-feature { grid-template-columns: 1fr; }
  .project-feature > div { padding: 30px; }
  .project-feature img { aspect-ratio: 1.5; }
  .project-hub { grid-template-columns: 1fr; }
  .hub-feature > div, .hub-project { padding: 30px; }
  .hub-feature img { height: 230px; }
  .hub-project .sun { margin-top: 30px; width: 60px; height: 60px; }
  .footer-top { flex-direction: column; gap: 25px; }
  .footer-top nav { flex-wrap: wrap; gap: 20px; }
  .revel-footer { margin-top: 60px; }
  .footer-bottom { padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Fixed media box: photo changes and controls never move the page layout. */
.hero-carousel { position: relative; }
.hero-slide-stage { position: relative; height: 420px; overflow: hidden; background: var(--green); }
.hero-slide-panel { position: absolute; inset: 0; visibility: hidden; }
.hero-slide-panel.is-active, .hero-slide-panel.is-incoming, .hero-slide-panel.is-outgoing { visibility: visible; }
.hero-slide-panel.is-outgoing { z-index: 1; }
.hero-slide-panel.is-incoming { z-index: 2; }
.hero-negative-layer { position: absolute; inset: 0; }
.hero-slide-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide-stage img[hidden], .hero-negative-placeholder[hidden] { display: none; }
.hero-negative-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 65px; text-align: center; color: var(--muted); font: italic 25px/1.4 var(--serif); background: var(--green); }
.hero-positive-image { clip-path: inset(0); }
.hero-slide-panel[data-phase="negative"] .hero-positive-image { clip-path: inset(0 0 100% 0); }
.hero-slide-panel[data-phase="melting"] .hero-positive-image { animation: hero-melt var(--melt-duration) ease-in-out both; }
@keyframes hero-melt {
  0% { clip-path: polygon(0% 0%,100% 0%,100.0% 0.00%,97.5% 0.00%,95.0% 0.00%,92.5% 0.00%,90.0% 0.00%,87.5% 0.00%,85.0% 0.00%,82.5% 0.00%,80.0% 0.00%,77.5% 0.00%,75.0% 0.00%,72.5% 0.00%,70.0% 0.00%,67.5% 0.00%,65.0% 0.00%,62.5% 0.00%,60.0% 0.00%,57.5% 0.00%,55.0% 0.00%,52.5% 0.00%,50.0% 0.00%,47.5% 0.00%,45.0% 0.00%,42.5% 0.00%,40.0% 0.00%,37.5% 0.00%,35.0% 0.00%,32.5% 0.00%,30.0% 0.00%,27.5% 0.00%,25.0% 0.00%,22.5% 0.00%,20.0% 0.00%,17.5% 0.00%,15.0% 0.00%,12.5% 0.00%,10.0% 0.00%,7.5% 0.00%,5.0% 0.00%,2.5% 0.00%,0.0% 0.00%); filter: blur(0.00px); }
  12% { clip-path: polygon(0% 0%,100% 0%,100.0% 0.40%,97.5% 1.02%,95.0% 1.50%,92.5% 1.80%,90.0% 1.89%,87.5% 1.84%,85.0% 1.72%,82.5% 1.60%,80.0% 1.56%,77.5% 1.60%,75.0% 1.70%,72.5% 1.80%,70.0% 1.81%,67.5% 1.67%,65.0% 1.34%,62.5% 0.83%,60.0% 0.21%,57.5% 0.00%,55.0% 0.00%,52.5% 0.00%,50.0% 0.00%,47.5% 0.00%,45.0% 0.00%,42.5% 0.00%,40.0% 0.00%,37.5% 0.24%,35.0% 0.48%,32.5% 0.60%,30.0% 0.65%,27.5% 0.71%,25.0% 0.83%,22.5% 1.08%,20.0% 1.43%,17.5% 1.86%,15.0% 2.26%,12.5% 2.54%,10.0% 2.61%,7.5% 2.44%,5.0% 2.03%,2.5% 1.45%,0.0% 0.80%); filter: blur(0.24px); }
  25% { clip-path: polygon(0% 0%,100% 0%,100.0% 16.72%,97.5% 17.67%,95.0% 18.35%,92.5% 18.73%,90.0% 18.85%,87.5% 18.85%,85.0% 18.87%,82.5% 19.02%,80.0% 19.36%,77.5% 19.84%,75.0% 20.35%,72.5% 20.70%,70.0% 20.75%,67.5% 20.38%,65.0% 19.58%,62.5% 18.43%,60.0% 17.13%,57.5% 15.88%,55.0% 14.89%,52.5% 14.29%,50.0% 14.14%,47.5% 14.37%,45.0% 14.85%,42.5% 15.40%,40.0% 15.87%,37.5% 16.16%,35.0% 16.27%,32.5% 16.28%,30.0% 16.33%,27.5% 16.56%,25.0% 17.06%,22.5% 17.86%,20.0% 18.88%,17.5% 19.95%,15.0% 20.88%,12.5% 21.46%,10.0% 21.58%,7.5% 21.21%,5.0% 20.42%,2.5% 19.38%,0.0% 18.28%); filter: blur(0.46px); }
  38% { clip-path: polygon(0% 0%,100% 0%,100.0% 32.85%,97.5% 33.67%,95.0% 34.17%,92.5% 34.41%,90.0% 34.52%,87.5% 34.70%,85.0% 35.10%,82.5% 35.81%,80.0% 36.78%,77.5% 37.86%,75.0% 38.82%,72.5% 39.41%,70.0% 39.44%,67.5% 38.84%,65.0% 37.68%,62.5% 36.13%,60.0% 34.48%,57.5% 32.99%,55.0% 31.90%,52.5% 31.29%,50.0% 31.16%,47.5% 31.35%,45.0% 31.67%,42.5% 31.92%,40.0% 31.98%,37.5% 31.81%,35.0% 31.53%,32.5% 31.31%,30.0% 31.36%,27.5% 31.84%,25.0% 32.81%,22.5% 34.20%,20.0% 35.82%,17.5% 37.41%,15.0% 38.68%,12.5% 39.41%,10.0% 39.52%,7.5% 39.03%,5.0% 38.11%,2.5% 37.00%,0.0% 35.95%); filter: blur(0.60px); }
  50% { clip-path: polygon(0% 0%,100% 0%,100.0% 47.85%,97.5% 48.23%,95.0% 48.36%,92.5% 48.38%,90.0% 48.49%,87.5% 48.90%,85.0% 49.70%,82.5% 50.91%,80.0% 52.37%,77.5% 53.84%,75.0% 55.04%,72.5% 55.71%,70.0% 55.70%,67.5% 55.00%,65.0% 53.76%,62.5% 52.22%,60.0% 50.68%,57.5% 49.40%,55.0% 48.53%,52.5% 48.09%,50.0% 47.98%,47.5% 48.01%,45.0% 47.97%,42.5% 47.72%,40.0% 47.21%,37.5% 46.53%,35.0% 45.87%,32.5% 45.47%,30.0% 45.55%,27.5% 46.23%,25.0% 47.49%,22.5% 49.19%,20.0% 51.04%,17.5% 52.75%,15.0% 54.03%,12.5% 54.71%,10.0% 54.77%,7.5% 54.32%,5.0% 53.58%,2.5% 52.78%,0.0% 52.15%); filter: blur(0.65px); }
  62% { clip-path: polygon(0% 0%,100% 0%,100.0% 63.20%,97.5% 63.06%,95.0% 62.83%,92.5% 62.68%,90.0% 62.82%,87.5% 63.40%,85.0% 64.45%,82.5% 65.89%,80.0% 67.51%,77.5% 69.03%,75.0% 70.18%,72.5% 70.76%,70.0% 70.71%,67.5% 70.08%,65.0% 69.05%,62.5% 67.89%,60.0% 66.82%,57.5% 66.02%,55.0% 65.54%,52.5% 65.33%,50.0% 65.22%,47.5% 65.03%,45.0% 64.61%,42.5% 63.90%,40.0% 62.94%,37.5% 61.92%,35.0% 61.06%,32.5% 60.60%,30.0% 60.73%,27.5% 61.47%,25.0% 62.76%,22.5% 64.37%,20.0% 66.03%,17.5% 67.46%,15.0% 68.46%,12.5% 68.96%,10.0% 68.99%,7.5% 68.72%,5.0% 68.34%,2.5% 68.07%,0.0% 68.00%); filter: blur(0.60px); }
  75% { clip-path: polygon(0% 0%,100% 0%,100.0% 80.42%,97.5% 79.95%,95.0% 79.52%,92.5% 79.32%,90.0% 79.48%,87.5% 80.06%,85.0% 81.05%,82.5% 82.29%,80.0% 83.60%,77.5% 84.74%,75.0% 85.55%,72.5% 85.92%,70.0% 85.86%,67.5% 85.46%,65.0% 84.90%,62.5% 84.33%,60.0% 83.90%,57.5% 83.67%,55.0% 83.59%,52.5% 83.57%,50.0% 83.45%,47.5% 83.10%,45.0% 82.47%,42.5% 81.58%,40.0% 80.54%,37.5% 79.54%,35.0% 78.77%,32.5% 78.42%,30.0% 78.55%,27.5% 79.16%,25.0% 80.12%,22.5% 81.24%,20.0% 82.31%,17.5% 83.16%,15.0% 83.71%,12.5% 83.96%,10.0% 83.99%,7.5% 83.96%,5.0% 84.00%,2.5% 84.20%,0.0% 84.58%); filter: blur(0.46px); }
  88% { clip-path: polygon(0% 0%,100% 0%,100.0% 98.24%,97.5% 97.84%,95.0% 97.53%,92.5% 97.41%,90.0% 97.52%,87.5% 97.88%,85.0% 98.43%,82.5% 99.08%,80.0% 99.72%,77.5% 100.00%,75.0% 100.00%,72.5% 100.00%,70.0% 100.00%,67.5% 100.00%,65.0% 100.00%,62.5% 100.00%,60.0% 100.00%,57.5% 100.00%,55.0% 100.00%,52.5% 100.00%,50.0% 100.00%,47.5% 100.00%,45.0% 99.72%,42.5% 99.12%,40.0% 98.48%,37.5% 97.91%,35.0% 97.51%,32.5% 97.34%,30.0% 97.43%,27.5% 97.73%,25.0% 98.15%,22.5% 98.61%,20.0% 99.01%,17.5% 99.29%,15.0% 99.44%,12.5% 99.51%,10.0% 99.55%,7.5% 99.65%,5.0% 99.85%,2.5% 100.00%,0.0% 100.00%); filter: blur(0.24px); }
  100% { clip-path: polygon(0% 0%,100% 0%,100.0% 100.00%,97.5% 100.00%,95.0% 100.00%,92.5% 100.00%,90.0% 100.00%,87.5% 100.00%,85.0% 100.00%,82.5% 100.00%,80.0% 100.00%,77.5% 100.00%,75.0% 100.00%,72.5% 100.00%,70.0% 100.00%,67.5% 100.00%,65.0% 100.00%,62.5% 100.00%,60.0% 100.00%,57.5% 100.00%,55.0% 100.00%,52.5% 100.00%,50.0% 100.00%,47.5% 100.00%,45.0% 100.00%,42.5% 100.00%,40.0% 100.00%,37.5% 100.00%,35.0% 100.00%,32.5% 100.00%,30.0% 100.00%,27.5% 100.00%,25.0% 100.00%,22.5% 100.00%,20.0% 100.00%,17.5% 100.00%,15.0% 100.00%,12.5% 100.00%,10.0% 100.00%,7.5% 100.00%,5.0% 100.00%,2.5% 100.00%,0.0% 100.00%); filter: blur(0.00px); }
}
.hero-carousel[data-moving="next"] .is-outgoing { animation: hero-out-next var(--pair-duration) ease both; }
.hero-carousel[data-moving="next"] .is-incoming { animation: hero-in-next var(--pair-duration) ease both; }
.hero-carousel[data-moving="previous"] .is-outgoing { animation: hero-out-previous var(--pair-duration) ease both; }
.hero-carousel[data-moving="previous"] .is-incoming { animation: hero-in-previous var(--pair-duration) ease both; }
@keyframes hero-out-next { to { transform: translateX(-100%); } }
@keyframes hero-in-next { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes hero-out-previous { to { transform: translateX(100%); } }
@keyframes hero-in-previous { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.hero-slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; display: none; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); background: rgb(248 248 240 / .94); cursor: pointer; }
.hero-slide-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-slide-arrow.previous { left: 12px; }
.hero-slide-arrow.next { right: 12px; }
.hero-carousel[data-enhanced] .hero-slide-arrow { display: inline-flex; }
.hero-slide-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; font-size: 11px; color: var(--muted); }
.workflow-visual { display: flex; align-items: center; gap: 18px; }
.process-icon { width: 56px; height: 56px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.workflow-overview .features article { position: relative; }
.workflow-arrow { position: absolute; right: -27px; top: 48px; color: var(--muted); font-size: 24px; }
.workflow-overview .features h3 { margin-top: 18px; }
.workflow-overview .features .text-link { font-size: 12px; margin-top: 20px; }
.mode-heading { display: flex; align-items: center; gap: 18px; }
.mode-heading .process-icon { width: 44px; height: 44px; }
.guide-option .process-icon { margin-top: 18px; width: 40px; height: 40px; }
.gallery-placeholder { padding: 35px; background: var(--green); border: 1px solid var(--line); }
.gallery-placeholder h3 { font-size: 23px; margin-bottom: 12px; }
.gallery-placeholder p { color: var(--muted); font-size: 14px; }
.converted-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.converted-gallery figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 1000px) { .hero-slide-stage { height: 370px; } }
@media (max-width: 760px) {
  .hero-slide-stage { height: auto; aspect-ratio: 1.4; }
  .hero-negative-placeholder { font-size: 19px; padding: 42px 55px; }
  .hero-slide-toolbar { font-size: 10px; }
  .hero-slide-arrow.previous { left: 7px; } .hero-slide-arrow.next { right: 7px; }
  .workflow-overview .features article { display: block; }
  .workflow-visual { gap: 20px; }
  .workflow-arrow { display: none; }
  .workflow-overview .features h3 { margin-block: 18px 10px; }
  .converted-gallery { grid-template-columns: 1fr; }
  .gallery-placeholder { padding: 25px; }
}
@media (max-width: 360px) { .hero-copy h1 { font-size: 46px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-slide-panel, .hero-positive-image { animation: none !important; }
}

.hero-photo .hero-slide-toolbar { margin-top: 18px; }
.hero-photo .hero-slide-toolbar span { display: block; }

/* Full-width, quiet color changes separate the overview's chapters. */
.hero-band { background: #f8f8f0; }
.workflow-band { background: #f0f3e8; }
.modes-section { background: #e3eadd; }
.guides-band { background: #f7f0df; }
.gallery-band { background: #edf1eb; }
.hero-slide-stage { isolation: isolate; contain: paint; }
.hero-carousel .hero-slide-toolbar { align-items: center; min-height: 0; }
.hero-carousel .photo-stamp { position: absolute; z-index: 6; left: -28px; bottom: 22px; width: 115px; height: 115px; transform: rotate(-13deg); pointer-events: none; color: var(--ink); background: var(--sun); }
.hero-carousel .photo-stamp .sun { width: 30px; height: 30px; margin-bottom: 4px; }
.hero-carousel .photo-stamp span { font-size: 16px; }
.process-icon { height: 42px; }
.workflow-visual .process-icon { width: 56px; height: 36px; }
.mode-heading .process-icon { width: 44px; height: 33px; }
.guide-option .process-icon { width: 44px; height: 33px; }
@media (max-width: 760px) {
  .hero-carousel .photo-stamp { left: -12px; bottom: 16px; width: 90px; height: 90px; }
  .hero-carousel .photo-stamp .sun { width: 25px; height: 25px; }
  .hero-carousel .photo-stamp span { font-size: 14px; }
  .hero-carousel .hero-slide-arrow { top: 27%; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Compact step groups and icons beside the guide titles. */
.workflow-visual { display: inline-flex; gap: 8px; }
.guide-option :is(h2, h3) { gap: 12px; }
.guide-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.guide-title > span { min-width: 0; }
.guide-option .guide-title .process-icon { margin-top: 0; width: 44px; height: 33px; }
.guide-arrow { flex-shrink: 0; }
.photo-frame { isolation: isolate; }
/* A site-native menu, large enough for touch and free of OS styling. */
.language-switch { position: relative; }
.language-button { display: none; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper); font-size: 12px; cursor: pointer; }
.js-enabled .language-button { display: inline-flex; }
.language-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .18s; }
.language-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.language-menu { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: 164px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 8px 24px rgb(38 59 48 / .12); }
.language-menu[hidden] { display: none; }
.language-menu a { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 4px; color: var(--ink); font-size: 13px; }
.language-menu a:hover, .language-menu a:focus { background: var(--green); }
.language-menu a:focus-visible { outline-offset: -2px; }
.language-check { font-size: 13px; }
.language-button:focus-visible, .hero-carousel:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.footer-contacts { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-contacts h2 { font-size: 18px; margin-bottom: 18px; }
.footer-contacts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; }
.footer-contacts dt { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.footer-contacts dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.footer-contacts a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .footer-contacts dl { grid-template-columns: 1fr; gap: 18px; } }

.footer-contacts dt { display: flex; align-items: center; gap: 8px; }
.contact-icon { width: 28px; height: 21px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; color: var(--ink); }
.footer-contacts dd { user-select: text; }

/* Small visual arrows within comfortable, discoverable 44px hit areas. */
.hero-slide-arrow { background: transparent; border: 0; color: var(--muted); }
.hero-slide-arrow::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgb(248 248 240 / .9); border: 1px solid var(--line); }
.hero-slide-arrow svg { position: relative; width: 16px; height: 16px; stroke-width: 1.5; }
.hero-slide-arrow:hover, .hero-slide-arrow:focus-visible { color: var(--ink); }
.hero-slide-arrow:hover::before, .hero-slide-arrow:focus-visible::before { background: var(--paper); border-color: var(--muted); }

/* Equal label metrics align the hero CTA text, including when the links wrap. */
.product-hero .actions > .text-link { display: inline-flex; align-items: center; font-size: 14px; line-height: 1.5; padding-block: 14px; border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }

.footer-top .footer-slogan { font: 16px/1.5 var(--sans); }
.footer-slogan em { font-family: var(--serif); font-style: italic; }

.guide-title .process-icon { overflow: visible; }
.guide-title .process-icon * { vector-effect: non-scaling-stroke; }

.treat-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.treat-tier { display: block; position: relative; cursor: pointer; }
.treat-tier input[type="radio"] { position: absolute; right: 16px; top: 16px; appearance: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--muted); border-radius: 50%; background: var(--paper); cursor: pointer; }
.treat-tier input[type="radio"]:checked { background: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); border-color: var(--ink); }
/* Radio focus is shown once on the tile; text-field focus stays on the field. */
.treat-tier input[type="radio"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@supports selector(:has(*)) { .treat-tier input[type="radio"]:focus-visible { outline: none; } }
.treat-tier:has(input:checked) { background: var(--sun); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.treat-tier:has(input[type="radio"]:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
.treat-tier:last-child:not(:has(input:checked)) { background: var(--green); }
.treat-label { display: block; font-size: 17px; line-height: 1.4; margin-top: 16px; }
.treat-tier .treat-amount { display: block; }
.treat-selection-summary { margin-top: 22px; font-size: 14px; }
.treat-payment:disabled { opacity: .65; cursor: not-allowed; }
.treat-payment:disabled:hover { background: var(--ink); transform: none; }
.treat-collection .treat-placeholder { margin-top: 16px; }
@media (max-width: 760px) { .treat-label { font-size: 15px; } }

.download-support-banner { display: flex; align-items: center; gap: 18px; margin-top: 20px; padding: 10px 14px 10px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--green); font-size: 13px; }
.download-support-banner[hidden] { display: none; }
.download-support-banner p { flex: 1; }
.download-support-banner a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.download-page-head:has(.download-support-banner:not([hidden])) .page-intro { padding-top: 42px; }
@media (max-width: 760px) { .download-support-banner { gap: 10px; padding-left: 14px; } }

.custom-tier-label { display: block; }
.custom-amount-control { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.custom-amount-control input { flex: 1; min-width: 0; width: 100%; min-height: 44px; padding: 8px; font: 17px/1.3 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--muted); border-radius: 3px; }
.custom-amount-control input:focus-visible { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: -1px; }
.custom-amount-error { font-size: 11px; line-height: 1.5; margin-top: 8px; color: var(--muted); }
.custom-amount-error { color: #823b2c; }
.custom-amount-error[hidden] { display: none; }

.treat-selection-summary { overflow-wrap: anywhere; }

/* Provider marks are unmodified local assets; the envelope is a neutral SVG. */
.footer-contact-links { display: flex; align-items: center; gap: 10px; }
.footer-contacts .footer-contact-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 5px; text-decoration: none; }
.footer-contact-link:hover, .footer-contact-link:focus-visible { background: var(--green); }
.contact-brand-icon { width: 28px; height: 28px; object-fit: contain; }
.contact-tooltip { display: none; position: absolute; z-index: 70; bottom: calc(100% + 9px); left: -6px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); font: 12px/1.5 var(--sans); white-space: nowrap; box-shadow: 0 5px 18px rgb(38 59 48 / .1); }
.contact-tooltip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.footer-contact-link:focus-visible:not([data-tooltip-dismissed]) .contact-tooltip { display: block; }
@media (hover: hover) { .footer-contact-link:hover:not([data-tooltip-dismissed]) .contact-tooltip { display: block; } }
.support-contacts { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.support-contacts > h2 { font-size: 30px; margin-bottom: 24px; }
.support-contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.support-contact-card { padding: 24px; background: var(--green); border: 1px solid var(--line); min-width: 0; }
.support-contact-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.support-contact-heading h3 { font-size: 20px; }
.support-contact-heading .contact-icon { width: 32px; height: 32px; }
.support-contact-card p { font-size: 14px; margin-bottom: 10px; }
.support-contact-card a { display: inline-block; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .support-contact-grid { grid-template-columns: 1fr; } }

/* Compact contacts follow the footer navigation in both languages. */
.footer-navigation { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-navigation .footer-contact-links { gap: 10px; margin: 0; padding: 0; border: 0; }
.footer-navigation .contact-tooltip { left: auto; right: 0; }
.contact-email-icon path { stroke: #f9faf5; }
.support-note .support-contact-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.support-note .support-contact-card { padding: 0; border: 0; background: transparent; }
.support-note .support-contact-heading { margin-bottom: 6px; gap: 10px; }
.support-note .support-contact-heading h3 { margin: 0; font-size: 17px; }
.support-note .support-contact-card a { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.overview-purpose { margin-bottom: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .footer-navigation { align-items: flex-start; gap: 14px; }
  .footer-navigation .contact-tooltip { right: auto; left: 0; }
  .footer-navigation .footer-contact-link:last-child .contact-tooltip { left: auto; right: 0; }
  .download-support-banner { align-items: flex-start; }
}

.scan-guide { max-width: 1060px; }
.scan-example { margin: 0; }
.scan-annotated { position: relative; }
.scan-annotated img { display: block; width: 100%; height: auto; border-radius: 6px; }
.scan-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scan-film-outline { fill: none; stroke: #efe18b; stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.scan-light-pointer { fill: none; stroke: #b6e4ed; stroke-width: 2; vector-effect: non-scaling-stroke; }
.scan-light-point { fill: #b6e4ed; }
.scan-label { position: absolute; padding: 4px 8px; border-radius: 4px; color: #233b30; background: #fffbed; border: 1px solid #d4d4bb; font: 600 14px/1.2 var(--sans); white-space: nowrap; }
.scan-label-1 { left: 51%; top: 52%; transform: translate(-50%,-50%); }
.scan-label-2 { left: 50%; top: 2%; transform: translateX(-50%); }
.scan-label-3 { left: 1%; top: 22%; background: #e3f4f7; }
.scan-example figcaption { margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.scan-area-key { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 26px; }
.scan-area-key h3 { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 12px; }
.scan-area-key h3 span { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; width: 26px; height: 26px; font-size: 12px; flex-shrink: 0; }
.scan-guide p { font-size: 15px; line-height: 1.7; }
.scan-guide .scan-preview-note { margin-top: 24px; font-size: 12px; color: var(--muted); }
.scan-guide-section { margin-block: 64px; }
.scan-guide-section h2 { font-size: clamp(28px,4vw,40px); line-height: 1.2; margin-bottom: 24px; letter-spacing: -.035em; }
.scan-capture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.scan-capture-grid article { padding: 26px; background: var(--green); border: 1px solid var(--line); }
.scan-capture-grid h3, .scan-manual-steps h3 { font-size: 21px; margin-bottom: 12px; }
.scan-analysis { padding: 30px; background: var(--sun); }
.scan-copy-demo { display: flex; flex-wrap: wrap; gap: 16px 28px; padding: 24px; margin-top: 24px; background: var(--green); border: 1px solid var(--line); font-size: 15px; }
.scan-copy-demo .eyebrow { flex-basis: 100%; font-size: 11px; }
.scan-copy-on { font-weight: 600; }
.scan-manual-steps { list-style: none; padding: 0; margin-top: 24px; }
.scan-manual-steps li { padding-block: 24px; border-bottom: 1px solid var(--line); }
.scan-guide .guide-tip { margin-block: 24px; }
.scan-guide-callout { background: var(--green); padding: 28px; margin-top: 28px; }
.scan-guide-callout h2 { font-size: 30px; margin-bottom: 14px; }
.scan-guide-callout p { margin-bottom: 18px; font-size: 15px; line-height: 1.6; }
.scan-related-link { margin-top: 16px; display: block; }
.scan-help-link { margin-top: 24px; }
@media (max-width: 760px) {
 .scan-label { font-size: 12px; padding: 2px 5px; }
 .scan-label-2 { top: 1%; }
 .scan-area-key, .scan-capture-grid { grid-template-columns: 1fr; gap: 20px; }
 .scan-guide-section { margin-block: 42px; }
 .scan-analysis, .scan-capture-grid article, .scan-guide-callout { padding: 22px; }
 .scan-guide p { font-size: 14px; }
}

/* A borderless blue envelope, with minimal internal padding and no enclosing badge. */
.contact-email-icon { width: 30px; height: 30px; }
.support-contact-heading .contact-email-icon { width: 34px; height: 34px; }
.contact-email-icon .email-envelope { fill: #3a9dd8; stroke: none; }
.contact-email-icon path { stroke: #fffbed; }

/* Real picture crops retain their native aspect; no scene is cropped by the hero. */
.hero-carousel[data-real-pairs="true"] .hero-slide-stage { height: auto; aspect-ratio: 3 / 2; background: var(--paper); }
.hero-carousel[data-real-pairs="true"] .hero-slide-stage img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
/* Transparent, borderless glass circles inside the unchanged 44px targets. */
.hero-slide-arrow { border: 0; color: #14281b; }
.hero-slide-arrow::before { border: 0; background: rgb(248 248 240 / .46); backdrop-filter: blur(8px) saturate(1.12); -webkit-backdrop-filter: blur(8px) saturate(1.12); box-shadow: 0 2px 8px rgb(0 0 0 / .07); }
.hero-slide-arrow:hover, .hero-slide-arrow:focus-visible { color: #122418; }
.hero-slide-arrow:hover::before, .hero-slide-arrow:focus-visible::before { background: rgb(248 248 240 / .64); border: 0; }
.hero-slide-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Invalid custom amounts use one red field edge; the explanation is screen-reader only. */
.custom-amount-control input[aria-invalid="true"] { border-color: #a33b2e; }
.custom-amount-control input[aria-invalid="true"]:focus-visible { border-color: #a33b2e; outline-color: #a33b2e; }
.custom-amount-error.sr-only { margin: 0; }

/* Equal card rows and aligned amount controls, including wrapped custom labels. */
.treat-menu { grid-auto-rows: 1fr; }
.treat-tier { display: flex; flex-direction: column; }
.treat-label { min-height: 2.8em; }
.treat-tier .treat-amount { display: flex; align-items: center; gap: .2em; min-height: 44px; }
.custom-amount-control { min-height: 44px; }

/* Scan preparation precedes the guides and Quick Start import flow. */
.scan-start-callout { padding: 20px; margin-bottom: 28px; background: var(--green); border: 1px solid var(--line); }
.scan-start-callout.wrap { margin-bottom: 32px; }
.scan-start-callout > div { display: grid; gap: 12px; justify-items: start; }
.scan-start-callout .eyebrow { margin: 0; }
.scan-start-callout h2 { font-size: 30px; line-height: 1.2; margin: 0; letter-spacing: -.035em; text-wrap: balance; }
.scan-start-callout p:not(.eyebrow) { font-size: 15px; line-height: 1.65; margin: 0; max-width: 650px; }
@media (max-width: 760px) {
 .scan-start-callout { padding: 18px; }
 .scan-start-callout h2 { font-size: 28px; }
 .scan-start-callout p:not(.eyebrow) { font-size: 14px; }
}

.scan-start-callout, .treat-section { scroll-margin-top: 115px; }
@media (max-width: 760px) { .scan-start-callout, .treat-section { scroll-margin-top: 160px; } }

/* Payment groups select a complete, independent currency price profile. */
.payment-currency-fieldset { display: none; margin: 28px 0 0; padding: 0; border: 0; }
.js-enabled .payment-currency-fieldset { display: block; }
.payment-currency-fieldset legend { font-size: 13px; margin-bottom: 12px; color: var(--muted); }
.payment-currency-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-width: 620px; }
.payment-currency-option { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; line-height: 1.5; cursor: pointer; }
.payment-currency-option input { flex-shrink: 0; appearance: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--muted); border-radius: 50%; background: var(--paper); }
.payment-currency-option input:checked { background: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); border-color: var(--ink); }
.payment-currency-option:has(input:checked) { background: var(--sun); border-color: var(--ink); }
.payment-currency-option input:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@supports selector(:has(*)) { .payment-currency-option input:focus-visible { outline: none; } }
.payment-currency-option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (max-width: 760px) { .payment-currency-option { padding: 12px; font-size: 12px; gap: 8px; } }


/* Efficient workflow: reuse the existing guide typography and reading column. */
.efficiency-cache-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:28px 0}
.efficiency-cache-types article{padding:20px;background:var(--green);border:1px solid var(--line)}
.efficiency-cache-types h3{font-size:17px;margin:0 0 12px}
.efficiency-cache-types p{font-size:14px;line-height:1.65;margin:0}
.efficiency-estimate{margin:28px 0;padding:28px;background:var(--sun);border:1px solid var(--line)}
.efficiency-estimate h3{font-size:26px;margin:12px 0 24px}
.efficiency-estimate dl{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0}
.efficiency-estimate dl div:last-child{grid-column:1/-1;padding-top:20px;border-top:1px solid var(--line)}
.efficiency-estimate dt{font-size:13px;color:var(--muted)}
.efficiency-estimate dd{font-size:25px;margin:8px 0 0;font-variant-numeric:tabular-nums}
.efficiency-estimate dl div:last-child dd{font-size:40px}
.efficiency-estimate figcaption{font-size:13px;line-height:1.65;margin-top:20px;max-width:60ch}
.efficiency-file-pair{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:20px;background:var(--green);margin:24px 0;font-size:15px}
.efficiency-file-pair code{overflow-wrap:anywhere}
.efficiency-cleanup{padding-left:24px;margin:24px 0}.efficiency-cleanup li{padding-left:6px;margin:16px 0;line-height:1.8}
.efficiency-find-files{margin-top:32px}.efficiency-find-files h3{font-size:22px}
.workflow-efficiency-link{padding:28px;background:var(--green);margin-top:36px}.workflow-efficiency-link h2{font-size:26px;margin-top:0}
@media(max-width:700px){.efficiency-cache-types{grid-template-columns:1fr}.efficiency-cache-types article{padding:18px}.efficiency-estimate{padding:22px 18px}.efficiency-estimate h3{font-size:23px}.efficiency-file-pair{gap:10px;padding:16px;font-size:13px}.workflow-efficiency-link{padding:22px}}

.efficiency-estimate .eyebrow{font-size:11px}.efficiency-estimate dl{max-width:100%}
.efficiency-cache-types article p{font-size:14px;margin:0}.workflow-efficiency-link p{margin:12px 0 20px;color:var(--muted);font-size:15px}
