/* Wholesale ATM Services — public website.
   OB house style (OB Design) with the WATMS red accent: charcoal hero, warm-paper content,
   one accent gradient. No external fonts, frameworks or trackers. */

:root {
  --ob-accent: #ff6b6b;
  --ob-accent-2: #b3122e;
  --ob-gradient: linear-gradient(135deg, #ff6b6b, #b3122e);
  --ob-ink: #fff;
  --red: #c6283d;            /* readable red for text/links on light backgrounds */

  --ink-bg: #0e1013;         /* OB dark */
  --ink-panel: #16181c;
  --ink-panel2: #1f2227;
  --ink-fg: #f2f3f5;
  --ink-fg2: #b9bdc4;

  --bg: #f4f4f1;             /* OB light (warm paper) */
  --panel: #fcfcfb;
  --border: #e3e1da;
  --fg: #16181c;
  --fg2: #4b5058;
  --dim: #7d838c;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 32px rgba(16,18,22,.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --logo-font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--fg); background: var(--bg);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--ob-accent-2); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--fg2); max-width: 46rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: .8rem;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* ── logo ─────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; height: 2.3rem; padding: 0 .7rem;
  border-radius: .65rem; background: var(--ob-gradient); color: var(--ob-ink);
  font: 800 1.08rem/1 var(--logo-font); letter-spacing: -0.045em;
  box-shadow: 0 0 22px rgba(255,107,107,.25), inset 0 1px 0 rgba(255,255,255,.2);
}
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; white-space: nowrap; }

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(14,16,19,.92); color: var(--ink-fg);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  color: var(--ink-fg2); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: .55rem .8rem; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav .btn { margin-left: .4rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.18); color: #fff;
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle svg { margin: auto; }

/* ── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px;
  padding: .7rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--ob-gradient); color: #fff !important; box-shadow: 0 6px 20px rgba(179,18,46,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(179,18,46,.36); }
.btn-ghost { color: inherit; border-color: currentColor; background: transparent; opacity: .9; }
.btn-ghost:hover { opacity: 1; }
.site-header .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }

/* ── hero ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: var(--ink-fg); background: var(--ink-bg);
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(255,107,107,.22), rgba(179,18,46,.10) 55%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero .eyebrow { color: var(--ob-accent); }
.hero .lead { color: var(--ink-fg2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-ctas .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.8rem 0 0; padding: 0; list-style: none; color: var(--ink-fg2); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--ob-accent); font-weight: 800; margin-right: .45rem; }
.hero-atm { justify-self: center; position: relative; }
.hero-atm::before { content: ""; position: absolute; inset: 8% -40% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,107,107,.30), rgba(179,18,46,.12) 60%, transparent 75%); filter: blur(6px); }
.hero-atm img { position: relative; width: min(430px, 100%); height: auto; border-radius: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.hero-art { justify-self: center; width: min(360px, 100%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.page-hero { padding: clamp(2.8rem, 7vw, 4.5rem) 0 clamp(2.4rem, 6vw, 3.6rem); }
.page-hero .wrap { grid-template-columns: 1fr; }

/* ── sections ─────────────────────────────────────────── */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--ink-bg); color: var(--ink-fg); }
.section-dark .lead, .section-dark p { color: var(--ink-fg2); }
.section-dark .eyebrow { color: var(--ob-accent); }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card p { color: var(--fg2); margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: 1rem; font-weight: 700; text-decoration: none; }
.card .card-link::after { content: " →"; }
.section-dark .card { background: var(--ink-panel); border-color: rgba(255,255,255,.08); box-shadow: none; }
.section-dark .card p { color: var(--ink-fg2); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255,107,107,.16), rgba(179,18,46,.12)); color: var(--ob-accent-2);
}
.section-dark .icon { color: var(--ob-accent); }
.icon svg { width: 24px; height: 24px; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.3rem 1.3rem; }
.steps li::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 2.1rem; height: 2.1rem;
  border-radius: 50%; background: var(--ob-gradient); color: #fff; font-weight: 800; margin-bottom: .9rem;
}
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--fg2); font-size: .96rem; margin: 0; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split + .split { margin-top: 4rem; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .65rem; }
.ticks li { padding-left: 1.9rem; position: relative; color: var(--fg2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--ob-gradient) no-repeat;
  -webkit-mask: radial-gradient(circle, #000 99%, transparent 100%);
}
.ticks li::after { content: "✓"; position: absolute; left: .27rem; top: .1em; color: #fff; font-size: .75rem; font-weight: 800; }
.panel-art {
  border-radius: 20px; background: var(--ink-bg); padding: 2.2rem; color: var(--ink-fg);
  box-shadow: 0 30px 60px rgba(16,18,22,.18); position: relative; overflow: hidden;
}
.panel-art::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 80%; height: 120%;
  background: radial-gradient(closest-side, rgba(255,107,107,.22), transparent 70%); }
.panel-art > * { position: relative; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { background: var(--ink-panel); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 1rem 1.1rem; }
.stat b { display: block; font-size: 1.35rem; color: #fff; }
.stat span { color: var(--ink-fg2); font-size: .9rem; }

/* compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .97rem; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { background: var(--ink-bg); color: #fff; font-size: .95rem; }
.compare thead th:not(:first-child) { text-align: center; }
.compare td:not(:first-child) { text-align: center; color: var(--fg2); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { font-size: .85rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: rgba(198,40,61,.08); color: var(--red); }
.section-dark .chip { background: rgba(255,107,107,.12); color: var(--ob-accent); }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 52rem; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.05rem 2rem 1.05rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .85rem; font-size: 1.4rem; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fg2); margin: 0 0 1.1rem; }

/* CTA band */
.cta-band { background: var(--ink-bg); color: #fff; border-radius: 22px; padding: clamp(2rem, 5vw, 3.2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -60% -20% auto auto; width: 60%; height: 220%;
  background: radial-gradient(closest-side, rgba(255,107,107,.25), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band p { color: var(--ink-fg2); margin: 0; }
.cta-band h2 { margin-bottom: .3rem; }

/* contact + form */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--fg); background: #fff; border: 1px solid #d6d3ca;
  border-radius: var(--radius-sm); padding: .75rem .9rem; min-height: 46px; width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(255,107,107,.35); border-color: var(--ob-accent-2); }
.hp { position: absolute; left: -5000px; }
.form-note { font-size: .85rem; color: var(--dim); }
.form-status { padding: .9rem 1rem; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: #eaf8f0; color: #116b3e; border: 1px solid #bfe8d0; }
.form-status.err { display: block; background: #fdeeee; color: #9b1c2c; border: 1px solid #f4c7cc; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.info-list .icon { margin: 0; width: 44px; height: 44px; }
.info-list b { display: block; }
.info-list span { color: var(--fg2); }
.placeholder { background: rgba(253,176,34,.18); border-radius: 4px; padding: 0 .25rem; color: #8a5a00; font-weight: 600; }

/* prose (privacy) */
.prose { max-width: 48rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--fg2); }

/* ── footer ───────────────────────────────────────────── */
.site-footer { background: var(--ink-bg); color: var(--ink-fg2); padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--ink-fg2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .85rem; color: var(--dim); }
.site-footer .placeholder { background: rgba(253,176,34,.15); color: #fdb022; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--ink-bg); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-110%); transition: transform .25s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav .btn { margin: .5rem 0 0; }
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(240px, 70%); }
  .hero-atm { order: -1; }
  .hero-atm img { width: min(340px, 86vw); }
  .split .panel-art { order: -1; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .grid-4, .steps, .form-row, .site-footer .cols { grid-template-columns: 1fr; }
  .brand-name { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* supported brands strip */
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.6rem 3rem;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow); }
.brands img { height: 40px; width: auto; opacity: .85; transition: opacity .2s; }
.brands img:hover { opacity: 1; }
@media (max-width: 600px) { .brands { gap: 1.2rem 2rem; } .brands img { height: 30px; } }
@media (max-width: 600px) { .brands img[style] { height: auto !important; max-height: 44px; } }

/* enquiry form: sections, ABN lookup, ABR card, match hints */
.fs { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.3rem; margin: 0; display: grid; gap: 1rem; background: var(--panel); }
.fs legend { font-weight: 800; padding: 0 .4rem; font-size: 1rem; }
.req { color: var(--red); }
.abn-row { display: flex; gap: .5rem; }
.abn-row input { flex: 1; }
.btn-sm { min-height: 46px; padding: .5rem 1rem; color: var(--fg) !important; border-color: #c9c5ba; }
.form-row-3 { grid-template-columns: 2fr 1fr 1fr; }
.abr-card { border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .92rem; background: #f1f0ec; color: var(--fg2); border: 1px solid var(--border); }
.abr-card.ok { background: #eaf8f0; border-color: #bfe8d0; color: #155c38; }
.abr-card.warn { background: #fff6e5; border-color: #f5d79a; color: #7a5200; }
.abr-name { font-weight: 800; font-size: 1.02rem; color: var(--fg); margin-bottom: .2rem; }
.abr-meta { margin-top: .15rem; }
.match { font-size: .85rem; font-weight: 600; min-height: 1em; }
.match.match { color: #116b3e; }
.match.close { color: #8a5a00; }
.match.mismatch { color: #9b1c2c; }
.linkish { background: none; border: 0; padding: 0; color: var(--red); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
@media (max-width: 600px) { .form-row-3 { grid-template-columns: 1fr 1fr; } .form-row-3 label:first-child { grid-column: 1 / -1; } }
