/* AI Renovation LP — based on mock plan B (Business Transformation),
   with the warning band / roadmap from plan C and the risk frame from plan A. */
.lp-r {
  --lp-bg: #ffffff;
  --lp-bg-soft: #f7f8fa;
  --lp-bg-muted: #eef1f5;
  --lp-bg-tint: #f0f4fa;
  --lp-text: #222222;
  --lp-text-muted: #5a6577;
  --lp-navy: var(--ids-navy-deep);
  --lp-accent: var(--ids-orange);
  --lp-line: #e2e6ec;
  --lp-max: 1080px;
  --lp-section-py: clamp(60px, 8vw, 104px);
  background: var(--lp-bg);
  color: var(--lp-text);
  font-size: 15px;
  line-height: 1.85;
}

.lp-r [data-fade] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.lp-r [data-fade].is-visible { opacity: 1; transform: none; }

/* ===== Primitives ===== */
.lp-r__inner {
  width: min(100% - 40px, var(--lp-max));
  margin-inline: auto;
}
.lp-r__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ids-navy);
  margin-bottom: 14px;
}
.lp-r__title {
  font-size: clamp(1.35rem, 4.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--lp-navy);
  margin-bottom: 18px;
}
.lp-r__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--lp-text-muted);
  max-width: 44em;
}
.lp-r__section-head { margin-bottom: 44px; }
.lp-r__section-head--center { text-align: center; }
.lp-r__section-head--center .lp-r__lead { margin-inline: auto; }
.lp-r__note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #7b8494;
}
.lp-r__mark {
  background: linear-gradient(transparent 62%, rgba(243, 149, 28, 0.35) 62%);
  font-weight: 700;
  color: var(--lp-navy);
}

.lp-r-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.lp-r-btn--primary { background: var(--lp-accent); color: #fff; }
.lp-r-btn--primary:hover { background: var(--ids-orange-dark); }
.lp-r-btn--outline {
  background: #fff;
  border-color: var(--lp-navy);
  color: var(--lp-navy);
}
.lp-r-btn--outline:hover { background: var(--lp-bg-soft); }
.lp-r-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.lp-r-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.lp-r-section { padding: var(--lp-section-py) 0; }
.lp-r-section--soft { background: var(--lp-bg-soft); }
.lp-r-section--tint { background: var(--lp-bg-tint); }
.lp-r-section--warning {
  background: #fff8f0;
  border-top: 1px solid #f0dfc8;
  border-bottom: 1px solid #f0dfc8;
  padding: clamp(48px, 6vw, 72px) 0;
}

/* ===== First view ===== */
.lp-r-fv {
  padding: clamp(48px, 8vw, 88px) 0 clamp(64px, 10vw, 104px);
  background: linear-gradient(180deg, var(--lp-bg-tint) 0%, var(--lp-bg) 62%);
}
.lp-r-fv__head {
  max-width: 680px;
  margin-bottom: 52px;
}
.lp-r-fv__title {
  font-size: clamp(1.4rem, 5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.32;
  color: var(--lp-navy);
  margin-bottom: 22px;
}
.lp-r-fv__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.lp-r-fv__badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--ids-navy);
  color: var(--ids-navy);
}
.lp-r-fv__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.lp-r-fv__sub {
  margin-top: 14px;
  font-size: 12px;
  color: var(--lp-text-muted);
}
@media (max-width: 599px) {
  .lp-r-fv__cta { display: grid; gap: 10px; }
  .lp-r-fv__cta .lp-r-btn { width: 100%; }
  .lp-r-cta__btns { display: grid; gap: 10px; }
  .lp-r-cta__btns .lp-r-btn { width: 100%; }
}

/* Before / after screen mockups */
.lp-r-ui {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .lp-r-ui { grid-template-columns: 1fr 52px 1fr; gap: 20px; }
}
.lp-r-ui__frame {
  border: 1px solid var(--lp-line);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(22, 58, 112, 0.06);
}
.lp-r-ui__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--lp-bg-muted);
  border-bottom: 1px solid var(--lp-line);
}
.lp-r-ui__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5cdd8;
}
.lp-r-ui__caption {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--lp-text-muted);
}
.lp-r-ui__body { padding: 16px; min-height: 208px; }

.lp-r-ui__frame--old .lp-r-ui__bar { background: #e8eaed; }
.lp-r-ui__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.lp-r-ui__tabs span {
  font-size: 9px;
  padding: 4px 8px;
  background: #d1d5db;
  color: #4b5563;
}
.lp-r-ui__row {
  display: grid;
  grid-template-columns: 46px 1fr 40px;
  gap: 4px;
  padding: 6px 8px;
  font-size: 10px;
  border-bottom: 1px solid #e8eaed;
  color: #6b7280;
  background: #fafafa;
  white-space: nowrap;
  overflow: hidden;
}
.lp-r-ui__row:nth-of-type(even) { background: #f3f4f6; }
.lp-r-ui__row--head { background: #dfe3e8; color: #4b5563; font-weight: 700; }

.lp-r-ui__frame--new .lp-r-ui__bar { background: var(--lp-navy); }
.lp-r-ui__frame--new .lp-r-ui__dot { background: rgba(255, 255, 255, 0.4); }
.lp-r-ui__frame--new .lp-r-ui__caption { color: rgba(255, 255, 255, 0.85); }
.lp-r-ui__nav {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--lp-line);
}
.lp-r-ui__nav span {
  font-size: 10px;
  font-weight: 500;
  color: var(--lp-text-muted);
  padding-bottom: 8px;
}
.lp-r-ui__nav span:first-child {
  font-weight: 700;
  color: var(--lp-navy);
  border-bottom: 2px solid var(--ids-navy);
  margin-bottom: -1px;
}
.lp-r-ui__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.lp-r-ui__card {
  padding: 12px;
  background: var(--lp-bg-soft);
  border-left: 3px solid var(--ids-navy);
}
.lp-r-ui__card-label {
  font-size: 9px;
  color: var(--lp-text-muted);
  margin-bottom: 4px;
}
.lp-r-ui__card-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-navy);
}
.lp-r-ui__list {
  display: grid;
  gap: 6px;
}
.lp-r-ui__list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  font-size: 10px;
  color: var(--lp-text-muted);
  border: 1px solid var(--lp-line);
}
.lp-r-ui__pill {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--lp-bg-tint);
  color: var(--ids-navy);
}
.lp-r-ui__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--lp-accent);
}
@media (min-width: 900px) {
  .lp-r-ui__arrow { align-items: flex-start; padding-top: 96px; }
}
.lp-r-ui__note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--lp-text-muted);
  text-align: center;
}

/* ===== Deadline band ===== */
.lp-r-deadline__head {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
  align-items: center;
}
@media (min-width: 768px) {
  .lp-r-deadline__head { grid-template-columns: 1fr auto; }
}
.lp-r-deadline__counter {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 26px;
  background: #fff;
  border: 2px solid var(--lp-accent);
  white-space: nowrap;
}
.lp-r-deadline__counter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--lp-text-muted);
}
.lp-r-deadline__counter-num {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lp-accent);
}
.lp-r-deadline__counter-unit {
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-text-muted);
}
.lp-r-table-wrap { overflow-x: auto; }
.lp-r-table {
  min-width: 560px;
  background: #fff;
  font-size: 13px;
}
.lp-r-table th,
.lp-r-table td {
  padding: 12px 16px;
  border: 1px solid #f0dfc8;
  text-align: left;
  vertical-align: top;
}
.lp-r-table thead th {
  background: var(--lp-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-color: var(--lp-navy);
  white-space: nowrap;
}
.lp-r-table td:first-child {
  font-weight: 700;
  color: var(--lp-navy);
  white-space: nowrap;
}
.lp-r-table tr.is-past td { color: #8a929f; }
.lp-r-table tr.is-past td:first-child { color: #8a929f; }
.lp-r-table__flag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--lp-accent);
  color: #fff;
  white-space: nowrap;
}
.lp-r-table__flag--past { background: #b9c0c9; }

/* ===== Challenges ===== */
.lp-r-challenges {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lp-line);
}
@media (min-width: 768px) {
  .lp-r-challenges { grid-template-columns: repeat(2, 1fr); }
}
.lp-r-challenge {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--lp-line);
}
@media (min-width: 768px) {
  .lp-r-challenge:nth-child(odd) { padding-right: 32px; }
  .lp-r-challenge:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--lp-line); }
}
.lp-r-challenge__num {
  flex-shrink: 0;
  font-size: 26px;
  font-weight: 700;
  color: #cfd6e0;
  line-height: 1;
}
.lp-r-challenge h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 8px;
  line-height: 1.6;
}
.lp-r-challenge p { font-size: 14px; color: var(--lp-text-muted); }

/* ===== Reason it stalls (stat) ===== */
.lp-r-stat {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .lp-r-stat { grid-template-columns: 300px 1fr; gap: 56px; }
}
.lp-r-stat__figure {
  padding: 32px 28px;
  background: var(--lp-navy);
  color: #fff;
  text-align: center;
}
.lp-r-stat__num {
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lp-accent);
}
.lp-r-stat__num span { font-size: 0.5em; }
.lp-r-stat__caption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.9;
}
.lp-r-stat__source {
  margin-top: 12px;
  font-size: 11px;
  opacity: 0.6;
}
.lp-r-risk {
  display: grid;
  gap: 4px;
  padding: 24px 28px;
  border: 1px solid rgba(243, 149, 28, 0.5);
  background: rgba(243, 149, 28, 0.06);
}
.lp-r-risk > div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(243, 149, 28, 0.45);
}
@media (min-width: 560px) {
  .lp-r-risk > div { grid-template-columns: 13em 1fr; gap: 16px; align-items: baseline; }
}
.lp-r-risk > div:last-child { border-bottom: none; }
.lp-r-risk h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ids-orange-dark);
}
.lp-r-risk p { font-size: 13px; color: var(--lp-text-muted); line-height: 1.75; }

/* ===== Three pillars ===== */
.lp-r-pillars {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) { .lp-r-pillars { grid-template-columns: repeat(3, 1fr); } }
.lp-r-pillar {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-top: 4px solid var(--ids-navy);
}
.lp-r-pillar:nth-child(2) { border-top-color: var(--lp-accent); }
.lp-r-pillar__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lp-text-muted);
  margin-bottom: 12px;
}
.lp-r-pillar__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--ids-navy);
}
.lp-r-pillar h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.lp-r-pillar p { font-size: 14px; color: var(--lp-text-muted); }

/* ===== Before / after list ===== */
.lp-r-ba {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .lp-r-ba { grid-template-columns: 1fr 1fr; gap: 0; }
}
.lp-r-ba__col { padding: 36px 32px; }
.lp-r-ba__col--before { background: var(--lp-bg-muted); }
.lp-r-ba__col--after { background: var(--lp-navy); color: #fff; }
.lp-r-ba__col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
}
.lp-r-ba__col--before h3 { color: var(--lp-text-muted); border-color: #c9d1dc; }
.lp-r-ba__col--after h3 { color: rgba(255, 255, 255, 0.75); border-color: var(--lp-accent); }
.lp-r-ba__item {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.lp-r-ba__item svg { flex-shrink: 0; margin-top: 4px; }
.lp-r-ba__col--before .lp-r-ba__item { color: var(--lp-text-muted); }
.lp-r-ba__col--after .lp-r-ba__item {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ===== Plans (3 steps) ===== */
.lp-r-plans {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) { .lp-r-plans { grid-template-columns: repeat(3, 1fr); } }
.lp-r-plan {
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-top: 4px solid var(--ids-navy);
}
.lp-r-plan--featured {
  border-color: var(--lp-accent);
  border-top-width: 4px;
  box-shadow: 0 4px 18px rgba(22, 58, 112, 0.08);
}
.lp-r-plan__step {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--lp-text-muted);
  margin-bottom: 10px;
}
.lp-r-plan h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 14px;
}
.lp-r-plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--lp-line);
}
.lp-r-plan__price-num {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--lp-accent);
}
.lp-r-plan__price-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-text-muted);
}
.lp-r-plan__term {
  font-size: 12px;
  font-weight: 700;
  color: var(--ids-navy);
  margin-bottom: 14px;
}
.lp-r-plan p { font-size: 13px; color: var(--lp-text-muted); margin-bottom: 16px; }
.lp-r-plan__items { display: grid; gap: 8px; margin-top: auto; }
.lp-r-plan__items li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--lp-text);
}
.lp-r-plan__items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--ids-navy);
}

/* ===== Scope ===== */
.lp-r-scope { display: flex; flex-direction: column; gap: 2px; }
.lp-r-scope__band {
  display: grid;
  gap: 10px;
  padding: 22px 26px;
  background: #fff;
  border-left: 4px solid var(--ids-navy);
}
@media (min-width: 768px) {
  .lp-r-scope__band { grid-template-columns: 260px 1fr; align-items: center; }
}
.lp-r-scope__band:nth-child(even) { border-left-color: var(--lp-accent); }
.lp-r-scope__band h3 { font-size: 15px; font-weight: 700; color: var(--lp-navy); }
.lp-r-scope__band p { font-size: 14px; color: var(--lp-text-muted); }

.lp-r-fit {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 768px) { .lp-r-fit { grid-template-columns: repeat(2, 1fr); } }
.lp-r-fit__box {
  padding: 28px 26px;
  border: 1px solid var(--lp-line);
  background: #fff;
}
.lp-r-fit__box--yes { border-top: 4px solid var(--ids-navy); }
.lp-r-fit__box--no { border-top: 4px solid #b9c0c9; background: var(--lp-bg-soft); }
.lp-r-fit__box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--lp-navy);
}
.lp-r-fit__box--no h3 { color: var(--lp-text-muted); }
.lp-r-fit__box li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--lp-text-muted);
  border-bottom: 1px dashed var(--lp-line);
}
.lp-r-fit__box li:last-child { border-bottom: none; }
.lp-r-fit__box li svg { flex-shrink: 0; margin-top: 4px; }

/* ===== Flow ===== */
.lp-r-flow {
  display: grid;
  max-width: 640px;
  margin-inline: auto;
}
.lp-r-flow__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding-bottom: 34px;
  position: relative;
}
.lp-r-flow__item:last-child { padding-bottom: 0; }
.lp-r-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ids-navy), var(--lp-line));
}
.lp-r-flow__marker {
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--lp-bg-tint);
  border: 2px solid var(--ids-navy);
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-navy);
  position: relative;
  z-index: 1;
}
.lp-r-flow__item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 6px;
  padding-top: 6px;
}
.lp-r-flow__item p { font-size: 14px; color: var(--lp-text-muted); }
.lp-r-flow__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.lp-r-flow__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--lp-bg-tint);
  color: var(--ids-navy);
}

/* ===== Why IDS ===== */
.lp-r-reasons {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) { .lp-r-reasons { grid-template-columns: repeat(2, 1fr); } }
.lp-r-reason {
  display: flex;
  gap: 18px;
}
.lp-r-reason__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-bg-tint);
  color: var(--ids-navy);
}
.lp-r-reason h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 8px;
  line-height: 1.5;
}
.lp-r-reason p { font-size: 14px; color: var(--lp-text-muted); }

/* ===== FAQ ===== */
.lp-r-faq { max-width: 720px; margin-inline: auto; }
.lp-r-faq details { border-bottom: 1px solid var(--lp-line); }
.lp-r-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--lp-navy);
}
.lp-r-faq summary::after {
  content: "＋";
  color: var(--ids-navy);
  flex-shrink: 0;
}
.lp-r-faq details[open] summary::after { content: "－"; }
.lp-r-faq__answer {
  padding: 0 0 22px;
  font-size: 14px;
  color: var(--lp-text-muted);
}

/* ===== Final CTA ===== */
.lp-r-cta {
  padding: clamp(56px, 8vw, 92px) 20px;
  background: linear-gradient(135deg, var(--lp-navy), #1a4a8a);
  color: #fff;
  text-align: center;
}
.lp-r-cta h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
}
.lp-r-cta p {
  font-size: 14px;
  opacity: 0.88;
  margin-bottom: 30px;
  line-height: 1.85;
}
.lp-r-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ===== Sticky CTA (SP) ===== */
.lp-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--ids-line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.lp-sticky.is-shown { transform: none; }
.lp-sticky a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-size: 13px;
  font-weight: 700;
}
.lp-sticky__primary { background: var(--ids-orange); color: #fff; }
.lp-sticky__secondary {
  border: 1px solid var(--ids-navy-deep);
  color: var(--ids-navy-deep);
}
@media (min-width: 900px) {
  .lp-sticky { display: none; }
}
