/* ------------------------------------------------------------------
   Apollo Editor - search landing pages (/some-search-term/).
   PART 1 is a straight copy of the homepage styles (the <style> block in index.php),
   so the landing pages look exactly like the homepage. If you change the homepage
   styles, paste them over PART 1 again. PART 2 holds the few extra pieces only the
   landing pages use. footer.css is loaded after this file, as on the homepage.
   ------------------------------------------------------------------
   PART 1 - homepage styles (index.php)
   Apollo Editor - "blueprint" light layout.
   White pages on a faint blue blueprint grid, deep navy ink, the brand
   blue #1b5cf2 for buttons, icons and highlights (#1449c9 for small blue
   text on white). Serif headings, square-cornered buttons with a hard
   ink offset shadow, like the parts of a page you drag into place.
   The footer is dark navy (footer.css).
------------------------------------------------------------------ */
:root {
  --bg:         #ffffff;
  --paper:      #f4f7fe;
  --sky:        #e7eefe;
  --ink:        #0d1630;
  --ink-2:      #1e2947;
  --text:       #39415a;
  --muted:      #5a6380;
  --dim:        #7c849d;
  --line:       #e1e6f1;
  --line-2:     #c9d2e6;
  --brand:      #1b5cf2;
  --brand-hover:#1449c9;
  --brand-text: #1449c9;
  --tint:       rgba(27,92,242,0.08);
  --tint-2:     rgba(27,92,242,0.18);
  --grid:       rgba(27,92,242,0.07);
  --navy:       #0b1533;
  --no:         #b3372a;
  --radius:     10px;
  --hard:       3px 3px 0 var(--ink);
  --shadow:     0 1px 2px rgba(13,22,48,.06), 0 12px 28px -16px rgba(13,22,48,.25);
  --shadow-lg:  0 2px 6px rgba(13,22,48,.06), 0 40px 80px -36px rgba(13,22,48,.45);
  --serif:      'Fraunces', Georgia, 'Times New Roman', serif;
  --font:       'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:       'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; }
h3, h4 { font-family: var(--font); font-weight: 700; letter-spacing: -.01em; }
p { margin-bottom: 1rem; } p:last-child { margin-bottom: 0; }
::selection { background: var(--tint-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section.paper { background: var(--paper); }
.blueprint { background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--brand-text); margin-bottom: 16px; }
.tag::before { content: '//'; color: var(--dim); }
.h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 18px; text-wrap: balance; }
.h2 em, h1 em { font-style: italic; color: var(--brand); }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.mid { text-align: center; }
.mid .lead { margin-left: auto; margin-right: auto; }

/* ---------- icons: every Font Awesome icon uses the brand blue (no green anywhere) ---------- */
.fas, .far, .fab { color: var(--brand); }
.btn .fas, .btn .far, .btn .fab, .buy-btn .fas, .buy-btn .far, .buy-btn .fab, .nav-toggle .fas { color: inherit; }

/* ---------- buttons: square corners, hard ink shadow ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font); font-weight: 700; font-size: 1rem; border-radius: 8px; padding: 13px 24px; cursor: pointer; border: 2px solid var(--ink); transition: transform .12s, box-shadow .12s, background .12s, color .12s; text-decoration: none; white-space: nowrap; }
.btn-blue { background: var(--brand); color: #fff; box-shadow: var(--hard); }
.btn-blue:hover { background: var(--brand-hover); color: #fff; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--hard); }
.btn-white:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-white .fas, .btn-white .far { color: var(--brand); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

.form-trap { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ---------- newsletter result banners ---------- */
.action-banner { padding: 56px 0; text-align: center; border-bottom: 1px solid var(--line); }
.action-banner h2 { font-size: 2rem; margin-bottom: 10px; }
.action-banner p { color: var(--muted); max-width: 540px; margin: 0 auto 20px; }
.action-icon { width: 58px; height: 58px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.4rem; background: #fff; border: 2px solid var(--ink); box-shadow: var(--hard); }

/* ---------- utility line + header ---------- */
.util { background: var(--ink); color: rgba(255,255,255,.7); font-family: var(--mono); font-size: .76rem; }
.util .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.util a { color: rgba(255,255,255,.85); margin-left: 18px; }
.util a:hover { color: #fff; }
.util b { color: #fff; font-weight: 600; }
header.site-head { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 2px solid var(--ink); }
.head-in { display: flex; align-items: center; gap: 34px; min-height: 74px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 128px; height: auto; }
.menu { display: flex; gap: 26px; list-style: none; }
.menu a { color: var(--ink); font-size: .96rem; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.head-right .btn { padding: 10px 18px; font-size: .94rem; }
.nav-toggle { display: none; background: #fff; border: 2px solid var(--ink); color: var(--ink); border-radius: 8px; width: 44px; height: 42px; font-size: 1rem; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; border-top: 1px solid var(--line); padding: 8px 24px 20px; background: #fff; }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-nav .btn { margin-top: 14px; }

/* ---------- hero: words left, the editor on the right ---------- */
.hero { padding: 76px 0 88px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: 1.03; letter-spacing: -.025em; margin-bottom: 22px; text-wrap: balance; }
.hero .sub { font-size: 1.15rem; color: var(--muted); margin-bottom: 30px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-cta .btn-lg { padding: 15px 22px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .94rem; font-weight: 600; color: var(--ink-2); list-style: none; }
.ticks li { display: flex; align-items: center; gap: 8px; }

.editor { background: #fff; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.editor-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.editor-bar .file { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.views { margin-left: auto; display: flex; gap: 4px; background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 3px; }
.views button { font-family: var(--font); font-size: .82rem; font-weight: 700; color: var(--muted); background: transparent; border: 0; border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.views button[aria-selected="true"] { background: var(--brand); color: #fff; }
.views button:hover:not([aria-selected="true"]) { color: var(--ink); background: var(--paper); }
.editor-view { position: relative; aspect-ratio: 16 / 10; background: var(--paper); }
.editor-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.editor-view img[hidden] { display: none; }
.editor-view img.contain { object-fit: contain; background: #fff; }
.editor-foot { display: flex; gap: 18px; flex-wrap: wrap; padding: 9px 14px; border-top: 2px solid var(--ink); font-family: var(--mono); font-size: .74rem; color: var(--muted); background: #fff; }
.editor-foot b { color: var(--ink); font-weight: 600; }
.editor-foot i { margin-right: 4px; }

/* ---------- numbers ---------- */
.numbers { border-bottom: 1px solid var(--line); background: #fff; }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: 30px 22px; }
.num + .num { border-left: 1px solid var(--line); }
.num b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--brand); line-height: 1; margin-bottom: 8px; letter-spacing: -.02em; }
.num span { font-size: .94rem; color: var(--muted); line-height: 1.4; display: block; }
.num span strong { color: var(--ink); }

/* ---------- templates gallery ---------- */
.gal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font-family: var(--font); font-size: .88rem; font-weight: 700; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 7px 14px; cursor: pointer; transition: background .12s, color .12s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.tpl { margin: 0; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.tpl:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.tpl[hidden] { display: none; }
.tpl .chrome { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tpl .chrome i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); display: block; }
.tpl img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tpl figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.tpl figcaption b { color: var(--ink); font-size: .98rem; }
.tpl figcaption span { font-family: var(--mono); font-size: .72rem; color: var(--dim); }
.gal-note { margin-top: 26px; color: var(--muted); font-size: .95rem; }

/* ---------- features: zig-zag rows ---------- */
.rows { margin-top: 64px; display: flex; flex-direction: column; gap: 88px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.row:nth-child(even) .row-pic { order: 2; }
.row-pic { position: relative; }
.row-pic .frame { background: #fff; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 8px 8px 0 var(--brand); }
.row-pic .frame img { width: 100%; cursor: zoom-in; }
.row-pic .badge { position: absolute; left: -14px; bottom: -16px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 8px 12px; font-family: var(--mono); font-size: .76rem; color: var(--ink); box-shadow: var(--hard); }
.row-pic .badge i { margin-right: 6px; }
.row .num-lbl { font-family: var(--mono); font-size: .8rem; color: var(--brand-text); margin-bottom: 10px; display: block; }
.row h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; margin-bottom: 12px; }
.row > div > p { color: var(--muted); margin-bottom: 20px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .97rem; color: var(--text); line-height: 1.5; }
.checks li i { margin-top: 4px; }
.checks li b { color: var(--ink); }

/* everything included */
.all-in { margin-top: 90px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; box-shadow: 8px 8px 0 var(--ink); padding: 36px 40px; }
.all-in h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; margin-bottom: 20px; }
.all-in ul { list-style: none; columns: 3; column-gap: 34px; }
.all-in li { break-inside: avoid; display: flex; gap: 10px; font-size: .94rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.all-in li i { margin-top: 5px; font-size: .8rem; }

/* ---------- how it works: sticky heading, vertical stepper ---------- */
.how { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.how-head { position: sticky; top: 120px; }
.how-head .btn { margin-top: 26px; }
.stepper { list-style: none; position: relative; counter-reset: s; }
.stepper::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; border-left: 2px dashed var(--line-2); }
.stepper li { position: relative; padding-left: 72px; padding-bottom: 46px; counter-increment: s; }
.stepper li:last-child { padding-bottom: 0; }
.stepper li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 8px; background: var(--brand); color: #fff; border: 2px solid var(--ink); box-shadow: var(--hard); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: .9rem; }
.stepper h3 { font-size: 1.25rem; margin: 8px 0 6px; }
.stepper p { color: var(--muted); margin-bottom: 16px; }
.stepper img { border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); cursor: zoom-in; max-height: 360px; width: auto; }

/* ---------- who ---------- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.who-card { border-left: 4px solid var(--brand); padding: 6px 0 6px 24px; }
.who-card .role { font-family: var(--mono); font-size: .78rem; color: var(--brand-text); margin-bottom: 10px; }
.who-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin-bottom: 8px; }
.who-card p { color: var(--muted); font-size: .97rem; }

/* ---------- pricing: one wide card, box | price | checkout ---------- */
.price-wrap { display: grid; grid-template-columns: .8fr 1fr 1.25fr; margin-top: 52px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.pw-box { background: var(--sky); border-right: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; padding: 34px 26px; }
.pw-box img { width: 100%; max-width: 240px; filter: drop-shadow(0 22px 26px rgba(13,22,48,.3)); }
.pw-price { padding: 36px 32px; border-right: 1px solid var(--line); }
.pw-type { font-family: var(--mono); font-size: .78rem; color: var(--brand-text); }
.pw-amount { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1; margin: 10px 0 6px; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 2px; }
.pw-amount sup { font-size: 1.6rem; align-self: flex-start; margin-top: 8px; }
.pw-amount .n { font-size: 4.2rem; }
.pw-amount .c { font-size: 1.5rem; color: var(--muted); }
.pw-note { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.spec { list-style: none; border-top: 1px solid var(--line); }
.spec li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { color: var(--ink); font-weight: 700; text-align: right; }
.pw-form { padding: 36px 34px; }
.pw-form h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; margin-bottom: 6px; }
.pw-form > p { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.paypal-form { width: 100%; }
.buy-field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.buy-field label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.buy-field input, .nl-card input { padding: 12px 14px; border-radius: 8px; border: 2px solid var(--line-2); background: #fff; color: var(--ink); font-family: var(--font); font-size: 1rem; outline: none; transition: border-color .12s, box-shadow .12s; width: 100%; }
.buy-field input:focus, .nl-card input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--tint-2); }
.buy-field input::placeholder, .nl-card input::placeholder { color: #9aa1b6; }
.pricing-divider { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.buy-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--brand); color: #fff; font-family: var(--font); font-size: 1.06rem; font-weight: 700; border: 2px solid var(--ink); border-radius: 8px; padding: 15px 24px; cursor: pointer; box-shadow: var(--hard); transition: transform .12s, box-shadow .12s, background .12s; text-decoration: none; }
.buy-btn:hover { background: var(--brand-hover); color: #fff; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.buy-btn-card { background: #fff; color: var(--ink); }
.buy-btn-card:hover { background: #fff; color: var(--ink); }
.buy-btn-card .fas, .buy-btn-card .far { color: var(--brand); }
.pay-or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: .78rem; margin: 14px 0; text-transform: uppercase; letter-spacing: .08em; }
.pay-or::before, .pay-or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.buy-reassurance { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 18px; }
.buy-reassurance-item { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
.buy-reassurance-item i { font-size: .82rem; width: 14px; }
.already { margin-top: 18px; font-size: .9rem; color: var(--dim); }
.already a { font-weight: 700; }

/* ---------- newsletter card ---------- */
.nl-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; background: var(--sky); border: 2px solid var(--ink); border-radius: 14px; padding: 40px 44px; }
.nl-card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.nl-card > div > p { color: var(--muted); }
.nl-card form { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; position: relative; }
.nl-card form .btn { grid-column: 1 / -1; justify-self: start; }
.nl-card .fine { grid-column: 1 / -1; font-size: .8rem; color: var(--dim); }
.nl-card .fine a { color: var(--muted); text-decoration: underline; }
.nl-card .msg { display: flex; gap: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 14px 16px; color: var(--ink); }
.nl-card .msg i { margin-top: 4px; }
.guide-links { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.guide-links a { font-weight: 600; font-size: .95rem; display: inline-flex; gap: 8px; align-items: baseline; }
.guide-links a i { font-size: .8rem; }

/* ---------- FAQ: heading left, numbered list right ---------- */
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side p { color: var(--muted); }
.faq-side p a { font-weight: 700; }
.faq { counter-reset: q; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); counter-increment: q; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 46px 1fr 30px; gap: 8px; align-items: center; padding: 22px 0; color: var(--ink); font-weight: 700; font-size: 1.08rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(q, decimal-leading-zero); font-family: var(--mono); font-size: .82rem; font-weight: 500; color: var(--brand-text); }
.faq summary::after { content: '+'; font-family: var(--mono); font-size: 1.3rem; color: var(--ink); text-align: center; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--brand); }
.faq .answer { padding: 0 38px 24px 54px; color: var(--muted); }

/* ---------- final CTA: blue band with the grid ---------- */
.final { text-align: center; padding: 104px 0; background-color: var(--brand); background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 32px 32px; color: rgba(255,255,255,.85); }
.final h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 14px; text-wrap: balance; }
.final h2 span { font-style: italic; }
.final p { max-width: 600px; margin: 0 auto 32px; font-size: 1.12rem; }
.final .marks { display: flex; margin-top: 26px; font-family: var(--mono); font-size: .84rem; gap: 10px 24px; flex-wrap: wrap; justify-content: center; color: #fff; }
.final .marks i { color: #fff; margin-right: 6px; }
footer.site { margin-top: 0; }

/* ---------- sticky mobile buy bar ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--ink); transform: translateY(110%); transition: transform .25s; }
.buybar.show { transform: none; }
.buybar b { color: var(--ink); display: block; font-size: .95rem; line-height: 1.2; }
.buybar span { color: var(--muted); font-size: .8rem; }
.buybar .btn { margin-left: auto; padding: 10px 18px; font-size: .95rem; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(13,22,48,.9); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lb.open { display: flex; }
.lb img { max-width: min(1500px, 100%); max-height: 100%; border-radius: 10px; background: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .menu { gap: 18px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .price-wrap { grid-template-columns: 1fr 1fr; }
  .pw-box { grid-column: 1 / -1; border-right: none; border-bottom: 2px solid var(--ink); }
  .pw-box img { max-width: 200px; }
}
@media (max-width: 960px) {
  .menu { display: none; }
  .nav-toggle { display: block; }
  .util .links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
  .num:nth-child(3) { border-left: none; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; gap: 36px; }
  .row:nth-child(even) .row-pic { order: 0; }
  .all-in ul { columns: 2; }
  .how, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-head, .faq-side { position: static; }
  .who { grid-template-columns: 1fr; }
  .nl-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .head-right .btn { display: none; }
  .head-in { min-height: 64px; }
  .brand img { width: 112px; }
  .hero { padding: 48px 0 64px; }
  .editor { box-shadow: 5px 5px 0 var(--ink); }
  .views button { padding: 6px 8px; font-size: .78rem; }
  .editor-bar .file { display: none; }
  .price-wrap { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--ink); }
  .pw-price { border-right: none; border-bottom: 1px solid var(--line); }
  .pw-price, .pw-form { padding: 28px 22px; }
  .buy-field-group, .buy-reassurance { grid-template-columns: 1fr; }
  .nl-card { padding: 30px 22px; }
  .nl-card form { grid-template-columns: 1fr; }
  .all-in { padding: 28px 22px; }
  .all-in ul { columns: 1; }
  .stepper li { padding-left: 60px; }
  .buybar { display: flex; }
  body { padding-bottom: 70px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero-cta .btn, .final .btn { width: 100%; white-space: normal; text-align: center; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tpl figcaption { padding: 9px 10px; }
  .tpl figcaption b { font-size: .86rem; }
  .tpl figcaption span { display: none; }
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
  .num { padding: 22px 14px; }
  .num b { font-size: 2rem; }
  .faq summary { grid-template-columns: 36px 1fr 24px; font-size: 1rem; }
  .faq .answer { padding: 0 24px 20px 44px; }
  .util .wrap { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }


/* ==================================================================
   PART 2 - landing page extras (same colours, borders and shadows as the homepage)
   ================================================================== */
.numbers .wrap { grid-template-columns: repeat(var(--n, 4), 1fr); }
.num b { font-size: 1.7rem; }
.gallery.outs { grid-template-columns: repeat(var(--cols, 3), 1fr); }

/* one big app screenshot */
.app-big { margin: 48px auto 0; max-width: 1060px; }
.app-big figcaption { margin-top: 26px; text-align: center; color: var(--muted); font-size: .94rem; }

/* "what you get" notes */
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 40px; border-top: 2px solid var(--ink); }
.notes > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.notes dt { font-family: var(--mono); font-size: .84rem; font-weight: 600; color: var(--brand-text); padding-top: 2px; }
.notes dd { color: var(--text); font-size: .97rem; }
.src { margin-top: 18px; color: var(--muted); font-size: .88rem; }

/* comparison table */
.cmp-wrap { margin-top: 44px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.cmp-scroll { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.cmp th { text-align: left; font-family: var(--mono); font-size: .82rem; color: var(--ink); padding: 16px 20px; background: var(--paper); border-bottom: 2px solid var(--ink); }
.cmp td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tr:last-child td { border-bottom: none; }
.cmp td:first-child { color: var(--ink); font-weight: 700; }
.cmp th.us { background: var(--brand); color: #fff; }
.cmp td.us { background: var(--sky); color: var(--ink); font-weight: 600; }
.cmp-note { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); font-size: .9rem; margin: 0; }

/* features as numbered cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.card .no { font-family: var(--mono); font-size: .8rem; color: var(--brand-text); margin-bottom: 12px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.card .chips span { font-family: var(--mono); font-size: .72rem; color: var(--ink); background: var(--sky); border-radius: 6px; padding: 3px 8px; }
.not-for { margin-top: 26px; display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px dashed var(--line-2); border-radius: 10px; padding: 16px 20px; color: var(--muted); font-size: .95rem; }
.not-for i { margin-top: 5px; }
.not-for b { color: var(--ink); }

/* keep reading */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; margin-top: 40px; align-items: start; }
.rel-card { background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 26px 28px; box-shadow: 6px 6px 0 var(--ink); }
.rel-card h3 { font-family: var(--mono); font-size: .86rem; color: var(--brand-text); margin-bottom: 8px; }
.rel-card ul { list-style: none; }
.rel-card li a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .97rem; line-height: 1.4; }
.rel-card li:last-child a { border-bottom: none; }
.rel-card li a i { margin-top: 4px; font-size: .82rem; }
.rel-card li a:hover { color: var(--brand); }
.rel-card .all { display: inline-block; margin-top: 10px; font-weight: 700; font-size: .92rem; }

.pw-form .buy-btn { margin-top: 4px; }

/* 404 */
.lp-404 { padding: 120px 0; }
.lp-404 p { color: var(--muted); margin-bottom: 26px; }

@media (max-width: 960px) {
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .notes { grid-template-columns: 1fr; }
  .gallery.outs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards, .gallery.outs { grid-template-columns: 1fr; }
  .notes > div { grid-template-columns: 1fr; gap: 4px; }
  .rel-card { box-shadow: 4px 4px 0 var(--ink); }
}
