/* Shared visual foundations; tool forms retain their established layout. */
:root {
  --bg: #f8faf9;
  --ink: #192d27;
  --muted: #5c6d66;
  --green: #147d57;
  --green-hover: #0d6243;
  --border: #e1e8e4;
  --active: #e9f5ee;
}
.site-header { background: #fff; }
.header-inner { max-width: 1240px; height: 80px; gap: 48px; }
.brand { font-size: 25px; letter-spacing: -1px; }
.brand-mark { width: 31px; height: 31px; }
.primary-nav a { font-size: 14px; }
.header-actions > .button { min-height: 42px; border-radius: 8px; font-size: 13px; padding-inline: 18px; }
.language-menu summary, .login-link { font-size: 13px; }
.site-footer { margin-top: 0; background: #fff; }
.footer-inner, .footer-bottom { max-width: 1240px; }
.footer-inner { padding-block: 42px; }
.footer-inner nav, .footer-inner p, .footer-trust, .footer-bottom { color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-inner nav a { min-height: 28px; }

/* Homepage: real task links, a searchable catalogue and readable product facts. */
.home-page { background: #fff; }
.home-width { width: calc(100% - 96px); max-width: 1240px; margin-inline: auto; }
.home-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; padding-block: 44px; }
.home-eyebrow, .home-section-label { color: var(--green); font-size: 11px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.home-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.home-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px #eaf5ee; flex-shrink: 0; }
.home-hero h1 { font-size: clamp(40px, 4vw, 56px); font-weight: 660; line-height: 1.1; letter-spacing: -.05em; margin-bottom: 18px; }
.home-hero h1 span { display: block; color: var(--green); }
.home-description { max-width: 54ch; font-size: 15px; line-height: 1.75; margin-bottom: 22px; }
.home-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 17px 0 0; }
.home-trust li { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.home-trust .icon { width: 14px; height: 14px; color: var(--green); }
.home-start { min-width: 0; }
.home-start-heading { margin-bottom: 15px; }
.home-start-heading h2 { font-size: 14px; font-weight: 600; margin: 0; letter-spacing: 0; }
.home-featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.home-featured { display: flex; align-items: center; min-width: 0; min-height: 94px; gap: 12px; padding: 17px; border: 1px solid #e1e7e4; border-radius: 10px; background: #f7f9f8; transition: border-color .18s, box-shadow .18s, transform .18s; }
.home-featured:hover { border-color: #a3bfb0; box-shadow: 0 6px 18px #193d2710; transform: translateY(-2px); }
.home-featured-pdf { background: #edf6f0; border-color: #d7e8dc; }
.home-featured-studio { background: #f9f5ee; border-color: #eee5d6; }
.home-featured-ocr { background: #f0f3fa; border-color: #e1e6f0; }
.home-featured-transcribe { background: #f6f2f8; border-color: #e9e1ee; }
.home-tool-icon { width: 39px; height: 39px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #e9f4ed; color: #23734e; }
.home-tool-icon .icon { width: 20px; height: 20px; }
.home-featured .home-tool-icon { width: 34px; height: 34px; background: #ffffffb3; }
.home-featured-studio .home-tool-icon { color: #946432; }
.home-featured-ocr .home-tool-icon { color: #5569a2; }
.home-featured-transcribe .home-tool-icon { color: #826096; }
.home-featured h3 { font-size: 14px; line-height: 1.45; letter-spacing: -.02em; margin: 0; }
.home-featured-copy { min-width: 0; flex: 1; }
.home-featured-copy small { display: block; font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 5px; }
.home-featured-arrow { width: 15px; height: 15px; color: #476152; }
.home-catalog-section { background: #f8faf9; border-block: 1px solid #e8edea; padding-block: 48px 54px; scroll-margin-top: 24px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 27px; }
.home-section-label { margin-bottom: 10px; }
.home-section-heading h2, .home-how h2, .home-faq h2 { font-size: 30px; font-weight: 640; line-height: 1.25; letter-spacing: -.04em; margin-bottom: 10px; }
.home-section-heading p:last-child { font-size: 14px; margin: 0; }
.home-workspace-link { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: 13px; color: var(--green); font-weight: 550; }
.home-workspace-link .icon { width: 17px; height: 17px; }
.home-catalog-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.home-search-form { margin: 0; }
.home-search { min-width: 0; display: flex; align-items: center; gap: 13px; padding-inline: 16px 7px; height: 56px; border: 1px solid #d6e0da; border-radius: 9px; background: #fff; flex: 1; box-shadow: 0 2px 3px #203e2d03; }
.home-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px #147d5714; }
.home-search > .icon { width: 20px; color: #6a8073; }
.home-search input { flex: 1; width: 100%; min-width: 0; border: 0; background: none; color: var(--ink); font-size: 14px; height: 100%; outline: none; }
.home-search input::placeholder { color: var(--muted); opacity: 1; }
.home-search-submit { background: var(--green); color: #fff; border: 0; border-radius: 6px; min-height: 40px; padding-inline: 16px; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.home-search-submit:hover { background: var(--green-hover); }
.home-search-feedback { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); min-height: 28px; margin-top: 3px; }
.home-search-feedback .icon { width: 14px; height: 14px; margin-inline-start: 5px; color: var(--green); }
.home-search-feedback:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.home-search kbd { width: 23px; height: 25px; border: 1px solid var(--border); border-radius: 4px; text-align: center; color: #6a7a70; font: 12px/23px var(--font); }
.home-allowance { position: relative; }
.home-allowance > summary { height: 44px; display: flex; align-items: center; gap: 10px; padding-inline: 17px; font-size: 12px; color: var(--muted); cursor: pointer; list-style: none; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.home-allowance > summary::-webkit-details-marker { display: none; }
.home-allowance > summary strong { color: var(--ink); margin-inline-end: 4px; }
.home-allowance > summary > .icon { width: 17px; height: 17px; }
.home-allowance > summary > .icon:last-child { width: 13px; }
.home-allowance-panel { position: absolute; inset-inline-end: 0; top: 51px; z-index: 10; width: 275px; max-width: calc(100vw - 48px); }
.home-allowance-panel .quota-card { margin: 0; padding: 22px; box-shadow: 0 12px 40px #193d2720; }
.home-allowance-panel .quota-card .small { font-size: 12px; }
.home-catalog-controls { display: flex; align-items: center; gap: 20px; justify-content: space-between; border-bottom: 1px solid var(--border); padding-block: 17px; margin-bottom: 25px; }
.home-categories { display: flex; flex-wrap: wrap; gap: 5px; }
.home-category { border: 0; background: none; border-radius: 6px; padding: 10px 12px; min-height: 40px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.home-category:hover { background: #edf2ee; color: var(--ink); }
.home-category.is-active { background: #e4f0e9; color: #126b48; font-weight: 650; }
.home-results { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; color: var(--muted); font-size: 11px; }
.home-results .text-button { font-size: 11px; padding: 2px 0; }
.home-tool-group + .home-tool-group { margin-top: 28px; }
.home-group-heading { display: flex; align-items: baseline; gap: 15px; margin-bottom: 13px; }
.home-group-heading h3 { font-size: 14px; font-weight: 650; letter-spacing: -.01em; margin: 0; }
.home-group-heading p { font-size: 12px; margin: 0; }
.home-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.home-tool-card { display: flex; align-items: flex-start; min-width: 0; gap: 13px; padding: 19px 17px; border: 1px solid #e1e7e3; border-radius: 9px; background: #fff; transition: border-color .18s, box-shadow .18s; }
.home-tool-card:hover { border-color: #8fbaa2; box-shadow: 0 3px 10px #173d2709; }
.home-tool-card .home-tool-icon { width: 36px; height: 36px; border-radius: 8px; }
.home-tool-card .home-tool-icon .icon { width: 19px; height: 19px; }
.home-tool-copy { min-width: 0; flex: 1; }
.home-tool-copy h4 { font-size: 14px; font-weight: 620; line-height: 1.4; letter-spacing: -.02em; margin: 0 0 5px; }
.home-tool-copy > span { display: block; color: var(--muted); font-size: 12px; line-height: 1.65; }
.home-unavailable { display: block; color: #855b24; font-size: 11px; margin-top: 6px; }
.home-card-arrow { width: 15px; height: 15px; color: #718879; margin-top: 10px; flex-shrink: 0; }
.home-tool-icon.tone-documents { background: #eef1fb; color: #5b6aab; }
.home-tool-icon.tone-media { background: #faf1e6; color: #966633; }
.home-tool-icon.tone-productivity { background: #eaf3fa; color: #427b9f; }
.home-tool-icon.tone-business { background: #f3edf8; color: #856297; }
.home-how { display: grid; grid-template-columns: .8fr 2.2fr; gap: 50px; padding-block: 58px; }
.home-how h2 { font-size: 28px; }
.home-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; }
.home-step-number { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 15px; }
.home-steps h3 { font-size: 15px; line-height: 1.4; margin-bottom: 9px; }
.home-steps p { font-size: 12px; line-height: 1.85; margin: 0; }
.home-workspace-banner { display: flex; align-items: center; gap: 24px; background: #183d2e; border-radius: 12px; padding: 30px 34px; color: #fff; }
.home-workspace-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid #41644f; border-radius: 12px; color: #b5dac2; }
.home-workspace-icon .icon { width: 24px; height: 24px; }
.home-workspace-banner > div { flex: 1; }
.home-workspace-banner h2 { font-size: 23px; font-weight: 580; margin-bottom: 6px; }
.home-workspace-banner p { color: #c6dbce; margin: 0; font-size: 13px; }
.home-workspace-banner .button { background: #fff; border-color: #fff; color: #1a432e; font-size: 12px; min-height: 44px; flex-shrink: 0; }
.home-workspace-banner .button:hover { background: #ecf5ef; border-color: #ecf5ef; }
.home-faq { display: grid; grid-template-columns: 1fr 2fr; gap: 90px; padding-block: 64px; }
.home-faq h2 { font-size: 28px; }
.home-faq-intro .text-link { margin-top: 10px; }
.home-question { border-bottom: 1px solid var(--border); }
.home-question:first-child { border-top: 1px solid var(--border); }
.home-question summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding-block: 19px; min-height: 60px; font-size: 14px; font-weight: 550; cursor: pointer; }
.home-question summary::-webkit-details-marker { display: none; }
.home-question summary > span { color: var(--green); font-size: 22px; font-weight: 400; transition: transform .15s; }
.home-question[open] summary > span { transform: rotate(45deg); }
.home-question > div { padding: 0 28px 21px 0; }
.home-question p { font-size: 13px; line-height: 1.85; margin-bottom: 12px; }
.home-question p:last-child { margin-bottom: 0; }
.home-question .editorial-links { font-size: 12px; gap: 20px; }
.home-faq-link { margin-top: 20px; }
html[dir=rtl] .home-hero h1 { line-height: 1.35; letter-spacing: -.035em; }
html[dir=rtl] .home-eyebrow, html[dir=rtl] .home-section-label { letter-spacing: 0; }
html[dir=rtl] .home-question > div { padding-inline: 0 28px; }
html[dir=rtl] .home-card-arrow, html[dir=rtl] .home-featured-arrow, html[dir=rtl] .home-search-feedback .icon { transform: rotate(180deg); }
@media (max-width: 1100px) {
  .home-width { width: calc(100% - 64px); }
  .home-hero { gap: 36px; padding-block: 36px; }
  .home-hero h1 { font-size: 45px; }
  .home-featured { padding: 14px; gap: 9px; }
  .home-featured-arrow { display: none; }
  .home-catalog-controls { align-items: flex-start; }
  .home-category { font-size: 11px; padding-inline: 9px; }
  .home-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-how { gap: 30px; grid-template-columns: .65fr 2.35fr; }
  .home-steps { gap: 23px; }
  .home-faq { gap: 50px; }
}
@media (max-width: 800px) {
  .home-width, .header-inner, .footer-inner, .footer-bottom { width: calc(100% - 40px); }
  .header-inner { height: 72px; gap: 20px; }
  .header-actions { gap: 12px; }
  .header-actions > .button { font-size: 12px; padding-inline: 12px; }
  .home-hero { grid-template-columns: 1fr; gap: 25px; padding-block: 30px; }
  .home-hero h1 { font-size: 46px; }
  .home-description { max-width: 60ch; font-size: 15px; margin-bottom: 19px; }
  .home-hero-copy { max-width: 640px; }
  .home-eyebrow { margin-bottom: 15px; }
  .home-trust { margin-top: 10px; }
  .home-featured { padding: 16px; min-height: 76px; }
  .home-featured h3 { font-size: 15px; }
  .home-start-heading { margin-bottom: 13px; }
  .home-catalog-section { padding-block: 35px; }
  .home-section-heading h2 { font-size: 27px; }
  .home-section-heading { align-items: flex-start; gap: 18px; flex-wrap: wrap; }
  .home-catalog-actions { justify-content: flex-start; gap: 18px; }
  .home-workspace-link { font-size: 12px; }
  .home-workspace-link > .icon:first-child { display: none; }
  .home-allowance > summary { padding-inline: 12px; font-size: 11px; }
  .home-search input { font-size: 16px; }
  .home-catalog-controls { flex-direction: column; gap: 12px; padding-block: 14px; margin-bottom: 22px; }
  .home-categories { gap: 5px; }
  .home-category { font-size: 12px; min-height: 44px; padding-inline: 12px; }
  .home-results { flex-direction: row; align-items: center; gap: 15px; }
  .home-group-heading { display: block; }
  .home-group-heading h3 { margin-bottom: 5px; font-size: 15px; }
  .home-group-heading p { font-size: 12px; }
  .home-how { grid-template-columns: 1fr; gap: 25px; padding-block: 38px; }
  .home-how h2 { margin: 0; }
  .home-workspace-banner { padding: 25px; gap: 18px; flex-wrap: wrap; }
  .home-workspace-banner h2 { font-size: 21px; }
  .home-workspace-banner > div { flex-basis: calc(100% - 70px); }
  .home-workspace-banner .button { margin-inline-start: 66px; }
  .home-faq { grid-template-columns: 1fr; gap: 24px; padding-block: 40px; }
  .home-faq h2 { margin-bottom: 0; }
  .home-faq-intro .text-link { margin-top: 12px; }
}
@media (max-width: 540px) {
  .header-inner { gap: 10px; height: 68px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 26px; height: 26px; }
  .header-actions { gap: 9px; }
  .header-actions > .button { font-size: 11px; min-height: 40px; padding-inline: 10px; }
  .language-menu summary > span { display: none; }
  .language-menu summary { min-width: 26px; min-height: 44px; justify-content: center; }
  .login-link { font-size: 12px; }
  .home-hero h1 { font-size: 39px; }
  html[lang=ru] .home-hero h1 { font-size: 34px; }
  html[lang=fa] .home-hero h1 { font-size: 35px; }
  .home-eyebrow { font-size: 10px; letter-spacing: .06em; }
  .home-description { font-size: 14px; line-height: 1.75; }
  .home-trust { gap: 8px 13px; }
  .home-trust li { font-size: 10px; }
  .home-start-heading h2 { font-size: 13px; }
  .home-featured-grid { gap: 9px; }
  .home-featured { padding: 13px 11px; min-height: 80px; gap: 9px; }
  .home-featured h3 { font-size: 13px; line-height: 1.5; }
  .home-featured .home-tool-icon { width: 30px; height: 30px; }
  .home-featured .home-tool-icon .icon { width: 18px; height: 18px; }
  .home-section-heading { display: block; margin-bottom: 23px; }
  .home-section-heading h2 { font-size: 26px; }
  .home-section-heading p:last-child { font-size: 13px; }
  .home-workspace-link { min-height: 28px; }
  .home-catalog-actions { margin-top: 15px; gap: 12px; }
  .home-search { gap: 9px; height: 54px; padding-inline: 12px 6px; }
  .home-search-submit { padding-inline: 12px; font-size: 12px; }
  .home-search kbd { display: none; }
  .home-allowance { align-self: flex-start; }
  .home-allowance > summary { height: 44px; padding-inline: 12px; }
  .home-allowance-panel { inset-inline: 0 auto; top: 51px; }
  .home-categories { gap: 5px; }
  .home-category { padding-inline: 10px; font-size: 11px; }
  .home-tool-grid { grid-template-columns: 1fr; gap: 8px; }
  .home-tool-card { padding: 16px; gap: 13px; }
  .home-tool-copy h4 { font-size: 15px; }
  .home-tool-copy > span { font-size: 13px; }
  .home-tool-card .home-tool-icon { width: 38px; height: 38px; }
  .home-card-arrow { margin-top: 11px; }
  .home-steps { grid-template-columns: 1fr; gap: 23px; }
  .home-steps li { padding-inline-start: 43px; position: relative; }
  .home-step-number { position: absolute; inset-inline-start: 0; top: 3px; margin: 0; }
  .home-steps h3 { font-size: 16px; margin-bottom: 7px; }
  .home-steps p { font-size: 13px; }
  .home-workspace-banner { padding: 24px; }
  .home-workspace-icon { display: none; }
  .home-workspace-banner > div { flex-basis: 100%; }
  .home-workspace-banner .button { margin-inline-start: 0; }
  .home-question summary { font-size: 14px; }
  .home-question > div, html[dir=rtl] .home-question > div { padding-inline: 0; }
  .footer-inner { padding-block: 30px; }
}
@media (max-width: 360px) {
  .home-width, .header-inner, .footer-inner, .footer-bottom { width: calc(100% - 32px); }
  .brand { font-size: 19px; gap: 5px; }
  .header-actions { gap: 6px; }
  .header-actions > .button { font-size: 10px; padding-inline: 8px; }
  .home-hero h1 { font-size: 36px; }
  html[lang=ru] .home-hero h1 { font-size: 29px; }
  html[lang=fa] .home-hero h1 { font-size: 31px; }
  .home-featured h3 { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-featured, .home-tool-card, .home-question summary > span { transition: none; }
  .home-featured:hover { transform: none; }
}

/* Readable cookie inventory on narrow screens and in RTL languages. */
.privacy-storage { margin-block: 28px; }
.privacy-storage-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-block: 18px; }
.privacy-storage-table th, .privacy-storage-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: start; vertical-align: top; overflow-wrap: anywhere; }
.privacy-storage-table th:first-child { width: 32%; }
.privacy-storage-table tbody th { font-weight: 500; }
.privacy-storage-table th .small { display: block; color: var(--muted); margin-block-start: 6px; }
.privacy-storage-table td { color: var(--muted); line-height: 1.7; }
.privacy-storage-table code { white-space: normal; }
@media (max-width: 540px) {
  .privacy-storage-table th, .privacy-storage-table td { padding: 12px 6px; font-size: 12px; }
  .privacy-storage-table th:first-child { width: 35%; }
}
