/* Carbon & signal green (Jesus's pick, 2026-11-16): a neutral near-black, one green accent, white pills that glow.
   Dense like swordadvisory.com/apply in structure only. */
:root {
  --bg: #0A0C0B;
  --card: #111413;
  --card-hi: #171B19;
  --line: #222826;
  --line-2: #323936;
  --field: #69726D; /* field borders: 3:1 against the card and the page (WCAG 1.4.11) */
  --text: #F3F6F4;
  --muted: #A2ABA6;
  --accent: #12E193;
  --glow: rgb(18 225 147 / 0.45);
  --wash: rgb(18 225 147 / 0.1);
  --page: 1120px;
  --gutter: 20px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

a { color: inherit; }

/* Type: bold sans headings, tight tracking. <em> lifts one or two words into the accent. */
h1, h2, h3, legend { margin: 0; font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p, li, dd { text-wrap: pretty; }

.muted { color: var(--muted); }
.sub { color: var(--muted); font-size: 19px; line-height: 1.55; max-width: 38em; margin: 18px auto 0; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

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

/* The call to action: a white pill with a soft green glow. .pill is the small one in the top bar. */
.cta, .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--bg);
  font: 600 17px/1 Inter, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.6), 0 10px 40px -10px var(--glow);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.cta { min-height: 54px; padding: 0 30px; }
.pill { min-height: 44px; padding: 0 18px; font-size: 15px; flex: none; }
.cta:hover, .pill:hover { box-shadow: 0 0 0 1px #fff, 0 12px 48px -8px var(--glow); transform: translateY(-1px); }
.cta:active, .pill:active { transform: none; }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: max(10px, env(safe-area-inset-top)) max(var(--gutter), (100% - var(--page)) / 2) 10px;
  background: rgb(10 12 11 / 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.wordmark { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; text-decoration: none; }
.topbar-note { display: none; margin: 0 0 0 auto; color: var(--muted); font-size: 14px; }
.topbar .pill { margin-left: auto; }
/* The note shows from 900px and takes the auto margin itself; below that the pill keeps it, at the right edge. */
@media (min-width: 900px) {
  .topbar-note { display: block; }
  .topbar-note + .pill { margin-left: 0; }
}

/* ---------- Sections ---------- */

/* Every section runs edge to edge; its content stays in the page column. */
main > section {
  padding: 96px max(var(--gutter), (100% - var(--page)) / 2);
  text-align: center;
}
main > section[hidden] { display: none; }
.band { border-top: 1px solid var(--line); }
.band > :is(.phases, .roles, .results, .cards, .story, .apply-card, .faq, .marquee, .placeholder) { margin-top: 48px; }
.band > .cta { margin-top: 48px; }
@media (max-width: 600px) { main > section { padding-block: 64px; } }

/* ---------- Hero ---------- */

main > .hero { padding-top: 72px; background: radial-gradient(50% 420px at 50% 0%, var(--wash), transparent); }
.hero > * { max-width: 880px; margin-inline: auto; }
.hero h1 { margin-top: 20px; }

/* The proof badge above the headline. */
.badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-block: 0;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.badge::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.player {
  margin-top: 40px;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.8);
}
.player > :is(video, iframe, wistia-player) { width: 100%; height: 100%; }
.player .placeholder { margin: 16px; }

.tip { font-size: 14px; margin-top: 12px; margin-bottom: 4px; }
.hero > .cta { display: flex; width: fit-content; margin-top: 28px; }
.cta-note { margin-top: 12px; font-size: 14px; }

/* VSL chapters: a row of jump links under the player. */
.chapters {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
}
.chapters button {
  min-height: 44px;
  padding: 0 12px;
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.chapters button:hover { color: var(--text); background: var(--card); }
.chapters span { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 4px; }
@media (max-width: 600px) {
  .chapters { display: grid; grid-template-columns: 1fr 1fr; }
  .chapters button { width: 100%; padding: 8px 4px; text-align: left; font-size: 14px; line-height: 1.35; border-radius: 8px; }
}

/* ---------- Cards (what you get) ---------- */

/* Wraps with the last row centered, so five cards read as 3 + 2. */
.cards { list-style: none; padding: 0; margin-bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.card, .phase, .role, .result, .quote {
  text-align: left;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
}
.card { flex: 1 1 300px; max-width: calc((100% - 32px) / 3); }
.card h3 { margin-bottom: 10px; }
.card p, .phase p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .card { max-width: calc((100% - 16px) / 2); } }
@media (max-width: 640px) { .card { max-width: none; } }

/* ---------- Path (three phases) ---------- */

/* Each phase is a full-width row: the step, title and lede on one side, what you'll do on the other. The sides swap
   on every other phase, and a soft green light sits in the outer corner of the side with the title. */
.phases { list-style: none; padding: 0; margin-bottom: 0; display: grid; gap: 20px; }
.phase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 56px;
  align-content: start;
  padding: 48px;
  border-color: var(--line-2);
  border-radius: 24px;
}
.phase::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -45%;
  left: -15%;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(18 225 147 / 0.13), transparent);
  pointer-events: none;
}
.phase:nth-child(even)::before { left: auto; right: -15%; }
.phase > :not(.checks) { grid-column: 1; }
.phase > .checks { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.phase:nth-child(even) > :not(.checks) { grid-column: 2; }
.phase:nth-child(even) > .checks { grid-column: 1; }

/* "● PHASE 1" and the role names: a small pill with a green dot. */
.phase .phase-step, .role-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin: 0 0 20px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.phase .phase-step::before, .role-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.phase h3 { margin-bottom: 14px; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.phase .phase-lede { font-size: 17px; line-height: 1.6; }

/* What you'll do in the phase, each with a green check drawn in CSS. */
.checks { list-style: none; margin: 0; padding: 8px 0; }
.checks li { position: relative; padding: 14px 0 14px 40px; border-top: 1px solid var(--line); color: var(--text); font-size: 16px; line-height: 1.5; }
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 24px;
  height: 24px;
  border: 1px solid rgb(18 225 147 / 0.35);
  border-radius: 7px;
  background: var(--wash);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 19px;
  width: 6px;
  height: 11px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 860px) {
  .phase { grid-template-columns: 1fr; padding: 32px 24px; border-radius: 20px; }
  .phase > :not(.checks), .phase:nth-child(even) > :not(.checks), .phase > .checks, .phase:nth-child(even) > .checks { grid-column: 1; grid-row: auto; }
  .phase > .checks { margin-top: 16px; }
  .phase::before { width: 110%; top: -55%; }
}

/* ---------- What is tech sales (#about) ---------- */

/* Three role cards. The gaps between them say how they connect: SDR "or" BDR (the same job), then "→" AE. */
.roles { list-style: none; padding: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.role { position: relative; }
.role .role-tag { margin-bottom: 18px; }
.role h3 { margin-bottom: 10px; }
.role p:not(.role-tag) { margin: 0; color: var(--muted); font-size: 16px; }
.role:nth-child(n + 2)::after {
  position: absolute;
  top: 50%;
  left: -48px;
  width: 48px;
  translate: 0 -50%;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.role:nth-child(2)::after { content: "or"; }
.role:nth-child(3)::after { content: "→"; color: var(--accent); font-size: 22px; }
.roles + .sub { margin-top: 40px; }
@media (max-width: 860px) {
  .roles { grid-template-columns: 1fr; gap: 40px; }
  .role:nth-child(n + 2)::after { top: -40px; left: 0; width: 100%; line-height: 40px; translate: none; }
  .role:nth-child(3)::after { content: "↓"; }
}

/* ---------- Results (#proof) ---------- */

/* Anonymous results: a big white figure, one line of context, who it was. A green line on top is the only accent. */
.results { list-style: none; padding: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 20px; }
.result { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px 36px 32px; border-color: var(--line-2); border-radius: 22px; }
.result::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 85%); }
.result-figure { margin: 0 0 10px; font-size: clamp(34px, 4.6vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
.result-line { margin: 0 0 24px; color: #D4DAD6; font-size: 17px; }
.result-line:last-child { margin-bottom: 0; }
/* Who it was sits at the bottom, so the two cards line up. */
.result-who { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.results-note { margin: 24px auto 0; font-size: 13px; }
@media (max-width: 760px) { .results { grid-template-columns: 1fr; } .result { padding: 32px 24px 26px; } }

/* ---------- Story ---------- */

.story { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; align-items: center; text-align: left; }
.story-photo { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.story-photo.placeholder { display: grid; place-items: center; text-align: center; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-text p { margin: 0 0 16px; font-size: 18px; }
@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story-photo { max-width: 320px; width: 100%; margin-inline: auto; }
}

/* ---------- Testimonial marquee (for when there are real quotes) ---------- */

/* The track holds the quotes twice (the second set aria-hidden) and slides by half its width, so it loops. */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track > * { margin: 0 8px; }
.quote { width: min(340px, 80vw); flex: none; }
.quote blockquote { margin: 0 0 16px; font-size: 16px; }
.quote figcaption { color: var(--muted); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Application ---------- */

.apply-card {
  max-width: 560px;
  margin-inline: auto;
  padding: 32px 28px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  box-shadow: 0 30px 80px -40px rgb(0 0 0 / 0.9);
}
@media (max-width: 480px) { .apply-card { padding: 24px 18px; } }

.progress { height: 4px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 240ms cubic-bezier(0.16, 1, 0.3, 1); }
#count { margin: 12px 0 24px; font-size: 14px; }

fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
fieldset[hidden] { display: none; }
legend { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 18px; padding: 0; width: 100%; }

/* Question number before each legend: a small solid square, as in a Typeform. */
.qnum {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  vertical-align: 0.15em;
  border-radius: 7px;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

/* A choice row: a lettered chip (A, B, C…) in place of the radio dot, which stays in the page for keyboards and
   screen readers. The chip fills green when its row is picked. */
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg);
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.choice:hover, .choice:has(:checked) { border-color: var(--accent); background: var(--wash); }
.choice:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.key {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.choice:hover .key { border-color: var(--accent); color: var(--text); }
.choice:has(:checked) .key { background: var(--accent); border-color: var(--accent); color: var(--bg); }

input:not([type="radio"]) {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--field);
  border-radius: 14px;
  font: inherit;
}
input:not([type="radio"]):focus-visible { border-color: var(--accent); outline-offset: 1px; }
fieldset .cta { width: 100%; margin-top: 6px; }

/* The contact step: labelled fields stacked, as in a Typeform. Bordered like the choice rows, so the card reads as one form. */
fieldset:has(.field) { gap: 16px; }
.field { display: grid; gap: 8px; text-align: left; }
.field > label { font-size: 15px; font-weight: 600; }
.field .tip { margin: 0; }

/* The country code sits in front of the phone number at a fixed width, and the number takes the rest. */
.phone-row { display: flex; gap: 8px; }
.phone-row input { flex: 1; min-width: 0; }
.phone-row select {
  flex: none;
  width: 7.5rem; /* "IE +353" plus the arrow; a select otherwise grows to its longest option */
  min-height: 54px;
  padding: 0 36px 0 14px;
  appearance: none;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23A2ABA6' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 11px;
  color: var(--text);
  border: 1px solid var(--field);
  border-radius: 14px;
  font: inherit;
  cursor: pointer;
}
.phone-row select:focus-visible { border-color: var(--accent); outline-offset: 1px; }

.back {
  justify-self: center;
  min-height: 44px;
  padding: 0 16px;
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}
.back:hover { color: var(--text); }

#cal { min-height: 480px; }
#cal .placeholder { display: grid; place-items: center; min-height: 480px; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; margin-inline: auto; text-align: left; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 64px; display: flex; align-items: center; gap: 16px; padding: 12px 0; cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 0 48px 22px 0; }

/* ---------- Final CTA ---------- */

#final { background: radial-gradient(50% 360px at 50% 100%, var(--wash), transparent); }

/* ---------- Long text (privacy) ---------- */

.prose { text-align: left; }
.prose > * { max-width: 65ch; margin-inline: auto; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin-top: 48px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; }
.prose p, .prose ul, .prose ol { margin-top: 0; margin-bottom: 16px; color: #D4DAD6; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose code { font: 0.9em ui-monospace, Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); }

/* A blank still to fill in (the privacy page's "Not provided"). */
mark { color: var(--text); background: var(--wash); outline: 1px dashed var(--accent); outline-offset: -1px; border-radius: 4px; padding: 0 5px; }

/* ---------- Placeholders ---------- */

/* Unfinished proof can't pass as real: a dashed accent border and hatching, and the text inside says what goes there. */
.placeholder {
  display: block;
  padding: 24px;
  border: 1px dashed var(--accent);
  border-radius: 14px;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, transparent 0 12px, var(--wash) 12px 24px);
}
p.placeholder { margin: 0 0 16px; }
.card p.placeholder { padding: 14px; }

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

.footer {
  padding: 48px max(var(--gutter), (100% - var(--page)) / 2) max(48px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
}
.footer p { margin: 0 auto 10px; max-width: 70ch; }
.footer .disclaimer { font-size: 13px; margin-bottom: 18px; }
/* A 44px tap area around the small links without moving the text. */
.footer a { color: var(--text); text-underline-offset: 3px; display: inline-block; padding: 12px 4px; margin: -12px -4px; }

/* ---------- Sticky "Book a call" on phones ---------- */

/* app.js shows it only while the application is off screen. */
.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  background: rgb(10 12 11 / 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta .cta { width: 100%; }
/* Room so the bar never covers the footer. */
@media (max-width: 767px) { body:has(.sticky-cta) { padding-bottom: 84px; } }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Motion off ---------- */

@media (prefers-reduced-motion: reduce) {
  .cta, .pill, .choice, .key, .progress-bar { transition: none; }
  .cta:hover, .pill:hover { transform: none; }
  /* The quotes stop and wrap, and the repeated set goes away. */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .marquee-track > * { margin: 0; }
  .marquee-track > [aria-hidden="true"] { display: none; }
}
