:root {
  --paper: #fbfaf6;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --muted: #696b70;
  --line: #deded8;
  --line-strong: #c9c9c2;
  --blue: #0b4bd6;
  --blue-dark: #0636a8;
  --lime: #e8ff7a;
  --lime-soft: #f0ffae;
  --soft-blue: #edf3ff;
  --soft: #f4f3ee;
  --danger: #b42318;
  --success: #247a3c;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --max-width: 1430px;
  --font: "Inter", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.container { width: min(100% - 64px, var(--max-width)); margin-inline: auto; padding: 0; }
.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: 16px; top: -80px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.ui-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

.nav-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 78px;
  background: rgba(251, 250, 246, .96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}
.nav-header.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 100%; display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 24px; }
.nav-logo { color: var(--ink); font-size: 31px; line-height: 1; font-weight: 800; letter-spacing: -.07em; }
.nav-links { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2.3vw, 42px); }
.nav-links a, .nav-login { color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-links a { min-height: 48px; display: inline-flex; align-items: center; gap: 7px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: var(--blue); transform: scaleX(0); transition: transform .18s ease; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.status-chip { display: inline-flex; align-items: center; min-height: 20px; padding: 2px 7px; border-radius: 6px; background: #dfe9ff; color: var(--blue-dark); font-size: 10px; font-weight: 600; letter-spacing: 0; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-login { min-height: 44px; background: transparent; border: 0; cursor: pointer; padding: 8px 4px; }
.btn-primary, .btn-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 11px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 14px 24px; }
.nav-register { min-width: 170px; }
.hamburger { display: none; min-width: 46px; min-height: 46px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.hamburger-icon { width: 24px; height: 24px; }
.mobile-nav-panel, .mobile-nav-overlay { display: none; }

.home-hero { padding: 54px 0 48px; }
.home-hero > .container { width: min(100% - 64px, 1360px); }
.home-hero-grid { display: grid; grid-template-columns: 570px minmax(0, 1fr); gap: 58px; align-items: start; }
.home-hero-grid > * { min-width: 0; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--blue); font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home-hero-copy h1 { margin: 0; max-width: 620px; font-size: 68px; line-height: .96; letter-spacing: -.067em; font-weight: 750; }
.home-hero-copy h1 strong { font-weight: 800; }
.home-hero-copy p { max-width: 470px; margin: 28px 0 0; color: var(--muted); font-size: 19px; line-height: 1.45; }
.task-search-panel { padding-top: 28px; }
.task-search { height: 76px; display: grid; grid-template-columns: 28px 1fr 44px; align-items: center; gap: 12px; padding: 0 14px 0 22px; border: 2px solid var(--blue); border-radius: 12px; background: var(--surface); }
.task-search:focus-within { outline: 4px solid rgba(11, 75, 214, .12); }
.task-search .search-icon { width: 26px; height: 26px; }
.task-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 18px; }
.task-search input::placeholder { color: #999a9d; }
.task-search button { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; background: var(--blue); color: #fff; cursor: pointer; opacity: 0; transform: translateX(5px); transition: opacity .15s ease, transform .15s ease; }
.task-search:focus-within button, .task-search input:not(:placeholder-shown) + button { opacity: 1; transform: translateX(0); }
.quick-label { margin: 24px 0 10px; color: var(--muted); font-size: 13px; }
.quick-tasks { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-tasks a { min-height: 38px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); color: #53555a; font-size: 13px; }
.quick-tasks a:hover { border-color: var(--blue); color: var(--blue); }
.quick-tasks .ui-icon { width: 17px; height: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 600; }
.task-search-panel > .text-link { margin-top: 26px; }
.text-link .ui-icon { width: 18px; height: 18px; transition: transform .15s ease; }
.text-link:hover .ui-icon { transform: translateX(3px); }

.access-section { padding: 0 0 30px; }
.access-section > .container, .category-showcase > .container { width: min(100% - 64px, 1340px); }
.access-rail { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 112px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.52); }
.access-item { min-width: 0; display: flex; align-items: center; gap: 16px; padding: 22px 26px; position: relative; }
.access-item + .access-item::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.access-icon { width: 58px; height: 58px; flex: 0 0 58px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--lime); }
.access-icon .ui-icon { width: 28px; height: 28px; }
.access-item p { margin: 0; display: grid; gap: 1px; line-height: 1.25; }
.access-item strong { font-size: 14px; }
.access-item span { font-size: 12px; }
.access-item small, .plan-card small, .product-status { font-size: 9px; }
.access-item p small { display: inline-flex; margin-left: 5px; padding: 2px 6px; border-radius: 6px; background: var(--lime-soft); color: #4d5900; font-weight: 700; }
.pricing-rail { display: grid; grid-template-columns: repeat(3, 1fr) 1.18fr 1.65fr; gap: 14px; margin-top: 22px; align-items: stretch; }
.plan-card { min-height: 178px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); position: relative; }
.plan-card-accent::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; border-radius: 9px 0 0 9px; background: var(--blue); }
.plan-card > span { color: var(--blue); font-size: 13px; font-weight: 750; }
.plan-card > strong { margin-top: 6px; font-size: 49px; line-height: 1; letter-spacing: -.055em; }
.plan-card > strong small { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0; }
.plan-card > b { font-size: 20px; }
.plan-card > b small { font-size: 12px; font-weight: 500; }
.plan-card:hover { border-color: var(--blue); }
.api-card { gap: 10px; justify-content: flex-start; }
.api-card > span { display: flex; justify-content: space-between; gap: 6px; }
.api-card > span small { padding: 2px 6px; border-radius: 6px; background: #dfe9ff; }
.api-card p { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.api-card p .ui-icon { width: 17px; height: 17px; filter: invert(26%) sepia(98%) saturate(2734%) hue-rotate(220deg) brightness(82%); }
.custom-card { min-height: 178px; display: flex; flex-direction: column; padding: 22px; border-radius: 9px; background: var(--blue-dark); color: #fff; }
.custom-card strong { max-width: 250px; font-size: 18px; line-height: 1.15; }
.custom-card span { max-width: 250px; margin-top: 12px; color: #dbe6ff; font-size: 12px; line-height: 1.45; }
.custom-card b { min-height: 42px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 6px; background: var(--lime); color: var(--ink); font-size: 12px; }
.custom-card b .ui-icon { width: 18px; height: 18px; }
.shared-limit-note { margin: 18px 0 0; display: flex; justify-content: center; align-items: center; gap: 9px; color: #3d3e42; font-size: 13px; }
.shared-limit-note .ui-icon { width: 22px; height: 22px; filter: invert(26%) sepia(98%) saturate(2734%) hue-rotate(220deg) brightness(82%); }

.section { padding: 88px 0; }
.section:nth-child(even) { background: transparent; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading-row .eyebrow { margin-bottom: 10px; }
.section-title { margin: 0; color: var(--ink); font-size: clamp(36px, 3.2vw, 50px); line-height: 1; letter-spacing: -.05em; font-weight: 750; }
.section-title-left { text-align: left; }
.section-subtitle { margin: 14px 0 38px; color: var(--muted); font-size: 17px; text-align: left; font-weight: 400; }
.category-showcase { padding-top: 14px; }
.category-showcase .section-heading-row { margin-bottom: 16px; }
.category-showcase .section-title { font-size: 34px; }
.task-categories { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.task-category { min-height: 128px; display: grid; grid-template-columns: 50px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 14px; padding: 22px 18px; position: relative; border: 1px solid var(--line); border-radius: 10px; }
.task-category + .task-category { border-left: 1px solid var(--line); }
.task-category > .ui-icon { width: 46px; height: 46px; grid-row: 1 / 3; align-self: center; filter: invert(26%) sepia(98%) saturate(2734%) hue-rotate(220deg) brightness(82%); }
.task-category strong { font-size: 15px; }
.task-category span { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.task-category:hover { background: var(--surface); }

.popular-section { padding-top: 68px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { min-height: 180px; display: grid; grid-template-columns: 48px 1fr 36px; align-items: start; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; transition: transform .16s ease, border-color .16s ease; }
.service-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: none; }
.service-icon { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--soft-blue); color: var(--blue); }
.service-icon img { width: 24px; height: 24px; filter: invert(26%) sepia(98%) saturate(2734%) hue-rotate(220deg) brightness(82%); }
.service-card h3 { margin: 2px 0 8px; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.service-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.service-link { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); font-size: 0; }
.service-link:hover { border-color: var(--blue); background: var(--soft-blue); }
.service-link .ui-icon { width: 18px; height: 18px; }

.audience-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.audience-copy > p { margin: 0 0 28px; max-width: 670px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.audience-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.audience-copy li { display: flex; gap: 9px; align-items: center; font-weight: 600; }
.audience-copy li .ui-icon { filter: invert(26%) sepia(98%) saturate(2734%) hue-rotate(220deg) brightness(82%); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.blog-card { min-height: 260px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; }
.blog-card:hover { border-color: var(--blue); }
.blog-tag { width: fit-content; padding: 5px 8px; border-radius: 5px; background: var(--soft-blue); color: var(--blue); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.blog-card h3 { margin: 20px 0 10px; font-size: 21px; line-height: 1.18; letter-spacing: -.025em; }
.blog-card p { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.blog-card .text-link { margin-top: auto; }

.final-cta { padding: 80px 0; }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 50px 56px; border-radius: 16px; background: var(--blue-dark); color: #fff; }
.final-cta .eyebrow { color: var(--lime); }
.final-cta h2 { margin: 0; font-size: 40px; letter-spacing: -.045em; }
.final-cta p { max-width: 700px; margin: 12px 0 0; color: #dbe6ff; }
.final-cta .btn-primary { flex: 0 0 auto; background: var(--lime); color: var(--ink); }
.final-cta .btn-primary:hover { background: #f2ffb0; }

.footer { padding: 62px 0 20px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 34px; padding-bottom: 44px; }
.footer-brand p { max-width: 320px; margin: 20px 0 12px; color: var(--muted); font-size: 14px; }
.footer-note { color: var(--blue); font-size: 12px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 5px; font-size: 13px; }
.footer-links a { width: fit-content; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.coming-dialog { width: min(92vw, 520px); padding: 38px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,.18); }
.coming-dialog::backdrop { background: rgba(11, 11, 12, .55); }
.coming-dialog h2 { margin: 0; font-size: 32px; letter-spacing: -.04em; }
.coming-dialog p { margin: 16px 0 24px; color: var(--muted); }
.dialog-close { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }
.dialog-actions { display: flex; gap: 10px; }

/* Internal page layout */
.page-hero, .hero { padding: 68px 0 56px; background: transparent; text-align: left; }
.hero-content { max-width: 960px; margin: 0 auto; text-align: left; }
.hero h1, .page-hero h1, .article-header h1, .product-hero h1 { margin: 0; color: var(--ink); font-size: clamp(44px, 5vw, 72px); line-height: .98; letter-spacing: -.06em; }
.hero-subtitle, .page-lead, .product-lead { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 19px; }
.hero-cta { margin-top: 28px; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
.hero-hint { color: var(--muted); font-size: 13px; }
.breadcrumbs { color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--blue); }
.category-icon, .related-card-icon { background: var(--soft-blue) !important; color: var(--blue); }
.category-icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.category-card { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; }
.category-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: none; }
.cat-block-head { margin-bottom: 24px; }
.cat-block-link { gap: 14px; }
.cat-block-desc { max-width: 720px; color: var(--muted); }
.blog-more, .related-more { margin-top: 30px; }

.service-tool { padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 70px rgba(30,35,50,.05); }
.tool-container, .tool-form-card, .tool-card, .tool-stub { border-color: var(--line) !important; background: var(--surface) !important; box-shadow: none !important; }
.tool-form, .product-form { display: grid; gap: 18px; }
.tool-field, .form-group { display: grid; gap: 8px; }
.tool-field label, .form-group label { font-size: 13px; font-weight: 650; }
.tool-field input, .tool-field textarea, .tool-field select, .form-group input, .form-group textarea, .form-group select, .tool-input, .tool-textarea, .tool-select {
  width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); color: var(--ink); padding: 12px 14px; outline: 0;
}
.tool-field textarea, .form-group textarea, .tool-textarea { min-height: 128px; resize: vertical; }
.tool-field input:focus, .tool-field textarea:focus, .tool-field select:focus, .form-group input:focus, .form-group textarea:focus, .form-group select:focus, .tool-input:focus, .tool-textarea:focus, .tool-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,75,214,.12); }
.tool-actions, .result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-result, .result-card { margin-top: 24px; padding: 22px; border: 1px solid #b8dbbf; border-radius: 12px; background: #f2fbf4; }
.tool-save-result { margin-top: 18px; }
.tool-save-result.is-save-failed { border-color: var(--danger); color: var(--danger); }
.tool-error, .error-list, .field-error { color: var(--danger); }
.dropzone { min-height: 180px; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--soft); }
.dropzone:hover { border-color: var(--blue); background: var(--soft-blue); }

.intent-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.intent-list li { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.related-card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: none; }
.related-card:hover { border-color: var(--blue); box-shadow: none; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.faq-item summary { min-height: 56px; padding: 16px 20px; cursor: pointer; font-weight: 650; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer, .faq-item > p { padding: 0 20px 18px; color: var(--muted); }
.article-page { padding: 10px 0 80px; }
.article-header { margin-bottom: 42px; }
.article-lead { margin: 20px 0; color: var(--muted); font-size: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 12px; }
.article-body { font-size: 17px; line-height: 1.75; }
.article-body h2 { margin: 48px 0 16px; font-size: 32px; line-height: 1.15; letter-spacing: -.035em; }
.article-body h3 { margin: 34px 0 12px; font-size: 23px; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 20px; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { border-radius: 12px; }
.article-body table, .comparison-table { width: 100%; border-collapse: collapse; }
.article-body th, .article-body td, .comparison-table th, .comparison-table td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; }
.related-inline { margin-top: 54px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }

/* Pricing, API, custom development pages */
.product-page { padding-bottom: 90px; }
.product-breadcrumbs { padding: 34px 0 0; }
.product-hero { padding: 70px 0 54px; }
.product-hero-inner { max-width: 900px; }
.product-hero .eyebrow { margin-bottom: 18px; }
.product-hero p { max-width: 760px; color: var(--muted); font-size: 19px; }
.product-kicker { display: inline-block; margin-bottom: 12px; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.product-status { max-width: 760px; display: grid; gap: 3px; margin-top: 24px; padding: 14px 16px; border: 1px solid #d7e0a2; border-radius: 9px; background: var(--lime-soft); color: #4d5900; }
.product-status strong { font-size: 13px; }
.product-status span { font-size: 12px; font-weight: 500; }
.product-section-muted { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft) !important; }
.section-heading { margin-bottom: 34px; }
.section-heading .section-title, .section-heading .section-subtitle { text-align: left; }
.section-heading .section-subtitle { max-width: 760px; margin-bottom: 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.pricing-card { display: flex; flex-direction: column; gap: 18px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pricing-card h2, .pricing-card h3 { margin: 0; color: var(--blue); font-size: 16px; }
.pricing-card-head { display: grid; gap: 12px; }
.pricing-status, .pricing-label { width: fit-content; padding: 4px 7px; border-radius: 5px; background: var(--soft-blue); color: var(--blue); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.pricing-card .price, .pricing-price { margin: 0; }
.pricing-price strong { display: block; font-size: 35px; line-height: 1; letter-spacing: -.055em; }
.pricing-price span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.pricing-limit { margin: 0; color: var(--muted); font-size: 12px; }
.pricing-limit strong { color: var(--ink); font-size: 28px; letter-spacing: -.04em; }
.pricing-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.pricing-card .btn-primary, .pricing-card .btn-secondary { margin-top: auto; }
.pricing-card-featured { border-color: var(--blue); box-shadow: inset 0 4px 0 var(--blue); }
.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.comparison-table caption { padding: 14px; text-align: left; color: var(--muted); font-size: 12px; }
.comparison-table th, .comparison-table td { border-width: 1px 0 0; }
.comparison-table thead th { border-top: 0; background: var(--soft-blue); color: var(--blue); font-size: 12px; }
.product-note { color: var(--muted); font-size: 12px; }
.product-copy-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: start; }
.product-copy-main h2 { margin: 0 0 18px; font-size: 42px; line-height: 1.05; letter-spacing: -.045em; }
.product-copy-main p { max-width: 760px; color: var(--muted); font-size: 17px; }
.product-side-card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.product-side-card h3 { margin: 0 0 16px; }
.product-checklist { display: grid; gap: 10px; margin: 0; padding-left: 18px; color: var(--muted); }
.development-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.development-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.development-card h3 { margin: 20px 0 10px; font-size: 22px; }
.development-card > p { color: var(--muted); font-size: 14px; }
.development-card .btn-secondary { margin-top: auto; }
.process-index { color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.request-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; padding: 42px; border-radius: 16px; background: var(--blue-dark); color: #fff; }
.request-panel h2 { margin: 0; font-size: 38px; letter-spacing: -.045em; }
.request-panel p { color: #dbe6ff; }
.request-panel .product-form { padding: 26px; border-radius: 12px; background: var(--surface); color: var(--ink); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.process-grid > * { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.process-grid-steps { grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.process-card h3 { margin: 18px 0 8px; }
.process-card p { margin: 0; color: var(--muted); font-size: 14px; }
.tool-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tool-field-check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; }
.tool-field-check input { margin-top: 3px; }
.tool-fieldset { margin: 0; padding: 0; border: 0; }
.tool-fieldset legend { margin-bottom: 10px; font-size: 13px; font-weight: 650; }
.tool-field-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-field-radio label { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.product-next-step { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.product-next-step p { margin: 0; color: var(--muted); }

.catalog-hero { padding: 70px 0 48px; border-bottom: 1px solid var(--line); }
.catalog-hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: end; }
.catalog-hero h1 { margin: 0; font-size: clamp(50px, 6vw, 82px); line-height: .94; letter-spacing: -.065em; }
.catalog-hero p { max-width: 620px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.catalog-search { height: 64px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 12px; padding: 0 18px; border: 2px solid var(--blue); border-radius: 11px; background: var(--surface); }
.catalog-search:focus-within { outline: 4px solid rgba(11,75,214,.12); }
.catalog-search input { min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.catalog-search-hint { margin-top: 8px !important; font-size: 11px !important; }
.catalog-content { padding: 34px 0 90px; }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; position: sticky; top: 78px; z-index: 20; background: var(--paper); scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs a { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 11px; }
.category-tabs a:hover { border-color: var(--blue); color: var(--blue); }
.catalog-group { padding: 62px 0 0; scroll-margin-top: 132px; }
.catalog-group-head { display: flex; align-items: start; gap: 16px; margin-bottom: 24px; }
.catalog-group-icon { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--soft-blue); }
.catalog-group-icon .ui-icon { width: 27px; height: 27px; filter: invert(26%) sepia(98%) saturate(2734%) hue-rotate(220deg) brightness(82%); }
.catalog-group h2 { margin: 0; font-size: 30px; line-height: 1.1; letter-spacing: -.035em; }
.catalog-group-head p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.search-empty { max-width: 540px; margin: 70px auto 0; padding: 34px; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.search-empty .ui-icon { width: 34px; height: 34px; margin: 0 auto 16px; }
.search-empty h2 { margin: 0; }
.search-empty p { color: var(--muted); }
.request-result-page { min-height: 64vh; display: flex; align-items: center; }
.request-result-card { max-width: 720px; padding: 52px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: center; }
.request-result-icon { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; background: var(--lime); }
.request-result-icon .ui-icon { width: 32px; height: 32px; }
.request-result-card h1 { margin: 0; font-size: 46px; letter-spacing: -.05em; }
.request-result-card p { color: var(--muted); }
.request-result-card .dialog-actions { justify-content: center; margin-top: 24px; }

@media (max-width: 1180px) {
  .nav-inner { grid-template-columns: 150px 1fr auto; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .nav-register { min-width: 0; }
  .home-hero-grid { grid-template-columns: 1fr 1.15fr; gap: 50px; }
  .home-hero-copy h1 { font-size: 58px; }
  .access-item { padding: 20px 16px; }
  .access-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .pricing-rail { grid-template-columns: repeat(3, 1fr); }
  .api-card, .custom-card { grid-column: span 1; }
  .custom-card { grid-column: span 2; }
  .task-categories { grid-template-columns: repeat(3, 1fr); border: 0; gap: 14px; }
  .task-category { border: 1px solid var(--line) !important; border-radius: 12px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .container { width: min(100% - 40px, var(--max-width)); }
  .nav-header { height: 68px; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-inner .nav-logo { grid-column: 1; justify-self: start; }
  .nav-inner .nav-actions { grid-column: 2; justify-self: end; }
  .nav-links, .nav-login, .nav-register { display: none; }
  .hamburger { display: inline-flex; }
  .mobile-nav-overlay { position: fixed; inset: 68px 0 0; z-index: 180; background: rgba(11,11,12,.4); }
  .mobile-nav-overlay.open { display: block; }
  .mobile-nav-panel { position: fixed; inset: 68px 0 auto; z-index: 190; padding: 18px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .2s ease; }
  .mobile-nav-panel.open { display: grid; transform: translateY(0); }
  .mobile-nav-panel a, .mobile-nav-panel > button { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 8px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-weight: 600; }
  .mobile-nav-panel .btn-primary { margin-top: 12px; justify-content: center; border: 0; background: var(--blue); color: #fff; }
  .home-hero { padding-top: 46px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-hero-copy h1 { font-size: clamp(52px, 11vw, 70px); }
  .task-search-panel { padding-top: 0; }
  .access-rail { grid-template-columns: 1fr 1fr; }
  .access-item:nth-child(3)::before { display: none; }
  .access-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pricing-rail { grid-template-columns: 1fr 1fr; }
  .plan-card, .custom-card { grid-column: auto; }
  .custom-card { grid-column: span 2; }
  .task-categories { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid, .request-panel { grid-template-columns: 1fr; gap: 36px; }
  .blog-grid, .pricing-grid, .process-grid, .categories-grid, .related-grid { grid-template-columns: 1fr 1fr; }
  .product-copy-grid, .catalog-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-grid-steps { grid-template-columns: 1fr 1fr; }
  .development-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 38px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max-width)); }
  .home-hero { padding: 34px 0 38px; }
  .home-hero > .container, .access-section > .container, .category-showcase > .container { width: min(100% - 28px, 1360px); }
  .eyebrow { font-size: 10px; }
  .home-hero-copy h1 { max-width: 100%; font-size: 45px; line-height: .96; overflow-wrap: break-word; }
  .home-hero-copy p { margin-top: 20px; font-size: 16px; }
  .task-search { height: 64px; padding-left: 16px; }
  .task-search input { font-size: 16px; }
  .quick-tasks { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .quick-tasks::-webkit-scrollbar { display: none; }
  .quick-tasks a { flex: 0 0 auto; }
  .access-rail { grid-template-columns: 1fr; }
  .access-item + .access-item::before { display: none; }
  .access-item:nth-child(n+2) { border-top: 1px solid var(--line); }
  .pricing-rail { grid-template-columns: 1fr; }
  .custom-card { grid-column: auto; }
  .plan-card { min-height: 150px; }
  .section { padding: 64px 0; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 26px; }
  .section-title { font-size: 38px; }
  .task-categories, .services-grid, .blog-grid, .pricing-grid, .process-grid, .categories-grid, .related-grid { grid-template-columns: 1fr; }
  .process-grid-steps, .tool-form-row { grid-template-columns: 1fr; }
  .product-copy-main h2 { font-size: 34px; }
  .category-tabs { top: 68px; }
  .task-category { min-height: 154px; }
  .audience-grid { gap: 28px; }
  .audience-copy > p { font-size: 17px; }
  .audience-copy ul { grid-template-columns: 1fr; }
  .final-cta-inner { align-items: stretch; flex-direction: column; padding: 34px 26px; }
  .final-cta h2 { font-size: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  .dialog-actions { flex-direction: column; }
  .hero, .page-hero, .product-hero { padding: 46px 0 34px; }
  .hero-cta { align-items: stretch; flex-direction: column; }
  .service-tool { padding: 18px; }
  .request-panel { padding: 26px 20px; }
}

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

@media print {
  .nav-header, .footer, .mobile-nav-panel, .mobile-nav-overlay, .coming-dialog { display: none !important; }
  .section { padding: 22px 0; }
  body { background: #fff; }
}
/* Consent and optional advertising are isolated from the core layout. */
.privacy-banner {
  position: fixed;
  z-index: 1000;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 22px;
  color: #f8fbff;
  background: #071f55;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgb(0 25 76 / 30%);
}
.privacy-banner strong { display: block; margin-bottom: 5px; font-size: 16px; }
.privacy-banner p { max-width: 720px; margin: 0 0 4px; color: rgb(248 251 255 / 76%); font-size: 14px; line-height: 1.5; }
.privacy-banner a { color: #dfff4f; font-size: 13px; }
.privacy-banner-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.privacy-banner-actions form { margin: 0; }
.privacy-banner-actions .btn-secondary { color: #fff; border-color: rgb(255 255 255 / 35%); background: transparent; }
.yandex-ad-slot { margin-block: 32px; padding-block: 12px; border-block: 1px solid #e5e3dc; }
.yandex-ad-slot > span { display: block; margin-bottom: 8px; color: #77746c; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 760px) {
  .privacy-banner { right: 12px; bottom: 12px; left: 12px; align-items: stretch; flex-direction: column; gap: 14px; padding: 18px; }
  .privacy-banner-actions { display: grid; grid-template-columns: 1fr; }
  .privacy-banner-actions button { width: 100%; }
}

/* Читаемость форм внутри синих request-панелей: белая карточка + контрастный текст */
.request-panel .product-kicker { color: #b9d0ff; }
.request-panel .tool-form.request-form {
  padding: 26px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.request-panel .request-form label { color: var(--ink); }

/* Тарифные карточки: подпись лимита отдельной строкой без переносов */
.plan-card > strong { font-size: 44px; }
.plan-card > strong small { display: block; margin-top: 5px; white-space: nowrap; font-size: 11px; letter-spacing: 0; }

/* Похожие сервисы: карточки по центру, кнопка категории по центру */
.related-grid.related-grid-many { grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); justify-content: center; }
.related-more { display: flex; justify-content: center; }

/* Карточки кликабельны целиком (stretched-link, без JS - SEO-безопасно) */
.service-card { position: relative; }
.service-card .service-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.blog-card { position: relative; }
.blog-card h3 > a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.blog-card .text-link { position: relative; z-index: 1; }
