/* Guide / article pages — sell visual system */

body.guide-page {
  background: #f7f1e6;
}

.guide-page .site-header {
  margin-bottom: 16px;
}

/* —— Hero —— */
.guide-hero {
  position: relative;
  background: #000;
  color: #f4f5f2;
  padding: 56px 16px 64px;
  overflow: hidden;
  border-radius: 40px;
  margin: 0 0 16px;
}

.guide-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(224, 89, 42, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(224, 89, 42, 0.08), transparent 55%),
    repeating-linear-gradient(
      -12deg,
      transparent 0,
      transparent 14px,
      rgba(255, 255, 255, 0.018) 14px,
      rgba(255, 255, 255, 0.018) 15px
    );
  pointer-events: none;
}

.guide-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.guide-hero__crumb {
  margin: 0 0 28px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
}

.guide-hero__crumb a {
  color: #8d8d96;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

.guide-hero__crumb a:hover {
  color: #e0592a;
}

.guide-hero__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 22px;
}

.guide-hero__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(224, 89, 42, 0.55);
  background: rgba(224, 89, 42, 0.12);
  color: #e0592a;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 13px;
  color: #8d8d96;
}

.guide-hero__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5c5c66;
}

.guide-hero__reviewed {
  color: #a3a6ad;
}

.guide-hero__title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
}

.guide-hero__title em,
.guide-hero__title span {
  font-style: normal;
  color: #e0592a;
}

.guide-hero__lead {
  margin: 0;
  max-width: 36rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #a3a6ad;
}

/* —— Article body —— */
.guide-article {
  background: #f7f1e6;
  padding: clamp(8px, 2vw, 16px) 16px clamp(40px, 6vw, 72px);
}

.guide-article__inner {
  max-width: 760px;
  margin: 0 auto;
}

.guide-article__note {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(224, 89, 42, 0.35);
  background: rgba(224, 89, 42, 0.08);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  color: #4a4032;
}

.guide-prose {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.075rem;
  line-height: 1.7;
  color: #2a2d33;
}

.guide-prose > * + * {
  margin-top: 1.35em;
}

.guide-prose h2 {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #14161b;
  margin-top: 2.6em;
  line-height: 1.2;
}

.guide-prose h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #14161b;
  margin-top: 2em;
}

.guide-prose p {
  margin: 0;
}

.guide-prose a {
  color: #e0592a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.guide-prose a:hover {
  color: #c94e24;
}

.guide-prose strong {
  font-weight: 620;
  color: #14161b;
}

.guide-prose ul,
.guide-prose ol {
  display: grid;
  gap: 0.55em;
  padding-left: 1.25em;
  margin: 0;
}

.guide-prose li > ul {
  margin-top: 0.55em;
}

.guide-prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid #e0592a;
  color: #4a4032;
  font-style: italic;
}

.guide-prose code {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.88em;
  background: rgba(20, 22, 27, 0.06);
  padding: 2px 6px;
  border-radius: 5px;
}

/* Orange card tables — sell accent fill like Ask us */
.guide-prose .table-scroll {
  overflow-x: auto;
  margin: 1.8em 0;
  border: 1px solid #e0592a;
  border-radius: 20px;
  background: #e0592a;
  color: #fff;
}

.guide-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.guide-prose th,
.guide-prose td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  vertical-align: top;
  color: rgba(255, 255, 255, 0.92);
}

.guide-prose th {
  background: rgba(0, 0, 0, 0.12);
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.guide-prose td strong {
  color: #fff;
  font-weight: 620;
}

.guide-prose .table-scroll a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-prose .table-scroll a:hover {
  color: #14161b;
}

.guide-prose tbody tr:hover td {
  background: rgba(0, 0, 0, 0.1);
}

.guide-prose tr:last-child td {
  border-bottom: 0;
}

/* Consecutive dark bands share one ink shell (no cream gutter between). */
/* Square into the footer so cream does not show between ink and footer. */
.guide-ink {
  background: #000;
  border-radius: 40px 40px 0 0;
  margin: 0;
  overflow: hidden;
  color: #f4f5f2;
}

.guide-ink .guide-ask.contact-band,
.guide-ink .guide-related {
  background: transparent !important;
  border-radius: 0;
  margin: 0;
}

/* —— Ask CTA —— */
.guide-ask.contact-band {
  background: #000 !important;
  border-radius: 40px;
  margin: 0 0 16px;
  padding: clamp(28px, 4vw, 48px) 16px !important;
}

.guide-ink .guide-ask.contact-band {
  padding: clamp(28px, 4vw, 48px) 16px clamp(8px, 1.5vw, 16px) !important;
}

.guide-ink--stack .guide-ask.contact-band {
  padding-bottom: clamp(20px, 3vw, 32px) !important;
}

.guide-ask .contact {
  background: transparent;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  border: 1px solid rgba(224, 89, 42, 0.45);
  border-radius: 14px;
}

.guide-ask .contact__title {
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.guide-ask .contact__title .contact__brand {
  color: #e0592a;
}

.guide-ask .contact__note {
  color: #a3a6ad;
}

/* —— Related —— */
.guide-related {
  margin: 0 0 16px;
  padding: clamp(28px, 4vw, 48px) 16px clamp(40px, 5vw, 64px);
  background: #000;
  border-radius: 40px;
  color: #f4f5f2;
}

.guide-ink .guide-related {
  padding-top: clamp(8px, 1.5vw, 16px);
}

.guide-related__inner {
  max-width: 760px;
  margin: 0 auto;
}

.guide-related__title {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 28px;
}

.guide-related__title span {
  color: #e0592a;
}

.guide-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.guide-related__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.guide-related__row:hover {
  border-color: rgba(224, 89, 42, 0.55);
  background: rgba(224, 89, 42, 0.08);
  color: inherit;
}

.guide-related__copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.guide-related__tag {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0592a;
}

.guide-related__name {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fff;
  line-height: 1.25;
}

.guide-related__desc {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #a3a6ad;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-related__row .arrow {
  flex: none;
  width: 36px;
  aspect-ratio: 1;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.guide-related__row .arrow svg {
  width: 55%;
  height: 55%;
}

.guide-related__row:hover .arrow {
  transform: rotate(-45deg);
  border-color: #e0592a;
  background: #e0592a;
  color: #fff;
}

@media (max-width: 720px) {
  .guide-hero {
    border-radius: 28px;
    padding: 40px 16px 48px;
  }

  .guide-ask.contact-band,
  .guide-related {
    border-radius: 28px;
  }

  .guide-ink {
    border-radius: 28px 28px 0 0;
  }

  .guide-ask.contact-band {
    margin-left: 0;
    margin-right: 0;
  }

  .guide-hero__title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .guide-related__row {
    padding: 16px 16px;
    gap: 14px;
  }
}
