:root {
  --fd-primary: #3BA4A4;
  --fd-primary-dark: #238484;
  --fd-bg: #F4F9F9;
  --fd-text: #111111;
  --fd-muted: #6b7280;
  --fd-border: #e5e7eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: var(--fd-text);
  background-color: white;
}

a {
  color: var(--fd-primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.fd-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.fd-header {
  border-bottom: 1px solid var(--fd-border);
  background-color: white;
}

.fd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.fd-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fd-text);
}

.fd-logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #e0fbff, #3BA4A4);
}

.fd-nav {
  display: flex;
  gap: 16px;
}

.fd-nav-link {
  font-size: 0.95rem;
  color: var(--fd-muted);
}

.fd-nav-link:hover {
  color: var(--fd-primary-dark);
}

/* Nav toggle (burger) */

.fd-nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}

.fd-nav-toggle-box {
  position: relative;
  width: 22px;
  height: 16px;
  display: inline-block;
}

.fd-nav-toggle-line,
.fd-nav-toggle-line::before,
.fd-nav-toggle-line::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background-color: #111827;
  transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease, bottom 0.18s ease;
}

.fd-nav-toggle-line {
  top: 50%;
  transform: translateY(-50%);
}

.fd-nav-toggle-line::before,
.fd-nav-toggle-line::after {
  content: "";
}

.fd-nav-toggle-line::before {
  top: -6px;
}

.fd-nav-toggle-line::after {
  bottom: -6px;
}

/* Open state */

.fd-nav-toggle.is-open .fd-nav-toggle-line {
  transform: translateY(-50%) rotate(45deg);
}

.fd-nav-toggle.is-open .fd-nav-toggle-line::before {
  top: 0;
  transform: rotate(-90deg);
}

.fd-nav-toggle.is-open .fd-nav-toggle-line::after {
  bottom: 0;
  opacity: 0;
}

/* Mobile nav behaviour */

@media (max-width: 768px) {
  .fd-header-inner {
    padding: 12px 0;
  }

  .fd-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .fd-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--fd-border);
    padding: 10px 16px 14px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
  }

  .fd-nav.fd-nav-open {
    display: flex;
  }

  .fd-nav-link {
    font-size: 0.95rem;
    padding: 4px 0;
  }

  /* Keep header above content */
  .fd-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #ffffff;
  }
}

/* Hero */
/* HERO */

.fd-hero {
  background: #f5f7fb;
  padding: 3.5rem 0;
  border-bottom: 1px solid #e3e6ef;
}

.fd-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  /* give the card a decent width */
  gap: 2.5rem;
  align-items: stretch;
}

.fd-hero-copy h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.fd-hero-lead {
  font-size: 1.05rem;
  max-width: 40rem;
  margin-bottom: 1.5rem;
  color: var(--fd-muted);
}

.fd-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.fd-hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.fd-hero-bullets li+li {
  margin-top: 0.4rem;
}

/* Right-hand hero product column */

.fd-hero-product {
  display: flex;
  align-items: stretch;
}

/* Make the hero card fill the whole column */
.fd-hero-product .fd-card,
.fd-hero-product .fd-card-hero {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* Keep the product image a sensible size */
.fd-hero-product .fd-card-img {
  width: 100%;
  max-width: 220px;
  height: 200px;
  margin: 0 auto 1rem;
  object-fit: contain;
  background-color: #f9fafb;
}

.fd-hero-product .fd-card-body {
  flex: 1;
}

.fd-hero-product .fd-card-footer {
  margin-top: 1.25rem;
}

/* Mobile: stack hero nicely */

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

  .fd-hero-product {
    margin-top: 1.5rem;
  }
}
.fd-main {
  padding-bottom: 48px;
}


.fd-hero-content h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0 0 12px;
}

.fd-hero-content p {
  margin: 0 0 20px;
  color: var(--fd-muted);
  max-width: 520px;
}

.fd-hero-side {
  align-self: center;
}

.fd-hero-list {
  list-style: none;
  padding: 16px 18px;
  margin: 0;
  border-radius: 12px;
  background-color: var(--fd-bg);
}

.fd-hero-list li {
  margin: 4px 0;
}

.fd-hero-note {
  font-size: 0.85rem;
  color: var(--fd-muted);
  margin-top: 8px;
}

/* Sections */

.fd-section {
  padding: 16px 0 32px;
}

.fd-section-alt {
  background-color: #fafafa;
  border-top: 1px solid var(--fd-border);
  border-bottom: 1px solid var(--fd-border);
}

.fd-section-title {
  font-size: 1.6rem;
  margin: 0 0 16px;
}

.fd-lead {
  max-width: 640px;
  color: var(--fd-muted);
}

/* Grid */

.fd-grid {
  display: grid;
  gap: 18px;
}

.fd-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.fd-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Cards */

.fd-card {
  border-radius: 16px;
  border: 1px solid var(--fd-border);
  background-color: white;
  padding: 16px 18px;
}

.fd-card-product {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fd-card-horizontal {
  flex-direction: column;
}

.fd-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background-color: #f9fafb;
}

.fd-card-img-sm {
  width: 180px;
  height: 160px;
  flex-shrink: 0;
  margin: 0 auto;
}

.fd-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fd-card-title {
  font-size: 1.05rem;
  margin: 0;
}

.fd-card-sub {
  font-size: 0.9rem;
  color: var(--fd-muted);
  margin: 0;
}

.fd-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--fd-muted);
}

.fd-card-features li {
  margin: 2px 0;
}

.fd-card-footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fd-rating {
  font-size: 0.9rem;
  color: #f97316;
}

/* Buttons */

.fd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.fd-btn-primary {
  background-color: var(--fd-primary);
  color: white;
}

.fd-btn-primary:hover {
  background-color: var(--fd-primary-dark);
}

.fd-btn-secondary {
  background-color: #111827;
  color: white;
}

.fd-btn-secondary:hover {
  background-color: #030712;
}

/* Feature links */

.fd-grid-features .fd-feature-link {
  border-radius: 16px;
  border: 1px solid var(--fd-border);
  padding: 14px 16px;
  background-color: white;
  display: block;
}

.fd-grid-features .fd-feature-link h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.fd-grid-features .fd-feature-link p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fd-muted);
}

/* Article */

.fd-article {
  max-width: 700px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--fd-text);
}

.fd-article p {
  margin-bottom: 14px;
}

.fd-article-cta {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--fd-border);
  font-size: 0.9rem;
}

.fd-article-cta a {
  font-weight: 500;
}

/* Footer */

.fd-footer {
  border-top: 1px solid var(--fd-border);
  background-color: white;
  padding: 18px 0 26px;
  font-size: 0.85rem;
}

.fd-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.fd-footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fd-footer-small {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: var(--fd-muted);
}

/* Responsive */

@media (max-width: 768px) {
  .fd-header-inner {
    align-items: flex-start;
    gap: 8px;
  }


  .fd-card-horizontal {
    flex-direction: column;
  }

  .fd-footer-inner {
    grid-template-columns: 1fr;
  }
}

/* Table */

.fd-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.fd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fd-border);
}

.fd-table thead {
  background-color: #f3f4f6;
}

.fd-table th,
.fd-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--fd-border);
}

.fd-table th {
  font-weight: 600;
  font-size: 0.86rem;
  color: #374151;
}

.fd-table tbody tr:last-child td {
  border-bottom: none;
}

.fd-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.fd-btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.m-0 {
  margin: 0 !important
}

.mt-0,
.my-0 {
  margin-top: 0 !important
}

.mr-0,
.mx-0 {
  margin-right: 0 !important
}

.mb-0,
.my-0 {
  margin-bottom: 0 !important
}

.ml-0,
.mx-0 {
  margin-left: 0 !important
}

.m-1 {
  margin: .25rem !important
}

.mt-1,
.my-1 {
  margin-top: .25rem !important
}

.mr-1,
.mx-1 {
  margin-right: .25rem !important
}

.mb-1,
.my-1 {
  margin-bottom: .25rem !important
}

.ml-1,
.mx-1 {
  margin-left: .25rem !important
}

.m-2 {
  margin: .5rem !important
}

.mt-2,
.my-2 {
  margin-top: .5rem !important
}

.mr-2,
.mx-2 {
  margin-right: .5rem !important
}

.mb-2,
.my-2 {
  margin-bottom: .5rem !important
}

.ml-2,
.mx-2 {
  margin-left: .5rem !important
}

.m-3 {
  margin: 1rem !important
}

.mt-3,
.my-3 {
  margin-top: 1rem !important
}

.mr-3,
.mx-3 {
  margin-right: 1rem !important
}

.mb-3,
.my-3 {
  margin-bottom: 1rem !important
}

.ml-3,
.mx-3 {
  margin-left: 1rem !important
}

.m-4 {
  margin: 1.5rem !important
}

.mt-4,
.my-4 {
  margin-top: 1.5rem !important
}

.mr-4,
.mx-4 {
  margin-right: 1.5rem !important
}

.mb-4,
.my-4 {
  margin-bottom: 1.5rem !important
}

.ml-4,
.mx-4 {
  margin-left: 1.5rem !important
}

.m-5 {
  margin: 3rem !important
}

.mt-5,
.my-5 {
  margin-top: 3rem !important
}

.mr-5,
.mx-5 {
  margin-right: 3rem !important
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important
}

.ml-5,
.mx-5 {
  margin-left: 3rem !important
}

.p-0 {
  padding: 0 !important
}

.pt-0,
.py-0 {
  padding-top: 0 !important
}

.pr-0,
.px-0 {
  padding-right: 0 !important
}

.pb-0,
.py-0 {
  padding-bottom: 0 !important
}

.pl-0,
.px-0 {
  padding-left: 0 !important
}

.p-1 {
  padding: .25rem !important
}

.pt-1,
.py-1 {
  padding-top: .25rem !important
}

.pr-1,
.px-1 {
  padding-right: .25rem !important
}

.pb-1,
.py-1 {
  padding-bottom: .25rem !important
}

.pl-1,
.px-1 {
  padding-left: .25rem !important
}

.p-2 {
  padding: .5rem !important
}

.pt-2,
.py-2 {
  padding-top: .5rem !important
}

.pr-2,
.px-2 {
  padding-right: .5rem !important
}

.pb-2,
.py-2 {
  padding-bottom: .5rem !important
}

.pl-2,
.px-2 {
  padding-left: .5rem !important
}

.p-3 {
  padding: 1rem !important
}

.pt-3,
.py-3 {
  padding-top: 1rem !important
}

.pr-3,
.px-3 {
  padding-right: 1rem !important
}

.pb-3,
.py-3 {
  padding-bottom: 1rem !important
}

.pl-3,
.px-3 {
  padding-left: 1rem !important
}

.p-4 {
  padding: 1.5rem !important
}

.pt-4,
.py-4 {
  padding-top: 1.5rem !important
}

.pr-4,
.px-4 {
  padding-right: 1.5rem !important
}

.pb-4,
.py-4 {
  padding-bottom: 1.5rem !important
}

.pl-4,
.px-4 {
  padding-left: 1.5rem !important
}

.p-5 {
  padding: 3rem !important
}

.pt-5,
.py-5 {
  padding-top: 3rem !important
}

.pr-5,
.px-5 {
  padding-right: 3rem !important
}

.pb-5,
.py-5 {
  padding-bottom: 3rem !important
}

.pl-5,
.px-5 {
  padding-left: 3rem !important
}

.fd-section-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.fd-related-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.5rem;
}

.fd-related-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.fd-hero-lead {
  font-size: 1.05rem;
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.fd-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.fd-section-alt {
  background: #fafbff;
}

.fd-section-header {
  max-width: 44rem;
  margin-bottom: 1.75rem;
}

.fd-section-intro {
  color: #4b5563;
}

.fd-problem-card {
  display: block;
  padding: 1.1rem 1.2rem;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.fd-problem-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.fd-problem-card p {
  font-size: 0.9rem;
  color: #6b7280;
}

.fd-problem-card:hover {
  border-color: #2563eb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.fd-card-guide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fd-link-arrow {
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.fd-link-arrow::after {
  content: ' →';
}

/* Hero feature card */
.fd-article-header {
  background: #f5f7fb;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--fd-border);
  margin-bottom: 1.75rem;
}

.fd-article-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fd-muted);
  margin: 0 0 0.4rem;
}

.fd-article-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 2vw, 2.1rem);
}

.fd-article-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--fd-muted);
}
.fd-article-hero {
  margin: 24px 0 32px;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #e6f3ff 0, #f5f8fb 45%, #ffffff 100%);
}

@media (min-width: 768px) {
  .fd-article-hero {
    padding: 28px 28px 22px;
  }
}

.fd-article-hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4b84c9;
  margin-bottom: 6px;
}

.fd-article-hero-title {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

@media (min-width: 768px) {
  .fd-article-hero-title {
    font-size: 2.2rem;
  }
}

.fd-article-hero-intro {
  max-width: 40rem;
  margin: 0 0 10px;
  color: #4a5563;
}

.fd-article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #6b7280;
}

.fd-article-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.fd-article-main {
  flex: 1 1 auto;
  min-width: 0;
}

.fd-article-sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 96px;
  /* below header */
}

.fd-card-product--compact .fd-card-img {
  max-height: 180px;
  width: 100%;
  object-fit: contain;
}

.fd-card-product--compact .fd-card-body {
  padding: 16px 18px 18px;
}

.fd-btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

@media (max-width: 900px) {
  .fd-article-layout {
    flex-direction: column;
  }

  .fd-article-sidebar {
    position: static;
    width: 100%;
  }
}