/* Debits Direct — global styles */
:root {
  --navy: #0b1f3a;
  --navy-2: #12294a;
  --ink: #1a2433;
  --muted: #5b6b80;
  --line: #e3e9f1;
  --bg: #f7f9fc;
  --card: #ffffff;
  --green: #0e9f6e;
  --green-dark: #0b7d57;
  --amber: #b45309;
  --radius: 12px;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header.site {
  background: var(--navy);
  color: #fff;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo .mark-switch { width: 42px; height: 31px; display: block; }
.logo em { font-style: normal; color: #2fd39a; }
nav.main { display: flex; gap: 22px; align-items: center; }
nav.main a { color: #cdd8e6; font-size: .95rem; font-weight: 500; }
nav.main a:hover { color: #fff; text-decoration: none; }
nav.main a.cta {
  background: var(--green); color: #fff; padding: 9px 16px; border-radius: 8px; font-weight: 600;
}
nav.main a.cta:hover { background: var(--green-dark); }
@media (max-width: 720px) { nav.main a:not(.cta) { display: none; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 84px; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; letter-spacing: -.02em; max-width: 720px; }
.hero p.lead { margin-top: 18px; font-size: 1.15rem; color: #c3d0e0; max-width: 640px; }
.hero .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 9px; font-weight: 600; font-size: 1rem;
  border: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: #fff; }
.hero .trust { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; font-size: .88rem; color: #9fb2c9; }
.hero .trust span::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* Sections */
section.block { padding: 64px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2.section { font-size: 1.7rem; letter-spacing: -.015em; margin-bottom: 8px; }
p.section-sub { color: var(--muted); margin-bottom: 34px; max-width: 640px; }

/* Cards / grids */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Journey timeline */
.timeline { list-style: none; counter-reset: step; max-width: 720px; }
.timeline li {
  counter-increment: step; position: relative; padding: 0 0 28px 58px;
}
.timeline li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line);
}
.timeline h3 { font-size: 1.05rem; }
.timeline p { color: var(--muted); font-size: .95rem; }
.timeline .tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 9px; border-radius: 99px; margin-bottom: 6px; }
.tag.before { background: #e6f5ef; color: var(--green-dark); }
.tag.after { background: #fef3e2; color: var(--amber); }

/* Offers table */
.offers-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.offers { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .93rem; }
table.offers th, table.offers td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.offers th { background: var(--bg); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
table.offers tr:last-child td { border-bottom: 0; }
.reward { font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.bank { font-weight: 600; }
td .need { color: var(--muted); font-size: .87rem; }

/* Pricing */
.price-card { text-align: center; position: relative; }
.price-card .amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 2px; }
.price-card .per { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.price-card ul { list-style: none; text-align: left; margin: 16px 0 20px; color: var(--muted); font-size: .92rem; }
.price-card ul li { padding: 5px 0 5px 24px; position: relative; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 99px; text-transform: uppercase; letter-spacing: .05em;
}

/* Notices */
.notice {
  border-left: 4px solid var(--amber); background: #fffaf0;
  padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: .92rem; color: #6b4e1c; margin: 26px 0;
}
.notice.info { border-left-color: var(--green); background: #f0faf6; color: #1d5c46; }

/* FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative; padding-right: 30px; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.3rem; color: var(--muted); }
details.faq[open] summary::after { content: "–"; }
details.faq div { padding: 0 0 16px; color: var(--muted); font-size: .95rem; }

/* Forms */
form.hotlist { display: flex; gap: 10px; max-width: 460px; flex-wrap: wrap; }
form.hotlist input[type=email] {
  flex: 1; min-width: 220px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 1rem; font-family: inherit;
}
form.hotlist input[type=email]:focus { outline: 2px solid var(--green); border-color: transparent; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; max-width: 460px; }
.form-msg { margin-top: 12px; font-size: .95rem; font-weight: 600; }
.form-msg.ok { color: var(--green-dark); }
.form-msg.err { color: #b91c1c; }

/* Legal pages */
.legal { max-width: 760px; padding: 56px 20px 80px; margin: 0 auto; }
.legal h1 { font-size: 1.9rem; margin-bottom: 6px; letter-spacing: -.02em; }
.legal .updated { color: var(--muted); font-size: .88rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.2rem; margin: 30px 0 10px; }
.legal p, .legal li { color: #3a475a; font-size: .97rem; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 14px; }

/* Footer */
footer.site { background: var(--navy); color: #93a6bd; padding: 48px 0 40px; margin-top: 0; font-size: .88rem; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
@media (max-width: 720px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-size: .9rem; margin-bottom: 12px; }
footer.site a { color: #b9c8da; display: block; padding: 3px 0; }
footer.site a:hover { color: #fff; }
footer.site .company { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; line-height: 1.7; }
