/* ============================================================
   Quillen feature pages (quillen-<feature>.html)
   Shared layout. Loaded after css/style.css.
   ============================================================ */

/* ── Hero ── */
.f-hero { padding-bottom: 56px; }
.f-hero h1 { max-width: 820px; margin-left: auto; margin-right: auto; }
.f-hero > p { max-width: 660px; margin-left: auto; margin-right: auto; }
.f-dl { display: flex; justify-content: center; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-top: var(--space-md); }
.f-dl .dl-item { text-align: left; }
.f-dl .dl-sub { font-size: 12px; margin-top: 6px; color: rgba(235, 243, 255, .65); }
.f-dl .dl-sub a { color: var(--gold-light); }
.page-hero .f-fine { font-size: 13.5px; margin-top: var(--space-sm); color: rgba(235, 243, 255, .65); }
.page-hero .f-fine a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.f-hero .showcase { max-width: 1100px; margin: var(--space-lg) auto 0; }

/* ── Page menu (stays under the main navigation) ── */
.f-subnav { position: sticky; top: 72px; z-index: 900; background: rgba(250, 252, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.f-subnav ul { list-style: none; display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; padding: 10px 16px; margin: 0; }
/* centred when it fits, scrolls from the first item when it does not */
.f-subnav li:first-child { margin-left: auto; }
.f-subnav li:last-child { margin-right: auto; }
.f-subnav ul::-webkit-scrollbar { display: none; }
.f-subnav a { display: block; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--navy); padding: 7px 10px; border-radius: 100px; }
.f-subnav a:hover, .f-subnav a.is-current { background: var(--foam); }
.f-subnav a.f-subnav-cta { background: var(--gold); color: var(--navy); font-weight: 600; margin-left: 8px; }
.f-subnav a.f-subnav-cta:hover { background: var(--gold-light); }

/* ── Sections ── */
.f-section { padding: 84px 5%; scroll-margin-top: 130px; }
.f-section.tint { background: var(--foam); }
.f-section.dark { background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); }
.f-section.dark h2, .f-section.dark h3 { color: var(--white); }
.f-section.dark p, .f-section.dark li, .f-section.dark .section-head p { color: #CBD6EC; }
.f-section.dark strong { color: var(--white); }
.f-section.dark a:not(.btn) { color: var(--gold-light); }
.f-section.dark .section-label, .f-hero .section-label { color: var(--gold-light); }
.f-inner { max-width: 1180px; margin: 0 auto; }

.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1180px; margin: 0 auto; }
.f-grid.img-left > .f-text { order: 2; }
.f-grid.img-left > :not(.f-text) { order: 1; }
.f-grid.img-right > .f-text { order: 1; }
.f-grid.img-right > :not(.f-text) { order: 2; }
.f-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: var(--space-sm); }
.f-text > p { font-size: 15.5px; font-weight: 300; line-height: 1.75; }
.f-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-top: var(--space-sm); }
.f-list li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.65; }
.f-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); font-weight: 600; }

.f-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.f-visual { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--night); }
.f-visual img { display: block; width: 100%; height: auto; }
.f-zoom { cursor: zoom-in; }
.f-zoom:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.f-placeholder { aspect-ratio: 1600 / 841; display: flex; align-items: center; justify-content: center; text-align: center; border: 2px dashed rgba(232, 184, 109, .55); background: repeating-linear-gradient(135deg, rgba(235,243,255,.06) 0 14px, rgba(235,243,255,.02) 14px 28px), var(--night-2); }
.f-placeholder div { padding: 24px; max-width: 420px; }
.f-placeholder span { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--gold-light); border-radius: 100px; padding: 4px 12px; margin-bottom: 12px; }
.f-placeholder p, .f-section .f-placeholder p { color: #CBD6EC; font-size: 14px; line-height: 1.6; margin: 0; }

/* ── Three steps ── */
.f-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.f-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.f-step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 600; margin-bottom: var(--space-sm); }
.f-step h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.f-step p { font-size: 14.5px; font-weight: 300; line-height: 1.7; }

/* ── Comparison table ── */
.f-table-wrap { overflow-x: auto; max-width: 940px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.f-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.f-table th, .f-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border); vertical-align: middle; line-height: 1.5; }
.f-table tr:last-child th, .f-table tr:last-child td { border-bottom: 0; }
.f-table thead th { font-weight: 600; color: var(--navy); font-size: 16px; }
.f-table tbody th { text-align: left; font-weight: 500; color: var(--navy); width: 24%; }
.f-table .us { background: rgba(196, 146, 74, .12); border-left: 1px solid rgba(196, 146, 74, .4); border-right: 1px solid rgba(196, 146, 74, .4); color: var(--navy); font-weight: 500; }
.f-table thead .us { border-top: 3px solid var(--gold); }
.f-table .none { color: var(--text-light); }
.f-note { max-width: 940px; margin: var(--space-sm) auto 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.6; text-align: center; }

/* ── Price ── */
.f-price { max-width: 520px; margin: 0 auto; text-align: center; background: rgba(235, 243, 255, .05); border: 1px solid rgba(235, 243, 255, .14); border-radius: var(--radius-lg); padding: 44px 32px; }
.f-price-figure { font-family: 'Cormorant Garamond', serif; font-size: 64px; font-weight: 700; color: var(--gold-light); line-height: 1; }
.f-price-figure small { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 400; color: #CBD6EC; margin-left: 8px; }
.f-price .f-list { text-align: left; max-width: 380px; margin: var(--space-md) auto 0; }

/* ── Questions ── */
.f-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.f-faq details { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 20px; }
.f-faq summary { cursor: pointer; font-weight: 500; color: var(--navy); }
.f-faq p { margin-top: 10px; font-size: 14.5px; font-weight: 300; line-height: 1.75; }

/* ── Download block ── */
.f-final { text-align: center; }

/* ── Enlarged screenshot ── */
.f-lightbox { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 4vh 4vw; background: rgba(2, 6, 23, .92); cursor: zoom-out; }
.f-lightbox.open { display: flex; }
.f-lightbox img { max-width: 100%; max-height: 86vh; width: auto; height: auto; border-radius: 10px; }
.f-lightbox p { color: #CBD6EC; font-size: 14px; text-align: center; max-width: 800px; }
.f-lightbox button { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--white); font-size: 22px; cursor: pointer; }

@media (max-width: 860px) {
  .f-grid { grid-template-columns: 1fr; gap: 28px; }
  .f-grid.img-left > .f-text, .f-grid.img-right > .f-text { order: 2; }
  .f-grid.img-left > :not(.f-text), .f-grid.img-right > :not(.f-text) { order: 1; }
  .f-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .f-section { padding: 64px 5%; }
  .f-dl { flex-direction: column; align-items: stretch; }
  .f-dl .dl-item { text-align: center; }
  .f-dl .btn-dl { justify-content: center; width: 100%; }
}

/* ── Screenshot labels: a gold outline round the thing, with a short tag beside it (positions in %) ── */
.f-visual.f-labelled { container-type: inline-size; }
.f-mark { position: absolute; border: 2px solid var(--gold-light); border-radius: 6px; box-shadow: 0 0 0 3px rgba(14, 26, 58, .45); pointer-events: none; }
.f-tag { position: absolute; z-index: 1; background: var(--gold-light); color: var(--navy); font-size: clamp(9.5px, 2.4cqw, 13px); font-weight: 600; line-height: 1.2; white-space: nowrap; padding: .4em .85em; border-radius: 100px; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); pointer-events: none; }
.f-section .f-tag { color: var(--navy); }
.f-tag--right { transform: translate(8px, -50%); }
.f-tag--left { transform: translate(calc(-100% - 8px), -50%); }
.f-tag--above { transform: translate(-50%, calc(-100% - 8px)); }

/* ── Pricing plans ── */
.f-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; align-items: start; }
.f-plan { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.f-plan--main { border: 2px solid var(--gold); box-shadow: var(--shadow-md); }
.f-plan h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.f-plan h3 span { font-family: 'Outfit', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-left: 6px; }
.f-plan .f-price-figure { color: var(--navy); }
.f-plan .f-price-figure small { color: var(--text-muted); }
.f-plan > p { font-size: 14.5px; color: var(--text-muted); margin-top: 8px; }
.f-plan a { color: var(--ocean); }
@media (max-width: 760px) { .f-plans { grid-template-columns: 1fr; } }
