/* ATM Business Network Blueprint
   Brand: black ground, gold accent, heavy display type.
   Built mobile first. This gets read on a phone far more than a laptop. */

:root {
  --gold: #f5a800;
  --gold-bright: #ffc02e;
  --gold-dim: rgba(245, 168, 0, 0.14);

  --bg: #0b0b0b;
  --bg-glow: #171106;
  --card: #151515;
  --card-hi: #1c1c1c;
  --line: #282828;
  --line-hi: #3a3a3a;

  --text: #ffffff;
  --text-soft: #c9c9c9;
  --muted: #8b8b8b;

  --green: #38d47a;
  --green-dim: rgba(56, 212, 122, 0.14);
  --red: #ff5252;
  --red-dim: rgba(255, 82, 82, 0.14);

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);

  --font-display: 'Anton', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(
    ellipse 90% 55% at 50% -10%,
    var(--bg-glow) 0%,
    var(--bg) 70%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px 72px;
}

.wrap--wide {
  max-width: 1180px;
}

/* ---------- Logotype ---------- */

.brand {
  padding: 34px 0 24px;
  text-align: center;
}

/* Two of the three elements in the mark are black: the slab behind ATM, and the
   brush script on THE and NETWORK. On a near black page they disappear and the
   logo loses its shape. A gold burst behind it silhouettes the black and lifts
   the whole mark. This is not a new treatment, it is the same ground the ABN
   promo banner already puts the logo on. */
.logo-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.logo-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 144%;
  height: 172%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(245, 168, 0, 0.34) 0%,
    rgba(245, 168, 0, 0.11) 46%,
    rgba(245, 168, 0, 0) 70%
  );
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

.logo {
  display: inline-block;
  max-width: 280px;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  /* A hairline of warmth on the outer edge, so the black slab reads as an edge
     rather than as a hole in the page. */
  filter: drop-shadow(0 0 14px rgba(245, 168, 0, 0.34));
}

/* Typographic stand-in, used until the logo file is dropped in. Matches the
   real mark: gold ATM over white BUSINE$$ on a black slab. */
.logotype {
  display: inline-block;
  background: #000;
  border: 1px solid var(--line);
  padding: 12px 26px 14px;
  transform: skewX(-4deg);
  line-height: 0.95;
}

.logotype span {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.logotype .lt-atm {
  color: var(--gold);
  font-size: 44px;
}

.logotype .lt-biz {
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.16em;
}

.brand-tag {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Type ---------- */

h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 46px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1 .hl {
  color: var(--gold);
}

.lede {
  color: var(--text-soft);
  font-size: 17px;
  margin: 0 0 28px;
}

h2 {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 0;
  line-height: 1.35;
}

p {
  margin: 0 0 14px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--gold-bright);
}

/* ---------- Support bar ---------- */

.support {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  background: var(--gold-dim);
  border: 1px solid rgba(245, 168, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  margin-bottom: 26px;
  font-size: 14.5px;
  color: var(--text-soft);
}

.support strong {
  color: #fff;
}

/* ---------- Progress ---------- */

.progress {
  margin-bottom: 30px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
}

.progress-head b {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
}

.progress-head span {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bar {
  height: 8px;
  background: #1e1e1e;
  border-radius: 99px;
  overflow: hidden;
}

.bar > i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Phase ---------- */

.phase {
  margin-bottom: 38px;
}

.phase-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.phase-head .sub {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Step ---------- */

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.step[data-status='completed'] {
  border-color: rgba(56, 212, 122, 0.35);
}

.step[data-status='stuck'] {
  border-color: rgba(255, 82, 82, 0.45);
}

.step[data-status='in_progress'] {
  border-color: rgba(245, 168, 0, 0.35);
}

.step-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
}

.step-n {
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  background: #000;
  border: 1px solid var(--line-hi);
  color: var(--muted);
  margin-top: 1px;
}

.step[data-status='completed'] .step-n {
  background: var(--green);
  border-color: var(--green);
  color: #04240f;
}

.step[data-status='stuck'] .step-n {
  background: var(--red);
  border-color: var(--red);
  color: #2b0000;
}

.step[data-status='in_progress'] .step-n {
  background: var(--gold);
  border-color: var(--gold);
  color: #2a1c00;
}

.step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.step-body .sum {
  color: var(--muted);
  font-size: 14.5px;
  margin: 5px 0 0;
}

.step-warn {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
}

.step-needs {
  display: block;
  margin-top: 8px;
  padding: 9px 12px;
  border-left: 3px solid var(--gold);
  background: var(--gold-dim);
  font-size: 13.5px;
  color: var(--text-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px 60px;
}

/* ---------- Status control ---------- */

.statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 16px 60px;
}

.st {
  appearance: none;
  border: 1px solid var(--line-hi);
  background: #000;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  padding: 7px 13px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s;
}

.st:hover {
  border-color: var(--muted);
  color: var(--text-soft);
}

.st[aria-pressed='true'] {
  color: #fff;
}

.st[data-v='in_progress'][aria-pressed='true'] {
  background: var(--gold);
  border-color: var(--gold);
  color: #2a1c00;
}

.st[data-v='completed'][aria-pressed='true'] {
  background: var(--green);
  border-color: var(--green);
  color: #04240f;
}

.st[data-v='stuck'][aria-pressed='true'] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.st[data-v='not_started'][aria-pressed='true'] {
  background: #333;
  border-color: #444;
  color: #fff;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 650;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.btn--gold {
  background: var(--gold);
  color: #241800;
}

.btn--gold:hover {
  background: var(--gold-bright);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-hi);
  color: var(--text-soft);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--block {
  width: 100%;
  justify-content: center;
  padding: 15px 20px;
  font-size: 16px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Disclosure panel ---------- */

.panel {
  border-top: 1px solid var(--line);
  padding: 18px 16px 20px;
  background: #101010;
  font-size: 15px;
  color: var(--text-soft);
}

.panel h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 22px 0 8px;
  letter-spacing: 0.01em;
}

.panel h4:first-child {
  margin-top: 0;
}

.panel ul,
.panel ol {
  margin: 0 0 14px;
  padding-left: 20px;
}

.panel li {
  margin-bottom: 6px;
}

.panel li::marker {
  color: var(--gold);
}

.callout {
  border-left: 3px solid var(--gold);
  background: var(--gold-dim);
  padding: 11px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 0 0 14px;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
}

.callout--danger {
  border-left-color: var(--red);
  background: var(--red-dim);
}

.prompt-box {
  background: #000;
  border: 1px solid var(--line-hi);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-soft);
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 10px;
}

.faq {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 6px;
}

.faq b {
  color: #fff;
  display: block;
  font-size: 14.5px;
}

.faq p {
  margin: 3px 0 12px;
  font-size: 14px;
}

/* ---------- Forms ---------- */

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.field .help {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

input[type='text'],
input[type='email'],
input[type='tel'],
textarea,
select {
  width: 100%;
  font-family: inherit;
  font-size: 16px; /* 16px stops iOS zooming the page on focus */
  color: #fff;
  background: #000;
  border: 1px solid var(--line-hi);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.15s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.grid2 {
  display: grid;
  gap: 0 14px;
  grid-template-columns: 1fr 1fr;
}

.err {
  color: var(--red);
  font-size: 13px;
  margin-top: 5px;
}

input[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: var(--red);
}

.formcard {
  background: #101010;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}

/* ---------- Notices ---------- */

.notice {
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 14.5px;
  margin-bottom: 16px;
}

.notice--ok {
  background: var(--green-dim);
  border: 1px solid rgba(56, 212, 122, 0.4);
  color: #b6f5d0;
}

.notice--bad {
  background: var(--red-dim);
  border: 1px solid rgba(255, 82, 82, 0.4);
  color: #ffc9c9;
}

/* ---------- Link handoff ---------- */

.linkbox {
  background: #000;
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  color: var(--gold-bright);
  word-break: break-all;
  margin-bottom: 12px;
}

/* ---------- Admin ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.1;
  color: var(--gold);
}

.stat span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 860px;
}

th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: var(--card-hi);
}

td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 650;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}

.pill--hot {
  background: var(--red-dim);
  color: #ff8a8a;
}

.pill--warm {
  background: var(--gold-dim);
  color: var(--gold-bright);
}

.pill--cool {
  background: #202020;
  color: var(--muted);
}

.pill--done {
  background: var(--green-dim);
  color: #7bebac;
}

/* ---------- Footer ---------- */

.foot {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.foot b {
  color: var(--gold);
  font-weight: 650;
}

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

@media (min-width: 640px) {
  .wrap {
    padding: 0 26px 80px;
  }
  .logotype .lt-atm {
    font-size: 56px;
  }
  .logotype .lt-biz {
    font-size: 25px;
  }
}

@media (max-width: 460px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
  .statuses,
  .step-actions {
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
