/* Page-specific styles only. Base typography/buttons come from theme-utilities / live theme. */
:root {
  --blue: #306aeb;
  --blue-2: #5373fc;
  --blue-dark: #1f4fc4;
  --blue-soft: #dbe9fe;
  --blue-wash: #f6f8ff;
  --ink: #313131;
  --ink-soft: rgba(49, 49, 49, 0.7);
  --muted: rgba(49, 49, 49, 0.55);
  --line: rgba(193, 193, 193, 0.35);
  --bg: #ffffff;
  --bg-soft: #f9f9f9;
  --bg-tint: #f6f8ff;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: rgba(134, 134, 134, 0.1) 0 10px 50px;
  --shadow-hover: 0 16px 40px rgba(48, 106, 235, 0.12);
}

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

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

.container-narrow {
  width: min(100% - 2rem, 820px);
  margin-inline: auto;
  padding-right: 15px;
  padding-left: 15px;
}

/* Live theme resets p/ul margins — restore spacing via wrappers */
.paragraph__16,
.paragraph__18,
.paragraph__20,
.paragraph__24 {
  margin-bottom: 1rem;
}

/* Page hero — scoped name to avoid live-site .hero conflicts */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at -10% 0%, rgba(48, 106, 235, 0.12), transparent 42%),
    radial-gradient(circle at 100% 20%, rgba(219, 233, 254, 0.7), transparent 40%),
    #fff;
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem);
  color: var(--ink);
}

.page-hero__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
}

.page-hero__copy,
.page-hero__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}

@media (min-width: 992px) {
  .page-hero__copy {
    flex: 1 1 48%;
    max-width: 52%;
  }
  .page-hero__visual {
    flex: 1 1 42%;
    max-width: 48%;
  }
}

.page-hero .h1__size {
  max-width: 16ch;
  margin-bottom: 1rem;
  color: var(--ink);
}

.page-hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  max-width: 40ch;
  margin-bottom: 0.85rem;
}

.page-hero__copy > .paragraph__18,
.page-hero__copy > .paragraph__24 {
  max-width: 54ch;
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}

.page-hero a:not(.filled__button):not(.outlined__button) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-hero__actions .filled__button,
.page-hero__actions .outlined__button,
.cta-actions .filled__button,
.cta-actions .outlined__button {
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-hero__visual {
  margin-top: 0.5rem;
}
@media (min-width: 992px) {
  .page-hero__visual {
    margin-top: 0;
  }
}

.page-hero__visual img,
.page-hero__visual figure img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  background: transparent;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
  background: #fff;
  color: var(--ink-soft);
}

.section-soft {
  background: var(--bg-soft);
}
.section-blue {
  background: var(--bg-tint);
}

.section-dark {
  background: linear-gradient(145deg, #0b1220 0%, #16306a 100%);
  color: rgba(255, 255, 255, 0.86);
}
.section-dark .h2__size,
.section-dark .h3__size {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.75rem;
  color: var(--ink-soft);
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
}
.section-head .h2__size,
.section .h2__size {
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-head .sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.prose-block {
  max-width: 760px;
  color: var(--ink-soft);
}
.prose-block .h2__size,
.prose-block .h3__size {
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.prose-block .paragraph__18,
.prose-block .paragraph__24 {
  margin-bottom: 1rem;
}

/* Equal-height card grids — max 3/2/4 cols, last row centered */
.grid-2,
.grid-3,
.grid-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: stretch;
  margin: 0;
}

.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  min-width: 0;
  width: 100%;
}

.grid-2 > * {
  flex: 1 1 calc(50% - 0.65rem);
  max-width: calc(50% - 0.65rem);
}

.grid-3 > * {
  flex: 1 1 calc(33.333% - 0.9rem);
  max-width: calc(33.333% - 0.9rem);
}

.grid-4 > * {
  flex: 1 1 calc(25% - 1rem);
  max-width: calc(25% - 1rem);
}

@media (max-width: 991px) {
  .grid-3 > *,
  .grid-4 > * {
    flex: 1 1 calc(50% - 0.65rem);
    max-width: calc(50% - 0.65rem);
  }
}

@media (max-width: 575px) {
  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > * {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.card,
.feature-card,
.benefit-card,
.quality-box {
  background: #fff;
  border: 1px solid rgba(193, 193, 193, 0.12);
  border-radius: 18px;
  padding: 1.75rem 1.4rem;
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: var(--ink-soft);
}

.card:hover,
.feature-card:hover,
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.feature-card {
  text-align: center;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  overflow: visible;
}
.feature-card::before {
  display: none;
}

.feature-card .h3__size {
  margin-top: 0.5rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.feature-card .paragraph__18 {
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.feature-num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.benefit-card {
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
}
.benefit-card strong {
  color: var(--ink);
  font-size: 1.05rem;
}
.benefit-card span {
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex-grow: 1;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.split > * {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
}
@media (min-width: 992px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .split.reverse > :first-child {
    order: 2;
  }
  .split.reverse > :last-child {
    order: 1;
  }
}

.media-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #f6f8ff;
  margin: 0;
  width: 100%;
  padding: 16px;
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  height: 100%;
  border-radius: 16px;
  object-position: center;
  background: #f6f8ff;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
}
.checklist li {
  position: relative;
  padding-left: 1.85rem;
  margin: 0 0 0.65rem;
  list-style: none;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.2' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E")
    center/10px no-repeat;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0;
}
.pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 0.85rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(193, 193, 193, 0.12);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
  color: var(--ink-soft);
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.step .h3__size {
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 1.25rem 0;
}
.flow-chip {
  background: #fff;
  border: 1px solid rgba(193, 193, 193, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.flow-arrow {
  color: var(--blue);
  font-weight: 800;
}

.quote-block {
  border-left: 4px solid var(--blue);
  background: var(--blue-wash);
  border-radius: 0 14px 14px 0;
  padding: 1.15rem 1.3rem;
  margin: 1.35rem 0;
  color: var(--ink);
  font-weight: 600;
  font-style: italic;
}

.qa-list {
  display: grid;
  gap: 0.85rem;
}
.qa-item {
  background: #fff;
  border: 1px solid rgba(193, 193, 193, 0.15);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  color: var(--ink-soft);
}
.qa-item .h3__size,
.qa-item strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.two-col-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.two-col-lists > * {
  width: 100%;
  min-width: 0;
  flex: 1 1 100%;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .two-col-lists > * {
    flex: 1 1 calc(50% - 0.65rem);
    max-width: calc(50% - 0.65rem);
  }
}
.list-panel {
  background: #fff;
  border: 1px solid rgba(193, 193, 193, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  color: var(--ink-soft);
}
.list-panel .h3__size {
  color: var(--blue);
  margin-bottom: 0.85rem;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #f3f3f3;
  background: #fff;
  box-shadow:
    0 8px 10px -6px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.08);
  margin: 1.25rem 0;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.compare-table th,
.compare-table td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid #f3f3f3;
  vertical-align: top;
  color: var(--ink-soft);
}
.compare-table th {
  background: #f0f0f0;
  color: var(--ink);
  font-size: 0.98rem;
}
.compare-table tr:last-child td {
  border-bottom: 0;
}
.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.section:has(.faq-list) > .container > .h2__size,
.section:has(.faq-list) .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}
.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] {
  border-color: var(--blue-2);
  background: rgba(83, 115, 252, 0.05);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.4rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--blue);
  font-weight: 500;
  line-height: 1;
  flex: 0 0 auto;
}
.faq-item[open] summary {
  color: var(--blue-2);
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-item .faq-body {
  padding: 0 1.4rem 1.25rem;
  color: rgba(70, 69, 85, 0.8);
}

/* CTA — like global-banner */
.cta-band {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background:
    linear-gradient(135deg, rgba(11, 18, 32, 0.88), rgba(48, 106, 235, 0.78)),
    url("https://delet.ai/wp-content/uploads/2026/06/banner-img.webp") center/cover
      no-repeat;
  color: #fff;
}
.cta-band .h2__size {
  color: #fff;
  max-width: 18ch;
  margin: 0 auto 1rem;
}
.cta-band .paragraph__18,
.cta-band .paragraph__24 {
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  margin: 0 auto 0.8rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-index {
  padding: 4rem 0;
}
.page-index .card a {
  font-weight: 700;
  color: var(--ink);
}
.page-index .card a:hover {
  color: var(--blue);
}

@media (max-width: 991px) {
  .page-hero .h1__size {
    max-width: none;
  }
  .split.reverse > :first-child {
    order: 0;
  }
}

@media (max-width: 575px) {
  .page-hero__actions .filled__button,
  .page-hero__actions .outlined__button,
  .cta-actions .filled__button,
  .cta-actions .outlined__button {
    width: 100%;
    text-align: center;
  }
  .page-hero__actions,
  .cta-actions {
    width: 100%;
  }
  .card,
  .feature-card,
  .benefit-card {
    padding: 1.25rem 1.1rem;
  }
}
