/* =====================================================================
   RIFFLE: /guides long-form styling.
   Tokens copied verbatim from index.html :root so the guides read as the
   same product. If a token changes on the LP, change it here too.
   ===================================================================== */
:root {
  --ink: #0c0d12;
  --paper: #fcfaf6;
  --dim: #8a8f9e;
  --text: #e7e9f0;
  --text-soft: #b9bdca;
  --now: #ff5c49;
  --next: #ffb020;
  --later: #8b7cf6;
  --done: #2bc48a;
  --hero: var(--now);
  --radius-card: 20px;
  --radius-pill: 999px;
  --maxw: 1120px;
  --readw: 44rem;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui:
    "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- chrome ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}
.brand svg {
  display: block;
}
.cta {
  display: inline-block;
  background: var(--hero);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(255, 92, 73, 0.35);
  white-space: nowrap;
}
.cta:hover {
  filter: brightness(1.07);
}

/* ---------- article ---------- */
article {
  max-width: var(--readw);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.eyebrow {
  color: var(--now);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.2vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 1rem;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.25;
  color: var(--paper);
  margin: 2.75rem 0 0.85rem;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--paper);
  margin: 1.75rem 0 0.5rem;
}
p {
  margin: 0 0 1.15rem;
  color: var(--text-soft);
}
article a {
  color: var(--now);
  text-decoration-color: rgba(255, 92, 73, 0.4);
  text-underline-offset: 3px;
}
strong {
  color: var(--text);
  font-weight: 700;
}
ul,
ol {
  color: var(--text-soft);
  padding-left: 1.2rem;
  margin: 0 0 1.15rem;
}
li {
  margin: 0.4rem 0;
}
hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin: 3rem 0;
}

/* the extractable answer block: what an LLM should lift */
.answer {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid var(--hero);
  border-radius: var(--radius-card);
  padding: 1.35rem 1.5rem;
  margin: 0 0 2rem;
}
.answer p:last-child {
  margin-bottom: 0;
}
.answer p:first-child {
  color: var(--text);
}

.note {
  font-size: 0.92rem;
  color: var(--dim);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 1rem;
  margin-top: 2.5rem;
}

/* ---------- tables ---------- */
.tablewrap {
  overflow-x: auto;
  margin: 0 0 1.5rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.96rem;
}
th,
td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
}
th {
  color: var(--paper);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}
td {
  color: var(--text-soft);
}
tr:last-child td {
  border-bottom: 0;
}

/* ---------- lane chips ---------- */
.lane {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.lane::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--c, var(--now));
}
.lane.now {
  --c: var(--now);
}
.lane.next {
  --c: var(--next);
}
.lane.later {
  --c: var(--later);
}
.lane.done {
  --c: var(--done);
}
.lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0 0 1.5rem;
}

/* ---------- closing offer ---------- */
.offer {
  background: linear-gradient(
    180deg,
    rgba(255, 92, 73, 0.09),
    rgba(255, 92, 73, 0.03)
  );
  border: 1px solid rgba(255, 92, 73, 0.25);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  margin: 3rem 0 0;
  text-align: center;
}
.offer h2 {
  margin-top: 0;
}
.offer p {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- hub cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 0;
}
.card {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.card:hover {
  border-color: rgba(255, 92, 73, 0.45);
  transform: translateY(-2px);
}
.card h2 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}
.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 2rem 0 3rem;
  color: var(--dim);
  font-size: 0.9rem;
}
footer a {
  color: var(--text-soft);
  text-decoration: none;
}
footer a:hover {
  color: var(--now);
}
.footrow {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: space-between;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card {
    transition: none;
  }
}
