/* Site layout, tools, themes and responsive styles. Each rule keeps related settings together. */
@import url(https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;650;700;750;800&family=Space+Grotesk:wght@500;600;700&display=swap);
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--paper); font-family: Manrope,Arial,sans-serif;
  font-size: 14px; line-height: 1.6;
}
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg {
  width: 20px; height: 20px; display: inline-block;
  vertical-align: middle; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
button { border: 0; }
button:disabled { opacity: .55; cursor: wait; }
a:focus-visible, button:focus-visible { outline: 3px solid #78b6a0; outline-offset: 4px; }
input:focus, textarea:focus, select:focus { outline: 2px solid #93c8ac; outline-offset: 1px; }
.skip {
  position: fixed; left: 20px; top: -100px;
  z-index: 100; padding: 12px;
}
.skip:focus { top: 10px; }
.header {
  border-bottom: 1px solid var(--line); position: sticky; top: 0;
  z-index: 30;
}
.header-inner {
  margin: auto; padding: 0 40px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex; align-items: center; font-family: 'Space Grotesk',Manrope,sans-serif;
  font-weight: 700; color: var(--ink);
}
.top-nav {
  display: flex; align-items: center; gap: 32px;
  font-size: 13px; font-weight: 650;
}
.top-nav a { transition: color .2s; }
.nav-tools span {
  margin-left: 5px; padding: 2px 6px; border-radius: 5px;
  font-size: 10px;
}
.header-actions { display: flex; align-items: center; }
.icon-button {
  background: transparent; display: grid; place-items: center;
  width: 35px; height: 35px; border-radius: 50%;
  color: var(--ink);
}
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; border: 1px solid var(--line); color: var(--ink);
  padding: 13px 21px; font-weight: 700; font-size: 13px;
  transition: transform .2s,background .2s,box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button.green { background: var(--lime); border-color: var(--lime); }
.button.small { padding: 10px 16px; font-size: 12px; }
.button svg { width: 17px; height: 17px; }
.page-width { margin: auto; padding: 0 40px; }
.hero {
  position: relative; text-align: center; padding: 62px 20px 43px;
  overflow: hidden;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  border-radius: 100px; font-weight: 750;
}
.status-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%;
}
.hero h1 { color: var(--ink); }
.hero h1 em { position: relative; }
.search {
  position: relative; display: flex; align-items: center;
  background: #fff; border: 1px solid #dce4d8; border-radius: 12px;
  box-shadow: 0 6px 15px #1c3d3404; gap: 12px; padding: 0 18px;
  height: 57px;
}
.search>svg { flex: none; }
.search input {
  border: 0; background: transparent; width: 100%;
  height: 100%; outline: none!important; color: var(--ink);
}
.search kbd {
  font: 11px Manrope; border: 1px solid var(--line); padding: 2px 6px;
  border-radius: 4px; white-space: nowrap;
}
.hero-trust { display: flex; align-items: center; }
.hero-trust span { display: flex; gap: 6px; align-items: center; }
.hero-trust svg { width: 13px; height: 13px; }
.feature-banner {
  position: relative; display: grid; grid-template-columns: 1.2fr 1fr;
  background: #183f35; color: #fff; overflow: hidden;
}
.feature-banner:after {
  content: ''; position: absolute; width: 470px;
  height: 470px; border: 1px solid #ffffff0b; border-radius: 50%;
  right: -85px; top: -110px;
}
.feature-copy { z-index: 2; }
.feature-label {
  display: flex; align-items: center; gap: 7px;
  text-transform: uppercase; font-size: 9px; font-weight: 750;
}
.feature-copy h2 { line-height: 1.24; margin: 13px 0 11px; }
.feature-copy p { margin: 0 0 20px; max-width: 370px; }
.feature-copy .button { padding: 10px 17px; font-size: 11px; }
.feature-art { position: relative; min-height: 195px; z-index: 2; }
.art-file {
  position: absolute; color: var(--ink); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  width: 127px; height: 156px; left: 15%;
  top: 8px; transform: rotate(-10deg); animation: float 8s ease-in-out infinite;
}
.art-file .file-icon {
  display: grid; place-items: center; width: 46px;
  height: 51px; border-radius: 8px; margin-bottom: 12px;
}
.art-file .file-icon svg { width: 27px; height: 27px; }
.art-file b { font-size: 11px; }
.art-file small { font-size: 9px; margin-top: 3px; }
.art-file.after {
  left: 53%; top: 24px; transform: rotate(10deg);
  animation-delay: -4s;
}
.art-arrow {
  position: absolute; left: 44%; top: 72px;
  z-index: 3;
}
.art-arrow svg { width: 30px; height: 30px; }
.art-chip {
  position: absolute; left: 40%; bottom: 0;
  font-weight: 800; font-size: 10px; border-radius: 30px;
  padding: 7px 13px; z-index: 5;
}
.ad-slot {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; min-height: 85px;
  border: 1px dashed #dfe4d9; margin: 0 0 38px; font-size: 10px;
  gap: 5px; letter-spacing: 1.2px;
}
.ad-slot small { font-size: 9px; letter-spacing: 0; }
.section-heading {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: 0 0 23px;
}
.section-kicker { text-transform: uppercase; font-weight: 750; margin-bottom: 6px; }
.section-heading h2 { line-height: 1.3; margin: 0; }
.section-heading p { font-size: 12px; margin: 6px 0 0; }
.section-heading .count { font-size: 11px; padding-bottom: 4px; }
.catalog-layout { display: grid; }
.category-nav { display: flex; flex-direction: column; gap: 4px; }
.category-button {
  background: transparent; display: flex; align-items: center;
  gap: 11px; text-align: left; font-weight: 650;
}
.category-button svg { width: 16px; height: 16px; flex: none; }
.category-button span:last-child { margin-left: auto; font-size: 10px; }
.category-divider { height: 1px; background: var(--line); margin: 13px 5px; }
.sidebar-note {
  margin-top: 20px; border: 1px solid var(--line); padding: 15px;
  font-size: 10px; line-height: 1.8;
}
.sidebar-note b { display: block; font-size: 11px; margin: 6px 0; }
.catalog-main { min-width: 0; }
.catalog-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 15px; font-size: 10px;
}
.catalog-toolbar>span { display: flex; gap: 6px; align-items: center; }
.catalog-toolbar svg { height: 13px; width: 13px; }
.sort-control {
  border: 0; background: transparent; font-size: 10px;
  max-width: 165px;
}
.tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.tool-card { background: #fff; border: 1px solid var(--line); animation: reveal .4s ease both; }
.tool-card a { display: block; }
.tool-card a:after {
  content: ''; position: absolute; inset: 0;
  border-radius: 12px;
}
.card-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; gap: 6px;
}
.tool-icon {
  width: 39px; height: 39px; display: grid;
  place-items: center; flex: none;
}
.tool-icon svg { width: 21px; height: 21px; }
.badge { font-weight: 700; border-radius: 5px; padding: 3px 6px; }
.favorite {
  position: relative; z-index: 2; background: transparent;
  border-radius: 4px; padding: 4px; display: grid;
  place-items: center; margin-left: auto;
}
.favorite svg { width: 15px; height: 15px; }
.tool-card h3 { font-weight: 800; margin: 0 0 7px; letter-spacing: -.15px; }
.tool-card p { margin: 0; padding-right: 8px; }
.card-bottom {
  border-top: 1px solid #f0f2ed; margin-top: 14px; padding-top: 11px;
  display: flex; justify-content: space-between;
}
.card-bottom svg { width: 14px; height: 14px; }
.load-more { display: flex; justify-content: center; margin: 25px 0 0; }
.load-more .button { font-size: 11px; }
.empty-state { text-align: center; padding: 60px 10px; grid-column: 1/-1; }
.empty-state svg { width: 35px; height: 35px; }
.empty-state h3 { color: var(--ink); }
.how { padding: 40px 0 50px; }
.how-head { text-align: center; margin-bottom: 30px; }
.how-head h2 { font-size: 25px; letter-spacing: -.8px; margin: 5px 0; }
.how-head p { font-size: 12px; }
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; }
.how-item { display: flex; align-items: flex-start; gap: 15px; }
.how-number {
  width: 38px; height: 38px; display: grid;
  place-items: center; border: 1px solid #e2e9d6; border-radius: 11px;
  font: 600 16px 'Space Grotesk',sans-serif; flex: none;
}
.how-item h3 { font-size: 12px; margin: 0 0 5px; }
.how-item p { font-size: 11px; line-height: 1.9; margin: 0; }
.bottom-banner {
  background: #eef3e7; border: 1px solid #e2e9d8; display: flex;
  align-items: center; justify-content: space-between; padding: 25px 30px;
  margin: 0 0 55px; gap: 20px;
}
.bottom-banner h3 { font-size: 16px; letter-spacing: -.4px; margin: 0 0 4px; }
.bottom-banner p { font-size: 11px; margin: 0; }
.bottom-banner .icon-box {
  width: 43px; height: 43px; display: grid;
  place-items: center; border-radius: 12px;
}
.bottom-banner>div { display: flex; align-items: center; gap: 17px; }
.footer {
  border-top: 1px solid var(--line); max-width: 1200px; margin: auto;
  padding: 34px 0 20px;
}
.footer .brand { font-size: 25px; }
.footer p { line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid var(--line); display: flex; justify-content: space-between;
  font-size: 9px; margin-top: 27px; padding-top: 18px;
}
.footer-bottom svg { width: 12px; height: 12px; margin-left: 5px; }
.tool-page { margin: auto; padding: 32px 35px 50px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; margin-bottom: 25px; flex-wrap: wrap;
}
.breadcrumb svg { width: 12px; height: 12px; }
.tool-title {
  display: flex; gap: 17px; align-items: center;
  margin-bottom: 28px;
}
.tool-title .tool-icon { width: 60px; height: 60px; border-radius: 17px; }
.tool-title .tool-icon svg { width: 29px; height: 29px; }
.tool-title h1 { margin: 0 0 5px; }
.tool-title p { font-size: 12px; margin: 0; }
.tool-workspace { background: #fff; box-shadow: var(--shadow); margin-bottom: 22px; }
.workspace-header {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); margin-bottom: 23px; font-size: 12px;
  font-weight: 700;
}
.local-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 500;
}
.local-label svg { width: 13px; height: 13px; }
label.field {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 11px; font-weight: 700; margin-bottom: 17px;
}
.field input, .field select, .field textarea {
  border: 1px solid #dfe5d9; padding: 11px 12px; width: 100%;
  color: var(--ink); font-size: 13px; min-height: 44px;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
.field input[type=range] { padding: 4px 0; accent-color: var(--green); }
.field input[type=checkbox] { width: 16px; min-height: 16px; accent-color: var(--green); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.button-row {
  display: flex; gap: 9px; flex-wrap: wrap;
  margin: 12px 0 0;
}
.check-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin: 10px 0 20px; font-size: 12px;
}
.check-row label { display: flex; gap: 6px; align-items: center; }
.check-row input { accent-color: var(--green); }
.hint { font-size: 11px; line-height: 1.9; margin: 7px 0 17px; }
.result {
  border: 1px solid #dce9d2; border-radius: 10px; padding: 20px;
  margin-top: 22px; word-break: break-word;
}
.result:empty { display: none; }
.result pre {
  font: 12px/1.8 ui-monospace,monospace; white-space: pre-wrap; margin: 8px 0;
  max-height: 460px; overflow: auto;
}
.result-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px; font-size: 11px;
}
.result-head .button { font-size: 10px; padding: 6px 11px; }
.result .big {
  font: 600 clamp(25px,4vw,48px) 'Space Grotesk',Manrope,sans-serif; letter-spacing: -1px;
}
.result.error { background: #fff3ee; font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.stat { padding: 20px 10px; border-radius: 10px; text-align: center; }
.stat b { display: block; font: 600 30px 'Space Grotesk',sans-serif; margin-bottom: 4px; }
.stat span { font-size: 10px; }
.upload {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; border: 2px dashed #cedcc2;
  border-radius: 12px; padding: 35px 20px; cursor: pointer;
  transition: background .2s; position: relative;
}
.upload svg { width: 33px; height: 33px; margin-bottom: 15px; }
.upload b { font-size: 13px; margin-bottom: 5px; }
.upload span { font-size: 10px; }
.upload input {
  position: absolute; inset: 0; width: 100%;
  height: 100%; opacity: 0; cursor: pointer;
}
.file-list { margin: 15px 0; font-size: 11px; }
.file-item {
  display: flex; gap: 10px; align-items: center;
  padding: 9px 10px; margin-bottom: 5px; border-radius: 7px;
}
.file-item span:first-child {
  flex: 1; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.file-item button { background: transparent; padding: 3px 6px; }
.image-preview {
  max-height: 290px; max-width: 100%; display: block;
  margin: 20px auto; border-radius: 8px;
  background: repeating-conic-gradient(#eee 0% 25%,#fff 0% 50%)50%/16px 16px;
}
.download-list { display: flex; flex-wrap: wrap; gap: 10px; }
.progress { font-size: 12px; margin-top: 13px; }
.tool-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tool-info h2 { margin: 0 0 8px; }
.tool-info p, .tool-info li { font-size: 11px; line-height: 1.95; }
.tool-info ol { padding-left: 18px; }
.related-heading { margin: 25px 0 18px; }
.wheel-container {
  position: relative; width: 250px; height: 250px;
  margin: 10px auto 25px;
}
.wheel {
  width: 250px; height: 250px; border-radius: 50%;
  background: conic-gradient(#cce5a9 0deg 60deg,#214f40 60deg 120deg,#e4c598 120deg 180deg,#93bda8 180deg 240deg,#d9dcbb 240deg 300deg,#789968 300deg);
  border: 7px solid #fff; box-shadow: 0 0 0 1px #dce7d3,0 8px 24px #264e3a1a;
  transition: transform 3.5s cubic-bezier(.15,.8,.2,1);
}
.wheel-pointer {
  position: absolute; top: -7px; left: calc(50% - 10px);
  width: 0; height: 0; border-left: 10px solid transparent;
  border-right: 10px solid transparent; border-top: 24px solid #163e31; z-index: 2;
}
.wheel-center {
  position: absolute; inset: calc(50% - 24px); width: 48px;
  height: 48px; border-radius: 50%; display: grid;
  place-items: center;
}
.wheel-label {
  position: absolute; left: 50%; top: 50%;
  font-size: 10px; font-weight: 700; max-width: 75px;
  color: white; text-shadow: 0 1px 3px #0008; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.timer { text-align: center; padding: 20px 0; }
.timer-display {
  font: 600 clamp(60px,10vw,100px) 'Space Grotesk',sans-serif; letter-spacing: -5px; margin: 20px 0;
  color: var(--ink);
}
.timer .button-row { justify-content: center; }
.timer-status { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; }
.flashcard {
  width: 100%; border: 1px solid #dce6cf; min-height: 210px;
  padding: 35px; border-radius: 12px; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px; transition: background .3s,transform .3s;
}
.flashcard.flipped { transform: rotate(-.5deg); }
.flashcard small { font-size: 10px; }
.quiz-question { padding: 17px 0; border-bottom: 1px solid var(--line); }
.quiz-question h3 { font-size: 14px; }
.quiz-option {
  display: block; padding: 9px 12px; border-radius: 7px;
  margin: 5px 0; font-size: 12px;
}
.quiz-option input { accent-color: var(--green); margin-right: 8px; }
.strength-meter {
  height: 7px; background: #e5e9df; border-radius: 10px;
  margin: 15px 0; overflow: hidden;
}
.strength-meter span {
  height: 100%; display: block; transition: width .3s;
  background: #749c5a;
}
.prose { max-width: 780px; margin: auto; padding: 55px 30px 70px; }
.prose h1 { font-size: 35px; letter-spacing: -1.5px; }
.prose h2 { font-size: 20px; margin-top: 30px; }
.prose p, .prose li { font-size: 13px; line-height: 1.95; }
.prose .eyebrow { margin-top: 10px; }
#toast {
  position: fixed; bottom: 25px; left: 50%;
  transform: translate(-50%,20px); opacity: 0; pointer-events: none;
  border-radius: 10px; padding: 12px 21px; font-size: 12px;
  z-index: 100; transition: all .25s; max-width: 90%;
  text-align: center;
}
#toast.visible { opacity: 1; transform: translate(-50%,0); }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media(min-width:1450px) {
  .hero { padding-top: 75px; padding-bottom: 55px; }
}
@media(max-width:1050px) {
  .header-inner, .page-width { padding-left: 25px; padding-right: 25px; }
  .footer { margin: 0 25px; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-art { scale: .9; }
}
@media(max-width:740px) {
  .header-inner, .page-width { padding-left: 18px; padding-right: 18px; }
  .top-nav { display: none; }
  .header-actions .button { font-size: 10px; padding: 9px 12px; }
  .hero { padding: 42px 0 30px; }
  .search kbd { display: none; }
  .hero .search { margin-top: 23px; }
  .feature-banner { grid-template-columns: 1fr; }
  .feature-art { position: absolute; transform-origin: center right; opacity: .9; }
  .feature-art .art-chip { left: 33%; }
  .feature-banner:after { right: -270px; }
  .feature-label { font-size: 8px; }
  .feature-copy .button { font-size: 10px; }
  .ad-slot { min-height: 75px; margin-bottom: 30px; }
  .section-heading .count { font-size: 9px; }
  .section-heading p { font-size: 10px; }
  .category-nav {
    flex-direction: row; overflow: auto; margin: 0 -18px 20px;
    padding: 0 18px 8px; gap: 6px; scrollbar-width: thin;
  }
  .category-button { white-space: nowrap; border: 1px solid var(--line); background: white; }
  .category-button span:last-child { display: none; }
  .category-divider, .sidebar-note { display: none; }
  .tool-icon { width: 34px; height: 34px; }
  .badge { padding: 2px 4px; }
  .card-top { gap: 3px; }
  .favorite { padding: 2px; }
  .favorite svg { width: 13px; }
  .how { padding: 30px 0; }
  .how-grid { grid-template-columns: 1fr; gap: 23px; padding: 0 10px; }
  .how-head h2 { font-size: 23px; }
  .bottom-banner {
    padding: 20px; flex-direction: column; align-items: flex-start;
    margin-bottom: 35px;
  }
  .bottom-banner .button { align-self: stretch; }
  .bottom-banner h3 { font-size: 14px; }
  .footer { margin: 0 18px; }
  .footer-bottom { font-size: 8px; }
  .footer-bottom>span:last-child { max-width: 120px; text-align: right; }
  .tool-page { padding: 25px 18px 35px; }
  .tool-title { gap: 12px; }
  .tool-title .tool-icon { flex: none; }
  .workspace-header { font-size: 11px; }
  .local-label { font-size: 8px; max-width: 130px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .tool-info { grid-template-columns: 1fr; gap: 15px; }
  .button { padding: 11px 15px; font-size: 11px; }
  .check-row { gap: 12px; font-size: 10px; }
  .prose h1 { font-size: 28px; }
}
.card-bottom { font-size: 10px; }
.category-button { font-size: 12px; }
.footer p { font-size: 11px; }
.feature-copy p { font-size: 13px; }
@media(max-width:740px) {
  .feature-copy { max-width: 65%; }
  .feature-art {
    right: 0; top: 35px; width: 260px;
    scale: .72;
  }
  .card-bottom { font-size: 9px; }
  .category-button { font-size: 11px; }
  .feature-copy p { font-size: 11px; }
  .section-heading .count { max-width: 92px; text-align: right; }
  .section-heading { gap: 15px; }
}
@media(max-width:480px) {
  .feature-copy { max-width: 100%; }
  .feature-art {
    position: relative; min-height: 155px; height: 155px;
    top: auto; right: auto; width: 100%;
    scale: .82; margin: 5px 0 -5px;
  }
  .art-file { height: 132px; width: 110px; left: 14%; }
  .art-file.after { left: 55%; top: 14px; }
  .art-arrow { left: 45%; top: 58px; }
  .art-chip { bottom: -3px!important; }
}
@media(prefers-reduced-motion:reduce) {
  *, *:before, *:after {
    animation: none!important; transition: none!important; scroll-behavior: auto!important;
  }
}
:root { --line: #e6f0ec; }
body { background: linear-gradient(180deg,#fff 80px,#f8fcfa 1000px,#fff 100%); }
::selection { background: #defaed; }
.header { border-color: #ebf3ef; }
.brand { gap: 7px; letter-spacing: -1.4px; }
.brand-dot { color: var(--blue); }
.brand-symbol {
  position: relative; display: block; overflow: hidden;
  flex: none;
}
.brand-symbol img {
  position: absolute; max-width: none; left: -10px;
  top: -4px;
}
.top-nav a:hover { color: var(--blue); }
.nav-tools span { background: #f0f8f4; }
.button { border-color: #e1eee8; }
.button.dark { background: var(--blue); border-color: var(--blue); }
.icon-button:hover { background: #effdf7; color: var(--blue); }
.brand-hero {
  display: grid; grid-template-columns: 1.3fr 1fr; text-align: left;
  overflow: visible;
}
.hero-content { position: relative; z-index: 2; min-width: 0; }
.eyebrow {
  background: #effdf7; border: 1px solid #e2f8ee; font-size: 9px;
  letter-spacing: 1.2px; padding: 7px 12px;
}
.hero h1 { font-weight: 800; margin: 25px 0 21px; }
.hero p { margin: 0; }
.hero .search { margin: 28px 0 20px; max-width: 560px; border: 1px solid #dfeee7; }
.search input { font-size: 12px; }
.search kbd { background: #f6faf8; border-color: #e8f1ed; }
.hero-trust { justify-content: flex-start; gap: 22px; font-size: 10px; }
.hero-visual {
  position: relative; isolation: isolate; display: flex;
  align-items: center; justify-content: center;
}
.hero-visual:before {
  content: ''; position: absolute; z-index: -2;
  pointer-events: none;
}
.visual-orbit {
  position: absolute; border: 1px solid #e3f7ee; border-radius: 50%;
  z-index: -1; transform: rotate(-30deg);
}
.orbit-two { border-color: #e7f6ef; }
.floating-tool {
  position: absolute; display: flex; align-items: center;
  gap: 9px; background: #fff; border: 1px solid #e6f3ed;
  font-weight: 650; animation: float 6s ease-in-out infinite;
}
.floating-tool svg { width: 22px; height: 22px; }
.float-code { transform: rotate(7deg); }
.float-image { transform: rotate(-8deg); animation-delay: -3s; }
.visual-pill {
  position: absolute; padding: 10px 15px; border-radius: 30px;
  font-weight: 600; box-shadow: 0 7px 18px #26554018;
}
.visual-pill svg { width: 13px; height: 13px; margin-right: 4px; }
.visual-dot {
  position: absolute; border-radius: 50%; width: 7px;
  height: 7px;
}
.dot-one { top: 37px; left: 9%; }
.dot-two {
  right: 0; bottom: 102px; width: 5px;
  height: 5px;
}
.feature-banner {
  background: radial-gradient(ellipse at 75% 50%,#226446 0%,transparent 65%),#162f24;
  border: 1px solid #234d3a; padding: 36px 42px; min-height: 265px;
}
.feature-label { letter-spacing: 1.6px; }
.feature-copy h2 { letter-spacing: -1.2px; }
.art-chip { box-shadow: 0 4px 15px #0003; }
.ad-slot { background: #f5f9f7; border-color: #e3ede9; border-radius: 12px; }
.category-button { padding: 13px; }
.category-button:hover { background: #effbf6; }
.category-button.active { background: #ebfcf4; }
.sidebar-note { background: #f3fbf7; border-color: #e6f4ee; border-radius: 12px; }
.tool-grid { gap: 16px; }
.tool-card { border-color: #e7f0ec; }
.tool-card:hover { border-color: #b0f0d3; }
.card-bottom { border-color: #eef6f2; }
.tool-card:hover .card-bottom { color: var(--blue); }
.tool-icon { border-radius: 11px; }
.favorite.saved svg { fill: #e5fbf1; }
.how-number { border-color: #e1faef; }
.bottom-banner { background: linear-gradient(110deg,#effdf7,#f6fefa); border-color: #e4f7ee; }
.footer { border-color: #e9f3ef; }
.footer-bottom { border-color: #e9f3ef; }
.tool-workspace { border-color: #e5f2ec; }
.field input, .field select, .field textarea { border-color: #e1f0e9; }
.result { border-color: #dff7ec; background: #f4fdf9; }
.upload { background: #f5fdf9; }
.upload:hover, .upload.dragging { background: #ecfcf5; }
.file-item { background: #f4fbf8; }
.prose { position: relative; }
#toast { box-shadow: 0 6px 30px #205c4122; }
@keyframes orbit-spin {
  to { transform: rotate(330deg); }
}
@media(min-width:1450px) {
  .hero h1 { font-size: 65px; }
}
@media(max-width:1050px) {
  .brand-hero { grid-template-columns: 1.2fr 1fr; }
  .hero-visual { transform: scale(.88); transform-origin: center; }
  .hero-trust { gap: 14px; font-size: 9px; }
  .hero .search { max-width: 100%; }
}
@media(max-width:820px) {
  .brand-hero { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto; }
  .hero .search { margin: 27px auto 20px; max-width: 570px; }
  .hero-trust { justify-content: center; font-size: 10px; }
  .hero-visual {
    max-width: 400px; width: 100%; margin: auto;
    transform: scale(.9); transform-origin: center;
  }
}
@media(max-width:740px) {
  .brand-symbol img { left: -8px; top: -3px; }
  .header-inner { gap: 12px; }
  .feature-banner { padding: 27px; min-height: 240px; }
  .category-button { padding: 10px 13px; }
  .tool-grid { gap: 11px; }
  .hero-trust { gap: 16px; }
  .footer .brand { font-size: 25px; }
}
@media(max-width:480px) {
  .hero h1 { font-size: 44px; margin: 20px 0 17px; }
  .eyebrow { font-size: 8px; letter-spacing: .9px; }
  .hero .search { margin-top: 23px; }
  .search input { font-size: 11px; }
  .hero-trust { font-size: 8px; gap: 13px; }
  .hero-visual { transform: scale(.86); width: 100%; }
  .floating-tool svg { width: 18px; height: 18px; }
  .visual-pill { padding: 9px 13px; }
  .feature-banner { padding-bottom: 15px; }
  .section-heading .count { font-size: 8px; }
  .header-actions .button { padding: 9px 10px; }
  .header-actions .icon-button { width: 29px; }
}
@media(prefers-reduced-motion:reduce) {
  .orbit-two, .floating-tool { animation: none!important; }
}
:root {
  color-scheme: dark; --ink: #f4f6f5; --text: #d5deda;
  --muted: #95a49d; --green: #58ca92; --lime: #58ca92;
  --line: #ffffff13; --paper: #0a0f0d; --white: #121a16;
  --blue: #58ca92; --shadow: 0 15px 40px #0003;
}
body { background: #0a0f0d; isolation: isolate; }
body:before {
  content: ''; position: fixed; inset: 0;
  pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 88% 9%,#22674721,transparent 38%),radial-gradient(ellipse at 3% 60%,#17412e16,transparent 40%);
}
::selection { background: #58ca9250; color: #fff; }
.ambient-canvas {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
}
.header { background: #0a0f0db8; backdrop-filter: blur(20px); border-color: #ffffff10; }
.brand { color: #f6f5fa; }
.brand-dot { color: #58ca92; }
.brand-symbol { mix-blend-mode: normal; width: 45px; height: 39px; }
.brand-symbol img {
  width: 100%; height: 100%; inset: 0;
  object-fit: contain;
}
.top-nav a { color: #a0aea8; }
.top-nav a:hover { color: #fff; }
.nav-tools span { background: #ffffff0a; color: #99a8a1; }
.icon-button { color: #96a59e; }
.icon-button:hover { background: #58ca9213; color: #72dfaf; }
.button {
  background: #1b231f; border-color: #ffffff14; color: #e1eae6;
  border-radius: 10px;
}
.button.dark {
  background: #18794f; border-color: #238358; color: #fff;
  box-shadow: 0 4px 23px #50d59a20;
}
.button.dark:hover { background: #1d8156; box-shadow: 0 6px 28px #50d59a3a; }
.button.green { background: #18794f; border-color: #238358; color: #fff; }
.button.green:hover { background: #66dca8; }
.button:hover { border-color: #6ddeac55; box-shadow: 0 7px 20px #0003; }
a:focus-visible, button:focus-visible { outline-color: #84e3b9; }
input:focus, textarea:focus, select:focus { outline-color: #84e3b9; }
.skip { background: #1b231f; color: white; }
.eyebrow { color: #98e8c4; background: #44c38b10; border-color: #23835829; }
.status-dot { background: #58ca92; box-shadow: 0 0 0 4px #58ca9212; }
.hero h1 { color: #f5f4f8; }
.hero h1 em { color: #72dcab; }
.hero p { color: #91a39b; }
.hero .search { background: #161f1bb8; border-color: #ffffff14; }
.search input { color: #f1f6f4; }
.search input::placeholder { color: #758a81; }
.search>svg { color: #778880; }
.search kbd { background: #ffffff05; border-color: #ffffff0b; color: #6b7f76; }
.hero-trust { color: #82948c; }
.hero-trust svg { color: #71cba1; }
.hero-visual:before { background: radial-gradient(ellipse,#48c88f10,transparent 65%); }
.particle-logo {
  position: absolute; inset: 0; width: 100%;
  height: 100%; pointer-events: none;
}
.hero-logo-fallback {
  position: absolute; left: 18%; top: 15%;
  width: 64%; height: 68%; object-fit: contain;
  opacity: .9;
}
.particles-ready .hero-logo-fallback { display: none; }
.floating-tool {
  background: #131c18d9; border-color: #ffffff0e; color: #a8b6b0;
  backdrop-filter: blur(12px); box-shadow: 0 8px 25px #0002; z-index: 2;
}
.floating-tool svg { color: #7be1b4; }
.visual-pill {
  background: #141b18; border: 1px solid #58ca9225; color: #a9d2c0;
  z-index: 2;
}
.visual-pill svg { color: #79e1b3; }
.visual-dot { background: #58ca92; }
.dot-two { background: #558d74; }
.particle-caption {
  position: absolute; bottom: 37px; left: 0;
  right: 0; text-align: center; font: 9px Manrope,sans-serif;
  text-transform: uppercase; letter-spacing: 2px; color: #5b7b6d;
  pointer-events: none;
}
.feature-banner {
  background: radial-gradient(ellipse at 82% 30%,#25543f24,transparent 60%),#121a16e8;
  border-color: #ffffff12; box-shadow: 0 12px 35px #0002;
}
.feature-banner:after {
  border-color: #58ca920c; box-shadow: 0 0 0 52px #58ca9203,0 0 0 104px #58ca9202;
}
.feature-label { color: #83d7b2; }
.feature-copy h2 { color: #f2f0f8; }
.feature-copy p { color: #8c9c95; }
.art-file {
  background: #222b27; border: 1px solid #ffffff13; color: #c8d7d0;
  box-shadow: 0 12px 35px #0005;
}
.art-file .file-icon { background: #2c3933; color: #a4b8af; }
.art-file small { color: #778b82; }
.art-file.after { background: #1c2722; border-color: #58ca9225; }
.art-file.after .file-icon { background: #274135; color: #8fe0bc; }
.art-arrow { color: #59a783; }
.art-chip { background: #4cc790; color: white; }
.ad-slot { background: #ffffff02; border-color: #ffffff0b; color: #61716a; }
.ad-slot small { color: #596962; }
.section-kicker { color: #73af94; }
.section-heading h2 { color: #e7f0ec; }
.section-heading p, .section-heading .count { color: #74877e; }
.category-button { color: #8a9b93; }
.category-button span:last-child { color: #63776e; }
.category-button:hover { background: #ffffff04; color: #c6d4ce; }
.category-button.active { background: #58ca9211; color: #93e7c2; }
.category-button.active svg { color: #71dfae; }
.category-divider { background: #ffffff0c; }
.sidebar-note { background: #ffffff02; border-color: #ffffff0b; color: #71847b; }
.sidebar-note b { color: #a8a1b5; }
.sidebar-note svg { color: #6caf91; }
.catalog-toolbar, .sort-control { color: #7b8e85; }
.sort-control option { background: #161e1a; color: #d9e2de; }
.tool-card {
  background: #121a16dd; border-color: #ffffff0c; backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.tool-card:before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right,#58ca9209,transparent 65%); opacity: 0;
  transition: opacity .3s; pointer-events: none;
}
.tool-card:hover:before { opacity: 1; }
.tool-card:hover { border-color: #58ca9240; box-shadow: 0 12px 35px #0003; }
.tool-card h3 { color: #dde6e2; }
.tool-card p { color: #84958d; }
.card-bottom { border-color: #ffffff08; color: #6b8077; }
.tool-card:hover .card-bottom { color: #89e4bc; }
.tool-icon { background: #1b211e; color: #7cc9a7; }
.cat-pdf { background: #1e2723; color: #8abfa7; }
.cat-image { background: #1b2822; color: #7fc9a8; }
.cat-text { background: #222f29; color: #a295cc; }
.cat-dev { background: #222e29; color: #96bfad; }
.cat-random { background: #2b241d; color: #bfa27b; }
.cat-calc { background: #1f2e27; color: #86b39f; }
.cat-security { background: #1c2722; color: #89b7a3; }
.cat-social { background: #212c27; color: #90bba8; }
.cat-study { background: #2b261b; color: #b1a376; }
.badge { background: #58ca920c; color: #73a48e; }
.favorite { color: #54685f; }
.favorite.saved { color: #74e0b0; }
.favorite.saved svg { fill: #58ca9220; }
.empty-state { color: #7d9188; }
.load-more .button { background: #151e1a; color: #b2adc4; border-color: #ffffff10; }
.how { border-color: #ffffff0c; }
.how-head h2, .how-item h3 { color: #dde6e2; }
.how-head p, .how-item p { color: #7e9088; }
.how-number { background: #161f1b; border-color: #58ca921a; color: #77b398; }
.bottom-banner { background: linear-gradient(110deg,#151d199c,#121a1655); border-color: #58ca9215; }
.bottom-banner h3 { color: #d7dfdb; }
.bottom-banner p { color: #7c8b84; }
.bottom-banner .icon-box { background: #21362d; color: #7bb89d; }
.footer { background: transparent!important; border-color: #ffffff10; position: relative; }
.footer p { color: #7a8a83; }
.footer-bottom {
  color: #596d64; border-color: #ffffff0b; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.motion-toggle {
  background: #ffffff03; border: 1px solid #ffffff0d; border-radius: 20px;
  color: #7f9b8f; font-size: 10px; padding: 7px 11px;
}
.motion-toggle:hover { color: #a0e9c9; border-color: #58ca9235; }
.breadcrumb { color: #7c8f86; }
.tool-title h1 { color: #edf5f1; }
.tool-title p { color: #8c9c95; }
.tool-workspace { background: #121a16ec; border-color: #ffffff10; }
.workspace-header { border-color: #ffffff0c; }
.local-label { color: #79a893; }
.field input, .field select, .field textarea {
  background: #0d1411; border-color: #ffffff17; color: #d9e3df;
}
.field input::placeholder, .field textarea::placeholder { color: #5a6e65; }
.hint { color: #8a9a93; }
.result { background: #14221c55; border-color: #58ca921c; }
.result pre { color: #c6d7cf; }
.result-head { color: #8db0a0; }
.result.error { background: #40162266; color: #ff9aab; border-color: #a82e46; }
.stat { background: #18231e; }
.stat b { color: #89e4bc; }
.stat span { color: #83958d; }
.upload { background: #58ca9203; border-color: #3c6653; }
.upload:hover, .upload.dragging { background: #58ca9209; }
.upload svg { color: #72b597; }
.upload span { color: #72827b; }
.file-item { background: #ffffff04; }
.file-item button { color: #86a396; }
.file-item small { color: #6a7972; }
.progress { color: #8bcaae; }
.tool-info h2 { color: #cbc4d8; }
.tool-info p, .tool-info li { color: #7c8b84; }
.timer-status { color: #79a18f; }
.timer-display { color: #7fe2b6; }
.flashcard { background: #17221d; border-color: #39594b; color: #c1dcd0; }
.flashcard.flipped { background: #1f322a; }
.flashcard small { color: #82a294; }
.quiz-option { background: #1d2521; }
.prose h1, .prose h2 { color: #e0e8e4; }
.prose p, .prose li { color: #9990a8; }
.strength-meter { background: #ffffff0b; }
.wheel-center { background: #171d1a; color: #8dd5b5; }
.wheel-pointer { border-top-color: #72dfaf; }
#toast { background: #1b2d25; color: #daefe6; border: 1px solid #58ca9230; }
@media(max-width:820px) {
  .particle-caption { bottom: 18px; }
}
@media(max-width:480px) {
  .particle-caption { font-size: 7px; letter-spacing: 1.5px; bottom: 21px; }
  .footer-bottom { gap: 13px; }
  .motion-toggle { font-size: 9px; }
  .category-button { background: #131a17; }
}
@media(prefers-reduced-motion:reduce) {
  .particle-logo { filter: none; }
}
html[data-motion="off"] .floating-tool,
html[data-motion="off"] .visual-orbit,
html[data-motion="off"] .art-file {
  animation-play-state: paused!important;
}
:root {
  --surface: #121a16cc; --surface-solid: #161f1b; --primary-text: #f1eef7;
  --secondary-text: #96a59e; --soft-line: #ffffff12; --accent: #59d196;
  --accent-rgb: 89,209,150; --theme-glow: #5adaa11c; --stage-grid: #78e0b20a;
}
body,
.header,
.tool-card,
.tool-workspace,
.feature-banner,
.search,
.field input,
.field textarea,
.field select,
.bottom-banner,
.theme-toggle {
  transition: background-color .35s,border-color .35s,color .35s,box-shadow .3s;
}
body:before {
  background: radial-gradient(ellipse at 87% 8%,var(--theme-glow),transparent 34%),radial-gradient(ellipse at 0% 55%,#436c5a09,transparent 34%);
}
.header-actions { gap: 15px; }
.theme-toggle {
  height: 36px; display: flex; align-items: center;
  gap: 7px; padding: 0 10px; border-radius: 30px;
  background: #ffffff04; border: 1px solid var(--soft-line); color: #abb7b2;
  font-size: 10px; font-weight: 650; cursor: pointer;
  white-space: nowrap;
}
.theme-toggle>svg {
  width: 15px; height: 15px; stroke: currentColor;
  fill: none; stroke-width: 1.6;
}
.theme-toggle:hover { border-color: #59d1964f; color: var(--accent); }
.theme-track {
  display: block; width: 24px; height: 14px;
  background: #ffffff0a; border: 1px solid #ffffff09; border-radius: 20px;
  position: relative; margin-left: 2px;
}
.theme-track i {
  position: absolute; width: 8px; height: 8px;
  top: 2px; left: 2px; background: #8fb3a3;
  border-radius: 50%; transition: transform .3s,background .3s;
}
.search:focus-within {
  border-color: #73dfaf55; box-shadow: 0 0 0 4px #58ca9208,0 14px 45px #00000012;
}
.hero-visual { perspective: 900px; }
.hero-visual:after {
  content: ''; position: absolute; inset: 16px 16px 21px;
  border: 1px solid var(--soft-line); z-index: -1;
  background: linear-gradient(135deg,#ffffff04,transparent 65%),linear-gradient(var(--stage-grid) 1px,transparent 1px),linear-gradient(90deg,var(--stage-grid) 1px,transparent 1px);
}
.hero-visual:before {
  background: radial-gradient(ellipse,var(--theme-glow),transparent 65%); inset: -25px;
  transform: translate3d(var(--parallax-x,0px),var(--parallax-y,0px),0);
  transition: transform .2s linear;
}
.visual-orbit {
  width: 340px; height: 340px; border-color: #7acfa918;
  transform: rotate(-26deg)scaleY(.86);
}
.orbit-two {
  width: 393px; height: 393px; border-style: dashed;
  border-color: #7acfa911; animation: orbit-spin 100s linear infinite;
}
.visual-orbit:before {
  content: ''; width: 5px; height: 5px;
  position: absolute; left: 12%; top: 14%;
  border-radius: 50%; background: #78d3ab; box-shadow: 0 0 14px #71d5a955;
}
.float-code { right: -4px; top: 17px; }
.float-image { left: -5px; bottom: 55px; }
.floating-tool { border-radius: 14px; padding: 13px 15px; font-size: 10px; }
.visual-pill {
  bottom: 0; right: 8px; font-size: 9px;
  letter-spacing: .2px;
}
.particle-caption { display: none; }
.particle-logo { filter: drop-shadow(0 0 8px #50d59a15); }
.logo-playground {
  position: absolute; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; align-items: center;
  gap: 10px; white-space: nowrap;
}
.logo-playground>span { font-size: 8px; text-transform: uppercase; }
.replay-logo {
  background: #ffffff04; border: 1px solid var(--soft-line); padding: 6px 10px;
  border-radius: 20px; color: #95b4a6; font-size: 9px;
  display: flex; align-items: center; gap: 5px;
  cursor: pointer;
}
.replay-logo:hover { background: #58ca9212; color: #aaeccf; border-color: #58ca9233; }
.replay-logo svg { width: 12px; height: 12px; }
.replay-logo:disabled { opacity: .35; cursor: default; }
.tool-card:before {
  background: radial-gradient(250px circle at var(--card-x,90%) var(--card-y,0%),#5bdaa214,transparent 72%);
}
.tool-card .tool-icon { transition: transform .35s,box-shadow .35s; }
.tool-card:hover .tool-icon {
  transform: translateY(-2px)rotate(-5deg); box-shadow: 0 5px 20px #58ca920c;
}
.feature-copy h2 { font-size: 33px; }
.art-file { border-radius: 15px; }
.motion-toggle { display: inline-flex; align-items: center; gap: 6px; }
.motion-toggle svg { width: 12px; height: 12px; }
html[data-motion="off"] .hero-visual:before { transform: none; }
.ambient-canvas { opacity: .9; }
@media(max-width:1050px) {
  .header-actions { gap: 8px; }
  .hero h1 { font-size: 49px; }
}
@media(max-width:820px) {
  .hero h1 { font-size: 56px; }
  .hero-visual:after { inset: 12px 6px 20px; }
  .visual-orbit { width: 290px; height: 290px; }
  .orbit-two { width: 345px; height: 345px; }
  .float-image { bottom: 49px; }
}
@media(max-width:580px) {
  .header-actions>.button.small { font-size: 0; padding: 9px; gap: 0; }
  .header-actions>.button.small svg { width: 16px; height: 16px; }
  .theme-toggle { padding: 0 8px; gap: 5px; height: 33px; }
  .theme-track { display: none; }
  .header-actions .icon-button { width: 28px; }
  .header-inner { gap: 10px; }
  .hero h1 { font-size: 45px; }
  .hero-visual:after { inset: 7px 3px 12px; }
  .visual-orbit { width: 260px; height: 260px; }
  .orbit-two { width: 305px; height: 305px; }
  .logo-playground { gap: 7px; }
  .logo-playground>span { font-size: 6px; }
  .replay-logo { font-size: 8px; padding: 5px 8px; }
  .float-image { bottom: 43px; }
  .floating-tool { font-size: 8px; padding: 10px; }
  .visual-pill { bottom: -7px; }
  .feature-copy h2 { font-size: 29px; }
}
@media(prefers-reduced-motion:reduce) {
  * { transition: none!important; }
  .hero-visual:before { transform: none; }
}
html[data-motion="off"] .tool-card:hover .tool-icon { transform: none; }
html { scroll-padding-bottom: calc(var(--dock-height,54px) + 36px); }
body { padding-bottom: calc(var(--dock-height,54px) + 38px + env(safe-area-inset-bottom,0px)); }
.footer.floating-footer {
  position: fixed; inset: auto 20px calc(14px + env(safe-area-inset-bottom,0px)); z-index: 40;
  width: calc(100% - 40px); max-width: 1000px; margin: 0 auto;
  padding: 0; border: 1px solid #ffffff16; border-radius: 18px;
  background: transparent!important; isolation: isolate; box-shadow: 0 8px 32px #00000025;
  overflow: hidden;
}
.floating-footer:before {
  content: ''; position: absolute; inset: 0;
  z-index: -1; background: linear-gradient(120deg,#161e1acc,#161e1a99);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.dock-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 52px; padding: 6px 14px;
}
.dock-brand {
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; font-family: 'Space Grotesk',sans-serif; font-size: 15px;
  font-weight: 700; letter-spacing: -.5px; color: var(--primary-text);
}
.dock-brand img { width: 30px; height: 24px; object-fit: contain; }
.dock-brand small {
  font: 10px Manrope,sans-serif; letter-spacing: 0; color: var(--secondary-text);
  margin-left: 7px;
}
.dock-links {
  display: flex; align-items: center; gap: 24px;
  font-size: 11px; color: var(--secondary-text);
}
.dock-links a:hover { color: var(--accent); }
.floating-footer .footer-bottom {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: 8px; border: 0; padding: 0;
  margin: 0;
}
.floating-footer .motion-toggle {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--soft-line); border-radius: 10px; padding: 0 10px;
  height: 32px; font-size: 10px; white-space: nowrap;
  color: var(--secondary-text); background: #ffffff04;
}
.floating-footer .motion-toggle svg { width: 13px; height: 13px; }
.dock-top {
  width: 32px; height: 32px; display: grid;
  place-items: center; padding: 0; border: 1px solid var(--soft-line); border-radius: 10px;
  color: var(--secondary-text); background: transparent; flex: none;
}
.dock-top svg { display: block; width: 15px; height: 15px; margin: 0; }
.dock-top:hover, .floating-footer .motion-toggle:hover {
  background: rgba(var(--accent-rgb),.09); color: var(--accent);
  border-color: rgba(var(--accent-rgb),.25);
}
.dock-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 100%; transform: scaleX(var(--page-progress,0));
  transform-origin: left; background: linear-gradient(90deg,#3b9c71,var(--accent),#b0edd2);
  pointer-events: none; opacity: .8;
}
#toast { bottom: calc(var(--dock-height,54px) + 34px + env(safe-area-inset-bottom,0px)); }
@media(max-width:600px) {
  .footer.floating-footer {
    inset: auto 8px calc(8px + env(safe-area-inset-bottom,0px)); width: calc(100% - 16px);
    border-radius: 14px;
  }
  .dock-content { min-height: 46px; padding: 5px 8px; gap: 8px; }
  .dock-brand {
    flex: 1 1 120px; min-width: 80px; gap: 4px; font-size: 13px; line-height: 1.2;
    white-space: normal; overflow-wrap: anywhere;
  }
  .dock-brand img { width: 24px; height: 22px; flex: none; }
  .dock-brand small { display: none; }
  .dock-links { gap: clamp(5px, 1.8vw, 14px); font-size: 10px; text-align: center; }
  .floating-footer .footer-bottom { gap: 4px; }
  .floating-footer .motion-toggle { width: 32px; padding: 0; justify-content: center; }
  .floating-footer .motion-toggle span { display: none; }
}
@media(max-width:425px) {
  .dock-content {
    display: grid; grid-template-columns: 1fr auto; row-gap: 3px;
  }
  .dock-links {
    grid-area: 2 / 1 / 3 / -1; justify-content: center; gap: 12px;
  }
}
:root {
  --work-panel: #151a18; --work-inset: #0d110f; --work-border: #ffffff13;
  --work-muted: #9696a5; --work-text: #eef1f0;
}
body { color: var(--work-text); }
.header { height: 76px; }
.brand { font-size: 27px; }
.header-inner, .page-width { max-width: 1280px; }
.brand-hero { padding: 52px 0 38px; align-items: center; }
.hero h1 {
  font-size: clamp(40px,4.2vw,60px); letter-spacing: -2.5px; line-height: 1.08;
  max-width: 650px;
}
.hero h1 em {
  background: none; color: var(--accent); -webkit-text-fill-color: var(--accent);
  font-style: normal;
}
.hero p {
  font-size: 15px; line-height: 1.8; max-width: 440px;
  color: var(--work-muted); margin-top: 24px;
}
.hero .eyebrow { background: none; border: 0; font-size: 10px; }
.hero .search { box-shadow: none; background: var(--work-panel); border-color: var(--work-border); }
.hero-visual:after { transform: none; box-shadow: none; }
.hero-trust { color: var(--work-muted); }
.logo-playground>span { color: var(--work-muted); }
.quick-tools {
  display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--work-border);
  background: var(--work-panel); margin: 8px 0 64px; overflow: hidden;
}
.quick-tools a {
  padding: 20px; display: grid; grid-template-columns: 28px 1fr 16px;
  align-items: center; gap: 12px; border-right: 1px solid var(--work-border);
  transition: background .2s;
}
.quick-tools a:last-child { border: 0; }
.quick-tools a:hover { background: rgba(var(--accent-rgb),.055); }
.quick-tools a>svg:first-child { color: var(--accent); width: 22px; }
.quick-tools a>svg:last-child { width: 15px; color: var(--work-muted); }
.quick-tools b {
  font-size: 12px; display: block; color: var(--work-text);
  font-weight: 600;
}
.quick-tools small {
  display: block; font-size: 10px; color: var(--work-muted);
  margin-top: 4px;
}
.section-kicker { font-size: 10px; letter-spacing: 1.6px; color: var(--work-muted); }
.section-heading h2 { font-size: 30px; letter-spacing: -1px; }
.section-heading p { color: var(--work-muted) !important; }
.section-heading { margin-bottom: 28px; }
.catalog-layout { grid-template-columns: 205px 1fr; gap: 30px; }
.category-button.active { background: rgba(var(--accent-rgb),.1); }
.tool-card {
  min-height: 190px; padding: 22px; background: var(--work-panel)!important;
  border: 1px solid var(--work-border) !important; box-shadow: none!important;
  transition: border-color .2s,transform .2s;
}
.tool-card:hover {
  transform: translateY(-3px); border-color: rgba(var(--accent-rgb),.35) !important;
}
.tool-card h3 { font-size: 14px; color: var(--work-text); }
.tool-card p {
  font-size: 12px; line-height: 1.7; color: var(--work-muted) !important;
  min-height: 40px;
}
.tool-card .tool-icon {
  color: var(--work-muted) !important; background: var(--work-inset)!important;
  border: 1px solid var(--work-border);
}
.badge {
  font-size: 8px; background: transparent!important; border: 1px solid var(--work-border);
  color: var(--work-muted) !important;
}
.card-bottom { color: var(--work-muted); border-color: var(--work-border); }
.tool-page { max-width: 1140px; }
.tool-title { margin: 28px 0; }
.tool-title h1 { font-size: 34px; letter-spacing: -1px; }
.tool-title p { color: var(--work-muted); }
.tool-workspace {
  border: 1px solid var(--work-border); border-radius: 16px; background: var(--work-panel)!important;
  box-shadow: 0 12px 40px #00000008; padding: 26px;
}
.workspace-header {
  color: var(--work-muted); padding-bottom: 18px; border-color: var(--work-border);
}
.field input, .field select, .field textarea {
  border-radius: 8px!important; border-color: var(--work-border) !important;
  background: var(--work-inset)!important; color: var(--work-text) !important;
}
.field { color: var(--work-muted) !important; }
.tool-info { padding: 28px 0; }
.tool-info p, .tool-info li { color: var(--work-muted) !important; }
.tool-info h2 { font-size: 15px; }
.ad-slot { opacity: .6; }
.how { border-top: 1px solid var(--work-border); margin-top: 60px; }
.how h2 { font-size: 30px; }
.bottom-banner { background: var(--work-panel)!important; }
.related-heading { font-size: 21px; }
.calculator-layout {
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.9fr); gap: 26px;
}
.calculator-main { min-width: 0; }
.calc-toolbar { display: flex; align-items: center; gap: 14px; }
.segmented {
  display: flex; padding: 3px; border: 1px solid var(--work-border);
  border-radius: 8px;
}
.segmented button, .text-control {
  font-size: 10px; color: var(--work-muted); background: none;
  padding: 5px 10px;
}
.segmented button[aria-pressed="true"] {
  color: var(--work-text); background: var(--work-inset); border-radius: 5px;
}
.calc-toolbar>span {
  font-size: 10px; margin-left: auto; color: var(--work-muted);
  max-width: 140px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}
.calc-display {
  background: var(--work-inset); border: 1px solid var(--work-border); border-radius: 12px;
}
.calc-display>label {
  display: block; font-size: 9px; letter-spacing: 1.7px;
  color: var(--work-muted);
}
.calc-display>input {
  width: 100%; border: 0; border-radius: 3px;
  color: var(--work-text); background: transparent; font: 17px 'Space Grotesk',monospace;
  outline-offset: 2px;
}
.calc-display>input::placeholder { font-size: 14px; color: var(--work-muted); }
.calc-answer {
  font: 500 clamp(26px,3vw,40px) 'Space Grotesk',monospace; text-align: right;
  overflow-wrap: anywhere; line-height: 1.3;
}
.calc-answer.pending { color: var(--work-muted); }
.calc-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: flex-end; font-size: 10px; color: var(--work-muted);
  padding-top: 10px; overflow-wrap: anywhere;
}
.calc-meta b { color: var(--accent); font-weight: 500; margin-left: 5px; }
.calc-error { font-size: 13px; color: #ff9aab; padding: 16px 0; }
.calc-result-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.calc-result-actions button {
  padding: 5px 8px; background: none; color: var(--work-muted);
  font-size: 10px; border-radius: 5px;
}
.calc-result-actions button:hover { background: var(--work-inset); }
.calc-result-actions button:disabled { cursor: default; opacity: .35; }
.calc-scientific {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 7px;
  margin-bottom: 10px;
}
.calc-key {
  border: 1px solid var(--work-border); border-radius: 8px; background: var(--work-inset);
  color: var(--work-text); font: 500 19px 'Space Grotesk',sans-serif;
  transition: background .12s,transform .12s;
}
.calc-key:active { transform: scale(.95); }
.calc-key:hover { background: rgba(var(--accent-rgb),.1); border-color: rgba(var(--accent-rgb),.3); }
.calc-scientific .calc-key { font-size: 12px; background: transparent; color: var(--work-muted); }
.calc-keypad { display: grid; grid-template-columns: repeat(4,1fr); }
.calc-key.operator { color: var(--accent); background: rgba(var(--accent-rgb),.08); }
.calc-key.utility { font-size: 15px; color: var(--work-muted); }
.calc-key.equals {
  grid-column: 1/-1; display: flex; align-items: center;
  justify-content: space-between; padding: 0 20px; background: var(--accent);
  color: white; font: 600 13px Manrope,sans-serif; border-color: transparent;
  margin-top: 3px;
}
.calc-key.equals:hover { filter: brightness(1.1); }
.calculator-side {
  display: flex; flex-direction: column; gap: 16px;
  min-width: 0;
}
.calc-panel { padding: 20px; border: 1px solid var(--work-border); border-radius: 12px; }
.panel-heading {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.panel-heading h2 { font-size: 14px; letter-spacing: -.2px; margin: 0; }
.panel-heading>span { font-size: 9px; color: var(--work-muted); }
.calc-panel p {
  font-size: 11px; line-height: 1.7; color: var(--work-muted);
  margin: 12px 0;
}
.fraction-builder {
  display: flex; gap: 9px; align-items: flex-end;
  margin: 16px 0;
}
.fraction-builder label {
  flex: 1; min-width: 0; color: var(--work-muted);
  font-size: 9px;
}
.fraction-builder input {
  width: 100%; background: var(--work-inset); border: 1px solid var(--work-border);
  color: var(--work-text); border-radius: 6px; padding: 10px;
  margin-top: 6px; font-size: 14px;
}
.fraction-builder>span { padding-bottom: 9px; }
.calc-panel .button { font-size: 11px; padding: 9px 14px; }
.calc-panel #fraction-error { color: var(--accent); margin-bottom: 0; }
.history-panel { flex: 1; }
.history-item {
  display: block; text-align: right; width: 100%;
  background: transparent; color: var(--work-text); border-top: 1px solid var(--work-border);
  padding: 12px 0; overflow-wrap: anywhere;
}
.history-item>span { display: block; color: var(--work-muted); font-size: 11px; }
.history-item small { font-size: 8px; }
.history-item strong { font: 500 17px 'Space Grotesk',monospace; display: block; margin-top: 5px; }
.history-item:hover { color: var(--accent); }
#calc-history { max-height: 210px; overflow: auto; }
.calc-help summary { font-size: 11px; cursor: pointer; color: var(--work-muted); }
.calc-help>button {
  display: block; background: var(--work-inset); color: var(--work-text);
  font-size: 12px; padding: 8px 12px; border-radius: 5px;
  width: 100%; text-align: left; margin-top: 8px;
}
.unit-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.unit-tabs button {
  border: 1px solid var(--work-border); background: transparent; color: var(--work-muted);
  padding: 8px 14px; border-radius: 7px; font-size: 12px;
}
.unit-tabs button[aria-pressed="true"] {
  color: var(--accent); border-color: var(--accent); background: rgba(var(--accent-rgb),.05);
}
.unit-fields {
  display: grid; grid-template-columns: 1fr 1fr 40px 1fr; align-items: center;
  gap: 16px;
}
.unit-fields>button {
  background: var(--work-inset); border: 1px solid var(--work-border); color: var(--accent);
  border-radius: 8px; height: 40px; font-size: 23px;
}
.unit-output {
  padding: 25px; background: var(--work-inset); border: 1px solid var(--work-border);
  border-radius: 12px; margin: 10px 0 20px; overflow-wrap: anywhere;
}
.unit-output span { display: block; font-size: 12px; color: var(--work-muted); }
.unit-output strong { font: 500 38px 'Space Grotesk',monospace; display: block; margin: 9px 0; }
@media(max-width:900px) {
  .quick-tools { grid-template-columns: repeat(2,1fr); }
  .quick-tools a:nth-child(2) { border-right: 0; }
  .quick-tools a:nth-child(-n+2) { border-bottom: 1px solid var(--work-border); }
  .catalog-layout { grid-template-columns: 180px 1fr; gap: 20px; }
  .calculator-layout { gap: 18px; grid-template-columns: minmax(0,1.15fr) minmax(240px,1fr); }
  .calc-panel { padding: 14px; }
}
@media(max-width:740px) {
  .hero h1 { font-size: 43px; letter-spacing: -1.8px; }
  .hero p { font-size: 13px; margin-left: auto; margin-right: auto; }
  .hero-visual { max-width: 370px; margin: 0 auto; width: 100%; }
  .quick-tools a { padding: 14px 12px; gap: 8px; grid-template-columns: 22px 1fr; }
  .quick-tools a>svg:last-child { display: none; }
  .quick-tools b { font-size: 11px; }
  .quick-tools small { font-size: 9px; }
  .catalog-layout { display: block; }
  .tool-card { padding: 17px; min-height: 190px; }
  .tool-title h1 { font-size: 27px; }
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-side { display: grid; grid-template-columns: 1fr; }
  .calc-scientific { gap: 6px; }
  .calc-answer { font-size: 32px; }
  .unit-fields { grid-template-columns: 1fr 40px 1fr; gap: 12px; }
  .unit-fields>.field:first-child { grid-column: 1/-1; }
  .unit-output strong { font-size: 32px; }
  .calc-panel { padding: 18px; }
}
.tool-workspace:has(.calculator-layout) .workspace-header {
  margin-bottom: 16px; padding-bottom: 12px;
}
.calc-display { min-height: 145px; padding: 16px 20px; }
.calc-display>input { padding: 9px 0; }
.calc-key { height: 43px; }
.calc-keypad { gap: 6px; }
.calc-scientific .calc-key { height: 30px; }
.calc-result-actions { margin: 8px 0 12px; }
.calc-toolbar { margin-bottom: 12px; }
@media(max-width:740px) {
  .calc-key { height: 48px; }
  .calc-scientific .calc-key { height: 35px; }
  .tool-workspace { padding: 15px; }
  .tool-title { margin: 18px 0; }
  .calc-display>input { font-size: 16px; }
  .calc-help { margin-bottom: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .tool-card, .calc-key { transition: none; }
}
@media(max-width:740px) {
  .hero-visual { border-radius: 20px; }
  .tool-title .tool-icon { width: 44px; height: 44px; border-radius: 10px; }
  .tool-title p { font-size: 11px; line-height: 1.6; }
}
.brand-hero { padding-top: 64px; padding-bottom: 50px; gap: 40px; }
.hero h1 em {
  background: linear-gradient(100deg,#5ad59e,#a0e9c9); background-clip: text;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid rgba(var(--accent-rgb),.18); border-radius: 30px;
  background: rgba(var(--accent-rgb),.06); color: var(--accent); letter-spacing: 1.2px;
}
.hero .eyebrow .status-dot {
  display: inline-block; box-shadow: 0 0 12px rgba(var(--accent-rgb),.35);
}
.hero .search { border-radius: 16px; box-shadow: 0 14px 45px #00000013; height: 62px; }
.hero-visual { height: 425px; }
.hero-visual:after {
  transform: rotate(-5deg); border-radius: 38px; box-shadow: 0 24px 60px #0000000b;
  background-size: auto,26px 26px,26px 26px;
}
.hero-visual .floating-tool { display: flex; }
.hero-visual .visual-pill { display: inline-flex; }
.hero-visual .visual-dot { display: block; }
.logo-playground { bottom: 31px; }
.logo-playground>span { letter-spacing: 1.4px; color: #7e9a8e; }
.quick-tools {
  border-radius: 18px;
  background: linear-gradient(115deg,rgba(var(--accent-rgb),.035),transparent 65%),var(--work-panel);
  box-shadow: 0 10px 35px #00000008; margin-bottom: 30px;
}
.feature-banner { margin: 0 0 56px; border-radius: 24px; }
.feature-art { pointer-events: none; }
.tool-card { border-radius: 18px; box-shadow: 0 4px 20px #00000006!important; }
.tool-card:after { display: block; }
.tool-card:hover { box-shadow: 0 12px 32px rgba(var(--accent-rgb),.07) !important; }
.tool-card .tool-icon {
  width: 42px; height: 42px; border-radius: 12px;
  color: #8dd7b6!important; background: #6ad9a818!important; border-color: #6ad9a820;
}
.tool-card .tool-icon svg { width: 21px; }
.tool-card .cat-image {
  color: #b69be8!important; background: #a07ce818!important; border-color: #a07ce820;
}
.tool-card .cat-dev {
  color: #96d2b7!important; background: #7ac7a418!important; border-color: #7ac7a420;
}
.tool-card .cat-calc {
  color: #efba85!important; background: #efae6b18!important; border-color: #efae6b20;
}
.tool-card .cat-security {
  color: #88c8b7!important; background: #63b59e18!important; border-color: #63b59e20;
}
.category-button { border-radius: 11px; }
.bottom-banner { border-radius: 20px; }
@media(max-width:900px) {
  .brand-hero { gap: 24px; }
  .hero-visual { height: 350px; }
}
@media(max-width:740px) {
  .brand-hero { padding: 36px 0 28px; }
  .hero-visual { height: 310px; overflow: hidden; }
  .float-code { right: 8px; top: 14px; }
  .float-image { left: 8px; bottom: 50px; }
  .hero-visual .floating-tool { font-size: 8px; padding: 9px 11px; }
  .hero-visual .visual-pill { right: 14px; bottom: 6px; font-size: 8px; }
  .logo-playground { bottom: 34px; gap: 6px; }
  .logo-playground>span { font-size: 7px; letter-spacing: .8px; }
  .feature-banner { margin-bottom: 36px; }
  .quick-tools { margin-bottom: 22px; }
}
html[data-theme="light"] {
  color-scheme: light; --ink: #25302b; --text: #333d39;
  --muted: #747a82; --line: #e4e7e6; --white: #fff;
  --surface: #ffffffc9; --surface-solid: #fff; --primary-text: #26312c;
  --secondary-text: #737980; --soft-line: #22302a12;
}
html[data-theme="light"] .theme-track { background: #e6fbf2; border-color: #c2e0d2; }
html[data-theme="light"] .theme-track i { transform: translateX(10px); background: #44cf90; }
html[data-theme="light"] body { color: #333d39; }
html[data-theme="light"] .header { background: #ffffffc9; border-color: #22302a0c; }
html[data-theme="light"] .brand { color: #2a302d; }
html[data-theme="light"] .brand-symbol img { filter: drop-shadow(0 1px 1px #2f423922); }
html[data-theme="light"] .top-nav a { color: #6b7178; }
html[data-theme="light"] .top-nav a:hover { color: #43c88c; }
html[data-theme="light"] .nav-tools span { background: #ecefee; color: #8a9098; }
html[data-theme="light"] .icon-button { color: #888e96; }
html[data-theme="light"] .icon-button:hover { background: #ecf9f3; color: #4ac78f; }
html[data-theme="light"] .theme-toggle {
  background: #fff; color: #656c76; box-shadow: 0 2px 8px #39594b06;
}
html[data-theme="light"] .button { background: #fff; border-color: #dde4e1; color: #54665e; }
html[data-theme="light"] .button.dark:hover, html[data-theme="light"] .button.green:hover {
  box-shadow: 0 9px 25px #49d5962b;
}
html[data-theme="light"] .hero h1 { color: #212a26; }
html[data-theme="light"] .eyebrow { color: #5db88f; background: #f2fdf8; border-color: #dfefe8; }
html[data-theme="light"] .hero .search {
  background: #ffffffd9; border-color: #e0e8e4; box-shadow: 0 8px 35px #39604e06;
}
html[data-theme="light"] .search input { color: #343e3a; }
html[data-theme="light"] .search input::placeholder { color: #959ba3; }
html[data-theme="light"] .search>svg { color: #88a497; }
html[data-theme="light"] .search kbd { background: #f7f9f8; border-color: #e6ece9; color: #9eaea7; }
html[data-theme="light"] .hero-trust { color: #899891; }
html[data-theme="light"] .hero-visual:after {
  background: linear-gradient(135deg,#ffffffe0,#f9fefc60),linear-gradient(var(--stage-grid) 1px,transparent 1px);
  background-size: auto,26px 26px; border-color: #dee6e2; box-shadow: 0 25px 70px #30604a07;
}
html[data-theme="light"] .floating-tool { border-color: #e3ece8; box-shadow: 0 10px 25px #39625008; }
html[data-theme="light"] .visual-pill {
  background: #f5fefa; border-color: #d8e9e1; box-shadow: 0 4px 15px #42715c08;
}
html[data-theme="light"] .replay-logo { background: #f4fbf7; border-color: #dcebe4; }
html[data-theme="light"] .feature-banner { border-color: #e4ece8; box-shadow: 0 15px 45px #31544406; }
html[data-theme="light"] .feature-copy h2 { color: #2d3a34; }
html[data-theme="light"] .art-file {
  background: #fff; border-color: #e6edea; color: #82978e;
  box-shadow: 0 14px 30px #3d6a560e;
}
html[data-theme="light"] .art-file .file-icon { background: #f0f7f4; color: #9ab1a7; }
html[data-theme="light"] .art-file small { color: #a7b8b0; }
html[data-theme="light"] .art-file.after { border-color: #dff0e8; }
html[data-theme="light"] .ad-slot { background: #eff3f12f; border-color: #e1e8e5; color: #a8b3ae; }
html[data-theme="light"] .ad-slot small { color: #aeb3ba; }
html[data-theme="light"] .section-kicker { color: #81b69e; }
html[data-theme="light"] .section-heading h2 { color: #2d3733; }
html[data-theme="light"] .section-heading p, html[data-theme="light"] .section-heading .count {
  color: #8f9f98;
}
html[data-theme="light"] .category-button { background: transparent; color: #7d8f87; }
html[data-theme="light"] .category-button span:last-child { color: #a5b6ae; }
html[data-theme="light"] .category-button:hover { background: #eff7f3; color: #579f7f; }
html[data-theme="light"] .category-button.active { background: #ebf9f3; color: #4fad83; }
html[data-theme="light"] .category-button.active svg { color: #66cc9e; }
html[data-theme="light"] .category-divider { background: #e4ede9; }
html[data-theme="light"] .sidebar-note { background: #f4fbf78c; border-color: #e2ece8; }
html[data-theme="light"] .sidebar-note b { color: #729987; }
html[data-theme="light"] .sidebar-note svg { color: #85baa2; }
html[data-theme="light"] .catalog-toolbar, html[data-theme="light"] .sort-control { color: #8d9e96; }
html[data-theme="light"] .sort-control option { background: #fff; color: #46564f; }
html[data-theme="light"] .tool-card {
  background: #ffffffbd; border-color: #e4ebe8; box-shadow: 0 5px 15px #2d514103;
}
html[data-theme="light"] .tool-card:hover {
  border-color: #b6decc; box-shadow: 0 16px 35px #4c7c660b;
}
html[data-theme="light"] .tool-card h3 { color: #3e5249; }
html[data-theme="light"] .card-bottom { color: #9dada6; border-color: #eaf0ed; }
html[data-theme="light"] .tool-card:hover .card-bottom { color: #67b391; }
html[data-theme="light"] .tool-icon { background: #ecf7f2; color: #87c3a8; }
html[data-theme="light"] .cat-pdf { background: #eefdf6; color: #91c9b0; }
html[data-theme="light"] .cat-text { background: #eff7f3; color: #9cbbad; }
html[data-theme="light"] .cat-dev { background: #ecf8f3; color: #92bca9; }
html[data-theme="light"] .cat-random { background: #ebfaf3; color: #87bda5; }
html[data-theme="light"] .cat-calc { background: #ecf6f2; color: #92b5a5; }
html[data-theme="light"] .cat-study { background: #eaf9f2; color: #7cb099; }
html[data-theme="light"] .badge { background: #f2faf6; color: #91b6a5; }
html[data-theme="light"] .favorite { color: #bac7c1; }
html[data-theme="light"] .favorite.saved { color: #6cc59d; }
html[data-theme="light"] .load-more .button {
  background: #fff; color: #729b89; border-color: #dfe8e4;
}
html[data-theme="light"] .how { border-color: #e6edea; }
html[data-theme="light"] .how-head h2, html[data-theme="light"] .how-item h3 { color: #45564e; }
html[data-theme="light"] .how-number { background: #ecf7f2; border-color: #ddece5; color: #8ab09f; }
html[data-theme="light"] .bottom-banner {
  background: linear-gradient(105deg,#f3fdf9c9,#f9fefc80); border-color: #dfede7;
}
html[data-theme="light"] .bottom-banner h3 { color: #5a796b; }
html[data-theme="light"] .bottom-banner .icon-box { background: #e5f6ee; color: #8ab6a2; }
html[data-theme="light"] .footer { border-color: #e1e7e4; }
html[data-theme="light"] .footer-bottom { border-color: #e6edea; color: #a9b8b1; }
html[data-theme="light"] .motion-toggle {
  background: #f5fefa80; border-color: #dde9e4; color: #85a697;
}
html[data-theme="light"] .breadcrumb { color: #90a69c; }
html[data-theme="light"] .tool-title h1 { color: #3d544a; }
html[data-theme="light"] .tool-workspace {
  background: #ffffffd9; border-color: #dfe8e4; box-shadow: 0 12px 35px #3c5f4f04;
}
html[data-theme="light"] .workspace-header { border-color: #e7efeb; }
html[data-theme="light"] .local-label { color: #88b09e; }
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea {
  background: #fcfefd; border-color: #dee8e4; color: #4b685b;
}
html[data-theme="light"] .field input::placeholder,
html[data-theme="light"] .field textarea::placeholder {
  color: #a7bbb2;
}
html[data-theme="light"] .result { background: #f5fefa80; border-color: #daebe3; }
html[data-theme="light"] .result pre { color: #56816e; }
html[data-theme="light"] .result-head { color: #82a796; }
html[data-theme="light"] .result.error { background: #fff3f1; border-color: #f2cec9; color: #992d3b; }
html[data-theme="light"] .calc-error { color: #992d3b; }
html[data-theme="light"] .stat { background: #f2fdf8; }
html[data-theme="light"] .stat b { color: #6fb998; }
html[data-theme="light"] .stat span { color: #92b2a4; }
html[data-theme="light"] .upload { background: #f4fbf7; border-color: #cee5db; }
html[data-theme="light"] .upload:hover, html[data-theme="light"] .upload.dragging {
  background: #f0fdf7;
}
html[data-theme="light"] .upload svg { color: #8cc0a9; }
html[data-theme="light"] .upload span { color: #9db3a9; }
html[data-theme="light"] .file-item { background: #f5fcf9; }
html[data-theme="light"] .file-item button { color: #87b19e; }
html[data-theme="light"] .file-item small { color: #a5b8af; }
html[data-theme="light"] .tool-info h2 { color: #698779; }
html[data-theme="light"] .timer-status { color: #8cb0a0; }
html[data-theme="light"] .timer-display { color: #71cba3; }
html[data-theme="light"] .flashcard { background: #f4fdf9; border-color: #d3eae0; color: #689a84; }
html[data-theme="light"] .flashcard.flipped { background: #e6f9f0; }
html[data-theme="light"] .flashcard small { color: #95b6a7; }
html[data-theme="light"] .quiz-option { background: #f2faf6; }
html[data-theme="light"] .prose h1, html[data-theme="light"] .prose h2 { color: #4c695c; }
html[data-theme="light"] .strength-meter { background: #e8f3ee; }
html[data-theme="light"] #toast {
  background: #f6fefa; color: #5d8a76; border-color: #cde6db;
  box-shadow: 0 8px 25px #4a6e5e12;
}
html[data-theme="light"] .tool-card p,
html[data-theme="light"] .hero p,
html[data-theme="light"] .feature-copy p,
html[data-theme="light"] .how-item p,
html[data-theme="light"] .how-head p,
html[data-theme="light"] .prose p,
html[data-theme="light"] .prose li,
html[data-theme="light"] .tool-title p,
html[data-theme="light"] .tool-info p,
html[data-theme="light"] .tool-info li,
html[data-theme="light"] .hint {
  color: #6e747b;
}
html[data-theme="light"] .sidebar-note,
html[data-theme="light"] .footer p,
html[data-theme="light"] .footer-links,
html[data-theme="light"] .footer-note,
html[data-theme="light"] .bottom-banner p,
html[data-theme="light"] .section-heading p {
  color: #7a818b;
}
html[data-theme="light"] .brand-symbol { background: transparent; border: 0; border-radius: 0; }
html[data-theme="light"] .floating-footer {
  border-color: #34463e16; box-shadow: 0 8px 32px #38524612;
}
html[data-theme="light"] .floating-footer:before {
  background: linear-gradient(120deg,#ffffffd9,#fafefca6);
}
html[data-theme="light"] .floating-footer .motion-toggle {
  color: #686f79; border-color: #34463e16; background: #ffffff40;
}
html[data-theme="light"] { --work-panel: #fff; }
html[data-theme="light"] .tool-card .cat-image { color: #64ab8b!important; }
html[data-theme="light"] .tool-card .cat-dev { color: #4f9a78!important; }
html[data-theme="light"] .tool-card .cat-calc { color: #409870!important; }
html[data-theme="light"] .tool-card .cat-security { color: #42765f!important; }
html[data-theme="light"] {
  --accent: #19704d; --accent-rgb: 25,112,77; --green: #19704d;
  --lime: #19704d; --blue: #19704d; --paper: #f4fbf7;
  --theme-glow: #20885c19; --stage-grid: #48b98618; --work-text: #203a2d;
  --work-muted: #4e6b5d; --work-inset: #f3fbf7; --work-border: #2d644b19;
}
html[data-theme="light"] body { background: #f4fbf7; }
html[data-theme="light"] body:before {
  background: radial-gradient(ellipse at 90% 8%,#40e2991a,transparent 40%),radial-gradient(ellipse at 0% 65%,#56d39b14,transparent 40%);
}
html[data-theme="light"] .ambient-canvas { opacity: 1; }
html[data-theme="light"] .hero h1 em {
  background: linear-gradient(100deg,#146444,#248053); background-clip: text;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
html[data-theme="light"] .button.dark,
html[data-theme="light"] .button.green,
html[data-theme="light"] .art-chip {
  background: #19704d; border-color: #19704d; color: #fff;
  box-shadow: 0 5px 24px #19704d22;
}
html[data-theme="light"] .button.dark:hover, html[data-theme="light"] .button.green:hover {
  background: #14583c;
}
html[data-theme="light"] .brand-dot,
html[data-theme="light"] .feature-label,
html[data-theme="light"] .hero-trust svg,
html[data-theme="light"] .floating-tool svg,
html[data-theme="light"] .visual-pill svg,
html[data-theme="light"] .art-arrow {
  color: #19704d;
}
html[data-theme="light"] .status-dot,
html[data-theme="light"] .visual-dot,
html[data-theme="light"] .visual-orbit:before {
  background: #20885c; box-shadow: 0 0 12px #20885c45;
}
html[data-theme="light"] .visual-orbit { border-color: #20885c33; }
html[data-theme="light"] .orbit-two { border-color: #20885c22; }
html[data-theme="light"] .particle-logo { filter: drop-shadow(0 0 8px #20885c25); }
html[data-theme="light"] .visual-pill, html[data-theme="light"] .floating-tool {
  background: #ffffffd9; border-color: #36b0792b; color: #4f7c68;
}
html[data-theme="light"] .logo-playground>span, html[data-theme="light"] .replay-logo {
  color: #449973;
}
html[data-theme="light"] .replay-logo:hover {
  background: #19704d12; color: #19704d; border-color: #19704d4d;
}
html[data-theme="light"] .feature-banner {
  background: radial-gradient(ellipse at 82% 30%,#5ddea41a,transparent 60%),#ffffffcc;
  border-color: #36b0791c;
}
html[data-theme="light"] .feature-banner:after {
  border-color: #19704d15; box-shadow: 0 0 0 52px #19704d05,0 0 0 104px #19704d03;
}
html[data-theme="light"] .art-file.after { background: #e8fbf2; border-color: #19704d33; }
html[data-theme="light"] .art-file.after .file-icon { background: #d9f9eb; color: #19704d; }
html[data-theme="light"] .tool-card .tool-icon {
  color: #19704d!important; background: #19704d10!important; border-color: #19704d20;
}
html[data-theme="light"] .tool-card:before {
  background: radial-gradient(250px circle at var(--card-x,90%) var(--card-y,0%),#20885c18,transparent 72%);
}
html[data-theme="light"] .search:focus-within {
  border-color: #19704d66; box-shadow: 0 0 0 4px #19704d0a;
}
html[data-theme="light"] .dock-progress {
  background: linear-gradient(90deg,#1d9f65,#19704d,#7cebb9);
}
html[data-theme="light"] ::selection { background: #19704d33; color: #1c533a; }
html[data-theme="light"] :is(button,a,input,textarea,select):focus-visible { outline-color: #19704d; }
.tool-divider { border: 0; border-top: 1px solid var(--work-border); margin: 28px 0; }
.color-swatch {
  height: 110px; border: 1px solid var(--work-border); border-radius: 14px;
  margin-bottom: 20px;
}

/* Header language picker */
.language-picker { position: relative; flex: none; }
.language-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; height: 36px; padding: 0 9px;
  border: 1px solid var(--soft-line); border-radius: 30px; background: var(--surface);
  color: var(--primary-text); cursor: pointer; font: inherit;
}
.language-toggle:hover, .language-toggle[aria-expanded="true"] {
  border-color: var(--accent, currentColor);
}
.language-flag {
  display: block; width: 21px; height: auto;
  flex: none; border-radius: 2px; outline: 1px solid #8885;
}
.language-code { font-size: 11px; font-weight: 750; }
.language-chevron { width: 12px; height: 12px; stroke-width: 1.6; }
.language-options {
  position: absolute; z-index: 6; inset: calc(100% + 8px) 0 auto auto;
  width: max-content; min-width: 158px; max-height: min(20rem, 64vh);
  overflow: auto; padding: 5px; border: 1px solid var(--soft-line);
  border-radius: 14px; background: var(--surface-solid); box-shadow: 0 12px 30px #0003;
}
.language-options[hidden] { display: none; }
.language-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 38px; padding: 6px 8px;
  border: 0; border-radius: 8px; background: transparent;
  color: var(--primary-text); text-align: start; font: inherit;
  font-size: 14px; cursor: pointer;
}
.language-option[aria-pressed="true"], .language-option:hover {
  background: color-mix(in srgb, var(--accent, currentColor) 12%, transparent);
}
.language-option[aria-pressed="true"]::after {
  content: '✓'; margin-inline-start: auto; color: var(--accent, currentColor);
}
@media (max-width: 620px) {
  .language-toggle { height: 33px; padding: 0 7px; }
  .language-code { display: none; }
  .language-flag { width: 19px; }
}
@media (max-width: 425px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 5px; }
  .language-toggle, .theme-toggle { width: 34px; padding: 0; justify-content: center; }
  .language-chevron, .theme-toggle > span { display: none; }
  .hero h1 { font-size: clamp(1.9rem, 9.6vw, 2.5rem); overflow-wrap: anywhere; }
  .tool-card h3 { overflow-wrap: anywhere; }
}


/* Branding for the toolbox edition. */
.brand { font-size: clamp(15px, 2vw, 22px); letter-spacing: -.03em; line-height: 1.08; }
.brand-symbol { width: 38px; height: 38px; }
.hero-logo-fallback { opacity: 1; }
@media(max-width: 460px) {
  .brand-symbol { width: 30px; height: 30px; }
  .brand > span:last-child { max-width: 8rem; }
}
