/* Bank Right: site stylesheet
   Palette is pulled from the logo green. Paper background, ink text, green for
   action and emphasis only. Serif display for headlines (clarity, trust), a plain
   sans for body copy. No decoration that a worried business owner has to read past. */

:root {
  --green: #1e9a3a;
  --green-deep: #146b2a;
  --green-ink: #0f3d1b;
  --green-tint: #e9f5ec;
  --green-line: #bfe2c8;
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --card: #ffffff;
  --ink: #15201a;
  --ink-2: #3d4a42;
  --dim: #6b776f;
  --line: #dcd9cf;
  --warn: #b7791f;
  --warn-tint: #fbf3e3;
  --bad: #b03a2e;
  --bad-tint: #fbebe8;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(21, 32, 26, 0.08);
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 44em; }
.small { font-size: 0.92rem; color: var(--dim); }
.eyebrow { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); font-weight: 700; margin-bottom: 14px; }
strong { font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
section { padding-block: 64px; }
@media (min-width: 900px) { section { padding-block: 88px; } }
.alt { background: var(--paper-2); }
.dark { background: var(--green-ink); color: #eef5ef; }
.dark h2, .dark h3 { color: #fff; }
.dark .lede, .dark p { color: #d7e6da; }
.dark .eyebrow { color: #9fd8ad; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--green-deep); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
@media (max-width: 720px) { .nav .hide-m { display: none; } }

/* Buttons */
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  font-weight: 700; padding: 15px 26px; border-radius: 8px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 1.05rem; line-height: 1.2; text-align: center;
  box-shadow: 0 6px 16px rgba(30, 154, 58, 0.25); transition: background .15s, transform .15s;
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn.sm { padding: 11px 18px; font-size: 0.95rem; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--green-deep); border: 2px solid var(--green-line); box-shadow: none; }
.btn.ghost:hover { background: var(--green-tint); }
.btn.block { display: block; width: 100%; }
.cta-note { font-size: 0.9rem; color: var(--dim); margin-top: 10px; }

/* Hero */
.hero { padding-block: 56px 48px; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
@media (min-width: 900px) { .hero { padding-block: 84px 72px; } }
.hero .grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero h1 { color: var(--ink); }
.hero .lede { margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding: 0; list-style: none; font-size: 0.93rem; color: var(--ink-2); }
.trust li::before { content: "\2713"; color: var(--green); font-weight: 700; margin-right: 8px; }

/* Hero card (what the assessment does) */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.card h3 { margin-top: 0; }
.card ol, .card ul { padding-left: 22px; margin: 0 0 18px; }
.card li { margin-bottom: 8px; }
.card .fine { font-size: 0.85rem; color: var(--dim); margin: 0; }

/* Quote-style rumination block */
.echo { border-left: 4px solid var(--green); padding: 6px 0 6px 22px; margin: 26px 0; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.echo span { display: block; }

/* Two column prose */
.cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Feature tiles */
.tiles { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tiles.three { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile .num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); font-weight: 700; margin-bottom: 12px; }
.tile h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.dark .tile { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.dark .tile p { color: #cfe0d3; }
.dark .tile .num { background: rgba(159,216,173,0.18); color: #bfe9ca; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 26px; }
table.cmp { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 560px; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp th { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: var(--paper-2); }
table.cmp td:first-child { font-weight: 600; width: 34%; }
table.cmp tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  table.cmp { min-width: 0; }
  table.cmp tr:first-child { display: none; }            /* header row */
  table.cmp tr, table.cmp td { display: block; width: 100%; }
  table.cmp tr { border-bottom: 1px solid var(--line); padding: 14px 16px; }
  table.cmp tr:last-child { border-bottom: 0; }
  table.cmp td { padding: 4px 0; border-bottom: 0; }
  table.cmp td:first-child { width: 100%; font-family: var(--font-display); font-size: 1.15rem; padding-bottom: 6px; }
  table.cmp td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin: 8px 0 2px; }
  table.cmp td[data-label="Price"] { font-weight: 600; }
}

/* Do / Don't */
.dodont { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 800px) { .dodont { grid-template-columns: 1fr 1fr; } }
.dodont .box { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); background: var(--card); }
.dodont .box.do { border-top: 4px solid var(--green); }
.dodont .box.dont { border-top: 4px solid var(--bad); }
.dodont ul { padding-left: 20px; margin: 0; }
.dodont li { margin-bottom: 10px; }

/* Honesty block */
.honest { background: var(--warn-tint); border: 1px solid #ecd9b0; border-radius: var(--radius); padding: 24px 28px; margin-top: 26px; }
.honest h3 { margin-top: 0; font-size: 1.15rem; }
.honest ul { margin: 0; padding-left: 20px; }
.honest li { margin-bottom: 8px; }

/* Offer */
.offer { display: grid; gap: 22px; margin-top: 30px; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.2fr 0.8fr; } }
.price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--ink); line-height: 1; }
.price small { font-family: var(--font-body); font-size: 0.95rem; color: var(--dim); font-weight: 400; margin-left: 8px; }
.checks { list-style: none; padding: 0; margin: 18px 0; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 14px 0; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; color: var(--green); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); margin-bottom: 14px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
@media (min-width: 800px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: 0.95rem; }
.timeline li b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.timeline li.here { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.timeline li.here b::after { content: " (you are likely here)"; font-family: var(--font-body); font-size: 0.78rem; color: var(--green-deep); font-weight: 600; }

/* Final CTA */
.final { text-align: center; }
.final .btn { margin-top: 10px; }

/* Footer */
.site-footer { background: #111a14; color: #b9c7bd; padding-block: 44px; font-size: 0.88rem; }
.site-footer .wrap { display: grid; gap: 22px; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr; } }
.site-footer img { height: 56px; width: auto; margin-bottom: 14px; }
.site-footer a { color: #d9e6dc; }
.site-footer p { margin-bottom: 10px; }
.site-footer .links a { margin-right: 16px; }

/* Assessment form */
.assess { padding-block: 40px 80px; }
.assess .card { max-width: 720px; margin: 0 auto; padding: 32px; }
.progress { height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.progress i { display: block; height: 100%; background: var(--green); width: 0; transition: width .25s; }
.step { display: none; }
.step.active { display: block; }
.step h2 { font-size: 1.55rem; margin-bottom: 6px; }
.step .help { color: var(--dim); font-size: 0.95rem; margin-bottom: 18px; }
.choices { display: grid; gap: 10px; margin-bottom: 22px; }
@media (min-width: 600px) { .choices.two { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 8px; padding: 14px 16px; cursor: pointer; background: #fff; font-weight: 500; transition: border-color .12s, background .12s; }
.choice:hover { border-color: var(--green-line); background: #fbfdfb; }
.choice input { width: 20px; height: 20px; accent-color: var(--green); margin: 0; flex: none; }
.choice.selected { border-color: var(--green); background: var(--green-tint); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.field input { width: 100%; font: inherit; padding: 13px 14px; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.field input:focus { outline: none; border-color: var(--green); }
.field .err { color: var(--bad); font-size: 0.88rem; margin-top: 6px; display: none; }
.field.invalid input { border-color: var(--bad); }
.field.invalid .err { display: block; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.linkbtn { background: none; border: 0; color: var(--dim); font: inherit; cursor: pointer; padding: 10px 0; }
@media (max-width: 600px) {
  /* stack the step buttons: full-width primary on top, Back as a centered text link under it */
  .actions { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .actions .btn { width: 100%; padding-inline: 16px; }
  .actions .linkbtn { text-align: center; padding: 12px 0 0; }
  .actions span:empty { display: none; }
  .assess .card { padding: 22px 18px; }
  .site-header .nav .small { display: none; }
}
.form-error { color: var(--bad); background: var(--bad-tint); border-radius: 8px; padding: 12px 14px; margin-top: 14px; display: none; }
.consent { font-size: 0.72rem; line-height: 1.5; color: var(--dim); margin-top: 16px; }

/* Thank-you */
.tier-msg { display: none; }
.tier-msg.active { display: block; }
.pill { display: inline-block; background: var(--green-tint); color: var(--green-deep); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.pill.warn { background: var(--warn-tint); color: var(--warn); }

/* Utilities */
.mt0 { margin-top: 0; } .mt2 { margin-top: 20px; } .mt3 { margin-top: 32px; }
.center { text-align: center; }
.hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.sr { position: absolute; left: -9999px; }

/* Privacy choices control on the privacy page (js/consent.js). There is no banner:
   nothing is ever overlaid on a page the visitor came to read. */
.br-choices { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0 22px; }
.br-choice-state { margin: 0 0 14px; font-size: 0.95rem; color: var(--ink-2); }
.br-choice-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 600px) { .br-choice-actions .btn { flex: 1 1 100%; } }

/* Explainer video. Self-hosted rather than a YouTube embed: the standard YouTube
   player sets advertising cookies on load, which would fire before consent for EEA
   visitors and undercut the Consent Mode defaults. preload="none" means the 6MB file
   costs nothing until someone actually presses play. */
/* Text one side, video the other. Stacks to a single column on phones, where the
   video follows the copy rather than pushing it below the fold. */
.split { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) {
  /* Video on the left and given the larger share of the row. The DOM keeps the copy
     first so that when this stacks on a phone the headline and the customer quotes
     come before the video instead of being pushed under it. */
  .split { grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
  .split > div:first-child { order: 2; }
  .split > div:last-child { order: 1; }
}
/* Body copy runs the full container width beneath both columns, starting flush with
   the left edge of the video. */
.split-body { margin-top: 26px; }
.split-body p:last-child { margin-bottom: 0; }
.split .video-wrap { margin-top: 0; }

.video-wrap { margin: 28px 0 10px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #000; line-height: 0; }
.video-wrap video { width: 100%; height: auto; display: block; }
.video-wrap iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; border: 0; }
/* Click-to-load YouTube. Nothing leaves for youtube.com until the visitor asks for it,
   which keeps the page fast and keeps third-party cookies behind an explicit action. */
.yt-lite { display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; position: relative; line-height: 0; }
.yt-lite img { width: 100%; height: auto; display: block; }
.yt-play { position: absolute; inset: 0; display: grid; place-items: center; }
.yt-play svg { opacity: .9; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); transition: opacity .15s ease, transform .15s ease; }
.yt-lite:hover .yt-play svg, .yt-lite:focus-visible .yt-play svg { opacity: 1; transform: scale(1.07); }
