/**
 * cv-by-design.com — transition landing (EquitAI evolution)
 */

:root {
  --cvd-teal: #0f4f4a;
  --cvd-teal-dark: #0a3d39;
  --cvd-teal-btn: #0d4a45;
  --cvd-heading: #1a2e35;
  --cvd-cream: #faf8f4;
  --cvd-mint: #eef5f2;
  --cvd-mint-section: #e8f2ee;
  --cvd-terracotta: #c97b5c;
  --cvd-sage: #8fa88a;
  --cvd-sage-dark: #5a7a62;
  --cvd-text: #3d4f56;
  --cvd-muted: #6b7c82;
  --cvd-border: #e2e8e6;
  --cvd-max: 1120px;
  --cvd-serif: "Fraunces", "Georgia", serif;
  --cvd-sans: "Inter", system-ui, sans-serif;
  --cvd-radius: 1.25rem;
  --cvd-radius-lg: 1.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body.cvd-transition {
  margin: 0;
  font-family: var(--cvd-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cvd-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.cvd-container {
  width: 100%;
  max-width: var(--cvd-max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* —— Header —— */
.cvd-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--cvd-border);
  background: #fff;
}

.cvd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cvd-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--cvd-heading);
}

.cvd-logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 2px solid var(--cvd-teal);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cvd-teal);
}

.cvd-logo__text {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cvd-header__tag {
  font-size: 0.8125rem;
  color: var(--cvd-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cvd-heart {
  color: var(--cvd-terracotta);
}

/* —— Hero —— */
.cvd-hero {
  padding: 3.5rem 0 4.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--cvd-cream) 100%);
}

.cvd-hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .cvd-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.cvd-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cvd-teal);
  margin: 0 0 1rem;
}

.cvd-hero__title {
  font-family: var(--cvd-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cvd-heading);
  margin: 0 0 1.5rem;
}

.cvd-hero__copy p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--cvd-text);
}

.cvd-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cvd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  background: var(--cvd-teal-btn);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cvd-btn:hover {
  background: var(--cvd-teal-dark);
}

.cvd-btn:focus-visible {
  outline: 2px solid var(--cvd-teal);
  outline-offset: 3px;
}

.cvd-link-secondary {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cvd-teal);
  text-decoration: none;
}

.cvd-link-secondary:hover {
  text-decoration: underline;
}

.cvd-hero__visual {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .cvd-hero__visual {
    margin: 0 0 0 auto;
  }
}

.cvd-hero__blob {
  position: relative;
  border-radius: 45% 55% 52% 48% / 48% 45% 55% 52%;
  overflow: hidden;
  background: var(--cvd-mint);
  aspect-ratio: 1;
  box-shadow: 0 24px 48px rgba(15, 79, 74, 0.08);
}

.cvd-hero__blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cvd-hero__float {
  position: absolute;
  right: -0.5rem;
  bottom: 1.5rem;
  left: 1rem;
  max-width: 16rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: var(--cvd-radius);
  box-shadow: 0 8px 32px rgba(26, 46, 53, 0.1);
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--cvd-heading);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.cvd-hero__float-icon {
  flex-shrink: 0;
  color: var(--cvd-sage-dark);
  margin-top: 0.1rem;
}

/* —— Features —— */
.cvd-features {
  padding: 4.5rem 0;
  background: #fff;
}

.cvd-section-title {
  font-family: var(--cvd-serif);
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 500;
  text-align: center;
  color: var(--cvd-heading);
  margin: 0 0 3rem;
  letter-spacing: -0.02em;
}

.cvd-features__grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cvd-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cvd-features__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
  }
}

.cvd-feature {
  text-align: center;
  padding: 0 0.5rem;
}

.cvd-feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--cvd-mint);
  color: var(--cvd-teal);
}

.cvd-feature__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.cvd-feature__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cvd-heading);
  margin: 0 0 0.5rem;
}

.cvd-feature__text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--cvd-muted);
  margin: 0;
}

/* —— Journey —— */
.cvd-journey {
  padding: 0 0 4.5rem;
}

.cvd-journey__card {
  background: var(--cvd-cream);
  border-radius: var(--cvd-radius-lg);
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cvd-journey__card {
    padding: 2.75rem 2.5rem 2.5rem;
  }
}

.cvd-journey__title {
  font-family: var(--cvd-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--cvd-heading);
  margin: 0 0 2.5rem;
}

.cvd-timeline {
  display: grid;
  gap: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .cvd-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .cvd-timeline::before {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      var(--cvd-border) 0,
      var(--cvd-border) 6px,
      transparent 6px,
      transparent 12px
    );
    z-index: 0;
  }
}

.cvd-timeline__item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.cvd-timeline__dot {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cvd-timeline__dot--2023 {
  background: var(--cvd-terracotta);
}

.cvd-timeline__dot--2024 {
  background: var(--cvd-sage);
}

.cvd-timeline__dot--2025 {
  background: var(--cvd-teal);
}

.cvd-timeline__year {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cvd-heading);
  margin-bottom: 0.35rem;
}

.cvd-timeline__label {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--cvd-muted);
}

.cvd-journey__branch {
  display: none;
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  width: 5rem;
  height: 5rem;
  opacity: 0.35;
  color: var(--cvd-sage);
}

@media (min-width: 900px) {
  .cvd-journey__branch {
    display: block;
  }
}

/* —— Built with —— */
.cvd-built {
  padding: 4.5rem 0;
  background: #fff;
}

.cvd-built__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .cvd-built__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.cvd-built__visual {
  position: relative;
  border-radius: var(--cvd-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cvd-mint);
}

.cvd-built__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cvd-built__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: #fff;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cvd-heading);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cvd-built__title {
  font-family: var(--cvd-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--cvd-heading);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.cvd-built__copy {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--cvd-text);
  margin: 0 0 2rem;
}

.cvd-partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
}

@media (min-width: 520px) {
  .cvd-partners {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cvd-partner {
  text-align: center;
}

.cvd-partner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.5rem;
  color: var(--cvd-teal);
}

.cvd-partner__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.cvd-partner__label {
  font-size: 0.6875rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--cvd-muted);
}

/* —— Final CTA —— */
.cvd-closing {
  padding: 0 0 4rem;
}

.cvd-closing__card {
  background: var(--cvd-mint-section);
  border-radius: var(--cvd-radius-lg);
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cvd-closing__card {
    padding: 3.5rem 3rem;
  }
}

.cvd-closing__heart-art {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4.5rem;
  height: 4.5rem;
  color: var(--cvd-teal);
  opacity: 0.2;
  display: none;
}

@media (min-width: 768px) {
  .cvd-closing__heart-art {
    display: block;
  }
}

.cvd-closing__title {
  font-family: var(--cvd-serif);
  font-size: clamp(1.35rem, 3vw, 1.875rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--cvd-heading);
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  letter-spacing: -0.02em;
}

.cvd-closing__thanks {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--cvd-muted);
}

/* —— Footer —— */
.cvd-footer {
  border-top: 1px solid var(--cvd-border);
  padding: 1.5rem 0 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--cvd-muted);
}

.cvd-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cvd-footer a {
  color: var(--cvd-teal);
  text-decoration: none;
}

.cvd-footer a:hover {
  text-decoration: underline;
}
