/* AG Electrical sign up page. Brand sheet approved 12 Nov 2026. */
@font-face {
  font-family: "Big Shoulders";
  src: url("/bigshoulders-900.v1.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/montserrat-var.v1.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #152f37;
  --off: #fafafa;
  --blue: #1fa2ff;
  --orange: #f56e00;
  --tone: #2f4e57;
  --edge: #8aa0a6;
  --mist: #e7eaeb;
  --coral: #ffb3a7;
  --head: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--teal);
  color: var(--off);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 18px 20px 40px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--off);
  color: var(--teal);
  padding: 10px 14px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; z-index: 10; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.badge { display: block; width: 68px; height: 68px; }
.langs {
  display: flex;
  border: 2px solid var(--edge);
  border-radius: 999px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
}
.langs a, .langs span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--off);
  text-decoration: none;
}
.langs .on { background: var(--off); color: var(--teal); }
.langs a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

/* headline */
h1 {
  margin: 26px 0 0;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(36px, calc((100vw - 40px) / 7.2), 78px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 span { display: block; }
h1 .spark { color: var(--blue); }
.sub { margin: 14px 0 0; font-size: 20px; font-weight: 600; }

.rule { height: 2px; background: var(--tone); border: 0; margin: 26px 0; }

/* open jobs */
.tag {
  display: inline-block;
  margin: 0;
  border: 2px solid var(--off);
  border-radius: 8px;
  padding: 5px 12px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.place { margin: 8px 0 0; font-weight: 700; }
.paylbl {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
}
.pay {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: var(--head);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
}
.pay b { color: var(--orange); font-weight: 900; }

/* one job: big */
.solo h2 {
  margin: 14px 0 0;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(34px, 10vw, 52px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.solo .place { font-size: 21px; }
.solo .paylbl { margin-top: 18px; }
.solo .pay { gap: 4px 12px; }
.solo .pay b { font-size: clamp(64px, 20vw, 96px); }
.solo .pay span { font-size: clamp(28px, 8vw, 40px); }

/* two or more jobs: a short list */
.joblist { list-style: none; margin: 16px 0 0; padding: 0; }
.joblist .job { padding: 16px 0; border-top: 2px solid var(--tone); }
.joblist .job:first-child { border-top: 0; padding-top: 0; }
.joblist .job:focus { outline: none; }
.joblist h3 {
  margin: 0;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(23px, 6.9vw, 32px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.joblist .place { margin-top: 6px; font-size: 17px; }
.jr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 22px; margin-top: 8px; }
.m { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.joblist .paylbl { font-size: 12px; }
.joblist .pay { gap: 0 8px; }
.joblist .pay b { font-size: clamp(34px, 10vw, 44px); }
.joblist .pay span { font-size: clamp(17px, 5vw, 22px); }
.joblist.cut .job.extra { display: none; }
.pick { margin: 16px 0 0; }
.pick label { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.more {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 6px 0 0;
  border: 2px solid var(--edge);
  border-radius: 10px;
  background: transparent;
  color: var(--off);
  font: 700 16px/1.2 var(--body);
  cursor: pointer;
}
.more:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* form */
.lead { margin: 0 0 22px; font-size: 19px; font-weight: 600; text-wrap: balance; }
.f { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.f > label, .f > legend {
  display: block;
  padding: 0;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  text-wrap: balance;
}
input[type="text"], input[type="tel"], select {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 2px solid var(--off);
  border-radius: 10px;
  background: var(--off);
  color: var(--teal);
  font: 600 18px/1.2 var(--body);
  appearance: none;
  -webkit-appearance: none;
}
select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%23152f37' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
input:focus-visible, select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; display: block; }
.opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.opt span {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 8px 14px;
  border: 2px solid var(--edge);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}
.opt input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--teal);
  font-weight: 700;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23152f37' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.f > label.ok { position: relative; display: block; margin: 0; padding-left: 44px; min-height: 32px; font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--mist); }
.ok input {
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.ok i {
  position: absolute;
  left: 0; top: 1px;
  width: 30px; height: 30px;
  border: 2px solid var(--edge);
  border-radius: 8px;
}
.ok input:checked ~ i {
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23152f37' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center;
  border-color: var(--blue);
}
.ok input:focus-visible ~ i { outline: 3px solid var(--blue); outline-offset: 2px; }

.msg { display: none; margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--coral); }
.bad .msg { display: block; }
.bad input[type="text"], .bad input[type="tel"], .bad select { border-color: var(--coral); }
.bad .opt span, .bad .ok i { border-color: var(--coral); }

.note {
  display: none;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 2px solid var(--coral);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
}
.note.show { display: block; }
.note p { margin: 0; }
.note p + p { margin-top: 6px; font-weight: 500; }
.note button {
  margin-top: 12px;
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid var(--off);
  border-radius: 10px;
  background: transparent;
  color: var(--off);
  font: 700 16px/1 var(--body);
  cursor: pointer;
}

.go {
  display: block;
  width: 100%;
  min-height: 64px;
  margin: 26px 0 0;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: var(--teal);
  font-family: var(--head);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}
.go:focus-visible { outline: 3px solid var(--off); outline-offset: 3px; }
.go[disabled] { opacity: 0.65; cursor: default; }
.trust { margin: 16px 0 0; font-size: 15px; color: var(--mist); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* done */
.done h2 {
  margin: 0;
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(64px, 20vw, 104px);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--blue);
}
.done h2:focus { outline: none; }
.done p { margin: 14px 0 0; font-size: 21px; font-weight: 600; }
.done .trust { font-size: 15px; font-weight: 500; }

footer {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 2px solid var(--tone);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

[hidden] { display: none !important; }

@media (min-width: 700px) {
  .wrap { padding-top: 34px; }
  .badge { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: no-preference) {
  .go { transition: transform 0.08s ease; }
  .go:active { transform: scale(0.985); }
}
