.efd-hero {
  padding: 68px 0 var(--ef-sec-y);
}

.efd-hero-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.efd-hero-copy h1 {
  max-width: 22ch;
  margin: 0 auto;
}

.efd-hero-copy .ef-subhead {
  max-width: 700px;
  margin: 20px auto 32px;
}

.efd-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ef-cta--soft {
  background: var(--bg-sage);
  color: var(--text-ink);
}

.ef-cta--soft:active {
  background: var(--bg-tint);
}

@media (hover: hover) and (pointer: fine) {
  .ef-cta--soft:hover {
    background: var(--bg-tint);
    color: var(--text-ink);
  }
}

[data-theme="dark"] .ef-cta--soft {
  background: var(--bg-sage);
  color: var(--text-ink);
}

@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .ef-cta--soft:hover {
    background: var(--bg-tint);
    color: var(--text-ink);
  }
}

.efd-compare {
  max-width: 1120px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.efd-cmp-card {
  position: relative;
  border: 0;
  border-radius: var(--ef-r-hero);
  padding: 34px 36px 40px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 292px;
  background: var(--ef-card-oat);
}

.efd-cmp-card--pro {
  background: var(--ef-card-sage);
}

[data-theme="dark"] .efd-cmp-card {
  box-shadow: inset 0 0 0 1px rgba(245, 244, 239, 0.06);
}

.efd-cmp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-main);
}

.efd-cmp-card--pro .efd-cmp-head {
  border-bottom-color: var(--border-sage);
}

.efd-cmp-title {
  font-family: var(--sf);
  font-size: 26px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  margin: 0;
}

.efd-cmp-sub {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--text-muted);
}

.efd-cmp-metric {
  font-family: var(--sf);
  font-size: 32px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--text-ink);
  white-space: nowrap;
  flex: none;
}

.efd-cmp-card--pro .efd-cmp-metric {
  color: var(--accent);
}

.efd-cmp-body {
  padding-top: 24px;
  padding-right: 48px;
  flex: 1;
  font-size: 21px;
  line-height: 32px;
  color: var(--text-ink);
  min-height: 118px;
}

.efd-cmp-caret {
  display: inline-block;
  width: 2px;
  height: 1.08em;
  vertical-align: -0.14em;
  margin-left: 1px;
  background: var(--text-ink);
  animation: efdBlink 950ms steps(2, start) infinite;
}

.efd-cmp-card--pro .efd-cmp-caret {
  background: var(--accent);
}

@keyframes efdBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.efd-cmp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: var(--ef-r-pill);
  background: var(--bg-card);
  color: var(--accent);
  font-size: 13.5px;
  line-height: 18px;
  font-weight: 500;
}

[data-theme="dark"] .efd-cmp-badge {
  background: rgba(158, 194, 167, 0.16);
  color: #c8e5cf;
}

.efd-wave-mini {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
}

.efd-wave-mini i {
  display: block;
  width: 2.5px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  animation: efdWave 1.05s ease-in-out infinite;
}

.efd-wave-mini i:nth-child(2) { height: 12px; animation-delay: 0.16s; }
.efd-wave-mini i:nth-child(3) { height: 9px;  animation-delay: 0.32s; }
.efd-wave-mini i:nth-child(4) { height: 5px;  animation-delay: 0.48s; }

.is-paused .efd-wave-mini i,
.is-done .efd-wave-mini i {
  animation: none;
}

@keyframes efdWave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1.15); }
}

.efd-pause {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: var(--ef-r-pill);
  border: 0;
  background: rgba(38, 36, 31, 0.56);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease;
}

.efd-pause:active {
  background: rgba(38, 36, 31, 0.85);
}

@media (hover: hover) and (pointer: fine) {
  .efd-pause:hover {
    background: rgba(38, 36, 31, 0.82);
  }
}

[data-theme="dark"] .efd-pause {
  background: rgba(245, 244, 239, 0.22);
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .efd-pause:hover {
    background: rgba(245, 244, 239, 0.36);
  }
}

.efd-steps-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 64px;
  align-items: center;
}

.efd-stage-frame {
  position: relative;
  border-radius: var(--ef-r-platform);
  background: var(--bg-card);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-win);
  padding: 34px 32px 72px;
  min-height: 452px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

[data-theme="dark"] .efd-stage-frame {
  background: #141d18;
  border-color: var(--accent);
}

.efd-stage-status {
  position: absolute;
  left: 26px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--ef-r-pill);
  background: var(--accent);
  color: #ffffff;
  font-size: 13.5px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

[data-theme="dark"] .efd-stage-status {
  background: #5f7263;
  color: #ffffff;
}

.efd-stage-status svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.efd-steps-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.efd-step-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.efd-step-tab {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 0 8px 20px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--sf);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: color 150ms ease;
}

.efd-step-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: var(--border-sage);
  transition: background-color 150ms ease;
}

.efd-step-tab[aria-selected="true"] {
  color: var(--text-ink);
}

.efd-step-tab[aria-selected="true"]::before {
  background: var(--accent);
}

@media (hover: hover) and (pointer: fine) {
  .efd-step-tab:hover {
    color: var(--text-ink);
  }
}

.efd-step-detail {
  min-height: 264px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.efd-step-num {
  font-size: 14.5px;
  line-height: 20px;
  font-weight: 500;
  color: var(--accent);
}

.efd-step-detail h3 {
  font-size: 36px;
  line-height: 44px;
  letter-spacing: -0.022em;
}

.efd-step-detail p {
  margin: 0;
  font-size: 19px;
  line-height: 30px;
  color: var(--text-body);
  max-width: 44ch;
}

.efd-tint-inner {
  max-width: 780px;
  margin: 0 auto;
}

.efd-tint-inner h2 {
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -0.022em;
  max-width: 17ch;
}

.efd-tint-lead {
  margin: 22px 0 48px;
  font-size: 21px;
  line-height: 32px;
  color: var(--text-body);
  max-width: 56ch;
}

.efd-icon-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.efd-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.efd-icon-tile {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 16px;
  background: var(--bg-card);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.efd-icon-tile svg {
  width: 24px;
  height: 24px;
}

.efd-icon-text {
  min-width: 0;
}

.efd-icon-text h3 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
  margin: 0 0 4px;
}

.efd-icon-text p {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
  color: var(--text-body);
  max-width: 58ch;
}

.efd-rows {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 104px;
}

.efd-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 68px;
  align-items: center;
}

.efd-row--rev {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.efd-row--rev .efd-visual {
  order: 2;
}

.efd-row--rev .efd-copy {
  order: 1;
}

.efd-visual {
  border-radius: var(--ef-r-platform);
  background: linear-gradient(155deg, var(--ef-card-sage) 0%, var(--ef-card-oat) 100%);
  padding: 36px;
  min-height: 356px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.efd-visual--oat {
  background: linear-gradient(155deg, var(--ef-card-oat) 0%, var(--ef-card-sage) 100%);
}

[data-theme="dark"] .efd-visual {
  background: linear-gradient(155deg, #1f2b24 0%, #242b23 100%);
  box-shadow: inset 0 0 0 1px rgba(245, 244, 239, 0.06);
}

.efd-sheet {
  width: 100%;
  max-width: 470px;
  background: #fffefb;
  border-radius: 22px;
  padding: 26px 28px;
  color: #26241f;
  box-shadow: var(--shadow-win);
}

[data-theme="dark"] .efd-sheet {
  background: #141d18;
  color: #f0f3ed;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 244, 239, 0.09);
}

.efd-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.efd-copy h3 {
  font-size: 38px;
  line-height: 46px;
  letter-spacing: -0.022em;
}

.efd-copy p {
  margin: 0;
  font-size: 19px;
  line-height: 30px;
  color: var(--text-body);
  max-width: 42ch;
}

.efd-copy-cta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.efd-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px;
  border-radius: var(--ef-r-pill);
  background: var(--bg-sage);
  color: var(--text-ink);
  font-size: 15.5px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease;
}

.efd-inline-link svg {
  width: 16px;
  height: 16px;
  flex: none;
}

@media (hover: hover) and (pointer: fine) {
  .efd-inline-link:hover {
    background: var(--bg-tint);
  }
}

.efd-prose-lg {
  margin: 0;
  font-family: var(--sf);
  font-size: 21px;
  line-height: 34px;
  color: var(--text-ink);
}

.efd-strike {
  background: var(--fam-del-bg);
  color: var(--fam-del-ink);
  text-decoration: line-through;
  text-decoration-thickness: 1.8px;
  padding: 1px 6px;
  border-radius: 6px;
}

.efd-fix {
  background: var(--fam-add-bg);
  color: var(--fam-add-ink);
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 6px;
}

.efd-mark-g {
  border-bottom: 2.5px solid var(--ef-mark-grammar);
  padding-bottom: 1px;
}

.efd-mark-s {
  border-bottom: 2.5px solid var(--ef-mark-spelling);
  padding-bottom: 1px;
}

.efd-mark-c {
  border-bottom: 2.5px solid var(--ef-mark-clarity);
  padding-bottom: 1px;
}

.efd-flags-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 420px;
  justify-items: center;
}

.efd-flag-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.efd-flag-disc {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 24px -8px rgba(27, 36, 30, 0.22);
  border: 3px solid #fffefb;
  background: #fffefb;
}

[data-theme="dark"] .efd-flag-disc {
  border-color: #2b3a31;
}

.efd-flag-disc svg {
  width: 100%;
  height: 100%;
  display: block;
}

.efd-flag-name {
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.efd-audio-bar {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.efd-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--ef-r-pill);
  border: 0;
  background: var(--accent);
  color: #ffffff;
  font-size: 14.5px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease;
}

.efd-audio-btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

@media (hover: hover) and (pointer: fine) {
  .efd-audio-btn:hover {
    background: var(--fam-headline-deep);
  }
}

[data-theme="dark"] .efd-audio-btn {
  background: #5f7263;
  color: #ffffff;
}

.efd-audio-meta {
  font-size: 13.5px;
  line-height: 18px;
  color: var(--text-muted);
}

.efd-apps-block {
  max-width: 1080px;
  margin: var(--ef-sec-y) auto 0;
  text-align: center;
}

.efd-apps-block h2 {
  margin-bottom: 16px;
}

.efd-apps-block .ef-subhead {
  max-width: 640px;
  margin: 0 auto 44px;
}

.efd-apps-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.efd-app-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--ef-r-tile);
  background: var(--ef-card-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.efd-app-tile svg,
.efd-app-tile img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

[data-theme="dark"] .efd-app-tile {
  background: #fffefb;
}

.efd-cases-grid {
  max-width: 1160px;
  margin: 0 auto var(--ef-sec-y);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.efd-case-card {
  border: 0;
  border-radius: 28px;
  padding: 30px 28px;
  background: var(--ef-card-sage);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-width: 0;
}

.efd-case-card--oat {
  background: var(--ef-card-oat);
}

[data-theme="dark"] .efd-case-card {
  box-shadow: inset 0 0 0 1px rgba(245, 244, 239, 0.06);
}

.efd-case-quote {
  margin: 0;
  font-size: 17.5px;
  line-height: 27px;
  color: var(--text-ink);
}

.efd-case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-main);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-muted);
}

.efd-case-tag {
  color: var(--accent);
}

.sp-faq-item summary h3 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
}

.efd-close {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.efd-close-emblem {
  width: 92px;
  height: 92px;
  margin: 0 auto 32px;
  border-radius: 24px;
  transform: rotate(-7deg);
  box-shadow: 0 24px 48px -16px rgba(59, 85, 70, 0.34);
  overflow: hidden;
}

[data-theme="dark"] .efd-close-emblem {
  box-shadow: 0 24px 52px -12px rgba(0, 0, 0, 0.6);
}

.efd-close-emblem svg,
.efd-close-emblem img {
  width: 100%;
  height: 100%;
  display: block;
}

.efd-close h2 {
  font-size: 56px;
  line-height: 66px;
  margin: 0 0 18px;
}

.efd-close p {
  margin: 0 0 36px;
  font-size: 21px;
  line-height: 31px;
  color: var(--text-muted);
  max-width: 48ch;
}

.efd-related {
  margin: 0 auto 104px;
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.efd-related-label {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 4px;
}

.efd-related-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--ef-r-pill);
  background: var(--bg-sage);
  color: var(--text-ink);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .efd-related-chip:hover {
    background: var(--bg-tint);
  }
}

@media (max-width: 1024px) {
  .efd-compare {
    grid-template-columns: minmax(0, 1fr);
  }
  .efd-steps-grid,
  .efd-row,
  .efd-row--rev {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .efd-row--rev .efd-visual { order: 1; }
  .efd-row--rev .efd-copy   { order: 2; }
  .efd-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .efd-apps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 460px;
  }
  .efd-tint-inner h2,
  .efd-close h2 {
    font-size: 42px;
    line-height: 50px;
  }
  .efd-copy h3,
  .efd-step-detail h3 {
    font-size: 30px;
    line-height: 38px;
  }
}

@media (max-width: 767px) {
  .efd-hero {
    padding: 40px 0 64px;
  }
  .efd-hero-copy .ef-subhead {
    margin: 18px auto 28px;
  }
  .efd-compare {
    margin-top: 40px;
    gap: 16px;
  }
  .efd-cmp-card {
    border-radius: 24px;
    padding: 24px 16px 64px;
    min-height: 236px;
  }
  .efd-cmp-title {
    font-size: 21px;
    line-height: 26px;
  }
  .efd-cmp-metric {
    font-size: 24px;
    line-height: 28px;
  }
  .efd-cmp-body {
    padding-top: 18px;
    padding-right: 0;
    font-size: 17.5px;
    line-height: 27px;
    min-height: 96px;
  }
  .efd-stage-frame {
    border-radius: 24px;
    padding: 22px 16px 72px;
    min-height: 396px;
  }
  .efd-stage-status {
    left: 16px;
    bottom: 18px;
    max-width: calc(100% - 76px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .efd-pause {
    right: 16px;
    bottom: 18px;
  }
  .efd-step-detail {
    min-height: 224px;
  }
  .efd-step-detail h3 {
    font-size: 24px;
    line-height: 30px;
  }
  .efd-step-detail p,
  .efd-copy p,
  .efd-tint-lead {
    font-size: 17px;
    line-height: 26px;
  }
  .efd-tint-inner h2,
  .efd-close h2 {
    font-size: 32px;
    line-height: 38px;
  }
  .efd-rows {
    gap: 64px;
  }
  .efd-visual {
    border-radius: 24px;
    padding: 20px 16px;
    min-height: 276px;
  }
  .efd-sheet {
    border-radius: 18px;
    padding: 20px 18px;
  }
  .efd-prose-lg {
    font-size: 17.5px;
    line-height: 28px;
  }
  .efd-copy h3 {
    font-size: 26px;
    line-height: 32px;
  }
  .efd-flags-grid {
    gap: 12px;
  }
  .efd-flag-disc {
    width: 54px;
    height: 54px;
  }
  .efd-apps-block {
    margin-top: 72px;
  }
  .efd-apps-grid {
    gap: 12px;
  }
  .efd-app-tile {
    border-radius: 18px;
    padding: 12px;
  }
  .efd-app-tile svg,
  .efd-app-tile img {
    width: 34px;
    height: 34px;
  }
  .efd-cases-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 68px;
    gap: 14px;
  }
  .efd-case-card {
    border-radius: 22px;
    padding: 24px 20px;
  }
  .efd-related {
    margin-bottom: 64px;
  }
  .efd-close-emblem {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    margin-bottom: 24px;
  }
  .efd-close p {
    font-size: 17.5px;
    line-height: 26px;
  }
}

@media (max-width: 360px) {
  .efd-flags-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .efd-flag-disc {
    width: 48px;
    height: 48px;
  }
}
