/*
Theme Name: Dfile
Theme URI: https://example.com/dfile-theme
Author: OpenAI
Description: A lightweight custom WordPress theme for Dfile, focused on digital products, guides and email growth.
Version: 36.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: dfile
*/

:root {
  --dfile-red: #ef1010;
  --dfile-red-2: #c80000;
  --dfile-deep: #830000;
  --dfile-ink: #171717;
  --dfile-muted: #666;
  --dfile-line: #ececec;
  --dfile-soft: #fff4f4;
  --dfile-white: #fff;
  --dfile-shadow: 0 10px 35px rgba(0,0,0,.06);
  --dfile-radius: 16px;
  --dfile-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dfile-ink);
  background: var(--dfile-white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.dfile-wrap { width: min(calc(100% - 40px), var(--dfile-max)); margin-inline: auto; }
.dfile-section { padding: 72px 0; }
.dfile-kicker { color: var(--dfile-red); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 800; margin: 0 0 8px; }
.dfile-section-title { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; margin: 0; letter-spacing: -.04em; }
.dfile-muted { color: var(--dfile-muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.site-header .dfile-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.dfile-logo-mark { width: 44px; height: 44px; background: var(--dfile-red); color: #fff; border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-weight: 700; font-size: 32px; line-height: 1; }
.dfile-custom-logo { width: 52px !important; height: 52px !important; max-width: 52px !important; min-width: 52px; object-fit: cover; object-position: center; border-radius: 50%; display: block; flex: 0 0 52px; }
.dfile-brand-text { display: grid; line-height: 1.1; }
.dfile-brand-text strong { font-size: 1.08rem; }
.dfile-brand-text small { color: #777; font-size: .72rem; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-size: .95rem; font-weight: 650; }
.site-nav a:hover { color: var(--dfile-red); }
.dfile-header-cta { background: var(--dfile-red); color: #fff; padding: 11px 17px; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: .9rem; }
.dfile-menu-toggle { display:none; border:0; background:#f5f5f5; border-radius:10px; padding:10px 12px; font-size:20px; }

.dfile-hero { padding: 76px 0 52px; background: radial-gradient(circle at 72% 30%, #fff0f0 0, rgba(255,240,240,.6) 18%, transparent 38%); }
.dfile-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.dfile-hero h1 { font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; margin: 0 0 24px; max-width: 760px; }
.dfile-hero h1 span { color: var(--dfile-red); }
.dfile-hero-copy > p { font-size: 1.12rem; color: var(--dfile-muted); max-width: 620px; margin: 0; }
.dfile-actions { display:flex; gap:14px; flex-wrap:wrap; margin-top:30px; }
.dfile-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; border-radius:8px; padding:0 22px; text-decoration:none; font-weight:800; border:1.5px solid transparent; transition:.2s ease; }
.dfile-btn:hover { transform: translateY(-1px); }
.dfile-btn-primary { background:var(--dfile-red); color:#fff; }
.dfile-btn-primary:hover { background: var(--dfile-red-2); }
.dfile-btn-outline { color:var(--dfile-red); border-color:var(--dfile-red); background:#fff; }
.dfile-social-proof { margin-top: 34px; display:flex; align-items:center; gap:14px; color:#444; font-size:.88rem; }
.dfile-avatar-stack { display:flex; }
.dfile-avatar { width:34px; height:34px; flex:0 0 34px; border-radius:50%; border:3px solid #fff; margin-left:-8px; background:#eee; display:block; overflow:hidden; box-shadow:0 1px 3px rgba(0,0,0,.08); }
.dfile-avatar img { width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
.dfile-avatar:first-child { margin-left:0; }
.dfile-hero-art { position:relative; }
.dfile-hero-art img { width:100%; display:block; }

.dfile-feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; padding-top:28px; }
.dfile-feature { text-align:center; padding:10px; }
.dfile-icon { width:50px; height:50px; background:var(--dfile-red); color:#fff; border-radius:50%; display:grid; place-items:center; margin:0 auto 14px; font-size:22px; }
.dfile-feature h3 { margin:0 0 8px; font-size:1.02rem; }
.dfile-feature p { margin:0; color:var(--dfile-muted); font-size:.9rem; }

.dfile-freebie { display:grid; grid-template-columns:1fr 1.1fr; border-radius:18px; overflow:hidden; box-shadow:var(--dfile-shadow); background:#fff0f0; }
.dfile-freebie-copy { background:linear-gradient(135deg,#d51010,#8f0000); color:#fff; padding:48px; }
.dfile-freebie-copy .dfile-kicker { color:#fff; opacity:.85; }
.dfile-freebie-copy h2 { font-size:clamp(2rem,3.4vw,3.4rem); line-height:1.04; margin:0 0 16px; letter-spacing:-.04em; }
.dfile-freebie-copy p { color:rgba(255,255,255,.88); max-width:520px; }
.dfile-form { display:flex; background:#fff; border-radius:8px; overflow:hidden; margin-top:24px; max-width:520px; }
.dfile-form input { flex:1; border:0; padding:15px 16px; min-width:0; font:inherit; }
.dfile-form button { border:0; background:#fff; color:var(--dfile-red); font-weight:850; padding:0 20px; cursor:pointer; }
.dfile-form-note { font-size:.78rem; opacity:.8; margin-top:10px; }
.dfile-freebie-art { padding:34px; display:grid; place-items:center; }

.dfile-heading-row { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:28px; }
.dfile-product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.dfile-product-card { border:1px solid var(--dfile-line); border-radius:15px; background:#fff; padding:22px; box-shadow:0 8px 28px rgba(0,0,0,.04); display:flex; flex-direction:column; min-height:230px; }
.dfile-product-art { width:56px; height:56px; border:1px solid #ffb8b8; background:#fff6f6; border-radius:9px; display:grid; place-items:center; font-size:26px; margin-bottom:18px; }
.dfile-product-card h3 { font-size:1.05rem; line-height:1.15; margin:0 0 8px; }
.dfile-product-card p { color:var(--dfile-muted); font-size:.84rem; margin:0 0 20px; }
.dfile-product-bottom { margin-top:auto; display:flex; justify-content:space-between; align-items:center; }
.dfile-price { color:var(--dfile-red); font-weight:900; font-size:1.05rem; }
.dfile-arrow { color:var(--dfile-red); font-size:1.3rem; text-decoration:none; }

.dfile-testimonials { background:linear-gradient(135deg,#940000,#6f0000); color:#fff; }
.dfile-testimonials .dfile-kicker { color:#fff; text-align:center; opacity:.85; }
.dfile-testimonial-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:26px; }
.dfile-testimonial { text-align:center; padding:20px 36px; }
.dfile-testimonial + .dfile-testimonial { border-left:1px solid rgba(255,255,255,.28); }
.dfile-stars { color:#ffd13f; letter-spacing:2px; margin-bottom:12px; }
.dfile-testimonial blockquote { margin:0; font-size:1rem; }
.dfile-testimonial cite { display:block; margin-top:18px; font-style:normal; font-weight:800; }

.dfile-newsletter { padding:54px 0; }
.dfile-newsletter-grid { display:grid; grid-template-columns:.9fr 1.1fr; align-items:center; gap:50px; }
.dfile-newsletter-brand { display:flex; align-items:center; gap:20px; }
.dfile-newsletter-brand .dfile-logo-mark { width:72px; height:72px; font-size:52px; flex:0 0 auto; }
.dfile-newsletter h2 { margin:0 0 8px; font-size:clamp(1.7rem,3vw,2.5rem); line-height:1.08; }

.site-footer { background:#fafafa; border-top:1px solid var(--dfile-line); padding:48px 0 30px; }
.dfile-footer-grid { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; }
.site-footer h4 { margin:0 0 14px; }
.site-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.site-footer a { text-decoration:none; color:#444; }
.site-footer a:hover { color:var(--dfile-red); }
.dfile-footer-copy { margin-top:34px; color:#777; font-size:.85rem; border-top:1px solid var(--dfile-line); padding-top:22px; }

@media (max-width: 900px) {
  .dfile-menu-toggle { display:block; }
  .site-nav { display:none; position:absolute; top:76px; left:0; right:0; background:#fff; padding:20px; flex-direction:column; align-items:flex-start; border-bottom:1px solid var(--dfile-line); }
  .site-nav.is-open { display:flex; }
  .dfile-header-cta { display:none; }
  .dfile-hero-grid, .dfile-freebie, .dfile-newsletter-grid { grid-template-columns:1fr; }
  .dfile-hero-art { max-width:680px; margin-inline:auto; }
  .dfile-feature-grid, .dfile-product-grid { grid-template-columns:repeat(2,1fr); }
  .dfile-testimonial-grid { grid-template-columns:1fr; }
  .dfile-testimonial + .dfile-testimonial { border-left:0; border-top:1px solid rgba(255,255,255,.28); }
  .dfile-footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 600px) {
  .dfile-wrap { width:min(calc(100% - 28px), var(--dfile-max)); }
  .dfile-section { padding:54px 0; }
  .dfile-hero { padding-top:50px; }
  .dfile-hero h1 { font-size:clamp(2.7rem,13vw,4rem); }
  .dfile-feature-grid, .dfile-product-grid, .dfile-footer-grid { grid-template-columns:1fr; }
  .dfile-freebie-copy { padding:32px 24px; }
  .dfile-form { flex-direction:column; background:transparent; gap:8px; }
  .dfile-form input, .dfile-form button { min-height:48px; border-radius:8px; }
  .dfile-heading-row { align-items:flex-start; flex-direction:column; }
  .dfile-newsletter-brand { align-items:flex-start; }
}

.dfile-guide-link{color:var(--dfile-red,#e60000);font-weight:800;text-decoration:none}.dfile-guide-link:hover{text-decoration:underline}

.dfile-product-card h3 a{color:inherit;text-decoration:none}.dfile-product-card h3 a:hover{color:var(--dfile-red)}
.dfile-guide-thumb{display:block;margin:-22px -22px 18px;aspect-ratio:16/9;overflow:hidden;border-radius:15px 15px 0 0;background:#fff6f6}.dfile-guide-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.dfile-freebie-art img{width:min(100%,520px);max-height:420px;object-fit:contain}
@media(max-width:600px){.dfile-freebie-art{padding:24px 18px}.dfile-freebie-art img{max-height:300px}}


.dfile-mindset-card{width:100%;max-width:560px;margin:auto;color:var(--dfile-ink);text-align:center;padding:26px 22px 22px}.dfile-mindset-card h3{margin:0 auto 26px;font-size:clamp(1.15rem,2.2vw,1.55rem);line-height:1.25;letter-spacing:-.02em;max-width:500px}.dfile-mindset-card h3 strong{color:var(--dfile-red)}.dfile-mindset-split{display:grid;grid-template-columns:1fr 1px 1fr;gap:20px;align-items:start}.dfile-mindset-divider{width:1px;background:#f2b7b7;height:150px;align-self:center}.dfile-mindset-side{padding:2px 6px}.dfile-mindset-icon{width:66px;height:66px;border:2px solid var(--dfile-red);border-radius:50%;margin:0 auto 13px;display:grid;place-items:center;color:var(--dfile-red);font-size:30px;line-height:1}.dfile-mindset-side h4{margin:0;color:var(--dfile-red);font-size:1rem;letter-spacing:.02em}.dfile-mindset-side p{margin:8px 0 0;font-size:.9rem;color:#3f3f3f;white-space:nowrap}.dfile-both{border-top:1px solid #f2b7b7;margin:22px 6px 0;padding-top:17px;color:var(--dfile-red);font-weight:800;font-size:1.05rem}.dfile-both .heart{font-size:1.55rem;display:inline-block;margin-right:8px;vertical-align:-2px}@media(max-width:640px){.dfile-mindset-card{padding:30px 18px 28px}.dfile-mindset-card h3{font-size:1.2rem;margin-bottom:24px}.dfile-mindset-split{grid-template-columns:1fr;gap:18px}.dfile-mindset-divider{height:1px;width:75%;margin:auto}.dfile-mindset-side p{white-space:normal}.dfile-mindset-icon{width:58px;height:58px;font-size:26px}.dfile-both{margin-top:20px}}


/* Dfile custom logo sizing fix */
@media (max-width: 768px) {
  .site-header .dfile-wrap { min-height: 82px; gap: 12px; }
  .site-branding { gap: 12px; min-width: 0; }
  .dfile-custom-logo { width: 54px !important; height: 54px !important; max-width: 54px !important; min-width: 54px; flex-basis: 54px; border-radius: 50%; }
  .dfile-brand-text strong { font-size: 1.25rem; }
  .dfile-brand-text small { font-size: .82rem; line-height: 1.2; white-space: nowrap; }
}


/* v6: benefit section replaces placeholder testimonials */
.dfile-testimonial h3 { margin: 10px 0 10px; color:#fff; font-size:1.12rem; }
.dfile-testimonial p { margin:0; color:rgba(255,255,255,.92); font-size:1rem; line-height:1.65; }
.dfile-benefit-icon { width:44px; height:44px; margin:0 auto 14px; border:2px solid #ffd13f; border-radius:50%; display:grid; place-items:center; color:#ffd13f; font-weight:900; font-size:1.25rem; }



/* v26: true layered avatar stack. Each portrait is its own circular layer so overlaps are crisp. */
.dfile-social-proof {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #444;
  font-size: .88rem;
}
.dfile-avatar-stack {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
  isolation: isolate;
  overflow: visible !important;
}
.dfile-avatar-stack .dfile-avatar-img {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 0 0 -7px !important;
  border: 2px solid #fff !important;
  box-sizing: border-box !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.10) !important;
  position: relative !important;
}
.dfile-avatar-stack .dfile-avatar-img:first-child { margin-left: 0 !important; }
.dfile-avatar-stack .dfile-avatar-1 { z-index: 1; }
.dfile-avatar-stack .dfile-avatar-2 { z-index: 2; }
.dfile-avatar-stack .dfile-avatar-3 { z-index: 3; }
.dfile-avatar-stack .dfile-avatar-4 { z-index: 4; }
.dfile-avatar-stack .dfile-avatar-5 { z-index: 5; }
@media (max-width:600px) {
  .dfile-social-proof { gap: 12px; }
}

/* v27 avatar stacking fix: clean source crops + right-hand avatar layers above previous */
.dfile-avatar-stack {
  display:flex !important;
  align-items:center !important;
  overflow:visible !important;
  isolation:isolate !important;
}
.dfile-avatar-stack .dfile-avatar-img {
  width:34px !important;
  height:34px !important;
  min-width:34px !important;
  max-width:34px !important;
  flex:0 0 34px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  object-position:center !important;
  margin-left:-6px !important;
  border:2px solid #fff !important;
  box-sizing:border-box !important;
  position:relative !important;
  background:transparent !important;
  box-shadow:0 1px 3px rgba(0,0,0,.10) !important;
}
.dfile-avatar-stack .dfile-avatar-img:first-child { margin-left:0 !important; }
.dfile-avatar-stack .dfile-avatar-1 { z-index:1 !important; }
.dfile-avatar-stack .dfile-avatar-2 { z-index:2 !important; }
.dfile-avatar-stack .dfile-avatar-3 { z-index:3 !important; }
.dfile-avatar-stack .dfile-avatar-4 { z-index:4 !important; }
.dfile-avatar-stack .dfile-avatar-5 { z-index:5 !important; }


/* v28: replace avatar stack entirely with the supplied single image */
.dfile-social-proof .dfile-avatar-stack { display:none !important; }
.dfile-avatar-row-image {
  display:block !important;
  width:150px !important;
  height:auto !important;
  max-width:150px !important;
  flex:0 0 150px !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  object-fit:contain !important;
}
@media (max-width: 640px) {
  .dfile-avatar-row-image { width:150px !important; max-width:150px !important; flex-basis:150px !important; }
}

/* v29: inviting feature-card section */
html { scroll-behavior: smooth; }
#guides { scroll-margin-top: 24px; }
.dfile-feature-section {
  background:
    radial-gradient(circle at 10% 18%, rgba(239,48,39,.055) 0 2px, transparent 2.5px) 0 0/15px 15px,
    linear-gradient(180deg, #fffafa 0%, #fff6f6 58%, #fff2f2 100%);
  overflow: hidden;
  position: relative;
}
.dfile-feature-section::after {
  content:"";
  position:absolute;
  width:520px;
  height:220px;
  left:-180px;
  bottom:-145px;
  border-radius:50%;
  background:rgba(239,48,39,.055);
  transform:rotate(-8deg);
  pointer-events:none;
}
.dfile-feature-section .dfile-wrap { position:relative; z-index:1; }
.dfile-feature-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  padding-top:0;
}
.dfile-feature-card {
  position:relative;
  min-height:178px;
  display:grid;
  grid-template-columns:112px minmax(0,1fr) 42px;
  align-items:center;
  gap:24px;
  padding:30px 28px;
  color:var(--dfile-ink);
  text-decoration:none;
  background:rgba(255,255,255,.95);
  border:1px solid rgba(24,24,24,.07);
  border-radius:26px;
  box-shadow:0 16px 38px rgba(77,24,20,.07);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow:hidden;
}
.dfile-feature-card::before {
  content:"";
  position:absolute;
  width:52px;
  height:52px;
  right:-22px;
  top:-22px;
  border:5px solid rgba(239,48,39,.09);
  border-radius:50%;
}
.dfile-feature-card:nth-child(2)::before,
.dfile-feature-card:nth-child(4)::before { border-radius:0; width:7px; height:7px; border:0; box-shadow:0 0 0 2px rgba(239,48,39,.14), 14px 4px 0 0 rgba(239,48,39,.13), 7px 16px 0 0 rgba(239,48,39,.10); transform:rotate(25deg); right:30px; top:24px; }
.dfile-feature-card:hover,
.dfile-feature-card:focus-visible {
  transform:translateY(-3px);
  box-shadow:0 20px 44px rgba(77,24,20,.11);
  border-color:rgba(239,48,39,.18);
  outline:none;
}
.dfile-feature-icon-wrap {
  width:104px;
  height:104px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(239,48,39,.075);
}
.dfile-feature-icon {
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--dfile-red);
  box-shadow:0 12px 24px rgba(239,48,39,.20);
}
.dfile-feature-icon svg {
  width:43px;
  height:43px;
  fill:none;
  stroke:#fff;
  stroke-width:2.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.dfile-feature-copy { min-width:0; }
.dfile-feature-copy strong {
  display:block;
  margin:0 0 9px;
  font-size:1.22rem;
  line-height:1.15;
  letter-spacing:-.025em;
}
.dfile-feature-copy > span {
  display:block;
  color:var(--dfile-muted);
  font-size:.98rem;
  line-height:1.5;
}
.dfile-feature-arrow {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  justify-self:end;
  border-radius:50%;
  background:#fff0f0;
  color:var(--dfile-red);
  font-size:1.9rem;
  line-height:1;
  font-weight:500;
  transition:transform .2s ease, background .2s ease;
}
.dfile-feature-card:hover .dfile-feature-arrow,
.dfile-feature-card:focus-visible .dfile-feature-arrow { transform:translateX(3px); background:#ffe7e7; }

@media (max-width: 900px) {
  .dfile-feature-grid { grid-template-columns:1fr; gap:18px; }
}
@media (max-width: 640px) {
  .dfile-feature-section { padding:44px 0 56px; }
  .dfile-feature-grid { gap:16px; }
  .dfile-feature-card {
    min-height:0;
    grid-template-columns:92px minmax(0,1fr) 34px;
    gap:16px;
    padding:24px 20px;
    border-radius:24px;
  }
  .dfile-feature-icon-wrap { width:88px; height:88px; }
  .dfile-feature-icon { width:70px; height:70px; }
  .dfile-feature-icon svg { width:36px; height:36px; }
  .dfile-feature-copy strong { font-size:1.06rem; margin-bottom:7px; }
  .dfile-feature-copy > span { font-size:.9rem; line-height:1.45; }
  .dfile-feature-arrow { width:32px; height:32px; font-size:1.55rem; }
}
@media (max-width: 390px) {
  .dfile-feature-card { grid-template-columns:82px minmax(0,1fr) 30px; gap:12px; padding:20px 16px; }
  .dfile-feature-icon-wrap { width:78px; height:78px; }
  .dfile-feature-icon { width:62px; height:62px; }
  .dfile-feature-icon svg { width:32px; height:32px; }
  .dfile-feature-copy strong { font-size:1rem; }
  .dfile-feature-copy > span { font-size:.86rem; }
}


/* v30: inviting benefits + genuine review system */
.dfile-proof-section{padding:78px 0;background:linear-gradient(180deg,#fff 0%,#fff8f8 46%,#fff 100%);color:var(--dfile-ink)}
.dfile-proof-head{text-align:center;max-width:760px;margin:0 auto 34px}.dfile-proof-head .dfile-kicker{color:var(--dfile-red);text-align:center}.dfile-proof-head h2{margin:8px 0 0;font-size:clamp(2rem,4vw,3.15rem);line-height:1.05}
.dfile-proof-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:78px}
.dfile-proof-card{background:#fff;border:1px solid #f2e7e7;border-radius:24px;box-shadow:0 14px 40px rgba(80,0,0,.07);padding:32px 28px;text-align:center;position:relative;overflow:hidden}
.dfile-proof-card:before{content:"";position:absolute;inset:auto -50px -70px auto;width:150px;height:150px;border-radius:50%;background:#fff2f2}
.dfile-proof-icon{width:78px;height:78px;border-radius:50%;background:#ffe9e9;color:var(--dfile-red);display:grid;place-items:center;margin:0 auto 22px}.dfile-proof-icon svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.dfile-proof-card h3{font-size:1.25rem;margin:0 0 10px}.dfile-proof-card p{color:var(--dfile-muted);line-height:1.6;margin:0 auto;max-width:250px}.dfile-proof-check{width:30px;height:30px;border-radius:50%;background:var(--dfile-red);color:#fff;display:grid;place-items:center;margin:22px auto 0;font-weight:900;position:relative;z-index:1}
.dfile-reviews-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px;border-top:1px solid var(--dfile-line);padding-top:54px}.dfile-reviews-head h2{font-size:clamp(2rem,4vw,3rem);margin:0 0 8px}.dfile-reviews-head p{margin:0;color:var(--dfile-muted)}
.dfile-rating-summary{text-align:right}.dfile-rating-summary strong{font-size:2.8rem;line-height:1}.dfile-rating-summary small{display:block;color:var(--dfile-muted);margin-top:4px}.dfile-stars{color:#ffb000;letter-spacing:2px;white-space:nowrap;font-size:1.15rem}
.dfile-review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0 30px}.dfile-review-card{background:#fff;border:1px solid #eee;border-radius:18px;padding:24px;box-shadow:0 10px 28px rgba(0,0,0,.045)}.dfile-review-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.dfile-review-top time{color:#888;font-size:.82rem}.dfile-review-card h3{font-size:1.1rem;margin:16px 0 8px}.dfile-review-body{color:#555;line-height:1.6}.dfile-review-body p{margin:.4em 0}.dfile-reviewer{display:flex;gap:12px;align-items:center;margin-top:20px}.dfile-reviewer-avatar{width:38px;height:38px;border-radius:50%;background:#ffe9e9;color:var(--dfile-red);display:grid;place-items:center;font-weight:900}.dfile-review-labels{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}.dfile-review-label{font-size:.75rem;padding:3px 7px;border-radius:999px;background:#f4f4f4;color:#555}.dfile-review-label.verified{background:#fff0f0;color:#b90000}.dfile-review-label.incentive{background:#fff7df;color:#8c6200}
.dfile-review-empty,.dfile-review-notice{padding:18px 20px;border-radius:14px;background:#fff;border:1px solid #eee;color:#555;margin:20px 0}.dfile-review-notice{background:#f1fff4;border-color:#bfe7c8;color:#175d25}
.dfile-review-form-wrap{margin:30px auto;max-width:850px}.dfile-review-form-wrap>summary{list-style:none;cursor:pointer;width:max-content;margin:0 auto}.dfile-review-form-wrap>summary::-webkit-details-marker{display:none}.dfile-review-form{margin-top:20px;background:#fff;border:1px solid #eee;border-radius:20px;padding:26px;box-shadow:0 10px 30px rgba(0,0,0,.04)}.dfile-review-form label{display:block;font-weight:700;margin:0 0 18px}.dfile-review-form input[type=text],.dfile-review-form input[type=email],.dfile-review-form textarea{width:100%;margin-top:7px;border:1px solid #ddd;border-radius:10px;padding:13px 14px;font:inherit}.dfile-review-form textarea{resize:vertical}.dfile-review-form small{display:block;color:#888;font-weight:400;margin-top:5px}.dfile-review-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.dfile-rating-field{border:0;padding:0;margin:0 0 18px}.dfile-rating-field legend{font-weight:800;margin-bottom:8px}.dfile-rating-options{display:flex;gap:8px;flex-wrap:wrap}.dfile-rating-options input{position:absolute;opacity:0}.dfile-rating-options span{display:inline-block;border:1px solid #ddd;border-radius:999px;padding:8px 12px;cursor:pointer}.dfile-rating-options input:checked+span{border-color:var(--dfile-red);background:#fff1f1;color:var(--dfile-red);font-weight:800}.dfile-check-row{display:flex!important;gap:10px;align-items:flex-start;font-weight:500!important}.dfile-check-row input{margin-top:4px}.dfile-review-form-note{color:#777;font-size:.86rem;margin-top:15px}.dfile-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.dfile-review-trust{margin-top:44px;padding:28px;border-radius:20px;background:#fff7f7;border:1px solid #f4dddd;display:grid;grid-template-columns:1fr 1.25fr;gap:26px}.dfile-review-trust-intro{display:flex;gap:15px}.dfile-trust-shield{width:46px;height:46px;border-radius:50%;background:#ffe4e4;color:var(--dfile-red);display:grid;place-items:center;font-weight:900;flex:0 0 auto}.dfile-review-trust h3{margin:0 0 6px}.dfile-review-trust p{color:#666;line-height:1.6;margin:0}.dfile-review-trust ul{margin:0;padding-left:20px;color:#555;line-height:1.8}.dfile-review-policy{grid-column:1/-1;border-top:1px solid #eadada;padding-top:18px!important;font-size:.9rem}
@media(max-width:800px){.dfile-proof-section{padding:54px 0}.dfile-proof-benefits{grid-template-columns:1fr;margin-bottom:54px}.dfile-proof-card{display:grid;grid-template-columns:72px 1fr auto;grid-template-rows:auto auto;gap:2px 18px;text-align:left;padding:22px}.dfile-proof-icon{grid-row:1/3;width:64px;height:64px;margin:0}.dfile-proof-icon svg{width:36px;height:36px}.dfile-proof-card h3{margin:5px 0 2px}.dfile-proof-card p{margin:0;max-width:none}.dfile-proof-check{grid-column:3;grid-row:1/3;margin:auto 0;width:28px;height:28px}.dfile-reviews-head{align-items:flex-start;flex-direction:column}.dfile-rating-summary{text-align:left}.dfile-review-grid{grid-template-columns:1fr}.dfile-review-fields{grid-template-columns:1fr}.dfile-review-trust{grid-template-columns:1fr}.dfile-review-policy{grid-column:auto}.dfile-proof-head h2{text-align:center}}


/* v31: mobile hero refinement — keep illustration on desktop/tablet, remove on phones */
@media (max-width: 720px) {
  .dfile-hero-art {
    display: none !important;
  }
  .dfile-hero {
    padding-bottom: 30px !important;
  }
  .dfile-social-proof {
    margin-top: 26px !important;
    margin-bottom: 0 !important;
  }
}


/* v32 — Kit form 9765313 integration */
.dfile-kit-form { display:block; background:transparent; overflow:visible; max-width:520px; }
.dfile-kit-form .formkit-form { margin:0 !important; padding:0 !important; background:transparent !important; border:0 !important; box-shadow:none !important; max-width:none !important; }
.dfile-kit-form .formkit-fields { display:flex !important; gap:8px !important; align-items:stretch !important; }
.dfile-kit-form .formkit-field { flex:1 1 auto !important; margin:0 !important; }
.dfile-kit-form .formkit-input { width:100% !important; min-height:52px !important; border:0 !important; border-radius:8px !important; padding:15px 16px !important; background:#fff !important; color:#222 !important; font:inherit !important; box-shadow:none !important; }
.dfile-kit-form .formkit-submit { min-height:52px !important; border:0 !important; border-radius:8px !important; padding:0 20px !important; background:#fff !important; color:var(--dfile-red) !important; font:inherit !important; font-weight:850 !important; cursor:pointer !important; }
.dfile-kit-form .formkit-submit > span { color:inherit !important; }
.dfile-kit-form .formkit-alert { margin-top:10px !important; border-radius:8px !important; }
.dfile-kit-form .formkit-powered-by-convertkit-container { display:none !important; }
.dfile-kit-missing { background:#fff; color:#222; border-radius:8px; padding:14px 16px; }
.dfile-kit-missing p { margin:0; font-size:.9rem; }
@media (max-width:700px) {
  .dfile-kit-form .formkit-fields { flex-direction:column !important; }
  .dfile-kit-form .formkit-input,
  .dfile-kit-form .formkit-submit { min-height:48px !important; width:100% !important; }
}

/* v33 — structured guide library */
html { scroll-behavior:smooth; }
.dfile-guides-page { background:#fff; }
.dfile-guides-hero {
  padding:76px 0 54px;
  background:linear-gradient(135deg,#fff 0%,#fff8f8 60%,#fff1f1 100%);
  border-bottom:1px solid var(--dfile-line);
}
.dfile-guides-hero .dfile-wrap { max-width:980px; }
.dfile-guides-hero h1 {
  max-width:760px;
  margin:8px 0 18px;
  font-size:clamp(2.5rem,6vw,5rem);
  line-height:.98;
  letter-spacing:-.055em;
}
.dfile-guides-hero > .dfile-wrap > p:last-child {
  max-width:720px;
  color:var(--dfile-muted);
  font-size:1.08rem;
  line-height:1.7;
}
.dfile-guides-index { padding:42px 0 90px; }
.dfile-category-nav {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 52px;
  padding:18px;
  border:1px solid var(--dfile-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 35px rgba(0,0,0,.04);
}
.dfile-category-nav a {
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  background:var(--dfile-soft);
  color:var(--dfile-ink);
  text-decoration:none;
  font-weight:750;
  font-size:.9rem;
}
.dfile-category-nav a:first-child { background:var(--dfile-red); color:#fff; }
.dfile-guide-category { scroll-margin-top:100px; padding:16px 0 62px; }
.dfile-guide-category + .dfile-guide-category { border-top:1px solid var(--dfile-line); padding-top:58px; }
.dfile-guide-category-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:26px;
  margin-bottom:25px;
}
.dfile-guide-category-head h2 { margin:4px 0 8px; font-size:clamp(1.9rem,4vw,3rem); letter-spacing:-.04em; }
.dfile-guide-category-head p:last-child { margin:0; max-width:650px; color:var(--dfile-muted); }
.dfile-guide-category-head > a { flex:0 0 auto; color:var(--dfile-red); text-decoration:none; font-weight:800; }
.dfile-guide-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.dfile-guide-directory-card {
  overflow:hidden;
  border:1px solid var(--dfile-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 32px rgba(0,0,0,.045);
  transition:transform .2s ease, box-shadow .2s ease;
}
.dfile-guide-directory-card:hover { transform:translateY(-3px); box-shadow:0 16px 40px rgba(0,0,0,.075); }
.dfile-guide-directory-thumb { display:block; aspect-ratio:16/9; background:var(--dfile-soft); overflow:hidden; }
.dfile-guide-directory-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.dfile-guide-directory-body { padding:22px; }
.dfile-guide-directory-label { display:inline-block; margin-bottom:12px; color:var(--dfile-red); text-transform:uppercase; letter-spacing:.1em; font-size:.72rem; font-weight:900; }
.dfile-guide-directory-card h3,
.dfile-guide-directory-card h2 { margin:0 0 10px; font-size:1.22rem; line-height:1.18; }
.dfile-guide-directory-card h3 a,
.dfile-guide-directory-card h2 a { color:var(--dfile-ink); text-decoration:none; }
.dfile-guide-directory-card p { margin:0 0 18px; color:var(--dfile-muted); font-size:.92rem; line-height:1.58; }
.dfile-guides-empty { padding:42px; border:1px dashed #e6bcbc; border-radius:18px; background:#fff8f8; text-align:center; }
.dfile-guides-empty h2 { margin-top:0; }

@media (max-width:900px) {
  .dfile-guide-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .dfile-guides-hero { padding:52px 0 38px; }
  .dfile-guides-hero h1 { font-size:2.55rem; }
  .dfile-guides-index { padding:28px 0 64px; }
  .dfile-category-nav { margin-bottom:34px; padding:12px; gap:8px; }
  .dfile-category-nav a { min-height:38px; padding:0 13px; font-size:.82rem; }
  .dfile-guide-category { padding-bottom:44px; }
  .dfile-guide-category + .dfile-guide-category { padding-top:42px; }
  .dfile-guide-category-head { align-items:flex-start; flex-direction:column; gap:8px; }
  .dfile-guide-directory-grid { grid-template-columns:1fr; }
  .dfile-guide-directory-body { padding:20px; }
}

/* v34 legal/contact pages */
.dfile-legal{max-width:820px;margin:0 auto}.dfile-legal h1{font-size:clamp(2.2rem,7vw,4rem);margin-bottom:12px}.dfile-legal h2{margin-top:38px;font-size:1.55rem}.dfile-legal p,.dfile-legal li{font-size:1.05rem;line-height:1.75;color:var(--dfile-muted)}.dfile-legal a{color:var(--dfile-red-2);font-weight:700}.dfile-legal .legal-intro{font-size:1.18rem;color:var(--dfile-ink)}.dfile-contact-card{padding:28px;border:1px solid var(--dfile-line);border-radius:var(--dfile-radius);background:#fff;box-shadow:var(--dfile-shadow);margin-top:28px}.dfile-contact-card strong{display:block;font-size:1.2rem;margin-bottom:6px}

/* v37: align review CTA with review content */
.dfile-review-form-wrap{max-width:none;margin:30px 0 34px}
.dfile-review-form-wrap>summary{margin:0;width:max-content}
@media(max-width:800px){.dfile-review-form-wrap{margin:22px 0 30px}}
