@layer reset, base, layout, components, workspace, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p { margin: 0; }
  button, input, select { font: inherit; }
  button, a, input, select { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  img, svg { display: block; }
  img { max-width: 100%; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    --ink: #151b35;
    --slate: #263453;
    --muted: #647494;
    --soft: #8f9dc0;
    --line: #e3e8ff;
    --paper: #f0f3ff;
    --wash: #f8faff;
    --white: #fff;
    --blue: #4c6aff;
    --violet: #8861ff;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: white;
    font-synthesis: none;
  }
  html { scroll-behavior: smooth; scroll-padding-top: 110px; }
  body { font-size: 15px; line-height: 1.6; }
  ::selection { color: white; background: #6f76ef; }
  :focus-visible { outline: 3px solid #6e80ff; outline-offset: 4px; }
  h1, h2, h3 { line-height: 1.2; letter-spacing: -.045em; font-weight: 750; }
  h1 { font-size: clamp(32px, 4.2vw, 54px); }
  h2 { font-size: clamp(26px, 2.6vw, 36px); }
  h3 { font-size: 18px; letter-spacing: -.03em; }
  p { color: var(--muted); }
  .icon { width: 24px; height: 24px; flex: 0 0 auto; }
  .container { width: min(1352px, calc(100% - 96px)); margin-inline: auto; }
  .eyebrow { display: flex; align-items: center; gap: 16px; color: #6575ff; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
  .eyebrow-line { height: 2px; width: 36px; background: #c7ceff; }
  .gradient-text { color: #6471ff; background: linear-gradient(105deg, #418fff 4%, #7873ff 57%, #8d59ff); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
  .hand-underline { position: relative; isolation: isolate; }
  .hand-underline::after { content: ''; position: absolute; z-index: -1; left: 0; right: -1%; bottom: -.055em; height: .15em; border-top: .055em solid #6979ff; border-radius: 50%; transform: rotate(-1.4deg); }
  .hand-underline::before { content: ''; position: absolute; right: -.7%; bottom: -.075em; width: 13%; height: .15em; border-bottom: .035em solid #9e8bff; border-right: .035em solid #9e8bff; border-radius: 50%; transform: rotate(5deg); }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; border-radius: 8px; background: white; padding: 12px 18px; }
  .skip-link:focus { top: 14px; }
}

@layer layout {
  .site-header { position: sticky; top: 0; z-index: 50; height: 88px; color: white; background-color: #111827; background-image: linear-gradient(110deg, #1c253b, #151c30); transition: background-color .25s; }
  .header-inner { display: flex; align-items: center; gap: 30px; min-height: 88px; border: 1px solid transparent; transition: width .25s, min-height .25s, padding .25s, border-radius .25s, transform .25s, box-shadow .25s; }
  .brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; font-size: 32px; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
  .brand-mark { display: block; width: 50px; height: 50px; flex: 0 0 auto; border-radius: 12px; overflow: hidden; background: linear-gradient(140deg, #76abff 4%, #6584ff 46%, #b48aff); box-shadow: inset 0 1px 1px #ffffff50, 0 3px 10px #060b2320; transition: width .25s, height .25s; }
  .brand-mark img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .brand-light { color: #6c91ff; }
  #main-nav { display: flex; align-items: center; gap: 38px; margin-inline: auto; font-size: 15px; font-weight: 450; }
  #main-nav > a, .nav-tools > a { position: relative; padding-block: 29px; color: #f3f5ff; white-space: nowrap; transition: color .2s; }
  #main-nav > a:hover, .nav-tools > a:hover { color: #a8b6ff; }
  #main-nav a[aria-current="page"] { color: white; font-weight: 650; }
  #main-nav > a[aria-current]::after, .nav-tools > a[aria-current]::after { content: ''; position: absolute; left: -7px; right: -7px; bottom: 12px; height: 3px; border-radius: 5px; background: linear-gradient(90deg, #699eff, #a388ff); }
  .nav-tools { display: flex; align-items: center; gap: 4px; position: relative; }
  .tools-toggle { display: grid; place-items: center; width: 25px; height: 32px; padding: 0; color: #b5c1e0; border: 0; border-radius: 5px; background: transparent; }
  .tools-toggle .icon { width: 13px; height: 13px; transition: transform .2s; }
  .tools-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .tools-toggle:hover { background: #ffffff0d; color: white; }
  .tools-menu { position: absolute; top: calc(100% - 1px); left: -25px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: 440px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); box-shadow: 0 18px 50px #19235326; }
  .tools-menu a { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 10px; color: var(--slate); font-size: 13px; }
  .tools-menu a:hover { background: #f1f3ff; color: #4c5af3; }
  .tools-menu .icon { width: 25px; height: 25px; color: #6b75f6; }
  .header-note { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 19px; min-height: 50px; border: 1px solid #7b8ac4; border-radius: 12px; font-size: 14px; white-space: nowrap; transition: background .2s; }
  .header-note:hover { background: #7186ff16; }
  .header-note .icon { width: 24px; height: 24px; color: #6c99ff; }
  .menu-toggle { display: none; border: 1px solid #67749d; border-radius: 10px; padding: 9px; color: white; background: transparent; }
  .site-header.is-scrolled { background: transparent; pointer-events: none; }
  .is-scrolled .header-inner { width: min(1280px, calc(100% - 48px)); min-height: 70px; padding: 0 23px; border-color: #7782ad30; border-radius: 18px; background: #07152fee; box-shadow: 0 10px 32px #15235020; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); transform: translateY(8px); pointer-events: auto; }
  .is-scrolled .brand { font-size: 27px; }
  .is-scrolled .brand-mark { width: 38px; height: 38px; border-radius: 10px; }
  .is-scrolled #main-nav { font-size: 14px; gap: 30px; }
  .is-scrolled #main-nav > a, .is-scrolled .nav-tools > a { padding-block: 21px; }
  .is-scrolled #main-nav > a[aria-current]::after, .is-scrolled .nav-tools > a[aria-current]::after { bottom: 9px; height: 2px; }
  .is-scrolled .header-note { min-height: 44px; padding: 9px 15px; font-size: 13px; border-color: #667cb5; background: #ffffff06; }

  .hero-section { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 20%, #e6eaffaa, transparent 48%), radial-gradient(ellipse at 60% 70%, #f3f2ff66, transparent 45%); }
  .hero-section::before, .hero-section::after { content: ''; position: absolute; width: 90px; height: 100px; background-image: radial-gradient(#a3aaff 1.5px, transparent 1.5px); background-size: 14px 14px; opacity: .38; pointer-events: none; }
  .hero-section::before { top: 20px; right: -2px; }
  .hero-section::after { bottom: 20px; left: -50px; }
  .hero { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); align-items: center; min-height: 740px; padding-block: 58px 53px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-copy h1 { font-size: clamp(48px, 5.5vw, 84px); font-weight: 850; line-height: 1; letter-spacing: -.052em; }
  .hero-title-first { display: block; line-height: .94; }
  .hero-copy h1 > .gradient-text { display: table; font-size: 1.1em; line-height: 1; margin-top: -.12em; margin-bottom: -.02em; }
  .hero-title-last { display: block; white-space: nowrap; font-size: .95em; line-height: 1.08; letter-spacing: -.05em; }
  .hero-description { max-width: 690px; margin-top: 12px; font-size: 22px; line-height: 1.48; color: #5c6a8e; }
  .hero-actions { display: flex; align-items: center; gap: 19px; margin-top: 33px; }
  .hero-benefits { display: flex; align-items: center; gap: 21px; margin-top: 45px; }
  .hero-benefit { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
  .hero-benefit + .hero-benefit { border-left: 1px solid #d9dfff; padding-left: 22px; }
  .benefit-icon { display: grid; place-items: center; width: 61px; height: 61px; border-radius: 50%; flex: 0 0 auto; }
  .benefit-icon .icon { width: 33px; height: 33px; stroke-width: 1.9; }
  .benefit-green { color: #009c79; background: #e6faf2; }
  .benefit-violet { color: #8556ed; background: #f6f0ff; }
  .benefit-blue { color: #245aff; background: #edf3ff; }
  .hero-benefit strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.025em; }
  .hero-benefit small { display: block; margin-top: 3px; font-size: 13px; color: #68769a; }
  .hero-art { position: relative; height: 620px; margin-left: -25px; margin-right: -35px; display: flex; align-items: center; pointer-events: none; }
  .hero-art-glow { position: absolute; inset: 70px 20px 50px 40px; border-radius: 50%; background: radial-gradient(ellipse, #b9c5ff70, #b9c5ff00 70%); filter: blur(25px); }
  .floating-illustration { position: relative; width: 100%; max-width: none; height: auto; flex: 0 0 auto; margin-left: -12px; will-change: transform; animation: hero-float 6s ease-in-out infinite; }
  @keyframes hero-float { 0%, 100% { transform: translateY(0) rotate(-.7deg); } 50% { transform: translateY(-17px) rotate(.7deg); } }

  .privacy-section { position: relative; padding-block: 3px 25px; }
  .privacy-section::after { content: ''; position: absolute; right: -32px; bottom: -30px; width: 60px; height: 85px; background: radial-gradient(#b8bbff 1.4px, transparent 1.4px) 0 0 / 14px 14px; pointer-events: none; }
  .privacy-banner { display: flex; align-items: center; gap: 36px; padding: 25px 40px; min-height: 140px; border: 1px solid #d6dcff; border-radius: 20px; background: linear-gradient(110deg, #f5f6ff, #f4f4ffb0); }
  .privacy-symbol { display: grid; place-items: center; flex: 0 0 auto; width: 88px; height: 88px; border: 1px solid #d4d9ff; border-radius: 24px; color: #323d9e; background: #ffffffb5; box-shadow: 0 5px 12px #6974e00a; }
  .privacy-symbol .icon { width: 44px; height: 44px; }
  .privacy-copy { max-width: 750px; }
  .privacy-banner h2 { margin-bottom: 6px; font-size: 22px; letter-spacing: -.04em; }
  .privacy-banner p { max-width: 720px; font-size: 15px; line-height: 1.65; }
  .privacy-banner > a { display: flex; align-items: center; gap: 24px; margin-left: auto; padding-left: 36px; border-left: 1px solid #bac5ff; color: #4f60ff; font-size: 14px; line-height: 1.5; flex: 0 0 auto; }
  .privacy-arrow { display: grid; place-items: center; width: 53px; height: 53px; border: 1px solid #d9ddff; border-radius: 50%; background: #eaefff; color: #3448c5; transition: transform .2s; }
  .privacy-banner a:hover .privacy-arrow { transform: translateX(4px); }

  .catalog-section { position: relative; padding: 58px 0 25px; background: radial-gradient(ellipse at 83% 0, #e9ebff80, transparent 37%), linear-gradient(180deg, #fff, #fbfcff 75%, #fff); }
  .catalog-page .catalog-section { padding-top: 26px; }
  .catalog-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 56px; min-height: 190px; }
  .catalog-heading-copy h1, .catalog-heading-copy h2 { margin-top: 18px; font-size: clamp(32px, 3.1vw, 47px); line-height: 1.2; letter-spacing: -.048em; font-weight: 800; white-space: nowrap; }
  .catalog-heading-copy > p:last-child { max-width: 710px; margin-top: 16px; color: #657697; font-size: 18px; line-height: 1.55; }
  .catalog-search { display: flex; align-items: flex-end; position: relative; height: 190px; padding-bottom: 9px; }
  .catalog-art { position: absolute; left: -32px; right: -10px; top: -24px; height: 270px; pointer-events: none; }
  .catalog-art img { width: 100%; height: 100%; object-fit: contain; }
  .filter-tabs { margin-top: 24px; }
  .catalog-caption { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 28px; font-size: 12px; color: #7783a5; }
  .catalog-caption .icon { width: 15px; height: 15px; }

  .how-section { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 22px; padding-block: 48px 35px; }
  .how-panel { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(130deg, #fafbff, white); }
  .how-heading { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
  .how-heading h2 { font-size: 28px; }
  .how-steps { display: grid; grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr); align-items: stretch; gap: 12px; }
  .how-step { padding: 17px 20px; border: 1px solid #edf0ff; border-radius: 24px; background: #ffffffc9; }
  .how-step-top { display: flex; align-items: center; gap: 18px; }
  .how-step .step-number { display: grid; place-items: center; flex: 0 0 auto; width: 47px; height: 47px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 16%, white); background: var(--tint); color: var(--accent); font-size: 20px; font-weight: 650; }
  .step-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--tint), white); color: var(--accent); }
  .step-icon .icon { width: 43px; height: 43px; stroke-width: 1.6; }
  .how-step h3 { margin-top: 16px; font-size: 16px; letter-spacing: -.035em; }
  .how-step p { margin-top: 6px; font-size: 14px; line-height: 1.55; }
  .step-connector { display: grid; place-items: center; color: #8c97c6; }
  .step-connector .icon { width: 25px; height: 25px; }
  .advantages-panel { position: relative; overflow: hidden; padding: 23px; border: 1px solid #e1e4ff; border-radius: 22px; background: linear-gradient(130deg, #f4f4ff, #ecebff); }
  .advantages-panel::after { content: ''; position: absolute; width: 240px; height: 150px; bottom: -2px; right: -18px; border-bottom: 3px solid #d3d0ff; border-radius: 50%; transform: rotate(-25deg); pointer-events: none; }
  .advantages-title { display: flex; align-items: center; gap: 12px; }
  .advantages-title > span { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; border: 1px solid #ddd9ff; border-radius: 50%; background: linear-gradient(135deg, #e5e4ff, #d0d2ff); color: #4250ca; }
  .advantages-title .icon { width: 37px; height: 37px; }
  .advantages-title h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.025em; }
  .advantages-panel ul { position: relative; z-index: 1; list-style: none; padding: 0; margin: 19px 0 0; }
  .advantages-panel li { display: flex; align-items: center; gap: 11px; margin-top: 12px; color: #4f5e87; font-size: 14px; line-height: 1.5; }
  .advantages-panel li .icon { width: 23px; height: 23px; padding: 4px; border-radius: 50%; background: #e5e4ff; color: #6960ff; stroke-width: 2.5; }
  .advantages-spark { position: absolute; right: 28px; bottom: 78px; width: 22px; height: 4px; border-radius: 5px; background: #9b80ff; transform: rotate(-28deg); }
  .advantages-spark::before, .advantages-spark::after { content: ''; position: absolute; width: 20px; height: 4px; border-radius: 5px; background: #9b80ff; }
  .advantages-spark::before { left: -6px; top: -18px; transform: rotate(-30deg); }
  .advantages-spark::after { left: 4px; top: 18px; transform: rotate(34deg); }

  .faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 90px; padding-block: 58px 90px; }
  .faq-section h2 { margin-block: 14px 23px; }
  .site-footer { color: #dce2f6; padding-top: 50px; background: linear-gradient(110deg, #1d263e, #131c31); }
  .footer-top { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 60px; padding-bottom: 42px; }
  .footer-top .brand { color: white; font-size: 29px; }
  .footer-top .brand-mark { width: 44px; height: 44px; }
  .footer-top p { margin-top: 17px; color: #a5b0cd; font-size: 14px; line-height: 1.8; }
  .footer-top h2 { margin: 6px 0 18px; font-size: 15px; color: white; letter-spacing: -.015em; }
  .footer-top > div > a:not(.brand) { display: block; margin-top: 10px; font-size: 13px; color: #b9c2dc; }
  .footer-top a:hover { color: white; }
  .footer-note > .icon { color: #86a2ff; width: 28px; height: 28px; }
  .footer-note p { margin-top: 10px; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 23px; border-top: 1px solid #ffffff15; font-size: 12px; color: #9aa8c5; }
  .footer-credit strong { color: #bcc8e5; font-weight: 650; letter-spacing: .06em; }
  .back-to-top { position: fixed; z-index: 20; right: 26px; bottom: 28px; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #ffffff40; border-radius: 50%; color: white; background: linear-gradient(135deg, #7c9cff, #8070ff); box-shadow: 0 5px 14px #6d79ef30; transition: transform .2s; }
  .back-to-top .icon { width: 22px; height: 22px; transform: rotate(-90deg); }
  .back-to-top:hover { transform: translateY(-3px); }

  .info-page { max-width: 900px; min-height: 65vh; padding-block: 58px 80px; }
  .info-page h1 { margin-block: 12px 26px; }
  .info-page h2 { margin-block: 30px 12px; font-size: 24px; }
  .info-page p { margin-block: 12px; }
  .info-page a { color: #5264e8; text-decoration: underline; }
  .lead { font-size: 19px; }
  .info-panel { padding: 2px 25px 20px; border: 1px solid var(--line); border-radius: 16px; background: #f7f8ff; margin-block: 25px; }
  .draft-notice { padding: 16px; border-left: 3px solid #9ca6d4; background: #f5f6ff; font-size: 14px; }
  .empty-page { padding-block: 90px; min-height: 55vh; }
  .empty-page h1 { margin-block: 15px; }
  .empty-page .button { margin-top: 25px; }
}

@layer components {
  .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 21px; border: 1px solid #1c2547; border-radius: 11px; color: white; background: linear-gradient(120deg, #171e37, #242c50); font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
  .button:hover { background: #303a64; border-color: #303a64; box-shadow: 0 5px 15px #33498c20; }
  .button .icon { width: 19px; height: 19px; }
  .button.secondary { background: white; color: var(--ink); border-color: #d6def5; }
  .button.secondary:hover { background: #f2f4ff; border-color: #b7c4ff; }
  .button.small { min-height: 38px; padding: 9px 13px; font-size: 11px; }
  .hero-actions .button { min-height: 70px; padding: 17px 29px; border-radius: 100px; font-size: 19px; font-weight: 600; gap: 17px; white-space: nowrap; }
  .hero-actions .hero-primary { box-shadow: 0 9px 17px #668de52b, 0 4px 6px #9b87e321; }
  .hero-primary > .icon { width: 34px; height: 34px; }
  .hero-primary > .button-arrow { margin-left: 7px; width: 23px; height: 23px; }
  .hero-actions .hero-secondary { color: #5961ff; border-color: #d9d9ff; background: #f8f7ffb0; box-shadow: 0 3px 6px #757bea0a; }
  .hero-secondary > .icon { width: 39px; height: 39px; filter: drop-shadow(0 2px 2px #8a7aff30); }
  .hero-actions .button:hover { transform: translateY(-2px); }
  .hero-actions .hero-secondary:hover { background: #ededff; border-color: #bfc4ff; }
  button:disabled { opacity: .55; cursor: wait; }
  .text-link, .text-button { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #5766ce; }
  .text-link:hover, .text-button:hover { color: #394dde; text-decoration: underline; }
  .text-link .icon { width: 18px; height: 18px; }
  .text-button { border: 0; padding: 9px 4px; background: transparent; }
  .search-box { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 57px; padding: 14px 22px; border: 1px solid #eceeff; border-radius: 100px; background: #ffffffed; box-shadow: 0 9px 23px #717cf00b; }
  .search-box .icon { width: 24px; height: 24px; color: #96a0c2; }
  .search-box input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--slate); font-size: 15px; }
  .search-box input::placeholder { color: #8c99bf; opacity: 1; }
  .search-box:focus-within { border-color: #9aa7ff; outline: 3px solid #6574ff12; }
  .filter-tabs { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 34px; }
  .filter-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 47px; padding: 10px 23px; border: 1px solid #edf0ff; border-radius: 20px; color: #53658b; background: #f8f9ff; font-size: 14px; font-weight: 500; transition: background .2s, box-shadow .2s, transform .2s; }
  .filter-tabs button[aria-pressed="true"] { color: white; border-color: #8187ff; background: linear-gradient(115deg, #7d9eff, #6a5bff); box-shadow: 0 9px 17px #637aff27, inset 0 1px 2px #ffffff50; }
  .filter-tabs button span { display: grid; place-items: center; min-width: 26px; height: 23px; padding-inline: 6px; border-radius: 12px; color: white; background: #ffffff35; font-size: 12px; }
  .filter-tabs button:hover:not([aria-pressed="true"]) { background: #eff1ff; transform: translateY(-1px); }
  .tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 21px; }
  .tone-blue { --accent: #2162ff; --accent-ink: #2455e8; --tint: #edf2ff; --tint-strong: #e1eaff; }
  .tone-violet { --accent: #7b3dff; --accent-ink: #6c30e8; --tint: #f3edff; --tint-strong: #eee1ff; }
  .tone-green { --accent: #00b78b; --accent-ink: #008763; --tint: #e4faf2; --tint-strong: #d5f8ee; }
  .tone-orange { --accent: #ff880f; --accent-ink: #bd5900; --tint: #fff4e9; --tint-strong: #ffecd7; }
  .tone-rose { --accent: #f02b51; --accent-ink: #d61c44; --tint: #fff0f2; --tint-strong: #ffe2e8; }
  .tone-teal { --accent: #00b6ac; --accent-ink: #008980; --tint: #e4faf8; --tint-strong: #d7f7f5; }
  .tool-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 206px; padding: 21px 22px 18px; border: 1px solid #e2e7ff; border-radius: 20px; background: linear-gradient(140deg, white, #ffffffc2); transition: border-color .2s, box-shadow .2s, transform .2s; }
  .tool-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, white); box-shadow: 0 13px 32px #7a8bd416; }
  .tool-card:focus-visible { outline-offset: 3px; }
  .card-main { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: start; gap: 22px; }
  .tool-icon { position: relative; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 24px 29px 28px 23px; background: radial-gradient(ellipse at 70% 30%, #ffffffb0, transparent 64%), linear-gradient(140deg, var(--tint), var(--tint-strong)); color: var(--accent); box-shadow: 0 4px 7px color-mix(in srgb, var(--accent) 4%, transparent); }
  .tool-icon .icon { width: 45px; height: 45px; stroke-width: 1.85; }
  .card-copy { padding-top: 18px; min-width: 0; }
  .tool-card h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; letter-spacing: -.035em; }
  .tool-card p { min-height: 61px; color: #6a7b9d; font-size: 14px; line-height: 1.5; }
  .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
  .category-label { padding: 6px 14px; border-radius: 50px; background: var(--tint); color: var(--accent-ink); font-size: 13px; line-height: 1.7; }
  .card-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--accent); background: var(--tint); }
  .card-arrow .icon { width: 21px; height: 21px; transition: transform .2s; }
  .tool-card:hover .card-arrow .icon { transform: translateX(3px); }
  .empty-message { padding: 40px 0; text-align: center; }
  .faq-list details { border-bottom: 1px solid var(--line); }
  .faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 21px 28px 21px 0; font-size: 15px; font-weight: 600; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary::after { content: '+'; position: absolute; right: 3px; top: 14px; font-size: 24px; font-weight: 400; color: #8c92cb; }
  .faq-list details[open] summary::after { content: '−'; }
  .faq-list details p { padding: 0 18px 20px 0; font-size: 14px; line-height: 1.8; }
  .message { margin-bottom: 18px; padding: 14px 17px; border-radius: 11px; font-size: 13px; }
  .message.error { background: #fff5f4; border: 1px solid #edceca; color: #973d37; }
  .message.info { background: #f1f4ff; border: 1px solid #dce3ff; }
  .steps-grid .step-number { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #dfe3ff; border-radius: 10px; background: #f0f2ff; color: #6572dd; font-size: 13px; font-weight: 600; flex: 0 0 auto; }
  .steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; }
  .steps-grid article { position: relative; }
  .steps-grid h3 { margin-block: 14px 10px; font-size: 17px; }
  .steps-grid p { font-size: 13px; line-height: 1.85; }
}

@layer workspace {
  .office-disclosure { display: flex; align-items: flex-start; gap: 12px; }
  .office-disclosure strong { display: block; margin-bottom: 3px; }
  .office-disclosure .icon { margin-top: 3px; color: #6278eb; }
  .office-file-name { overflow-wrap: anywhere; font-size: 14px; color: var(--ink); }
  .office-ocr-option { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; }
  .office-ocr-option input { width: 18px; height: 18px; margin: 3px 0 0; flex: 0 0 auto; accent-color: #6574ee; }
  .office-ocr-option strong { display: block; font-size: 13px; }
  .office-ocr-option small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }
  .office-ocr-detection { margin-top: 12px; font-size: 12px; }
  .tool-heading { padding-block: 25px 30px; text-align: center; }
  .tool-back { display: flex; align-items: center; gap: 9px; width: fit-content; min-height: 41px; margin-bottom: 27px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 50px; background: #f8f9ff; color: #6172a2; font-size: 13px; transition: color .2s, border-color .2s, background .2s; }
  .tool-back .icon { width: 20px; height: 20px; color: #6575ef; transform: rotate(180deg); }
  .tool-back:hover { border-color: #c5ceff; background: #eef1ff; color: #4d5ed7; }
  .heading-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 15px; border: 1px solid #e0e6ff; border-radius: 18px; background: #eef2ff; color: #6572e4; }
  .heading-icon .icon { width: 37px; height: 37px; }
  .tool-heading h1 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 43px); }
  .tool-heading > p { max-width: 650px; margin-inline: auto; font-size: 15px; }
  .workspace { max-width: 970px; padding-bottom: 25px; }
  .workflow { display: flex; align-items: center; justify-content: center; gap: 17px; margin-bottom: 24px; color: #929cba; font-size: 11px; }
  .workflow span { display: flex; align-items: center; gap: 7px; }
  .workflow b { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; border: 1px solid #dfe4f8; font-weight: 500; }
  .workflow .active { color: #5b6ce2; }
  .workflow .active b { color: white; background: #6575ef; border-color: #6575ef; }
  .workflow i { width: 44px; height: 1px; background: #e0e5fa; }
  .upload-zone { padding: 35px 20px 27px; text-align: center; border: 1.5px dashed #bdc9ff; border-radius: 20px; background: linear-gradient(135deg, #f9faff, #f5f7ff); cursor: pointer; transition: border-color .2s, background .2s; }
  .upload-zone.drag-over { border-color: #6575ef; background: #edf0ff; }
  .upload-zone h2 { margin-top: 13px; font-size: 21px; letter-spacing: -.025em; }
  .upload-zone > p { margin-top: 6px; font-size: 13px; }
  .upload-icon { display: grid; place-items: center; width: 53px; height: 53px; margin-inline: auto; border-radius: 15px; background: #edf0ff; color: #6974e7; }
  .upload-icon .icon { width: 29px; height: 29px; }
  .file-button { margin-block: 19px 14px; }
  .upload-zone small { display: block; font-size: 11px; color: #7483a5; }
  .local-note { display: flex; justify-content: center; align-items: center; gap: 6px; margin-block: 13px 22px; color: #7483a5; font-size: 11px; }
  .local-note .icon { width: 14px; height: 14px; }
  .editor { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: #fafbff; }
  .editor-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
  .editor-top h2 { font-size: 18px; }
  .editor-top span { font-size: 11px; color: #7886a6; }
  .editor-top-actions { display: flex; align-items: center; gap: 12px; }
  .file-list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
  .file-item { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 11px; border: 1px solid #e0e5f7; border-radius: 11px; background: white; }
  .file-type { display: grid; place-items: center; overflow: hidden; width: 33px; height: 39px; flex-shrink: 0; border-radius: 6px; color: #6276ce; background: #eef2ff; font-size: 9px; font-weight: 700; }
  .file-type img { width: 100%; height: 100%; object-fit: cover; }
  .file-description { min-width: 0; flex: 1; }
  .file-description strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; font-weight: 550; }
  .file-description small { display: block; color: #7885a5; font-size: 10px; }
  .file-item-actions { display: flex; gap: 2px; }
  .icon-button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #7383a7; font-size: 16px; }
  .icon-button:hover { border-color: #dde3ff; background: #f0f3ff; }
  .drag-handle { cursor: grab; touch-action: none; }
  .drag-handle:active { cursor: grabbing; }
  .sortable-ghost { opacity: .35; }
  .sortable-drag { background: white; }
  .page-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 24px 12px; }
  .page-controls strong { font-size: 12px; }
  .page-controls span { margin-left: 9px; color: #7885a5; font-size: 10px; }
  .selection-actions { display: flex; gap: 12px; }
  .selection-actions button { font-size: 10px; }
  .page-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .page-card { position: relative; min-width: 0; padding: 10px 8px 5px; border: 1px solid #dce3f6; border-radius: 10px; background: #f0f3fb; }
  .page-card.selected { border-color: #7888ed; background: #ebefff; box-shadow: 0 0 0 1px #7888ed; }
  .page-card.selected.to-delete { border-color: #d4858a; background: #fff0f1; box-shadow: 0 0 0 1px #d4858a; }
  .page-preview { display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; height: 165px; }
  .page-preview canvas { width: auto; height: auto; max-width: 100%; max-height: 145px; background: white; box-shadow: 0 1px 4px #11182710; }
  .page-preview .preview-placeholder { color: #98a3bd; font-size: 10px; }
  .page-checkbox { position: absolute; top: 9px; right: 9px; z-index: 1; width: 17px; height: 17px; accent-color: #6575e7; cursor: pointer; }
  .page-card-label { padding-top: 5px; text-align: center; font-size: 10px; color: #62759b; }
  .page-card-actions { display: flex; justify-content: center; gap: 3px; margin-top: 5px; }
  .page-card-actions .icon-button { width: 29px; height: 27px; }
  .page-card-select { cursor: pointer; display: block; }
  .page-card label:focus-within { outline: 2px solid #7a87e0; }
  #more-pages { display: flex; margin: 15px auto 0; }
  .tool-form { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 21px; }
  .settings { display: flex; gap: 18px; flex-wrap: wrap; }
  .field { flex: 1; min-width: 190px; }
  .field label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 550; }
  .field input, .field select { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #d3dcf4; border-radius: 8px; background: white; color: var(--ink); font-size: 12px; }
  .field small { display: block; margin-top: 5px; font-size: 10px; color: #7382a4; }
  .tool-hint { display: flex; align-items: flex-start; gap: 7px; margin-top: 17px; font-size: 11px; line-height: 1.7; color: #7382a4; }
  .tool-hint .icon { width: 15px; height: 15px; margin-top: 2px; }
  .process-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 23px; }
  .process-actions > span { font-size: 11px; color: #7885a5; }
  #process-button .icon { width: 24px; height: 24px; }
  .compression-option { display: flex; align-items: center; gap: 13px; }
  .compression-option strong { font-size: 12px; }
  .compression-option p { font-size: 11px; margin-top: 3px; }
  .compression-option > .icon { color: #6577d6; }
  .processing, .result-box { padding: 42px 26px; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: #f9faff; }
  .processing h2, .result-box h2 { margin-block: 18px 10px; font-size: 25px; }
  .processing p, .result-box > p { font-size: 13px; }
  .processing progress { display: block; width: min(100%, 330px); height: 6px; margin: 23px auto 10px; accent-color: #6575e7; }
  .spinner { display: block; width: 32px; height: 32px; margin-inline: auto; border: 3px solid #e1e6ff; border-top-color: #6575e7; border-radius: 50%; animation: spin 1s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .result-check { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 18px; border-radius: 50%; color: #009d77; background: #e1f9ef; }
  .result-check .icon { width: 29px; height: 29px; }
  .result-box .eyebrow { justify-content: center; font-size: 10px; }
  .result-box h2 { margin-top: 8px; }
  .result-actions { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
  .result-stats { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 20px; }
  .result-stats div { display: grid; gap: 4px; }
  .result-stats small { font-size: 10px; color: #7382a4; }
  .result-stats strong { font-size: 19px; }
  .result-name { overflow-wrap: anywhere; margin-top: 16px; }
  .result-box > small { display: block; margin-top: 20px; color: #7885a5; font-size: 10px; }
  .tool-help { max-width: 970px; padding-block: 28px 30px; }
  .tool-help > h2 { margin-bottom: 25px; font-size: 24px; }
  .tool-help .steps-grid { margin-bottom: 27px; }
  .tool-help .steps-grid p { margin-top: 13px; }
  .related-section { padding-block: 20px 60px; }
  .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
  .related-section h2 { font-size: 25px; }
}

@layer responsive {
  @media (min-width: 1600px) { .hero-art { margin-right: -45px; } }
  @media (max-width: 1250px) {
    .container { width: calc(100% - 72px); }
    .header-inner { gap: 24px; }
    .brand { font-size: 29px; }
    #main-nav { gap: 26px; font-size: 14px; }
    .header-note { padding-inline: 13px; font-size: 12px; gap: 9px; }
    .hero { min-height: 685px; }
    .hero-copy h1 { font-size: 65px; }
    .hero-description { font-size: 20px; }
    .hero-actions { gap: 13px; }
    .hero-actions .button { min-height: 62px; padding-inline: 23px; gap: 12px; font-size: 16px; }
    .hero-primary > .icon { width: 29px; height: 29px; }
    .hero-primary > .button-arrow { width: 20px; height: 20px; margin-left: 1px; }
    .hero-secondary > .icon { width: 34px; height: 34px; }
    .hero-benefits { gap: 15px; }
    .hero-benefit + .hero-benefit { padding-left: 15px; }
    .benefit-icon { width: 49px; height: 49px; }
    .benefit-icon .icon { width: 28px; height: 28px; }
    .hero-benefit { gap: 9px; }
    .hero-benefit strong { font-size: 12px; }
    .hero-benefit small { font-size: 11px; }
    .hero-art { height: 550px; }
    .privacy-banner { gap: 24px; padding-inline: 28px; }
    .privacy-banner > a { padding-left: 24px; gap: 16px; font-size: 13px; }
    .privacy-symbol { width: 76px; height: 76px; }
    .privacy-banner p { font-size: 14px; }
    .catalog-heading { gap: 38px; }
    .catalog-heading-copy h1, .catalog-heading-copy h2 { font-size: 38px; }
    .catalog-heading-copy > p:last-child { font-size: 17px; }
    .tools-grid { gap: 18px; }
    .tool-card { padding: 19px 18px 17px; }
    .card-main { grid-template-columns: 60px minmax(0, 1fr); gap: 15px; }
    .tool-icon { width: 60px; height: 65px; border-radius: 20px 24px 23px 19px; }
    .tool-icon .icon { width: 39px; height: 39px; }
    .card-copy { padding-top: 14px; }
    .tool-card h3 { font-size: 16px; }
    .tool-card p { font-size: 13px; }
    .how-section { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 18px; }
    .how-panel { padding: 22px 20px; }
    .how-steps { gap: 7px; grid-template-columns: minmax(0, 1fr) 15px minmax(0, 1fr) 15px minmax(0, 1fr); }
    .how-step { padding: 15px; }
    .how-step-top { gap: 10px; }
    .step-icon { width: 52px; height: 52px; }
    .step-icon .icon { width: 38px; height: 38px; }
    .how-step .step-number { width: 39px; height: 39px; font-size: 18px; }
    .how-step p, .advantages-panel li { font-size: 13px; }
    .advantages-panel { padding: 21px 19px; }
    .advantages-title h3 { font-size: 16px; }
  }
  @media (max-width: 1050px) {
    .header-note { display: none; }
    #main-nav { margin-left: auto; margin-right: 0; }
    .is-scrolled #main-nav { gap: 24px; font-size: 13px; }
    .hero { padding-block: 48px; min-height: 640px; }
    .hero-copy h1 { font-size: 58px; }
    .hero-description { font-size: 18px; }
    .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 26px; }
    .hero-actions .button { min-height: 57px; padding: 13px 19px; font-size: 15px; }
    .hero-benefits { margin-top: 32px; gap: 12px; }
    .hero-benefit + .hero-benefit { padding-left: 12px; }
    .benefit-icon { width: 40px; height: 40px; }
    .benefit-icon .icon { width: 25px; height: 25px; }
    .hero-benefit strong { font-size: 11px; }
    .hero-benefit small { font-size: 10px; }
    .hero-art { margin-right: -45px; height: 500px; }
    .privacy-banner { flex-wrap: wrap; padding: 25px; gap: 22px; }
    .privacy-copy { max-width: calc(100% - 100px); }
    .privacy-banner > a { margin-left: 98px; padding-left: 0; border-left: 0; }
    .privacy-banner > a br { display: none; }
    .privacy-arrow { width: 35px; height: 35px; }
    .privacy-arrow .icon { width: 20px; height: 20px; }
    .catalog-heading { gap: 24px; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
    .catalog-heading-copy h1, .catalog-heading-copy h2 { font-size: 33px; }
    .catalog-heading-copy > p:last-child { font-size: 16px; }
    .catalog-art { left: -25px; right: -15px; }
    .search-box { min-height: 53px; padding-inline: 18px; }
    .search-box input { font-size: 13px; }
    .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tool-card h3 { font-size: 17px; }
    .how-section { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr) 25px minmax(0, 1fr); gap: 12px; }
    .how-step { padding: 18px 22px; }
    .how-step-top { gap: 20px; }
    .advantages-panel { padding: 22px 26px; }
    .advantages-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; margin-top: 10px; }
    .advantages-spark { right: 38px; bottom: 26px; }
    .faq-section { gap: 45px; }
    .footer-top { gap: 35px; }
    .page-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
  @media (max-width: 980px) {
    .container { width: calc(100% - 48px); }
    .site-header { height: 76px; }
    .header-inner { min-height: 76px; gap: 15px; }
    .brand { font-size: 26px; gap: 10px; }
    .brand-mark { width: 43px; height: 43px; }
    #main-nav { gap: 18px; font-size: 12px; }
    #main-nav > a, .nav-tools > a { padding-block: 25px; }
    .tools-toggle { width: 18px; }
    .is-scrolled .header-inner { padding-inline: 17px; }
    .is-scrolled .brand { font-size: 24px; }
    .is-scrolled #main-nav { gap: 17px; font-size: 12px; }
    .tools-menu { width: 400px; left: -120px; }
    .hero { grid-template-columns: 1fr; padding-block: 40px 20px; }
    .hero-copy { max-width: 650px; }
    .hero-copy h1 { font-size: clamp(51px, 8vw, 65px); }
    .hero-description { max-width: 610px; font-size: 19px; }
    .hero-actions { flex-wrap: nowrap; margin-top: 28px; gap: 17px; }
    .hero-actions .button { min-height: 62px; padding: 15px 25px; font-size: 17px; }
    .hero-benefits { margin-top: 32px; gap: 22px; }
    .hero-benefit + .hero-benefit { padding-left: 20px; }
    .hero-benefit strong { font-size: 12px; }
    .hero-benefit small { font-size: 11px; }
    .benefit-icon { width: 49px; height: 49px; }
    .benefit-icon .icon { width: 28px; height: 28px; }
    .hero-art { width: min(100%, 550px); height: auto; min-height: 0; margin: 5px auto 0; }
    .floating-illustration { width: 100%; margin-left: 0; }
    .privacy-section { padding-top: 10px; }
    .privacy-section::after { display: none; }
    .privacy-banner { padding: 24px; }
    .privacy-banner h2 { font-size: 21px; }
    .privacy-banner p { font-size: 14px; }
    .catalog-section { padding-top: 40px; }
    .catalog-page .catalog-section { padding-top: 35px; }
    .catalog-heading { grid-template-columns: 1fr; gap: 12px; }
    .catalog-heading-copy h1, .catalog-heading-copy h2 { font-size: 39px; }
    .catalog-heading-copy > p:last-child { max-width: 640px; font-size: 17px; }
    .catalog-search { height: 100px; padding-bottom: 5px; }
    .catalog-art { left: auto; right: 5%; top: -100px; width: 310px; height: 205px; opacity: .33; }
    .search-box { width: 100%; }
    .search-box input { font-size: 15px; }
    .filter-tabs { margin-top: 25px; gap: 10px; }
    .filter-tabs button { padding-inline: 20px; font-size: 13px; }
    .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .tool-card { padding: 20px; }
    .card-main { grid-template-columns: 65px minmax(0, 1fr); gap: 17px; }
    .tool-icon { width: 65px; height: 68px; }
    .tool-card p { font-size: 13px; }
    .how-section { padding-block: 35px; }
    .how-steps { gap: 9px; grid-template-columns: minmax(0, 1fr) 15px minmax(0, 1fr) 15px minmax(0, 1fr); }
    .how-step { padding: 16px; }
    .how-step-top { gap: 12px; }
    .how-step h3 { font-size: 15px; }
    .how-step p { font-size: 13px; }
    .faq-section { padding-block: 30px 65px; grid-template-columns: 1fr 1.5fr; gap: 30px; }
    .faq-section .eyebrow { font-size: 10px; }
    .footer-top { grid-template-columns: 1.3fr .8fr; }
    .footer-note { display: none; }
    .page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tool-help .steps-grid { gap: 22px; }
  }
  @media (max-width: 680px) {
    .container { width: calc(100% - 36px); }
    .site-header { height: 72px; }
    .header-inner { position: relative; flex-wrap: wrap; justify-content: space-between; gap: 0; min-height: 72px; }
    .brand { font-size: 26px; }
    .brand-mark { width: 41px; height: 41px; border-radius: 10px; }
    .menu-toggle { display: grid; place-items: center; width: 41px; height: 41px; }
    .menu-toggle .icon { width: 22px; height: 22px; }
    #main-nav { display: none; order: 3; width: 100%; max-height: calc(100dvh - 92px); overflow-y: auto; margin: 0; padding: 9px 0 17px; flex-direction: column; align-items: stretch; gap: 0; }
    #main-nav.open { display: flex; }
    .site-header:has(#main-nav.open) { background: #172039; }
    .header-inner:has(#main-nav.open) { background: #172039; }
    #main-nav > a, .nav-tools > a { padding: 12px 7px; font-size: 14px; }
    #main-nav > a[aria-current]::after, .nav-tools > a[aria-current]::after { left: 7px; right: auto; bottom: 5px; width: 32px; height: 2px; }
    .nav-tools { flex-wrap: wrap; gap: 0; justify-content: space-between; }
    .nav-tools > a { flex: 1; }
    .tools-toggle { width: 42px; height: 42px; }
    .tools-toggle .icon { width: 16px; height: 16px; }
    .tools-menu { position: static; width: 100%; margin-block: 6px; padding: 8px; border-color: #49547a; border-radius: 13px; box-shadow: none; background: #202c49; }
    .tools-menu a { padding: 11px 8px; color: #ecf0ff; font-size: 12px; }
    .tools-menu a:hover { background: #2e3c63; color: white; }
    .tools-menu .icon { width: 23px; height: 23px; color: #9dafff; }
    .is-scrolled .header-inner { width: calc(100% - 24px); min-height: 62px; padding: 0 14px; border-radius: 15px; transform: translateY(6px); }
    .is-scrolled .brand { font-size: 24px; }
    .is-scrolled .brand-mark { width: 36px; height: 36px; }
    .is-scrolled #main-nav { gap: 0; font-size: 14px; }
    .is-scrolled #main-nav > a, .is-scrolled .nav-tools > a { padding-block: 12px; }
    .is-scrolled #main-nav > a[aria-current]::after, .is-scrolled .nav-tools > a[aria-current]::after { bottom: 5px; }
    .hero { padding-block: 34px 8px; }
    .hero-copy { max-width: none; }
    .hero-copy h1 { font-size: clamp(41px, 9.1vw, 61px); line-height: 1.09; }
    .hero-copy h1 > .gradient-text { font-size: 1.09em; }
    .hero-title-last { font-size: .81em; letter-spacing: -.052em; }
    .hero-description { max-width: 530px; margin-top: 22px; font-size: 17px; line-height: 1.58; }
    .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 26px; }
    .hero-actions .button { min-height: 57px; padding: 13px 21px; font-size: 15px; gap: 11px; }
    .hero-primary > .icon { width: 28px; height: 28px; }
    .hero-primary > .button-arrow { width: 19px; height: 19px; }
    .hero-secondary > .icon { width: 31px; height: 31px; }
    .hero-benefits { align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 31px; }
    .hero-benefit { flex-direction: column; align-items: flex-start; gap: 8px; flex: 1 1 0; min-width: 0; }
    .hero-benefit + .hero-benefit { padding-left: 12px; border-color: #e4e8ff; }
    .benefit-icon { width: 43px; height: 43px; }
    .benefit-icon .icon { width: 26px; height: 26px; }
    .hero-benefit strong { font-size: 11px; line-height: 1.4; }
    .hero-benefit small { font-size: 10px; line-height: 1.5; }
    .hero-art { width: min(100% + 10px, 470px); margin-top: 3px; margin-left: auto; margin-right: auto; }
    .floating-illustration { width: 104%; margin-left: -2%; }
    .privacy-section { padding-block: 8px 20px; }
    .privacy-banner { gap: 15px; padding: 20px; border-radius: 18px; }
    .privacy-symbol { width: 56px; height: 60px; border-radius: 17px; }
    .privacy-symbol .icon { width: 32px; height: 32px; }
    .privacy-copy { max-width: calc(100% - 71px); }
    .privacy-banner h2 { font-size: 19px; }
    .privacy-banner p { font-size: 12px; line-height: 1.65; }
    .privacy-banner > a { width: 100%; justify-content: space-between; margin-left: 0; gap: 12px; padding-top: 13px; border-top: 1px solid #e1e4ff; font-size: 12px; }
    .privacy-arrow { width: 32px; height: 32px; }
    .catalog-section { padding-top: 30px; }
    .catalog-page .catalog-section { padding-top: 33px; }
    .catalog-heading { gap: 4px; }
    .catalog-heading-copy .eyebrow { font-size: 10px; letter-spacing: .11em; gap: 10px; }
    .eyebrow-line { width: 27px; }
    .catalog-heading-copy h1, .catalog-heading-copy h2 { font-size: clamp(28px, 6.4vw, 39px); margin-top: 16px; white-space: normal; line-height: 1.3; }
    .catalog-heading-copy h1 .gradient-text, .catalog-heading-copy h2 .gradient-text { white-space: nowrap; }
    .catalog-heading-copy > p:last-child { margin-top: 15px; font-size: 15px; line-height: 1.65; }
    .catalog-search { height: 84px; }
    .catalog-art { right: 0; top: -83px; width: 240px; height: 180px; opacity: .24; }
    .search-box { min-height: 53px; padding-inline: 18px; }
    .search-box input { font-size: 14px; }
    .filter-tabs { gap: 7px; margin-top: 21px; margin-bottom: 25px; }
    .filter-tabs button { min-height: 39px; padding: 8px 13px; border-radius: 15px; font-size: 11px; gap: 5px; }
    .filter-tabs button span { min-width: 21px; height: 20px; font-size: 10px; padding-inline: 4px; }
    .tools-grid { gap: 12px; }
    .tool-card { min-height: 230px; padding: 17px 16px 15px; border-radius: 17px; }
    .card-main { grid-template-columns: 1fr; gap: 0; }
    .tool-icon { width: 57px; height: 57px; border-radius: 18px 21px 23px 18px; }
    .tool-icon .icon { width: 36px; height: 36px; }
    .card-copy { padding-top: 16px; }
    .tool-card h3 { font-size: 16px; margin-bottom: 7px; }
    .tool-card p { min-height: 0; font-size: 12px; line-height: 1.6; }
    .card-bottom { gap: 6px; margin-top: 17px; }
    .category-label { font-size: 10px; padding: 5px 10px; }
    .card-arrow { width: 30px; height: 30px; }
    .card-arrow .icon { width: 17px; height: 17px; }
    .catalog-caption { align-items: flex-start; text-align: center; margin-top: 24px; font-size: 10px; line-height: 1.6; }
    .catalog-caption .icon { margin-top: 2px; width: 13px; height: 13px; }
    .how-section { gap: 17px; padding-block: 20px 30px; }
    .how-panel { padding: 21px 17px; border-radius: 19px; }
    .how-heading { flex-wrap: wrap; gap: 10px 14px; margin-bottom: 20px; }
    .how-heading h2 { font-size: 25px; }
    .how-steps { grid-template-columns: 1fr; gap: 9px; }
    .how-step { padding: 18px; border-radius: 19px; }
    .how-step-top { gap: 18px; }
    .how-step .step-number { width: 42px; height: 42px; font-size: 18px; }
    .step-icon { width: 51px; height: 51px; }
    .step-icon .icon { width: 35px; height: 35px; }
    .how-step h3 { margin-top: 12px; font-size: 16px; }
    .how-step p { font-size: 13px; }
    .step-connector { height: 17px; }
    .step-connector .icon { transform: rotate(90deg); width: 22px; height: 22px; }
    .advantages-panel { padding: 22px 20px; border-radius: 19px; }
    .advantages-title h3 { font-size: 16px; }
    .advantages-panel ul { display: block; margin-top: 16px; }
    .advantages-panel li { margin-top: 13px; font-size: 13px; }
    .advantages-spark { bottom: 28px; right: 22px; opacity: .55; }
    .faq-section { grid-template-columns: 1fr; gap: 22px; padding-block: 30px 55px; }
    .faq-section h2 { font-size: 29px; margin-block: 10px 15px; }
    .faq-list summary { padding-block: 18px; font-size: 14px; }
    .faq-list summary::after { top: 12px; }
    .faq-list details p { font-size: 13px; }
    .site-footer { padding-top: 36px; }
    .footer-top { grid-template-columns: 1.4fr 1fr; gap: 23px; padding-bottom: 30px; }
    .footer-top .brand { font-size: 23px; gap: 9px; }
    .footer-top .brand-mark { width: 35px; height: 35px; }
    .footer-top p { font-size: 11px; }
    .footer-top h2 { margin-top: 3px; font-size: 13px; }
    .footer-top > div > a:not(.brand) { font-size: 11px; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 10px; padding-block: 20px; }
    .back-to-top { width: 38px; height: 38px; right: 15px; bottom: 18px; }
    .info-page { padding-block: 35px 55px; }
    .info-page h1 { font-size: 32px; }
    .info-page h2 { font-size: 22px; }
    .info-page p { font-size: 14px; }
    .tool-heading { padding-block: 20px 25px; }
    .tool-back { margin-bottom: 22px; font-size: 12px; }
    .tool-heading h1 { font-size: 32px; }
    .tool-heading > p { font-size: 13px; }
    .workflow { gap: 10px; margin-bottom: 20px; font-size: 10px; }
    .workflow i { width: 24px; }
    .workflow b { width: 22px; height: 22px; }
    .upload-zone { padding: 29px 15px 23px; border-radius: 16px; }
    .upload-zone h2 { font-size: 19px; }
    .upload-zone small { font-size: 10px; }
    .local-note { font-size: 10px; text-align: center; align-items: flex-start; }
    .local-note .icon { margin-top: 2px; }
    .editor { padding: 17px 13px; border-radius: 14px; }
    .editor-top { align-items: flex-start; gap: 10px; }
    .editor-top h2 { font-size: 16px; }
    .editor-top-actions { align-items: flex-end; flex-direction: column; gap: 2px; }
    .button.small { min-height: 34px; padding: 7px 10px; font-size: 10px; }
    .text-button { font-size: 11px; }
    .file-item { gap: 7px; padding: 9px 7px; }
    .file-type { width: 28px; height: 34px; }
    .file-description strong { font-size: 11px; }
    .file-description small { font-size: 9px; }
    .file-item-actions { gap: 0; }
    .file-item-actions .icon-button { width: 27px; height: 31px; }
    .file-item-actions .icon-button .icon { width: 19px; height: 19px; }
    .page-controls { align-items: flex-start; flex-direction: column; gap: 5px; }
    .page-controls span { margin-left: 7px; }
    .selection-actions { gap: 14px; }
    .page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .page-preview { height: 154px; }
    .page-preview canvas { max-height: 138px; }
    .settings { flex-direction: column; gap: 15px; }
    .field { min-width: 0; width: 100%; }
    .process-actions { flex-direction: column; align-items: stretch; gap: 13px; }
    .process-actions > span { text-align: center; }
    .process-actions .button { width: 100%; }
    .processing, .result-box { padding: 31px 17px; }
    .processing h2, .result-box h2 { font-size: 23px; }
    .result-actions { flex-direction: column; gap: 10px; }
    .tool-help { padding-top: 20px; }
    .tool-help > h2 { font-size: 22px; margin-bottom: 21px; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .steps-grid article { padding-left: 51px; }
    .steps-grid .step-number { position: absolute; left: 0; top: 0; }
    .tool-help .steps-grid p { margin-top: 0; }
    .related-section { padding-bottom: 40px; }
    .section-heading { align-items: flex-start; gap: 14px; }
    .related-section h2 { font-size: 22px; }
    .section-heading .text-link { font-size: 11px; white-space: nowrap; }
  }
  @media (max-width: 380px) {
    .hero-actions { gap: 10px; }
    .hero-actions .button { min-height: 53px; padding: 12px 17px; font-size: 14px; }
    .hero-title-last { font-size: .75em; }
    .hero-benefit strong { font-size: 10px; }
    .hero-benefit small { font-size: 9px; }
    .filter-tabs { gap: 5px; }
    .filter-tabs button { padding-inline: 10px; font-size: 10px; }
    .tool-card { padding: 15px 13px; }
    .tool-card h3 { font-size: 15px; }
    .tool-card p { font-size: 11px; }
    .category-label { padding-inline: 8px; font-size: 9px; }
  }
  @media (max-width: 430px) {
    .hero-actions .button { width: 100%; }
  }
  @media (max-width: 340px) {
    .container { width: calc(100% - 28px); }
    .hero-copy h1 { font-size: 39px; }
    .tools-grid { grid-template-columns: 1fr; }
    .tool-card { min-height: 0; padding: 20px; }
    .card-main { grid-template-columns: 58px minmax(0, 1fr); gap: 17px; }
    .card-copy { padding-top: 9px; }
    .tool-card h3 { font-size: 17px; }
    .tool-card p { font-size: 13px; }
    .hero-benefit + .hero-benefit { padding-left: 8px; }
    .file-item-actions { flex-wrap: wrap; max-width: 54px; }
    .footer-top { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .floating-illustration { will-change: auto; }
  }
}
