/* Companies House accounts filing landing page */

/* —— Hero (VAT-style dark image) —— */
.ch-landing-hero {
  margin-top: 1rem;
  border-radius: 0;
  overflow: hidden;
  color: #fff;
  padding: clamp(1.35rem, 3vw, 2.15rem) clamp(1.15rem, 3vw, 2rem);
  font-family: 'Roboto', sans-serif;
}

.ch-landing-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 34rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.ch-landing-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 4px solid #4cb047;
  padding: 0.15rem 0 0.15rem 1.25rem;
  max-width: 34rem;
}

.ch-landing-hero-copy h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.ch-landing-hero-title-line {
  display: block;
}

.ch-landing-hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.ch-landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.ch-landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.ch-landing-btn--primary {
  background: #4cb047;
  color: #fff;
}

.ch-landing-btn--primary:hover {
  background: #43a03f;
  color: #fff;
}

.ch-landing-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.ch-landing-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ch-landing-info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ch-landing-info-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ch-landing-info-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  filter: brightness(0) invert(1);
}

.ch-landing-info-head span {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.ch-landing-info-card p {
  margin: 0;
  font-size: clamp(0.82rem, 1.2vw, 0.92rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

/* —— How it works (VAT-style numbered steps) —— */
.ch-landing-hiw {
  margin-top: 2.75rem;
  padding: 0.75rem 0 1.25rem;
  font-family: 'Roboto', sans-serif;
  color: #17315d;
}

.ch-landing-hiw-grid {
  display: grid;
  gap: 0.75rem 2.5rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "video"
    "copy";
}

@media (min-width: 768px) {
  .ch-landing-hiw-grid {
    gap: 0 4.5rem;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas: "video copy";
    align-items: stretch;
  }
}

.ch-landing-hiw-video {
  grid-area: video;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ch-promo-video {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  background: #0a1628;
}

.ch-landing-hiw-video-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #6b7c96;
  text-align: center;
}

.ch-landing-hiw-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.ch-landing-hiw-title {
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  padding-left: calc(2.25rem + 1rem);
  text-align: left;
  text-decoration: underline;
  text-decoration-color: #4cb047;
  text-underline-offset: 0.2rem;
  color: #17315d;
  font-weight: 700;
}

@media (min-width: 768px) {
  .ch-landing-hiw-title {
    margin-bottom: 1.15rem;
    padding-left: calc(3.25rem + 1rem);
  }
}

.ch-landing-hiw-steps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  min-height: 0;
}

@media (min-width: 768px) {
  .ch-landing-hiw-steps {
    height: 100%;
    gap: 1.75rem;
  }
}

.ch-landing-hiw-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
}

.ch-landing-hiw-step > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.ch-landing-step-number {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1;
  margin: 0 1rem 0 0;
  flex-shrink: 0;
  min-width: 2.25rem;
  text-align: center;
  color: #476db0;
  font-weight: 700;
}

.ch-landing-step-title {
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: #17315d;
}

.ch-landing-step-paragraph {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin: 0;
  color: #17315d;
  line-height: 1.45;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #4cb047;
  color: #fff;
  padding: 0.8rem 1.35rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary-lg:hover {
  background: #43a03f;
  color: #fff;
}

.btn-ch-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.25rem;
  border-radius: 8px;
  border: 2px solid #476db0;
  color: #476db0;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-ch-secondary:hover {
  background: #eef3ff;
  color: #365a96;
  border-color: #365a96;
}

.ch-steps-start-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.ch-steps-start-btn {
  min-width: 12rem;
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* —— Features —— */
.ch-features {
  padding: 2.5rem 0 2.75rem;
  background: #fff;
}

.ch-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ch-feature {
  border: 1px solid #e8eef9;
  border-radius: 12px;
  padding: 1.1rem 1rem;
  background: #fafbff;
}

.ch-feature-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.55rem;
}

.ch-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f2a52;
}

.ch-feature p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5a6478;
}

.ch-feature a {
  color: #476db0;
  font-weight: 600;
  text-decoration: none;
}

.ch-feature a:hover {
  text-decoration: underline;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .ch-landing-hero-inner {
    grid-template-columns: 1fr;
  }

  .ch-landing-hero-copy {
    max-width: none;
    padding-left: 1rem;
  }

  .ch-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .ch-features-grid {
    grid-template-columns: 1fr;
  }
}
