:root {
  --ink: #172033;
  --muted: #667087;
  --line: #e1e5ee;
  --surface: #ffffff;
  --soft: #f6f7fb;
  --brand: #5b4ce6;
  --brand-dark: #4335c6;
  --brand-soft: #efedff;
  --danger: #b42318;
  --shadow: 0 20px 48px rgba(28, 39, 72, .11);
  font-family: "Noto Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; margin: 0; background: var(--soft); }
body > main { flex: 1 0 auto; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }

.site-header {
  position: relative; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1200px) / 2)); border-bottom: 1px solid rgba(225,229,238,.9);
  background: rgba(255,255,255,.94); backdrop-filter: blur(16px);
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.08rem; font-weight: 800; text-decoration: none; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(145deg, #7467ee, var(--brand-dark)); box-shadow: 0 7px 15px rgba(91,76,230,.24); }
.site-menu-toggle { width: 44px; height: 44px; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; cursor: pointer; }
.site-menu-toggle > span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.site-menu-toggle.is-open > span:first-child { transform: translateY(7px) rotate(45deg); }
.site-menu-toggle.is-open > span:nth-child(2) { opacity: 0; }
.site-menu-toggle.is-open > span:last-child { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a { position: relative; color: #505a70; font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-nav > a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; content: ""; background: var(--brand); transform: scaleX(0); transition: transform .18s ease; }
.site-nav > a:hover { color: var(--brand); }
.site-nav > a:hover::after { transform: scaleX(1); }
.tool-category-menu { position: relative; }
.tool-category-menu summary { color: #505a70; font-size: .82rem; font-weight: 700; list-style: none; white-space: nowrap; cursor: pointer; }
.tool-category-menu summary::-webkit-details-marker { display: none; }
.tool-category-menu[open] summary { color: var(--brand); }
.tool-category-panel { position: absolute; z-index: 50; top: 27px; right: 0; width: 260px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 22px 55px rgba(23,32,51,.18); }
.tool-category-panel::before { position: absolute; right: 0; bottom: 100%; left: 0; height: 12px; content: ""; }
.tool-category-heading { margin: 2px 5px 9px; color: var(--muted); font-size: .68rem; font-weight: 750; }
.tool-category-heading a { text-decoration: none; }
.tool-category-heading a:hover { color: var(--brand); }
.tool-category-panel > a { min-height: 42px; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 9px; padding: 5px; border-radius: 9px; color: var(--ink); font-size: .74rem; font-weight: 700; text-decoration: none; }
.tool-category-panel > a:hover { color: var(--brand); background: var(--soft); }
.menu-tool-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; font-size: .57rem; font-weight: 900; }

.eyebrow, .hero-kicker { color: var(--brand); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; }
.button { min-height: 42px; display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 750; text-decoration: none; cursor: pointer; transition: .18s ease; }
.button:disabled { opacity: .45; cursor: default; }
.button-primary { color: white; background: var(--brand); box-shadow: 0 7px 17px rgba(91,76,230,.2); }
.button-primary:hover:not(:disabled) { background: var(--brand-dark); transform: translateY(-1px); }
.button-secondary { color: var(--ink); background: white; border: 1px solid var(--line); }
.button-secondary:hover:not(:disabled) { border-color: #c8c2ff; background: var(--brand-soft); }
.button-danger { width: 100%; color: var(--danger); background: #fff0ee; }
.button-large { min-height: 50px; padding-inline: 23px; border-radius: 12px; }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(91,76,230,.3); outline-offset: 2px; }

.home-hero {
  position: relative; min-height: 610px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center;
  gap: 70px; max-width: 1200px; margin: 0 auto; padding: 78px 24px 92px; overflow: hidden;
}
.home-hero-copy { position: relative; z-index: 2; }
.home-hero h1 { max-width: 740px; margin: 17px 0 22px; font-size: clamp(3.2rem, 6.5vw, 5.6rem); line-height: .99; letter-spacing: -.065em; }
.home-hero h1 span { color: var(--brand); }
.home-hero-copy > p { max-width: 640px; margin: 0; color: var(--muted); font-size: 1.13rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 31px; }
.hero-actions > span { color: var(--muted); font-size: .82rem; font-weight: 650; }
.hero-actions > span::before { margin-right: 7px; color: #24a36a; content: "✓"; font-weight: 900; }
.hero-visual { position: relative; min-height: 400px; }
.hero-visual::before { position: absolute; width: 380px; height: 380px; top: 16px; left: 50%; border-radius: 50%; content: ""; background: linear-gradient(145deg, #ece9ff, #f9f8ff); transform: translateX(-50%); }
.hero-document { position: absolute; width: 245px; height: 315px; border-radius: 22px; background: white; box-shadow: 0 28px 60px rgba(44,35,130,.18); }
.hero-document-back { top: 64px; left: calc(50% - 150px); padding: 58px 35px; background: #ddd8ff; transform: rotate(-10deg); }
.hero-document-back span { display: block; height: 9px; margin-bottom: 14px; border-radius: 20px; background: rgba(91,76,230,.18); }
.hero-document-back span:nth-child(2) { width: 75%; }
.hero-document-back span:nth-child(3) { width: 88%; }
.hero-document-front { top: 28px; left: calc(50% - 88px); display: flex; flex-direction: column; align-items: flex-start; padding: 33px 28px; transform: rotate(6deg); }
.hero-file-mark { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 35px; border-radius: 15px; color: white; background: var(--brand); font-size: .72rem; font-weight: 900; }
.hero-document-front strong { margin-bottom: 20px; font-size: 1.05rem; }
.hero-document-line { width: 100%; height: 8px; margin-bottom: 11px; border-radius: 20px; background: #e7e9f0; }
.hero-document-line.is-short { width: 68%; }
.hero-document-action { position: absolute; right: 25px; bottom: 25px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: white; background: #27ae72; font-size: 1.2rem; box-shadow: 0 10px 22px rgba(39,174,114,.24); }
.hero-float { position: absolute; z-index: 3; display: grid; place-items: center; border-radius: 15px; color: var(--brand); background: white; box-shadow: 0 12px 28px rgba(32,37,67,.15); font-weight: 900; }
.hero-float-one { top: 38px; right: 28px; width: 54px; height: 54px; transform: rotate(8deg); }
.hero-float-two { bottom: 45px; left: 38px; width: 48px; height: 48px; color: #f59e0b; transform: rotate(-9deg); }

.home-tools { padding: 88px max(24px, calc((100vw - 1200px) / 2)) 104px; background: white; scroll-margin-top: 20px; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 34px; }
.home-section-heading h2, .benefits-intro h2 { margin: 7px 0 0; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.08; letter-spacing: -.05em; }
.home-section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.home-tool-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.home-tool-card {
  --tool-accent: var(--brand); --tool-soft: var(--brand-soft); position: relative; min-height: 220px; grid-column: span 2;
  display: flex; flex-direction: column; align-items: flex-start; padding: 24px; overflow: hidden; border: 1px solid var(--line);
  border-radius: 18px; background: white; box-shadow: 0 6px 20px rgba(28,39,72,.05); text-decoration: none; transition: .2s ease;
}
.home-tool-card::before { position: absolute; width: 120px; height: 120px; right: -60px; bottom: -65px; border-radius: 50%; content: ""; background: var(--tool-soft); transition: transform .2s ease; }
.home-tool-card:hover { border-color: color-mix(in srgb, var(--tool-accent) 50%, white); box-shadow: 0 16px 34px rgba(28,39,72,.10); transform: translateY(-4px); }
.home-tool-card:hover::before { transform: scale(1.25); }
.home-tool-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; color: var(--tool-accent); background: var(--tool-soft); }
.home-tool-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-tool-copy { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 28px; }
.home-tool-copy strong { font-size: 1.06rem; }
.home-tool-copy span { max-width: 310px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.home-tool-arrow { position: absolute; top: 25px; right: 25px; color: var(--tool-accent); font-size: 1.45rem; transition: transform .2s ease; }
.home-tool-card:hover .home-tool-arrow { transform: translateX(4px); }
.tool-edit { --tool-accent: #2a68d4; --tool-soft: #edf4ff; }
.tool-sign { --tool-accent: #b43fd0; --tool-soft: #faeefe; }
.tool-merge { --tool-accent: #5b4ce6; --tool-soft: #efedff; }
.tool-organize { --tool-accent: #139c9c; --tool-soft: #e9f9f8; }
.tool-jpg { --tool-accent: #e0a000; --tool-soft: #fff8dc; }
.tool-images { --tool-accent: #ec8a18; --tool-soft: #fff5e7; }
.tool-heic { --tool-accent: #2478d3; --tool-soft: #ebf4ff; }

.tool-directory { margin-top: 88px; padding-top: 62px; border-top: 1px solid var(--line); }
.directory-heading { margin-bottom: 27px; }
.directory-heading h2 { margin: 7px 0 0; font-size: clamp(1.8rem, 3.5vw, 2.7rem); letter-spacing: -.045em; }
.tool-category-grid { display: grid; grid-template-columns: 1.35fr 1fr .85fr .85fr; gap: 34px; }
.tool-category h3 { margin: 0 0 13px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.tool-category a { min-height: 48px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 6px 7px; border-radius: 10px; text-decoration: none; transition: .16s ease; }
.tool-category a:hover { color: var(--brand); background: var(--soft); transform: translateX(3px); }
.tool-category a > span:nth-child(2) { font-size: .8rem; font-weight: 700; }
.tool-category a > span:last-child { opacity: 0; color: var(--brand); transition: opacity .16s; }
.tool-category a:hover > span:last-child { opacity: 1; }
.directory-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 8px; font-size: .62rem; font-weight: 900; }
.icon-purple { color: #6657df; background: #efedff; }
.icon-teal { color: #078f91; background: #e7f8f7; }
.icon-orange { color: #dc7d0b; background: #fff3df; }
.icon-blue { color: #2478d3; background: #ebf4ff; }

.home-benefits { max-width: 1200px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; margin: 0 auto; padding: 106px 24px 116px; }
.benefits-intro > p { max-width: 450px; margin: 22px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.benefit-grid article { min-height: 230px; padding: 24px 20px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.benefit-grid article > span { color: var(--brand); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.benefit-grid h3 { margin: 50px 0 10px; font-size: .98rem; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }

.home-capabilities { max-width: 1200px; margin: 0 auto; padding: 96px 24px 104px; }
.home-capabilities-intro { max-width: 760px; }
.home-capabilities-intro h2 { margin: 8px 0 16px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.08; letter-spacing: -.05em; }
.home-capabilities-intro p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.home-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.home-capability-grid article { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 26px rgba(28,39,72,.05); }
.home-capability-grid h3 { margin: 0 0 13px; font-size: 1.08rem; line-height: 1.35; }
.home-capability-grid p { margin: 0 0 24px; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.home-capability-grid a { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--brand); font-size: .78rem; font-weight: 800; text-decoration: none; }
.home-capability-grid a span { transition: transform .18s ease; }
.home-capability-grid a:hover span { transform: translateX(3px); }

.home-guides { padding: 90px max(24px, calc((100vw - 1200px) / 2)) 98px; background: #f1efff; }
.home-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-guide-card { overflow: hidden; border: 1px solid rgba(91,76,230,.14); border-radius: 18px; background: white; box-shadow: 0 8px 24px rgba(44,35,130,.06); }
.home-guide-card-link { display: block; height: 100%; text-decoration: none; }
.home-guide-image { display: block; overflow: hidden; background: #f5f1e9; }
.home-guide-image img { width: 100%; height: auto; display: block; transition: transform .2s ease; }
.home-guide-card-link:hover .home-guide-image img { transform: scale(1.025); }
.home-guide-copy { display: block; padding: 22px; }
.home-guide-copy > span:first-child { color: var(--muted); font-size: .7rem; font-weight: 750; }
.home-guide-card h3 { margin: 9px 0 10px; font-size: 1.05rem; line-height: 1.35; }
.home-guide-card-link:hover h3 { color: var(--brand); }
.home-guide-excerpt { display: block; color: var(--muted); font-size: .77rem; line-height: 1.6; }
.home-guides-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 27px; color: var(--brand); font-size: .84rem; font-weight: 800; text-decoration: none; }
.home-guides-link:hover span { transform: translateX(3px); }
.home-guides-link span { transition: transform .18s ease; }

.content-page { max-width: 760px; margin: 70px auto 120px; padding: 45px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.content-page h1 { margin: 16px 0; font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.055em; line-height: 1.02; }
.content-page p { color: var(--muted); line-height: 1.8; }
.content-page h2 { margin: 34px 0 8px; font-size: 1.25rem; letter-spacing: -.025em; }
.site-breadcrumbs { max-width: 1200px; margin: 0 auto; padding: 22px 24px 0; }
.site-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--muted); font-size: .74rem; font-weight: 650; list-style: none; }
.site-breadcrumbs li { min-width: 0; }
.site-breadcrumbs li:not(:last-child)::after { margin-left: 8px; color: #a6adbc; content: "/"; }
.site-breadcrumbs a { text-decoration: none; }
.site-breadcrumbs a:hover { color: var(--brand); }
.site-breadcrumbs [aria-current="page"] { display: inline-block; max-width: 50ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }

.seo-directory-page { max-width: 1200px; margin: 0 auto; padding: 64px 24px 112px; }
.seo-directory-hero { max-width: 780px; margin-bottom: 46px; }
.seo-directory-hero h1 { margin: 12px 0 18px; font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.seo-directory-hero p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.seo-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.seo-category-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 8px 26px rgba(28,39,72,.05); }
.seo-category-card h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.035em; }
.seo-category-card h2 a { text-decoration: none; }
.seo-category-card h2 a:hover { color: var(--brand); }
.seo-category-card > p { min-height: 54px; margin: 12px 0 22px; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.seo-tool-link-list { display: grid; gap: 7px; }
.seo-tool-link-list a { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 11px; border-radius: 9px; background: var(--soft); font-size: .8rem; font-weight: 750; text-decoration: none; }
.seo-tool-link-list a:hover { color: var(--brand); background: var(--brand-soft); }
.seo-category-more { display: inline-flex; gap: 7px; margin-top: 20px; color: var(--brand); font-size: .78rem; font-weight: 800; text-decoration: none; }
.seo-tool-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.seo-tool-card { min-height: 245px; display: flex; flex-direction: column; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.seo-tool-card > span { color: var(--brand); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.seo-tool-card h2 { margin: 18px 0 10px; font-size: 1.2rem; letter-spacing: -.03em; }
.seo-tool-card h2 a { text-decoration: none; }
.seo-tool-card h2 a:hover { color: var(--brand); }
.seo-tool-card p { margin: 0 0 25px; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.seo-tool-card > a:last-child { margin-top: auto; color: var(--brand); font-size: .78rem; font-weight: 800; text-decoration: none; }
.seo-sibling-categories { margin-top: 72px; padding-top: 38px; border-top: 1px solid var(--line); }
.seo-sibling-categories h2 { margin: 0 0 18px; font-size: 1.35rem; }
.seo-sibling-categories > div { display: flex; flex-wrap: wrap; gap: 10px; }
.seo-sibling-categories a { padding: 10px 14px; border: 1px solid #d7d2ff; border-radius: 10px; color: var(--brand); background: white; font-size: .77rem; font-weight: 750; text-decoration: none; }
.editorial-page { max-width: 820px; }
.tool-seo-content { max-width: 1180px; margin: 0 auto; padding: 86px 24px 104px; }
.tool-seo-intro { max-width: 740px; }
.tool-seo-intro h2, .tool-faqs > h2, .related-tools > h2 { margin: 8px 0 14px; font-size: clamp(1.8rem, 3.5vw, 2.55rem); line-height: 1.12; letter-spacing: -.045em; }
.tool-seo-intro > p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.tool-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; }
.tool-guide-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 6px 24px rgba(28,39,72,.045); }
.tool-guide-card h3 { margin: 0 0 18px; font-size: 1.03rem; }
.tool-guide-card ol, .tool-guide-card ul { display: grid; gap: 14px; margin: 0; padding-left: 22px; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.tool-guide-card li::marker { color: var(--brand); font-weight: 800; }
.tool-faqs { margin-top: 72px; }
.tool-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.tool-faq-grid article { padding: 26px 28px; border-radius: 16px; background: var(--soft); }
.tool-faq-grid h3 { margin: 0 0 10px; font-size: .98rem; line-height: 1.4; }
.tool-faq-grid p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.related-tools { margin-top: 68px; padding-top: 40px; border-top: 1px solid var(--line); }
.related-tools > h2 { font-size: 1.45rem; }
.related-tools > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.related-tools a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 15px; border: 1px solid #d7d2ff; border-radius: 11px; color: var(--brand); background: white; font-size: .8rem; font-weight: 750; text-decoration: none; }
.related-tools a:hover { border-color: var(--brand); background: var(--brand-soft); }
.tool-related-guides { margin-top: 68px; padding-top: 40px; border-top: 1px solid var(--line); }
.tool-related-guides > h2 { margin: 8px 0 20px; font-size: 1.45rem; letter-spacing: -.035em; }
.tool-related-guides > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.tool-related-guides a { display: grid; gap: 7px; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: white; text-decoration: none; }
.tool-related-guides a:hover { border-color: #c8c2ff; box-shadow: 0 8px 22px rgba(28,39,72,.06); }
.tool-related-guides a span:first-child { color: var(--muted); font-size: .68rem; font-weight: 750; }
.tool-related-guides a strong { font-size: .9rem; line-height: 1.35; }
.tool-related-guides a span:last-child { color: var(--brand); font-size: .72rem; font-weight: 800; }
.back-link { min-height: 42px; display: inline-flex; align-items: center; margin-bottom: 14px; padding: 9px 14px; border: 1px solid #cfc9ff; border-radius: 11px; color: var(--brand); background: white; box-shadow: 0 4px 14px rgba(28,39,72,.07); font-size: .95rem; font-weight: 800; text-decoration: none; }
.back-link:hover { border-color: var(--brand); background: var(--brand-soft); }
.workspace-title { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.workspace-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.workspace-title > span { color: var(--muted); font-size: .72rem; }
.workspace-back-link { width: max-content; min-height: 32px; display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 8px; color: var(--brand); background: var(--brand-soft); font-size: .82rem; font-weight: 800; text-decoration: none; }
.workspace-back-link:hover { background: #ddd9ff; }
.upload-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 18px; color: var(--brand); background: var(--brand-soft); font-size: 2rem; font-weight: 700; }
.status-message { margin-bottom: 16px; padding: 12px 16px; border: 1px solid #f4c7c3; border-radius: 10px; color: #912018; background: #fff3f2; font-size: .88rem; font-weight: 650; }
.processing-progress { flex: 0 0 auto; padding: 7px 11px; border-radius: 99px; color: var(--brand); background: var(--brand-soft); font-size: .75rem; font-weight: 800; }
.compatibility-note { margin-top: 12px; padding: 13px; border-radius: 10px; color: #6f5312; background: #fff9e7; font-size: .7rem; line-height: 1.5; }

.site-footer { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px max(24px, calc((100vw - 1200px) / 2)); border-top: 1px solid var(--line); color: var(--muted); background: white; font-size: .8rem; }
.site-footer .brand-mark { width: 30px; height: 30px; border-radius: 9px; font-size: .82rem; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--brand); }

@media (max-width: 980px) {
  .home-hero { min-height: 560px; grid-template-columns: 1fr .72fr; gap: 30px; }
  .hero-visual { transform: scale(.86); transform-origin: center; }
  .home-benefits { grid-template-columns: 1fr; gap: 45px; }
  .home-capability-grid { grid-template-columns: 1fr; }
  .home-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-tool-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { height: 64px; padding-inline: 18px; }
  .site-menu-toggle { display: flex; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 18px 18px; overflow-y: auto; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: 0 18px 38px rgba(23,32,51,.13); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { min-height: 48px; display: flex; align-items: center; padding: 0 12px; border-top: 1px solid var(--line); font-size: .84rem; }
  .site-nav > a::after { display: none; }
  .tool-category-menu summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: .84rem; }
  .tool-category-menu summary::after { content: "+"; color: var(--muted); font-size: 1.15rem; font-weight: 500; }
  .tool-category-menu[open] summary::after { content: "−"; color: var(--brand); }
  .tool-category-panel { position: static; width: auto; padding: 7px; border: 0; border-radius: 11px; background: var(--soft); box-shadow: none; }
  .tool-category-panel::before, .tool-category-heading { display: none; }
  .tool-category-panel > a { min-height: 44px; background: white; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; padding-top: 66px; text-align: center; }
  .home-hero-copy > p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 350px; margin-top: -25px; }
  .home-section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .home-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-tool-card { grid-column: span 1; min-height: 200px; }
  .tool-category-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 160px; }
  .benefit-grid h3 { margin-top: 25px; }
  .tool-guide-grid, .tool-faq-grid { grid-template-columns: 1fr; }
  .tool-related-guides > div { grid-template-columns: 1fr; }
  .seo-category-grid, .seo-tool-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .home-hero { padding: 52px 18px 65px; }
  .home-hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .home-hero-copy > p { font-size: 1rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-visual { display: none; }
  .home-tools { padding: 70px 18px 76px; }
  .home-tool-grid { grid-template-columns: 1fr; }
  .home-tool-card { grid-column: auto; min-height: 175px; }
  .tool-directory { margin-top: 65px; padding-top: 48px; }
  .tool-category-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-benefits { padding: 76px 18px 85px; }
  .home-capabilities { padding: 72px 18px 80px; }
  .home-guides { padding: 70px 18px 78px; }
  .home-guide-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .content-page { margin: 30px 16px 80px; padding: 28px 22px; }
  .seo-directory-page { padding: 48px 18px 82px; }
  .seo-directory-hero { margin-bottom: 34px; }
  .seo-category-card { padding: 23px; }
  .site-breadcrumbs { padding-inline: 18px; }
  .tool-seo-content { padding: 68px 18px 82px; }
  .tool-guide-card, .tool-faq-grid article { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
