/* Orbital Focus Guides
   Honeydew's editorial layout, reduced to one dark theme and mapped to the
   Orbital Focus space palette. Fraunces is self-hosted under the SIL OFL. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-roman-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic-variable.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --guide-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --guide-display: "SF Pro Rounded", ui-rounded, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --guide-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --guide-ink: var(--text, #e8edf8);
  --guide-body: #c3cbdd;
  --guide-muted: var(--dim, #8b97b5);
  --guide-faint: #8793b0;
  --guide-line: var(--line, #24304f);
  --guide-hairline: rgba(232, 237, 248, 0.08);
  --guide-paper: var(--bg, #070b16);
  --guide-card: var(--panel, #111a30);
  --guide-wash: var(--panel2, #16213c);
  --guide-green: var(--accent, #5eb0ff);
  --guide-green-dark: #8ac6ff;
  --guide-green-deep: #0c1a33;
  --guide-green-soft: rgba(94, 176, 255, 0.12);
  --guide-cream: var(--accent2, #ffb24d);
  --guide-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

[hidden] { display: none !important; }

.guides-shell,
.guide-page {
  min-height: 100vh;
  color: var(--guide-ink);
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
}

.guides-container,
.guide-container {
  width: min(100% - 2.5rem, 1140px);
  margin-inline: auto;
}

/* ---------- Directory search and lists ---------- */

.guides-index {
  position: relative;
  overflow: clip;
  padding-bottom: 7rem;
  background:
    radial-gradient(circle at 14% 5%, rgba(94, 176, 255, 0.1), transparent 25rem),
    radial-gradient(circle at 88% 9%, rgba(255, 178, 77, 0.07), transparent 24rem);
}

.guides-index-search {
  padding: clamp(4.5rem, 8vw, 7rem) 0 2.5rem;
}

.guides-index-search__inner {
  max-width: 850px;
  text-align: center;
}

.guide-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 670px);
  min-height: 64px;
  margin-inline: auto;
  padding: 0.42rem 0.45rem 0.42rem 1.15rem;
  border: 1px solid rgba(232, 237, 248, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--guide-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.guide-search:focus-within {
  border-color: rgba(94, 176, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--guide-shadow), 0 0 0 4px rgba(94, 176, 255, 0.12);
}

.guide-search > svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--guide-faint);
}

.guide-search input {
  min-width: 0;
  height: 48px;
  padding: 0 0.85rem;
  border: 0;
  outline: 0;
  color: var(--guide-ink);
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.guide-search input::placeholder { color: var(--guide-faint); opacity: 1; }
.guide-search input::-webkit-search-cancel-button { opacity: 0.6; }
.guide-search button,
.guide-directory-empty button { border: 0; font: inherit; cursor: pointer; }

.guide-search button {
  min-width: 112px;
  min-height: 48px;
  padding-inline: 1.35rem;
  border-radius: 999px;
  color: #04101f;
  background: var(--guide-green-dark);
  box-shadow: 0 5px 0 #285d8e;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease;
}

.guide-search button:hover { transform: translateY(-1px); background: #b6dcff; }

.guide-search-status {
  margin: 0.9rem 0 0;
  color: var(--guide-faint);
  font-size: 0.78rem;
  font-weight: 600;
}

.guide-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding: 1.25rem 0 6.5rem;
}

.guide-directory--single { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0.5rem; }

.guide-directory-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--guide-line);
}

.guide-directory-heading h1,
.guide-directory-heading h2,
.guide-index-bar__copy h2 {
  font-family: var(--guide-display);
}

.guide-directory-heading h1,
.guide-directory-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.guide-directory-heading a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--guide-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.guide-directory-heading a:hover { color: var(--guide-green-dark); }
.guide-directory-heading a svg { width: 0.9rem; height: 0.9rem; }

.guide-directory-row {
  position: relative;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) 18px;
  gap: 1rem;
  align-items: center;
  min-height: 137px;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--guide-hairline);
  color: inherit;
  text-decoration: none;
}

.guide-directory-image,
.guide-directory-tool-art {
  display: block;
  width: 136px;
  height: 96px;
  overflow: hidden;
  border: 1px solid var(--guide-hairline);
  border-radius: 14px;
  background: var(--guide-wash);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.guide-directory-image img,
.guide-directory-tool-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.guide-directory-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.guide-directory-kicker {
  margin-bottom: 0.35rem;
  color: var(--guide-green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-directory-copy > strong {
  color: var(--guide-ink);
  font-family: var(--guide-display);
  font-size: 1.13rem;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.018em;
  transition: color 180ms ease;
}

.guide-directory-description {
  display: -webkit-box;
  margin-top: 0.45rem;
  overflow: hidden;
  color: var(--guide-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.guide-directory-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.65rem;
  color: var(--guide-faint);
  font-size: 0.74rem;
  font-weight: 650;
}

.guide-directory-meta > span { display: inline-flex; align-items: center; gap: 0.22rem; }

.guide-directory-arrow {
  width: 1rem;
  height: 1rem;
  color: var(--guide-faint);
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 180ms ease, transform 180ms ease, color 180ms ease;
}

.guide-directory-row:hover { text-decoration: none; }
.guide-directory-row:hover :is(.guide-directory-image, .guide-directory-tool-art) img { transform: scale(1.035); }
.guide-directory-row:hover .guide-directory-copy > strong { color: var(--guide-green-dark); }
.guide-directory-row:hover .guide-directory-arrow { color: var(--guide-green); opacity: 1; transform: translateX(0); }
.guide-directory-row--static { cursor: default; }
.guide-directory-row--static .guide-directory-arrow { display: none; }
.guide-directory-row--static:hover .guide-directory-copy > strong { color: var(--guide-ink); }

.guide-directory-tool-art {
  position: relative;
  display: grid;
  isolation: isolate;
  place-items: center;
  color: #eaf6ff;
  background: linear-gradient(145deg, #367ebf, #152b55);
}

.guide-directory-tool-art--attention,
.guide-directory-tool-art--tests { background: linear-gradient(145deg, #cc8030, #5b3517); }

.guide-directory-tool-art > svg {
  position: relative;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.3));
}

.guide-directory-tool-art > span {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.guide-directory-tool-art > span:nth-of-type(1) { top: -1rem; right: -0.2rem; width: 4rem; height: 4rem; }
.guide-directory-tool-art > span:nth-of-type(2) { bottom: -1.7rem; left: -0.4rem; width: 4.8rem; height: 4.8rem; }
.guide-directory-row--tool .guide-directory-meta { color: var(--guide-green); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }

.guide-directory-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  align-content: center;
  gap: 0.55rem;
  padding: 2rem;
  border-bottom: 1px solid var(--guide-hairline);
  color: var(--guide-muted);
  text-align: center;
}

.guide-directory-empty > svg { width: 1.5rem; height: 1.5rem; color: var(--guide-green); }
.guide-directory-empty strong { color: var(--guide-ink); font-size: 1rem; }
.guide-directory-empty p { max-width: 290px; margin: 0; font-size: 0.78rem; line-height: 1.5; }
.guide-directory-empty button { margin-top: 0.35rem; padding: 0.55rem 0.9rem; border-radius: 999px; color: var(--guide-green-dark); background: var(--guide-green-soft); font-size: 0.75rem; font-weight: 750; }

/* ---------- Directory support and download bars ---------- */

.guide-index-bars { display: grid; gap: 1.15rem; }

.guide-index-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  isolation: isolate;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid rgba(232, 237, 248, 0.09);
  border-radius: 30px;
  background: linear-gradient(135deg, #111d38 0%, #0c1429 50%, #18233e 100%);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.35);
}

.guide-index-bar::before,
.guide-index-bar::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 13rem;
  height: 13rem;
  border-radius: 999px;
  filter: blur(58px);
  pointer-events: none;
}

.guide-index-bar::before { top: -8rem; left: 12%; background: rgba(94, 176, 255, 0.22); }
.guide-index-bar::after { right: 8%; bottom: -8rem; background: rgba(255, 178, 77, 0.14); }

.guide-index-bar__art,
.guide-index-bar__app {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #367ebf, #152b55);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.3);
}

.guide-index-bar__art svg { width: 2rem; height: 2rem; }
.guide-index-bar__app img { width: 100%; height: 100%; object-fit: cover; }
.guide-index-bar__copy > span { color: var(--guide-green-dark); font-size: 0.65rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
.guide-index-bar__copy h2 { margin: 0.35rem 0 0.4rem; color: var(--guide-ink); font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 760; line-height: 1.04; letter-spacing: -0.035em; }
.guide-index-bar__copy p { max-width: 590px; margin: 0; color: var(--guide-muted); font-size: 0.88rem; font-weight: 500; line-height: 1.55; }
.guide-index-bar__actions { display: flex; align-items: center; gap: 0.55rem; }

.guide-index-bar__button {
  display: inline-flex;
  min-width: 150px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding-inline: 1.2rem;
  border-radius: 999px;
  color: #04101f;
  background: var(--guide-green-dark);
  box-shadow: 0 6px 0 #285d8e;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.guide-index-bar__button:hover { transform: translateY(-2px); background: #b6dcff; text-decoration: none; }
.guide-index-bar__button svg { width: 0.9rem; height: 0.9rem; }
.guide-index-bar--download { background: linear-gradient(135deg, #0d1a33 0%, #0b1428 52%, #1c2440 100%); }

/* ---------- Article header and layout ---------- */

.guide-page {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 10% 4%, rgba(94, 176, 255, 0.11), transparent 30rem),
    radial-gradient(circle at 92% 11%, rgba(255, 178, 77, 0.06), transparent 30rem);
}

.guide-page .guide-container { width: min(100% - 2.5rem, 1200px); padding-top: clamp(4rem, 7vw, 6.5rem); padding-bottom: 6.5rem; }

.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 940px;
  margin: 0 auto 3.25rem;
  padding: 0.6rem 0.82rem;
  border: 1px solid var(--guide-hairline);
  border-radius: 999px;
  color: var(--guide-faint);
  background: rgba(17, 26, 48, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  font-size: 0.84rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.guide-breadcrumb a { color: var(--guide-muted); font-weight: 600; text-decoration: none; transition: color 160ms ease; }
.guide-breadcrumb a:hover { color: var(--guide-green); }

.guide-header { max-width: 780px; margin: 0 auto 3.5rem; }
.guide-kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: var(--guide-faint); font-size: 0.8rem; }

.guide-pill,
.guide-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--guide-green);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.guide-header h1 {
  max-width: 940px;
  margin: 1.55rem 0 1.35rem;
  color: var(--guide-ink);
  font-family: var(--guide-display);
  font-size: clamp(1.75rem, 3.5vw, 2.85rem);
  font-weight: 760;
  font-variation-settings: normal;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.guide-dek {
  max-width: 740px;
  margin: 0;
  color: var(--guide-muted);
  font-family: var(--guide-sans);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
  font-style: normal;
  font-weight: 520;
  line-height: 1.62;
}

.guide-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.35rem;
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--guide-hairline);
  color: var(--guide-faint);
  font-size: 0.84rem;
}

.guide-byline > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.guide-byline__icon { width: 0.95rem; height: 0.95rem; flex: 0 0 auto; }
.guide-byline__author { color: var(--guide-ink); font-weight: 650; }
.guide-byline__role { color: var(--guide-faint); font-weight: 500; }
.guide-byline__avatar {
  display: grid;
  width: 44px;
  height: 44px;
  margin-right: 0.3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--guide-card);
  border-radius: 50%;
  color: #04101f;
  background: linear-gradient(145deg, var(--guide-green-dark), #477aa9);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  font-size: 0.72rem;
  font-weight: 850;
}

.guide-byline__author > img { width: 44px; height: 44px; margin-right: 0.3rem; flex: 0 0 auto; border: 2px solid var(--guide-card); border-radius: 50%; object-fit: cover; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35); }

.guide-hero-image { max-width: 1040px; margin: 0 auto 5rem; }
.guide-hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--guide-hairline); border-radius: 30px; box-shadow: 0 38px 90px rgba(0, 0, 0, 0.48); }
.guide-hero-image figcaption,
.guide-figure figcaption,
.guide-screenshot-spread > figcaption { margin-top: 0.8rem; color: var(--guide-faint); font-size: 0.78rem; line-height: 1.55; }

.guide-layout { position: relative; max-width: 780px; margin-inline: auto; }
.guide-main-column { min-width: 0; }
.guide-feature-body,
.guide-release-body { width: min(100%, 760px); margin-inline: auto; }

.guide-toc { position: absolute; top: 0; bottom: 0; right: calc(100% + 2rem); width: 205px; }
.guide-toc > div { position: sticky; top: 7.5rem; padding: 1.25rem; border: 1px solid var(--guide-line); border-radius: 22px; background: rgba(17, 26, 48, 0.84); box-shadow: var(--guide-shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.guide-toc > div > p { margin: 0 0 1rem; color: var(--guide-faint); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.guide-toc ol { list-style: none; margin: 0; padding: 0; }
.guide-toc li + li { margin-top: 0.35rem; }
.guide-toc a { display: block; padding: 0.35rem 0.5rem; border-radius: 9px; color: var(--guide-muted); font-size: 0.79rem; line-height: 1.4; text-decoration: none; transition: color 160ms ease, background 160ms ease; }
.guide-toc a:hover { color: var(--guide-green-dark); background: var(--guide-green-soft); }

/* ---------- Verdict and prose ---------- */

.guide-verdict {
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
  padding: clamp(1.7rem, 4vw, 2.35rem);
  border: 1px solid rgba(255, 178, 77, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0, rgba(255, 178, 77, 0.1), transparent 13rem),
    linear-gradient(135deg, rgba(22, 33, 60, 0.98), rgba(12, 20, 40, 0.96));
  box-shadow: var(--guide-shadow);
}

.guide-verdict__label { margin: 0 0 0.75rem; color: var(--guide-cream); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.22em; text-transform: uppercase; }
.guide-verdict > div > p:not(.guide-verdict__label) { margin: 0; color: var(--guide-ink); font-family: var(--guide-display); font-size: clamp(1.12rem, 2vw, 1.32rem); font-weight: 620; line-height: 1.56; }

.guide-prose { color: var(--guide-body); font-size: 1.04rem; line-height: 1.82; }
.guide-prose h2 { scroll-margin-top: 7rem; margin: 5rem 0 1.4rem; padding-top: 2.6rem; border-top: 1px solid var(--guide-hairline); color: var(--guide-ink); font-family: var(--guide-display); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 740; font-variation-settings: normal; line-height: 1.06; letter-spacing: -0.045em; }
.guide-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.guide-prose h3 { scroll-margin-top: 7rem; margin: 2.9rem 0 0.9rem; color: var(--guide-ink); font-family: var(--guide-display); font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 720; line-height: 1.3; letter-spacing: -0.014em; }
.guide-prose p { margin: 0 0 1.25rem; }
.guide-prose strong { color: var(--guide-ink); font-weight: 700; }
.guide-prose a { color: var(--guide-green-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(94, 176, 255, 0.45); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 140ms ease; }
.guide-prose a:hover { color: #c7e5ff; text-decoration-color: currentColor; }
.guide-prose ul,
.guide-prose ol { margin: 0 0 1.5rem; padding-left: 1.3rem; }
.guide-prose li { padding-left: 0.35rem; }
.guide-prose li + li { margin-top: 0.55rem; }
.guide-prose li::marker { color: var(--guide-faint); }
.guide-prose blockquote { margin: 2rem 0; padding: 0.25rem 0 0.25rem 1.4rem; border-left: 2px solid var(--guide-green); color: var(--guide-muted); }
.guide-prose code { padding: 0.12rem 0.3rem; border: 1px solid var(--guide-line); border-radius: 5px; background: var(--guide-wash); font-family: "SF Mono", ui-monospace, monospace; font-size: 0.88em; }

.guide-page--feature .guide-prose:first-child > p:first-child { color: var(--guide-ink); font-family: var(--guide-display); font-size: clamp(1.2rem, 2.5vw, 1.48rem); font-weight: 610; line-height: 1.55; letter-spacing: -0.02em; }
.guide-page--release .guide-prose > p:first-child { color: var(--guide-ink); font-family: var(--guide-display); font-size: clamp(1.35rem, 3vw, 1.72rem); font-weight: 620; line-height: 1.45; letter-spacing: -0.025em; }
.guide-page--feature .guide-prose h2,
.guide-page--release .guide-prose h2 { margin-top: 4.5rem; padding-top: 0; border-top: 0; }

/* ---------- Numbered app review headers ---------- */

.guide-app-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 1rem;
  align-items: center;
  margin: 4rem 0 1.25rem;
  padding: 1.35rem;
  border: 1px solid var(--guide-line);
  border-radius: 24px;
  background: var(--guide-card);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  scroll-margin-top: 7rem;
}

.guide-app-head__fallback { display: grid; grid-row: 1 / 3; width: 4rem; height: 4rem; place-items: center; align-self: center; border-radius: 17px; color: #04101f; background: linear-gradient(145deg, var(--guide-green-dark), #477aa9); font-size: 1rem; font-weight: 850; }
.guide-app-head__icon { position: relative; display: block; grid-row: 1 / 3; width: 4rem; height: 4rem; overflow: visible; align-self: center; border-radius: 17px; text-decoration: none; box-shadow: 0 9px 24px rgba(0, 0, 0, 0.36); transition: transform 160ms ease, box-shadow 160ms ease; }
.guide-app-head__icon:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(0, 0, 0, 0.42); }
.guide-app-head__icon img { display: block; width: 100%; height: 100%; border: 1px solid var(--guide-line); border-radius: inherit; object-fit: cover; }
.guide-app-head__rank { position: absolute; right: -0.35rem; bottom: -0.35rem; display: grid; width: 1.5rem; height: 1.5rem; place-items: center; border: 2px solid var(--guide-card); border-radius: 50%; color: #04101f; background: var(--guide-green-dark); font-size: 0.68rem; font-weight: 850; line-height: 1; }
.guide-app-head__rank--best { color: #2e2410; background: var(--guide-cream); }
.guide-app-head h3,
.guide-app-head__tag { grid-column: 2; }
.guide-app-head h3 { align-self: end; margin: 0; color: var(--guide-ink); font-family: var(--guide-display); font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 720; line-height: 1.1; letter-spacing: -0.015em; }
.guide-app-head h3 a { color: inherit; text-decoration: none; }
.guide-app-head h3 a:hover { color: var(--guide-green-dark); }
.guide-app-head__tag { margin: 0.2rem 0 0 !important; color: var(--guide-green); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Callouts, tables, and figures ---------- */

.guide-callout { margin: 2.25rem 0; padding: 1.4rem 1.6rem; border: 1px solid var(--guide-line); border-left: 3px solid var(--guide-green); border-radius: 0 18px 18px 0; background: linear-gradient(145deg, var(--guide-card), var(--guide-wash)); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22); }
.guide-callout--disclosure { border-left-color: var(--guide-cream); }
.guide-callout p { margin-bottom: 0; }
.guide-callout__label { margin-bottom: 0.45rem !important; color: var(--guide-green) !important; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.18em; text-transform: uppercase; }
.guide-callout--disclosure .guide-callout__label { color: var(--guide-cream) !important; }

.guide-table-wrap { width: 100%; margin: 1.75rem 0 1rem; overflow-x: auto; border: 1px solid var(--guide-line); border-radius: 18px; background: var(--guide-card); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22); }
.guide-table-wrap:focus-visible { outline: 2px solid var(--guide-green); outline-offset: 2px; }
.guide-prose table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.84rem; line-height: 1.5; }
.guide-prose th,
.guide-prose td { padding: 0.9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--guide-hairline); }
.guide-prose th { color: var(--guide-faint); background: rgba(94, 176, 255, 0.04); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--guide-line); }
.guide-prose td:first-child { color: var(--guide-ink); }
.guide-prose tr:last-child td { border-bottom: 0; }
.guide-fine-print { color: var(--guide-faint) !important; font-size: 0.78rem; line-height: 1.55 !important; }
.guide-figure { margin: 3rem 0; }
.guide-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--guide-hairline); border-radius: 16px; }
.guide-screenshot-spread { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 2.75rem 0 3.25rem; }
.guide-phone-shot { align-self: start; padding: 0.9rem; border: 1px solid var(--guide-line); border-radius: 22px; background: var(--guide-card); }
.guide-phone-shot img { display: block; width: 100%; aspect-ratio: 9 / 19.5; object-fit: contain; object-position: center top; border-radius: 16px; background: var(--guide-wash); }
.guide-phone-shot p { margin: 0; padding: 0.85rem 0.35rem 0.25rem; color: var(--guide-muted); font-size: 0.8rem; line-height: 1.55; }
.guide-screenshot-spread > figcaption { grid-column: 1 / -1; margin-top: 0; }

/* ---------- Author card and CTA ---------- */

.guide-author-card { margin-top: 4rem; padding: clamp(1.6rem, 3vw, 2.15rem); border: 1px solid var(--guide-line); border-top: 3px solid var(--guide-green); border-radius: 22px; background: linear-gradient(145deg, var(--guide-card), var(--guide-wash)); box-shadow: var(--guide-shadow); }
.guide-author-card h2 { margin: 0.75rem 0 0.9rem; color: var(--guide-ink); font-family: var(--guide-display); font-size: clamp(1.35rem, 2.2vw, 1.65rem); font-weight: 730; letter-spacing: -0.01em; }
.guide-author-card h2 span { color: var(--guide-muted); font-weight: 400; }
.guide-author-card p { margin: 0; color: var(--guide-body); font-size: 0.98rem; line-height: 1.75; }
.guide-author-card p + p { margin-top: 0.85rem; }
.guide-author-card a { color: var(--guide-green-dark); text-decoration: underline; text-underline-offset: 2px; }
.guide-author-card__contact,
.guide-author-card__review { color: var(--guide-muted) !important; font-size: 0.88rem !important; }
.guide-author-card__review { padding-top: 0.85rem; border-top: 1px solid var(--guide-hairline); }

.guide-cta {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.35rem;
  overflow: hidden;
  max-width: 780px;
  margin: 4rem auto 0;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(94, 176, 255, 0.18);
  border-radius: 26px;
  color: var(--guide-ink);
  background:
    radial-gradient(circle at 15% 0, rgba(94, 176, 255, 0.18), transparent 17rem),
    linear-gradient(145deg, #111f3d, var(--guide-green-deep));
  box-shadow: var(--guide-shadow);
}

.guide-cta__icon { display: block; width: 64px; height: 64px; border-radius: 17px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.guide-cta h2 { margin: 0.4rem 0 0.55rem; font-family: var(--guide-display); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 740; line-height: 1.12; letter-spacing: -0.035em; }
.guide-cta p { max-width: 560px; margin: 0; color: var(--guide-muted); font-size: 0.9rem; line-height: 1.55; }
.guide-cta__actions { display: grid; justify-items: center; }
.guide-cta__actions a { display: inline-flex; min-width: 180px; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.78rem 1.15rem; border: 1px solid var(--guide-green-dark); border-radius: 999px; color: #04101f; background: var(--guide-green-dark); font-size: 0.82rem; font-weight: 800; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.guide-cta__actions a:hover { transform: translateY(-2px); background: #b6dcff; text-decoration: none; }
.guide-cta__actions svg { width: 0.9rem; height: 0.9rem; }

/* ---------- Read more ---------- */

.guide-read-more { margin-top: clamp(6rem, 12vw, 10rem); padding: 1.1rem 0 6rem; border-top: 1px solid var(--guide-line); }
.tool-read-more { margin-top: clamp(4rem, 8vw, 6rem); padding-bottom: 2rem; }
.guide-read-more > p { margin: 0 0 1rem; color: var(--guide-ink); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.guide-read-more > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--guide-line); }
.guide-read-more a { display: flex; min-width: 0; padding: 1.3rem 1rem 0 0; flex-direction: column; color: var(--guide-ink); text-decoration: none; }
.guide-read-more a + a { padding-left: 1rem; border-left: 1px solid var(--guide-line); }
.guide-read-more img,
.guide-read-more__art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-bottom: 1rem; border: 1px solid var(--guide-hairline); border-radius: 12px; object-fit: cover; transition: transform 180ms ease; }
.guide-read-more__art { display: grid; place-items: center; color: var(--guide-green-dark); background: linear-gradient(145deg, var(--guide-card), var(--guide-wash)); font-family: var(--guide-serif); font-size: 1.4rem; }
.guide-read-more a:hover :is(img, .guide-read-more__art) { transform: translateY(-3px); }
.guide-read-more strong { font-family: var(--guide-display); font-size: 1rem; font-weight: 720; line-height: 1.25; }
.guide-read-more a > span:not(.guide-read-more__art) { display: -webkit-box; overflow: hidden; margin-top: 0.45rem; color: var(--guide-muted); font-size: 0.76rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.guide-read-more time { margin-top: 0.8rem; color: var(--guide-muted); font-size: 0.68rem; }

/* ---------- Shared tool page shell ---------- */

.tool-page { position: relative; overflow: clip; background: radial-gradient(circle at 13% 5%, rgba(94, 176, 255, 0.12), transparent 30rem), radial-gradient(circle at 88% 11%, rgba(255, 178, 77, 0.07), transparent 30rem); }
.tool-page-hero { padding: clamp(4.5rem, 8vw, 7rem) 0 4rem; text-align: center; }
.tool-page-hero .guides-container { position: relative; display: flex; max-width: 900px; flex-direction: column; align-items: center; }
.tool-page-back { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--guide-muted); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.tool-page-back:hover { color: var(--guide-green-dark); }
.tool-page-back svg { width: 0.95rem; height: 0.95rem; }
body.tool-page .tool-page-hero h1 { max-width: 840px; margin: 0.9rem 0 1rem; color: var(--guide-ink); font-family: var(--guide-display); font-size: clamp(2.2rem, 4vw, 3.35rem); font-weight: 760; line-height: 0.98; letter-spacing: -0.055em; text-wrap: balance; }
.tool-page-hero > .guides-container > p { max-width: 690px; margin: 0; color: var(--guide-muted); font-size: clamp(1rem, 1.8vw, 1.17rem); font-weight: 520; line-height: 1.65; }
.tool-page-workbench { position: relative; z-index: 2; }
.tool-workbench-card { max-width: 980px; margin: 0 auto; padding: clamp(1.35rem, 3vw, 2.4rem); border: 1px solid var(--guide-line); border-radius: 30px; background: rgba(17, 26, 48, 0.96); box-shadow: var(--guide-shadow); }
.tool-workbench-card > header > span { color: var(--guide-green-dark); font-size: 0.73rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.tool-workbench-card h2 { margin: 0.25rem 0 1rem; color: var(--guide-ink); font-size: clamp(1.65rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.045em; }

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .guide-toc { display: none; }
}

@media (max-width: 1040px) {
  .guide-directory { gap: 2.5rem; }
  .guide-directory-row { grid-template-columns: 112px minmax(0, 1fr) 16px; }
  .guide-directory-image,
  .guide-directory-tool-art { width: 112px; height: 84px; }
  .guide-index-bar { grid-template-columns: auto minmax(0, 1fr); }
  .guide-index-bar > .guide-index-bar__button,
  .guide-index-bar__actions { grid-column: 2; justify-self: start; }
  .guide-cta { grid-template-columns: 56px minmax(0, 1fr); }
  .guide-cta__icon { width: 56px; height: 56px; }
  .guide-cta__actions { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  .guide-directory { grid-template-columns: 1fr; gap: 4rem; }
  .guide-read-more > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-read-more a:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 680px) {
  .guides-container,
  .guide-container,
  .guide-page .guide-container { width: min(100% - 1.5rem, 1200px); }
  .guides-index { padding-bottom: 4.5rem; }
  .guides-index-search { padding: 3.5rem 0 2rem; }
  .guide-search { min-height: 58px; padding-left: 1rem; }
  .guide-search input { height: 44px; }
  .guide-search button { min-width: 90px; min-height: 44px; padding-inline: 1rem; }
  .guide-directory { padding-bottom: 4.5rem; }
  .guide-directory-row { grid-template-columns: 96px minmax(0, 1fr); min-height: 116px; gap: 0.85rem; padding: 1rem 0; }
  .guide-directory-image,
  .guide-directory-tool-art { width: 96px; height: 74px; border-radius: 12px; }
  .guide-directory-arrow { display: none; }
  .guide-directory-description { -webkit-line-clamp: 1; }
  .guide-index-bar { grid-template-columns: 1fr; justify-items: start; border-radius: 25px; }
  .guide-index-bar > .guide-index-bar__button,
  .guide-index-bar__actions { grid-column: 1; }
  .guide-index-bar__actions { width: 100%; flex-wrap: wrap; }
  .guide-index-bar__button { width: 100%; }
  .guide-page .guide-container { padding-top: 3.5rem; padding-bottom: 4.5rem; }
  .guide-breadcrumb { margin-bottom: 2.4rem; }
  .guide-header h1 { font-size: clamp(2rem, 9vw, 2.2rem); }
  .guide-byline { align-items: flex-start; }
  .guide-byline__author { width: 100%; }
  .guide-hero-image { margin-bottom: 2.75rem; }
  .guide-hero-image img { border-radius: 22px; }
  .guide-app-head { grid-template-columns: 42px minmax(0, 1fr); padding: 1rem; }
  .guide-app-head__fallback,
  .guide-app-head__icon { width: 42px; height: 42px; border-radius: 13px; }
  .guide-app-head__rank { right: -0.3rem; bottom: -0.3rem; width: 1.25rem; height: 1.25rem; font-size: 0.58rem; }
  .guide-screenshot-spread { grid-template-columns: 1fr; }
  .guide-screenshot-spread > figcaption { grid-column: auto; }
  .guide-cta { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .guide-cta__actions { grid-column: 1; justify-self: center; }
  .guide-cta p { margin-inline: auto; }
  .tool-page-hero { padding: 3.5rem 0; }
  .tool-page-back { position: static; align-self: flex-start; margin-bottom: 1.5rem; }
  body.tool-page .tool-page-hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
}

@media (max-width: 560px) {
  .guide-read-more > div { grid-template-columns: 1fr; }
  .guide-read-more a,
  .guide-read-more a + a { padding: 1.2rem 0; border-top: 1px solid var(--guide-line); border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .guide-search,
  .guide-search button,
  .guide-directory-image img,
  .guide-directory-tool-art img,
  .guide-directory-arrow,
  .guide-directory-copy > strong,
  .guide-index-bar__button,
  .guide-app-head__icon,
  .guide-cta__actions a,
  .guide-read-more img,
  .guide-read-more__art { transition: none; }
}
