:root {
  --fm-primary: #4f46e5;
  --fm-primary-dark: #4338ca;
  --fm-secondary: #0ea5e9;
  --fm-accent: #14b8a6;
  --fm-page-bg: #f5f7fb;
  --fm-surface: #ffffff;
  --fm-surface-soft: rgba(255, 255, 255, 0.75);
  --fm-surface-alt: #edf2ff;
  --fm-text: #0f172a;
  --fm-text-muted: #64748b;
  --fm-border: rgba(15, 23, 42, 0.08);
  --fm-border-strong: rgba(15, 23, 42, 0.12);
  --fm-radius-lg: 28px;
  --fm-radius: 18px;
  --fm-radius-sm: 12px;
  --fm-shadow: 0 28px 60px rgba(15, 23, 42, 0.09);
  --fm-shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.07);
  --fm-gradient: linear-gradient(135deg, #eef2ff 0%, #f8fafc 48%, #ecfeff 100%);
  --fm-hero-gradient: radial-gradient(circle at 5% 15%, rgba(79, 70, 229, 0.16), transparent 45%), linear-gradient(130deg, #ffffff 0%, #f5f7ff 48%, #f8fbff 100%);
  --fm-font-base: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fm-font-heading: "Outfit", "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Global ---------- */
html,
body {
  background: var(--fm-page-bg);
  color: var(--fm-text);
  font-family: var(--fm-font-base);
  line-height: 1.6;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fm-font-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
}

a {
  color: var(--fm-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: var(--fm-primary-dark);
}

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

.toolarea-pdf,
.contact-page .container,
.text-section,
.card {
  background: var(--fm-surface);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow-soft);
  border: 1px solid var(--fm-border);
}

.text-section {
  padding: 48px;
}

@media (max-width: 768px) {
  .text-section {
    padding: 28px;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--fm-border);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}

.header nav {
  max-width: 1220px;
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 36px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.header .brand img {
  width: clamp(120px, 14vw, 164px);
  height: auto;
}

.header .menu {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.header .menu span,
.header .menu ul li > a,
.actions a {
  color: var(--fm-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.header .menu ul,
.actions ul {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header .menu ul li > a:hover,
.actions a:hover {
  color: var(--fm-primary);
}

.header .actions .btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: var(--fm-primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.25);
}

.header .actions .btn:hover {
  background: var(--fm-primary-dark);
}

/* ---------- Hero ---------- */
.hero-banner {
  margin: clamp(24px, 4vw, 56px) auto;
  max-width: 1220px;
  padding: clamp(32px, 6vw, 64px);
  background: var(--fm-hero-gradient);
  border-radius: var(--fm-radius-lg);
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: var(--fm-shadow);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 6vw, 64px);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(14, 165, 233, 0.16), transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--fm-primary);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.hero-banner h1 {
  font-size: clamp(1.95rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--fm-text);
  letter-spacing: -0.02em;
}

.hero-banner p {
  color: var(--fm-text-muted);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  max-width: 560px;
}

.hero-upload {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  max-width: 480px;
}

.hero-note {
  color: var(--fm-text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.hero-upload .hero-primary {
  width: fit-content;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--fm-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-badge::before {
  content: "★";
  font-size: 0.75rem;
  color: var(--fm-primary);
}

.hero-primary,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-primary {
  background: var(--fm-primary);
  color: #fff;
  box-shadow: 0 20px 35px rgba(79, 70, 229, 0.28);
}
.hero-primary:hover {
  background: var(--fm-primary-dark);
  transform: translateY(-2px);
}

.hero-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--fm-primary);
  border: 1px solid rgba(79, 70, 229, 0.25);
}
.hero-secondary:hover {
  background: rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
}

.hero-media {
  position: relative;
  padding: clamp(12px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--fm-radius);
  border: 1px solid rgba(79, 70, 229, 0.1);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.hero-media img {
  border-radius: var(--fm-radius-sm);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--fm-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.workflows {
  max-width: 1220px;
  margin: clamp(24px, 6vw, 56px) auto;
  padding: 0 clamp(18px, 4vw, 28px);
}

.workflows__header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: clamp(24px, 5vw, 40px);
}

.workflows__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fm-text);
}

.workflows__header p {
  max-width: 640px;
  color: var(--fm-text-muted);
  font-size: 1rem;
}

.workflows__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.workflow-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: var(--fm-radius);
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  box-shadow: var(--fm-shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease;
  color: inherit;
  text-decoration: none;
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(79, 70, 229, 0.4);
}

.workflow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--fm-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.workflow-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fm-text);
}

.workflow-card p {
  color: var(--fm-text-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.workflow-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--fm-primary);
  font-size: 0.95rem;
}

.proof {
  max-width: 1220px;
  margin: clamp(32px, 7vw, 72px) auto;
  padding: 0 clamp(18px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 6vw, 40px);
}

.proof__header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.proof__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fm-text);
}

.proof__header p {
  color: var(--fm-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.proof__card {
  background: var(--fm-surface);
  border-radius: var(--fm-radius);
  border: 1px solid var(--fm-border);
  padding: 28px 24px;
  box-shadow: var(--fm-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.proof__card--metrics {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.12));
  border-color: rgba(79, 70, 229, 0.35);
}

.proof__card--metrics h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fm-text);
}

.proof__card--metrics ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  color: var(--fm-text);
}

.proof__card--metrics li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.proof__card--metrics li span {
  color: var(--fm-primary);
  font-weight: 700;
}

.proof__quote {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fm-text);
}

.proof__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof__name {
  font-weight: 600;
  color: var(--fm-text);
}

.proof__role {
  color: var(--fm-text-muted);
  font-size: 0.9rem;
}

.how-it-works {
  max-width: 1220px;
  margin: clamp(32px, 7vw, 72px) auto;
  padding: clamp(28px, 6vw, 48px) clamp(18px, 4vw, 28px);
  background: rgba(241, 245, 249, 0.6);
  border-radius: var(--fm-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 40px);
}

.how-it-works__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.how-it-works__intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fm-text);
}

.how-it-works__intro p {
  color: var(--fm-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.how-step {
  background: #fff;
  border-radius: var(--fm-radius);
  border: 1px solid var(--fm-border);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--fm-shadow-soft);
}

.how-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.12);
  color: var(--fm-primary);
  font-weight: 700;
  font-size: 1rem;
}

.how-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fm-text);
}

.how-step p {
  color: var(--fm-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.how-card {
  background: #fff;
  border-radius: var(--fm-radius);
  border: 1px solid var(--fm-border);
  padding: 24px 22px;
  box-shadow: var(--fm-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fm-text);
}

.how-card p {
  color: var(--fm-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.faq {
  max-width: 1220px;
  margin: clamp(32px, 7vw, 72px) auto;
  padding: 0 clamp(18px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vw, 36px);
}

.faq__header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.faq__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fm-text);
}

.faq__header p {
  color: var(--fm-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.faq__list {
  border-radius: var(--fm-radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.8);
  overflow: hidden;
}

.faq__item + .faq__item {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px clamp(18px, 4vw, 28px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--fm-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--fm-primary);
  transition: transform 0.2s ease;
}

.faq__question.is-open {
  color: var(--fm-primary);
  background: rgba(79, 70, 229, 0.08);
}

.faq__question.is-open::after {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease;
  padding: 0 clamp(18px, 4vw, 28px);
}

.faq__answer p {
  margin: 0;
  padding-bottom: 20px;
  color: var(--fm-text-muted);
  line-height: 1.6;
}


/* ---------- Buttons & Inputs ---------- */
.btn,
button,
input[type="submit"],
input[type="button"] {
  font-family: inherit;
  border-radius: var(--fm-radius-sm);
  border: none;
  background: var(--fm-primary);
  color: #fff;
  padding: 12px 22px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--fm-primary-dark);
  box-shadow: 0 18px 30px rgba(79, 70, 229, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(79, 70, 229, 0.1);
  color: var(--fm-primary);
}

.btn-outline:hover {
  background: rgba(79, 70, 229, 0.16);
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--fm-radius-sm);
  border: 1px solid var(--fm-border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--fm-text);
  font-size: 0.98rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(79, 70, 229, 0.6);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

label {
  font-weight: 600;
  color: var(--fm-text);
  display: block;
  margin-bottom: 8px;
}

/* ---------- Tool Cards ---------- */
.tools {
  max-width: 1220px;
  margin: clamp(24px, 6vw, 48px) auto;
  padding: 0 clamp(18px, 4vw, 28px);
}

.tools__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.tools__item {
  background: var(--fm-surface);
  border-radius: var(--fm-radius);
  border: 1px solid var(--fm-border);
  padding: 26px 24px;
  box-shadow: var(--fm-shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.tools__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tools__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px rgba(79, 70, 229, 0.12);
}
.tools__item:hover::after {
  opacity: 1;
}

.tools__item h3 {
  margin: 18px 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fm-text);
}

.tools__item__content p {
  color: var(--fm-text-muted);
  font-size: 0.95rem;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--fm-secondary);
  font-weight: 600;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
}

.home-title {
  text-align: center;
  margin-top: clamp(32px, 5vw, 52px);
}

.home-title__title {
  font-size: clamp(1.95rem, 4vw, 2.75rem);
  color: var(--fm-text);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  font-family: var(--fm-font-heading);
}

.home-title__subtitle {
  color: var(--fm-text-muted);
  font-weight: 500;
  font-size: 1.05rem;
  font-family: var(--fm-font-base);
}

/* ---------- Tool Page Wrapper ---------- */
.toolarea-pdf {
  margin: clamp(24px, 5vw, 42px) auto;
  padding: clamp(28px, 4vw, 42px);
  max-width: 1100px;
  background: var(--fm-surface);
}

.bg-tool {
  margin: clamp(24px, 4vw, 42px) auto 0;
  max-width: 1100px;
  padding: clamp(42px, 6vw, 72px) clamp(32px, 5vw, 64px);
  background: var(--fm-gradient);
  border-radius: var(--fm-radius-lg);
  border: 1px solid rgba(79, 70, 229, 0.18);
  box-shadow: var(--fm-shadow);
  text-align: center;
}

.bg-tool h1 {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  margin-bottom: 12px;
  color: var(--fm-text);
}

.bg-tool strong {
  color: var(--fm-text-muted);
  font-weight: 500;
  display: block;
  font-size: 1.05rem;
}

.drag-drop {
  border: 2px dashed rgba(79, 70, 229, 0.25);
  border-radius: var(--fm-radius);
  padding: 36px;
  background: rgba(79, 70, 229, 0.06);
  color: var(--fm-text-muted);
  transition: border 0.2s ease, background 0.2s ease;
}

.drag-drop:hover {
  background: rgba(79, 70, 229, 0.1);
}

/* ---------- Contact ---------- */
.contact-page .container {
  max-width: 920px;
  margin: clamp(24px, 6vw, 48px) auto;
  padding: clamp(28px, 5vw, 48px);
}

.contact-header h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--fm-text);
}

.contact-header p {
  color: var(--fm-text-muted);
}

.flash {
  padding: 14px 18px;
  border-radius: var(--fm-radius-sm);
  margin-bottom: 12px;
  font-weight: 500;
}

.flash.success {
  background: rgba(20, 184, 166, 0.15);
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.28);
}

.flash.error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 245, 255, 0.92) 100%);
  color: var(--fm-text);
  padding: clamp(48px, 6vw, 72px) clamp(18px, 5vw, 32px) clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--fm-border);
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  width: clamp(140px, 15vw, 180px);
}

.footer-desc {
  color: var(--fm-text-muted);
  line-height: 1.7;
  max-width: 420px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--fm-primary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
  background: rgba(79, 70, 229, 0.18);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(18px, 4vw, 32px);
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--fm-text);
}

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

.footer-links a {
  color: var(--fm-text-muted);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--fm-primary);
}

.footer-sep {
  border: none;
  height: 1px;
  background: var(--fm-border);
  margin: clamp(32px, 5vw, 48px) 0 clamp(24px, 4vw, 36px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--fm-text-muted);
}

.madeby {
  font-weight: 600;
  color: var(--fm-text);
}

.heart {
  color: #f43f5e;
}

.sub-footer {
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--fm-border);
  padding: 18px;
}

.sub-footer__inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--fm-text-muted);
  font-size: 0.9rem;
}

.sub-footer__inner a {
  color: var(--fm-primary);
  font-weight: 600;
}

/* ---------- Misc ---------- */
#backToTopBtn {
  background: var(--fm-primary);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  box-shadow: 0 18px 35px rgba(79, 70, 229, 0.25);
}

#backToTopBtn:hover {
  background: var(--fm-primary-dark);
}

.network {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header nav {
    flex-wrap: wrap;
    gap: 16px;
  }
  .header .menu {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .header .menu ul,
  .actions ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-desc,
  .footer-social {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .hero-banner {
    padding: 32px 24px;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-primary,
  .hero-secondary {
    flex: 1;
    min-width: 140px;
  }
  .text-section,
  .toolarea-pdf,
  .contact-page .container {
    padding: 24px;
  }
}
