/* ============================================================
   SITE THEME ("Status light", November 2026)
   Loaded last on every page, after index.css and after the page's own
   <style>, so it restyles the whole site without each page's markup
   changing. Content sits in white panels on a grey "chassis" (the app dashboard's background),
   separated by a small gap rather than by padding.
   The green light means "free at home", the cyan one Remote Access, an
   unlit one "coming soon".
   ============================================================ */
:root {
  --chassis: #C1C7CC;   /* the app dashboard's background, so the site and the app match */
  --well: #EDF1F4;      /* grey fills inside white panels: switches, tips, code */
  --on-chassis: #3A4652; /* text sitting straight on the chassis (body grey is too light there) */
  --panel: #FFFFFF;
  --ink: #0F1B26;
  --body: #4A5663;
  --line: #D3DAE0;
  --cyan: #1FB0EC;
  --link: #0A6A9E;   /* cyan darkened so body links pass contrast on white */
  --gap: 20px;  /* room for the raised panels' shadow to fall */
  --r: 16px;
  /* Old tokens the pages still use, pointed at the new palette */
  --dark: var(--ink);
  --text: var(--ink);
  --muted: #5B6775;
  --border: var(--line);
  --bg-alt: #F1F4F6;
  --navy: var(--ink);
}
body { font-family: 'Archivo', system-ui, sans-serif; background: var(--chassis); color: var(--body); }
h1, h2, h3, .guide-title, .help-overview h1, .faq-intro h1, .fix-heading, .faq-group h2 {
  font-family: 'Archivo', system-ui, sans-serif; font-stretch: 118%; font-weight: 800; color: var(--ink); letter-spacing: -0.015em; text-wrap: balance;
}
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Buttons */
.btn { border-radius: 6px; font-family: inherit; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #24384B; border-color: #24384B; }
.btn-outline { color: var(--ink); border-color: var(--line); }
.btn-outline:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

/* Nav: white bar, ink text */
.nav { background: var(--panel); border-bottom: 1px solid var(--line); backdrop-filter: none; }
.nav-scrolled { box-shadow: 0 2px 10px rgba(15,27,38,0.08); }
.nav-inner { height: 60px; max-width: 1180px; padding: 0 28px; }
.nav-logo-img { width: 32px; height: 32px; border-radius: 7px; }
.nav-logo-text { color: var(--ink); font-weight: 800; font-stretch: 118%; font-size: 1.15rem; }
.nav-links a { color: var(--body); font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }
.nav-hamburger span { background: var(--ink); }
.nav-mobile { border-top-color: var(--line); }
.nav-mobile a { color: var(--ink); border-bottom-color: var(--well); }
.nav-links a[aria-current] { color: var(--ink); font-weight: 700; }

/* HELP LAYOUT: topics panel and article panel side by side on the chassis */
.help-wrap { background: var(--chassis); }
.help-shell { max-width: 1180px; padding: var(--gap); gap: var(--gap); grid-template-columns: 290px minmax(0, 1fr); align-items: start; }
.help-side { background: var(--panel); border-radius: var(--r); position: sticky; top: calc(60px + var(--gap)); }
.help-side-inner { position: static; max-height: calc(100vh - 60px - 2 * var(--gap)); padding: 22px 16px 22px 18px; }
.help-main { background: var(--panel); border-radius: var(--r); padding: 36px 44px 48px; }
.help-home { color: var(--ink); font-stretch: 118%; font-weight: 800; }
.help-search { border-color: var(--line); border-radius: 6px; font-family: inherit; }
.help-search:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31,176,236,0.25); }
.help-group h2 { font-size: 0.88rem; font-weight: 700; font-stretch: 100%; color: var(--ink); letter-spacing: 0; }
.help-group a { color: var(--body); border-radius: 6px; }
.help-group a:hover { background: var(--well); color: var(--ink); }
/* Current topic: a filled row with an ink bar, inside its own panel */
.help-group a[aria-current] { background: var(--well); color: var(--ink); margin-right: 0; padding-right: 10px; border-radius: 6px; box-shadow: inset 3px 0 0 var(--ink); }
.help-contact { border-top-color: var(--line); }
.help-none a, .help-contact a { color: var(--link); }
.help-toggle { font-family: inherit; border-radius: 6px; border-color: var(--line); }

/* Article text */
.help-overview a, .guide-panel a, .guide-crumbs a, .fix-table a, .faq-intro a, .faq-answer a { color: var(--link); }
.guide-panel a:hover { color: var(--ink); }
.guide-panel a.btn, .guide-panel a.btn:hover { color: #fff; }
.guide p, .guide li, .help-overview p, .faq-answer p, .faq-answer li, .fix-table td { color: var(--body); }
.guide strong, .faq-answer strong { color: var(--ink); }
.guide h3 { font-size: 1.2rem; }
.guide-hero-img { border-radius: 6px; }
.guide code { background: var(--well); border-color: transparent; color: var(--ink); }
.guide pre { background: var(--ink); border-radius: 6px; }
.tip { background: #EEF2F5; border-left: 0; border-radius: 6px; color: var(--ink); }
.tip strong { color: var(--ink); }
.tip-warn { background: #FFF6E0; color: #6B4A06; box-shadow: inset 3px 0 0 #D97706; }
.tip-warn strong { color: #5A3D04; }
.fix-table { border-top-color: var(--ink); }
.guide-pager span { color: var(--link); }

/* FAQ */
.faq-group h2 { font-size: 1.35rem; border-bottom-color: var(--ink); }
.faq-q h3 { font-family: 'Archivo', system-ui, sans-serif; font-stretch: 100%; font-weight: 700; }

/* BLOG INDEX: the Help page's layout, an index of articles on the left and
   the articles on the right. Here the right column is not one panel: the
   intro and each article are panels of their own, photo on top, text below. */
.blog-shell .help-main { background: none; padding: 0; border-radius: 0; }
.blog-hero, .blog-list { margin: 0; max-width: none; }
.blog-hero { background: var(--panel); color: var(--body); border-radius: var(--r); padding: 32px 36px; margin-bottom: var(--gap); }
.blog-hero-inner { max-width: 820px; margin: 0; }
.blog-eyebrow { text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.blog-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.08; margin-bottom: 12px; }
.blog-hero p { color: var(--body); font-size: 1.08rem; }
.blog-list { padding: 0; margin-bottom: var(--gap); display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.blog-card { margin: 0; border: 0; border-radius: var(--r); box-shadow: none; }
.blog-card:hover { transform: none; box-shadow: none; }
.blog-card:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.blog-card img { aspect-ratio: 21 / 9; }
.blog-card-body { padding: 22px 28px 24px; }
.blog-card h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.15; margin-bottom: 10px; }
.blog-card p { color: var(--body); font-size: 1.02rem; }
.blog-more { margin: 0; padding: 4px 0; color: var(--on-chassis); }
.blog-shell .help-group a { color: var(--body); }

/* DOWNLOAD PAGE: hero, kit list and download card as three panels */
.dl-hero, .dl-kit, .dl-form-section { max-width: min(1152px, calc(100% - 2 * var(--gap))); margin: var(--gap) auto 0; border-radius: var(--r); }
.dl-hero { background: var(--panel); color: var(--body); padding: 0; overflow: hidden; }
.dl-hero-inner { max-width: none; gap: 0; align-items: stretch; grid-template-columns: 1fr 1fr; }
.dl-hero-text { padding: 40px; align-self: center; }
.dl-eyebrow { text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.dl-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; }
.dl-hero-sub { color: var(--body); font-size: 1.08rem; }
.dl-hero-img { border-radius: 0; box-shadow: none; height: 100%; object-fit: cover; }
.dl-kit.section { padding: 32px 0; background: var(--panel); }
.dl-kit .container { max-width: none; padding: 0 36px; }
.kit-item a, .dl-kit-total a, .dl-alt a, .dl-whatsnew-more, .dl-hash > summary { color: var(--link); }
.kit-note, .kit-usb { background: #F1F4F6; border: 0; border-radius: 6px; }
.kit-note h3, .kit-usb h3 { font-stretch: 100%; font-weight: 700; font-size: 1rem; }
.kit-total strong { font-stretch: 118%; font-weight: 800; color: var(--ink); }
.dl-form-section { background: var(--panel); padding: 0; margin-bottom: var(--gap); }
.download-card { max-width: none; border-radius: var(--r); box-shadow: none; padding: 36px; background: none; }
.download-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dl-includes h3, .dl-whatsnew h3, .dl-subscribe h3 { font-stretch: 100%; font-weight: 700; font-size: 1.05rem; }
/* "Free forever at home" carries the same green light as the home page */
.dl-includes-note { color: var(--ink); gap: 9px; }
.dl-includes-note::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,0.18), 0 0 10px rgba(34,197,94,0.7); flex-shrink: 0; }
.dl-includes-note:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dl-btn { background: var(--ink); border-radius: 6px; font-family: inherit; font-stretch: 105%; }
.dl-btn:hover { background: #24384B; }
.dl-hash-label { text-transform: none; letter-spacing: 0; font-size: 0.88rem; font-weight: 600; }
.dl-hash-body { background: #F1F4F6; border: 0; border-radius: 6px; }
.dl-hash-copy { border-radius: 5px; color: var(--ink); }
.dl-whatsnew-list li::before { background: var(--ink); border-radius: 2px; width: 6px; height: 6px; }
.form-group input[type="email"], .dl-subscribe-row input { border-radius: 6px; border-color: var(--line); }
.form-group input[type="email"]:focus, .dl-subscribe-row input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31,176,236,0.25); }
#submit-btn, .dl-subscribe #sub-btn { background: var(--ink); color: #fff; border-radius: 6px; }

/* OTHER PAGES (about, community, contact, legal, why free, what's new, blog posts).
   Their headings took white from the dark hero band; the theme gives headings
   ink, so the bands become white panels, as on the home, blog and download pages. */
.story-hero, .community-hero, .contact-hero, .legal-hero, .wf-hero, .post-hero,
.story-hero + div, .story-body, .legal-body, .post-body, .wn, .contact-body,
.stories.section-white, .share.section-alt, #why-free.section, .wf-coffee {
  background: var(--panel); color: var(--body); border-radius: var(--r);
  max-width: min(1152px, calc(100% - 2 * var(--gap))); margin: var(--gap) auto 0;
}
.story-hero, .community-hero, .contact-hero, .legal-hero, .wf-hero, .post-hero { padding: 36px 40px; text-align: left; }
/* Reading pages share one 860px sheet, so lines stay a comfortable length */
.story-hero, .story-hero + div, .story-body, .legal-hero, .legal-body, .post-hero, .post-body, .wn { max-width: min(860px, calc(100% - 2 * var(--gap))); }
.story-body, .legal-body, .post-body, .wn { padding: 36px 44px 40px; }
.story-hero + div { overflow: hidden; }
.contact-body { padding: 36px 40px; }
.stories.section-white, .share.section-alt, #why-free.section { padding: 36px 0; }
.wf-coffee { padding: 36px 40px; }
.community-hero-inner, .contact-hero-inner, .post-hero-inner { max-width: none; }
.story-hero h1, .legal-hero h1, .wf-hero h1, .community-hero h1, .contact-hero h1, .post-hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.08; margin-left: 0; margin-right: 0; max-width: none;
}
.story-hero p, .legal-hero p, .wf-hero p, .community-hero p, .contact-hero p, .post-meta { color: var(--body); margin-left: 0; margin-right: 0; }
.story-hero-eyebrow, .community-hero-eyebrow, .contact-hero-eyebrow, .legal-hero-eyebrow, .wf-hero-eyebrow, .post-eyebrow {
  text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 600; color: var(--ink);
}
.community-hero-image, .contact-hero-image { border-radius: 6px; box-shadow: none; }
.community-hero .btn-ghost, .contact-hero .btn-ghost, .wf-hero .btn-ghost { color: var(--ink); border-color: var(--line); }
.post-hero-btn { color: var(--ink); border-color: var(--line); border-radius: 6px; }
.post-hero-btn:hover { border-color: var(--ink); background: none; }
.wn-intro h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.story-body a, .legal-body a, .post-body a, .wn a, .contact-body a, .stories a, .share a, #why-free a { color: var(--link); }
.legal-callout, .legal-note { background: #EEF2F5; border: 0; border-radius: 6px; color: var(--ink); }
.legal-callout p, .legal-note p { color: var(--ink); }
.legal-body h2, .post-body h2 { border-color: var(--line); }
.post-cta { background: var(--ink); border-radius: 6px; }
.post-body .post-cta a.btn { color: var(--ink); }
.post-cta .btn-primary { background: var(--cyan); border-color: var(--cyan); }
.post-back { max-width: min(860px, calc(100% - 2 * var(--gap))); padding: 14px 4px 0; margin: 0 auto; }
.post-back a { color: var(--link); font-weight: 600; }
.contact-card, .share-card { box-shadow: none; border-radius: 6px; }
.contact-quick h3 { text-transform: none; letter-spacing: 0; font-stretch: 100%; font-size: 0.95rem; color: var(--ink); }
/* Email subscription page (where the links in subscriber emails land): one panel */
.sub-page { max-width: min(640px, calc(100% - 2 * var(--gap))); padding: 64px 0; }
.sub-state { border-radius: var(--r); padding: 36px 40px; }
.sub-state > :last-child { margin-bottom: 0; }
.sub-page a { color: var(--link); }

/* Closing panels (guide sign-up, FAQ "still stuck") become dark panels in the rack */
.story-cta, .wf-cta { max-width: min(1152px, calc(100% - 2 * var(--gap))); margin: var(--gap) auto var(--gap); border-radius: var(--r); background: var(--ink); border-top: 0; color: rgba(255,255,255,0.75); padding: 40px 28px; }
.story-cta h2, .wf-cta h2 { color: #fff; }
.story-cta p, .wf-cta p { color: rgba(255,255,255,0.72); }
.story-cta .btn-outline, .wf-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.story-cta .btn-primary, .wf-cta .btn-primary { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.guides-cta, .faq-cta {
  max-width: min(1152px, calc(100% - 2 * var(--gap))); margin: 0 auto var(--gap); border-radius: var(--r);
  background: var(--ink); border-top: 0; color: rgba(255,255,255,0.75); padding: 40px 28px;
}
.help-wrap + .guides-cta, .help-wrap + .faq-cta { margin-top: 0; }
.guides-cta h2, .faq-cta h2 { color: #fff; }
.guides-cta p, .faq-cta p { color: rgba(255,255,255,0.72); }
.guides-sub-row input { border-radius: 6px; border-color: transparent; font-family: inherit; }
#sub-btn { background: var(--cyan); color: var(--ink); border-radius: 6px; font-family: inherit; }
.guides-cta .guides-cta-video { border-top-color: rgba(255,255,255,0.12); }
.guides-cta .btn-outline, .faq-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.guides-cta .btn-primary, .faq-cta .btn-primary { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.btn-youtube { border-radius: 6px; }

/* Footer: a dark panel, the last one in the rack. Linkive's logo is dark on a
   white box, so it is inverted and screen-blended to come out white. */
.footer {
  max-width: min(1152px, calc(100% - 2 * var(--gap))); margin: 0 auto var(--gap); border-radius: var(--r);
  background: var(--ink); border-top: 0; padding: 26px 28px; isolation: isolate;
}
.footer-inner { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; text-align: left; }
.footer-brand { gap: 22px; align-items: flex-end; }
.footer-logo { background: none; padding: 0; border-radius: 0; height: 36px; }
.footer-brand > img.footer-logo { height: 40px; filter: grayscale(1) invert(1) contrast(1.9) brightness(1.1); mix-blend-mode: screen; }
.footer-bmc .footer-logo { height: 30px; }
.footer-nav { justify-content: flex-start; }
.footer-nav a { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }
.footer-copy { flex-basis: 100%; color: rgba(255,255,255,0.5); font-size: 0.82rem; }

/* Cookie banner: ink bar, Accept in the cyan used for buttons on dark panels */
.cookie-banner { background: var(--ink); }
.cookie-btn { border-radius: 6px; }
.cookie-btn-accept { background: var(--cyan); color: var(--ink); }

/* Back to top: rounded square in ink */
.to-top { background: var(--ink); border-radius: 8px; }
.to-top:hover { background: #24384B; }

@media (max-width: 900px) {
  .help-shell { grid-template-columns: 1fr; }
  .help-side { position: static; }
  .help-side-inner { max-height: none; padding: 16px; }
  .help-main { padding: 26px 22px 36px; }
  .help-group a[aria-current] { padding-right: 10px; box-shadow: inset 3px 0 0 var(--ink); }
  /* Narrow screens: the articles are the index, so the index column goes */
  .blog-shell .help-side { display: none; }
  .blog-card img { aspect-ratio: 16 / 9; }
  .dl-hero-inner { grid-template-columns: 1fr; }
  .dl-hero-img { height: auto; }
}
@media (max-width: 600px) {
  :root { --gap: 12px; }
  .nav-inner { padding: 0 16px; gap: 12px; }
  .nav-logo-text { display: inline; }
  .nav-cta { padding: 7px 12px; font-size: 0.85rem; }
  .help-main { padding: 22px 18px 30px; }
  .guides-cta, .faq-cta { padding: 30px 18px; margin-left: var(--gap); margin-right: var(--gap); }
  .dl-hero, .dl-kit, .dl-form-section { margin-left: var(--gap); margin-right: var(--gap); }
  .dl-hero-text { padding: 22px 20px 24px; }
  .dl-kit.section { padding: 22px 0; }
  .dl-kit .container { padding: 0 20px; }
  .download-card { padding: 24px 20px; }
  .story-hero, .community-hero, .contact-hero, .legal-hero, .wf-hero, .post-hero { padding: 22px 20px 24px; }
  .story-body, .legal-body, .post-body, .wn, .contact-body, .wf-coffee { padding: 22px 20px 26px; }
  .sub-page { padding: 32px 0; }
  .sub-state { padding: 24px 20px; }
  .story-cta, .wf-cta { padding: 30px 18px; }
  .blog-hero { padding: 22px 20px; }
  .blog-card-body { padding: 18px 20px 20px; }
  .blog-card h2 { font-size: 1.25rem; }
  .footer { margin-left: var(--gap); margin-right: var(--gap); padding: 22px 18px; }
  .footer-brand > img.footer-logo { height: 36px; }
  .footer-bmc .footer-logo { height: 26px; }
}

/* ============================================================
   HOME PAGE (body class="home"). Every rule is scoped to .home and the
   home-only classes start h-, so nothing here reaches another page.
   ============================================================ */
.home .h-rack { max-width: 1180px; margin: 0 auto; padding: var(--gap); display: grid; gap: var(--gap); }
.home .h-panel { background: var(--panel); border-radius: var(--r); padding: 28px; }
.home .h-dark { background: var(--ink); color: rgba(255,255,255,0.75); }
.home .h-dark h2, .home .h-dark h3 { color: #fff; }
.home .h-dark .mono { background: rgba(255,255,255,0.1); color: #fff; }
.home .h-dark .btn-primary { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.home .h-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.3); }
.home .h-cols { display: grid; gap: var(--gap); }
.home .h-c2 { grid-template-columns: 1fr 1fr; }
.home .h-c3 { grid-template-columns: repeat(3, 1fr); }
.home h1, .home h2, .home h3 { line-height: 1.08; }
.home h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.home h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.home h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); }
.home p + p { margin-top: 10px; }
.home .mono { background: var(--well); }

/* The status light */
.home .led { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.home .led::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,0.18), 0 0 10px rgba(34,197,94,0.7); flex-shrink: 0; }
.home .led-remote::before { background: var(--cyan); box-shadow: 0 0 0 3px rgba(31,176,236,0.2), 0 0 10px rgba(31,176,236,0.7); }
.home .led-off::before { background: #A9B4BE; box-shadow: none; }
.home .h-dark .led { color: #fff; }

/* Panel header: what it is on the left, its status light on the right */
.home .h-ph { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.home .h-dark .h-ph { border-color: rgba(255,255,255,0.12); color: #fff; }

/* Hero: one panel, the photo flush to its right edge */
.home .h-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; padding: 0; overflow: hidden; }
.home .h-hero-text { padding: 40px; }
.home .h-hero h1 { margin: 16px 0; }
.home .h-hero-lead { font-size: 1.12rem; color: var(--ink); }
.home .h-small { font-size: 0.97rem; }
.home .h-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 14px; }
.home .h-note { font-size: 0.9rem; }
.home .h-hero-img { position: relative; min-height: 100%; }
.home .h-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home .h-lead { font-size: 1.08rem; margin-top: 8px; }
.home .h-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* Feature panels: image flush to the top, text below */
.home .h-fp { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.home .h-fp > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home .h-in { padding: 22px 26px 26px; }
.home .h-fp h3 { margin-bottom: 10px; }
.home .h-media { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: center; }
.home .h-media h3 { margin-bottom: 12px; }
.home .h-callout { margin-top: 14px; padding: 12px 14px; background: var(--well); border-radius: 6px; color: var(--ink); font-size: 0.94rem; }

/* Segmented switch for the media screens */
.home .h-switch { display: inline-flex; background: var(--well); border-radius: 7px; padding: 4px; gap: 2px; margin-bottom: 12px; }
.home .h-seg { font: 600 0.9rem 'Archivo', sans-serif; color: var(--body); background: none; border: 0; border-radius: 5px; padding: 7px 14px; cursor: pointer; }
.home .h-seg[aria-selected="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 3px rgba(15,27,38,0.16); }
.home .h-slides { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 1295 / 832; background: var(--well); }
.home .h-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
.home .h-slides img.on { opacity: 1; }

/* Remote Access */
.home .h-ticks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 4px 0 14px; }
.home .h-ticks li { padding-left: 26px; position: relative; font-size: 0.95rem; color: rgba(255,255,255,0.88); }
.home .h-ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 13px; height: 7px; border-left: 2.5px solid var(--cyan); border-bottom: 2.5px solid var(--cyan); transform: rotate(-45deg); }
.home .h-remote-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.home .h-remote-top img, .home .h-remote-bottom img { border-radius: 6px; }
.home .h-remote-bottom { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; align-items: center; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); }

/* Pricing */
.home .h-plan { display: flex; flex-direction: column; gap: 12px; }
.home .h-plan .h-ph { margin-bottom: 4px; }
.home .h-price { font-size: 2.4rem; font-weight: 800; font-stretch: 118%; color: var(--ink); line-height: 1; }
.home .h-price small { font-size: 0.95rem; font-weight: 500; font-stretch: 100%; color: var(--body); }
.home .h-plan ul { list-style: none; display: grid; gap: 7px; font-size: 0.94rem; }
.home .h-plan li { padding-left: 20px; position: relative; }
.home .h-plan li::before { content: ''; position: absolute; left: 1px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.home .h-plan .btn { margin-top: auto; }
.home .h-rec { outline: 2px solid var(--cyan); outline-offset: -2px; }
.home .h-soon { background: #F4F6F8; }
.home .h-soon .h-price { color: var(--body); }
.home .h-fine { font-size: 0.9rem; padding: 0 4px; color: var(--on-chassis); }
.home .h-fine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.home .h-fine a:hover { text-decoration-thickness: 2px; }

/* Articles */
.home .h-posts { column-gap: 28px; row-gap: 22px; }
.home .h-post { text-decoration: none; display: block; }
.home .h-post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.home .h-post h3 { font-size: 1.08rem; margin: 12px 0 4px; }
.home .h-post span { font-size: 0.86rem; }
.home .h-post:hover h3 { text-decoration: underline; }

/* Closing panel: the Linkive and Buy me a coffee logos and the copyright line
   sit at its foot. Linkive's logo is dark on a white box, so it is inverted
   and screen-blended to come out white. */
.home .h-cta { text-align: center; padding: 44px 28px 20px; isolation: isolate; }
.home .h-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.home .h-cta > p { margin: 8px 0 22px; }
.home .h-cta .h-actions { justify-content: center; margin: 0; }
.home .h-cta .h-by { margin-top: 18px; font-size: 0.9rem; }
.home .h-cta-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-top: 30px; text-align: left; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.home .h-cta-foot p { line-height: 1.2; margin: 0; }
.home .h-cta-logos { display: flex; align-items: flex-end; gap: 22px; }
.home .h-cta-logo { height: 40px; width: auto; filter: grayscale(1) invert(1) contrast(1.9) brightness(1.1); mix-blend-mode: screen; }
.home .h-cta-bmc { height: 30px; width: auto; opacity: 0.9; }
.home .h-cta-logos a:hover .h-cta-bmc { opacity: 1; }

/* Footer: on the home page only the links and the facts, on the chassis */
.home .footer { max-width: 1180px; margin: 0 auto; padding: 8px 28px 28px; background: none; border-radius: 0; }
.home .footer-inner { flex-direction: column; align-items: stretch; gap: 0; }
.home .footer-nav { padding: 18px 0; border-bottom: 1px solid rgba(15,27,38,0.15); gap: 6px 18px; }
.home .footer-nav a { color: var(--ink); font-weight: 500; }
.home .footer-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 18px 0; justify-content: stretch; }
.home .footer-fact { align-items: flex-start; }
.home .footer-fact-label { text-transform: none; letter-spacing: 0; font-size: 0.9rem; font-weight: 400; color: var(--on-chassis); }
.home .footer-fact-value { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.home .footer-fact-value a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .home .h-hero, .home .h-media, .home .h-remote-top, .home .h-remote-bottom, .home .h-c2 { grid-template-columns: 1fr; }
  .home .h-hero-img { min-height: 0; order: 2; }
  .home .h-hero-img img { position: static; height: auto; }
  .home .h-c3 { grid-template-columns: 1fr; }
  .home .footer-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .home .h-panel { padding: 20px; }
  .home .h-hero { padding: 0; }
  .home .h-hero-text { padding: 22px 20px 24px; }
  .home .h-fp { padding: 0; }
  .home .h-in { padding: 18px 20px 20px; }
  .home .h-actions .btn { flex: 1 1 100%; }
  .home .h-ticks { grid-template-columns: 1fr; }
  .home .h-remote-bottom { margin-top: 20px; padding-top: 20px; }
  .home .h-switch { display: flex; }
  .home .h-seg { flex: 1; padding: 7px 4px; }
  .home .h-post { display: grid; grid-template-columns: 108px 1fr; gap: 12px; align-items: center; }
  .home .h-post h3 { margin: 0 0 2px; font-size: 1rem; }
  .home .h-post img { border-radius: 5px; }
  .home .h-cta { padding: 32px 20px 18px; }
  .home .h-cta-logo { height: 36px; }
  .home .h-cta-bmc { height: 26px; }
  .home .h-cta-foot { margin-top: 24px; }
  .home .footer { padding: 4px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) { .home .h-slides img { transition: none; } }

/* Headings that are link targets clear the sticky nav when jumped to */
h2[id], h3[id] { scroll-margin-top: 80px; }

/* ============================================================
   RAISED PANELS: the app dashboard's "glass rim" cards (*254), with the
   values from the app's base.html. A white fill shading slightly to the
   right, a 2px rim light at the top and dark at the bottom, and a shadow
   thrown downwards. Last in the file so it wins over each panel's own
   background; the selectors repeat the ones above so their weight matches.
   ============================================================ */
:root {
  --glass-fill:   linear-gradient(100deg, #ffffff 0%, #fcfdfe 50%, #f0f3f6 100%);
  --glass-rim:    linear-gradient(172deg, #ffffff 0%, #f3f6f9 20%, #b3bdc8 60%, #8a96a3 100%);
  --glass-shadow: inset 0 1.5px 0 rgba(255,255,255,.95), inset 0 -3px 6px rgba(100,116,139,.10), 0 5px 8px -3px rgba(30,41,59,.20), 0 20px 36px -14px rgba(30,41,59,.45);
  --glass-sunk:   inset 0 2px 5px rgba(30,41,59,.16), 0 1px 0 rgba(255,255,255,.6);
  --glass-sunk-fill: rgba(255,255,255,.35);
  --dglass-fill:  linear-gradient(100deg, #1b2639 0%, #152031 50%, #101928 100%);
  --dglass-rim:   linear-gradient(172deg, rgba(255,255,255,.34) 0%, rgba(148,163,184,.14) 20%, rgba(15,23,42,.55) 55%, #060a12 100%);
}
.home .h-panel, .help-side, .help-main, .blog-hero, .blog-card,
.dl-hero, .dl-kit.section, .dl-form-section,
.story-hero, .community-hero, .contact-hero, .legal-hero, .wf-hero, .post-hero,
.story-hero + div, .story-body, .legal-body, .post-body, .wn, .contact-body,
.stories.section-white, .share.section-alt, #why-free.section, .wf-coffee, .sub-state {
  background: var(--glass-fill) padding-box, var(--glass-rim) border-box;
  border: 2px solid transparent; box-shadow: var(--glass-shadow);
}
/* The blog page's article column is not a panel itself; its articles are */
.blog-shell .help-main { background: none; border: 0; box-shadow: none; }
/* Dark panels: the app's dark glass */
.home .h-dark, .story-cta, .wf-cta, .guides-cta, .faq-cta, .footer {
  background: var(--dglass-fill) padding-box, var(--dglass-rim) border-box;
  border: 2px solid transparent; box-shadow: var(--glass-shadow);
}
/* Not available yet: set into the page, not raised, as the app does with a
   Recycle Bin that can't be opened */
.home .h-soon { background: var(--glass-sunk-fill); box-shadow: var(--glass-sunk); }
/* The home page footer sits on the chassis, not in a panel */
.home .footer { background: none; border: 0; box-shadow: none; }
