/* ============================================================
   PostLayr — landing page styles
   Fonts self-hosted (SIL Open Font License 1.1)
   ============================================================ */

/* ── Self-hosted fonts ────────────────────────────────────── */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-400.woff2') format('woff2');
}
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/dm-sans-300.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/dm-sans-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/dm-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/dm-sans-700.woff2') format('woff2'); }

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --bg: #f7f9f5; --bg2: #eef1ea; --bg3: #e4e9df;
  --g: #3E5F44; --gd: #2c4430; --gl: #6B8F71; --gp: #edf2ee;
  --lav: #E5E6FA; --lavd: #b4b5e8; --lavl: #f3f4fd; --lavm: #74779e;
  --ink: #1a2e1c; --soft: #43543f; --softer: #5f7363;
  --border: rgba(62,95,68,.13); --mint: #7FD9B8; --red: #c62828;
  --nav-h: 72px;
  --page-pad: clamp(22px,5vw,72px);
  --section-top: 120px; --section-bottom: 120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* Accessibility helpers */
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 2000; background: var(--g); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: top .2s ease; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--g); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Brand wordmark + icon ────────────────────────────────── */
.pl-wordmark { font-family: 'DM Sans', sans-serif; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; white-space: nowrap; display: inline-block; background: linear-gradient(90deg,#5AA9E6 0%,#9B6FD9 26%,#E0529C 52%,#F2994A 76%,#52D9B8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pl-icon { display: block; flex-shrink: 0; object-fit: contain; }

/* ── Buttons (rendered as <a> or <button>) ────────────────── */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; font-weight: 600; cursor: pointer; border: none; transition: all .18s; -webkit-tap-highlight-color: transparent; }
.btn-block { width: 100%; }
.btn-login { background: transparent; color: var(--soft); border: 1.5px solid var(--border); border-radius: 11px; padding: 10px 18px; font-size: 14px; }
.btn-login:hover { border-color: var(--g); color: var(--g); }
.btn-primary { background: var(--g); color: #fff; border-radius: 11px; padding: 11px 22px; font-size: 14px; box-shadow: 0 8px 22px rgba(62,95,68,.22); }
.btn-primary:hover { background: var(--gd); transform: translateY(-1px); }
.hero-btn-primary { padding: 16px 30px; border-radius: 13px; font-size: 15.5px; font-weight: 700; background: var(--g); color: #fff; box-shadow: 0 14px 34px rgba(62,95,68,.26); }
.hero-btn-primary:hover { background: var(--gd); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(62,95,68,.3); }
.final-cta-btn { padding: 17px 32px; border-radius: 13px; font-size: 15.5px; font-weight: 700; background: #fff; color: var(--g); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.final-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.18); }

/* ── Header ───────────────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 1000; height: var(--nav-h); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); background: rgba(247,249,245,.92); border-bottom: 1px solid var(--border); }
.header-wrapper { display: grid; grid-template-columns: 1fr minmax(0,1400px) 1fr; width: 100%; height: 100%; }
.header-center { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-pad); width: 100%; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 0; }
.brand .pl-icon { width: 50px; height: 50px; transition: transform .25s ease; }
.brand:hover .pl-icon { transform: scale(1.05); }
.brand .pl-wordmark { font-size: 29px; }
.nav-right { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--soft); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--g); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: linear-gradient(to right, var(--g), var(--mint)); transition: .25s ease; border-radius: 99px; }
.nav-links a:hover::after { width: 100%; }
.buttons { display: flex; align-items: center; gap: 12px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; width: 36px; height: 36px; align-items: center; justify-content: center; background: transparent; border: none; padding: 0; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 10px; transition: .3s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 6px; padding: 18px 22px 26px; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); box-shadow: 0 12px 32px rgba(62,95,68,.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a:not(.btn) { color: var(--soft); font-size: 15px; font-weight: 500; padding: 10px 8px; border-radius: 9px; transition: background .15s, color .15s; }
.mobile-menu a:not(.btn):hover { background: var(--bg2); color: var(--g); }
.mobile-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

/* ── Section scaffolding ──────────────────────────────────── */
.section-wrapper { display: grid; grid-template-columns: 1fr minmax(0,1400px) 1fr; }
.section-divider-line { border-top: 1px solid var(--border); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding-top: 74px; padding-bottom: 50px; position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 28px; padding: 0 var(--page-pad); }
.hero-left { max-width: 740px; }
.hero-title { font-family: 'Instrument Serif', serif; font-size: clamp(46px,6.6vw,80px); font-weight: 400; line-height: 1.04; letter-spacing: -.015em; margin-bottom: 24px; color: var(--ink); }
.hero-subtitle { font-size: clamp(15.5px,1.6vw,18px); line-height: 1.75; color: var(--soft); max-width: 520px; margin-bottom: 36px; font-weight: 300; }
.hero-note { font-size: 13px; color: var(--softer); margin-top: 16px; }

.hero-right { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.platform-glow { position: absolute; width: 560px; height: 220px; left: 50%; bottom: 10px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(127,217,184,.35) 0%, rgba(180,181,232,.22) 45%, transparent 75%); filter: blur(50px); z-index: 0; }
.ripple { position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); border-radius: 50%; pointer-events: none; z-index: 0; }
.ripple-1 { width: 200px; height: 200px; border: 1.5px solid rgba(127,217,184,.5); }
.ripple-2 { width: 280px; height: 280px; border: 1.5px solid rgba(127,217,184,.32); }
.ripple-3 { width: 360px; height: 360px; border: 1.5px solid rgba(180,181,232,.28); }
.ripple-4 { width: 440px; height: 440px; border: 1.5px solid rgba(180,181,232,.16); }

.stack-card { position: absolute; width: 230px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; gap: 14px; box-shadow: 0 24px 50px rgba(62,95,68,.13); transition: transform .3s ease, box-shadow .3s ease; z-index: 1; }
.stack-card:hover { box-shadow: 0 32px 64px rgba(62,95,68,.18); }
.stack-icon { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.stack-icon svg { width: 22px; height: 22px; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.stack-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.stack-status { font-size: 11px; margin-top: 1px; font-weight: 600; }

.stack-card.instagram { z-index: 3; transform: rotate(-2deg) translate(-6px,-10px); }
.stack-card.instagram .stack-icon { background: linear-gradient(135deg, rgba(242,153,74,.22), rgba(224,82,156,.22)); }
.stack-card.instagram .stack-icon svg { stroke: #C2447A; }
.stack-card.instagram .stack-status { color: var(--g); }

.stack-card.linkedin { z-index: 2; top: 2px; left: -10px; transform: rotate(-8deg); opacity: .9; }
.stack-card.linkedin .stack-icon { background: rgba(90,169,230,.18); }
.stack-card.linkedin .stack-icon svg { stroke: #4a93cf; }
.stack-card.linkedin .stack-status { color: var(--lavm); }

.stack-card.email { z-index: 2; top: 92px; right: -18px; transform: rotate(6deg); opacity: .9; }
.stack-card.email .stack-icon { background: rgba(127,217,184,.22); }
.stack-card.email .stack-icon svg { stroke: #3E5F44; }
.stack-card.email .stack-status { color: var(--lavm); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.stack-card.instagram { animation: float 5s ease-in-out infinite; }
.stack-card.linkedin { animation: float 5.5s ease-in-out infinite .3s; }
.stack-card.email { animation: float 6s ease-in-out infinite .6s; }

@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 70px; }
  .hero-left { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-right { height: 420px; }
}

/* ── How it works ─────────────────────────────────────────── */
#how-it-works { padding-top: var(--section-top); padding-bottom: var(--section-bottom); }
.how-content { display: grid; grid-template-columns: 1fr .85fr; gap: 44px; padding: 0 var(--page-pad); align-items: center; }
.how-steps { position: relative; display: flex; flex-direction: column; gap: 20px; }
.how-steps::before { content: ''; position: absolute; left: 44px; top: 56px; bottom: 56px; width: 2px; background: linear-gradient(to bottom, var(--mint), var(--lavd)); border-radius: 99px; opacity: .6; z-index: 0; }
.step-card { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 22px; padding: 26px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 32px rgba(62,95,68,.07); transition: all .25s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(62,95,68,.12); border-color: var(--lavd); }
.step-number { position: relative; font-family: 'Instrument Serif', serif; font-size: 3.2rem; font-weight: 400; line-height: .8; min-width: 70px; color: #fff; -webkit-text-stroke: 1.5px var(--lavd); flex-shrink: 0; }
.step-number::after { content: ''; position: absolute; left: 18px; bottom: -22px; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(127,217,184,.25); }
.step-text h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.step-text p { color: var(--soft); line-height: 1.65; font-size: 13.5px; }
.how-copy { text-align: right; }
.how-copy h2 { font-family: 'Instrument Serif', serif; font-size: clamp(34px,4.8vw,56px); line-height: 1.05; font-weight: 400; letter-spacing: -.015em; margin-bottom: 18px; color: var(--ink); }
.how-copy p { font-size: 15.5px; line-height: 1.8; color: var(--soft); max-width: 420px; margin-left: auto; font-weight: 300; }
/* DOM has the h2 copy first (for correct heading order); CSS restores visual order */
.how-content > .how-copy { order: 2; }
.how-content > .how-steps { order: 1; }
@media (max-width: 1100px) {
  .how-content { grid-template-columns: 1fr; gap: 48px; }
  .how-content > .how-copy { order: -1; text-align: center; }
  .how-content > .how-steps { order: 0; }
  .how-copy p { margin: 0 auto; }
}

/* ── Features ─────────────────────────────────────────────── */
#features { padding-top: var(--section-top); padding-bottom: var(--section-bottom); }
.features-content { display: grid; grid-template-columns: 1fr .85fr 1fr; gap: 40px; padding: 0 var(--page-pad); align-items: center; }
.features-copy { text-align: center; }
.features-copy h2 { font-family: 'Instrument Serif', serif; font-size: clamp(34px,4.8vw,56px); line-height: 1.05; font-weight: 400; letter-spacing: -.015em; margin-bottom: 18px; color: var(--ink); }
.features-copy p { color: var(--soft); line-height: 1.8; font-size: 15px; font-weight: 300; }
.features-column { display: flex; flex-direction: column; gap: 16px; }
.feature-card { border-radius: 20px; padding: 26px; border: 1px solid var(--border); transition: all .25s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(62,95,68,.1); }
.feature-card h3 { font-size: 15.5px; margin-bottom: 9px; font-weight: 600; color: var(--ink); }
.feature-card p { color: var(--soft); line-height: 1.65; font-size: 13.5px; }
.features-column--a .feature-card:nth-child(1) { background: var(--gp); }
.features-column--a .feature-card:nth-child(2) { background: var(--lavl); }
.features-column--a .feature-card:nth-child(3) { background: #fff; }
.features-column--b .feature-card:nth-child(1) { background: #fff; }
.features-column--b .feature-card:nth-child(2) { background: var(--lavl); }
.features-column--b .feature-card:nth-child(3) { background: var(--gp); }
/* DOM has the h2 copy first (for correct heading order); CSS restores visual order */
.features-content > .features-copy { order: 2; }
.features-content > .features-column--a { order: 1; }
.features-content > .features-column--b { order: 3; }
@media (max-width: 1200px) {
  .features-content { grid-template-columns: 1fr; gap: 40px; }
  .features-content > .features-copy { order: -1; max-width: 600px; margin: 0 auto; }
  .features-content > .features-column { order: 0; max-width: 640px; margin: 0 auto; width: 100%; }
}

/* ── What's next ──────────────────────────────────────────── */
#whats-next { padding-top: var(--section-top); padding-bottom: var(--section-bottom); }
.next-content { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; padding: 0 var(--page-pad); }
.next-copy h2 { font-family: 'Instrument Serif', serif; font-size: clamp(34px,4.8vw,56px); line-height: 1.05; font-weight: 400; letter-spacing: -.015em; margin-bottom: 18px; color: var(--ink); }
.next-copy p { font-size: 15.5px; line-height: 1.8; color: var(--soft); max-width: 440px; font-weight: 300; }
.next-roadmap { display: flex; flex-direction: column; gap: 16px; }
.future-card { position: relative; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(62,95,68,.07); transition: all .25s ease; }
.future-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(62,95,68,.12); }
.future-card:first-child { border-left: 3px solid var(--lavd); }
.future-card:last-child { border-left: 3px solid var(--mint); }
.future-badge { display: inline-flex; align-items: center; padding: 5px 12px; margin-bottom: 14px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--lavm); background: var(--lavl); border: 1px solid var(--lavd); }
.future-card h3 { font-size: 1.25rem; margin-bottom: 10px; font-weight: 600; color: var(--ink); }
.future-card p { color: var(--soft); line-height: 1.7; font-size: 13.5px; }
@media (max-width: 1100px) {
  .next-content { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .next-copy p { margin: 0 auto; }
  .next-roadmap { max-width: 560px; width: 100%; margin: 0 auto; }
}

/* ── Pricing ──────────────────────────────────────────────── */
#pricing { padding-top: 100px; padding-bottom: 100px; }
.pricing-content { padding: 0 var(--page-pad); }
.pricing-copy { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.pricing-copy h2 { font-family: 'Instrument Serif', serif; font-size: clamp(36px,5.2vw,58px); line-height: .98; letter-spacing: -.015em; font-weight: 400; margin-bottom: 16px; color: var(--ink); }
.pricing-copy p { font-size: 15.5px; line-height: 1.75; color: var(--soft); font-weight: 300; }
.billing-toggle { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 48px; font-weight: 600; font-size: 13.5px; color: var(--soft); }
.save-badge { padding: 3px 10px; border-radius: 999px; font-size: .68rem; background: var(--lavl); border: 1px solid var(--lavd); color: var(--lavm); font-weight: 700; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.slider { position: absolute; inset: 0; cursor: pointer; background: var(--gl); border-radius: 999px; transition: .3s; pointer-events: none; }
.slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .3s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.switch input:checked + .slider { background: var(--g); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:focus-visible + .slider { outline: 3px solid var(--g); outline-offset: 3px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 22px; background: #fff; border: 1.5px solid var(--border); transition: .25s ease; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(62,95,68,.1); }
.pricing-card.featured { border-color: var(--g); box-shadow: 0 0 0 4px rgba(62,95,68,.06); }
.popular-badge { display: inline-flex; width: fit-content; margin-bottom: 18px; padding: 5px 13px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--g); }
.pricing-card h3 { font-family: 'Instrument Serif', serif; font-size: 24px; font-weight: 400; margin-bottom: 8px; color: var(--ink); }
.plan-description { line-height: 1.6; color: var(--soft); margin-bottom: 22px; font-size: 13.5px; }
.price { margin-bottom: 26px; font-family: 'Instrument Serif', serif; font-size: 3.4rem; font-weight: 400; line-height: 1; color: var(--ink); }
.currency { font-size: 1.6rem; vertical-align: top; font-weight: 600; }
.period { font-size: .95rem; color: var(--soft); font-weight: 500; display: block; margin-top: 4px; font-family: 'DM Sans', sans-serif; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan-features li { position: relative; padding-left: 24px; line-height: 1.5; font-size: 13.5px; color: var(--soft); }
.plan-features li::before { content: "\2713"; position: absolute; left: 0; color: var(--g); font-weight: 700; }
.plan-features li.disabled { color: var(--softer); }
.plan-features li.disabled::before { content: "\00d7"; color: var(--softer); }
.plan-action { margin-top: auto; }
.plan-btn { display: block; width: 100%; padding: 14px; border: none; border-radius: 12px; cursor: pointer; font-family: inherit; font-size: 14.5px; font-weight: 700; text-align: center; transition: all .15s; }
.plan-btn.outline { background: #fff; color: var(--g); border: 1.5px solid var(--g); }
.plan-btn.outline:hover { background: var(--gp); }
.plan-btn.filled { background: var(--g); color: #fff; box-shadow: 0 8px 22px rgba(62,95,68,.22); }
.plan-btn.filled:hover { background: var(--gd); }
.plan-note { margin-top: 13px; text-align: center; color: var(--softer); font-size: .82rem; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ── FAQ ──────────────────────────────────────────────────── */
#faq { padding-top: var(--section-top); padding-bottom: var(--section-bottom); }
.faq-content { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 52px; margin: 0 var(--page-pad); box-shadow: 0 10px 40px rgba(62,95,68,.06); }
.faq-header { text-align: center; margin-bottom: 56px; }
.faq-label { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g); }
.faq-label::before, .faq-label::after { content: ''; width: 18px; height: 2px; background: var(--g); }
.faq-header h2 { font-family: 'Instrument Serif', serif; font-size: clamp(32px,4.8vw,50px); line-height: 1; font-weight: 400; color: var(--ink); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: transparent; border: none; color: var(--ink); cursor: pointer; padding: 22px 4px; font-size: 1.02rem; font-weight: 600; text-align: left; font-family: inherit; }
.faq-question:hover { color: var(--g); }
.faq-icon { font-size: 1.3rem; color: var(--softer); flex-shrink: 0; transition: transform .2s; line-height: 1; }
.faq-item.active .faq-icon { color: var(--g); }
.faq-answer { max-height: 0; overflow: hidden; opacity: 0; transition: all .3s ease; color: var(--soft); line-height: 1.75; font-size: 14.5px; padding-right: 30px; }
.faq-item.active .faq-answer { max-height: 240px; opacity: 1; padding-bottom: 24px; }
@media (max-width: 600px) { .faq-content { padding: 32px 22px; } }

/* ── Final CTA ────────────────────────────────────────────── */
#final-cta { padding-top: 40px; padding-bottom: var(--section-bottom); }
.final-cta-content { text-align: center; max-width: 760px; margin: 0 auto; background: var(--g); border-radius: 28px; padding: 72px 40px; position: relative; overflow: hidden; }
.final-cta-content::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(127,217,184,.16), transparent 60%); pointer-events: none; }
.final-cta-content h2 { position: relative; font-family: 'Instrument Serif', serif; font-size: clamp(34px,5.2vw,50px); line-height: 1.05; font-weight: 400; color: #fff; margin-bottom: 18px; }
.final-cta-content p { position: relative; max-width: 480px; margin: 0 auto 32px; color: rgba(255,255,255,.85); font-size: 15.5px; line-height: 1.75; font-weight: 300; }
@media (max-width: 600px) { .final-cta-content { padding: 52px 26px; } }

/* ── Footer ───────────────────────────────────────────────── */
footer { padding: 56px 0 36px; border-top: 1px solid var(--border); background: var(--gd); }
.footer-content { display: flex; justify-content: center; align-items: flex-start; gap: 90px; padding: 0 var(--page-pad); flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.footer-brand .pl-icon { width: 64px; height: 64px; }
.footer-brand .pl-wordmark { font-size: 38px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links h3 { margin-bottom: 16px; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; }
.footer-links a { display: block; margin-bottom: 11px; color: rgba(255,255,255,.78); font-size: 13.5px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 48px var(--page-pad) 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,.72); }
.footer-powered { font-size: 12px; color: rgba(255,255,255,.6); }
.footer-powered a { color: rgba(255,255,255,.78); transition: color .15s; }
.footer-powered a:hover { color: #fff; }
@media (max-width: 900px) {
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) { footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); } }

/* ── Global mobile tightening ─────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-top: 84px; --section-bottom: 84px; }
  .nav-right { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .stack-card { width: 200px; padding: 15px 16px; }
  .stack-card.linkedin { top: -28px; left: -4px; }
  .stack-card.email { top: 96px; right: -4px; }
}

/* ── Respect reduced-motion preferences ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ════════════════════════════════════════════════════════════
   AUTH PAGES (login / register)
   Namespaced with .auth- to stay isolated from landing styles.
   Reuses shared tokens, fonts, .pl-icon / .pl-wordmark and the
   .footer-copy / .footer-powered classes for a consistent footer.
   ════════════════════════════════════════════════════════════ */
.auth-layout { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }

.auth-aside { background: var(--g); display: flex; flex-direction: column; padding: 44px 52px; position: relative; overflow: hidden; }
.auth-aside::before { content: ''; position: absolute; top: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,.06), transparent 60%); pointer-events: none; }
.auth-aside::after { content: ''; position: absolute; bottom: -80px; right: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(127,217,184,.1), transparent 60%); pointer-events: none; }
.auth-logo { display: flex; align-items: center; gap: 13px; margin-bottom: auto; position: relative; }
.auth-logo .pl-icon { width: 50px; height: 50px; }
.auth-logo .pl-wordmark { font-size: 30px; }
.auth-aside-body { position: relative; padding: 40px 0; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; flex: 1; }
.auth-headline { font-family: 'Instrument Serif', serif; font-size: clamp(30px,4vw,42px); font-weight: 400; line-height: 1.18; letter-spacing: -.01em; color: #fff; margin-bottom: 16px; max-width: 420px; }
.auth-aside-sub { font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.7; max-width: 380px; font-weight: 300; }
.auth-aside-footer { margin-top: auto; position: relative; font-size: 12px; color: rgba(255,255,255,.72); }
.auth-aside-footer a { color: rgba(255,255,255,.82); }
.auth-aside-footer a:hover { color: #fff; }
.auth-aside-copy { margin-top: 6px; }

.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 5vw; }
.auth-card { width: 100%; max-width: 380px; }
.auth-title { font-family: 'Instrument Serif', serif; font-size: 30px; font-weight: 400; margin-bottom: 6px; letter-spacing: -.01em; color: var(--ink); }
.auth-subtitle { font-size: 14px; color: var(--soft); margin-bottom: 30px; }
.auth-card label { display: block; font-size: 11px; font-weight: 600; color: var(--soft); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 7px; }
.auth-card input { display: block; width: 100%; padding: 12px 14px; background: #fff; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; margin-bottom: 16px; }
.auth-card input:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(62,95,68,.12); }
.auth-btn { display: block; width: 100%; padding: 13px; background: var(--g); color: #fff; border: none; border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .15s; box-shadow: 0 2px 12px rgba(62,95,68,.22); min-height: 48px; }
.auth-btn:hover { background: var(--gd); transform: translateY(-1px); }
.auth-btn:disabled { opacity: .5; transform: none; cursor: default; }
.auth-err { display: none; background: #fdecea; border: 1px solid #ffcdd2; border-radius: 9px; padding: 10px 14px; font-size: 13px; color: var(--red); margin-bottom: 14px; line-height: 1.5; }
.auth-err.show { display: block; }
.auth-altlink { text-align: center; font-size: 13.5px; color: var(--soft); margin-top: 20px; }
.auth-altlink a { color: var(--g); font-weight: 600; }
.auth-altlink a:hover { text-decoration: underline; }

/* ── Register-specific pieces ───────────────────────────────── */
/* Left-aligned aside variant (used when the panel carries a feature list) */
.auth-aside-body--start { align-items: flex-start; text-align: left; }
.auth-features { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-top: 22px; max-width: 440px; }
.auth-features li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.78); }
.auth-features li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.auth-features b { color: #fff; font-weight: 700; }

/* Password strength meter */
.auth-strength { display: flex; gap: 6px; margin: 0 0 8px; }
.auth-strength span { flex: 1; height: 4px; border-radius: 999px; background: var(--bg3); transition: background .2s; }
.auth-strength.lvl1 span:nth-child(-n+1) { background: var(--red); }
.auth-strength.lvl2 span:nth-child(-n+2) { background: #d98b4a; }
.auth-strength.lvl3 span:nth-child(-n+3) { background: var(--gl); }
.auth-strength.lvl4 span:nth-child(-n+4) { background: var(--g); }
.auth-hint { font-size: 12px; color: var(--softer); margin-bottom: 16px; }
.auth-terms { font-size: 12px; color: var(--softer); line-height: 1.6; text-align: center; margin-top: 16px; }
.auth-terms a { color: var(--g); font-weight: 600; }
.auth-terms a:hover { text-decoration: underline; }

/* Mobile-only slim footer, mirrors the landing footer styling */
.auth-footer { display: none; background: var(--gd); padding: 22px 5vw; text-align: center; border-top: none; }
.auth-footer .footer-copy { margin-bottom: 3px; }

@media (max-width: 768px) {
  /* Single column: keep a compact branded band (logo + heading) above the form
     so the page fits a small screen instead of hiding the heading entirely. */
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { padding: 26px 24px 22px; }
  .auth-logo { margin-bottom: 18px; justify-content: center; }
  .auth-logo .pl-icon { width: 42px; height: 42px; }
  .auth-logo .pl-wordmark { font-size: 25px; }
  .auth-aside-body { flex: none; padding: 2px 0; }
  .auth-headline { font-size: clamp(20px,6vw,26px); margin-bottom: 0; max-width: 100%; }
  .auth-aside-sub, .auth-aside-footer { display: none; }
  .auth-aside-body--start { align-items: center; text-align: center; }
  .auth-features { display: none; }
  .auth-main { padding: 34px 22px 40px; }
  .auth-footer { display: block; }
}
