/* Bantrel Business landing page. Tokens from the Bantrel design system
   (context/clients/bantrel/design-system.md in the OS). */
:root {
  --royal: #0039A6;
  --royal-dark: #002C80;
  --teal: #00B894;
  --ink: #0E1E3A;
  --cool: #E6EBF1;
  --white: #FFFFFF;
  --slate: #4B5563;
  --on-ink-muted: #C3CDDD;
  --display: "Poppins", Arial, sans-serif;
  --text: "Inter", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.6 var(--text);
}

img { max-width: 100%; display: block; }

a { color: var(--royal); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 44rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.site-header { padding: 20px 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { width: 155px; height: auto; }
.header-link {
  font: 600 15px/1.3 var(--text);
  text-decoration: none;
  text-align: right;
}
.header-link:hover { text-decoration: underline; }

/* Type */
h1, h2 { font-family: var(--display); margin: 0 0 20px; }
h1 {
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--royal);
}
h2 {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.25px;
}
p { margin: 0 0 16px; }

.product {
  font: 600 16px/1.4 var(--display);
  color: var(--ink);
  margin-bottom: 12px;
}
.lead { font-size: 19px; line-height: 1.55; max-width: 32rem; margin-bottom: 28px; }
.aside { color: var(--slate); font-size: 15px; margin-top: 20px; max-width: 26rem; }

.button {
  display: inline-block;
  background: var(--royal);
  color: var(--white);
  font: 600 16px/1.25 var(--text);
  letter-spacing: 0.2px;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--royal-dark); }

/* Rows: the page's one layout primitive. Text beside the app screen it describes. */
.row { padding: 88px 0; border-top: 1px solid var(--cool); }
.hero { border-top: 0; padding-top: 40px; }

.row-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 72px;
  align-items: center;
}
.copy { max-width: 36rem; }

/* The screen sits on a Royal Blue module with the teal corner block
   from the Nine-Sector Grid mark. */
.screen { margin: 0; }
.module {
  position: relative;
  background: var(--royal);
  border-radius: 32px;
  padding: 44px 56px 0;
  overflow: hidden;
}
.module img {
  width: 100%;
  max-width: 300px;
  height: 500px;
  margin: 0 auto;
  object-fit: cover;
  object-position: top;
  border-radius: 26px 26px 0 0;
}
.module::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--teal);
}
figcaption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate);
  margin-top: 14px;
  max-width: 28rem;
}

/* Worked example */
.example { background: var(--ink); color: var(--white); border-top: 0; }
.example h2 { color: var(--white); }
.example figcaption { color: var(--on-ink-muted); }
.example .note { color: var(--on-ink-muted); margin-top: 28px; }

.ledger {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-variant-numeric: tabular-nums;
}
.ledger th, .ledger td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  vertical-align: top;
}
.ledger thead th {
  font: 500 14px/1.4 var(--text);
  color: var(--on-ink-muted);
  padding-top: 0;
}
.ledger td span { display: block; font-size: 14px; color: var(--on-ink-muted); }
.ledger .num { text-align: right; white-space: nowrap; padding-left: 16px; }
.ledger tbody td.num { font-weight: 600; }
.ledger tfoot th, .ledger tfoot td {
  background: var(--teal);
  color: var(--ink);
  border: 0;
  font: 700 22px/1.3 var(--display);
  padding: 18px 20px;
}
.ledger tfoot th { border-radius: 14px 0 0 14px; }
.ledger tfoot td { border-radius: 0 14px 14px 0; }

/* Plain and demo rows */
.plain p, .demo p { font-size: 18px; }
.demo { background: var(--cool); border-top: 0; }
.demo .button { margin-top: 12px; }
.contacts { margin-top: 20px; }
.contacts a { font-weight: 600; white-space: nowrap; }

/* Footer: ink field with link columns and a copyright bar, after bantrelconsults.com */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: 15px; padding: 64px 0 0; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 40px 32px; padding-bottom: 48px; }
.footer-name { font: 700 20px/1.3 var(--display); color: var(--white); margin-bottom: 8px; }
.footer-about p { margin: 0 0 14px; max-width: 22rem; }
.site-footer h2 { font: 600 13px/1.4 var(--display); letter-spacing: 0.6px; text-transform: uppercase; color: var(--white); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 20px; padding-bottom: 28px; font-size: 13px; }
.footer-base p { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .row { padding: 56px 0; }
  .hero { padding-top: 24px; }
  .row-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .module { padding: 32px 40px 0; }
  .module img { max-width: 260px; height: 420px; }
  .module::after { width: 22px; height: 22px; right: 9px; bottom: 9px; border-radius: 6px; }
  .lead { font-size: 18px; }
  .plain p, .demo p { font-size: 17px; }
  .brand img { width: 128px; }
  .header-link { font-size: 14px; }
  .ledger tfoot th, .ledger tfoot td { font-size: 19px; padding: 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Privacy policy */
.policy { padding: 56px 0 80px; }
.policy h1 { margin-bottom: 8px; }
.policy h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.policy p { margin: 0 0 16px; }
.policy-date { color: var(--slate); margin-bottom: 32px !important; }
