:root {
  --bg: #f4eeea;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --border: rgba(29, 36, 46, 0.11);
  --border-strong: rgba(29, 36, 46, 0.18);
  --text: #1d242e;
  --muted: #606975;
  --accent: #f23822;
  --accent-deep: #1d242e;
  --accent-soft: rgba(242, 56, 34, 0.12);
  --shadow: 0 22px 54px rgba(29, 36, 46, 0.09);
  --shadow-soft: 0 10px 24px rgba(29, 36, 46, 0.07);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(242, 56, 34, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(29, 36, 46, 0.1), transparent 24%),
    linear-gradient(180deg, #fffdfc 0%, #f7efeb 52%, #f4eeea 100%);
  color: var(--text);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(242, 56, 34, 0.08);
  box-shadow: 0 6px 24px rgba(29, 36, 46, 0.05);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand img {
  width: auto;
  height: 40px;
  max-width: 180px;
  border-radius: 0;
  object-fit: contain;
}

.footer-brand img {
  height: 44px;
  max-width: 196px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.primary-nav a {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(242, 56, 34, 0.14);
  background: rgba(255, 255, 255, 0.94);
  padding: 10px;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.btn-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.icon-button {
  gap: 8px;
}

.icon-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, opacity 0.18s ease;
  letter-spacing: -0.01em;
}

.btn:hover,
.tool-card:hover,
.featured-card:hover,
.step-card:hover,
.info-card:hover,
.contact-card:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  opacity: 0.96;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep) 0%, #29313c 42%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(29, 36, 46, 0.18);
}

.btn-secondary,
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 239, 235, 0.95));
}

.header-actions .btn-secondary,
.header-actions .btn-primary {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 0;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
}

.header-actions .btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #ffece7 100%);
  border-color: rgba(242, 56, 34, 0.2);
  color: var(--text);
}

.header-actions .btn-secondary:hover {
  background: linear-gradient(180deg, #ffffff 0%, #ffd7ce 100%);
  border-color: rgba(242, 56, 34, 0.3);
}

.header-actions .btn-primary {
  background: linear-gradient(135deg, #111820 0%, #262d37 48%, #f23822 100%);
  box-shadow: 0 14px 24px rgba(29, 36, 46, 0.28);
  color: #ffffff;
}

.header-actions .btn-primary:hover {
  background: linear-gradient(135deg, #090d12 0%, #1e252e 48%, #d92e1b 100%);
}

.icon-button i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  flex: 0 0 auto;
  transform: translateY(-0.5px);
}

.header-actions .btn-secondary i {
  color: var(--accent);
}

.header-actions .btn-primary i {
  color: #ffffff;
}

.nav-cta {
  margin-left: 6px;
}

.hero,
.page-hero {
  position: relative;
  padding: 86px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--accent-deep);
  background: rgba(255, 248, 246, 0.92);
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.75rem, 5vw, 4.85rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero p,
.page-hero p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.hero-note {
  margin-top: 22px;
  padding: 18px 20px;
  max-width: 760px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 242, 238, 0.96));
  box-shadow: var(--shadow-soft);
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-note p {
  margin: 0;
  font-size: 0.97rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(242, 56, 34, 0.12);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 239, 232, 0.92));
  box-shadow: 0 28px 60px rgba(29, 36, 46, 0.1);
}

.hero-visual-card--illustration::before,
.hero-visual-card--illustration::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual-card--illustration::before {
  inset: auto auto -12% -10%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(242, 56, 34, 0.18), rgba(242, 56, 34, 0));
}

.hero-visual-card--illustration::after {
  top: 10%;
  right: -8%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(29, 36, 46, 0.14), rgba(29, 36, 46, 0));
}

.hero-visual-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(15, 23, 42, 0.12));
}

.trust-bar {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-bar li,
.tool-card-kicker {
  border: 1px solid rgba(242, 56, 34, 0.12);
  background: rgba(255, 255, 255, 0.96);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.featured-card,
.tool-card,
.step-card,
.info-card,
.contact-card,
.content-card,
.cta-strip {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.section {
  padding: 38px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(242, 56, 34, 0.06), rgba(255, 255, 255, 0.76));
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading span {
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  line-height: 1.15;
}

.section-heading p {
  color: var(--muted);
  max-width: 62ch;
  margin: 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.featured-card,
.step-card,
.info-card,
.contact-card,
.content-card {
  padding: 26px;
}

.featured-card,
.step-card,
.info-card,
.contact-card,
.content-card,
.faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 244, 0.94));
}

.featured-card span,
.step-card span {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.featured-card h2,
.step-card h3,
.info-card h3,
.contact-card h2 {
  margin: 10px 0 8px;
  line-height: 1.2;
}

.featured-card p,
.step-card p,
.info-card p,
.contact-card p,
.content-card p {
  color: var(--muted);
  margin: 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-logo-wrap {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(242, 56, 34, 0.12), rgba(29, 36, 46, 0.05));
  border: 1px solid rgba(242, 56, 34, 0.12);
}

.tool-logo-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.tool-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.tool-card-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tool-card-link::after {
  content: ">";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.tool-card:hover .tool-card-link::after {
  transform: translateX(3px);
}

.steps-grid,
.benefits-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.steps-grid,
.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-answer {
  color: var(--muted);
  padding-top: 8px;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  background: linear-gradient(135deg, rgba(29, 36, 46, 0.98), rgba(242, 56, 34, 0.96));
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.cta-strip h2 {
  margin: 0 0 6px;
}

.cta-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.cta-strip .btn {
  background: #fff;
  color: #0f172a;
  box-shadow: none;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(15, 23, 42, 0.3);
}

.tools-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.search-field input {
  width: min(420px, 100%);
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.search-field input:focus,
.filter-btn:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible,
.primary-nav a:focus-visible {
  outline: 3px solid rgba(242, 56, 34, 0.22);
  outline-offset: 2px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.filter-btn.is-active {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
}

.content-card.prose h2 {
  margin-top: 0;
}

.content-card.prose p {
  color: var(--muted);
}

.site-footer {
  margin-top: 20px;
  padding: 44px 0 28px;
  border-top: 1px solid rgba(242, 56, 34, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 240, 235, 0.98));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}

.footer-grid h3 {
  margin-top: 0;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-grid p,
.footer-note {
  color: var(--muted);
}

.footer-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(242, 56, 34, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .tool-card:hover,
  .featured-card:hover,
  .step-card:hover,
  .info-card:hover,
  .contact-card:hover {
    box-shadow: var(--shadow);
  }

  .btn-primary:hover {
    box-shadow: 0 18px 32px rgba(29, 36, 46, 0.2);
  }

  .btn-secondary:hover,
  .btn-ghost:hover {
    border-color: var(--border-strong);
    background: #fff6f4;
  }
}

@media (max-width: 860px) {
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid,
  .steps-grid,
  .benefits-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 249, 247, 0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav > a {
    padding: 10px 6px;
  }

  .cta-strip,
  .tools-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-note {
    padding: 16px 18px;
  }
}

@media (max-width: 560px) {
  .hero,
  .page-hero {
    padding-top: 48px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-strip .btn {
    width: 100%;
  }

  .hero-panel-card {
    padding: 22px;
  }

  .tool-card {
    padding: 20px;
  }

  .header-actions .btn {
    justify-content: center;
  }

  .hero-visual-card {
    width: min(100%, 460px);
  }
}




