@layer base, layout, components, utilities, pages;

/* Type-level CSS for post type: lp (solution landing pages) */

@layer pages {
  /* Archive page - Angular rich design with light background */
  .post-type-archive-lp .section {
    position: relative;
    background: #ffffff;
    padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
  }

  .post-type-archive-lp .section__head {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto clamp(48px, 6vw, 72px);
    padding: 0 clamp(32px, 5vw, 80px);
  }

  .post-type-archive-lp .section__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0;
    position: relative;
    display: inline-block;
  }

  .post-type-archive-lp .section__title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    height: 4px;
    background: #0f172a;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  }

  /* Filters - Angular design */
  .post-type-archive-lp .filters {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto clamp(40px, 5vw, 60px);
    padding: clamp(28px, 4vw, 40px);
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  }

  .post-type-archive-lp .filters__group {
    gap: 0.75rem;
  }

  .post-type-archive-lp .filters__label {
    color: #374151;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
  }

  .post-type-archive-lp .filters select,
  .post-type-archive-lp .filters input[type="search"] {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #1f2937;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  }

  .post-type-archive-lp .filters select:hover,
  .post-type-archive-lp .filters input[type="search"]:hover {
    border-color: #9ca3af;
  }

  .post-type-archive-lp .filters select:focus-visible,
  .post-type-archive-lp .filters input[type="search"]:focus-visible {
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
  }

  .post-type-archive-lp .filters .chip {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  }

  .post-type-archive-lp .filters .chip:has(input:checked) {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
  }

  .post-type-archive-lp .filters__actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .post-type-archive-lp .filters__actions .btn {
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    font-weight: 700;
    padding: 14px 32px;
    font-size: 0.875rem;
  }

  .post-type-archive-lp .filters__actions .btn--primary {
    background: #0f172a;
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
  }

  .post-type-archive-lp .filters__actions .btn--primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.4);
  }

  .post-type-archive-lp .filters__actions .btn:not(.btn--primary) {
    background: #ffffff;
    border: 2px solid #d1d5db;
    color: #374151;
  }

  .post-type-archive-lp .filters__actions .btn:not(.btn--primary):hover {
    border-color: #9ca3af;
    background: #f9fafb;
  }

  /* Card grid */
  .post-type-archive-lp .card-list {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(32px, 5vw, 80px);
  }

  /* Cards - Simple angular design */
  .post-type-archive-lp .card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    min-height: auto;
    align-items: stretch;
  }

  .post-type-archive-lp .card::before {
    display: none;
  }

  .post-type-archive-lp .card::after {
    display: none;
  }

  .post-type-archive-lp .card:hover {
    border-color: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
  }

  .post-type-archive-lp .card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f3f4f6;
    overflow: hidden;
  }

  .post-type-archive-lp .card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
  }

  .post-type-archive-lp .card__media.is-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
  }

  .post-type-archive-lp .card__media.is-logo img {
    width: 70%;
    height: auto;
    object-fit: contain;
    max-height: 70%;
  }

  .post-type-archive-lp .card:hover .card__media img {
    transform: scale(1.05);
  }

  .post-type-archive-lp .card:hover .card__media.is-logo img {
    transform: scale(1.02);
  }

  .post-type-archive-lp .card__body {
    position: static;
    padding: clamp(20px, 3vw, 28px);
    gap: 10px;
    display: flex;
    flex-direction: column;
    color: inherit;
  }

  .post-type-archive-lp .card__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
  }

  .post-type-archive-lp .card__category {
    display: inline-block;
    padding: 4px 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 0 100%);
  }

  .post-type-archive-lp .card__date {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  .post-type-archive-lp .card__title {
    color: #0f172a;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.5;
    text-shadow: none;
  }

  .post-type-archive-lp .card__excerpt {
    display: none;
  }

  .post-type-archive-lp .card__meta {
    display: none;
  }

  /* Pagination */
  .post-type-archive-lp .pagination {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: clamp(48px, 6vw, 72px) auto 0;
    padding: 0 clamp(32px, 5vw, 80px);
  }

  .post-type-archive-lp .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  }

  .post-type-archive-lp .page-numbers:hover {
    background: #f9fafb;
    border-color: #9ca3af;
  }

  .post-type-archive-lp .page-numbers.current {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
  }

  @media (max-width: 900px) {
    .post-type-archive-lp .filters {
      margin-left: clamp(24px, 4vw, 32px);
      margin-right: clamp(24px, 4vw, 32px);
    }
  }

  @media (max-width: 640px) {
    .post-type-archive-lp .section__title {
      font-size: clamp(2.5rem, 8vw, 3rem);
    }

    .post-type-archive-lp .filters__actions {
      flex-direction: column;
    }

    .post-type-archive-lp .filters__actions .btn {
      width: 100%;
    }
  }

  /* Single page styles - Angular rich design (matching case style) */
  body.single-lp {
    background: #ffffff;
  }

  body.single-lp main.site-main {
    padding-block: clamp(60px, 8vw, 100px);
  }

  body.single-lp article.type-lp {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(32px, 5vw, 80px);
  }

  body.single-lp article.type-lp > h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    border: 0;
    white-space: nowrap;
  }

  body.single-lp .entry-content {
    display: grid;
    gap: clamp(36px, 5vw, 60px);
  }

  .lp-hero {
    background: #ffffff;
    color: #1f2937;
    border: 3px solid #0f172a;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
  }

  .lp-hero__inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: clamp(32px, 5vw, 56px);
    padding: clamp(48px, 8vw, 80px);
    align-items: stretch;
  }

  @media (max-width: 900px) {
    .lp-hero__inner {
      grid-template-columns: 1fr;
    }
  }

  .lp-hero__content {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3vw, 28px);
  }

  .lp-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border: 2px solid #0f172a;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
    transition: all 0.3s ease;
  }

  .lp-badge--industry {
    border-color: #0f172a;
    background: #0f172a;
    color: #ffffff;
  }

  .lp-badge--problem {
    border-color: #1e293b;
    background: #1e293b;
    color: #ffffff;
  }

  .lp-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
  }

  .lp-hero__title {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 3.2rem);
    line-height: 1.18;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
  }

  .lp-hero__lead {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    line-height: 1.9;
    color: #374151;
  }

  .lp-hero__overview {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #4b5563;
    max-width: 72ch;
  }

  .lp-hero__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 0;
  }

  .lp-hero__meta-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    padding: 16px 20px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  }

  .lp-hero__meta-item dt {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
  }

  .lp-hero__meta-item dd {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
  }

  .lp-hero__visual {
    position: relative;
    background: #f3f4f6;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 32px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .lp-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .lp-section {
    background: #ffffff;
    border: 3px solid #0f172a;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    padding: clamp(38px, 6vw, 60px);
    display: grid;
    gap: clamp(18px, 4vw, 28px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    position: relative;
  }

  .lp-section + .lp-section::before {
    content: '';
    position: absolute;
    top: calc(-1 * clamp(18px, 2.5vw, 30px));
    left: 0;
    width: 80px;
    height: 3px;
    background: #0f172a;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  }

  /* LP case layout styles */
  body.single-lp .lp-case .panel {
    background: #ffffff;
    border: 3px solid #0f172a;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    padding: clamp(28px, 5vw, 48px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    position: relative;
  }

  body.single-lp .lp-case .panel + .panel {
    margin-top: clamp(48px, 6vw, 72px);
  }

  body.single-lp .lp-case .panel + .panel::before {
    content: '';
    position: absolute;
    top: calc(-1 * clamp(24px, 3vw, 36px));
    left: 0;
    width: 80px;
    height: 3px;
    background: #0f172a;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  }

  body.single-lp .lp-case h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 clamp(32px, 4vw, 48px);
  }

  body.single-lp .lp-case h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 clamp(16px, 2vw, 24px);
    position: relative;
    padding-left: 20px;
  }

  body.single-lp .lp-case h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #0f172a;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  }

  body.single-lp .lp-case p {
    color: #374151;
    line-height: 1.8;
    margin: 0;
  }

  body.single-lp .lp-case .ba {
    position: relative;
    display: block;
    overflow: hidden;
  }

  body.single-lp .lp-case .ba img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.single-lp .lp-case .ba img.after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0.25s ease;
    pointer-events: none;
  }

  body.single-lp .lp-case .ba .handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    pointer-events: none;
  }

  body.single-lp .lp-case .ba input[type="range"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    touch-action: none;
  }

  body.single-lp .lp-case .ba .knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 9999px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    display: grid;
    place-items: center;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
  }

  body.single-lp .lp-case .ba .knob span {
    line-height: 1;
  }

  body.single-lp .lp-case .lp-caption {
    margin-top: clamp(12px, 2vw, 18px);
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    background: #f8fafc;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 0.96rem;
    line-height: 1.7;
    color: #374151;
  }

  body.single-lp .lp-case .lp-caption strong {
    color: #0f172a;
    margin-right: 6px;
  }

  body.single-lp .lp-case .lp-caption p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 auto;
  }

  @media (max-width: 640px) {
    body.single-lp .lp-case .ba .knob {
      width: 44px;
      height: 44px;
      font-size: 1rem;
    }
  }

  .lp-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
  }

  .lp-section__title {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    text-transform: none;
    font-weight: 900;
    position: relative;
    display: inline-block;
  }

  .lp-section__title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0f172a;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  }

  .lp-section__lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #374151;
  }

  .lp-summary__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 24px);
  }

  @media (max-width: 960px) {
    .lp-summary__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 640px) {
    .lp-summary__grid {
      grid-template-columns: 1fr;
    }
  }

  .lp-summary__item {
    border: 2px solid #e5e7eb;
    background: #ffffff;
    padding: clamp(22px, 4vw, 30px);
    display: grid;
    gap: 10px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  .lp-summary__item:hover {
    border-color: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
  }

  .lp-summary__item-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #0f172a;
    text-transform: uppercase;
  }

  .lp-summary__item-body {
    margin: 0;
    color: #374151;
    line-height: 1.8;
  }

  .lp-summary__kpis {
    list-style: none;
    margin: 0;
    padding: clamp(18px, 3vw, 24px);
    border: 2px solid #0f172a;
    background: #f8f9fa;
    display: grid;
    gap: 12px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  }

  .lp-summary__kpi {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
  }

  .lp-summary__kpi-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: #0f172a;
    color: #fff;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
  }

  .lp-summary__kpi-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
  }

  .lp-summary__kpi-value {
    display: inline-flex;
    gap: 10px;
    align-items: baseline;
    font-weight: 700;
    color: #0f172a;
  }

  .lp-summary__kpi-before,
  .lp-summary__kpi-after {
    font-size: 1.2rem;
  }

  .lp-summary__kpi-arrow {
    font-size: 0.9rem;
    color: #64748b;
  }

  .lp-summary__kpi-unit {
    font-size: 0.85rem;
    color: #475569;
  }

  .lp-problem__points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 24px);
  }

  @media (max-width: 1024px) {
    .lp-problem__points {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 680px) {
    .lp-problem__points {
      grid-template-columns: 1fr;
    }
  }

  .lp-problem__item {
    border: 2px solid #e5e7eb;
    background: #ffffff;
    padding: clamp(18px, 3vw, 28px);
    display: grid;
    gap: 12px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }

  .lp-problem__item:hover {
    border-color: #0f172a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .lp-problem__item-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
  }

  .lp-problem__item-body {
    margin: 0;
    color: #374151;
    line-height: 1.8;
  }

  .lp-problem__item-figure {
    margin: 0;
    border: 2px solid #e5e7eb;
    background: #f3f4f6;
    padding: 10px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  }

  .lp-problem__item-figure img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .lp-subsection__title {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
    font-weight: 800;
  }

  .lp-problem__constraints {
    border-top: 2px solid #e5e7eb;
    padding-top: clamp(18px, 3vw, 24px);
  }

  .lp-problem__constraints ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
  }

  .lp-problem__constraints li {
    border: 2px solid #e5e7eb;
    padding: 12px 16px;
    background: #f8f9fa;
    color: #374151;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    font-weight: 500;
  }

  .lp-solution__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 24px);
  }

  @media (max-width: 1024px) {
    .lp-solution__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 680px) {
    .lp-solution__grid {
      grid-template-columns: 1fr;
    }
  }

  .lp-solution__card {
    border: 3px solid #0f172a;
    background: #ffffff;
    padding: clamp(22px, 4vw, 30px);
    display: grid;
    gap: 12px;
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    transition: all 0.3s ease;
  }

  .lp-solution__card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    transform: translateY(-4px);
  }

  .lp-solution__card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
  }

  .lp-solution__card-reason,
  .lp-solution__card-feature {
    margin: 0;
    color: #374151;
    line-height: 1.75;
  }

  .lp-solution__card-media {
    margin: 0;
    border: 2px solid #e5e7eb;
    background: #f3f4f6;
    padding: 12px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  }

  .lp-solution__card-media img {
    width: 100%;
    height: auto;
  }

  .lp-solution__comparison {
    border-top: 2px solid #e5e7eb;
    padding-top: clamp(18px, 3vw, 24px);
  }

  .lp-solution__comparison ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
  }

  .lp-solution__comparison li {
    border: 2px solid #0f172a;
    background: #f8f9fa;
    padding: 12px 16px;
    color: #0f172a;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    font-weight: 600;
  }

  .lp-capability__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  @media (max-width: 720px) {
    .lp-capability__grid {
      grid-template-columns: 1fr;
    }
  }

  .lp-capability__row {
    border: 2px solid #e5e7eb;
    background: #ffffff;
    padding: 18px 22px;
    display: grid;
    gap: 6px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .lp-capability__row dt {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 700;
  }

  .lp-capability__row dd {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
  }

  .lp-faq__item {
    border: 3px solid #0f172a;
    background: #ffffff;
    padding: clamp(16px, 3vw, 22px);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  }

  .lp-faq__item + .lp-faq__item {
    margin-top: clamp(12px, 2vw, 18px);
  }

  .lp-faq__item summary {
    cursor: pointer;
    font-weight: 800;
    color: #0f172a;
  }

  .lp-faq__item summary::-webkit-details-marker {
    display: none;
  }

  .lp-faq__item summary::after {
    content: '+';
    float: right;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
  }

  .lp-faq__item[open] summary::after {
    content: '-';
  }

  .lp-faq__answer {
    margin-top: 12px;
    border-top: 2px solid #e5e7eb;
    padding-top: 12px;
    color: #374151;
    line-height: 1.8;
  }

  body.single-lp nav.toc {
    border: 3px solid #0f172a;
    background: #ffffff;
    padding: clamp(18px, 3vw, 26px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  }

  body.single-lp .toc__list {
    display: grid;
    gap: 12px;
    margin: 0;
  }

  body.single-lp .toc__item a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    transition: all 0.2s ease;
  }

  body.single-lp .toc__item a:hover {
    color: #1e293b;
  }

  body.single-lp .toc__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4ch;
    padding: 4px 11px;
    border-radius: 0;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: none;
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 0 100%);
  }

  body.single-lp .toc__text {
    flex: 1 1 auto;
  }

  body.single-lp .toc__item--child a {
    color: #6b7280;
  }

  body.single-lp .toc__item--child .toc__index {
    background: #6b7280;
    color: #ffffff;
  }

  body.single-lp .entry-content h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    color: #0f172a;
    margin: clamp(48px, 6vw, 72px) 0 clamp(24px, 3vw, 32px);
    position: relative;
    padding-left: 20px;
  }

  body.single-lp .entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #0f172a;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%);
  }

  body.single-lp .entry-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #1f2937;
    margin: clamp(32px, 4vw, 48px) 0 clamp(16px, 2vw, 24px);
    padding-left: 16px;
    border-left: 4px solid #0f172a;
  }

  body.single-lp .entry-content h4 {
    border: none;
    padding: 0;
    margin: clamp(24px, 3vw, 32px) 0 clamp(12px, 1.5vw, 16px);
    font-weight: 700;
    color: #374151;
  }

  /* Single LP page - Angular rich design (matching case style) */
  .single-lp h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 clamp(16px, 2vw, 24px);
    position: relative;
    display: inline-block;
  }

  .single-lp h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #0f172a;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
  }

  .single-lp .term-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(24px, 3vw, 32px);
  }

  .single-lp .term-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
    transition: all 0.3s ease;
  }

  .single-lp .term-badge:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
  }

  .single-lp .entry-content img {
    max-width: 100%;
    height: auto;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  }


  /* Share tools - Compact angular design */
  .single-lp .section--share {
    margin: clamp(32px, 4vw, 48px) 0;
    background: transparent;
    padding: 0;
  }

  .single-lp .share-tools {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(16px, 2vw, 20px) clamp(32px, 5vw, 80px);
    border: 1px solid #d1d5db;
    border-radius: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 24px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .single-lp .share-tools__label {
    margin: 0;
    font-weight: 700;
    font-size: 0.875rem;
    color: #1f2937;
    flex-shrink: 0;
  }

  .single-lp .share-tools__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
  }

  .single-lp .share-tools__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 0;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  .single-lp .share-tools__btn:hover {
    border-color: #0f172a;
    background: #f9fafb;
    color: #0f172a;
  }

  .single-lp .share-tools__btn:focus-visible {
    outline: 2px solid #0f172a;
    outline-offset: 2px;
  }

  .single-lp .share-tools__btn--x {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
  }

  .single-lp .share-tools__btn--x:hover {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
  }

  .single-lp .share-tools__feedback {
    min-height: 0;
    margin: 0;
    font-size: 0.8125rem;
    color: #0f172a;
    font-weight: 500;
  }

  .single-lp .share-tools__feedback.is-error {
    color: #dc2626;
  }

  /* Related content section - User-friendly compact design */
  .single-lp .section--related {
    background: #f9fafb;
    padding: clamp(48px, 6vw, 72px) 0;
    border-top: 1px solid #e5e7eb;
  }

  .single-lp .section--related .section__head {
    max-width: 1200px;
    margin: 0 auto clamp(24px, 3vw, 36px);
    padding: 0 clamp(20px, 4vw, 40px);
  }

  .single-lp .section--related .section__title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0;
  }

  .single-lp .related-group {
    max-width: 1200px;
    margin: 0 auto clamp(32px, 4vw, 48px);
    padding: 0 clamp(20px, 4vw, 40px);
  }

  .single-lp .related-group:last-of-type {
    margin-bottom: 0;
  }

  .single-lp .related-group__head {
    margin-bottom: clamp(16px, 2vw, 20px);
    padding-bottom: 12px;
    border-bottom: 2px solid #0f172a;
  }

  .single-lp .related-group__title {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0;
  }

  /* Q&A list - Compact list style */
  .single-lp .qa-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .single-lp .qa-accordion {
    background: #ffffff;
    border: 1px solid #d1d5db;
    transition: border-color 0.2s ease;
  }

  .single-lp .qa-accordion:hover {
    border-color: #0f172a;
  }

  .single-lp .qa-q {
    padding: 12px 40px 12px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
  }

  .single-lp .qa-q__label {
    font-weight: 900;
    font-size: 0.875rem;
    color: #0f172a;
    flex-shrink: 0;
  }

  .single-lp .qa-q__text {
    line-height: 1.5;
  }

  .single-lp .qa-accordion > .qa-q::after {
    font-size: 1.125rem;
    color: #0f172a;
    right: 12px;
  }

  .single-lp .qa-a {
    padding: 12px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
  }

  .single-lp .qa-a__label {
    font-weight: 900;
    font-size: 0.875rem;
    color: #0f172a;
  }

  .single-lp .qa-a__body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #374151;
  }

  .single-lp .qa-a__body p {
    margin: 0;
  }

  /* Card list - Compact vertical list style */
  .single-lp .related-group .card-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    grid-template-columns: none !important;
  }

  .single-lp .related-group .card-list__item {
    list-style: none;
    width: 100%;
  }

  .single-lp .related-group .card-list figure,
  .single-lp .related-group .card-list figure.card__media {
    margin: 0 !important;
  }

  .single-lp .related-group .card-list .card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0;
    transition: all 0.2s ease;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 16px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    min-height: auto;
    box-shadow: none;
    clip-path: none;
  }

  .single-lp .related-group .card-list .card::before,
  .single-lp .related-group .card-list .card::after {
    display: none;
  }

  .single-lp .related-group .card-list .card:hover {
    border-color: #0f172a;
    background: #fafbfc;
    transform: none;
  }

  .single-lp .related-group .card-list .card__media {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    flex-shrink: 0;
    background: #f3f4f6;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    position: static;
    margin: 0 !important;
  }

  .single-lp .related-group .card-list .card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transform: none !important;
    display: block;
    vertical-align: top;
  }

  .single-lp .related-group .card-list .card__media.is-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
  }

  .single-lp .related-group .card-list .card__media.is-logo img {
    width: 70%;
    height: auto;
    max-height: 70%;
    object-fit: contain;
    display: block;
  }

  .single-lp .related-group .card-list .card:hover .card__media img {
    transform: none !important;
  }

  .single-lp .related-group .card-list .card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    position: static;
    color: inherit;
  }

  .single-lp .related-group .card-list .card__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 2px;
  }

  .single-lp .related-group .card-list .card__category {
    padding: 2px 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
  }

  .single-lp .related-group .card-list .card__date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
  }

  .single-lp .related-group .card-list .card__title {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: none;
  }

  .single-lp .related-group .card-list .card__excerpt {
    display: none !important;
  }

  .single-lp .related-group .card-list .card__meta {
    display: none !important;
  }

  /* More link - Simple text link */
  .single-lp .related-group__more {
    margin-top: 16px;
    text-align: right;
  }

  .single-lp .section__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: transparent;
    border: none;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .single-lp .section__more:hover {
    color: #1e293b;
    text-decoration: underline;
  }

  .single-lp .section__more::after {
    content: '→';
    font-size: 1em;
    transition: transform 0.2s ease;
  }

  .single-lp .section__more:hover::after {
    transform: translateX(4px);
  }

  @media (max-width: 640px) {
    /* Mobile: Share tools stack */
    .single-lp .share-tools {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      padding: 16px clamp(20px, 4vw, 32px);
    }

    .single-lp .share-tools__label {
      text-align: center;
    }

    .single-lp .share-tools__actions {
      flex-direction: column;
      gap: 8px;
    }

    .single-lp .share-tools__btn {
      width: 100%;
    }

    /* Mobile: Stack card vertically */
    .single-lp .related-group .card-list .card {
      flex-direction: column !important;
      align-items: stretch;
    }

    .single-lp .related-group .card-list .card__media {
      width: 100% !important;
      height: 140px !important;
      min-width: 100%;
  }

  .single-lp .related-group__more {
    text-align: center;
  }
}
