/* ══════════════════════════════════════
   PHONE MOCKUP  — correct aspect ratio
   ══════════════════════════════════════ */

.phone {
  position: relative;
  width: 220px;           /* fixed width */
  flex-shrink: 0;
  /* aspect-ratio drives the height — 9:19.5 ≈ real phone */
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  background: var(--ink-50);
  border: 3px solid var(--ink-900);
  box-shadow: 0 0 0 1px rgba(16,28,51,.08), var(--shadow-lg),
              inset 0 1px 0 rgba(255,255,255,.5);
  overflow: hidden;
}

/* Notch */
.phone::before {
  content: '';
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 8px;
  background: var(--ink-900);
  border-radius: var(--r-pill);
  z-index: 2;
}

/* Screen image fills the phone — cropped to fit */
.phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 30px;
}

/* Larger hero phone */
.phone--hero {
  width: clamp(200px, 28vw, 280px);
}

/* Smaller step phone */
.phone--sm {
  width: clamp(160px, 20vw, 220px);
}

/* Second phone in a side-by-side pair (Saved CVs section), nudged
   down so the two phones don't sit in a flat, identical row. */
.phone--offset {
  transform: translateY(36px);
}

@media (max-width: 860px) {
  .phone--offset {
    transform: none;
  }
}

/* ══════════════════════════════════════
   FEATURE CARD
   ══════════════════════════════════════ */
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(16,28,51,.08);
  border-radius: var(--r-lg);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: rgba(163,121,31,.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 36px; height: 36px;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.feature-card h3 { margin-bottom: .4rem; color: var(--ink-900); font-size: 1.05rem; }
.feature-card p  { color: var(--ink-700); font-size: .9rem; max-width: none; }

/* ══════════════════════════════════════
   TEMPLATE CARD
   ══════════════════════════════════════ */
.template-card {
  border-radius: var(--r-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16,28,51,.08);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.template-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.template-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.template-card figcaption {
  padding: .75rem 1rem;
  display: flex; flex-direction: column; gap: .15rem;
}
.template-card figcaption strong { color: var(--ink-900); font-size: .95rem; }
.template-card figcaption span   { color: var(--ink-500); font-size: .8rem; }

/* ══════════════════════════════════════
   FAQ ITEM
   ══════════════════════════════════════ */
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(16,28,51,.08);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; padding: 1.1rem 1.25rem;
  font-weight: 600; font-size: .95rem; color: var(--ink-900);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 300;
  color: var(--gold); flex-shrink: 0; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.25rem 1.1rem;
  color: var(--ink-700); font-size: .9rem; max-width: none;
}

/* ══════════════════════════════════════
   STAT CHIP
   ══════════════════════════════════════ */
.stat-chip {
  display: flex; flex-direction: column; align-items: center;
  background: var(--paper-50);
  border: 1px solid rgba(16,28,51,.07);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  min-width: 110px;
}
.stat-chip__num {
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-chip__label { font-size: .75rem; color: var(--ink-500); margin-top: .25rem; text-align: center; }

/* ══════════════════════════════════════
   SITE HEADER
   ══════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16,28,51,.08);
}
.site-header__bar {
  display: flex; align-items: center; gap: 1.5rem;
  height: 62px;
}

/* ══════════════════════════════════════
   BRAND / LOGO
   Inline SVG mark (see index.html) replaces the old
   <img src="logo-mark.webp">, so the icon can never break
   regardless of asset issues.
   ══════════════════════════════════════ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand__mark {
  flex-shrink: 0;
  display: block;
}

.site-nav {
  display: flex; gap: 1.5rem; margin-left: auto;
}
.site-nav a { font-size: .9rem; color: var(--ink-700); transition: color .15s; }
.site-nav a:hover { color: var(--ink-900); }

/* ══════════════════════════════════════
   IMAGE FALLBACK
   If a screenshot fails to load (wrong path, file not added
   yet, etc.) the onerror handler in index.html replaces the
   broken <img> with a real placeholder <div class="img-fallback">
   instead of relying on ::after content on an <img> element,
   which most browsers won't render. This is what now actually
   shows up — not a guess.
   ══════════════════════════════════════ */
.phone .img-fallback,
.template-card .img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--paper-50);
  color: var(--ink-500);
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 1rem;
}
.phone .img-fallback {
  position: absolute;
  inset: 0;
  border-radius: 30px;
}
.template-card .img-fallback {
  width: 100%;
  aspect-ratio: 3/4;
}