/* =====================================================================
   Advoke CV — Landing page specific styles
   Hero paper preview, trust bar, showcase grid, example grid,
   guide teaser, final CTA, privacy note
   ===================================================================== */

/* =====================================================================
   Hero paper preview (right side of hero)
   ===================================================================== */
.paper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 210 / 297;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  padding: 30px 26px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-700);
  overflow: hidden;
  transition: transform var(--dur-slow) var(--ease-out);
}
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.03);
}
.paper:hover { transform: translateY(-4px) rotate(-0.4deg); }

.paper-hero {
  animation: paper-in 700ms var(--ease-out) both;
}
@keyframes paper-in {
  from { opacity: 0; transform: translateY(14px) rotate(-1deg); }
  to   { opacity: 1; transform: none; }
}

.paper-header {
  border-bottom: 2px solid var(--brand-600);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.paper-name {
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  color: var(--ink-900);
  letter-spacing: var(--ls-tight);
  line-height: 1.15;
}
.paper-title {
  color: var(--brand-600);
  font-weight: var(--fw-semibold);
  margin-top: 3px;
  font-size: 11px;
}
.paper-contact {
  color: var(--text-soft);
  font-size: 9.5px;
  margin-top: 6px;
  line-height: 1.5;
}

.paper-section { margin-bottom: 12px; }
.paper-section:last-child { margin-bottom: 0; }
.paper-h {
  font-size: 9px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--brand-600);
  margin-bottom: 5px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--border);
}
.paper p {
  color: var(--ink-700);
  margin: 0 0 4px;
  font-size: 10px;
  line-height: 1.5;
}
.paper-role {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: var(--ink-900);
  line-height: 1.3;
}
.paper-role strong { color: var(--ink-900); font-weight: var(--fw-bold); }
.paper-role span { color: var(--text-soft); font-size: 9.5px; white-space: nowrap; }
.paper-org {
  color: var(--text-muted);
  font-size: 9.5px;
  margin: 1px 0 4px;
}
.paper ul {
  padding-left: 14px;
  margin: 4px 0 0;
}
.paper li {
  font-size: 9.5px;
  color: var(--ink-700);
  margin-bottom: 2px;
  line-height: 1.45;
}

.paper-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}
.paper-chips span {
  background: var(--brand-050);
  color: var(--brand-700);
  padding: 2px 7px;
  border-radius: var(--r-xs);
  font-size: 9px;
  font-weight: var(--fw-semibold);
}

/* =====================================================================
   Trust bar
   ===================================================================== */
.trust-bar .trust-item strong {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  color: var(--brand-600);
}

/* =====================================================================
   Showcase grid — featured template cards on the landing page
   ===================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-6);
}
.showcase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--shadow-xs);
  transition:
    box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.showcase-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.showcase-card h3 {
  font-size: var(--fs-base);
  margin: var(--s-5) 0 var(--s-2);
}
.showcase-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0 0 var(--s-4);
  line-height: var(--lh-snug);
}

.showcase-frame {
  aspect-ratio: 210 / 260;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Mini-resume previews (pure HTML/CSS) */
.mini-resume {
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xs);
  padding: 14px 12px;
  font-size: 6px;
  line-height: 1.4;
  color: var(--ink-700);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.mini-name {
  font-size: 10px;
  font-weight: var(--fw-extrabold);
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.mini-role {
  font-size: 7px;
  color: var(--brand-600);
  font-weight: var(--fw-semibold);
}
.mini-h {
  font-size: 6.5px;
  font-weight: var(--fw-bold);
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border);
}
.mini-line {
  height: 4px;
  background: var(--surface-3);
  border-radius: 2px;
  width: 100%;
}
.mini-line.short { width: 60%; }
.mini-line.medium { width: 80%; }

.mini-chips {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}
.mini-chips span {
  display: inline-block;
  height: 8px;
  width: 22px;
  background: var(--brand-100);
  border-radius: 3px;
}

.mini-header-modern {
  background: var(--brand-600);
  color: #fff;
  padding: 8px 8px 6px;
  border-radius: 3px;
  margin: -14px -12px 4px;
}
.mini-header-modern .mini-name { color: #fff; }
.mini-header-modern .mini-role { color: var(--brand-200); }

.mini-sidebar {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 8px;
  padding: 0;
  align-items: stretch;
}
.mini-side {
  background: var(--brand-050);
  padding: 10px 8px;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mini-side .mini-name { font-size: 8px; }
.mini-side .mini-role { font-size: 6px; }
.mini-bar {
  height: 3px;
  background: var(--brand-200);
  border-radius: 2px;
  width: 90%;
}
.mini-bar.short { width: 55%; }
.mini-main { padding: 4px 0; display: flex; flex-direction: column; gap: 6px; }

/* =====================================================================
   Example grid
   ===================================================================== */
.example-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
}
.example-card {
  display: block;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.example-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-300);
  transform: translateY(-2px);
  text-decoration: none;
}
.example-card h3 {
  font-size: var(--fs-base);
  color: var(--text-strong);
  margin: 0 0 var(--s-2);
}
.example-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0;
  line-height: var(--lh-snug);
}

/* =====================================================================
   Guide teaser grid
   ===================================================================== */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-5);
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.guide-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  transform: translateY(-2px);
  text-decoration: none;
}
.guide-tag {
  align-self: flex-start;
  padding: 3px 9px;
  background: var(--brand-100);
  color: var(--brand-700);
  border-radius: var(--r-pill);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}
.guide-card h3 {
  font-size: var(--fs-base);
  margin: 0;
  color: var(--text-strong);
}
.guide-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0;
  line-height: var(--lh-snug);
}

/* =====================================================================
   Privacy note
   ===================================================================== */
.privacy-copy {
  font-size: var(--fs-base);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-4);
}
.privacy-copy a { font-weight: var(--fw-semibold); }

/* =====================================================================
   Final CTA
   ===================================================================== */
.final-cta {
  padding-block: clamp(56px, 9vw, 96px);
  background:
    linear-gradient(180deg, var(--brand-050), var(--bg));
  border-top: 1px solid var(--border);
}
.final-cta h2 {
  font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.25rem);
  margin-bottom: var(--s-3);
}
.final-cta .lead { margin-bottom: var(--s-6); margin-inline: auto; }
.final-cta .cta-row { margin-bottom: 0; justify-content: center; }

/* =====================================================================
   404 (styled here so it reuses landing aesthetics)
   ===================================================================== */
.not-found {
  padding-block: clamp(64px, 10vw, 128px);
}
.not-found .eyebrow {
  font-size: var(--fs-3xl);
  letter-spacing: var(--ls-tight);
  color: var(--brand-600);
  text-transform: none;
  margin-bottom: var(--s-3);
}
.not-found-links {
  margin-top: var(--s-10);
  text-align: left;
  max-width: 480px;
  margin-inline: auto;
}
.not-found-links h2 {
  font-size: var(--fs-base);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--text-soft);
  margin-bottom: var(--s-3);
}
.not-found-links ul { list-style: none; padding: 0; margin: 0; }
.not-found-links li { margin-bottom: var(--s-2); }