/* B2BT Academy public site. Colours from the supplied logo files (brief section 7.4). */
:root {
  --navy: #12263F; --paper: #F4EFE6; --copper-on-dark: #D98A5B; --green-on-dark: #4FB287;
  --green-on-light: #2F7D5B; --green-text: #286B4E; --muted: #4A5A6E; --line: #DCD5C8; --field-border: #8A8275;
  --error-bg: #FCEDEB; --error-line: #E5B7B2; --error-text: #7A231D;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: var(--paper);
  color: var(--navy); line-height: 1.55; }
a { color: var(--green-text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 1rem; top: .5rem; background: #fff; padding: .4rem .7rem; z-index: 10; }

header.site { background: var(--navy); color: var(--paper); }
header.site .bar { max-width: 1040px; margin: 0 auto; padding: .75rem 1rem; display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; }
header.site img { width: 40px; height: 40px; }
header.site .brand { color: var(--paper); text-decoration: none; display: flex; align-items: center; gap: .65rem; font-weight: 700; }
header.site nav { margin-left: auto; display: flex; gap: .25rem 1rem; flex-wrap: wrap; }
header.site nav a { color: var(--paper); padding: .5rem 0; }
header.site nav a.cta { color: var(--navy); background: var(--paper); border-radius: 8px; padding: .5rem .9rem; font-weight: 600; text-decoration: none; }

.hero { background: var(--navy); color: var(--paper); padding: 2.5rem 1rem 3rem; }
.hero .inner { max-width: 1040px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.15; margin: 0 0 .5rem; }
.hero .tagline { color: var(--green-on-dark); font-weight: 600; margin: 0 0 1rem; letter-spacing: .02em; }
.hero p { max-width: 640px; }

main { max-width: 1040px; margin: 0 auto; padding: 1.5rem 1rem 2rem; }
main.narrow { max-width: 720px; }
section { margin: 0 0 2rem; }
h2 { font-size: 1.35rem; margin: 0 0 .75rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.muted, .helptext { color: var(--muted); font-size: .92rem; }

/* Text B2BT still has to supply. Clearly marked so nothing invented ships. */
.todo { border: 2px dashed var(--copper-on-dark); background: #FBF3EC; border-radius: 10px; padding: 1rem 1.25rem; color: #6B3A1E; }
.todo strong { display: block; margin-bottom: .25rem; }

.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.1rem;
  border: 0; border-radius: 8px; background: var(--green-on-light); color: #fff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; }
.button.light { background: var(--paper); color: var(--navy); }
.button.outline { background: transparent; color: var(--paper); border: 1px solid var(--paper); }
button[disabled] { opacity: .6; cursor: progress; }

ul.batches { list-style: none; padding: 0; margin: 0; }
ul.batches li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
ul.batches li:last-child { border-bottom: 0; }

/* Form */
form fieldset { border: 1px solid var(--line); border-radius: 10px; background: #fff; margin: 0 0 1rem; padding: .5rem 1.25rem 1.25rem; min-width: 0; }
form legend { font-weight: 700; padding: 0 .4rem; }
label { display: block; font-weight: 600; margin-top: .85rem; }
input, select, textarea { width: 100%; min-height: 44px; padding: .5rem; border: 1px solid var(--field-border); border-radius: 8px;
  font: inherit; background: #fff; color: inherit; }
input[type=file] { padding: .55rem .5rem; }
input[aria-invalid=true], select[aria-invalid=true] { border-color: #A3322A; border-width: 2px; }
.consent label { display: flex; gap: .6rem; font-weight: 400; align-items: flex-start; }
.consent input { width: auto; min-height: 0; margin-top: .3rem; flex: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #A3322A; font-size: .92rem; margin: .25rem 0 0; }
.notice { border-radius: 8px; padding: .75rem 1rem; margin: 0 0 1rem; }
.notice.error { background: var(--error-bg); border: 1px solid var(--error-line); color: var(--error-text); }
.notice.info { background: #EEF5F1; border: 1px solid #CFE3D8; }

footer.site { text-align: center; color: var(--muted); font-size: .88rem; padding: 2rem 1rem; }
