:root {
  color-scheme: light;
  --ink: #191b17;
  --muted: #747b86;
  --paper: #fbfcf7;
  --white: #fff;
  --coral: #b5d83d;
  --coral-dark: #657c19;
  --line: #e7ebdc;
  --surface: #fff;
  --surface-soft: #fbfcf7;
  --surface-tint: #f0f4e5;
  --border: #e7ebdc;
  --text-soft: #747b86;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.site-header, main, .site-footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7ebdc; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -1px; }
.brand-logo { display: block; width: 186px; height: auto; mix-blend-mode: multiply; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; color: var(--coral); }
.brand-mark svg { width: 31px; height: 31px; }
.main-nav { display: flex; align-items: center; gap: 34px; height: 100%; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.theme-toggle { width: 48px; height: 28px; display: inline-grid; place-items: center; flex: 0 0 auto; padding: 2px; border: 1px solid #dce5c8; border-radius: 999px; background: transparent; cursor: pointer; transition: border-color .2s; }
.theme-toggle:hover { border-color: #b5d83d; }
.theme-toggle:focus-visible { outline: 3px solid #91b52670; outline-offset: 2px; }
.theme-toggle-track { position: relative; display: block; width: 100%; height: 100%; border: 1px solid #e0e8d0; border-radius: inherit; background: #eaf0da; transition: background .25s, border-color .25s; }
.theme-toggle-knob { position: absolute; top: 50%; left: 2px; display: grid; width: 20px; height: 20px; place-items: center; overflow: hidden; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #18200a30; transform: translateY(-50%); transition: transform .38s cubic-bezier(.2, .8, .2, 1), background-color .25s; }
.theme-toggle-icon { position: absolute; width: 13px; height: 13px; fill: none; stroke: #a17818; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: opacity .22s ease, transform .38s cubic-bezier(.2, .8, .2, 1); }
.theme-toggle-icon-sun { opacity: 1; transform: rotate(0) scale(1); }
.theme-toggle-icon-moon { opacity: 0; transform: rotate(-55deg) scale(.55); }
.nav-link { height: 100%; display: grid; align-items: center; color: #777d87; font-size: 13px; font-weight: 600; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--coral); border-radius: 3px 3px 0 0; }
.header-cta { border: 1px solid #e8e5df; padding: 10px 15px; border-radius: 8px; font-size: 12px; font-weight: 700; transition: background .2s, border-color .2s; }
.header-cta:hover { background: #f4f7eb; border-color: #d2dbbb; }
.header-cta span { color: var(--coral); margin-left: 5px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 458px; align-items: center; gap: 60px; padding-block: 51px 47px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #8b8d91; font-size: 9px; letter-spacing: 1.5px; font-weight: 700; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-dark); box-shadow: 0 0 0 4px #edf4d7; }
h1, h2, p { margin-top: 0; }
h1 { font-family: var(--font-display); font-size: clamp(43px, 5vw, 58px); line-height: 1.09; letter-spacing: -3.1px; margin: 20px 0 15px; font-weight: 800; }
.accent-text { color: #657c19; position: relative; white-space: nowrap; }
.accent-text::after { content: ""; position: absolute; z-index: -1; height: 13px; left: 2px; right: -4px; bottom: 1px; background: #e5f0bd; transform: rotate(-1.8deg); }
.hero-description { color: #747b86; max-width: 440px; font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.primary-button { border: 0; background: var(--coral); color: #1a2010; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 13px 17px; min-height: 46px; border-radius: 8px; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.primary-button:hover:not(:disabled) { background: #c5e95a; transform: translateY(-1px); box-shadow: 0 7px 16px #91b52635; }
.button-arrow { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #ffffff34; font-size: 14px; }
.privacy-note { color: #999da2; margin-top: 17px; font-size: 10px; display: flex; align-items: center; gap: 7px; }
.lock-icon { color: #72a890; font-size: 15px; line-height: 1; }
.hero-art { position: relative; height: 345px; max-width: 490px; width: 100%; justify-self: end; display: grid; place-items: center; overflow: hidden; border: 1px solid #e7ebdc; border-radius: 28px 28px 28px 8px; background: #f0f4e5; }
.hero-art::before { content: ""; position: absolute; width: 270px; height: 270px; border-radius: 50%; background: #e3ecc7; top: 44px; right: 79px; }
.art-orbit { position: absolute; border: 1px solid #dce5c2; border-radius: 50%; }
.orbit-one { width: 350px; height: 350px; }
.orbit-two { width: 420px; height: 420px; }
.document { position: absolute; width: 178px; height: 236px; padding: 24px 21px; border-radius: 8px 8px 8px 3px; box-shadow: 0 17px 36px #252c171c; }
.document-back { z-index: 1; background: #d7ee8a; transform: translate(-38px, 7px) rotate(-11deg); padding-top: 23px; }
.document-front { z-index: 2; background: #fffefa; transform: translate(34px, 3px) rotate(8deg); padding-top: 23px; }
.doc-label { color: #637c20; font-size: 8px; font-weight: 800; letter-spacing: 1.5px; }
.doc-line { width: 100%; height: 4px; display: block; border-radius: 4px; background: #e7e3dd; margin-top: 11px; }
.doc-line.line-long { width: 85%; margin-top: 20px; }
.doc-line.line-short { width: 58%; }
.doc-scribble { display: block; width: 92px; height: 38px; margin-top: 23px; border-bottom: 2px solid #dcad5e; border-radius: 50%; transform: rotate(-8deg); }
.pdf-badge { width: 34px; height: 20px; border-radius: 4px 4px 4px 1px; display: grid; place-items: center; color: #e8f6b8; background: #191b17; font-size: 8px; font-weight: 800; letter-spacing: .5px; }
.doc-title { display: block; font: 800 18px/1.25 var(--font-display); letter-spacing: -.7px; margin-top: 14px; }
.document-front .doc-line.line-long { margin-top: 14px; }
.doc-stamp { display: inline-block; margin-top: 20px; padding: 5px 7px; border: 1px solid #8da92e; color: #526d12; border-radius: 4px; font-size: 7px; font-weight: 800; letter-spacing: .7px; transform: rotate(-5deg); }
.floating-chip { position: absolute; z-index: 3; right: 24px; bottom: 43px; border: 1px solid #ece9e1; border-radius: 8px; background: #fff; padding: 10px 13px; box-shadow: 0 7px 20px #51473614; color: #555d68; font-size: 10px; font-weight: 600; }
.chip-check { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #17200c; background: #c1e84a; margin-right: 6px; font-size: 10px; }
.dino-sticker { position: absolute; z-index: 4; top: 20px; right: 20px; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid #d5e6a2; border-radius: 17px 17px 17px 5px; background: #d8ef8c; box-shadow: 0 7px 18px #252c171c; transform: rotate(7deg); }
.dino-sticker img { width: 36px; height: 36px; object-fit: contain; mix-blend-mode: multiply; }
.spark { position: absolute; z-index: 2; color: var(--coral); }
.spark-one { top: 53px; left: 92px; font-size: 23px; }
.spark-two { top: 98px; right: 62px; color: #d9a748; font-size: 19px; }
.hero-caption { position: absolute; z-index: 3; left: 24px; bottom: 24px; color: #637044; font: 700 10px var(--font-display); letter-spacing: .3px; }
.tools-section { padding: 43px 0 66px; border-top: 1px solid #e7ebdc; scroll-margin-top: 22px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-eyebrow { color: #9a9b9d; font-size: 9px; letter-spacing: 1.35px; }
h2 { font-family: var(--font-display); font-size: 28px; line-height: 1.2; letter-spacing: -1.2px; margin: 9px 0 7px; }
.section-description { color: #858a92; font-size: 12px; margin-bottom: 0; }
.search-box { display: flex; align-items: center; gap: 9px; width: 229px; height: 39px; padding: 0 10px; border: 1px solid #eae8e2; background: #fff; border-radius: 7px; color: #9499a1; }
.search-icon { font-size: 21px; line-height: 1; transform: rotate(-20deg); }
.search-box input { width: 100%; min-width: 0; outline: 0; border: 0; color: var(--ink); background: transparent; font-size: 11px; }
.search-box input::placeholder { color: #a1a4aa; }
.search-box:focus-within { border-color: #a9c83a; box-shadow: 0 0 0 3px #b5d83d2b; }
kbd { font: 10px var(--font-body); color: #a0a2a5; border: 1px solid #eae8e4; border-radius: 3px; padding: 1px 5px; }
.tool-filters { display: flex; gap: 8px; margin: 23px 0 17px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.tool-filters::-webkit-scrollbar { display: none; }
.filter-chip { min-height: 40px; flex: 0 0 auto; scroll-snap-align: start; border: 1px solid transparent; border-radius: 20px; padding: 8px 12px; color: #838791; background: transparent; cursor: pointer; font-size: 10px; font-weight: 600; }
.filter-chip:hover { background: #fff; }
.filter-chip.selected { color: var(--ink); background: #fff; border-color: #eae8e2; box-shadow: 0 2px 4px #29231608; }
.filter-chip span { margin-left: 5px; color: #a1a4aa; font-size: 9px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.tool-card-shell { position: relative; min-width: 0; }
.tool-card-shell[hidden] { display: none; }
.tool-card { position: relative; width: 100%; min-width: 0; min-height: 93px; padding: 15px 35px 15px 13px; display: flex; align-items: center; gap: 11px; border: 1px solid #eeece6; border-radius: 9px; background: #fff; text-align: left; cursor: pointer; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
.tool-card[hidden] { display: none; }
[hidden] { display: none !important; }
.tool-card:hover { transform: translateY(-2px); border-color: #d4dfb8; box-shadow: 0 8px 18px #3e4b2014; }
.tool-favorite { position: absolute; z-index: 2; top: 8px; right: 8px; width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: #929a82; background: transparent; cursor: pointer; font-size: 17px; line-height: 1; }
.tool-favorite:hover, .tool-favorite[aria-pressed="true"] { color: #718d20; background: #f1f6e4; }
.tool-favorite:focus-visible { outline: 2px solid #91b52685; outline-offset: 1px; }
.tools-note { margin: 16px 0 0; color: #858a92; font-size: 10px; line-height: 1.6; }
.tools-note span { margin-right: 4px; color: #d8a84f; }
.tool-card:focus-visible, .filter-chip:focus-visible, .primary-button:focus-visible, .header-cta:focus-visible, .nav-link:focus-visible { outline: 3px solid #91b52685; outline-offset: 2px; }
.tool-icon { flex: 0 0 43px; width: 43px; height: 43px; display: grid; place-items: center; border-radius: 10px; }
.tool-icon svg { width: 26px; height: 26px; fill: none; stroke: #5a606a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-coral { background: #edf5d7; }
.icon-lavender { background: #edf0e5; }
.icon-yellow { background: #f3f5e8; }
.icon-mint { background: #e5efd1; }
.icon-blue { background: #e9eee1; }
.icon-peach { background: #f0f2e9; }
.icon-pink { background: #ecefe5; }
.icon-gray { background: #eef0ea; }
.tool-card-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 5px; }
.tool-name { overflow: hidden; color: #303641; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 700; }
.tool-description { overflow: hidden; color: #90949b; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.tool-arrow { position: absolute; right: 12px; bottom: 9px; color: #b2b4b7; font-size: 13px; }
.coming-soon { align-self: flex-start; margin-top: 3px; color: #a7a8aa; font-size: 7px; letter-spacing: .7px; font-weight: 700; }
.upcoming-card:hover { cursor: default; }
.upcoming-card:hover .coming-soon { color: var(--coral); }
.empty-state { padding: 30px; text-align: center; color: var(--muted); font-size: 13px; }
.promise-section { display: flex; align-items: center; justify-content: space-between; gap: 44px; margin: 0 0 69px; padding: 30px 36px; border: 1px solid #e4e9d7; border-radius: 13px; background: #f0f4e5; scroll-margin-top: 30px; }
.promise-heading { display: flex; align-items: center; gap: 16px; flex: 1; }
.promise-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 11px 11px 11px 4px; background: #d7ee8a; color: #334414; font-size: 22px; }
.promise-heading h2 { margin-bottom: 0; font-size: 23px; }
.promise-details { max-width: 480px; }
.promise-details > p { color: #747b86; font-size: 11px; line-height: 1.7; margin-bottom: 16px; }
.promise-points { display: flex; align-items: center; gap: 19px; color: #626975; font-size: 9px; font-weight: 600; }
.promise-points span { white-space: nowrap; }
.promise-points b { color: var(--coral); margin-right: 4px; font-size: 8px; }
.sponsors-section { margin: 0 0 64px; padding: 30px; border: 1px solid #e4e9d7; border-radius: 13px; background: #fff; scroll-margin-top: 24px; }
.sponsors-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.sponsors-heading h2 { font-size: 25px; }
.sponsors-heading .section-description { line-height: 1.6; }
.sponsor-label, .sponsor-slot-label { color: #9a8176; font-size: 8px; letter-spacing: 1px; font-weight: 700; }
.sponsor-label { flex: 0 0 auto; padding: 8px 10px; border-radius: 20px; background: #edf5d7; color: #657a2a; }
.sponsor-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; }
.sponsor-card { min-height: 154px; padding: 18px; border: 1px dashed #dfe5d2; border-radius: 10px 10px 10px 4px; background: #fbfcf7; }
.sponsor-featured { position: relative; overflow: hidden; border-style: solid; border-color: #d9e6b0; background: #f4f8e8; }
.sponsor-featured:hover { border-color: #aacb42; box-shadow: 0 8px 18px #3e4b2014; }
.sponsor-featured:focus-visible { outline: 3px solid #91b52685; outline-offset: 3px; }
.sponsor-featured::after { content: ""; position: absolute; right: -23px; top: -35px; width: 115px; height: 115px; border-radius: 50%; background: #e5efc8; }
.sponsor-logo { position: absolute; top: 35px; right: 25px; z-index: 1; width: 82px; height: 72px; border-radius: 7px; object-fit: contain; background: #111; }
.sponsor-card h3 { margin: 15px 0 5px; color: #303641; font: 700 15px var(--font-display); letter-spacing: -.4px; }
.sponsor-card p { max-width: 290px; min-height: 32px; margin-bottom: 10px; color: #858a92; font-size: 10px; line-height: 1.6; }
.sponsor-link-hint { color: #526d12; font-size: 9px; font-weight: 700; }
.sponsor-link-hint span { margin-left: 3px; }
.site-footer { min-height: 72px; border-top: 1px solid #eeede8; display: flex; align-items: center; justify-content: space-between; color: #96999e; font-size: 9px; }
.footer-links { display: flex; align-items: center; gap: 14px; }
.footer-links a { color: #777d87; }
.footer-links a:hover { color: var(--coral-dark); }
.footer-links a:focus-visible, .back-link:focus-visible { outline: 3px solid #91b52685; outline-offset: 3px; border-radius: 2px; }
.footer-brand { color: var(--ink); gap: 6px; font-size: 15px; }
.footer-brand .brand-logo { width: 154px; }
.footer-heart { color: #8eaa2c; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.document-page { min-height: 100vh; display: flex; flex-direction: column; }
.document-main { width: min(760px, calc(100% - 64px)); max-width: 760px; flex: 1; padding: 48px 0 72px; }
.back-link { display: inline-block; margin-bottom: 30px; color: #818690; font-size: 11px; font-weight: 600; }
.back-link:hover { color: var(--coral-dark); }
.document-title { margin: 10px 0 8px; font-family: var(--font-display); font-size: clamp(38px, 7vw, 52px); line-height: 1.1; letter-spacing: -2px; }
.document-updated { margin-bottom: 28px; color: #9a9da3; font-size: 10px; }
.document-main > p:not(.document-updated) { color: #656c76; font-size: 13px; line-height: 1.85; }
.document-main h2 { margin: 30px 0 8px; font-size: 19px; letter-spacing: -.5px; }
.document-main a:not(.back-link):not(.primary-button) { color: #526d12; text-decoration: underline; text-underline-offset: 3px; }
.document-footer { width: min(1120px, calc(100% - 64px)); }
.contact-main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 420px; }
.contact-main .back-link { margin-bottom: 30px; }
.contact-main .document-title { margin-bottom: 14px; }
.contact-email[hidden] { display: none; }
.contact-not-configured { padding: 14px 16px; border: 1px solid #d9e6b0; border-radius: 8px; background: #f4f8e8; }
.contact-not-configured code { color: #718d20; font-size: .9em; }
.contact-small { margin-top: 19px; color: #999da3 !important; font-size: 10px !important; }
.not-found-main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 55vh; }
.not-found-main .primary-button { margin-top: 8px; }

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eff0f3;
  --muted: #a7acb6;
  --paper: #171a20;
  --white: #22262e;
  --surface: #22262e;
  --surface-soft: #1e2229;
  --surface-tint: #242730;
  --border: #343944;
  --line: #343944;
  --text-soft: #b1b6c0;
  --coral: #c5e95a;
  --coral-dark: #d8f28b;
}

html[data-theme="dark"] body { color: var(--ink); background: var(--paper); }
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .tools-section { border-color: var(--border); }
html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .back-link,
html[data-theme="dark"] .footer-links a { color: #b1b6c0; }
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active { color: var(--ink); }
html[data-theme="dark"] .header-cta,
html[data-theme="dark"] .theme-toggle { border-color: #48523b; }
html[data-theme="dark"] .header-cta:hover,
html[data-theme="dark"] .theme-toggle:hover { border-color: #718d2b; }
html[data-theme="dark"] .theme-toggle-track { border-color: #455063; background: #2b3341; }
html[data-theme="dark"] .theme-toggle-knob { transform: translate(18px, -50%); background: #c5e95a; }
html[data-theme="dark"] .theme-toggle-icon-sun { opacity: 0; transform: rotate(55deg) scale(.55); }
html[data-theme="dark"] .theme-toggle-icon-moon { opacity: 1; transform: rotate(0) scale(1); stroke: #34431b; }
html[data-theme="dark"] .accent-text::after { background: #384622; }
html[data-theme="dark"] .hero-description,
html[data-theme="dark"] .section-description,
html[data-theme="dark"] .promise-details > p,
html[data-theme="dark"] .document-main > p:not(.document-updated) { color: #b1b6c0; }
html[data-theme="dark"] .privacy-note,
html[data-theme="dark"] .section-eyebrow,
html[data-theme="dark"] .document-updated { color: #9da3ad; }
html[data-theme="dark"] .brand-logo { filter: invert(1); mix-blend-mode: screen; }
html[data-theme="dark"] .dino-sticker img { filter: invert(1); mix-blend-mode: screen; }
html[data-theme="dark"] .hero-art { border-color: #3d4630; background: #22271d; }
html[data-theme="dark"] .hero-art::before { background: #343d25; }
html[data-theme="dark"] .art-orbit { border-color: #475334; }
html[data-theme="dark"] .document-front { color: #282a2d; background: #f7f3ec; }
html[data-theme="dark"] .document-back { color: #30391d; background: #d7ee8a; }
html[data-theme="dark"] .floating-chip { color: #e2e4e9; border-color: #444a55; background: #262a32; }
html[data-theme="dark"] .hero-caption { color: #c2b9ab; }
html[data-theme="dark"] .search-box,
html[data-theme="dark"] .tool-card,
html[data-theme="dark"] .filter-chip.selected,
html[data-theme="dark"] .promise-icon,
html[data-theme="dark"] .sponsor-card:not(.sponsor-featured) { color: var(--ink); border-color: var(--border); background: var(--surface); }
html[data-theme="dark"] .search-box input { color: var(--ink); }
html[data-theme="dark"] .search-box input::placeholder,
html[data-theme="dark"] .tool-description { color: #a4aab4; }
html[data-theme="dark"] .filter-chip { color: #bdc1c9; }
html[data-theme="dark"] .filter-chip:hover { background: #282d35; }
html[data-theme="dark"] .filter-chip.selected { box-shadow: 0 2px 4px #0003; }
html[data-theme="dark"] .tool-name,
html[data-theme="dark"] .sponsor-card h3 { color: #eceef2; }
html[data-theme="dark"] .tool-favorite { color: #a7ae9b; }
html[data-theme="dark"] .tool-favorite:hover,
html[data-theme="dark"] .tool-favorite[aria-pressed="true"] { color: #d8f28b; background: #333d25; }
html[data-theme="dark"] .tools-note { color: #aeb4be; }
html[data-theme="dark"] .promise-section { border-color: var(--border); background: var(--surface-tint); }
html[data-theme="dark"] .sponsors-section { border-color: var(--border); background: #1d2128; }
html[data-theme="dark"] .sponsor-featured { border-color: #53652d; background: #252b1e; }
html[data-theme="dark"] .sponsor-featured::after { background: #394626; }
html[data-theme="dark"] .sponsor-card { border-color: #444a55; }
html[data-theme="dark"] .sponsor-label { color: #d8f28b; background: #333d25; }
html[data-theme="dark"] .tool-dialog { color: var(--ink); border-color: var(--border); background: #22262e; }
html[data-theme="dark"] .dialog-close { color: #e2e4e9; background: #343944; }
html[data-theme="dark"] .dialog-description,
html[data-theme="dark"] .option-help { color: #b1b6c0; }
html[data-theme="dark"] .drop-zone { border-color: #4a505d; background: #1c2027; }
html[data-theme="dark"] .drop-zone:hover,
html[data-theme="dark"] .drop-zone.dragging { border-color: var(--coral); background: #2c3320; }
html[data-theme="dark"] .drop-zone strong,
html[data-theme="dark"] .option-label { color: #e0e3e8; }
html[data-theme="dark"] .drop-hint,
html[data-theme="dark"] .file-row-size { color: #a4aab4; }
html[data-theme="dark"] .file-row { color: #d6d9df; border-color: var(--border); background: #262a32; }
html[data-theme="dark"] .option-input,
html[data-theme="dark"] .option-select { color: var(--ink); border-color: #454b57; background: #1b1f26; }
html[data-theme="dark"] .option-select option { color: var(--ink); background: #1b1f26; }
html[data-theme="dark"] .status-message { color: #c1c5cd; }
html[data-theme="dark"] .process-button:disabled { color: #9da3ad; background: #373c45; }
html[data-theme="dark"] .document-main h2 { color: #f0f1f4; }
html[data-theme="dark"] .document-main a:not(.back-link):not(.primary-button) { color: #d8f28b; }
html[data-theme="dark"] .document-main a:not(.back-link):not(.primary-button) { color: #d8f28b; }
html[data-theme="dark"] .contact-not-configured { border-color: #53652d; background: #252b1e; }
html[data-theme="dark"] .contact-small { color: #a4aab4 !important; }
html[data-theme="dark"] kbd { color: #bdc1c9; border-color: #454b57; background: #252a32; }
html[data-theme="dark"] .doc-line { background: #d8d1c6; }

html.theme-transition,
html.theme-transition body,
html.theme-transition body *:not(.theme-toggle-track):not(.theme-toggle-knob) {
  transition-property: color, background-color, border-color, box-shadow, fill, stroke, transform, opacity;
  transition-duration: 560ms;
  transition-timing-function: ease;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle-track,
  .theme-toggle-knob,
  .theme-toggle-icon { transition: none; }
  html.theme-transition,
  html.theme-transition body,
  html.theme-transition body * { transition-duration: 0s; }
}

.tool-dialog { width: min(480px, calc(100% - 32px)); max-height: min(760px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #eeece6; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 24px 80px #20263330; }
.tool-dialog::backdrop { background: #20263370; backdrop-filter: blur(3px); }
.dialog-close-form { position: sticky; top: 12px; z-index: 3; height: 0; display: flex; justify-content: flex-end; padding: 12px 12px 0; }
.dialog-close { width: 31px; height: 31px; border: 0; border-radius: 50%; background: #f3f2ee; color: #6f747b; cursor: pointer; font-size: 22px; line-height: 1; }
.dialog-content { padding: 27px 32px 28px; }
.dialog-tool-icon { margin-bottom: 17px; }
.dialog-content h2 { font-size: 25px; margin: 7px 0 6px; }
.dialog-description { margin-bottom: 20px; color: #7d838b; font-size: 12px; line-height: 1.6; }
.drop-zone { min-height: 135px; border: 1px dashed #d5ddc3; border-radius: 10px; background: #fbfcf7; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop-zone:hover, .drop-zone.dragging { border-color: var(--coral-dark); background: #f2f7e4; }
.upload-icon { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 8px 8px 8px 3px; color: #293515; background: #d9ee95; font-size: 20px; }
.drop-zone strong { color: #454b55; font-size: 11px; }
.drop-zone strong span { color: #526d12; text-decoration: underline; text-underline-offset: 2px; }
.drop-hint { margin-top: 6px; color: #9a9da3; font-size: 9px; }
.file-list { display: grid; gap: 7px; margin-top: 10px; }
.batch-option { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 11px 12px; border: 1px solid #e7ebdc; border-radius: 8px; background: #f7f9f1; cursor: pointer; }
.batch-option input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: #91b526; }
.batch-option > span { display: grid; gap: 3px; }
.batch-option strong { color: #394222; font-size: 11px; }
.batch-option small { color: #777d87; font-size: 10px; line-height: 1.5; }
html[data-theme="dark"] .batch-option { border-color: var(--border); background: #252b1e; }
html[data-theme="dark"] .batch-option strong { color: #d8f28b; }
html[data-theme="dark"] .batch-option small { color: #b1b6c0; }
.file-row { min-width: 0; display: flex; align-items: center; gap: 9px; border: 1px solid #eeece7; border-radius: 7px; padding: 8px 10px; color: #545b65; font-size: 10px; }
.file-row-icon { flex: 0 0 auto; width: 23px; height: 25px; display: grid; place-items: center; border-radius: 4px 4px 4px 1px; background: #edf5d7; color: #526d12; font-size: 7px; font-weight: 800; }
.file-row-name { overflow: hidden; flex: 1; text-overflow: ellipsis; white-space: nowrap; }
.file-row-size { flex: 0 0 auto; color: #9a9da3; font-size: 9px; }
.tool-options { margin-top: 14px; }
.option-label { display: block; margin-bottom: 7px; color: #666d76; font-size: 10px; font-weight: 700; }
.option-label.option-spaced { margin-top: 12px; }
.page-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); gap: 10px; margin-top: 12px; }
.page-preview-card { position: relative; min-width: 0; padding: 7px; border: 1px solid #e7ebdc; border-radius: 8px; background: #f7f9f1; cursor: grab; touch-action: pan-y; }
.page-preview-card:active { cursor: grabbing; }
.page-preview-card.is-dragging { opacity: .45; }
.page-preview-image { display: block; width: 100%; height: 128px; object-fit: contain; border-radius: 4px; background: #fff; }
.page-preview-number { position: absolute; top: 11px; left: 11px; display: grid; min-width: 21px; height: 21px; place-items: center; padding-inline: 4px; border-radius: 5px; color: #fff; background: #191b17dc; font-size: 10px; font-weight: 700; }
.page-preview-controls { display: flex; justify-content: center; gap: 8px; padding-top: 6px; }
.page-preview-move { display: grid; width: 34px; min-height: 34px; place-items: center; border: 1px solid #dce5c8; border-radius: 6px; color: #394222; background: #fff; cursor: pointer; font-size: 16px; }
.page-preview-move:hover:not(:disabled) { border-color: #a9c83a; background: #edf5d7; }
.page-preview-move:focus-visible { outline: 3px solid #91b52670; outline-offset: 2px; }
.page-preview-move:disabled { color: #b6b9b0; cursor: not-allowed; }
.page-order-summary { margin: 10px 0 0; color: #666d76; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
html[data-theme="dark"] .page-preview-card { border-color: var(--border); background: #252a32; }
html[data-theme="dark"] .page-preview-image { background: #fff; }
html[data-theme="dark"] .page-preview-move { border-color: #454b57; color: #d8f28b; background: #1b1f26; }
html[data-theme="dark"] .page-preview-move:hover:not(:disabled) { border-color: #8cae28; background: #303a20; }
html[data-theme="dark"] .page-preview-move:disabled,
html[data-theme="dark"] .page-order-summary { color: #aeb4be; }
.option-input, .option-select { width: 100%; height: 38px; padding: 0 10px; border: 1px solid #e8e6e0; border-radius: 7px; outline: 0; color: var(--ink); background: #fff; font-size: 11px; }
.form-checkbox { width: 20px; height: 20px; margin: 0 0 10px; accent-color: var(--coral); }
.option-textarea { height: auto; min-height: 112px; padding: 10px; resize: vertical; line-height: 1.5; }
.option-input:focus, .option-select:focus { border-color: #a9c83a; box-shadow: 0 0 0 3px #b5d83d2b; }
.option-help { margin: 6px 0 0; color: #92969d; font-size: 9px; line-height: 1.5; }
.process-button { width: 100%; justify-content: space-between; margin-top: 16px; }
.process-button:disabled { color: #aaa; background: #efefed; box-shadow: none; cursor: not-allowed; transform: none; }
.status-message { min-height: 16px; margin: 9px 0 0; text-align: center; color: #727982; font-size: 10px; }
.status-message.error { color: #c74f44; }
.status-message.success { color: #42835f; }
.result-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }
.result-link { color: #df604b; font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.dialog-privacy { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 9px 0 0; color: #a0a3a7; font-size: 9px; }
.dialog-privacy span { color: #70a58a; font-size: 14px; }

@media (max-width: 900px) {
  .site-header, main, .site-footer { width: min(100% - 44px, 720px); }
  .hero { gap: 25px; }
  .hero-art { height: 310px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise-section { align-items: flex-start; flex-direction: column; gap: 21px; }
  .promise-details { max-width: 100%; }
  .sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-featured { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 28px; padding-block: 42px 38px; }
  .hero-copy { max-width: 620px; }
  .hero-art { justify-self: center; width: min(100%, 560px); height: clamp(290px, 42vw, 350px); }
  .hero-art::before { right: calc(50% - 135px); }
  .spark-one { left: calc(50% - 165px); }
  .spark-two { right: calc(50% - 205px); }
}
@media (max-width: 600px) {
  .site-header, main, .site-footer { width: calc(100% - 36px); }
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 42px 44px; height: auto; padding-top: max(6px, env(safe-area-inset-top)); }
  .site-header > .brand { grid-column: 1; grid-row: 1; width: max-content; font-size: 18px; }
  .site-header > .brand .brand-logo { width: 154px; }
  .brand-mark, .brand-mark svg { width: 27px; height: 27px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; gap: 8px; width: 100%; height: 44px; }
  .nav-link { min-height: 44px; font-size: 11px; }
  .header-cta { grid-column: 2; grid-row: 1; justify-self: end; min-height: 36px; padding: 8px 10px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; padding-block: 43px 36px; gap: 28px; }
  h1 { font-size: clamp(39px, 11vw, 54px); letter-spacing: -2.7px; }
  .hero-description { max-width: 420px; font-size: 13px; }
  .hero-art { justify-self: center; width: 100%; height: 290px; }
  .hero-art::before { right: calc(50% - 132px); top: 22px; }
  .document { transform-origin: center; }
  .document-back { transform: translate(-30px, 5px) rotate(-11deg); }
  .document-front { transform: translate(27px, 2px) rotate(8deg); }
  .spark-one { left: 35px; }
  .spark-two { right: 32px; }
  .tools-section { padding-top: 35px; }
  .section-top { align-items: stretch; flex-direction: column; gap: 17px; }
  .section-top h2 { font-size: 25px; }
  .search-box { width: 100%; }
  .tool-filters { margin-top: 17px; }
  .tool-card { gap: 9px; min-height: 84px; padding: 11px 35px 11px 9px; }
  .tool-icon { flex-basis: 37px; width: 37px; height: 37px; }
  .tool-icon svg { width: 23px; height: 23px; }
  .tool-name { font-size: 10px; }
  .tool-description { font-size: 8px; }
  .coming-soon { font-size: 6px; }
  .promise-section { padding: 23px 18px; margin-bottom: 42px; }
  .sponsors-section { padding: 22px 16px; margin-bottom: 42px; }
  .sponsors-heading { flex-direction: column; gap: 12px; }
  .sponsors-heading h2 { font-size: 22px; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-featured { grid-column: auto; }
  .sponsor-card { min-height: 140px; }
  .promise-heading { gap: 12px; }
  .promise-heading h2 { font-size: 20px; }
  .promise-points { align-items: flex-start; flex-direction: column; gap: 9px; }
  .site-footer { min-height: 90px; gap: 8px; flex-wrap: wrap; padding-block: 17px; }
  .site-footer > span { font-size: 8px; }
  .footer-brand { flex-basis: 100%; }
  .footer-brand .brand-logo { width: 142px; }
  .footer-links { gap: 10px; font-size: 8px; }
  .document-main { width: calc(100% - 36px); padding: 34px 0 50px; }
  .document-footer { width: calc(100% - 36px); }
  .document-title { letter-spacing: -1.5px; }
  .dialog-content { padding: 26px 20px 22px; }
  .tool-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius: 12px; }
  .tool-filters { margin-inline: -1px; padding-bottom: 2px; }
}
@media (max-width: 370px) {
  .site-header, main, .site-footer { width: calc(100% - 28px); }
  .main-nav { gap: 6px; }
  .nav-link { font-size: 10px; }
  .header-cta { padding-inline: 7px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 72px; }
  .hero-art { height: 270px; }
  .floating-chip { right: 10px; bottom: 36px; padding: 8px; }
  .hero-caption { left: 13px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
