/* RAMTEK BRAND SYSTEM (2026-11-15, owner-approved "Accessible Teal" reference).
   One file, loaded LAST on every page, so the whole company uses the same colours, type, radius and components.
   Reference values (sampled exactly): primary #15796F, destructive #CC2827, border #D7E5E2, ink #041A17,
   muted text #455b57, Geist type, radius 0.5rem.
   Deliberate changes so it does not read as dental or healthcare: the reference's mint fills (#C2FCF3) are a
   quiet grey-green, pages are warm white instead of mint-tinted, documents are cream paper, and a few deep
   teal-black sections carry the richness. Never pair the teal with orange (Lawmatics and MyCase do).
   To add a page to the system: link /brand.css after every other stylesheet. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&display=swap');

:root {
  --rt-teal:        #15796f;  /* primary (exact) */
  --rt-teal-hover:  #12695f;
  --rt-teal-ink:    #0f6159;  /* teal for small text and links on light backgrounds */
  --rt-teal-light:  #4fb8aa;  /* teal on dark backgrounds */
  --rt-teal-soft:   #7fd3c7;
  --rt-secondary:   #c2fcf3;  /* the reference mint (owner kept it, 2026-11-15) */
  --rt-secondary-ink:#0b4a43;
  --rt-muted:       #f6f8f7;  /* inputs and quiet fills, a step lighter than the grey page */
  --rt-danger:      #cc2827;  /* destructive (exact) */
  --rt-border:      #d7e5e2;  /* exact */
  --rt-border-strong:#c3d6d2;
  --rt-ink:         #041a17;  /* headings (exact) */
  --rt-body:        #2a3f3b;
  --rt-subtle:      #455b57;  /* secondary text (exact) */
  --rt-faint:       #687f7b;
  --rt-page:        #eef1f0;  /* soft grey page; cards are white on it */
  --rt-card:        #ffffff;
  --rt-dark:        #061a18;  /* deep teal-black sections */
  --rt-dark-2:      #0b2926;
  --rt-paper:       #f8f6f1;
  --rt-radius:      .5rem;    /* exact */
  --rt-radius-lg:   .75rem;   /* cards */
  --rt-font:        'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rt-ring:        0 0 0 3px rgba(21,121,111,.22);
}

/* ── TYPOGRAPHY: Geist everywhere, semibold headings, no decorative italics ── */
html, body, button, input, select, textarea { font-family: var(--rt-font) !important; }
h1, h2, h3, h4, h5, .sec-title, .hero-h1, .cta-band h2, .hs-final h2, .pg-title, .pg-h2 {
  font-family: var(--rt-font) !important; font-weight: 600 !important; letter-spacing: -.025em !important;
  font-variation-settings: normal !important; font-style: normal !important;
}
h1 em, h2 em, h3 em, .sec-title em, .hero-h1 em, .hs-final h2 em, .pg-title em, .pg-h2 em { font-style: normal !important; }
.hero-h1 { line-height: 1.04 !important; font-weight: 600 !important; }
.sec-title { line-height: 1.1 !important; }
.sec-label, .pv-areas-label, .hs-doc-tool, .hs-group-head h3 { font-family: var(--rt-font) !important; font-weight: 600 !important; letter-spacing: .12em !important; }
.sec-label::before, .sec-label::after { display: none !important; }
.hs-q-n { font-family: var(--rt-font) !important; font-style: normal !important; font-weight: 600 !important; font-size: .8rem !important; letter-spacing: .1em; }
/* documents keep a serif, because real legal documents are set in one */
.hs-paper, .dm-paper, .paper { font-family: 'Times New Roman', Georgia, serif !important; }

/* ── BUTTONS (reference: Primary, Secondary, Outline, Ghost, Destructive) ── */
.btn, .btn-gold, .btn-ghost, .pg-btn-gold, .pg-btn-ghost, .sn-cta, .sn-login, .nav-cta, .ck-btn, .hs-dl a, .pv-cta {
  border-radius: var(--rt-radius) !important; font-family: var(--rt-font) !important; font-weight: 500 !important;
  letter-spacing: 0 !important; transform: none !important; box-shadow: none !important; background-image: none !important;
}
.btn-gold::after, .pg-btn-gold::after, .pg-btn-ghost::after, .btn-ghost::after { display: none !important; }
/* primary */
.btn-gold, .pg-btn-gold, .sn-cta, .nav-cta, .ck-btn.primary, .rt-btn-primary {
  background: var(--rt-teal) !important; color: #fff !important; border: 1px solid #0f5c54 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(4,26,23,.15) !important;
}
.btn-gold:hover, .pg-btn-gold:hover, .sn-cta:hover, .nav-cta:hover, .ck-btn.primary:hover, .rt-btn-primary:hover { background: var(--rt-teal-hover) !important; color: #fff !important; }
/* outline */
.btn-ghost, .pg-btn-ghost, .sn-login, .ck-btn, .hs-dl a, .rt-btn-outline {
  background: #fff !important; color: var(--rt-ink) !important; border: 1px solid var(--rt-border) !important;
  box-shadow: 0 1px 2px rgba(4,26,23,.05) !important; text-decoration: none !important;
}
.btn-ghost:hover, .pg-btn-ghost:hover, .sn-login:hover, .ck-btn:hover, .hs-dl a:hover, .rt-btn-outline:hover { background: var(--rt-muted) !important; color: var(--rt-ink) !important; border-color: var(--rt-border-strong) !important; }
.pg-btn-ghost { padding: .7rem 1.3rem !important; }
/* secondary, ghost, destructive (for new markup) */
.rt-btn-secondary { background: var(--rt-secondary) !important; color: var(--rt-secondary-ink) !important; border: 1px solid transparent !important; }
.rt-btn-ghost { background: transparent !important; color: var(--rt-ink) !important; border: 1px solid transparent !important; }
.rt-btn-ghost:hover { background: var(--rt-muted) !important; }
.rt-btn-danger { background: var(--rt-danger) !important; color: #fff !important; border: 1px solid #a91f1e !important; }
:focus-visible { outline: none !important; box-shadow: var(--rt-ring) !important; border-radius: var(--rt-radius); }

/* ── BADGES ── */
.hs-tag, .rt-badge { border-radius: .375rem !important; font-family: var(--rt-font) !important; font-size: .7rem !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; padding: .2rem .55rem !important; }
.hs-tag.auto, .rt-badge { background: var(--rt-teal) !important; color: #fff !important; border: 1px solid var(--rt-teal) !important; }
.hs-tag.you, .rt-badge-secondary { background: var(--rt-secondary) !important; color: var(--rt-secondary-ink) !important; border: 1px solid transparent !important; }
.hs-tag:not(.auto):not(.you), .rt-badge-outline { background: #fff !important; color: var(--rt-ink) !important; border: 1px solid var(--rt-border) !important; }
.pv .pv-plan { border-radius: .375rem !important; text-transform: none !important; letter-spacing: 0 !important; }

/* ── INPUTS ── */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"], select, textarea {
  border-radius: var(--rt-radius) !important;
}
.rt-light input[type="text"], .rt-light input[type="email"], .rt-light input[type="password"], .rt-light input[type="search"], .rt-light input[type="tel"], .rt-light select, .rt-light textarea {
  background: var(--rt-muted) !important; border: 1px solid var(--rt-border) !important; color: var(--rt-ink) !important;
}
input::placeholder, textarea::placeholder { color: #8ea19e !important; }
input:focus, select:focus, textarea:focus { outline: none !important; border-color: var(--rt-teal) !important; box-shadow: var(--rt-ring) !important; }
input[type="checkbox"], input[type="radio"], input[type="range"], progress { accent-color: var(--rt-teal); }

/* ── CARDS AND RADIUS ── */
.hs-card, .pg-tile, .pg-card, .bcard, .plan-card, .price-card, .faq-item, .hs-q, .pv-frame, .dm-win, .hs-video #wt-frame, #wt-frame, .sn-panel, .ck {
  border-radius: var(--rt-radius-lg) !important;
}
.pv-tool, .pv-arrow, .pv-area, .dm-chip, .dm-tab, .dm-field, .dm-sel, .dm-btn, .dm-replay, .dm-out, .dm-risk, .dm-mail, .dm-result, .dm-excerpt { border-radius: var(--rt-radius) !important; }
.dm-win, .dm-win * { font-family: var(--rt-font); }

/* ── TOP BAR: a light bar with ink text on every page ── */
.sn::before { opacity: 1 !important; background: rgba(255,255,255,.96) !important; border: 1px solid var(--rt-border) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 1px 2px rgba(4,26,23,.05), 0 10px 30px -18px rgba(4,26,23,.25) !important; border-radius: var(--rt-radius-lg) !important; }
.sn, .sn-inner { border-radius: var(--rt-radius-lg) !important; }
.sn-logo { color: var(--rt-ink) !important; }
.sn-logo .dot { color: var(--rt-teal) !important; }
.sn-top, .sn-col a, .sn-mobile summary, .sn-m-link, .sn-mobile details a { color: var(--rt-subtle) !important; font-family: var(--rt-font) !important; }
.sn-top:hover, .sn-item.is-open > .sn-top, .sn-top[aria-current="page"], .sn-col a:hover, .sn-col a:focus-visible, .sn-mobile summary:hover, .sn-m-link:hover, .sn-mobile details a:hover { color: var(--rt-ink) !important; }
.sn-top::after, .sn-col a::after { background: var(--rt-teal) !important; }
.sn-panel { background: #fff !important; border-color: var(--rt-border) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 18px 40px -20px rgba(4,26,23,.3) !important; }
.sn-head, .sn-col a small { color: var(--rt-faint) !important; }
.sn-col a:hover small { color: var(--rt-subtle) !important; }
.sn-burger span { background: var(--rt-ink) !important; }
.sn-mobile { background: #fff !important; }
.sn-m-login { border-color: var(--rt-border) !important; color: var(--rt-ink) !important; border-radius: var(--rt-radius) !important; }
.sn-m-cta { background: var(--rt-teal) !important; color: #fff !important; border-radius: var(--rt-radius) !important; }

/* ── COOKIE NOTICE ── */
.ck { background: #fff !important; border-color: var(--rt-border) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: 0 18px 40px -20px rgba(4,26,23,.35) !important; }
.ck p { color: var(--rt-subtle) !important; }
.ck p a { color: var(--rt-teal-ink) !important; text-decoration-color: rgba(15,97,89,.4) !important; }

/* ── FOOTER: deep teal-black ── */
.sf { background: var(--rt-dark) !important; border-top: 0 !important; color: #9fb4b0 !important; }
.sf-logo { color: #eef6f4 !important; } .sf-logo span { color: var(--rt-teal-light) !important; }
.sf-col h2 { color: #eef6f4 !important; font-family: var(--rt-font) !important; }
.sf-col a, .sf-bottom, .sf-bottom a { color: #9fb4b0 !important; }
.sf-col a:hover, .sf-bottom a:hover { color: #eef6f4 !important; }

/* homepage hero: Geist is wider than the old serif, so keep the headline clear of the scales */
html body #hero .hero-h1 { font-size: clamp(2.1rem, 3.3vw, 3rem) !important; max-width: 12.5em !important; }

/* footer text: keep every line readable on the deep teal-black */
.sf p, .sf li, .sf span:not(.sf-logo span), .sf small, .sf address { color: #9fb4b0 !important; }


/* ── MINT (owner kept the reference mint, 2026-11-15): highlights, selected states, soft badges ── */
:root { --rt-mint: #c2fcf3; --rt-mint-2: #dcfdf8; --rt-mint-ink: #0b4a43; }
.pv-area[aria-selected="true"], .dm-chip.on, .dm-tab[aria-selected="true"], .hs-bub.rt { background: var(--rt-mint) !important; color: var(--rt-mint-ink) !important; border-color: #9eeee2 !important; }
.pv .pv-plan, .hs-tag.you, .rt-badge-secondary, .premium-badge, .tpl-tag { background: var(--rt-mint) !important; color: var(--rt-mint-ink) !important; border-color: transparent !important; }
.btn-ghost:hover, .pg-btn-ghost:hover, .sn-login:hover, .hs-dl a:hover, .rt-btn-outline:hover { background: var(--rt-mint-2) !important; }


/* Width system, website (2026-11-15): long notes and tile text keep a comfortable reading line
   (about 72 characters) on wide screens. Centred notes stay centred. */
.pv-addons, .hs-note, .dm-cap, .pricing-footnote, .pg-note, .pa-note, .tr-note {
  max-width: 72ch; margin-left: auto !important; margin-right: auto !important;
}
.pg-def p, .pg-tile p, .tx-flags li, .tr-step, .pg-sec-head p { max-width: 72ch; }

/* Website top bar as frosted glass (2026-11-18), matching the app's glass: see-through white, blur, hairline edge. */
.sn::before { background: rgba(255,255,255,.82) !important; -webkit-backdrop-filter: saturate(1.8) blur(22px) !important; backdrop-filter: saturate(1.8) blur(22px) !important;
  border: 1px solid rgba(255,255,255,.55) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 1px rgba(4,26,23,.06), 0 14px 40px -12px rgba(4,26,23,.28) !important; }
