/* Real Women Real Love: plain pages (contact, legal, login, members, after-purchase sign-up). Owner: builder B.
   Loaded by rwrl_site_start() after rwrl.css; uses its tokens. Everything is scoped under .rwrl-plain / .rwrl-sheet-in. */

/* ---------- Text inside the white sheet ---------- */
.rwrl-sheet-in > :first-child { margin-top: 0; }
.rwrl-sheet-in > :last-child { margin-bottom: 0; }
.rwrl-sheet-in h2 { font-size: clamp(23px, 2.6vw, 28px); font-weight: 800; margin: 1.6em 0 .55em; }
.rwrl-sheet-in h3 { font-size: 21px; font-weight: 700; margin: 1.4em 0 .4em; }
.rwrl-sheet-in p { margin: 0 0 1.05em; }
.rwrl-sheet-in ul, .rwrl-sheet-in ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.rwrl-sheet-in li { margin: 0 0 .45em; }
.rwrl-sheet-in li::marker { color: var(--coral); }
.rwrl-plain .rs-lead { font-size: 20px; color: var(--ink); }
.rs-members .rs-lead { text-align: center; margin-bottom: .4em; }
.rs-form .rs-btn + .rs-small, .rs-form .rs-btn + p { margin-top: 16px; }
.rwrl-plain .rs-small { font-size: 17px; line-height: 1.55; color: var(--muted); }
.rwrl-plain .rs-center { text-align: center; }
.rwrl-plain .rs-hl { color: var(--coral-d); }
.rwrl-plain .rs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rwrl-plain .rs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Legal pages ---------- */
.rs-legal .rwrl-sheet-in { overflow-wrap: anywhere; }
.rs-legal .rwrl-sheet-in h2 { padding-top: 1.1em; border-top: 1px solid var(--line); }
.rs-legal .rwrl-sheet-in h2:first-child { padding-top: 0; border-top: 0; }
.rs-legal .rwrl-sheet-in ul { padding-left: 0; list-style: none; }
.rs-legal .rwrl-sheet-in ul li { position: relative; padding-left: 26px; }
.rs-legal .rwrl-sheet-in ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }

/* ---------- Two-column layout + cards ---------- */
.rs-split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.rs-split-main, .rs-split-side { min-width: 0; }
.rs-split-side { display: grid; gap: 22px; }
.rs-pic { display: block; width: 100%; border-radius: var(--r); box-shadow: var(--shadow); object-fit: cover; }
.rwrl-plain .rs-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 32px; }
.rwrl-plain .rs-card-soft { background: var(--blush); border-style: dashed; margin-top: 22px; }
.rwrl-plain .rs-card > :last-child { margin-bottom: 0; }
.rwrl-plain .rs-card h2 { margin-top: 0; font-size: 24px; }
.rwrl-plain .rs-note { background: #fff; box-shadow: var(--shadow); border-left: 5px solid var(--coral); font-size: 18px; }
.rwrl-plain .rs-note p { margin: 0 0 .7em; }
.rwrl-plain .rs-note-h { font: 800 19px/1.3 var(--head); color: var(--ink); margin: 0 0 .5em; }

/* ---------- Forms ---------- */
.rs-form .rs-field { margin: 0 0 18px; min-width: 0; }
.rs-form label { display: block; font: 700 17px/1.4 var(--head); color: var(--ink); margin: 0 0 7px; }
.rs-form input[type=text], .rs-form input[type=email], .rs-form input[type=password], .rs-form select, .rs-form textarea {
  display: block; width: 100%; font: 400 18px/1.4 var(--body); color: var(--ink); background: #fff;
  border: 1.5px solid #ead0d7; border-radius: 12px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s; }
.rs-form textarea { min-height: 170px; resize: vertical; }
.rs-form select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23c92a4d' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.rs-form ::placeholder { color: #a8939b; opacity: 1; }
.rs-form input:focus, .rs-form select:focus, .rs-form textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 65, 102, .16); }
.rs-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 18px; }
.rs-inline { display: flex; gap: 12px; align-items: stretch; }
.rs-inline input { flex: 1 1 auto; min-width: 0; }
.rs-inline .rs-btn { flex: none; }

/* ---------- Buttons (same coral pill as .rwrl-buy, smaller) ---------- */
.rwrl-plain .rs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; max-width: 100%; text-align: center;
  background: linear-gradient(180deg, #ff5a7b 0%, var(--coral) 55%, var(--coral-h) 100%); color: #fff; text-decoration: none;
  font: 800 18px/1.2 var(--head); padding: 15px 32px; border-radius: 60px; border: 0; cursor: pointer;
  box-shadow: 0 4px 0 var(--coral-d), 0 12px 26px rgba(255, 65, 102, .3); transition: transform .12s ease, box-shadow .12s ease; }
.rwrl-plain .rs-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 0 var(--coral-d), 0 16px 30px rgba(255, 65, 102, .36); }
.rwrl-plain .rs-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--coral-d), 0 6px 14px rgba(255, 65, 102, .3); }
.rwrl-plain .rs-btn:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }
.rwrl-plain .rs-btn .rwrl-ic { width: 20px; height: 20px; }
.rwrl-plain .rs-btn-wide { display: flex; width: 100%; margin-top: 8px; }
.rwrl-plain .rs-btn-small { font-size: 16px; padding: 11px 22px; min-height: 46px; }
.rwrl-plain .rs-btn { min-height: 48px; }
.rs-back { margin-top: 2em; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.rs-form .rs-help { margin: 8px 0 0; }
.rwrl-plain .rs-btn-ghost { background: #fff; color: var(--coral-d); box-shadow: inset 0 0 0 2px var(--coral); }
.rwrl-plain .rs-btn-ghost:hover { color: var(--coral-h); box-shadow: inset 0 0 0 2px var(--coral-h); }

/* ---------- Alerts ---------- */
.rs-alert { border-radius: 14px; padding: 16px 20px; margin: 0 0 22px; border: 1px solid; }
.rs-alert p { margin: 0; }
.rs-alert-h { font: 800 19px/1.3 var(--head); margin: 0 0 4px; }
.rs-ok { background: #effaf3; border-color: #bfe6cc; color: #1d5b33; }
.rs-ok .rs-alert-h { color: #1d5b33; }
.rs-err { background: #fff1f3; border-color: #f7b9c6; color: #8a1838; }
.rs-err .rs-alert-h { color: #8a1838; }

/* ---------- Members bar (inside the berry band) ---------- */
.rs-mbar { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; }
.rs-mbar-hi { font: 700 19px/1.3 var(--head); color: #fff; margin-right: 6px; }
.rs-mbar a { color: #fff; text-decoration: none; font: 700 16px/1 var(--head); padding: 10px 18px; border-radius: 40px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); transition: background .15s; }
.rs-mbar a:hover { color: #fff; background: rgba(255, 255, 255, .24); }

/* ---------- Members home: access cards ---------- */
.rs-access { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px; margin-top: 30px; }
.rs-access-card { display: flex; flex-direction: column; margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.rs-access-card:hover, .rs-access-card:focus-within { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow); }
.rs-access-pic { display: flex; align-items: center; justify-content: center; min-height: 250px; padding: 26px 20px;
  background: radial-gradient(420px 220px at 50% 110%, rgba(255, 65, 102, .22), transparent 70%), linear-gradient(160deg, var(--blush), #ffe6ec); }
.rs-access-pic-wide img { width: 100%; max-width: 340px; filter: drop-shadow(0 14px 22px rgba(74, 21, 48, .22)); }
.rs-access-body { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 30px; }
.rwrl-plain .rs-access-h { font: 800 23px/1.25 var(--head); color: var(--ink); margin: 0 0 12px; }
.rs-access-list { list-style: none; padding: 0 !important; margin: 0 0 22px !important; flex: 1; }
.rs-access-list li { position: relative; padding-left: 30px; }
.rs-access-list li::before { content: ""; position: absolute; left: 0; top: .32em; width: 19px; height: 19px; border-radius: 50%;
  background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.rs-access-body .rs-btn { align-self: flex-start; }

/* Fanned covers (members home + sign-up side) */
.rs-fan { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.rs-fan img { width: 132px; border-radius: 4px; box-shadow: 0 14px 26px rgba(74, 21, 48, .26); background: #fff; }
.rs-fan img:nth-child(1) { transform: rotate(-9deg) translate(34px, 10px); }
.rs-fan img:nth-child(2) { position: relative; z-index: 2; width: 150px; }
.rs-fan img:nth-child(3) { transform: rotate(9deg) translate(-34px, 10px); }
.rs-fan-side { padding: 26px 10px 30px; border-radius: var(--r); background: radial-gradient(360px 200px at 50% 110%, rgba(255, 65, 102, .22), transparent 70%), linear-gradient(160deg, var(--blush), #ffe6ec); }

/* ---------- Downloads page ---------- */
.rs-letter { max-width: 760px; margin: 0 auto 34px; padding: 26px 30px; background: var(--blush); border-radius: var(--r); border-left: 5px solid var(--coral); }
.rs-letter p:last-child { margin-bottom: 0; }
.rs-sign { font: italic 700 22px/1.4 var(--body); color: var(--berry); }
.rs-dl-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.rs-dl-grid > .rs-dl { flex: 0 1 calc((100% - 44px) / 3); min-width: 0; }
.rs-dl { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px 24px; }
.rs-dl img { width: 140px; border-radius: 4px; box-shadow: 0 12px 22px rgba(74, 21, 48, .22); margin-bottom: 18px; }
.rs-dl-body { display: flex; flex-direction: column; align-items: center; flex: 1; width: 100%; }
.rwrl-plain .rs-dl-tag { display: inline-block; margin: 0 0 8px; padding: 3px 12px; border-radius: 30px; background: var(--coral-soft); color: var(--coral-d); font: 800 16px/1.5 var(--head); }
.rwrl-plain .rs-dl-h { font: 700 19px/1.35 var(--head); color: var(--ink); margin: 0 0 18px; flex: 1; }
.rs-dl-grid > .rs-dl-main { flex-basis: 100%; }
.rs-dl-main { flex-direction: row; text-align: left; gap: 34px; padding: 30px 36px; background: linear-gradient(160deg, var(--blush), #ffe6ec); border-color: #f5c6d1; }
.rs-dl-main img { width: 170px; margin: 0; }
.rs-dl-main .rs-dl-body { align-items: flex-start; }
.rwrl-plain .rs-dl-main .rs-dl-h { font-size: 26px; flex: 0; }
.rs-dl-main .rs-dl-tag { background: var(--coral); color: #fff; }
.rs-gift { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 34px; align-items: center; margin-top: 40px; padding: 34px 36px;
  border-radius: 22px; background: linear-gradient(160deg, var(--berry), var(--berry-d)); color: #f4cfd9; }
.rs-gift img { border-radius: 4px; box-shadow: 0 16px 30px rgba(0, 0, 0, .35); }
.rwrl-sheet-in .rs-gift h2 { color: #fff; margin: 0 0 .5em; }
.rs-gift a:not(.rs-btn) { color: #fff; }

/* ---------- After-purchase sign-up ---------- */
.rs-steps { display: flex; gap: 8px; margin: 0 0 26px; padding: 0; counter-reset: none; }
.rs-steps span { flex: 1; text-align: center; font: 700 16px/1.3 var(--head); color: var(--muted); padding: 10px 8px 12px; border-bottom: 4px solid var(--line); }
.rs-steps .done { color: var(--berry); border-color: #f2a3b5; }
.rs-steps .on { color: var(--coral-d); border-color: var(--coral); }
.rs-facts { margin: 0 0 22px; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.rs-facts div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; padding: 13px 18px; border-top: 1px solid var(--line); }
.rs-facts div:first-child { border-top: 0; }
.rs-facts dt { font: 700 16px/1.6 var(--head); color: var(--muted); }
.rs-facts dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.rs-confirm { max-width: 760px; margin: 0 auto; }
.rs-choice { margin: 0 0 18px; display: grid; gap: 10px; }
.rs-choice label { display: flex; gap: 12px; align-items: flex-start; font: 400 16px/1.55 var(--body); color: var(--text); margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.rs-choice input { margin-top: 4px; accent-color: var(--coral); flex: none; width: 18px; height: 18px; }
.rwrl-plain .rs-fine { margin: 30px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Phone / tablet ---------- */
@media (max-width: 860px) {
  .rs-split { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .rs-dl-grid > .rs-dl { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 760px) {
  .rwrl-plain .rs-btn { display: flex; width: 100%; }
  .rs-back .rs-btn { flex: 1 1 100%; }
  .rs-form input, .rs-form select, .rs-form textarea { font-size: 17px; }
  .rs-row2 { grid-template-columns: minmax(0, 1fr); }
  .rwrl-plain .rs-card { padding: 22px 18px; }
  .rs-inline { flex-direction: column; }
  .rs-dl-main { flex-direction: column; text-align: center; gap: 18px; padding: 26px 20px; }
  .rs-dl-main .rs-dl-body { align-items: center; }
  .rwrl-plain .rs-dl-main .rs-dl-h { font-size: 22px; }
  .rs-gift { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; padding: 28px 20px; gap: 20px; }
  .rs-gift img { width: 150px; }
  .rs-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .rs-steps span { font-size: 16px; padding: 8px 2px 10px; }
  .rs-access-body { padding: 22px 20px 24px; }
  .rs-access-body .rs-btn { align-self: stretch; }
  .rs-letter { padding: 20px 18px; }
}
@media (max-width: 520px) {
  .rs-dl-grid > .rs-dl { flex-basis: 100%; }
  .rs-fan img { width: 104px; }
  .rs-fan img:nth-child(2) { width: 120px; }
  .rs-fan img:nth-child(1) { transform: rotate(-9deg) translate(28px, 8px); }
  .rs-fan img:nth-child(3) { transform: rotate(9deg) translate(-28px, 8px); }
  .rs-access-pic { min-height: 200px; }
}

/* hidden attribute wins over the display rules above (EU newsletter choice on the thank-you page) */
.rwrl-sheet-in [hidden] { display: none !important; }

/* Phase 2 readability: help notes at body size (18px desktop, 17px phone) */
.rwrl-plain .rs-small { font-size: 18px; }
@media (max-width: 640px) { .rwrl-plain .rs-small { font-size: 17px; } }
