/* mycoagente — landing & access pages */

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

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --fg-muted: #6e6e73;
  --border: #d2d2d7;
  --accent: #1d1d1f;
  --accent-fg: #ffffff;
  --nav-bg: rgba(255, 255, 255, 0.85);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #1d1d1f;
    --fg: #f5f5f7;
    --fg-muted: #86868b;
    --border: #424245;
    --accent: #f5f5f7;
    --accent-fg: #1d1d1f;
    --nav-bg: rgba(0, 0, 0, 0.85);
  }
}

html {
  font-size: 17px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 3rem;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-nav a {
  text-decoration: none;
  color: var(--fg);
  transition: opacity 0.2s;
}

.site-nav a:hover {
  opacity: 0.6;
}

.nav-brand {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-access {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.nav-access.current {
  color: var(--fg);
}

/* ── Public page nav (3-column: brand · links · access) ── */

.site-nav--pub {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.site-nav--pub .nav-access {
  text-align: right;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.82rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

.nav-link.active {
  color: var(--fg);
  font-weight: 600;
}

@media (max-width: 760px) {
  .site-nav--pub {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* ── Section divider ── */

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Button ── */

.btn-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.7rem 1.8rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-pill:hover {
  opacity: 0.8;
  color: var(--accent-fg);
}

/* ── Hero ── */

.hero {
  text-align: center;
  padding: 7rem 1.5rem 6rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.07;
  max-width: 18ch;
  margin: 0 auto 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* ── Feature desc (shared) ── */

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── CTA block ── */

.cta-block {
  background: var(--bg-alt);
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.07;
  max-width: 18ch;
  margin: 0 auto 1rem;
}

/* ── Access page ── */

.access-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.access-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 3rem;
}

.access-list {
  list-style: none;
}

.access-item {
  border-top: 1px solid var(--border);
}

.access-item:last-child {
  border-bottom: 1px solid var(--border);
}

.access-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  text-decoration: none;
  color: var(--fg);
  transition: opacity 0.2s;
}

.access-link:hover {
  opacity: 0.6;
}

.access-link-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
}

.access-link-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.15rem;
}

.access-link-arrow {
  color: var(--fg-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-left: 1rem;
}

/* ── Log group (sub-links) ── */

.access-group-header {
  padding: 1.2rem 0 0.75rem;
}

.access-group-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
}

.access-group-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.15rem;
}

.access-sub-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 1.2rem;
}

.access-sub-link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  transition: color 0.2s, border-color 0.2s;
}

.access-sub-link:hover {
  color: var(--fg);
  border-color: var(--fg-muted);
}

/* ── Auth form ── */

.auth-page {
  min-height: calc(100vh - 3rem - 57px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-form {
  width: 100%;
  max-width: 340px;
}

.auth-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--fg-muted);
}

.form-error {
  font-size: 0.85rem;
  color: #ff3b30;
  margin-bottom: 1.25rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-radius: 0.5rem;
}

.btn-pill-full {
  display: block;
  width: 100%;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 0.7rem 1.8rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
  margin-top: 1.5rem;
}

.btn-pill-full:hover {
  opacity: 0.8;
}

/* ── Nav brand — by label ── */

.nav-brand-by {
  font-weight: 400;
  opacity: 0.5;
  font-size: 0.8rem;
}

/* ── Hero — dual CTAs ── */

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-pill-outline {
  display: inline-block;
  background: transparent;
  color: var(--fg);
  padding: 0.7rem 1.8rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: opacity 0.2s, border-color 0.2s;
}

.btn-pill-outline:hover {
  opacity: 0.7;
  border-color: var(--fg-muted);
}

/* ── Credibility strip ── */

.credibility-strip {
  background: var(--bg-alt);
  padding: 2rem 1.5rem;
  text-align: center;
}

.credibility-text {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.65;
  font-style: italic;
}

/* ── Feature groups ── */

.features {
  padding: 5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature-group {
  display: flex;
  gap: 1.75rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.feature-group:last-child {
  border-bottom: 1px solid var(--border);
}

.feature-group-icon {
  flex-shrink: 0;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}

.feature-group-body {
  flex: 1;
}

.feature-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.feature-info-btn:hover {
  background: var(--border);
  color: var(--fg);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.feature-group-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.feature-impact {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
}

/* ── How it works ── */

.how-it-works {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem 2rem;
  margin-top: 3rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-num {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg-muted);
  opacity: 0.25;
  line-height: 1;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Agent personas ── */

.agents-section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 58ch;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.65;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.agent-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
}

.agent-icon {
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}

.agent-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.3rem;
}

.agent-role {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.agent-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Channels ── */

.channels-section {
  padding: 4rem 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.channels-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.channel-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.channel-card:last-child {
  border-bottom: 1px solid var(--border);
}

.channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--fg-muted);
  flex-shrink: 0;
}

.channel-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}

.channel-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Impact numbers ── */

.impact-numbers {
  background: var(--bg-alt);
  padding: 4rem 1.5rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.impact-value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-label {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

/* ── Para tu empresa ── */

.for-clients {
  padding: 5rem 1.5rem;
  background: var(--bg);
}

.for-clients-inner {
  max-width: 700px;
  margin: 0 auto;
}

.for-clients-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.for-clients-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.capabilities-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.capabilities-list li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.capabilities-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* ── Contact CTA ── */

.contact-cta {
  background: var(--fg);
  color: var(--bg);
  padding: 6rem 1.5rem;
  text-align: center;
}

.contact-cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.07;
  margin-bottom: 1rem;
  color: var(--bg);
}

.contact-cta-sub {
  font-size: 1.05rem;
  opacity: 0.65;
  margin-bottom: 2.5rem;
  color: var(--bg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.contact-brand {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
  color: var(--bg);
}

.contact-detail {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bg);
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.footer-sep {
  margin: 0 0.5rem;
  opacity: 0.4;
}

.footer-link {
  color: var(--fg-muted);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.6;
}

/* ── Dark mode overrides for contact CTA ── */

@media (prefers-color-scheme: dark) {
  .contact-cta {
    background: var(--fg);
  }

  .contact-cta-title,
  .contact-cta-sub,
  .contact-brand,
  .contact-detail {
    color: var(--bg);
  }
}

/* ── Layers section ── */

.layers-section {
  padding: 5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.layers-infographic {
  margin: 3rem 0;
  text-align: center;
}

.layers-img {
  max-width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.layers-list {
  display: flex;
  flex-direction: column;
}

.layer-item {
  display: flex;
  gap: 1.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.layer-item:last-child {
  border-bottom: 1px solid var(--border);
}

.layer-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg-muted);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
  padding-top: 0.1rem;
}

.layer-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.layer-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── Features footer note ── */

.features-footer-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-style: italic;
}

/* ── Features headline (shared h2 style) ── */

.features-headline {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 1rem;
}

/* ── Hero — storytelling variant ── */

.hero--story {
  text-align: center;
  padding: 7rem 1.5rem 6rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-story {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0 auto 2rem;
  line-height: 1.85;
  text-align: left;
}

.hero-story p {
  margin-bottom: 1rem;
}

.hero-story-list {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
  line-height: 1.6;
}

.hero-divider-inner {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 2.5rem auto;
}

.hero-new-approach-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.hero-sub--secondary {
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

/* ── Narrative sections ── */

.narrative-section {
  padding: 5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.narrative-section--centered {
  text-align: center;
}

.narrative-section--centered .narrative-body {
  margin: 0 auto;
}

.narrative-body {
  margin-top: 2.5rem;
  max-width: 68ch;
}

.narrative-section--centered .narrative-body {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.narrative-body p {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.narrative-list-text {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

.narrative-list {
  list-style: none;
  margin: 1rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.narrative-list li {
  font-size: 0.95rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.narrative-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--fg-muted);
  opacity: 0.45;
}

.narrative-list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.narrative-list--inline li {
  padding-left: 0;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  font-size: 0.88rem;
}

.narrative-list--inline li::before {
  display: none;
}

.narrative-highlight {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg) !important;
  line-height: 1.65;
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}

.narrative-sub-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.narrative-sub-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

/* ── Paradigm callout ── */

.paradigm-callout {
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1rem;
  max-width: 58ch;
}

.paradigm-callout p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-top: 0.75rem;
}

.paradigm-callout-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-muted);
  opacity: 0.6;
  margin-bottom: 0.25rem !important;
}

.paradigm-callout-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg) !important;
  margin-bottom: 0.5rem !important;
}

/* ── Architecture blocks (section 5) ── */

.arch-block {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  max-width: 1000px;
  margin: 0 auto;
}

.arch-block:last-child {
  border-bottom: 1px solid var(--border);
}

.arch-block-header {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.arch-block-num {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg-muted);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
  min-width: 2rem;
}

.arch-block-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.arch-block-intro {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0;
}

.arch-block p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
  max-width: 60ch;
}

.arch-block .narrative-list {
  margin-left: 0;
}

.arch-block-footer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  font-style: italic;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  max-width: 60ch;
}

/* ── Architecture infographic ── */

.arch-infographic {
  margin: 3rem auto 0;
  max-width: 1000px;
  text-align: center;
}

.arch-infographic-img {
  max-width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

/* ── Channels embedded (inside arch block) ── */

.channels-section--embedded {
  padding: 0;
  max-width: 100%;
  margin: 0;
}

.channels-section--embedded .features-headline {
  text-align: left;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.channels-section--embedded .section-sub {
  text-align: left;
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
}

/* ── For-clients inner — CTA variant ── */

.for-clients-inner--cta {
  margin: 1.5rem auto 2rem;
  text-align: center;
}

.for-clients-inner--cta .capabilities-list {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.for-clients-inner--cta .capabilities-list li {
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2rem;
  font-size: 0.9rem;
  color: var(--bg);
  opacity: 0.75;
}

.for-clients-inner--cta .capabilities-list li::before {
  display: none;
}

/* ── Responsive ── */

@media (max-width: 640px) {
  .feature-group {
    flex-direction: column;
    gap: 1rem;
  }

  .steps-grid {
    gap: 2rem;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .arch-block-header {
    gap: 1rem;
  }

  .hero-story {
    text-align: center;
  }

  .paradigm-callout {
    padding: 1.75rem 1.25rem;
  }
}

/* ── Redesign Additions ── */

/* Background Variants */
.bg-subtle-alt {
  background: var(--bg-alt);
}
.bg-gradient-alt {
  background: linear-gradient(145deg, var(--bg) 0%, var(--bg-alt) 100%);
}

/* Feature Quote (Pull Quote) */
.feature-quote {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg);
  text-align: center;
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  font-style: italic;
  position: relative;
}
.feature-quote::before {
  content: "“";
  font-size: 4rem;
  color: var(--fg-muted);
  opacity: 0.2;
  position: absolute;
  top: -1.5rem;
  left: 0;
  line-height: 1;
}

/* 2-Column Split Layout */
.split-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 800px) {
  .split-layout {
    flex-direction: row;
    justify-content: space-between;
  }
  .split-layout > * {
    flex: 1;
  }
}

.split-layout-text {
  max-width: 500px;
}
.split-layout-image {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
  .split-layout-image {
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  }
}

/* Feature Grid with Images */
.feature-grid-layout {
  display: grid;
  gap: 4rem;
  margin-top: 4rem;
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  background: var(--bg);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
@media (min-width: 800px) {
  .feature-row {
    flex-direction: row;
    padding: 3.5rem;
  }
  .feature-row:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.feature-row-content {
  flex: 1;
}
.feature-row-media {
  flex: 1;
  display: flex;
  justify-content: center;
}
.feature-row-media img {
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
@media (prefers-color-scheme: dark) {
  .feature-row {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }
  .feature-row-media img {
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }
}

/* Updated Feature Card Styling */
.feature-group {
  background: var(--bg);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  margin-bottom: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}
@media (prefers-color-scheme: dark) {
  .feature-group {
     box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .feature-group:hover {
     box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  }
}
.features {
    padding-top: 2rem;
}

/* Full-width Hero */
.hero-full-width {
  max-width: 100%;
  padding-left: 5%;
  padding-right: 5%;
}

/* Accordion for Channels */
.accordion-wrapper {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--fg);
}

.accordion-header:hover .channel-name {
  color: var(--fg-muted);
}

.accordion-icon-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--fg);
  transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-icon-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  padding-bottom: 1.5rem;
  padding-left: calc(48px + 1.25rem); /* Align with text, assuming 48px icon + gap */
}

/* Modern Details Details Marker Hide */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}
