/* Exim brand, as on exim-group.co.uk: raspberry pink, soft pink, olive and
   yellow on light grey; Hepta Slab in sentence case; flat, square edges. */
:root {
  --pink: #b90066; --pink-dark: #8f004f; --pink-soft: #eab2d1; --pink-mid: #c73385;
  --olive: #aaaa00; --yellow: #dedc00; --grey: #f7f7f7; --line: #d9d9d9;
  --ink: #111111; --white: #ffffff; --muted: #5c5c5c; --error: #b3122d;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grey); color: var(--ink);
  font-family: "Hepta Slab", Georgia, serif; font-weight: 400; font-size: 17px; line-height: 1.5; }
img { display: block; max-width: 100%; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px var(--gutter); background: var(--pink); }
.bar-logo { height: 30px; width: auto; }
.bar-tag { background: var(--olive); color: var(--white); padding: 5px 12px 6px;
  font-weight: 400; font-size: 16px; white-space: nowrap; }

/* hero: pink disc that curves away at the bottom, like the website */
.hero { position: relative; background: var(--pink); color: var(--white); text-align: center;
  padding: 18px var(--gutter) 64px; border-radius: 0 0 50% 50% / 0 0 56px 56px; }
.hero-title { margin: 0 auto; max-width: 11ch; font-weight: 800; line-height: 1.02;
  font-size: clamp(38px, 11.5vw, 68px); letter-spacing: -.015em; }
.hero-free { display: block; color: var(--pink-soft); font-weight: 900; line-height: .95;
  font-size: clamp(84px, 26vw, 170px); letter-spacing: -.02em; }
.pills { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 24px auto 0; padding: 0; max-width: 560px; }
.pills li { background: var(--pink-soft); color: var(--pink-dark); padding: 4px 13px 6px;
  font-weight: 600; font-size: 15px; }
.hero-comp { margin: 20px 0 0; font-weight: 300; font-size: 20px; }

/* body */
.main { max-width: 560px; margin: 0 auto; padding: 34px var(--gutter) 44px; }
.intro { position: relative; padding-right: 64px; }
.intro h2 { margin: 0; color: var(--olive); font-weight: 800; line-height: 1.02;
  font-size: clamp(34px, 9.4vw, 50px); letter-spacing: -.015em; }
.intro-sub { margin: 12px 0 0; font-weight: 800; font-size: 21px; color: var(--pink); }
.intro-body { margin: 12px 0 26px; font-weight: 300; }
/* the website's stacked yellow triangles */
.tri { position: absolute; right: 0; width: 0; height: 0; border-left: 26px solid transparent;
  border-right: 26px solid transparent; border-bottom: 26px solid var(--yellow); }
.tri-1 { top: 4px; }
.tri-2 { top: 30px; }

.card { background: var(--white); border-top: 6px solid var(--pink); padding: 24px 18px 26px; }

.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
label, legend { display: block; font-weight: 600; font-size: 16px; margin: 0 0 6px; padding: 0; }
.req { color: var(--pink); }
.opt { font-weight: 300; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-weight: 400; font-size: 17px; color: var(--ink);
  background: var(--grey); border: 1px solid var(--line); border-bottom: 2px solid #9a9a9a; border-radius: 0;
  padding: 11px 13px; appearance: none; -webkit-appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--pink) 50%), linear-gradient(135deg, var(--pink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
textarea { resize: vertical; min-height: 92px; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--white); border-color: var(--pink); border-bottom-color: var(--pink); box-shadow: 0 0 0 2px var(--pink-soft); }
[aria-invalid="true"] { border-color: var(--error); border-bottom-color: var(--error); background: #fff4f6; }
.err { margin: 6px 0 0; color: var(--error); font-size: 14px; font-weight: 600; }
.err:empty { display: none; }
.form-err { margin: 0 0 14px; }

/* area chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; cursor: pointer; font-weight: 400; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; border: 1px solid var(--pink-soft); padding: 7px 14px 8px; color: var(--pink-dark);
  font-weight: 600; font-size: 15px; background: #fdf3f8; transition: background .12s, color .12s; }
.chip input:checked + span { background: var(--pink); border-color: var(--pink); color: var(--white); }
.chip input:checked + span::before { content: "✓ "; }
.chip input:focus-visible + span { outline: 2px solid var(--pink); outline-offset: 2px; }

/* honeypot: off-screen for people, still in the form for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn { width: 100%; font: inherit; font-weight: 800; font-size: 21px;
  background: var(--pink); color: var(--white); border: 0; border-radius: 0; padding: 15px 20px 17px;
  cursor: pointer; transition: background .12s; }
.btn:hover { background: var(--pink-dark); }
.btn:focus-visible { outline: 3px solid var(--pink-soft); outline-offset: 3px; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* thank-you */
.done { text-align: center; }
.done:focus { outline: none; }
.done-kicker { display: inline-block; margin: 0 0 12px; background: var(--olive); color: var(--white);
  padding: 4px 14px 6px; font-weight: 600; }
.done h2 { margin: 0 0 12px; color: var(--pink); font-weight: 800; line-height: 1.05; font-size: 32px; letter-spacing: -.01em; }
.done p { margin: 0 0 10px; font-weight: 300; }

/* footer */
.foot { background: var(--pink); color: var(--white); text-align: center; padding: 34px var(--gutter) 40px; }
.foot-line { margin: 0 auto 24px; max-width: 16ch; font-weight: 800; font-size: 26px; line-height: 1.1; }
.foot-line span { display: block; color: var(--pink-soft); }
.foot-logos { display: flex; align-items: center; justify-content: center; gap: 26px; }
.foot-exim { height: 30px; width: auto; }
.foot-bcorp { height: 80px; width: auto; filter: invert(1); }

@media (min-width: 720px) {
  .bar-logo { height: 36px; }
  .hero { padding-bottom: 90px; border-radius: 0 0 50% 50% / 0 0 110px 110px; }
  .main { padding-top: 48px; }
  .card { padding: 32px 32px 34px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
