/* Ledger Experts: colours of Canada and the Philippines, MAB typography (Anton + Inter) */
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --red: #C8102E;
  --red-dark: #A50D26;
  --blue: #0038A8;
  --gold: #FCD116;
  --ink: #0B1F3F;
  --muted: #43557A;
  --pale: #EEF3FB;
  --line: #D6E0F2;
  --white: #FFFFFF;
  --radius: 14px;
  --display: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 12px; }

/* Type */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.04; color: var(--ink); margin: 0; }
h1.display { font-size: clamp(42px, 6.6vw, 76px); }
h2.display { font-size: clamp(34px, 4.6vw, 54px); }
.hl { background: var(--gold); color: var(--ink); border-radius: .16em; padding: .02em .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* In Anton headlines the highlight is an inline block sized to the capitals, so it never covers the line above */
.display .hl { display: inline-block; line-height: .92; padding: .1em .16em .08em; border-radius: .14em; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--ink); max-width: 36em; margin: 20px 0 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p:not(.eyebrow) { color: var(--muted); margin: 16px 0 0; font-size: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 15px; color: #fff; white-space: nowrap; }
.nav .btn .sm { display: none; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; font-weight: 500; }
.proof li { display: flex; align-items: center; gap: 8px; }
.proof svg { color: var(--blue); flex: none; }
.close-panel { background: var(--pale); border-radius: 22px; padding: 32px; position: relative; }
.close-panel::before { content: ""; position: absolute; width: 74px; height: 74px; right: -12px; top: -12px; border-radius: 18px; background: var(--gold); z-index: 0; }
.close-card { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 18px 40px -24px rgba(11,31,63,.35); }
.close-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.close-card h3 { margin: 0; font-size: 18px; }
.chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--pale); font-size: 15px; font-weight: 500; }
.tick { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.close-card footer { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 14px 16px; background: var(--pale); border-radius: 12px; font-weight: 600; font-size: 15px; }
.close-card footer svg { color: var(--red); flex: none; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--pale); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.alt .card { border-color: #fff; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--pale); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.alt .card .icon { background: var(--pale); }
.card h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card.featured { border: 2px solid var(--red); }
.card .tag { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--red); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: var(--line); }
.steps li { position: relative; }
.num { width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-size: 26px; display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.steps li:nth-child(even) .num { background: var(--blue); }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Two columns */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { border-radius: 18px; padding: 34px; }
.panel.light { background: var(--pale); }
.panel.border { border: 1px solid var(--line); }
.panel h2 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 22px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #fff; color: var(--blue); border: 1px solid var(--line); }
.panel.border .list .ic { background: var(--pale); border-color: var(--pale); color: var(--red); }
.list strong { display: block; font-size: 17px; }
.list span { color: var(--muted); font-size: 15px; }
.panel .note { margin: 22px 0 0; font-weight: 600; display: flex; align-items: center; gap: 10px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 46em; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-info li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.contact-info svg { color: var(--blue); flex: none; margin-top: 3px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: 0 18px 40px -30px rgba(11,31,63,.35); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label, legend { font-size: 14px; font-weight: 600; }
.req { color: var(--red); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; min-height: 48px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,56,168,.15); }
.hint { font-size: 13px; color: var(--muted); }
fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.consent { display: grid; gap: 10px; margin-top: 4px; }
.consent .check { font-size: 14px; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-actions .btn { min-width: 220px; }
.status { font-size: 15px; font-weight: 500; }
.status.error { color: var(--red); }
.success { text-align: left; }
.success .badge { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.success h3 { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 34px; margin: 0 0 10px; line-height: 1.1; }
.success p { color: var(--muted); margin: 0 0 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 34px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer img { height: 46px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.foot-links a { color: var(--ink); text-decoration: none; }
.foot-links a:hover { color: var(--blue); }
.copy { width: 100%; color: var(--muted); font-size: 14px; margin: 0; }

/* Legal page */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal .updated { color: var(--muted); margin-top: 12px; }

@media (max-width: 960px) {
  .hero .wrap, .contact .wrap, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .steps::before { display: none; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand img { height: auto; max-height: 44px; max-width: 48vw; }
  .nav .btn { padding: 0 12px; font-size: 14px; }
  .grid-3, .steps, .fields, .checks { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .close-panel { padding: 18px; }
  .close-panel::before { width: 48px; height: 48px; right: -6px; top: -8px; }
  .panel, .form-card { padding: 24px; }
  .form-actions .btn { width: 100%; }
  .lead { font-size: 17px; }
}
@media (max-width: 480px) { .nav .btn .lg { display: none; } .nav .btn .sm { display: inline; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
