/* ============================================================
   Drafted — dft.css  |  Full-site stylesheet
   Prefix: dft  |  All 23 pages
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,700;12..96,800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ─── Custom Properties ────────────────────────────────────── */
:root {
  --dft-bg-dark:      #0F1B15;
  --dft-bg-dark-alt:  #1B3327;
  --dft-bg-sand:      #F6F2EB;
  --dft-bg-dune:      #EDE7DB;
  --dft-bg-white:     #FFFFFF;

  --dft-text-dark:    #EDE9E3;
  --dft-muted-dark:   #9EA8A2;
  --dft-text-light:   #0F1B15;
  --dft-muted-light:  #5E5A55;

  --dft-forest:       #2C6B4A;
  --dft-glow:         #4D9E72;
  --dft-copper:       #9E4E28;
  --dft-copper-hover: #7D3D1F;

  --dft-nav-h:        64px;
  --dft-container:    1160px;
  --dft-gap:          32px;

  --dft-radius-sm:    6px;
  --dft-radius-md:    12px;
  --dft-radius-lg:    20px;

  --dft-section-y:    80px;
  --dft-section-y-md: 56px;
  --dft-section-y-sm: 40px;

  --dft-font-head:    'Bricolage Grotesque', system-ui, sans-serif;
  --dft-font-body:    'DM Sans', system-ui, sans-serif;

  --dft-shadow-card:  0 2px 16px rgba(15,27,21,0.12);
  --dft-shadow-nav:   0 1px 0 rgba(255,255,255,0.06);
}

/* ─── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--dft-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dft-text-light);
  background: var(--dft-bg-sand);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--dft-font-head);
  line-height: 1.15;
  font-weight: 800;
}

/* ─── Layout Utilities ─────────────────────────────────────── */
.dft-container {
  width: 100%;
  max-width: var(--dft-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.dft-section {
  padding-block: var(--dft-section-y);
}

/* ─── Background Contexts ──────────────────────────────────── */
.dft-bg--dark {
  background: var(--dft-bg-dark);
  color: var(--dft-text-dark);
}
.dft-bg--dark-alt {
  background: var(--dft-bg-dark-alt);
  color: var(--dft-text-dark);
}
.dft-bg--sand {
  background: var(--dft-bg-sand);
  color: var(--dft-text-light);
}
.dft-bg--dune {
  background: var(--dft-bg-dune);
  color: var(--dft-text-light);
}
.dft-bg--white {
  background: var(--dft-bg-white);
  color: var(--dft-text-light);
}

/* ─── Typography Scale ─────────────────────────────────────── */
.dft-eyebrow {
  font-family: var(--dft-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dft-copper);
}
.dft-bg--dark .dft-eyebrow,
.dft-bg--dark-alt .dft-eyebrow {
  color: var(--dft-glow);
}

.dft-h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
.dft-h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }
.dft-h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
.dft-h4 { font-size: 1.125rem; font-weight: 700; }

.dft-lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--dft-muted-light);
}
.dft-bg--dark .dft-lead,
.dft-bg--dark-alt .dft-lead {
  color: var(--dft-muted-dark);
}

.dft-section-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.dft-section-header--center {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 56px;
  text-align: center;
}
.dft-section-header .dft-eyebrow { margin-bottom: 12px; }
.dft-section-header .dft-h2 { margin-bottom: 16px; }
.dft-section-header .dft-lead { max-width: 540px; }
.dft-section-header--center .dft-lead { margin-inline: auto; }

/* ─── Buttons ──────────────────────────────────────────────── */
.dft-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--dft-radius-sm);
  font-family: var(--dft-font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}
.dft-btn:active { transform: translateY(1px); }

.dft-btn--primary {
  background: var(--dft-copper);
  color: #FFFFFF;
  border-color: var(--dft-copper);
}
.dft-btn--primary:hover {
  background: var(--dft-copper-hover);
  border-color: var(--dft-copper-hover);
}

.dft-btn--outline-light {
  background: transparent;
  color: var(--dft-text-light);
  border-color: currentColor;
  opacity: 0.75;
}
.dft-btn--outline-light:hover { opacity: 1; }

.dft-btn--ghost-dark {
  background: transparent;
  color: var(--dft-text-dark);
  border-color: rgba(237,233,227,0.35);
}
.dft-btn--ghost-dark:hover {
  background: rgba(237,233,227,0.08);
  border-color: rgba(237,233,227,0.6);
}

.dft-btn--ghost-light {
  background: transparent;
  color: var(--dft-text-light);
  border-color: rgba(15,27,21,0.3);
}
.dft-btn--ghost-light:hover {
  background: rgba(15,27,21,0.05);
  border-color: rgba(15,27,21,0.6);
}

.dft-btn--lg { padding: 14px 32px; font-size: 16px; }
.dft-btn--sm { padding: 8px 16px; font-size: 14px; }

/* ─── Nav ──────────────────────────────────────────────────── */
.dft-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--dft-nav-h);
  background: var(--dft-bg-dark);
  box-shadow: var(--dft-shadow-nav);
}

.dft-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--dft-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.dft-nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.dft-nav__logo img { height: 28px; width: auto; }

.dft-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.dft-nav__links a {
  font-family: var(--dft-font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--dft-muted-dark);
  padding: 6px 12px;
  border-radius: var(--dft-radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.dft-nav__links a:hover,
.dft-nav__links a.dft-active {
  color: var(--dft-text-dark);
  background: rgba(255,255,255,0.06);
}

.dft-nav__ctas {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dft-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.dft-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dft-text-dark);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.dft-nav--open .dft-nav__hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.dft-nav--open .dft-nav__hamburger span:nth-child(2) {
  opacity: 0;
}
.dft-nav--open .dft-nav__hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dft-nav__mobile {
  display: none;
  position: fixed;
  top: var(--dft-nav-h);
  left: 0;
  right: 0;
  background: var(--dft-bg-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 16px 24px 24px;
  z-index: 899;
}
.dft-nav__mobile.dft-nav__mobile--open { display: block; }
.dft-nav__mobile .dft-nav__links {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
}
.dft-nav__mobile .dft-nav__links a {
  font-size: 16px;
  padding: 10px 12px;
  width: 100%;
}
.dft-nav__mobile .dft-nav__ctas {
  flex-direction: column;
  width: 100%;
}
.dft-nav__mobile .dft-btn { width: 100%; justify-content: center; }

/* ─── Page padding for fixed nav ───────────────────────────── */
.dft-page-top {
  padding-top: var(--dft-nav-h);
}

/* ─── Footer ───────────────────────────────────────────────── */
.dft-footer {
  background: var(--dft-bg-dark);
  color: var(--dft-text-dark);
  padding-top: 64px;
  padding-bottom: 32px;
}

.dft-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--dft-gap);
  margin-bottom: 48px;
}

.dft-footer__brand .dft-footer__logo {
  margin-bottom: 16px;
}
.dft-footer__brand .dft-footer__logo img { height: 26px; width: auto; }
.dft-footer__brand p {
  font-size: 14px;
  color: var(--dft-muted-dark);
  line-height: 1.7;
  max-width: 240px;
}

.dft-footer__col h4 {
  font-family: var(--dft-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dft-muted-dark);
  margin-bottom: 16px;
}

.dft-footer__col ul { list-style: none; }
.dft-footer__col ul li { margin-bottom: 10px; }
.dft-footer__col ul a {
  font-size: 14px;
  color: var(--dft-muted-dark);
  transition: color 0.15s;
  text-decoration: none;
}
.dft-footer__col ul a:hover { color: var(--dft-text-dark); }

.dft-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dft-footer__address {
  font-size: 13px;
  color: var(--dft-muted-dark);
  line-height: 1.7;
}
.dft-footer__address a {
  color: var(--dft-muted-dark);
  text-decoration: none;
  transition: color 0.15s;
}
.dft-footer__address a:hover { color: var(--dft-text-dark); }

.dft-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.dft-footer__legal-links a {
  font-size: 13px;
  color: var(--dft-muted-dark);
  text-decoration: none;
  transition: color 0.15s;
}
.dft-footer__legal-links a:hover { color: var(--dft-text-dark); }

/* ─── Hero (index.html) ─────────────────────────────────────── */
.dft-hero {
  background: var(--dft-bg-dark);
  color: var(--dft-text-dark);
  padding-top: calc(var(--dft-nav-h) + 80px);
  padding-bottom: 80px;
  overflow: hidden;
}

.dft-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--dft-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.dft-hero__text .dft-eyebrow { margin-bottom: 16px; }
.dft-hero__text .dft-h1 { margin-bottom: 24px; }
.dft-hero__text .dft-lead { margin-bottom: 40px; max-width: 480px; }

.dft-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dft-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dft-hero__svg {
  width: 100%;
  max-width: 560px;
  height: auto;
}

/* ─── Problem / Stats section ──────────────────────────────── */
.dft-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dft-gap);
}

.dft-problem__stat {
  background: var(--dft-bg-white);
  border: 1px solid rgba(15,27,21,0.1);
  border-radius: var(--dft-radius-md);
  padding: 32px;
  text-align: center;
  box-shadow: var(--dft-shadow-card);
}
.dft-problem__stat-number {
  font-family: var(--dft-font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--dft-copper);
  line-height: 1;
  margin-bottom: 8px;
}
.dft-problem__stat-label {
  font-size: 15px;
  color: var(--dft-muted-light);
  line-height: 1.5;
}

/* ─── How-It-Works preview (homepage) ──────────────────────── */
.dft-hiw-preview__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dft-gap);
}
.dft-hiw-preview__step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dft-hiw-preview__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dft-copper);
  color: #fff;
  font-family: var(--dft-font-head);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dft-hiw-preview__step h3 { font-size: 1.125rem; margin-bottom: 4px; }
.dft-hiw-preview__step p {
  font-size: 14px;
  color: var(--dft-muted-light);
  line-height: 1.6;
}

/* ─── Features (dark) ──────────────────────────────────────── */
.dft-features__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.dft-features__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.dft-features__item {
  min-width: 0;
  max-width: 100%;
}
.dft-features__item > div:not(.dft-features__icon) {
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}
.dft-features__item {
  display: flex;
  gap: 20px;
  min-width: 0;
}
.dft-features__item > div:not(.dft-features__icon) {
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}
.dft-features__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--dft-radius-sm);
  background: rgba(77,158,114,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--dft-glow);
  font-size: 18px;
}
.dft-features__item h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
  color: var(--dft-text-dark);
}
.dft-features__item p {
  font-size: 14px;
  color: var(--dft-muted-dark);
  line-height: 1.6;
}

.dft-features__visual {
  position: sticky;
  top: calc(var(--dft-nav-h) + 32px);
}

/* ─── Pipeline mock (features visual) ──────────────────────── */
.dft-pipeline-mock {
  background: #13221A;
  border: 1px solid rgba(77,158,114,0.2);
  border-radius: var(--dft-radius-md);
  overflow: hidden;
  overflow-x: auto;
  max-width: 100%;
  font-family: 'DM Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 13px;
}
.dft-pipeline-mock__header {
  background: #0A1610;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(77,158,114,0.12);
}
.dft-pipeline-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dft-pipeline-mock__dot--red { background: #FF5F57; }
.dft-pipeline-mock__dot--yellow { background: #FFBD2E; }
.dft-pipeline-mock__dot--green { background: #28C840; }
.dft-pipeline-mock__title {
  font-size: 12px;
  color: var(--dft-muted-dark);
  margin-left: 8px;
}

.dft-pipeline-mock__table {
  width: 100%;
  border-collapse: collapse;
}
.dft-pipeline-mock__table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dft-muted-dark);
  border-bottom: 1px solid rgba(77,158,114,0.1);
}
.dft-pipeline-mock__table td {
  padding: 11px 16px;
  color: var(--dft-text-dark);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dft-pipeline-mock__table tr:last-child td { border-bottom: none; }
.dft-pipeline-mock__table tr:hover td { background: rgba(77,158,114,0.05); }

.dft-pm-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}
.dft-pm-badge--warm {
  background: rgba(158,78,40,0.25);
  color: #E07A54;
}
.dft-pm-badge--reviewing {
  background: rgba(77,158,114,0.2);
  color: #7DD8A9;
}
.dft-pm-badge--intro {
  background: rgba(158,78,40,0.2);
  color: #E8956A;
}
.dft-pm-badge--offered {
  background: rgba(44,107,74,0.3);
  color: #68CF9A;
}
.dft-pm-badge--closed {
  background: rgba(158,158,140,0.15);
  color: var(--dft-muted-dark);
}

/* ─── Proof / Testimonials ──────────────────────────────────── */
.dft-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dft-gap);
}
.dft-proof__card {
  background: var(--dft-bg-white);
  border: 1px solid rgba(15,27,21,0.09);
  border-radius: var(--dft-radius-md);
  padding: 28px;
  box-shadow: var(--dft-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dft-proof__quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dft-text-light);
  flex: 1;
}
.dft-proof__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dft-proof__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dft-bg-dune);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--dft-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--dft-forest);
  flex-shrink: 0;
  overflow: hidden;
}
.dft-proof__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dft-proof__author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dft-text-light);
}
.dft-proof__author-role {
  font-size: 13px;
  color: var(--dft-muted-light);
}
.dft-proof__stars {
  color: var(--dft-copper);
  font-size: 13px;
  letter-spacing: 1px;
}

/* ─── Pricing preview (homepage strip) ─────────────────────── */
.dft-pricing-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dft-gap);
}

/* ─── CTA Banner ────────────────────────────────────────────── */
.dft-cta-banner {
  text-align: center;
}
.dft-cta-banner .dft-h2 { margin-bottom: 16px; }
.dft-cta-banner .dft-lead { margin-bottom: 40px; margin-inline: auto; max-width: 520px; }
.dft-cta-banner__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Subpage Hero ──────────────────────────────────────────── */
.dft-subhero {
  padding-top: calc(var(--dft-nav-h) + 64px);
  padding-bottom: 64px;
}
.dft-subhero__inner {
  max-width: var(--dft-container);
  margin-inline: auto;
  padding-inline: 24px;
}
.dft-subhero__inner .dft-eyebrow { margin-bottom: 12px; }
.dft-subhero__inner .dft-h1 { margin-bottom: 20px; }
.dft-subhero__inner .dft-lead { max-width: 600px; margin-bottom: 32px; }

.dft-subhero--two-col .dft-subhero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dft-subhero--centered .dft-subhero__inner {
  text-align: center;
}
.dft-subhero--centered .dft-lead { margin-inline: auto; }

/* Stat band anchor for sub-page heroes */
.dft-subhero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.dft-subhero__stat-val {
  font-family: var(--dft-font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dft-copper);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.dft-bg--dark .dft-subhero__stat-val,
.dft-bg--dark-alt .dft-subhero__stat-val {
  color: var(--dft-glow);
}
.dft-subhero__stat-label {
  font-size: 13px;
  color: var(--dft-muted-light);
}
.dft-bg--dark .dft-subhero__stat-label,
.dft-bg--dark-alt .dft-subhero__stat-label {
  color: var(--dft-muted-dark);
}

/* ─── How It Works page ─────────────────────────────────────── */
.dft-hiw__steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.dft-hiw__step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.dft-hiw__step--flip {
  direction: rtl;
}
.dft-hiw__step--flip > * {
  direction: ltr;
}
.dft-hiw__step-num {
  font-family: var(--dft-font-head);
  font-size: 4rem;
  font-weight: 800;
  color: var(--dft-copper);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 8px;
}
.dft-hiw__step h3 { font-size: 1.5rem; margin-bottom: 16px; }
.dft-hiw__step p {
  font-size: 15px;
  color: var(--dft-muted-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.dft-hiw__step ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dft-hiw__step ul li {
  font-size: 14px;
  color: var(--dft-muted-light);
  padding-left: 20px;
  position: relative;
}
.dft-hiw__step ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dft-glow);
}
.dft-hiw__step-visual {
  border-radius: var(--dft-radius-md);
  overflow: hidden;
}
.dft-hiw__step-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ─── Pricing page ──────────────────────────────────────────── */
.dft-pricing__toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}
.dft-pricing__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--dft-bg-dune);
  border: 1px solid rgba(15,27,21,0.12);
  border-radius: 40px;
  padding: 4px 16px;
  cursor: pointer;
}
.dft-pricing__toggle-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--dft-muted-light);
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.dft-pricing__toggle-label--active {
  color: var(--dft-text-light);
  font-weight: 500;
}
.dft-pricing__toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.dft-pricing__toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.dft-pricing__toggle-track {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--dft-forest);
  transition: background 0.2s;
}
.dft-pricing__toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s;
}
.dft-pricing__toggle-input:checked ~ .dft-pricing__toggle-track { background: var(--dft-copper); }
.dft-pricing__toggle-input:checked ~ .dft-pricing__toggle-thumb { transform: translateX(20px); }

.dft-pricing__annual-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(158,78,40,0.12);
  color: var(--dft-copper);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  margin-left: 4px;
}
.dft-bg--dark .dft-pricing__annual-badge { background: rgba(158,78,40,0.2); }

.dft-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dft-gap);
  align-items: start;
}

.dft-pricing__card {
  background: var(--dft-bg-white);
  border: 1px solid rgba(15,27,21,0.1);
  border-radius: var(--dft-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--dft-shadow-card);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dft-pricing__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(15,27,21,0.14);
}
.dft-pricing__card--popular {
  border-color: var(--dft-copper);
  border-width: 2px;
  position: relative;
}
.dft-pricing__popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dft-copper);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.dft-pricing__card-name {
  font-family: var(--dft-font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dft-text-light);
}
.dft-pricing__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.dft-pricing__amount {
  font-family: var(--dft-font-head);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--dft-text-light);
}
.dft-pricing__period {
  font-size: 14px;
  color: var(--dft-muted-light);
}
.dft-pricing__desc {
  font-size: 14px;
  color: var(--dft-muted-light);
  line-height: 1.6;
}
.dft-pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.dft-pricing__features li {
  font-size: 14px;
  color: var(--dft-text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.dft-pricing__features li i {
  color: var(--dft-forest);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.dft-pricing__features li.dft-pricing__feature--cross {
  color: var(--dft-muted-light);
}
.dft-pricing__features li.dft-pricing__feature--cross i {
  color: var(--dft-muted-light);
}
.dft-pricing__trial-note {
  font-size: 12px;
  color: var(--dft-muted-light);
  text-align: center;
  margin-top: -8px;
}

.dft-pricing__btn-wrap { margin-top: auto; }

/* Annual price data attribute toggling */
.dft-price-monthly { display: inline; }
.dft-price-annual  { display: none; }
body.dft-annual .dft-price-monthly { display: none; }
body.dft-annual .dft-price-annual  { display: inline; }

/* ─── Pricing FAQ ────────────────────────────────────────────── */
.dft-faq {
  max-width: 760px;
  margin-inline: auto;
}
.dft-faq__item {
  border-bottom: 1px solid rgba(15,27,21,0.1);
}
.dft-faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--dft-font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dft-text-light);
  transition: color 0.15s;
}
.dft-faq__question:hover { color: var(--dft-copper); }
.dft-faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  color: var(--dft-muted-light);
}
.dft-faq__icon::before,
.dft-faq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.dft-faq__icon::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.dft-faq__icon::after  { width: 2px; height: 12px; top: 4px; left: 9px; }

.dft-faq__item--open .dft-faq__icon::after { transform: rotate(90deg); opacity: 0; }
.dft-faq__item--open .dft-faq__question { color: var(--dft-copper); }

.dft-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.dft-faq__item--open .dft-faq__answer {
  max-height: 400px;
}
.dft-faq__answer-inner {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--dft-muted-light);
  line-height: 1.7;
}

/* Dark context FAQ */
.dft-bg--dark .dft-faq__item,
.dft-bg--dark-alt .dft-faq__item {
  border-bottom-color: rgba(255,255,255,0.08);
}
.dft-bg--dark .dft-faq__question,
.dft-bg--dark-alt .dft-faq__question {
  color: var(--dft-text-dark);
}
.dft-bg--dark .dft-faq__item--open .dft-faq__question,
.dft-bg--dark-alt .dft-faq__item--open .dft-faq__question {
  color: var(--dft-glow);
}
.dft-bg--dark .dft-faq__answer-inner,
.dft-bg--dark-alt .dft-faq__answer-inner {
  color: var(--dft-muted-dark);
}

/* ─── About page ─────────────────────────────────────────────── */
.dft-about__mission {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.dft-about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dft-gap);
}
.dft-about__value {
  background: var(--dft-bg-white);
  border-radius: var(--dft-radius-md);
  padding: 28px;
  border: 1px solid rgba(15,27,21,0.08);
}
.dft-about__value-icon {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--dft-forest);
}
.dft-about__value h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.dft-about__value p { font-size: 14px; color: var(--dft-muted-light); line-height: 1.6; }

.dft-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dft-gap);
}
.dft-team__card {
  background: var(--dft-bg-white);
  border-radius: var(--dft-radius-md);
  overflow: hidden;
  border: 1px solid rgba(15,27,21,0.08);
  box-shadow: var(--dft-shadow-card);
}
.dft-team__portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: var(--dft-bg-dune);
}
.dft-team__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.dft-team__initials {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--dft-font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dft-forest);
}
.dft-team__info {
  padding: 20px 24px;
}
.dft-team__name { font-size: 1.0625rem; font-weight: 700; margin-bottom: 2px; }
.dft-team__role {
  font-size: 13px;
  color: var(--dft-copper);
  font-weight: 500;
  margin-bottom: 10px;
}
.dft-team__bio {
  font-size: 13px;
  color: var(--dft-muted-light);
  line-height: 1.6;
}

/* ─── Contact page ───────────────────────────────────────────── */
.dft-contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.dft-contact__info h3 { font-size: 1.25rem; margin-bottom: 24px; }
.dft-contact__info p {
  font-size: 15px;
  color: var(--dft-muted-light);
  line-height: 1.7;
  margin-bottom: 32px;
}
.dft-contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dft-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.dft-contact__detail-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--dft-radius-sm);
  background: rgba(44,107,74,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--dft-forest);
  font-size: 15px;
}
.dft-contact__detail-val {
  font-size: 14px;
  color: var(--dft-text-light);
  line-height: 1.5;
}
.dft-contact__detail-val a {
  color: var(--dft-forest);
  text-decoration: none;
}
.dft-contact__detail-val a:hover { text-decoration: underline; }

/* Contact form */
.dft-form {
  background: var(--dft-bg-white);
  border-radius: var(--dft-radius-lg);
  padding: 40px;
  border: 1px solid rgba(15,27,21,0.08);
  box-shadow: var(--dft-shadow-card);
}
.dft-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dft-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.dft-form__group:last-of-type { margin-bottom: 0; }
.dft-form__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dft-text-light);
}
.dft-form__input,
.dft-form__textarea,
.dft-form__select {
  width: 100%;
  padding: 12px 14px;
  background: var(--dft-bg-sand);
  border: 1.5px solid rgba(15,27,21,0.15);
  border-radius: var(--dft-radius-sm);
  font-size: 15px;
  color: var(--dft-text-light);
  transition: border-color 0.15s;
  font-family: var(--dft-font-body);
}
.dft-form__input:focus,
.dft-form__textarea:focus,
.dft-form__select:focus {
  border-color: var(--dft-forest);
  outline: none;
}
.dft-form__input::placeholder,
.dft-form__textarea::placeholder {
  color: var(--dft-muted-light);
  opacity: 0.7;
}
.dft-form__textarea { resize: vertical; min-height: 140px; }
.dft-form__submit { margin-top: 24px; }
.dft-form__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.dft-form__success-icon {
  font-size: 48px;
  color: var(--dft-forest);
  margin-bottom: 16px;
}
.dft-form__success h3 { font-size: 1.25rem; margin-bottom: 8px; }
.dft-form__success p { font-size: 15px; color: var(--dft-muted-light); }

/* ─── Auth pages ─────────────────────────────────────────────── */
.dft-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dft-bg-dark);
  padding: 32px 24px;
}
.dft-auth-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(44,107,74,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(158,78,40,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.dft-auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--dft-bg-dark-alt);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--dft-radius-lg);
  padding: 48px 40px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.dft-auth-card__logo {
  text-align: center;
  margin-bottom: 32px;
}
.dft-auth-card__logo img { height: 30px; margin-inline: auto; }
.dft-auth-card__title {
  font-family: var(--dft-font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dft-text-dark);
  text-align: center;
  margin-bottom: 8px;
}
.dft-auth-card__subtitle {
  font-size: 14px;
  color: var(--dft-muted-dark);
  text-align: center;
  margin-bottom: 32px;
}

.dft-auth-form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.dft-auth-form__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dft-text-dark);
}
.dft-auth-form__input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--dft-radius-sm);
  font-size: 15px;
  color: var(--dft-text-dark);
  font-family: var(--dft-font-body);
  transition: border-color 0.15s;
}
.dft-auth-form__input:focus {
  outline: none;
  border-color: var(--dft-glow);
}
.dft-auth-form__input::placeholder { color: var(--dft-muted-dark); opacity: 0.6; }

.dft-auth-form__helper {
  display: flex;
  justify-content: flex-end;
  margin-top: -8px;
  margin-bottom: 8px;
}
.dft-auth-form__helper a {
  font-size: 13px;
  color: var(--dft-glow);
  text-decoration: none;
}
.dft-auth-form__helper a:hover { text-decoration: underline; }

.dft-auth-form__submit {
  width: 100%;
  margin-top: 8px;
}
.dft-auth-form__submit .dft-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 15px;
}

.dft-auth-form__error {
  display: none;
  padding: 12px 14px;
  background: rgba(158,78,40,0.15);
  border: 1px solid rgba(158,78,40,0.3);
  border-radius: var(--dft-radius-sm);
  color: #E07A54;
  font-size: 14px;
  margin-bottom: 16px;
}
.dft-auth-form__error--visible { display: block; }

.dft-auth-card__confirm {
  display: none;
  text-align: center;
  padding: 16px 0;
}
.dft-auth-card__confirm-icon {
  font-size: 40px;
  color: var(--dft-glow);
  margin-bottom: 16px;
}
.dft-auth-card__confirm h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dft-text-dark);
  margin-bottom: 12px;
}
.dft-auth-card__confirm p {
  font-size: 14px;
  color: var(--dft-muted-dark);
  line-height: 1.6;
}
.dft-auth-card__confirm--visible { display: block; }

.dft-auth-card__links {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--dft-muted-dark);
}
.dft-auth-card__links a {
  color: var(--dft-glow);
  text-decoration: none;
}
.dft-auth-card__links a:hover { text-decoration: underline; }

.dft-auth-card__terms {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--dft-muted-dark);
}
.dft-auth-card__terms a {
  color: var(--dft-muted-dark);
  text-decoration: underline;
}

/* ─── Blog listing ───────────────────────────────────────────── */
.dft-blog__featured {
  margin-bottom: 64px;
}
.dft-blog__featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--dft-radius-lg);
  overflow: hidden;
  background: var(--dft-bg-white);
  border: 1px solid rgba(15,27,21,0.09);
  box-shadow: var(--dft-shadow-card);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dft-blog__featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(15,27,21,0.14);
}
.dft-blog__featured-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.dft-blog__featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.dft-blog__featured-card:hover .dft-blog__featured-img img { transform: scale(1.03); }
.dft-blog__featured-body {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dft-blog__featured-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dft-copper);
  margin-bottom: 12px;
}
.dft-blog__featured-title {
  font-family: var(--dft-font-head);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--dft-text-light);
  line-height: 1.25;
  margin-bottom: 16px;
}
.dft-blog__featured-excerpt {
  font-size: 15px;
  color: var(--dft-muted-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.dft-blog__featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--dft-muted-light);
}
.dft-blog__featured-meta time { color: var(--dft-muted-light); }

.dft-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dft-gap);
}
.dft-blog__card {
  background: var(--dft-bg-white);
  border-radius: var(--dft-radius-md);
  overflow: hidden;
  border: 1px solid rgba(15,27,21,0.09);
  box-shadow: var(--dft-shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.dft-blog__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(15,27,21,0.13);
}
.dft-blog__card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.dft-blog__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.dft-blog__card:hover .dft-blog__card-img img { transform: scale(1.04); }
.dft-blog__card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dft-blog__card-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dft-copper);
  margin-bottom: 10px;
}
.dft-blog__card-title {
  font-family: var(--dft-font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dft-text-light);
  line-height: 1.3;
  margin-bottom: 10px;
}
.dft-blog__card-excerpt {
  font-size: 13px;
  color: var(--dft-muted-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.dft-blog__card-meta {
  font-size: 12px;
  color: var(--dft-muted-light);
  display: flex;
  gap: 8px;
  align-items: center;
}
.dft-blog__card-meta time { color: var(--dft-muted-light); }

/* ─── Blog article ───────────────────────────────────────────── */
.dft-article-hero {
  background: var(--dft-bg-dark);
  padding-top: calc(var(--dft-nav-h) + 48px);
  padding-bottom: 48px;
}
.dft-article-hero__inner {
  max-width: var(--dft-container);
  margin-inline: auto;
  padding-inline: 24px;
}
.dft-article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--dft-muted-dark);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}
.dft-article-back:hover { color: var(--dft-text-dark); }
.dft-article-hero__tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dft-glow);
  margin-bottom: 12px;
}
.dft-article-hero__title {
  font-family: var(--dft-font-head);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--dft-text-dark);
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 20px;
}
.dft-article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--dft-muted-dark);
}
.dft-article-hero__meta time { color: var(--dft-muted-dark); }
.dft-article-hero__meta span { color: var(--dft-muted-dark); }

.dft-article-cover {
  max-width: var(--dft-container);
  margin-inline: auto;
  padding-inline: 24px;
  margin-top: -24px;
  margin-bottom: 48px;
}
.dft-article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--dft-radius-md);
  box-shadow: 0 8px 32px rgba(15,27,21,0.25);
  max-width: 720px;
  margin-inline: auto;
}

.dft-article-body {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-bottom: 80px;
}
.dft-article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dft-text-light);
  margin-top: 40px;
  margin-bottom: 16px;
}
.dft-article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dft-text-light);
  margin-top: 32px;
  margin-bottom: 12px;
}
.dft-article-body p {
  font-size: 16px;
  color: var(--dft-text-light);
  line-height: 1.75;
  margin-bottom: 20px;
}
.dft-article-body ul,
.dft-article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.dft-article-body ul { list-style: disc; }
.dft-article-body ol { list-style: decimal; }
.dft-article-body li {
  font-size: 16px;
  color: var(--dft-text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}
.dft-article-body blockquote {
  border-left: 3px solid var(--dft-copper);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--dft-bg-dune);
  border-radius: 0 var(--dft-radius-sm) var(--dft-radius-sm) 0;
}
.dft-article-body blockquote p {
  font-style: italic;
  color: var(--dft-text-light);
  margin-bottom: 0;
  font-size: 17px;
}
.dft-article-body a {
  color: var(--dft-forest);
  text-decoration: underline;
  text-decoration-color: rgba(44,107,74,0.4);
}
.dft-article-body a:hover {
  text-decoration-color: var(--dft-forest);
}

.dft-article-cta {
  background: var(--dft-bg-dark);
  color: var(--dft-text-dark);
  padding: 48px;
  border-radius: var(--dft-radius-lg);
  text-align: center;
  margin: 40px 0;
}
.dft-article-cta h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--dft-text-dark);
  margin-bottom: 12px;
}
.dft-article-cta p {
  font-size: 15px;
  color: var(--dft-muted-dark);
  margin-bottom: 24px;
}

.dft-article-related {
  border-top: 1px solid rgba(15,27,21,0.1);
  padding-top: 40px;
  margin-top: 40px;
}
.dft-article-related h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dft-text-light);
  margin-bottom: 24px;
}
.dft-article-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dft-article-related__item {
  background: var(--dft-bg-dune);
  border-radius: var(--dft-radius-md);
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: background 0.15s;
}
.dft-article-related__item:hover { background: var(--dft-bg-white); }
.dft-article-related__item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dft-text-light);
  margin-bottom: 6px;
}
.dft-article-related__item p { font-size: 13px; color: var(--dft-muted-light); margin-bottom: 0; }

/* ─── Legal pages ─────────────────────────────────────────────── */
.dft-legal-page {
  background: var(--dft-bg-sand);
}
.dft-legal-content {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 24px;
  padding-block: 64px;
  background: var(--dft-bg-sand);
  color: var(--dft-text-light);
}
.dft-legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.dft-legal-content .dft-legal-updated {
  font-size: 13px;
  color: var(--dft-muted-light);
  margin-bottom: 40px;
}
.dft-legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}
.dft-legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
}
.dft-legal-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--dft-text-light);
  margin-bottom: 16px;
}
.dft-legal-content ul, .dft-legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.dft-legal-content ul { list-style: disc; }
.dft-legal-content ol { list-style: decimal; }
.dft-legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dft-text-light);
  margin-bottom: 6px;
}
.dft-legal-content a {
  color: var(--dft-forest);
  text-decoration: underline;
}

/* ─── Cookie Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dft-bg-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-banner__inner {
  max-width: var(--dft-container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 14px;
  color: var(--dft-muted-dark);
  flex: 1;
  min-width: 240px;
}
.cookie-banner__text a {
  color: var(--dft-glow);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: var(--dft-radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 1.5px solid transparent;
  color: var(--dft-text-dark);
}
.cookie-banner__btn--primary {
  background: var(--dft-copper);
  color: #FFFFFF;
  border-color: var(--dft-copper);
}
.cookie-banner__btn--primary:hover {
  background: var(--dft-copper-hover);
  border-color: var(--dft-copper-hover);
}
.cookie-banner__btn--secondary {
  background: transparent;
  color: var(--dft-muted-dark);
  border-color: rgba(255,255,255,0.2);
}
.cookie-banner__btn--secondary:hover {
  background: rgba(255,255,255,0.07);
  color: var(--dft-text-dark);
  border-color: rgba(255,255,255,0.4);
}

/* ─── Hero SVG warm path ────────────────────────────────────── */
.dft-hero-warm-path {
  animation-play-state: running;
}
@media (prefers-reduced-motion: reduce) {
  .dft-hero-warm-path { animation-play-state: paused; }
}

/* ─── Fade-in Animations ────────────────────────────────────── */
.dft-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.dft-fade.dft-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .dft-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── 404 page ────────────────────────────────────────────────── */
.dft-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}
.dft-404__code {
  font-family: var(--dft-font-head);
  font-size: 8rem;
  font-weight: 800;
  color: var(--dft-copper);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}
.dft-404 h1 { font-size: 2rem; margin-bottom: 12px; }
.dft-404 p { font-size: 16px; color: var(--dft-muted-light); margin-bottom: 32px; }

/* ─── Divider ─────────────────────────────────────────────────── */
.dft-divider {
  border: none;
  border-top: 1px solid rgba(15,27,21,0.1);
  margin: 0;
}
.dft-bg--dark .dft-divider,
.dft-bg--dark-alt .dft-divider {
  border-top-color: rgba(255,255,255,0.07);
}

/* ─── Tag chips ────────────────────────────────────────────────── */
.dft-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(44,107,74,0.1);
  color: var(--dft-forest);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}

/* ─── Utility link ─────────────────────────────────────────────── */
.dft-link {
  color: var(--dft-forest);
  text-decoration: underline;
  text-decoration-color: rgba(44,107,74,0.35);
  transition: text-decoration-color 0.15s;
}
.dft-link:hover { text-decoration-color: var(--dft-forest); }
.dft-bg--dark .dft-link,
.dft-bg--dark-alt .dft-link {
  color: var(--dft-glow);
  text-decoration-color: rgba(77,158,114,0.35);
}
.dft-bg--dark .dft-link:hover,
.dft-bg--dark-alt .dft-link:hover {
  text-decoration-color: var(--dft-glow);
}

/* ─── Skip link ─────────────────────────────────────────────────── */
.dft-skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--dft-copper);
  color: white;
  padding: 8px 16px;
  border-radius: var(--dft-radius-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.15s;
}
.dft-skip-link:focus { top: 8px; }

/* ─── OG / meta image placeholder  ─────────────────────────────── */
.dft-og-image { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --dft-section-y: 64px;
  }
  .dft-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .dft-features__inner {
    grid-template-columns: 1fr;
  }
  .dft-features__visual {
    position: static;
  }
  .dft-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .dft-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .dft-hero__visual { order: -1; }
  .dft-hiw__step,
  .dft-hiw__step--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .dft-contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dft-about__values {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --dft-section-y: var(--dft-section-y-sm);
    --dft-nav-h: 60px;
  }
  .dft-features__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .dft-features__list {
    width: 100%;
    max-width: 100%;
  }
  .dft-features__item,
  .dft-features__item > div:not(.dft-features__icon) {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .dft-features__item h3,
  .dft-features__item p {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
  .dft-nav__links,
  .dft-nav__ctas {
    display: none;
  }
  .dft-nav__hamburger { display: flex; }

  .dft-hero__inner { gap: 32px; }

  .dft-problem__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
  .dft-hiw-preview__steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .dft-proof__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .dft-pricing-preview__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
  .dft-blog__featured-card {
    grid-template-columns: 1fr;
  }
  .dft-blog__featured-img {
    aspect-ratio: 16 / 9;
  }
  .dft-blog__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .dft-team__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }
  .dft-about__values {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
  .dft-subhero--two-col .dft-subhero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dft-form__row { grid-template-columns: 1fr; }
  .dft-footer__grid { grid-template-columns: 1fr 1fr; }
  .dft-hiw__step, .dft-hiw__step--flip { grid-template-columns: 1fr; direction: ltr; }
  .dft-auth-card { padding: 36px 24px; }
  .dft-article-related__grid { grid-template-columns: 1fr; }
  .dft-blog__featured-body { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .dft-footer__grid { grid-template-columns: 1fr; }
  .dft-footer__bottom {
    flex-direction: column;
    gap: 12px;
  }
  .dft-auth-card { max-width: 100%; }
  .dft-article-cta { padding: 32px 20px; }
  .dft-pricing__card { padding: 24px; }
  .dft-form { padding: 24px 20px; }
}

/* ============================================================
   CONTRAST FIXES (Phase 2c — agent-3)
   ============================================================ */

/* CONTRAST-01 / CONTRAST-02: Pricing toggle labels on dark hero bg.
   Default label color (--dft-muted-light = #5E5A55) and active color
   (--dft-text-light = #0F1B15) both fail on --dft-bg-dark (#0F1B15).
   Override to readable light values when inside a dark section. */
.dft-bg--dark .dft-pricing__toggle-label,
.dft-bg--dark-alt .dft-pricing__toggle-label {
  color: rgba(246,242,235,0.65);
}
.dft-bg--dark .dft-pricing__toggle-label--active,
.dft-bg--dark-alt .dft-pricing__toggle-label--active {
  color: rgba(246,242,235,1.0);
}
/* Annual badge: copper on dark bg needs lighter copper text (#9E4E28 = 2.58:1). */
.dft-bg--dark .dft-pricing__annual-badge,
.dft-bg--dark-alt .dft-pricing__annual-badge {
  color: #E8A87C;
  background: rgba(158,78,40,0.25);
}

/* CONTRAST-04: .dft-link and inline links inside auth card.
   Auth card uses background: var(--dft-bg-dark-alt) directly (no class ancestor),
   so .dft-bg--dark-alt .dft-link selector doesn't apply. Override explicitly. */
.dft-auth-card .dft-link,
.dft-auth-card .dft-auth-card__links a,
.dft-auth-card .dft-auth-form__helper a,
.dft-auth-card .dft-auth-card__terms a {
  color: #62C98F;
  text-decoration-color: rgba(98,201,143,0.4);
}
.dft-auth-card .dft-link:hover,
.dft-auth-card .dft-auth-card__links a:hover,
.dft-auth-card .dft-auth-form__helper a:hover,
.dft-auth-card .dft-auth-card__terms a:hover {
  text-decoration-color: #62C98F;
}

/* CONTRAST-05: .dft-tag on dark hero background (article pages).
   Default forest green tag (#2C6B4A) on #12231A = 2.66:1. */
.dft-bg--dark .dft-tag,
.dft-bg--dark-alt .dft-tag {
  color: #7DD4A8;
  background: rgba(77,158,114,0.15);
}

/* CONTRAST-06: .dft-tag on sand/dune backgrounds.
   Default (#2C6B4A on ~#D8D8C8) = 4.40:1, just below 4.5 threshold. */
.dft-bg--sand .dft-tag,
.dft-bg--dune .dft-tag {
  color: #1E4A33;
  background: rgba(44,107,74,0.12);
}

/* Above-the-fold fade: elements already in the viewport at load don't benefit
   from a translateY animation that starts invisible. Override to avoid a blank
   hero state if JS is slow. dft.js failsafe still adds .dft-visible at 600ms
   which transitions them — this just ensures they're never fully blank. */
.dft-page-top .dft-fade,
.dft-hero .dft-fade {
  opacity: 1;
  transform: none;
}

/* JS state hooks — no visual styling; classes are used by dft.js selectors */
.dft-contact-form { /* JS state hook — querySelector in dft.js initContactForm(), no styling */ }
.dft-auth-form-view { /* JS state hook — querySelectorAll in dft.js initAuthForms() register/forgot-password flow */ }
