/* R3 Learning portal — scoped to .r3-portal. Brand tokens from r3resolutions.com.au. */
.r3-portal {
  --r3-cream: #FAFAEF;
  --r3-brown: #4D433A;
  --r3-taupe: #B29C87;
  --r3-teal: #7CA4A4;
  --r3-teal-dark: #334444;
  --r3-teal-deep: #243333;
  --r3-teal-tint: #E6F1EE;
  --r3-sage: #ADAFA3;
  --r3-sage-tint: #ECEDE6;
  --r3-white: #FFFFFF;
  --r3-line: rgba(77, 67, 58, 0.14);
  --r3-shadow: 0 10px 30px rgba(51, 68, 68, 0.08);
  --r3-shadow-soft: 0 6px 24px rgba(51, 68, 68, 0.06);
  --r3-radius: 18px;
  --r3-font-head: "proxima-nova", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --r3-font-body: "aktiv-grotesk", "Aktiv Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: var(--r3-cream);
  color: var(--r3-brown);
  font-family: var(--r3-font-body);
  line-height: 1.6;
  min-height: 70vh;
}
.r3-portal *, .r3-portal *::before, .r3-portal *::after { box-sizing: border-box; }
.r3-wrap { max-width: 1120px; margin: 0 auto; padding: 32px 20px 72px; }
.r3-portal h1, .r3-portal h2, .r3-portal h3, .r3-portal .r3-h1, .r3-portal .r3-h2, .r3-portal .r3-h3 { font-family: var(--r3-font-head); color: var(--r3-teal-dark); margin: 0; line-height: 1.15; }
.r3-portal .r3-h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.015em; }
.r3-portal .r3-h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.01em; }
.r3-portal .r3-h3 { font-size: 22px; font-weight: 600; margin-bottom: 18px; }
.r3-lede { font-size: 18px; color: rgba(77, 67, 58, 0.8); margin: 10px 0 0; max-width: 60ch; }
.r3-eyebrow { font-family: var(--r3-font-head); text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: var(--r3-teal-dark); margin: 0 0 10px; font-weight: 600; }
.r3-muted { color: rgba(77, 67, 58, 0.62); }
.r3-small { font-size: 14px; }
.r3-page-head { margin-bottom: 36px; }
.r3-section { margin-bottom: 48px; }
.r3-portal a { color: var(--r3-teal-dark); }
.r3-portal a:hover { color: var(--r3-brown); }

/* [r3_courses] embed inside a theme/Elementor page: no portal background, and card headings win over the theme's h3 */
.r3-portal.r3-embed { background: transparent; min-height: 0; }
.r3-embed .r3-card__title { font-family: var(--r3-font-head); font-size: 20px; font-weight: 600; line-height: 1.15; color: var(--r3-teal-dark); margin: 0 0 6px; }
.r3-embed .r3-card p { font-family: var(--r3-font-body); line-height: 1.6; }
.r3-embed .r3-teamcta { margin-top: 32px; }

/* Nav */
.r3-nav { background: var(--r3-teal-dark); color: var(--r3-cream); }
.r3-nav__inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; flex-wrap: wrap; }
.r3-nav__brand { font-family: var(--r3-font-head); font-weight: 700; letter-spacing: 0.04em; color: var(--r3-cream) !important; text-decoration: none; font-size: 18px; }
.r3-nav__brand span { color: var(--r3-teal); font-weight: 500; }
.r3-nav__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 22px; align-items: center; flex-wrap: wrap; }
.r3-nav__links a { color: rgba(250, 250, 239, 0.85) !important; text-decoration: none; font-size: 15px; padding: 18px 0; display: inline-block; border-bottom: 2px solid transparent; }
.r3-nav__links a:hover, .r3-nav__links a[aria-current="page"] { color: var(--r3-cream) !important; border-bottom-color: var(--r3-teal); }
.r3-nav__links .r3-btn { padding: 9px 18px; border-bottom: 0; }
.r3-nav__signout { opacity: 0.7; }

/* Buttons */
.r3-portal .r3-btn, .r3-portal button.r3-btn, .r3-portal a.r3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--r3-font-head); font-weight: 600; font-size: 16px; line-height: 1; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; text-decoration: none !important; cursor: pointer; transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease; }
.r3-btn:hover { transform: translateY(-1px); }
.r3-portal .r3-btn { font-size: 16px !important; padding: 14px 26px !important; border-radius: 999px !important; font-family: var(--r3-font-head) !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; line-height: 1 !important; box-shadow: none !important; }
.r3-portal .r3-btn--primary { background: var(--r3-teal-dark) !important; color: var(--r3-cream) !important; border-color: var(--r3-teal-dark) !important; }
.r3-portal .r3-btn--primary:hover { background: var(--r3-teal-deep) !important; border-color: var(--r3-teal-deep) !important; }
.r3-portal .r3-btn--secondary { background: transparent !important; color: var(--r3-teal-dark) !important; border-color: var(--r3-teal-dark) !important; }
.r3-portal .r3-btn--secondary:hover { background: var(--r3-teal-dark) !important; color: var(--r3-cream) !important; }
.r3-portal .r3-btn--ghost { background: transparent !important; color: var(--r3-brown) !important; border-color: var(--r3-line) !important; }
.r3-portal .r3-btn--ghost:hover { border-color: var(--r3-brown) !important; }
.r3-portal .r3-btn--block { width: 100%; }
.r3-portal .r3-btn--small { padding: 9px 18px !important; font-size: 14px !important; }
.r3-portal .r3-btn--large { padding: 18px 34px !important; font-size: 18px !important; }

/* Panels & forms */
.r3-panel { background: var(--r3-white); border-radius: var(--r3-radius); box-shadow: var(--r3-shadow); padding: 44px 40px; text-align: center; }
.r3-panel--narrow { max-width: 520px; margin: 24px auto; }
.r3-panel--left { text-align: left; }
.r3-panel .r3-h2 { margin-bottom: 10px; }
.r3-panel .r3-lede { margin: 0 auto 26px; font-size: 17px; }
.r3-panel__icon { font-size: 42px; color: var(--r3-teal); margin-bottom: 8px; }
.r3-panel__icon--success { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--r3-teal); color: var(--r3-white); font-size: 30px; }
.r3-form { text-align: left; margin-top: 18px; }
.r3-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.r3-field { display: block; margin-bottom: 16px; }
.r3-field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--r3-teal-dark); }
.r3-field input, .r3-field select { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px; border: 1.5px solid var(--r3-line); border-radius: 12px; background: var(--r3-cream); color: var(--r3-brown); }
.r3-field input:focus, .r3-field select:focus { outline: 3px solid rgba(124, 164, 164, 0.45); border-color: var(--r3-teal); }
.r3-field input:disabled { opacity: 0.7; }
.r3-field--inline { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; }
.r3-field--inline > span { margin: 0; }
.r3-field--inline select { width: auto; padding: 9px 36px 9px 12px; }
.r3-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 4px 0 20px; }
.r3-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--r3-teal-dark); }
.r3-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.r3-alert { padding: 12px 16px; border-radius: 12px; font-size: 15px; margin: 0 0 18px; text-align: left; }
.r3-alert--error { background: #FBEAE5; color: #7A2E1D; }
.r3-alert--success { background: var(--r3-teal-tint); color: #1F4D43; }
.r3-list { padding-left: 20px; text-align: left; margin: 10px 0 20px; }
.r3-list li { margin: 4px 0; }

/* Cards */
.r3-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.r3-card { background: var(--r3-white); border-radius: var(--r3-radius); box-shadow: var(--r3-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.r3-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(51, 68, 68, 0.12); }
.r3-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--r3-teal-dark), var(--r3-teal)); overflow: hidden; }
.r3-card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; padding: 14px 18px 0; display: block; }
.r3-card__placeholder { position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(250,250,239,0.25), transparent 50%), linear-gradient(135deg, var(--r3-teal-deep), var(--r3-teal)); }
.r3-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.r3-card__title { font-size: 20px; margin-bottom: 6px; }
.r3-card__title a { color: var(--r3-teal-dark); text-decoration: none; }
.r3-card__title a:hover { color: var(--r3-teal); }
.r3-card__meta { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--r3-taupe); margin: 0 0 10px; font-weight: 600; }
.r3-card__excerpt { font-size: 15px; margin: 0 0 14px; color: rgba(77, 67, 58, 0.85); }
.r3-card__note { margin: 10px 0 0; }
.r3-card__status { margin: 0 0 16px; min-height: 22px; }
.r3-card__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.r3-card--done .r3-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(51, 68, 68, 0.25); }
.r3-ring { position: absolute; right: 14px; bottom: 14px; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--r3-teal) calc(var(--p) * 1%), rgba(255,255,255,0.35) 0); display: grid; place-items: center; z-index: 1; }
.r3-ring span { width: 42px; height: 42px; border-radius: 50%; background: var(--r3-white); display: grid; place-items: center; font-family: var(--r3-font-head); font-weight: 700; font-size: 13px; color: var(--r3-teal-dark); }
.r3-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--r3-teal-tint); color: var(--r3-teal-dark); }
.r3-pill--done, .r3-pill--completed { background: var(--r3-teal-dark); color: var(--r3-cream); }
.r3-pill--in_progress { background: #F3EBDD; color: #7A5A2E; }
.r3-pill--muted, .r3-pill--not_started { background: rgba(77, 67, 58, 0.08); color: rgba(77, 67, 58, 0.75); }

/* Callout */
.r3-callout { margin-top: 40px; background: var(--r3-teal-dark); color: var(--r3-cream); border-radius: var(--r3-radius); padding: 24px 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.r3-callout a { color: var(--r3-cream); }
.r3-callout .r3-btn--secondary { color: var(--r3-cream) !important; border-color: var(--r3-teal); }
.r3-callout .r3-btn--secondary:hover { background: var(--r3-cream); border-color: var(--r3-cream); color: var(--r3-teal-dark) !important; }

/* Team licence CTA (catalogue) */
.r3-teamcta { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; background: var(--r3-white); border: 1px solid var(--r3-line); border-radius: var(--r3-radius); box-shadow: var(--r3-shadow-soft); overflow: hidden; }
.r3-teamcta__media { position: relative; min-height: 320px; background: var(--r3-teal-dark); }
.r3-teamcta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; display: block; }
.r3-teamcta__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.r3-teamcta__body .r3-h2 { margin-bottom: 14px; }
.r3-teamcta__body p { margin: 0; font-size: 17px; max-width: 48ch; }
.r3-teamcta__body .r3-btn { margin-top: 24px; }
@media (max-width: 900px) {
  .r3-teamcta { grid-template-columns: 1fr; }
  .r3-teamcta__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .r3-teamcta__body .r3-btn { width: 100%; }
}

/* Course page */
.r3-course__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-bottom: 48px; }
.r3-course__media img { width: 100%; border-radius: var(--r3-radius); box-shadow: var(--r3-shadow); display: block; }
.r3-facts { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.r3-facts li { background: var(--r3-white); border: 1px solid var(--r3-line); padding: 7px 14px; border-radius: 999px; font-size: 14px; }
.r3-facts li::before { content: "✓ "; color: var(--r3-teal); font-weight: 700; }
.r3-course__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.r3-price { font-family: var(--r3-font-head); font-size: 20px; font-weight: 600; color: var(--r3-teal-dark); }
.r3-prose { max-width: 72ch; font-size: 17px; }
.r3-prose h2, .r3-prose h3 { margin: 32px 0 12px; }

/* Team report */
.r3-inline { margin-bottom: 8px; }
.r3-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 36px; }
.r3-stat { background: var(--r3-white); border-radius: var(--r3-radius); padding: 22px 24px; box-shadow: var(--r3-shadow); }
.r3-stat__title { font-size: 17px; margin-bottom: 14px; }
.r3-stat__legend { font-size: 14px; margin: 10px 0 0; color: rgba(77, 67, 58, 0.75); }
.r3-stat__legend b { color: var(--r3-teal-dark); }
.r3-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(77, 67, 58, 0.1); }
.r3-bar__done { background: var(--r3-teal-dark); }
.r3-bar__progress { background: var(--r3-teal); }
.r3-table-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.r3-table-head .r3-h3 { margin: 0; }
.r3-table-wrap { overflow-x: auto; background: var(--r3-white); border-radius: var(--r3-radius); box-shadow: var(--r3-shadow); }
.r3-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.r3-table th, .r3-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--r3-line); vertical-align: top; }
.r3-table th { font-family: var(--r3-font-head); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--r3-taupe); }
.r3-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 760px) {
  .r3-wrap { padding: 24px 16px 56px; }
  .r3-panel { padding: 32px 22px; }
  .r3-form__row { grid-template-columns: 1fr; gap: 0; }
  .r3-course__hero { grid-template-columns: 1fr; gap: 24px; }
  .r3-course__media { order: -1; }
  .r3-nav__links a { padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) { .r3-portal * { transition: none !important; } }

/* Theme header: hide the Elementor page-title hero band on portal pages (duplicates our own heading). */
body.r3-portal .elementor-location-after-header { display: none !important; }
/* Slightly stronger card titles against the cream page. */
.r3-portal .r3-card__title a { color: var(--r3-teal-dark); }

/* ===================== Landing pages ===================== */
/* Visual language from the 2020 R3 style guide: airy cream/white bands, letterspaced labels with a short
   hairline rule, big coloured quote marks over a faint wash, the circle brand stamp as a corner watermark. */
.r3-landing { --r3-band-pad: clamp(48px, 7vw, 88px); }
.r3-landing .r3-wrap { padding-top: 0; padding-bottom: 0; }
.r3-wrap--narrow { max-width: 760px; }
.r3-band { padding: var(--r3-band-pad) 0; background: var(--r3-cream); position: relative; }
.r3-band--white { background: var(--r3-white); }
.r3-band--white + .r3-band--white { border-top: 1px solid var(--r3-line); }
.r3-band--sage { background: var(--r3-sage-tint); }
.r3-band--dark { background: var(--r3-teal-dark); color: var(--r3-cream); }
.r3-band--dark h1, .r3-band--dark h2, .r3-band--dark h3, .r3-band--dark .r3-h2 { color: var(--r3-cream); }
.r3-band--dark a { color: var(--r3-teal); }
.r3-band--hero { padding-top: clamp(36px, 5vw, 64px); }
.r3-center { text-align: center; }
.r3-lede--center { margin: 28px auto 0; max-width: 64ch; }
.r3-eyebrow--light { color: var(--r3-teal); }
.r3-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.r3-landing .r3-h2 { margin-bottom: 22px; font-size: clamp(27px, 3.2vw, 38px); }

/* Labels: letterspaced caps with a short hairline rule beneath (style guide motif) */
.r3-landing .r3-eyebrow { margin-bottom: 18px; }
.r3-landing .r3-eyebrow::after { content: ""; display: block; width: 28px; height: 1px; background: var(--r3-teal); margin-top: 10px; }
.r3-landing .r3-eyebrow--center { text-align: center; }
.r3-landing .r3-eyebrow--center::after { margin-left: auto; margin-right: auto; }
.r3-landing .r3-eyebrow--light::after { background: var(--r3-teal); }

/* Brand stamp watermark */
.r3-stamp::before { content: ""; position: absolute; width: clamp(180px, 22vw, 320px); aspect-ratio: 270 / 262.7; right: -4%; top: -6%; background: var(--r3-taupe); -webkit-mask: url("../img/r3-stamp.svg") no-repeat center / contain; mask: url("../img/r3-stamp.svg") no-repeat center / contain; opacity: 0.12; pointer-events: none; }
.r3-band--dark.r3-stamp::before { background: var(--r3-cream); opacity: 0.08; }
.r3-stamp > .r3-wrap { position: relative; }

/* Hero */
.r3-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.r3-portal .r3-hero__name { font-size: clamp(16px, 1.6vw, 19px); font-weight: 500; color: var(--r3-taupe); letter-spacing: 0.02em; margin: 0 0 10px; }
.r3-portal .r3-hero__title { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -0.02em; line-height: 1.1; }
.r3-hero__sub { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); }
.r3-hero__ctas { display: flex; gap: 14px 16px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.r3-hero__note { margin: 14px 0 0; font-size: 14px; color: rgba(77, 67, 58, 0.72); }
.r3-hero__price { margin: 6px 0 0; font-family: var(--r3-font-head); font-weight: 600; color: var(--r3-teal-dark); }
.r3-hero__signin { margin: 14px 0 0; }
.r3-hero__media { position: relative; }
.r3-hero__img { width: 100%; border-radius: var(--r3-radius); box-shadow: var(--r3-shadow); display: block; }
.r3-hero__placeholder { aspect-ratio: 4 / 3; border-radius: var(--r3-radius); box-shadow: var(--r3-shadow); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: radial-gradient(circle at 20% 20%, rgba(250,250,239,0.25), transparent 50%), linear-gradient(135deg, var(--r3-teal-deep), var(--r3-teal)); color: var(--r3-cream); position: relative; overflow: hidden; }
.r3-hero__placeholder::before { content: ""; position: absolute; width: 60%; aspect-ratio: 270 / 262.7; right: -12%; top: -14%; background: var(--r3-cream); -webkit-mask: url("../img/r3-stamp.svg") no-repeat center / contain; mask: url("../img/r3-stamp.svg") no-repeat center / contain; opacity: 0.14; }
.r3-hero__placeholder-title { font-family: var(--r3-font-head); font-weight: 600; font-size: 24px; line-height: 1.2; position: relative; }
.r3-hero__placeholder-sub { opacity: 0.75; font-size: 14px; margin-top: 6px; position: relative; }
.r3-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r3-radius); overflow: hidden; box-shadow: var(--r3-shadow); background: var(--r3-teal-dark); }
.r3-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.r3-video__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--r3-cream); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.25); transition: transform .15s ease; }
.r3-video__play:hover { transform: scale(1.06); }
.r3-video__play span { width: 0; height: 0; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--r3-teal-dark); margin-left: 5px; }
.r3-video__hint { position: absolute; left: 16px; bottom: 14px; background: rgba(51,68,68,0.75); color: var(--r3-cream); font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.r3-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.r3-trust { list-style: none; margin: clamp(36px, 5vw, 60px) 0 0; padding: 24px 0; border-top: 1px solid var(--r3-line); border-bottom: 1px solid var(--r3-line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; }
.r3-trust__item { display: flex; align-items: center; justify-content: center; flex: 1 1 140px; font-size: 14px; line-height: 1.35; color: rgba(77,67,58,0.85); }
.r3-trust__item img { height: clamp(72px, 8vw, 110px); width: auto; max-width: 220px; object-fit: contain; }

/* Promo video: muted autoplay, Vimeo's own controls */
.r3-band--promo { padding-top: clamp(28px, 4vw, 48px); }
.r3-promo { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r3-radius); overflow: hidden; background: var(--r3-teal-dark); box-shadow: var(--r3-shadow); }
.r3-promo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.r3-promo__caption { margin: 14px 0 0; }

/* The problem ("This is for you if") */
.r3-problem { list-style: none; padding: 0; margin: 0; }
.r3-problem li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid var(--r3-line); font-size: 18px; }
.r3-problem li:last-child { border-bottom: 1px solid var(--r3-line); }
.r3-problem li::before { content: ""; position: absolute; left: 6px; top: 27px; width: 10px; height: 10px; border-radius: 50%; background: var(--r3-taupe); }
.r3-problem__closing { margin: 28px 0 0; font-family: var(--r3-font-head); font-weight: 600; font-size: clamp(19px, 2vw, 24px); line-height: 1.35; color: var(--r3-teal-dark); }

/* Objections */
.r3-objections { margin: 0; display: grid; gap: 14px; }
.r3-objections > div { background: var(--r3-white); border-radius: 14px; padding: 20px 24px; border: 1px solid var(--r3-line); }
.r3-objections dt { font-family: var(--r3-font-head); font-weight: 600; font-size: 18px; color: var(--r3-teal-dark); margin-bottom: 6px; }
.r3-objections dd { margin: 0; }

/* Outcomes */
.r3-outcomes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 32px; }
.r3-outcomes li { position: relative; padding: 10px 0 10px 36px; font-size: 17px; }
.r3-outcomes li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 26px; height: 26px; border-radius: 50%; background: var(--r3-teal-tint); color: var(--r3-teal-dark); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.r3-payoff { margin: 32px 0 0; padding: 26px 30px; background: var(--r3-sage-tint); font-family: var(--r3-font-head); font-weight: 600; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; color: var(--r3-teal-dark); border-radius: 14px; }

/* What's inside */
.r3-inside { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.r3-keep { font-size: 17px; }
.r3-modules { list-style: none; counter-reset: mod; margin: 0; padding: 0; }
.r3-modules li { counter-increment: mod; position: relative; padding: 14px 0 14px 56px; border-top: 1px solid var(--r3-line); font-size: 17px; }
.r3-modules li:last-child { border-bottom: 1px solid var(--r3-line); }
.r3-modules li::before { content: counter(mod, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: var(--r3-font-head); font-weight: 600; color: var(--r3-teal); font-size: 15px; letter-spacing: 0.04em; }

/* Who it's for */
.r3-whofor__body { font-size: clamp(18px, 1.8vw, 21px); color: var(--r3-brown); margin-top: 0; }
.r3-band--sage .r3-h2 { margin-bottom: 16px; }

/* How it works */
.r3-steps { list-style: none; counter-reset: step; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.r3-steps li { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--r3-line); font-size: 17px; }
.r3-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--r3-font-head); font-weight: 600; font-size: 40px; line-height: 1; color: var(--r3-teal); margin-bottom: 14px; letter-spacing: -0.02em; }

/* Comparison (bundle) */
.r3-compare-wrap { overflow-x: auto; background: var(--r3-cream); border-radius: var(--r3-radius); border: 1px solid var(--r3-line); }
.r3-compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.r3-compare th, .r3-compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--r3-line); vertical-align: top; }
.r3-compare thead th { font-family: var(--r3-font-head); font-size: 18px; color: var(--r3-teal-dark); background: var(--r3-white); }
.r3-compare thead th a { color: var(--r3-teal-dark); text-decoration: none; }
.r3-compare tbody th { font-family: var(--r3-font-head); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--r3-taupe); width: 18%; }
.r3-compare tbody tr:last-child th, .r3-compare tbody tr:last-child td { border-bottom: 0; font-weight: 600; color: var(--r3-teal-dark); }

/* About */
.r3-about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.r3-about__photo img { width: 100%; height: auto; border-radius: var(--r3-radius); box-shadow: var(--r3-shadow); display: block; }
.r3-about__body { font-size: 17px; }
.r3-creds { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.r3-creds li { padding-left: 24px; position: relative; font-size: 15px; }
.r3-creds li::before { content: "•"; position: absolute; left: 6px; color: var(--r3-teal); font-weight: 700; }
.r3-creds--inline { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--r3-line); }
.r3-creds--inline li { padding-left: 0; font-size: 14px; color: rgba(77,67,58,0.85); }
.r3-creds--inline li::before { content: none; }
.r3-creds--inline li + li::before { content: "·"; position: static; display: inline-block; margin: 0 10px; color: var(--r3-taupe); font-weight: 700; }

/* Testimonials: big coloured opening quote over a faint wash, alternating teal / taupe / sage */
.r3-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 18px; }
.r3-quote { margin: 0; background: var(--r3-white) radial-gradient(ellipse at 85% 0%, rgba(124,164,164,0.12), transparent 55%) no-repeat; border: 1px solid var(--r3-line); border-radius: var(--r3-radius); padding: 30px 30px 26px; box-shadow: var(--r3-shadow-soft); display: flex; flex-direction: column; }
.r3-quote blockquote { margin: 0; padding: 0; border: 0; flex: 1; font-style: normal; background: none; }
.r3-quote blockquote p { margin: 0; font-size: 17px; }
.r3-quote blockquote p::before { content: "“"; display: block; font-family: var(--r3-font-head); font-size: 64px; line-height: 0.6; color: var(--r3-teal); margin-bottom: 16px; }
.r3-quote:nth-child(3n+2) { background-image: radial-gradient(ellipse at 85% 0%, rgba(178,156,135,0.14), transparent 55%); }
.r3-quote:nth-child(3n+2) blockquote p::before { color: var(--r3-taupe); }
.r3-quote:nth-child(3n+3) { background-image: radial-gradient(ellipse at 85% 0%, rgba(173,175,163,0.18), transparent 55%); }
.r3-quote:nth-child(3n+3) blockquote p::before { color: var(--r3-sage); }
.r3-quote--long { grid-column: 1 / -1; }
.r3-quote--long blockquote p { font-size: 16px; columns: 2; column-gap: 32px; }
.r3-quote figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--r3-line); font-family: var(--r3-font-head); font-weight: 600; font-size: 13px; color: var(--r3-taupe); text-transform: uppercase; letter-spacing: 0.08em; }

/* Teams band (reuses the catalogue photo card) */
.r3-landing .r3-teamcta { margin-top: 0; }
.r3-landing .r3-teamcta .r3-eyebrow { margin-bottom: 14px; }
.r3-portal .r3-btn--on-dark { color: var(--r3-cream) !important; border-color: var(--r3-teal) !important; }
.r3-portal .r3-btn--on-dark:hover { background: var(--r3-cream) !important; border-color: var(--r3-cream) !important; color: var(--r3-teal-dark) !important; }
.r3-portal .r3-btn--cream { background: var(--r3-cream) !important; color: var(--r3-teal-dark) !important; border-color: var(--r3-cream) !important; }
.r3-portal .r3-btn--cream:hover { background: var(--r3-teal) !important; border-color: var(--r3-teal) !important; }

/* FAQ */
.r3-faq details { background: var(--r3-cream); border: 1px solid var(--r3-line); border-radius: 14px; margin-bottom: 10px; padding: 0 22px; }
.r3-faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-family: var(--r3-font-head); font-weight: 600; font-size: 17px; color: var(--r3-teal-dark); position: relative; }
.r3-faq summary::-webkit-details-marker { display: none; }
.r3-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--r3-teal); }
.r3-faq details[open] summary::after { content: "–"; }
.r3-faq details p { margin: 0 0 20px; }

/* Pricing card */
.r3-pricecard { max-width: 520px; margin: 0 auto; background: var(--r3-cream); border: 1px solid var(--r3-line); border-radius: var(--r3-radius); box-shadow: var(--r3-shadow-soft); padding: 40px 40px 34px; text-align: center; position: relative; overflow: hidden; }
.r3-pricecard::before { content: ""; position: absolute; width: 170px; aspect-ratio: 270 / 262.7; right: -50px; top: -60px; background: var(--r3-taupe); -webkit-mask: url("../img/r3-stamp.svg") no-repeat center / contain; mask: url("../img/r3-stamp.svg") no-repeat center / contain; opacity: 0.14; pointer-events: none; }
.r3-pricecard > * { position: relative; }
.r3-portal .r3-pricecard__title { font-size: 24px; margin-bottom: 8px !important; }
.r3-pricecard__price { font-family: var(--r3-font-head); font-weight: 600; font-size: 42px; letter-spacing: -0.02em; color: var(--r3-teal-dark); margin: 0 0 14px; }
.r3-pricecard__price s { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--r3-taupe); margin-left: 8px; }
.r3-pricecard__line { margin: 0 auto 26px; max-width: 36ch; font-size: 16px; color: rgba(77,67,58,0.85); }
.r3-pricecard__below { margin: 16px 0 0; font-size: 14px; }

/* Cross-sell */
.r3-xsell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; background: var(--r3-white); border-radius: var(--r3-radius); overflow: hidden; border: 1px solid var(--r3-line); box-shadow: var(--r3-shadow-soft); margin-top: 18px; }
.r3-xsell__media { position: relative; min-height: 240px; background: linear-gradient(135deg, var(--r3-teal-dark), var(--r3-teal)); display: block; }
.r3-xsell__media img { width: 100%; height: 100%; object-fit: contain; padding: 20px; display: block; position: absolute; inset: 0; }
.r3-xsell__body { padding: clamp(24px, 3vw, 40px); }
.r3-xsell__body .r3-h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 14px; }
.r3-xsell__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Final CTA + support */
.r3-band--final { overflow: hidden; }
.r3-band--final .r3-h2 { font-size: clamp(28px, 3.6vw, 40px); }
.r3-final__body { font-size: 18px; margin: 0 0 28px; color: rgba(250,250,239,0.88); }
.r3-band--support { padding: 22px 0; background: var(--r3-teal-deep); color: var(--r3-cream); }
.r3-band--support p { margin: 0; font-size: 15px; }

/* Sticky mobile CTA */
.r3-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--r3-white); border-top: 1px solid var(--r3-line); box-shadow: 0 -8px 30px rgba(51,68,68,0.12); transform: translateY(110%); transition: transform .25s ease; display: none; }
.r3-sticky.is-visible { transform: translateY(0); }
.r3-sticky__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.r3-sticky__price { font-family: var(--r3-font-head); font-weight: 700; color: var(--r3-teal-dark); font-size: 18px; }
body.r3-sticky-shown .r3-landing { padding-bottom: 72px; }

@media (max-width: 900px) {
  .r3-hero, .r3-inside, .r3-about, .r3-xsell { grid-template-columns: 1fr; }
  .r3-about__photo { max-width: 360px; }
  .r3-quote--long blockquote p { columns: 1; }
  .r3-steps { grid-template-columns: 1fr; gap: 0; }
  .r3-steps li { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 12px; padding: 16px 0; }
  .r3-steps li::before { margin: 0; font-size: 30px; }
  .r3-steps li:last-child { border-bottom: 1px solid var(--r3-line); }
}
@media (max-width: 760px) {
  .r3-landing .r3-wrap { padding-left: 16px; padding-right: 16px; }
  .r3-hero { gap: 24px; }
  .r3-hero__media { order: 2; }
  .r3-hero__ctas .r3-btn { width: 100%; }
  .r3-trust { gap: 16px 20px; justify-content: center; }
  .r3-trust__item { flex: 0 1 40%; }
  .r3-trust__item img { height: 64px; max-width: 150px; }
  .r3-pricecard { padding: 30px 22px; }
  .r3-promo { border-radius: 12px; }
    .r3-sticky { display: block; }
  .r3-stamp::before { width: 140px; right: -8%; top: -4%; }
}

/* Licence enquiry form */
.r3-field textarea { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px; border: 1.5px solid var(--r3-line); border-radius: 12px; background: var(--r3-cream); color: var(--r3-brown); resize: vertical; }
.r3-field textarea:focus { outline: 3px solid rgba(124, 164, 164, 0.45); border-color: var(--r3-teal); }
.r3-field > span em { font-style: normal; font-weight: 400; }
.r3-fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.r3-fieldset legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--r3-teal-dark); padding: 0; }
.r3-fieldset .r3-check { margin: 0 0 8px; }
.r3-licensing .r3-h2 { margin-bottom: 10px; }
.r3-licensing .r3-lede { margin: 0 0 22px; font-size: 17px; }
