@font-face {
  font-family: 'Riviosa Gothic';
  src: url('/pay/brand/riviosa-gothic-book.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Riviosa Gothic';
  src: url('/pay/brand/riviosa-gothic-demi.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --card: #ffffff;
  --ink: #121211;
  --muted: #66655f;
  --line: #deded8;
  --soft: #f5f5f2;
  --brand: #ff2800;
  --action: #cc2100;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 'Riviosa Gothic', Arial, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
main:focus { outline: none; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 20; padding: 12px 18px; color: var(--paper); background: var(--ink); }
.skip-link:focus { top: 16px; }
.site-header, main, .site-footer { max-width: 1280px; margin: 0 auto; padding-left: 5vw; padding-right: 5vw; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 48px; font-size: 30px; font-weight: 400; line-height: 1.1; letter-spacing: .005em; text-decoration: none; white-space: nowrap; }
.brand img { display: block; width: 48px; height: 48px; flex-shrink: 0; }
.brand-word { display: block; }
.brand-red { color: var(--brand); }
.back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; text-decoration: none; }
.back-link:hover, .site-footer a:hover { text-decoration: underline; }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr); gap: clamp(50px, 7vw, 105px); align-items: start; padding-top: 80px; padding-bottom: 74px; }
.introduction { padding-top: 8px; }
.eyebrow { margin: 0; font-size: 12px; line-height: 1.6; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.introduction > .eyebrow { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.eyebrow-line { width: 34px; height: 3px; background: var(--brand); flex-shrink: 0; }
h1, .plan-title, .next-heading h2 { font-family: 'Riviosa Gothic', Arial, sans-serif; font-weight: 600; letter-spacing: -.05em; text-wrap: balance; }
h1 { font-size: clamp(46px, 4.8vw, 68px); line-height: 1.1; margin: 32px 0 28px; }
.lede { max-width: 440px; margin: 0; font-size: 19px; line-height: 1.75; color: var(--muted); }
.guarantee { display: flex; gap: 18px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }
.guarantee-mark { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--brand); color: var(--action); border-radius: 50%; font-size: 19px; flex-shrink: 0; }
.guarantee h2 { margin: 3px 0 10px; font-size: 16px; line-height: 1.5; font-weight: 600; letter-spacing: -.025em; }
.guarantee p { margin: 0 0 8px; font-size: 15px; line-height: 1.75; color: var(--muted); }
.guarantee a, .extension a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; }
.purchase-card { padding: 36px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--brand); box-shadow: 0 16px 40px #12121106; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.term-label { border: 1px solid var(--brand); padding: 5px 12px; color: var(--action); font-size: 12px; line-height: 1.5; white-space: nowrap; }
.plan-title { font-size: 37px; line-height: 1.2; margin: 28px 0 14px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 0 0 5px; }
.price strong { font-size: 58px; font-weight: 400; letter-spacing: -.065em; line-height: 1.25; }
.price > span { font-size: 14px; color: var(--muted); }
.charge-note { margin: 0; font-size: 14px; color: var(--muted); }
.plan-inclusions { list-style: none; margin: 26px 0 28px; padding: 25px 0 0; border-top: 1px solid var(--line); }
.plan-inclusions li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; font-size: 15px; line-height: 1.7; }
.plan-inclusions li:last-child { margin-bottom: 0; }
.check { flex-shrink: 0; font-size: 16px; color: var(--action); }
.payment-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 15px 20px; background: var(--action); color: #ffffff; font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.payment-button:hover { background: #b81d00; }
.payment-button > span:last-child { font-size: 20px; line-height: 1; flex-shrink: 0; }
.payment-provider { margin: 13px 0 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.agreement { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.extension { margin-top: 27px; border-top: 1px solid var(--line); padding-top: 23px; }
.extension-title { margin: 0 0 8px; font-weight: 600; font-size: 15px; }
.extension p:not(.extension-title) { margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted); }
.extension a { margin-top: 4px; }
.next-step { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; border-top: 1px solid var(--line); padding: 42px 0 60px; }
.next-heading h2 { margin: 17px 0 0; font-size: 36px; line-height: 1.2; }
.next-copy > p:first-child { margin: 0 0 12px; max-width: 580px; color: var(--muted); }
.email-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 17px; overflow-wrap: anywhere; }
.scope-note { margin: 16px 0 0; font-size: 14px; line-height: 1.75; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 28px; min-height: 98px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.site-footer p { margin: 14px 0; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }

@media (max-width: 1000px) {
  .payment-layout { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
  .purchase-card { padding: 28px; }
  .lede { font-size: 17px; }
  .guarantee { margin-top: 36px; }
}
@media (max-width: 780px) {
  .site-header { min-height: 90px; }
  .payment-layout { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 42px; }
  h1 { font-size: clamp(46px, 8vw, 64px); max-width: 650px; margin: 24px 0; }
  .lede { max-width: 600px; font-size: 18px; }
  .guarantee { margin-top: 30px; padding-top: 24px; }
  .guarantee p { max-width: 540px; }
  .purchase-card { padding: 32px; }
  .next-step { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 38px; }
  .site-footer { align-items: flex-start; padding-top: 18px; padding-bottom: 18px; }
}
@media (max-width: 480px) {
  .site-header, main, .site-footer { padding-left: 24px; padding-right: 24px; }
  .site-header { gap: 16px; }
  .brand { font-size: 23px; gap: 10px; }
  .brand img { width: 34px; height: 34px; }
  .back-link { gap: 6px; font-size: 13px; }
  .introduction > .eyebrow { gap: 10px; font-size: 12px; letter-spacing: .065em; }
  .eyebrow-line { width: 24px; }
  h1 { font-size: clamp(36px, 9.8vw, 46px); line-height: 1.15; }
  .lede { font-size: 16px; }
  .guarantee { gap: 13px; }
  .guarantee-mark { width: 31px; height: 31px; font-size: 16px; }
  .guarantee h2 { margin-top: 1px; font-size: 15px; }
  .guarantee p { font-size: 14px; }
  .purchase-card { padding: 24px; }
  .card-heading { gap: 10px; }
  .card-heading .eyebrow { font-size: 12px; letter-spacing: .065em; }
  .plan-title { font-size: 34px; margin-top: 24px; }
  .price { gap: 6px 12px; }
  .price strong { font-size: 54px; }
  .price > span { font-size: 13px; }
  .plan-inclusions li { font-size: 14px; }
  .payment-button { padding: 14px; font-size: 13px; gap: 8px; }
  .payment-button > span:last-child { font-size: 18px; }
  .next-heading h2 { font-size: 32px; }
  .email-link { font-size: 15px; gap: 10px; }
  .site-footer { display: block; }
  .site-footer p { margin: 0 0 8px; }
}
@media (max-width: 350px) {
  .site-header { gap: 10px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .back-link { font-size: 12px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Riviosa Homes typography and spacing, adapted to the payment journey. */
:root { --paper:#fbfbfa; --card:#fbfbfa; --soft:#f3f3f0; --line:rgba(23,23,22,.18); --page:clamp(1.25rem,2.8vw,3.25rem); --font-sans:'Riviosa Gothic','Century Gothic','Avenir Next',Futura,Arial,sans-serif; }
body { font-family:var(--font-sans); font-weight:400; line-height:1.5; -webkit-font-smoothing:antialiased; text-rendering:geometricPrecision; }
.site-header,main,.site-footer { max-width:1920px; padding-inline:var(--page); }
.site-header { min-height:72px; gap:2rem; }
.brand { font-family:var(--font-sans); font-size:1.48rem; letter-spacing:.015em; gap:10px; min-height:44px; }
.brand img { width:36px; height:36px; }
.back-link { font-size:.875rem; letter-spacing:.06em; text-transform:uppercase; }
.payment-layout { grid-template-columns:minmax(0,1.25fr) minmax(360px,.85fr); gap:clamp(48px,5vw,96px); padding-block:clamp(40px,4vw,64px) clamp(48px,5vw,88px); }
.introduction { padding-top:0; }
.eyebrow { font-size:.78rem; font-weight:400; line-height:1.3; letter-spacing:.12em; }
.introduction>.eyebrow { margin-bottom:clamp(20px,2vw,32px); }
h1,.plan-title,.next-heading h2 { font-family:var(--font-sans); font-weight:400; letter-spacing:-.042em; color:#0b0b0a; }
h1 { font-size:clamp(52px,6.25vw,112px); line-height:1.04; margin:0 0 clamp(24px,2.5vw,40px); }
.lede { max-width:620px; padding-top:16px; border-top:1px solid var(--ink); font-size:clamp(18.4px,1.55vw,25.6px); line-height:1.3; letter-spacing:-.018em; color:var(--ink); }
.guarantee { margin-top:clamp(32px,3vw,48px); padding-top:24px; }
.guarantee h2 { font-weight:400; font-size:19px; letter-spacing:-.018em; }
.guarantee p,.plan-inclusions li,.agreement,.extension p:not(.extension-title),.scope-note { line-height:1.55; }
.purchase-card { box-shadow:none; padding:32px; border-top-width:2px; }
.plan-title { font-size:clamp(36px,3.1vw,52px); line-height:1.04; margin-top:28px; }
.price strong { font-weight:400; letter-spacing:-.042em; }
.term-label { color:var(--ink); border-color:var(--line); font-weight:400; letter-spacing:.06em; text-transform:uppercase; }
.payment-button { min-height:46px; padding:.78rem 1.1rem; font-family:var(--font-sans); font-size:.875rem; font-weight:400; line-height:1.1; letter-spacing:.06em; text-transform:uppercase; }
.guarantee a,.extension a { font-weight:400; font-size:.875rem; }
.extension-title { font-weight:400; font-size:19px; letter-spacing:-.018em; }
.next-step { gap:clamp(32px,5vw,80px); padding-block:clamp(40px,4vw,64px); }
.next-heading h2 { font-size:clamp(36px,3.8vw,64px); line-height:1.04; }
.next-copy>p:first-child { line-height:1.55; }
.site-footer { min-height:80px; }
@media(max-width:1100px) {
 .payment-layout { grid-template-columns:minmax(0,1fr) minmax(340px,.9fr); gap:40px; }
 h1 { font-size:clamp(52px,6.25vw,70px); }
 .purchase-card { padding:28px; }
}
@media(max-width:780px) {
 .payment-layout { grid-template-columns:1fr; gap:40px; }
 h1 { max-width:17ch; font-size:clamp(52px,6.25vw,70px); }
 .lede { max-width:650px; }
 .purchase-card { max-width:650px; width:100%; }
 .next-step { grid-template-columns:1fr; gap:24px; }
}
@media(max-width:720px) {
 :root { --page:24px; }
 .site-header { min-height:58px; gap:12px; }
 .brand { font-size:23px; }
 .brand img { width:30px; height:30px; }
 .back-link { font-size:12px; gap:6px; }
 .payment-layout { padding-top:32px; padding-bottom:48px; }
 h1 { font-size:clamp(44.8px,12vw,52px); line-height:1.08; margin-bottom:24px; }
 .lede { font-size:18.4px; }
 .introduction>.eyebrow { font-size:.78rem; letter-spacing:.12em; }
 .purchase-card { padding:24px; }
 .card-heading .eyebrow { letter-spacing:.12em; }
 .plan-title { font-size:40px; }
 .next-heading h2 { font-size:40px; }
 .payment-button { font-size:14px; line-height:1.3; }
}
@media(max-width:350px) {
 .site-header { gap:8px; }
 .brand { font-size:20px; gap:8px; }
 .brand img { width:28px; height:28px; }
 .back-link { font-size:11px; gap:4px; }
 .next-heading h2 { font-size:36px; }
}

/* Text masthead; red RS mark lives in the footer signature. */
.site-header .brand .brand-red { color:inherit; }
