/* DollarWise theme styles. Colours and type were read from dollarwise.com
   on 12 November 2026; see the README for what was matched and what was
   substituted. */
:root {
  --dw-cream: #fffaee;
  --dw-ink: #131c23;
  --dw-muted: #4a5560;
  --dw-blue: #3b82f6;
  --dw-blue-deep: #0f5ba7;
  --dw-navy: #284783;
  --dw-yellow: #ffe600;
  --dw-lime: #eef6a2;
  --dw-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --dw-sans: 'Manrope', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; font-family: var(--dw-sans); font-size: 17px; line-height: 1.6; color: var(--dw-ink); background: linear-gradient(180deg, var(--dw-cream) 0, var(--dw-cream) 220px, #cfe4fb 900px, #cfe4fb 100%); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }

/* Short pages: the footer sits at the bottom of the window. */
main#main-content { flex: 1 0 auto; }

img { max-width: 100%; height: auto; }

.dw-skip { position: absolute; left: -9999px; }
.dw-skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Drag-and-drop grid: centre sections, stack columns on phones. */
.dnd-section { padding: 64px 24px; }
.dnd-section > .row-fluid { max-width: 1140px; margin-inline: auto; }
.dnd-section[class*='force-full-width'] > .row-fluid, .dw-full > .row-fluid { max-width: none; }
.row-fluid { display: flex; flex-wrap: wrap; width: 100%; }
.row-fluid [class*='span'] { min-height: 1px; }
.row-fluid .span12 { width: 100%; }
.row-fluid .span8 { width: 66.666%; }
.row-fluid .span7 { width: 58.333%; }
.row-fluid .span6 { width: 50%; }
.row-fluid .span5 { width: 41.666%; }
.row-fluid .span4 { width: 33.333%; }
.dnd-column { padding-inline: 16px; }
.dnd-section > .row-fluid > .dnd-column:first-child { padding-left: 0; }
.dnd-section > .row-fluid > .dnd-column:last-child { padding-right: 0; }
@media (max-width: 900px) {
  .row-fluid [class*='span'] { width: 100%; }
  .dnd-column { padding-inline: 0; }
  .dnd-column + .dnd-column { margin-top: 36px; }
  .dnd-section { padding: 44px 20px; }
}

.dw-button { display: inline-block; background: var(--dw-blue); color: #fff; font-family: var(--dw-sans); font-size: 17px; font-weight: 800; line-height: 1.2; padding: 18px 34px; border: 2px solid var(--dw-blue); border-radius: 4px; text-decoration: none; cursor: pointer; }
.dw-button:hover { background: var(--dw-blue-deep); border-color: var(--dw-blue-deep); }
.dw-button--outline { background: transparent; color: var(--dw-navy); border-color: var(--dw-navy); font-size: 15px; padding: 16px 44px; }
.dw-button--outline:hover { background: var(--dw-navy); color: #fff; border-color: var(--dw-navy); }

/* HubSpot form, drawn as a white card. */
.dw-page .widget-type-form { background: #fff; border: 1px solid rgba(40, 71, 131, 0.16); border-radius: 16px; box-shadow: 0 16px 40px rgba(40, 71, 131, 0.14); padding: 30px 28px; }
.dw-page .widget-type-form .form-title, .dw-page .widget-type-form h3 { font-family: var(--dw-serif); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--dw-ink); margin: 0 0 18px; background: none; padding: 0; }
.dw-page .widget-type-form .hs-form-field { margin: 0 0 16px; }
.dw-page .widget-type-form label { display: block; font-size: 15px; font-weight: 800; color: var(--dw-ink); margin: 0 0 6px; }
.dw-page .widget-type-form input[type='text'], .dw-page .widget-type-form input[type='email'], .dw-page .widget-type-form input[type='tel'], .dw-page .widget-type-form input[type='number'], .dw-page .widget-type-form select, .dw-page .widget-type-form textarea { width: 100%; font-family: var(--dw-sans); font-size: 16px; color: var(--dw-ink); background: #fff; border: 1px solid #b9c0c9; border-radius: 4px; padding: 11px 14px; }
.dw-page .widget-type-form input:focus, .dw-page .widget-type-form select:focus { outline: 2px solid var(--dw-blue); outline-offset: 1px; }
.dw-page .widget-type-form .inputs-list { list-style: none; margin: 0; padding: 0; }
.dw-page .widget-type-form .hs-form-booleancheckbox label, .dw-page .widget-type-form .hs-form-checkbox label { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; font-weight: 500; line-height: 1.55; color: var(--dw-muted); }
.dw-page .widget-type-form input[type='checkbox'] { flex: none; width: 16px; height: 16px; margin: 3px 0 0; }
.dw-page .widget-type-form .hs-error-msg, .dw-page .widget-type-form .hs-error-msgs label { color: #b42318; font-size: 13px; font-weight: 600; }
.dw-page .widget-type-form .hs-error-msgs { list-style: none; margin: 6px 0 0; padding: 0; }
.dw-page .widget-type-form input[type='submit'], .dw-page .widget-type-form .hs-button { width: 100%; background: var(--dw-blue); color: #fff; font-family: var(--dw-sans); font-size: 16px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; border: 0; border-radius: 4px; padding: 15px 20px; cursor: pointer; }
.dw-page .widget-type-form input[type='submit']:hover, .dw-page .widget-type-form .hs-button:hover { background: var(--dw-blue-deep); }
.dw-page .widget-type-form .hs-richtext, .dw-page .widget-type-form .submitted-message { font-size: 15px; color: var(--dw-ink); }
