:root {
  --rt-navy: #1d2a44;
  --rt-navy-2: #2c3b5c;
  --rt-pink: #f2b8c6;
  --rt-pink-soft: #fbe3e9;
  --rt-cream: #fff8f3;
  --rt-coral: #e8664f;
  --rt-coral-dark: #c94a34;
  --rt-ink: #26304a;
  --rt-muted: #5d6680;
  --rt-line: #ecdcd3;
  --rt-white: #ffffff;
  --rt-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --rt-body: "Merriweather", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--rt-cream);
  color: var(--rt-ink);
  font: 400 16px/1.75 var(--rt-body);
}
img { max-width: 100%; height: auto; }
a { color: var(--rt-coral-dark); text-underline-offset: 2px; }
a:hover { color: var(--rt-navy); }
h1, h2, h3 { font-family: var(--rt-head); color: var(--rt-navy); line-height: 1.25; }

/* header */
.rt-top { background: var(--rt-white); border-bottom: 3px solid var(--rt-pink); }
.rt-top-in {
  max-width: 1040px; margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px;
}
.rt-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rt-navy); }
.rt-brand img { width: 40px; height: 40px; object-fit: contain; }
.rt-brand span { font: 600 15px/1 var(--rt-head); letter-spacing: .01em; }
.rt-nav { display: flex; gap: 6px; font: 500 13px/1 var(--rt-head); }
.rt-nav a { text-decoration: none; color: var(--rt-navy); padding: 8px 10px; border-radius: 999px; }
.rt-nav a[aria-current] { background: var(--rt-pink-soft); }

/* main column */
.rt-col { max-width: 860px; margin: 0 auto; padding: 18px 16px 48px; }
h1 { font-size: 30px; font-weight: 700; margin: 6px 0 10px; }
.rt-intro { margin: 0 0 10px; font-size: 16px; }
.rt-intro strong { color: var(--rt-navy); }
.rt-disc {
  margin: 0 0 14px; padding: 8px 12px; font: 400 12.5px/1.5 var(--rt-head); color: var(--rt-navy);
  background: var(--rt-pink-soft); border-radius: 10px;
}

/* board */
.rt-board { margin: 0 0 18px; }
.rt-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rt-row {
  display: grid; grid-template-columns: 30px 74px 1fr auto; align-items: center; gap: 14px;
  padding: 10px 14px; background: var(--rt-white); border: 1px solid var(--rt-line);
  border-left: 5px solid var(--rt-pink); border-radius: 14px; text-decoration: none; color: var(--rt-navy);
  transition: border-color .15s, box-shadow .15s;
}
.rt-row:hover { border-left-color: var(--rt-coral); box-shadow: 0 4px 14px rgba(29, 42, 68, .1); color: var(--rt-navy); }
.rt-pos {
  width: 30px; height: 30px; border-radius: 50%; background: var(--rt-navy); color: var(--rt-white);
  display: grid; place-items: center; font: 700 14px/1 var(--rt-head);
}
.rt-logo {
  width: 74px; height: 44px; border: 1px solid var(--rt-line); border-radius: 8px; background: var(--rt-white);
  display: grid; place-items: center; overflow: hidden; padding: 3px;
}
.rt-logo img { width: 100%; height: 100%; object-fit: contain; }
.rt-logo-t { font: 600 11px/1.1 var(--rt-head); text-align: center; color: var(--rt-navy); }
.rt-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rt-name { font: 600 17px/1.2 var(--rt-head); }
.rt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rt-chip {
  font: 500 12px/1 var(--rt-head); padding: 5px 8px; border-radius: 999px;
  background: var(--rt-cream); border: 1px solid var(--rt-pink);
}
.rt-chip i { font-style: normal; color: var(--rt-muted); }
.rt-cta {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px;
  background: var(--rt-coral); color: var(--rt-white); font: 600 14px/1 var(--rt-head); white-space: nowrap;
}
.rt-row:hover .rt-cta { background: var(--rt-coral-dark); }
.rt-board-note { margin: 8px 2px 0; font: 400 11.5px/1.5 var(--rt-head); color: var(--rt-muted); }

/* byline + jump */
.rt-byline { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.rt-byline img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--rt-pink); }
.rt-byline p { margin: 0; font: 400 13.5px/1.45 var(--rt-head); }
.rt-byline span { color: var(--rt-muted); font-size: 12.5px; }
.rt-jump details { background: var(--rt-white); border: 1px solid var(--rt-line); border-radius: 12px; padding: 10px 16px; }
.rt-jump summary { cursor: pointer; font: 600 14px/1.4 var(--rt-head); color: var(--rt-navy); }
.rt-jump ol { margin: 10px 0 4px; padding-left: 20px; font: 400 14px/1.8 var(--rt-head); }

/* sections */
.rt-sec { margin-top: 44px; padding-top: 26px; border-top: 2px dotted var(--rt-pink); }
.rt-sec h2 { font-size: 24px; font-weight: 700; margin: 0 0 14px; }
.rt-sec h2::before {
  content: ""; display: block; width: 42px; height: 5px; border-radius: 3px; background: var(--rt-coral); margin-bottom: 12px;
}
.rt-sec h3 { font-size: 18px; font-weight: 600; margin: 26px 0 8px; }
.rt-sec p { margin: 0 0 14px; }

/* fiches grid */
.rt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.rt-fiche {
  background: var(--rt-white); border: 1px solid var(--rt-line); border-top: 6px solid var(--rt-pink);
  border-radius: 16px; padding: 18px 20px 6px; font-size: 15px;
}
.rt-fiche:nth-child(odd) { border-top-color: var(--rt-navy); }
.rt-fiche:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rt-fiche h3 { margin: 0 0 10px; font-size: 17px; }

/* calculator */
.rt-calc { background: var(--rt-navy); color: var(--rt-white); border-radius: 18px; padding: 20px; margin: 18px 0 22px; }
.rt-calc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; font: 500 13px/1.4 var(--rt-head); }
.rt-calc-form label { display: flex; flex-direction: column; gap: 6px; }
.rt-calc-form input[type=number] {
  font: 500 16px/1 var(--rt-head); padding: 10px 12px; border-radius: 10px; border: 2px solid var(--rt-pink);
  background: var(--rt-cream); color: var(--rt-navy); width: 100%;
}
.rt-calc-form fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.rt-calc-form legend { padding: 0; margin-bottom: 6px; color: var(--rt-pink); }
.rt-calc-form .rt-radio { flex-direction: row; align-items: center; gap: 8px; }
.rt-calc-form input[type=radio] { accent-color: var(--rt-coral); width: 18px; height: 18px; }
.rt-calc-out { margin-top: 16px; padding: 14px 16px; background: var(--rt-navy-2); border-radius: 12px; }
.rt-calc-out p { margin: 0; font-family: var(--rt-head); }
.rt-calc-total { font-size: 18px; }
.rt-calc-total b { color: var(--rt-pink); font-size: 26px; }
.rt-calc-sub { font-size: 13.5px; color: #d6dcea; margin-top: 4px !important; }
.rt-calc-note { margin: 12px 0 0 !important; font: 400 12px/1.5 var(--rt-head); color: #c3cbe0; }

/* go links in reviews */
.rt-go {
  display: inline-block; margin-top: 4px; padding: 7px 14px; border-radius: 999px; border: 2px solid var(--rt-coral);
  font: 600 13px/1.2 var(--rt-head); text-decoration: none; color: var(--rt-coral-dark); background: var(--rt-white);
}
.rt-go:hover { background: var(--rt-coral); color: var(--rt-white); }

/* legal + author + faq */
.rt-legal { background: var(--rt-pink-soft); border-left: 5px solid var(--rt-coral); border-radius: 12px; padding: 14px 18px; margin-top: 18px; }
.rt-legal p { margin: 0; font-size: 14.5px; }
.rt-author {
  display: flex; gap: 16px; align-items: center; margin-top: 44px; padding: 18px; background: var(--rt-white);
  border: 1px solid var(--rt-line); border-radius: 16px;
}
.rt-author img { width: 96px; height: 96px; border-radius: 50%; flex: none; border: 3px solid var(--rt-pink); }
.rt-author p { margin: 0; font-size: 14.5px; }
.rt-author-n { font: 600 16px/1.3 var(--rt-head) !important; color: var(--rt-navy); margin-bottom: 4px !important; }
.rt-faq-i { background: var(--rt-white); border: 1px solid var(--rt-line); border-radius: 14px; padding: 14px 18px 2px; margin-bottom: 12px; }
.rt-faq-i h3 { margin: 0 0 8px; font-size: 16.5px; }

/* footer */
.rt-foot { background: var(--rt-navy); color: #dfe4f0; }
.rt-foot-in { max-width: 860px; margin: 0 auto; padding: 26px 16px 32px; font: 400 13px/1.6 var(--rt-head); }
.rt-foot a { color: var(--rt-pink); }
.rt-foot-brand a { font: 600 17px/1 var(--rt-head); text-decoration: none; color: var(--rt-white); }

@media (max-width: 640px) {
  body { font-size: 15.5px; line-height: 1.7; }
  .rt-top-in { min-height: 52px; padding: 6px 12px; }
  .rt-brand img { width: 32px; height: 32px; }
  .rt-brand span { font-size: 14px; }
  .rt-brand { gap: 6px; }
  .rt-brand span { font-size: 13px; }
  .rt-nav { gap: 2px; }
  .rt-nav a { padding: 6px 7px; font-size: 11.5px; }
  h1 { font-size: 23px; margin-top: 2px; }
  .rt-intro { font-size: 14.5px; line-height: 1.6; }
  .rt-disc { font-size: 11.5px; padding: 6px 10px; }
  .rt-row { grid-template-columns: 24px 62px 1fr auto; gap: 10px; padding: 8px 10px; }
  .rt-pos { width: 24px; height: 24px; font-size: 12px; }
  .rt-logo { width: 62px; height: 38px; }
  .rt-name { font-size: 15px; }
  .rt-cta { padding: 9px 12px; font-size: 13px; }
  .rt-grid, .rt-calc-form { grid-template-columns: 1fr; }
  .rt-fiche:last-child:nth-child(odd) { grid-column: auto; }
  .rt-sec h2 { font-size: 21px; }
  .rt-author { flex-direction: column; align-items: flex-start; }
}
