:root {
  --navy: #0b1d3a;
  --navy-soft: #132b4f;
  --gold: #c49a4b;
  --gold-pale: #ead9b5;
  --cream: #faf7f2;
  --paper: #fffefa;
  --ink: #182033;
  --muted: #596273;
  --line: rgba(11, 29, 58, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1160px;
  --reading: 760px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 0.18em; }
a:hover { color: #765712; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.rws-skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
}
.rws-skip:focus { left: 12px; }

.rws-library-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.94);
  backdrop-filter: blur(16px);
}
.rws-library-nav__inner {
  width: min(var(--content), calc(100% - (2 * var(--gutter))));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.rws-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.rws-wordmark::before {
  width: 27px;
  height: 27px;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 48% 52%;
  content: "";
  background:
    radial-gradient(circle at 62% 38%, var(--gold) 0 3px, transparent 3.5px),
    linear-gradient(135deg, transparent 46%, var(--gold) 47% 50%, transparent 51%);
}
.rws-library-nav__links {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2vw, 30px);
  font-size: 14px;
}
.rws-library-nav__links a { text-decoration: none; }
.rws-library-nav__links .rws-nav-cta {
  padding: 10px 17px;
  border-radius: 7px;
  color: #fff;
  background: var(--navy);
}
.rws-library-nav__links .rws-nav-cta:hover {
  color: #fff;
  background: var(--navy-soft);
}

.rws-decision-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 128px) var(--gutter) clamp(68px, 9vw, 110px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 12%, rgba(196, 154, 75, 0.25), transparent 31%),
    linear-gradient(145deg, var(--navy), #07152b);
}
.rws-decision-hero::after {
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(234, 217, 181, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(234, 217, 181, 0.03), 0 0 0 90px rgba(234, 217, 181, 0.025);
  content: "";
}
.rws-decision-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--content), 100%);
  margin: 0 auto;
}
.rws-breadcrumbs {
  margin: 0 0 42px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
}
.rws-breadcrumbs a { color: inherit; }
.rws-eyebrow {
  margin: 0 0 18px;
  color: var(--gold-pale);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.rws-decision-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.rws-decision-hero__lede {
  max-width: 750px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
}
.rws-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}
.rws-byline strong { color: #fff; }

.rws-answer-wrap {
  width: min(var(--content), calc(100% - (2 * var(--gutter))));
  margin: clamp(-44px, -4vw, -28px) auto 0;
}
.rws-answer {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.65fr);
  gap: clamp(28px, 4vw, 60px);
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(196, 154, 75, 0.28);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 22px 60px rgba(11, 29, 58, 0.1);
}
.rws-answer h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.12;
}
.rws-answer p { margin: 0; color: #3e4858; }
.rws-answer__rule {
  align-self: center;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}
.rws-answer__rule strong {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rws-compare a.rws-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.rws-compare a.rws-card:hover {
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.rws-article {
  width: min(var(--reading), calc(100% - (2 * var(--gutter))));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 118px) 0;
}
.rws-article section + section { margin-top: clamp(62px, 8vw, 92px); }
.rws-article h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.rws-article h3 {
  margin: 32px 0 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
}
.rws-article p { margin: 0 0 20px; }
.rws-article ul, .rws-article ol { margin: 20px 0 0; padding-left: 1.35em; }
.rws-article li + li { margin-top: 12px; }
.rws-article li::marker { color: var(--gold); font-weight: 700; }
.rws-intro {
  color: #3d4858;
  font-size: 20px;
}

.rws-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.rws-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.rws-card--gold { border-top: 3px solid var(--gold); }
.rws-card h3 { margin-top: 0; }
.rws-card p:last-child { margin-bottom: 0; }
.rws-card__label {
  display: block;
  margin-bottom: 10px;
  color: #8a6823;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rws-sequence {
  padding: clamp(28px, 5vw, 44px);
  border-radius: 14px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}
.rws-sequence h2, .rws-sequence h3 { color: #fff; }
.rws-sequence li::marker { color: var(--gold-pale); }

.rws-questions {
  padding: clamp(26px, 5vw, 42px);
  border-left: 4px solid var(--gold);
  background: var(--cream);
}
.rws-questions h2 { font-size: clamp(30px, 4vw, 42px); }

.rws-sources {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.rws-sources h2 { font-size: clamp(28px, 4vw, 38px); }
.rws-sources li { padding-left: 5px; }
.rws-sources a {
  font-weight: 650;
  text-decoration-thickness: 1px;
}
.rws-source-note {
  color: var(--muted);
  font-size: 14px;
}

.rws-author {
  width: min(940px, calc(100% - (2 * var(--gutter))));
  margin: 0 auto clamp(70px, 9vw, 110px);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.rws-author img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: 52% 42%;
}
.rws-author__copy { padding: clamp(30px, 5vw, 50px); }
.rws-author__copy h2 {
  margin: 0 0 13px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 34px;
}
.rws-author__copy p { margin: 0 0 14px; }
.rws-author__copy p:last-child { margin-bottom: 0; }

.rws-next {
  padding: clamp(64px, 9vw, 110px) var(--gutter);
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, var(--navy), #07152b);
}
.rws-next__inner { width: min(780px, 100%); margin: 0 auto; }
.rws-next h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 500;
  line-height: 1.05;
}
.rws-next p {
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.73);
}
.rws-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.rws-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  color: var(--navy);
  background: var(--gold-pale);
  font-weight: 750;
  text-decoration: none;
}
.rws-button:hover { color: var(--navy); background: #f5e8cc; }
.rws-button--ghost { color: #fff; background: transparent; }
.rws-button--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.rws-library-footer {
  padding: 46px var(--gutter);
  color: rgba(255, 255, 255, 0.65);
  background: #061126;
  font-size: 12px;
}
.rws-library-footer__inner { width: min(var(--content), 100%); margin: 0 auto; }
.rws-library-footer p { max-width: 960px; margin: 0 0 12px; }
.rws-library-footer a { color: rgba(255, 255, 255, 0.83); }
.rws-library-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin-top: 18px;
}

@media (max-width: 780px) {
  .rws-library-nav__links a:not(.rws-nav-cta) { display: none; }
  .rws-library-nav__inner { min-height: 66px; }
  .rws-answer { grid-template-columns: 1fr; }
  .rws-answer__rule { padding: 20px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .rws-compare { grid-template-columns: 1fr; }
  .rws-author { grid-template-columns: 1fr; }
  .rws-author img { height: 260px; min-height: 0; object-position: 50% 38%; }
}

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