/**
 * Landing-only sections (hero refresh + marketing blocks).
 * Keeps Appliora light UI; complements css/styles.css.
 */

/* ── Hero v2 (builder preview) ── */
#page-landing .hero.hero--v2 .hero-bg .hero-glow-left {
  background: radial-gradient(circle at 45% 45%, rgba(99, 102, 241, 0.09) 0%, transparent 68%);
}
#page-landing .hero.hero--v2 .hero-bg .hero-glow-right {
  background: radial-gradient(circle at 55% 40%, rgba(34, 193, 255, 0.08) 0%, transparent 68%);
}

.hero--v2 .kicker--live {
  gap: 10px;
}
.hero--v2 .kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  flex-shrink: 0;
}

/* Hero headline v2 — two lines, gradient only on accent phrase */
#page-landing .hero.hero--v2 .hero-headline-v2 {
  max-width: min(680px, 100%);
  margin-bottom: 18px;
  font-weight: var(--fw-black);
  letter-spacing: -0.032em;
  line-height: 1.05;
  font-size: clamp(32px, 4.2vw, 52px);
  color: #0f172a;
}

#page-landing .hero.hero--v2 .hero-headline-line {
  display: block;
}

#page-landing .hero.hero--v2 .hero-headline-line--sub {
  margin-top: 0.14em;
  font-size: 0.88em;
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.028em;
  line-height: 1.06;
  color: #1e293b;
}

.hero-headline-gradient {
  display: inline;
  background: linear-gradient(90deg, #4f46e5 0%, #6366f1 35%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#page-landing .hero.hero--v2 .hero-subhead {
  max-width: min(680px, 100%);
  font-size: 17px;
  line-height: 1.62;
  color: #475569;
  margin-bottom: 28px;
}

@media (max-width: 640px) {
  #page-landing .hero.hero--v2 .hero-headline-v2 {
    font-size: clamp(28px, 6.2vw, 40px);
    line-height: 1.06;
  }

  #page-landing .hero.hero--v2 .hero-headline-line--sub {
    font-size: 0.9em;
  }
}

/* ── Hero primary CTA (“Create my CV”) — calm premium emphasis, hero v2 only ── */
@keyframes hero-cta-shine-sweep {
  0% {
    transform: translateX(-120%) skewX(-16deg);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  42% {
    transform: translateX(280%) skewX(-16deg);
    opacity: 0.25;
  }
  55%,
  100% {
    transform: translateX(280%) skewX(-16deg);
    opacity: 0;
  }
}

@keyframes hero-cta-idle-breath {
  0%,
  100% {
    box-shadow:
      0 12px 34px rgba(79, 99, 217, 0.2),
      0 6px 16px rgba(63, 81, 199, 0.11),
      0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  }
  50% {
    box-shadow:
      0 16px 46px rgba(79, 99, 217, 0.27),
      0 8px 22px rgba(63, 81, 199, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.22) inset;
  }
}

@keyframes hero-cta-free-soft {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

#page-landing .hero.hero--v2 .hero-cta-btn {
  isolation: isolate;
  border-radius: 14px;
}

#page-landing .hero.hero--v2 .hero-cta-btn-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#page-landing .hero.hero--v2 .hero-cta-btn-text {
  font-weight: var(--fw-bold);
  letter-spacing: -0.015em;
}

#page-landing .hero.hero--v2 .hero-cta-free {
  font-weight: var(--fw-extrabold);
  letter-spacing: 0.03em;
  font-size: 0.92em;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.35);
}

#page-landing .hero.hero--v2 .hero-cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 48%,
    transparent 100%
  );
  transform: skewX(-16deg);
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  #page-landing .hero.hero--v2 .hero-cta-btn:not(:hover):not(:active) {
    animation: hero-cta-idle-breath 3.6s ease-in-out infinite;
  }

  #page-landing .hero.hero--v2 .hero-cta-btn::after {
    animation: hero-cta-shine-sweep 5.5s ease-in-out infinite;
  }

  #page-landing .hero.hero--v2 .hero-cta-btn.btn-primary:hover {
    animation: heroCtaHoverPulse 2.4s ease-in-out infinite;
  }

  #page-landing .hero.hero--v2 .hero-cta-btn.btn-primary:hover::after,
  #page-landing .hero.hero--v2 .hero-cta-btn.btn-primary:active::after {
    animation-play-state: paused;
    opacity: 0;
  }

  #page-landing .hero.hero--v2 .hero-cta-btn:not(:hover):not(:active) .hero-cta-free {
    animation: hero-cta-free-soft 2.8s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-landing .hero.hero--v2 .hero-cta-btn::after {
    display: none;
  }

  #page-landing .hero.hero--v2 .hero-cta-btn {
    animation: none !important;
  }

  #page-landing .hero.hero--v2 .hero-cta-free {
    animation: none !important;
  }
}

/* Pause CTA motion when hero scrolled off-screen (matches js/app.js hero-animations-paused) */
@media (prefers-reduced-motion: no-preference) {
  #page-landing .hero.hero--v2.hero-animations-paused .hero-cta-btn:not(:hover):not(:active) {
    animation: none;
  }

  #page-landing .hero.hero--v2.hero-animations-paused .hero-cta-btn::after {
    animation-play-state: paused;
    opacity: 0;
  }

  #page-landing .hero.hero--v2.hero-animations-paused .hero-cta-btn:not(:hover) .hero-cta-free {
    animation: none;
  }
}

.landing-icon-check,
.landing-icon-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: var(--fw-black);
  flex-shrink: 0;
}
.landing-icon-check {
  background: #d1fae5;
  color: #047857;
}
.landing-icon-x {
  background: #ffe4e6;
  color: #e11d48;
}

/* ── Reusable animation utilities (hero preview + elsewhere) ── */
@keyframes landing-anim-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes landing-anim-float-subtle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes landing-anim-glow-pulse {
  0%,
  100% {
    opacity: 0.88;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.045);
  }
}

@keyframes landing-anim-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landing-anim-strength-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes landing-anim-line-grow {
  from {
    opacity: 0.35;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Builder preview mock */
.landing-hero-preview {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 0 14px;
  overflow: visible;
}

.landing-hero-preview-stack {
  position: relative;
  animation: landing-anim-float 6.5s ease-in-out infinite;
}

@media (max-width: 639px) {
  .landing-hero-preview-stack {
    animation-name: landing-anim-float-subtle;
    animation-duration: 8s;
  }
}

.landing-hero-preview-glow {
  position: absolute;
  inset: -28px;
  border-radius: 48px;
  background: linear-gradient(135deg, rgba(199, 210, 254, 0.42) 0%, rgba(207, 250, 254, 0.5) 48%, rgba(255, 255, 255, 0.95) 100%);
  filter: blur(38px);
  z-index: 0;
  pointer-events: none;
  animation: landing-anim-glow-pulse 7.5s ease-in-out infinite;
}

.landing-hero-preview-shell {
  position: relative;
  z-index: 1;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 28px 80px rgba(15, 23, 42, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .landing-hero-preview-stack:hover .landing-hero-preview-shell {
    transform: translateY(-5px);
    box-shadow:
      0 34px 92px rgba(15, 23, 42, 0.13),
      0 1px 0 rgba(255, 255, 255, 0.95) inset;
  }
}

.landing-hero-preview-chrome--enter {
  animation: landing-anim-fade-up 0.55s ease forwards;
  opacity: 0;
}

.landing-preview-float-el--saved {
  animation: landing-anim-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.14s;
  opacity: 0;
}

.landing-preview-float-el--tip {
  animation: landing-anim-fade-up 0.62s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.28s;
  opacity: 0;
}

.landing-preview-float-el--strength {
  animation: landing-anim-fade-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.landing-preview-lines--grow span {
  display: block;
  transform-origin: left center;
  transform: scaleX(0);
  animation: landing-anim-line-grow 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.landing-preview-lines--grow span:nth-child(1) {
  animation-delay: 0.62s;
}
.landing-preview-lines--grow span:nth-child(2) {
  animation-delay: 0.72s;
}
.landing-preview-lines--grow span:nth-child(3) {
  animation-delay: 0.82s;
}
.landing-preview-lines--grow span:nth-child(4) {
  animation-delay: 0.92s;
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-preview-stack {
    animation: none;
  }

  .landing-hero-preview-glow {
    animation: none;
    opacity: 0.94;
    transform: none;
  }

  .landing-hero-preview-chrome--enter,
  .landing-preview-float-el--saved,
  .landing-preview-float-el--tip,
  .landing-preview-float-el--strength,
  .landing-preview-strength-num,
  .landing-preview-strength-tag {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .landing-preview-lines--grow span {
    animation: none;
    opacity: 1;
    transform: scaleX(1);
  }

  .landing-hero-preview-shell {
    transition: none;
  }

  .landing-hero-preview-stack:hover .landing-hero-preview-shell {
    transform: none;
  }
}

.landing-hero-preview-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid #f1f5f9;
  background: rgba(255, 255, 255, 0.95);
}

.landing-hero-preview-dots {
  display: flex;
  gap: 8px;
}
.landing-hero-preview-dots span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}
.landing-hero-preview-dots span:nth-child(1) {
  background: #fb7185;
}
.landing-hero-preview-dots span:nth-child(2) {
  background: #fbbf24;
}
.landing-hero-preview-dots span:nth-child(3) {
  background: #34d399;
}

.landing-hero-preview-url {
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.landing-hero-preview-body {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 360px;
}

@media (min-width: 640px) {
  .landing-hero-preview-body {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: 420px;
  }
}

.landing-hero-preview-sidebar {
  padding: 22px 20px;
  background: rgba(248, 250, 252, 0.85);
  border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 640px) {
  .landing-hero-preview-sidebar {
    border-bottom: none;
    border-right: 1px solid #f1f5f9;
  }
}

.landing-hero-preview-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.landing-hero-preview-sidebar-head h3 {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: var(--fw-black);
  color: var(--text-main);
}

.landing-preview-badge {
  border-radius: 999px;
  padding: 5px 11px;
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  background: #d1fae5;
  color: #047857;
}

.landing-preview-field {
  margin-bottom: 14px;
}
.landing-preview-field label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  color: #64748b;
}
.landing-preview-field .landing-preview-input {
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  background: #fff;
  padding: 11px 14px;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: #334155;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.landing-preview-summary-label {
  margin: 14px 0 8px;
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  color: #64748b;
}

.landing-preview-summary-box {
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  background: #fff;
  padding: 14px;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: #475569;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.landing-preview-tip {
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid #e0e7ff;
  background: #fff;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
.landing-preview-tip strong {
  display: block;
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  color: #4338ca;
}
.landing-preview-tip p {
  margin: 8px 0 0;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: #334155;
  line-height: 1.5;
}

.landing-hero-preview-main {
  position: relative;
  padding: 28px 22px 26px;
  background: #fff;
}

.landing-preview-strength {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 24px;
  border: 1px solid #e0e7ff;
  background: #fff;
  padding: 12px 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  z-index: 2;
}

.landing-preview-strength .lbl {
  margin: 0;
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  color: #64748b;
}

.landing-preview-strength-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.landing-preview-strength-num {
  font-size: 36px;
  font-weight: var(--fw-black);
  letter-spacing: -0.04em;
  color: var(--text-main);
  line-height: 1;
  animation: landing-anim-strength-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.56s;
  opacity: 0;
}

.landing-preview-strength-tag {
  margin-bottom: 4px;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  background: #d1fae5;
  color: #047857;
  animation: landing-anim-fade-up 0.5s ease forwards;
  animation-delay: 0.72s;
  opacity: 0;
}

.landing-preview-cv-card {
  margin-top: 52px;
  border-radius: 28px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.1);
}

.landing-preview-cv-card h4 {
  margin: 0;
  font-size: var(--text-title-md);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.landing-preview-cv-meta {
  margin-top: 6px;
  font-size: var(--text-2xs);
  font-weight: var(--fw-bold);
  color: #64748b;
}

.landing-preview-resume-block {
  margin-top: 22px;
}
.landing-preview-resume-block .lbl {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: var(--fw-black);
  letter-spacing: 0.22em;
  color: #4f46e5;
}

.landing-preview-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.landing-preview-lines span {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
}

@media (max-width: 639px) {
  .landing-preview-strength {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 12px;
    display: inline-block;
  }
  .landing-preview-cv-card {
    margin-top: 12px;
  }
}

/* ── Shared landing marketing sections ── */
.landing-marketing-section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--landing-scroll-offset);
}

.landing-marketing-inner {
  max-width: min(1200px, 94vw);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 4vw, 36px);
}

#page-landing .landing-marketing-section .section-intro {
  margin-bottom: clamp(14px, 2.2vw, 22px);
}

.landing-eyebrow {
  margin: 0;
  font-size: var(--text-xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4f46e5;
}

.landing-section-title {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: var(--fw-black);
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-main);
}

.landing-section-lead {
  margin: 12px auto 0;
  max-width: 42em;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--muted);
}

.landing-section-intro--center {
  text-align: center;
}

/* How it works */
.landing-steps-grid {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.landing-steps-grid--flow {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .landing-steps-grid--flow {
    grid-template-columns: minmax(0, 1fr) minmax(16px, 40px) minmax(0, 1fr) minmax(16px, 40px) minmax(0, 1fr);
    gap: 16px 10px;
    align-items: stretch;
  }
}

.landing-step-connector {
  display: none;
}

@media (min-width: 768px) {
  .landing-step-connector {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    align-self: center;
    padding: 0 2px;
  }

  .landing-step-connector-line {
    flex: 1;
    min-width: 8px;
    border: none;
    border-top: 1px dashed rgba(79, 99, 217, 0.38);
    height: 0;
  }

  .landing-step-connector-arrow {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: var(--fw-bold);
    color: #6366f1;
    line-height: 1;
    opacity: 0.9;
  }
}

.landing-step-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid #e8ecf4;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 251, 255, 1) 100%);
  padding: 18px 18px 16px;
  box-shadow:
    0 2px 16px rgba(15, 23, 42, 0.045),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  min-width: 0;
  transition:
    transform 0.32s var(--ease-out),
    box-shadow 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out);
}

.landing-step-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(99, 102, 241, 0.09), transparent 55%);
  pointer-events: none;
  opacity: 0.85;
}

@media (hover: hover) and (pointer: fine) {
  .landing-step-card:hover {
    transform: translateY(-5px);
    box-shadow:
      0 18px 44px rgba(79, 99, 217, 0.14),
      0 8px 22px rgba(15, 23, 42, 0.07),
      0 0 40px rgba(99, 102, 241, 0.12);
    border-color: rgba(129, 140, 248, 0.45);
  }

  .landing-step-card:hover::before {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-step-card {
    transition: none;
  }

  .landing-step-card:hover {
    transform: none;
  }
}

.landing-step-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.landing-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  color: #fff;
  font-size: var(--text-md);
  font-weight: var(--fw-black);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

/* Mini product previews (How it works) */
.landing-step-preview {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  min-height: 132px;
  max-width: 100%;
  border-radius: 16px;
  padding: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(238, 242, 255, 0.65) 0%, rgba(241, 245, 249, 0.5) 100%);
  border: 1px solid rgba(199, 210, 254, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 28px rgba(79, 99, 217, 0.06);
}

@media (min-width: 768px) {
  .landing-step-preview {
    min-height: 148px;
    padding: 14px;
  }
}

.landing-step-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.landing-step-card > p:not(.landing-step-hint) {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  line-height: 1.58;
  font-size: var(--text-sm);
  color: #475569;
}

.landing-step-hint {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: #64748b;
  letter-spacing: 0.01em;
}

/* Step 1 — form mock */
.hiw-mock {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hiw-mock--form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.hiw-mock-form-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hiw-mock-form-row--block {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 5px;
}

.hiw-mock-label {
  font-size: 9px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  line-height: 1.2;
}

.hiw-mock-form-row--block .hiw-mock-label {
  grid-column: 1 / -1;
}

.hiw-mock-input {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.hiw-mock-input--wide {
  width: 100%;
}

.hiw-mock-input--mid {
  width: 72%;
  max-width: 100%;
}

.hiw-mock-textarea {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 10px;
  min-height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.hiw-mock-line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
  width: 100%;
}

.hiw-mock-line--short {
  width: 58%;
}

/* Step 2 — template thumbnails */
.hiw-mock--templates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  min-height: 100%;
}

.hiw-mock-thumb {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 7px 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition:
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.hiw-mock-thumb.is-active {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow:
    0 0 0 2px rgba(99, 102, 241, 0.18),
    0 8px 20px rgba(79, 99, 217, 0.12);
  transform: translateY(-1px);
}

.landing-step-card:hover .hiw-mock-thumb.is-active {
  box-shadow:
    0 0 0 2px rgba(99, 102, 241, 0.22),
    0 10px 24px rgba(79, 99, 217, 0.15);
}

.hiw-mock-thumb-chrome {
  height: 5px;
  border-radius: 3px;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #cbd5e1 0%, #e2e8f0 100%);
  opacity: 0.85;
}

.hiw-mock-thumb-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hiw-mock-bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  width: 92%;
}

.hiw-mock-bar--55 {
  width: 55%;
}

.hiw-mock-bar--65 {
  width: 65%;
}

.hiw-mock-bar--70 {
  width: 70%;
}

.hiw-mock-bar--75 {
  width: 75%;
}

.hiw-mock-bar--80 {
  width: 80%;
}

.hiw-mock-bar--85 {
  width: 85%;
}

.hiw-mock-bar--90 {
  width: 90%;
}

/* Step 3 — export row */
.hiw-mock--export {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  min-height: 108px;
}

.hiw-mock-export-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 120px;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.hiw-mock-pdf-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: var(--fw-black);
  letter-spacing: 0.04em;
  color: #b91c1c;
  background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.hiw-mock-pdf-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}

.hiw-mock-pdf-name {
  display: block;
  height: 7px;
  width: 88%;
  border-radius: 3px;
  background: #1e293b;
  opacity: 0.88;
}

.hiw-mock-pdf-sub {
  display: block;
  height: 5px;
  width: 52%;
  border-radius: 2px;
  background: #cbd5e1;
}

.hiw-mock-ready {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

.hiw-mock-check-icon {
  display: block;
}

.hiw-mock-dl {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 55%, #818cf8 100%);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

@media (max-width: 380px) {
  .hiw-mock--export {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
  }

  .hiw-mock-ready {
    align-self: center;
  }

  .hiw-mock-dl {
    width: 100%;
    max-width: 100%;
  }
}

/* Template direction */
.landing-template-shell-intro .landing-section-lead--template-dir {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 38em;
}

.landing-template-shell {
  margin-top: 0;
  border-radius: 28px;
  border: 1px solid #eef2f7;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 255, 0.92) 100%);
  padding: clamp(18px, 3.2vw, 32px);
  box-shadow:
    var(--shadow-glass),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  align-items: stretch;
}

@media (min-width: 960px) {
  .landing-template-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(24px, 3vw, 36px);
    padding: 28px 32px 30px;
  }
}

.landing-roadmap-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-roadmap-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 18px;
  border: 1px solid #f1f5f9;
  background: #fff;
  padding: 14px 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.landing-roadmap-item h3 {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--fw-black);
  color: var(--text-main);
}

.landing-roadmap-item p {
  margin: 5px 0 0;
  font-size: var(--text-sm);
  color: #64748b;
}

.landing-roadmap-status {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  background: #eef2ff;
  color: #4338ca;
}

/* Template direction — CV preview column */
.landing-template-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.landing-td-cv-page {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(199, 210, 254, 0.65);
  background: #fff;
  padding: 18px 18px 14px 22px;
  box-shadow:
    0 16px 42px rgba(79, 99, 217, 0.12),
    0 4px 14px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
}

.landing-td-cv-page-accent {
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 45%, #06b6d4 100%);
  box-shadow: 2px 0 12px rgba(99, 102, 241, 0.25);
}

.landing-td-cv-page-inner {
  position: relative;
  padding-left: 8px;
}

.landing-td-cv-head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.landing-td-cv-name {
  display: block;
  font-size: clamp(15px, 2.4vw, 18px);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}

.landing-td-cv-meta {
  display: block;
  margin-top: 5px;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: #64748b;
  letter-spacing: 0.01em;
}

.landing-td-cv-section {
  margin: 0 0 12px;
}

.landing-td-cv-section:last-of-type {
  margin-bottom: 10px;
}

.landing-td-cv-h {
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: var(--fw-black);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4f46e5;
}

.landing-td-cv-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.landing-td-cv-lines--tight {
  margin-top: 6px;
}

.landing-td-line {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
  width: 100%;
}

.landing-td-line--58 {
  width: 58%;
}

.landing-td-line--64 {
  width: 64%;
}

.landing-td-line--72 {
  width: 72%;
}

.landing-td-line--76 {
  width: 76%;
}

.landing-td-line--82 {
  width: 82%;
}

.landing-td-line--92 {
  width: 92%;
}

.landing-td-cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.landing-td-chip {
  height: 22px;
  flex: 1 1 26%;
  min-width: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
  border: 1px solid rgba(199, 210, 254, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.landing-td-chip--mid {
  flex: 1 1 34%;
}

.landing-td-chip--short {
  flex: 0 1 28%;
  max-width: 42%;
}

.landing-td-cv-label {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4338ca;
}

.landing-td-soon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
}

@media (max-width: 420px) {
  .landing-td-soon-grid {
    grid-template-columns: 1fr;
  }
}

.landing-td-soon-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 12px 12px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.65);
  background: rgba(248, 250, 252, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  opacity: 0.88;
}

.landing-td-soon-mock {
  position: relative;
  display: flex;
  gap: 8px;
  min-height: 56px;
  padding: 8px 8px 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.landing-td-soon-accent {
  flex-shrink: 0;
  width: 3px;
  align-self: stretch;
  border-radius: 2px;
  background: linear-gradient(180deg, #cbd5e1 0%, #e2e8f0 100%);
  opacity: 0.85;
}

.landing-td-soon-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
}

.landing-td-soon-bar {
  height: 6px;
  width: 42%;
  border-radius: 3px;
  background: #e2e8f0;
}

.landing-td-soon-line {
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  width: 100%;
}

.landing-td-soon-line--short {
  width: 62%;
}

.landing-td-soon-line--med {
  width: 78%;
}

.landing-td-soon-title {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: -0.01em;
  color: #64748b;
  text-align: center;
}

/* Why Appliora (compare) */
.landing-compare-grid {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

@media (min-width: 960px) {
  .landing-compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.landing-compare-card {
  border-radius: 28px;
  padding: 28px;
  border: 1px solid #f1f5f9;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.32s var(--ease-out),
    box-shadow 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out);
}

.landing-compare-card--muted {
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f7 100%);
  border-color: #e2e8f0;
  box-shadow:
    0 2px 12px rgba(15, 23, 42, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.landing-compare-card--muted h3 {
  color: #475569;
}

.landing-compare-card--muted .landing-compare-list li {
  color: #64748b;
}

.landing-compare-card--highlight {
  border-color: rgba(129, 140, 248, 0.42);
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    rgba(236, 254, 255, 0.42) 42%,
    rgba(238, 242, 255, 0.95) 100%
  );
  box-shadow:
    0 6px 26px rgba(79, 99, 217, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    0 0 52px rgba(56, 189, 248, 0.06);
}

@media (hover: hover) and (pointer: fine) {
  .landing-compare-card:hover {
    transform: translateY(-4px);
  }

  .landing-compare-card--muted:hover {
    border-color: #cbd5e1;
    box-shadow:
      0 14px 36px rgba(15, 23, 42, 0.07),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  .landing-compare-card--highlight:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow:
      0 18px 44px rgba(79, 99, 217, 0.14),
      0 0 0 1px rgba(255, 255, 255, 0.85) inset,
      0 0 64px rgba(99, 102, 241, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-compare-card {
    transition: none;
  }

  .landing-compare-card:hover {
    transform: none;
  }
}

.landing-compare-card h3 {
  margin: 0;
  font-size: var(--text-title-md);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.landing-compare-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.landing-compare-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  color: #475569;
  line-height: 1.55;
}

.landing-compare-card--muted .landing-icon-x {
  color: #94a3b8;
}

.landing-compare-list li:last-child {
  margin-bottom: 0;
}

/* Reviews */
#sec-reviews.landing-marketing-section {
  overflow: visible;
}

.landing-reviews-note {
  margin: 10px auto 0;
  max-width: 40em;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: #94a3b8;
}

.landing-reviews-grid {
  margin-top: 22px;
  display: grid;
  gap: 22px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .landing-reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.landing-review-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-radius: 22px;
  border: 1px solid rgba(241, 245, 249, 0.95);
  background: #fff;
  padding: 26px 24px 24px;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.04),
    0 12px 36px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  transition:
    transform 0.32s var(--ease-out),
    box-shadow 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .landing-review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 210, 254, 0.85);
    box-shadow:
      0 6px 16px rgba(15, 23, 42, 0.06),
      0 20px 48px rgba(79, 99, 217, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.92) inset;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-review-card {
    transition: none;
  }

  .landing-review-card:hover {
    transform: none;
  }
}

.landing-review-stars {
  flex-shrink: 0;
  color: #fbbf24;
  letter-spacing: 1.5px;
  font-size: 13px;
  line-height: 1;
}

.landing-review-quote {
  flex: 1 1 auto;
  margin: 18px 0 0;
  font-size: var(--text-body);
  line-height: 1.68;
  color: #334155;
}

.landing-review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
}

.landing-review-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9) inset,
    0 2px 8px rgba(15, 23, 42, 0.06);
}

.landing-review-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-review-author-text strong {
  display: block;
  font-weight: var(--fw-black);
  color: var(--text-main);
}

.landing-review-author-text span {
  display: block;
  margin-top: 2px;
  font-size: var(--text-sm);
  color: #64748b;
}

/* Access (landing — calm copy; checkout unchanged) */
.landing-access-section {
  overflow: visible;
}

.landing-access-inner {
  max-width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.landing-access-lead {
  max-width: 46em;
}

.landing-access-panel {
  position: relative;
  margin-top: clamp(18px, 2.8vw, 26px);
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  padding: clamp(22px, 3.2vw, 30px) clamp(20px, 3vw, 28px) clamp(24px, 3.5vw, 32px);
  box-shadow:
    0 2px 12px rgba(15, 23, 42, 0.04),
    0 18px 48px rgba(79, 99, 217, 0.06);
  isolation: isolate;
}

.landing-access-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 95% 55% at 50% -12%, rgba(99, 102, 241, 0.09), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.landing-access-panel > * {
  position: relative;
  z-index: 1;
}

.landing-access-list-heading {
  margin: 0 0 14px;
  font-size: var(--text-xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.landing-access-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px 20px;
}

@media (min-width: 520px) {
  .landing-access-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.landing-access-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-body);
  line-height: 1.45;
  color: #334155;
}

.landing-access-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.42em;
  border-radius: 999px;
  background: linear-gradient(135deg, #818cf8 0%, #22d3ee 100%);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}

.landing-access-export-note {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid #f1f5f9;
  font-size: var(--text-sm);
  line-height: 1.58;
  color: #475569;
}

.landing-access-cta-wrap {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.landing-access-cta {
  min-width: min(100%, 260px);
  border-radius: 14px;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

#page-landing .hero.hero--v2 .hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(260px, min(100%, 520px));
}

@media (max-width: 900px) {
  #page-landing .hero.hero--v2 .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 64px;
  }
  .landing-hero-preview {
    max-width: 100%;
  }
}

/* Pause decorative loops when hero is off-screen (see js/app.js hero-animations-paused) */
@media (prefers-reduced-motion: no-preference) {
  #page-landing .hero.hero--v2.hero-animations-paused .landing-hero-preview-stack,
  #page-landing .hero.hero--v2.hero-animations-paused .landing-hero-preview-glow {
    animation-play-state: paused;
  }
}

/*
  Optional reusable hooks (same keyframes as hero preview):
  .landing-anim-float — animation: landing-anim-float 6.5s ease-in-out infinite;
  .landing-anim-glow-pulse — animation: landing-anim-glow-pulse 7.5s ease-in-out infinite;
  .landing-anim-fade-up — animation: landing-anim-fade-up … forwards;
*/

/* ── Templates gallery (templates.html #sec-gallery) ── */
body.templates-page {
  overflow-x: clip;
}

body.templates-page .landing-templates-section .section-inner {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

body.templates-page .landing-templates-gallery-section {
  padding-top: clamp(12px, 2.5vw, 20px);
  padding-bottom: clamp(20px, 3vw, 32px);
  scroll-margin-top: calc(var(--landing-scroll-offset, 80px) + 12px);
}

body.templates-page .templates-gallery-intro {
  margin-bottom: clamp(6px, 1.2vw, 12px);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

body.templates-page .templates-gallery-heading {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  color: var(--text-main);
}

body.templates-page .templates-gallery-lead {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.55;
  color: #64748b;
}

body.templates-page .template-gallery-grid {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
  body.templates-page .template-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  body.templates-page .template-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

body.templates-page .template-gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  padding: 14px;
  border: 1px solid #e8ecf4;
  background: linear-gradient(165deg, #ffffff 0%, #fafbff 100%);
  box-shadow:
    0 2px 14px rgba(15, 23, 42, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  transition:
    transform 0.32s var(--ease-out),
    box-shadow 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out);
}

body.templates-page .template-gallery-card::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto -20%;
  height: 55%;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(99, 102, 241, 0.07), transparent 62%);
  pointer-events: none;
}

body.templates-page .template-gallery-card--roadmap {
  opacity: 0.94;
}

body.templates-page .template-gallery-card--roadmap .template-gallery-preview-wrap {
  filter: saturate(0.88);
  opacity: 0.97;
}

@media (hover: hover) and (pointer: fine) {
  body.templates-page .template-gallery-card--live:hover {
    transform: translateY(-5px);
    border-color: rgba(129, 140, 248, 0.42);
    box-shadow:
      0 18px 42px rgba(79, 99, 217, 0.13),
      0 8px 22px rgba(15, 23, 42, 0.06),
      0 0 38px rgba(99, 102, 241, 0.1);
  }

  body.templates-page .template-gallery-card--live:hover::before {
    opacity: 1.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.templates-page .template-gallery-card {
    transition: none;
  }

  body.templates-page .template-gallery-card--live:hover {
    transform: none;
  }
}

body.templates-page .template-gallery-preview-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  border-radius: 16px;
  padding: 14px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: linear-gradient(152deg, rgba(238, 242, 255, 0.75) 0%, rgba(241, 245, 249, 0.65) 100%);
  border: 1px solid rgba(199, 210, 254, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* A4 portrait mini previews (Templates page gallery) */
body.templates-page .template-a4-preview {
  aspect-ratio: 210 / 297;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.08),
    0 2px 10px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  body.templates-page .template-a4-preview {
    max-width: 300px;
  }
}

@media (min-width: 1024px) {
  body.templates-page .template-a4-preview {
    max-width: 300px;
  }
}

body.templates-page .template-a4-preview .tgp {
  flex: 1;
  min-height: 0;
}

body.templates-page .tgp-sheet--a4 {
  flex: 1;
  min-height: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 9% 10% 8%;
  gap: clamp(4px, 1.4vw, 7px);
  justify-content: flex-start;
  overflow: hidden;
}

body.templates-page .tgp-sheet--a4.tgp-sheet--editorial {
  padding-top: 11%;
}

body.templates-page .tgp-sheet--a4.tgp-sheet--sidebar {
  flex-direction: row;
  align-items: stretch;
  padding: 8% 7% 8% 8%;
  gap: 6px;
}

body.templates-page .tgp-sheet--a4.tgp-sheet--minimal {
  padding-top: 13%;
  gap: 11px;
}

body.templates-page .tgp-sheet--a4.tgp-sheet--exec {
  padding: 0;
  gap: 0;
}

body.templates-page .tgp-sheet--a4.tgp-sheet--compact {
  padding: 7% 8%;
  gap: 3px;
}

/* Template Direction hero CV mock — A4 portrait on Templates page */
body.templates-page .landing-td-cv-page {
  aspect-ratio: 210 / 297;
  width: 100%;
  max-width: min(100%, 340px);
  margin-left: auto;
  margin-right: auto;
}

body.templates-page .tgp {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: stretch;
}

body.templates-page .tgp-sheet {
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.templates-page .tgp-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

body.templates-page .tgp-head--center {
  align-items: center;
  text-align: center;
  border-bottom: none;
  padding-bottom: 6px;
}

body.templates-page .tgp-head--sparse {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

body.templates-page .tgp-head--tight {
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
  gap: 3px;
}

body.templates-page .tgp-name {
  display: block;
  height: 9px;
  width: 58%;
  border-radius: 3px;
  background: linear-gradient(90deg, #0f172a 0%, #334155 100%);
}

body.templates-page .tgp-name--serif {
  width: 52%;
  height: 8px;
  background: linear-gradient(90deg, #1e3a5f 0%, #334155 100%);
}

body.templates-page .tgp-role {
  display: block;
  height: 6px;
  width: 42%;
  border-radius: 2px;
  background: #6366f1;
  opacity: 0.85;
}

body.templates-page .tgp-role--serif {
  width: 48%;
  background: #475569;
  opacity: 0.95;
}

body.templates-page .tgp-accent-rule {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2563eb 0%, #6366f1 55%, #a855f7 100%);
  margin-top: -2px;
  margin-bottom: 4px;
}

body.templates-page .tgp-ornament {
  height: 1px;
  width: 44%;
  margin: 2px auto 8px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

body.templates-page .tgp-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

body.templates-page .tgp-block--narrow {
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
}

body.templates-page .tgp-spacer {
  flex: 1;
  min-height: 12px;
}

body.templates-page .tgp-sec-label {
  font-size: 8px;
  font-weight: var(--fw-black);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f46e5;
}

body.templates-page .tgp-sec-label--muted {
  color: #64748b;
}

body.templates-page .tgp-line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
  width: 100%;
}

body.templates-page .tgp-line--fine {
  height: 4px;
}

body.templates-page .tgp-line--xs {
  height: 3px;
  margin-top: 3px;
}

body.templates-page .tgp-line--short {
  width: 100%;
}

body.templates-page .tgp-line--w58 {
  width: 58%;
}

body.templates-page .tgp-line--w62 {
  width: 62%;
}

body.templates-page .tgp-line--w64 {
  width: 64%;
}

body.templates-page .tgp-line--w68 {
  width: 68%;
}

body.templates-page .tgp-line--w70 {
  width: 70%;
}

body.templates-page .tgp-line--w72 {
  width: 72%;
}

body.templates-page .tgp-line--w76 {
  width: 76%;
}

body.templates-page .tgp-line--w78 {
  width: 78%;
}

body.templates-page .tgp-line--w80 {
  width: 80%;
}

body.templates-page .tgp-line--w82 {
  width: 82%;
}

body.templates-page .tgp-line--w88 {
  width: 88%;
}

body.templates-page .tgp-line--w90 {
  width: 90%;
}

body.templates-page .tgp-line--w52 {
  width: 52%;
}

body.templates-page .tgp-line--w54 {
  width: 54%;
}

body.templates-page .tgp-line--w48 {
  width: 48%;
}

body.templates-page .tgp-line--w56 {
  width: 56%;
}

body.templates-page .tgp-line--w84 {
  width: 84%;
}

body.templates-page .tgp-block--skills {
  margin-top: 2px;
}

body.templates-page .tgp-skill-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

body.templates-page .tgp-dot {
  width: 22%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c7d2fe 0%, #e2e8f0 100%);
}

body.templates-page .tgp-editorial-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

body.templates-page .tgp-e-chip {
  height: 7px;
  width: 26%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
}

body.templates-page .tgp-e-chip--mid {
  width: 34%;
}

body.templates-page .tgp-e-chip--short {
  width: 22%;
}

body.templates-page .tgp-sec-label--sidebar {
  font-size: 7px;
  color: #64748b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: var(--fw-bold);
}

body.templates-page .tgp-main-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

body.templates-page .tgp-name--sm {
  height: 7px;
  width: 48%;
}

body.templates-page .tgp-role--sm {
  height: 5px;
  width: 36%;
  background: #6366f1;
  opacity: 0.75;
}

body.templates-page .tgp-pill--tiny {
  width: 58%;
  height: 6px;
}

body.templates-page .tgp-spacer--sm {
  min-height: 8px;
}

body.templates-page .tgp-sec-label--light {
  color: #64748b;
}

body.templates-page .tgp-line--light {
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
}

body.templates-page .tgp-sheet--editorial {
  padding-top: 14px;
}

body.templates-page .tgp-sheet--sidebar {
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  padding: 10px 10px 10px 8px;
}

body.templates-page .tgp-sidebar {
  width: 30%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
}

body.templates-page .tgp-side-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  opacity: 0.85;
}

body.templates-page .tgp-pill {
  height: 8px;
  border-radius: 999px;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
}

body.templates-page .tgp-pill--narrow {
  width: 72%;
}

body.templates-page .tgp-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
}

body.templates-page .tgp-sheet--minimal {
  padding-top: 18px;
  gap: 14px;
}

body.templates-page .tgp-sheet--exec {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

body.templates-page .tgp-exec-banner {
  padding: 12px 12px 11px;
  background: linear-gradient(125deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
}

body.templates-page .tgp-exec-name {
  display: block;
  height: 8px;
  width: 55%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
}

body.templates-page .tgp-exec-role {
  display: block;
  margin-top: 6px;
  height: 5px;
  width: 38%;
  border-radius: 2px;
  background: rgba(199, 210, 254, 0.75);
}

body.templates-page .tgp-body-pad {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

body.templates-page .tgp-sheet--compact {
  gap: 4px;
  padding: 9px 10px;
}

body.templates-page .template-gallery-card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  flex: 1;
}

body.templates-page .template-gallery-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: var(--fw-black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.templates-page .template-gallery-badge--live {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid rgba(165, 180, 252, 0.65);
}

body.templates-page .template-gallery-badge--soon {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

body.templates-page .template-gallery-badge--good {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid rgba(165, 180, 252, 0.65);
}

body.templates-page .template-gallery-badge--pop {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
  border: 1px solid rgba(251, 146, 60, 0.35);
}

body.templates-page .template-gallery-badge--neutral {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

body.templates-page .template-gallery-title {
  margin: 0;
  font-size: var(--text-md);
  font-weight: var(--fw-black);
  letter-spacing: -0.02em;
  color: var(--text-main);
}

body.templates-page .template-gallery-desc {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: #64748b;
  flex: 1;
}

body.templates-page .template-gallery-cta {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
}

body.templates-page .template-gallery-cta:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  filter: grayscale(0.15);
  box-shadow: none;
}

body.templates-page .template-gallery-cta.template-gallery-cta--soon:disabled,
body.templates-page .template-gallery-cta.template-gallery-cta--soon[disabled] {
  opacity: 1;
  filter: none;
  cursor: not-allowed;
  color: #94a3b8 !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
  font-weight: var(--fw-semibold);
}

body.templates-page .template-gallery-cta.template-gallery-cta--soon:disabled:hover {
  transform: none;
}

/* Templates marketing page (templates.html) — topbar matches index */
:is(body.templates-page, body.faq-marketing-page) .topbar-inner {
  box-sizing: border-box;
  max-width: min(1320px, 94vw);
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(14px, 4vw, 48px);
  gap: clamp(12px, 2.5vw, 36px);
  position: relative;
}

:is(body.templates-page, body.faq-marketing-page) .topbar-inner .nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  min-width: 0;
}

:is(body.templates-page, body.faq-marketing-page) .topbar-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 12px);
  flex-shrink: 0;
}

@media (max-width: 980px) {
  :is(body.templates-page, body.faq-marketing-page) .topbar-inner .nav {
    flex: none;
    justify-content: flex-start;
  }
}

body.templates-page .landing-templates-hero {
  padding-top: clamp(4px, 1vw, 12px);
  padding-bottom: clamp(8px, 1.5vw, 14px);
  scroll-margin-top: calc(var(--landing-scroll-offset, 80px) + 8px);
}

body.templates-page .landing-templates-hero .section-inner {
  padding-top: 4px;
}

body.templates-page .templates-hero-intro .section-subtitle {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

body.templates-page .landing-templates-hero .section-title {
  font-size: clamp(26px, 3.6vw, 36px);
  margin-bottom: 10px;
}

body.templates-page .templates-hero-subtitle {
  margin-top: 0;
}

body.templates-page .templates-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

body.templates-page .templates-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--text-2xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  color: #475569;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Templates — compact roadmap below gallery */
body.templates-page .templates-direction-section {
  padding-top: clamp(12px, 2vw, 20px);
  padding-bottom: clamp(16px, 2.5vw, 28px);
  scroll-margin-top: calc(var(--landing-scroll-offset, 80px) + 8px);
}

body.templates-page .templates-direction-inner {
  max-width: min(920px, 94vw);
  margin: 0 auto;
  padding-inline: clamp(14px, 4vw, 24px);
}

body.templates-page .templates-direction-intro {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 16px;
}

body.templates-page .templates-direction-title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  color: var(--text-main);
}

body.templates-page .templates-direction-lead {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: #64748b;
}

body.templates-page .templates-direction-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  body.templates-page .templates-direction-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

body.templates-page .templates-direction-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e8ecf4;
  background: linear-gradient(165deg, #ffffff 0%, #fafbff 100%);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

body.templates-page .templates-direction-card-label {
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--text-main);
}

body.templates-page .templates-direction-card-status {
  flex-shrink: 0;
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

body.templates-page .templates-direction-card-status--live {
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid rgba(165, 180, 252, 0.5);
}

body.templates-page .templates-direction-card-status--next {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

body.templates-page .templates-direction-card-status--soon {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Templates page — final CTA */
body.templates-page .templates-final-cta-section {
  padding-top: clamp(16px, 3vw, 28px);
  padding-bottom: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

body.templates-page .templates-final-cta-wrap {
  max-width: min(520px, 100%);
  margin: 0 auto;
  padding-inline: clamp(14px, 4vw, 22px);
}

body.templates-page .templates-final-cta-card {
  text-align: center;
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 28px);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(165deg, #ffffff 0%, rgba(248, 250, 255, 0.98) 100%);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.05),
    0 18px 36px -14px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    0 0 48px -16px rgba(99, 102, 241, 0.2);
}

body.templates-page .templates-final-cta-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  color: var(--text-main);
}

body.templates-page .templates-final-cta-lead {
  margin: 0 0 18px;
  font-size: var(--text-body);
  line-height: 1.55;
  color: #64748b;
}

body.templates-page .templates-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

body.templates-page .templates-final-cta-primary.btn {
  min-width: 200px;
}

@media (max-width: 480px) {
  body.templates-page .templates-final-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  body.templates-page .templates-final-cta-primary.btn,
  body.templates-page .templates-final-cta-secondary.btn {
    width: 100%;
    justify-content: center;
  }
}

/* Pre-footer closing CTA — centered card, bridges light page → dark footer */
#page-landing .landing-final-cta-section {
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(48px, 7vw, 72px);
  background: linear-gradient(180deg, var(--bg-soft, #f8fafc) 0%, #eef2f7 55%, #e8edf4 100%);
}

#page-landing .landing-final-cta-wrap {
  max-width: min(560px, 100%);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

#page-landing .landing-final-cta-card {
  text-align: center;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px);
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(165deg, #ffffff 0%, rgba(248, 250, 255, 0.98) 100%);
  box-shadow:
    0 4px 6px -1px rgba(15, 23, 42, 0.06),
    0 24px 48px -12px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 80px -20px rgba(99, 102, 241, 0.25),
    0 0 60px -30px rgba(59, 130, 246, 0.18);
}

#page-landing .landing-final-cta-card h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--text-main);
}

#page-landing .landing-final-cta-lead {
  margin: 0 auto 24px;
  max-width: 38ch;
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--text-muted);
}

#page-landing .landing-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

#page-landing .landing-final-cta-primary.btn {
  min-width: 160px;
}

#page-landing .landing-final-cta-secondary.btn-ghost {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.65);
}

#page-landing .landing-final-cta-secondary.btn-ghost:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(238, 242, 255, 0.95);
}

@media (max-width: 639px) {
  #page-landing .landing-final-cta-section {
    padding-top: 40px;
    padding-bottom: 44px;
  }
}

@media (max-width: 480px) {
  #page-landing .landing-final-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  #page-landing .landing-final-cta-primary.btn,
  #page-landing .landing-final-cta-secondary.btn {
    width: 100%;
    justify-content: center;
  }
}

/* Homepage — compact templates teaser */
#page-landing .landing-templates-teaser {
  margin-top: 4px;
}

#page-landing .landing-templates-teaser-inner {
  border-radius: 28px;
  border: 1px solid #eef2f7;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 255, 0.95) 100%);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-glass);
  text-align: center;
}

#page-landing .landing-templates-teaser-copy {
  max-width: 32em;
  margin: 0 auto;
}

#page-landing .landing-templates-teaser-lead {
  margin-left: auto;
  margin-right: auto;
}

#page-landing .landing-templates-teaser-cta {
  margin-top: 10px;
}

