/* RichTextEditor site in the RichScripts look: light page, blue accent, white cards, 8px buttons, one white header
   and footer. Loaded last in richtexteditor.master, after site.min.css and site-ui.css. Tokens match richscripts.com. */

:root{
  --rte-bg:#f8fafd;--rte-text:#1f1f1f;--rte-muted:#444746;--rte-subtle:#5f6368;
  --rte-accent:#0b57d0;--rte-accent-hover:#0842a0;--rte-border:#c4c7c5;--rte-line:#e3e6ea;--rte-chip:#d3e3fd;
}

/* Page and type */
body{font-family:"Google Sans","Segoe UI",Roboto,system-ui,-apple-system,Arial,sans-serif;background:var(--rte-bg);color:var(--rte-text)}
body :is(h1,h2,h3,h4,h5,h6){color:var(--rte-text);font-weight:700;letter-spacing:-.01em}
a{color:var(--rte-accent)}

/* Buttons */
.btn{border-radius:8px}
.btn.btn-pill,.btn.btn-wide{border-radius:8px}
.btn-primary{background:var(--rte-accent);border-color:var(--rte-accent);color:#fff}
.btn-primary:hover,.btn-primary:focus-visible{background:var(--rte-accent-hover);border-color:var(--rte-accent-hover);color:#fff}
.btn-light{background:#fff;border-color:var(--rte-border);color:var(--rte-text)}
.btn-light:hover,.btn-light:focus-visible{background:#fff;border-color:var(--rte-accent);color:var(--rte-accent)}

/* Cards */
.card{background:#fff;border:1px solid var(--rte-border);border-radius:12px;box-shadow:none}
.card.shadow{box-shadow:0 1px 2px rgba(31,31,31,.05),0 12px 32px rgba(31,31,31,.07)!important}

/* Demo sidebar label and outline buttons: the template's light tints are too faint on the light page */
.nav-subtitle{color:var(--rte-subtle)!important}
.btn-outline-info{color:var(--rte-accent);border-color:var(--rte-accent);background:#fff}
.btn-outline-info:hover,.btn-outline-info:focus-visible{background:var(--rte-accent);border-color:var(--rte-accent);color:#fff}

/* Form hints: the inline light grey "Required" marks and helper text are too faint on white */
span[style*="#c0c0c0"]{color:var(--rte-subtle)!important}
.form-text{color:var(--rte-subtle)}

/* Document pages (privacy, terms): a plain white heading block, as on richscripts.com */
.card-header.rte-doc-head{background:#fff;border-bottom:1px solid var(--rte-line)}
.card-header.rte-doc-head h1{font-size:clamp(30px,3.4vw,44px);line-height:1.15;letter-spacing:-.6px}
.card-header.rte-doc-head p{margin:10px 0 0;font-size:15px;color:var(--rte-muted)}

/* Page headers: the template's wave background becomes the plain page, as on richscripts.com */
.bg-img-start{background:transparent!important;background-image:none!important}
.bg-img-start h1{font-size:clamp(32px,3.6vw,48px);line-height:1.15;letter-spacing:-.8px;margin-bottom:12px}
.bg-img-start p{font-size:18px;line-height:1.6;color:var(--rte-muted)}

/* Header: white bar with the logo, the main links, Client Center and one Download button */
.rte-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--rte-line)}
.rte-menu-check{position:absolute;opacity:0;pointer-events:none}
.rte-bar{position:relative;display:flex;align-items:center;gap:24px;max-width:1600px;height:64px;margin:0 auto;padding:0 clamp(20px,4vw,64px)}
.rte-brand{display:inline-flex;align-items:center;flex:none}
.rte-brand img{display:block;height:28px;width:auto}
.rte-nav{display:flex;align-items:center;gap:2px;min-width:0}
.rte-nav a{padding:8px 10px;border-radius:8px;font-size:14px;font-weight:500;color:var(--rte-muted);text-decoration:none;white-space:nowrap}
.rte-nav a:hover,.rte-nav a:focus-visible{background:#eef3fc;color:var(--rte-accent)}
.rte-actions{display:flex;align-items:center;gap:16px;margin-left:auto}
.rte-link{font-size:14px;color:var(--rte-muted);text-decoration:none}
.rte-link:hover{color:var(--rte-accent)}
.rte-button{display:inline-flex;align-items:center;height:36px;padding:0 16px;border-radius:8px;background:var(--rte-accent);color:#fff;font-size:14px;font-weight:500;text-decoration:none}
.rte-button:hover{background:var(--rte-accent-hover);color:#fff}
.rte-toggle{display:none;align-items:center;height:36px;padding:0 14px;border:1px solid var(--rte-border);border-radius:8px;background:#fff;font-size:14px;font-weight:500;color:var(--rte-text);cursor:pointer}
@media (max-width:991.98px){
  .rte-bar{gap:10px}
  .rte-brand img{height:24px}
  .rte-button{padding:0 12px}
  .rte-toggle{display:inline-flex;padding:0 12px}
  .rte-actions{gap:10px}
  .rte-actions .rte-link{display:none}
  .rte-nav{display:none;position:absolute;top:64px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:12px clamp(20px,4vw,64px) 16px;background:#fff;border-bottom:1px solid var(--rte-line);box-shadow:0 12px 24px rgba(31,31,31,.08)}
  .rte-nav a{padding:12px 8px;font-size:15px}
  .rte-menu-check:checked ~ .rte-bar .rte-nav{display:flex}
  .rte-menu-check:focus-visible ~ .rte-bar .rte-toggle{outline:2px solid var(--rte-accent);outline-offset:3px}
}
@media (min-width:992px){.rte-menu-check{display:none}}

/* Hero (home page): title and copy on the left, the product screenshot in a panel on the right */
.rte-hero{background:radial-gradient(900px 420px at 8% -8%,rgba(11,87,208,.09),transparent 62%),var(--rte-bg);border-bottom:1px solid var(--rte-line)}
.rte-hero-inner{max-width:1400px;margin:0 auto;padding:clamp(40px,5vw,72px) clamp(20px,4vw,64px) clamp(48px,6vw,80px);
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,4.5vw,64px);align-items:center}
.rte-pill{display:inline-flex;align-items:center;gap:8px;padding:4px 12px;border:1px solid rgba(11,87,208,.2);border-radius:999px;background:rgba(11,87,208,.08);
  color:var(--rte-accent);font-size:12px;font-weight:600;line-height:16px;letter-spacing:.6px;text-transform:uppercase}
.rte-hero h1{margin:22px 0 0;font-size:clamp(34px,3.9vw,56px);font-weight:700;line-height:1.14;letter-spacing:-1.1px;color:var(--rte-text)}
.rte-accent{color:var(--rte-accent)}
.rte-lead{margin:22px 0 0;max-width:36em;font-size:18px;line-height:1.62;color:var(--rte-muted)}
.rte-proof{display:flex;flex-wrap:wrap;gap:10px 22px;margin:26px 0 0;padding:0;list-style:none;font-size:14px;line-height:1.4;color:var(--rte-muted)}
.rte-proof li{display:inline-flex;align-items:center;gap:8px}
.rte-check{display:inline-grid;place-items:center;flex:none;width:18px;height:18px;border-radius:50%;background:var(--rte-chip);color:var(--rte-accent);font-size:11px;font-weight:700}
.rte-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:30px}
.rte-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 26px;border:1px solid transparent;border-radius:8px;font-size:16px;font-weight:500;line-height:1.5;text-decoration:none}
.rte-btn--primary{background:var(--rte-accent);color:#fff}
.rte-btn--primary:hover{background:var(--rte-accent-hover);color:#fff}
.rte-btn--secondary{background:#fff;border-color:var(--rte-border);color:var(--rte-muted)}
.rte-btn--secondary:hover{border-color:var(--rte-accent);color:var(--rte-accent)}
.rte-btn:focus-visible,.rte-text:focus-visible{outline:2px solid var(--rte-accent);outline-offset:3px}
.rte-text{padding:12px 6px;font-size:16px;font-weight:500;color:var(--rte-accent);text-decoration:none}
.rte-preview{margin:0;background:#fff;border:1px solid var(--rte-border);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(31,31,31,.05),0 12px 32px rgba(31,31,31,.07)}
.rte-preview-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--rte-line);background:#f8fafd;font-size:12px;color:var(--rte-muted)}
.rte-dots{display:inline-flex;gap:6px}
.rte-dots i{width:10px;height:10px;border-radius:50%;background:#f28b82}
.rte-dots i:nth-child(2){background:#fdd663}
.rte-dots i:nth-child(3){background:#81c995}
.rte-preview img{display:block;width:100%;height:auto}
@media (max-width:991.98px){.rte-hero-inner{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){
  .rte-hero h1{letter-spacing:-.6px}
  .rte-lead{font-size:17px}
  .rte-cta .rte-btn{flex:1 1 100%}
}

/* Footer: white, with the same columns and legal row as richscripts.com; the cross-promotion and copyright text stay */
.rte-footer{margin-top:64px;background:#fff;border-top:1px solid var(--rte-line);color:var(--rte-muted)}
.rte-footer-grid{display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:32px;max-width:1600px;margin:0 auto;padding:40px clamp(20px,4vw,64px) 24px}
.rte-footer h2{margin:4px 0 12px;font-size:14px;font-weight:600;color:var(--rte-text)}
.rte-footer ul{list-style:none;margin:0;padding:0}
.rte-footer li{margin:0 0 6px}
.rte-footer a{font-size:13px;color:var(--rte-accent);text-decoration:none}
.rte-footer a:hover{text-decoration:underline}
.rte-footer-about p{margin:12px 0 0;font-size:14px;line-height:1.6}
.rte-footer address{margin:12px 0 0;font-style:normal;font-size:13px;line-height:1.6}
.rte-footer-legal{display:flex;flex-wrap:wrap;gap:8px 20px;max-width:1600px;margin:0 auto;padding:0 clamp(20px,4vw,64px) 8px}
.rte-footer-legal a{color:var(--rte-muted)}
.rte-footer-more,.rte-footer-copy{max-width:1600px;margin:0 auto;padding:16px clamp(20px,4vw,64px);border-top:1px solid #eef0f3}
.rte-footer-more p,.rte-footer-copy p{margin:0 0 6px;font-size:13px;line-height:1.6}
.rte-footer-copy p{font-size:12px;color:var(--rte-subtle)}
.rte-strong{color:var(--rte-text)}
@media (max-width:991.98px){.rte-footer-grid{grid-template-columns:minmax(0,1fr) repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.rte-footer-grid{grid-template-columns:minmax(0,1fr)}}
