/* Tokens: see DESIGN.md for the role of each one. */
:root {
  --ink: #111318;
  --ink-raised: #1B1E25;
  --ink-line: #2C303A;
  --on-ink: #FFFFFF;
  --on-ink-soft: #C4C8D0;
  --on-ink-muted: #8A909C;
  --ground: #F3F4F6;
  --paper: #FFFFFF;
  --line: #E2E4E9;
  --field-line: #A3A8B3;
  --text-2: #3A3F4B;
  --muted: #5B6170;
  --lime: #D7F94A;
  --lime-hover: #CBEF34;
  --lime-edge: #B8D82A;
  --lime-wash: #F4FDD0;
  --green: #2E6B12;
  --error: #A3271B;
  --focus: #2F6BFF;

  --display: 'Bricolage Grotesque', Inter, system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-float: 0 30px 60px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 1px 2px rgba(17, 19, 24, 0.05), 0 12px 32px rgba(17, 19, 24, 0.07);

  --section-y: 96px;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--ground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }
a:hover { color: var(--text-2); }

h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); font-weight: 700;
  padding: 12px 16px; border-radius: var(--r-md);
}
.skip-link:focus { top: 12px; }

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

/* Dark bands */
.dark { background: var(--ink); color: var(--on-ink); }
.dark a { color: var(--on-ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--ink-line); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-ink); }
.logo:hover { color: var(--on-ink); }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; border-radius: 25%; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-word { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; white-space: nowrap; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a:not(.btn) { color: var(--on-ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: var(--r-sm); }
.topnav a:not(.btn):hover { color: var(--on-ink); background: var(--ink-raised); }
.topnav .btn { margin-left: 8px; }
.topnav a.topnav-signin { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--r-md); border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  white-space: nowrap;
}
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-lime, .dark .btn-lime, .site-header .btn-lime, .site-footer .btn-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-lime:hover, .dark .btn-lime:hover, .site-header .btn-lime:hover, .site-footer .btn-lime:hover { background: var(--lime-hover); border-color: var(--lime-hover); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: #2A2E37; color: var(--on-ink); }
.btn-ghost { border-color: #4A505C; color: var(--on-ink); }
.btn-ghost:hover { border-color: var(--on-ink); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  gap: 56px; padding-top: 48px; padding-bottom: 104px;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; border: 1px solid #3A3F4B; border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--on-ink-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.hero h1 { font-weight: 800; font-size: clamp(44px, 5.6vw, 76px); line-height: 0.98; letter-spacing: -0.03em; max-width: 11em; }
.lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--on-ink-soft); max-width: 31em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--on-ink-soft); }
.ticks li { display: flex; align-items: center; gap: 8px; }

/* Hero visual: the example profile and the deal message */
.hero-visual { margin: 0; width: 100%; max-width: 440px; justify-self: end; display: flex; flex-direction: column; }

.profile {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-xl); padding: 22px 22px 26px;
  box-shadow: var(--shadow-float);
  display: flex; flex-direction: column; gap: 16px;
}
.profile p { margin: 0; }
.profile-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  background: var(--ground); border-radius: 999px; padding: 6px 12px 6px 10px;
}
.profile-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 1px var(--lime-edge); }
.profile-head { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0;
}
.profile-id { min-width: 0; }
.profile-name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.profile-headline { font-size: 14px; line-height: 1.4; color: var(--text-2); margin-top: 2px !important; }
.profile-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.profile-chips li { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); }

.profile-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.profile-stats div { background: var(--ground); border-radius: var(--r-md); padding: 10px 12px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
.profile-stats div:nth-child(-n+2) { background: var(--lime-wash); box-shadow: inset 0 0 0 1px #E3F59A; }
.profile-stats dt { font-size: 12px; line-height: 1.3; color: var(--muted); }
.profile-stats dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; letter-spacing: -0.01em; }

.audience { display: flex; flex-direction: column; gap: 8px; }
.audience-title { font-size: 13px; font-weight: 600; color: var(--text-2); }
.bar { display: grid; grid-template-columns: 76px minmax(0, 1fr) 36px; align-items: center; gap: 10px; font-size: 13px; }
.bar-label { color: var(--text-2); }
.bar-track { height: 8px; border-radius: 999px; background: #ECEEF1; overflow: hidden; }
.bar-fill { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--ink); transform-origin: left center; }
.bar-value { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

.chat { position: relative; z-index: 2; width: min(300px, 86%); margin: -22px 0 0 -48px; display: flex; flex-direction: column; gap: 8px; }
.bubble { position: relative; color: var(--ink); padding: 14px 16px 22px; box-shadow: var(--shadow-float); }
.bubble p { margin: 0; font-size: 14px; line-height: 1.45; }
.bubble p + p { margin-top: 6px; }
.bubble-in { background: var(--paper); border-radius: 4px 18px 18px 18px; }
.bubble-from { font-size: 12px !important; font-weight: 700; color: var(--green); margin-bottom: 4px !important; }
.bubble-strong { font-weight: 700; }
.bubble-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bubble-actions span { font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.bubble-actions span:first-child { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.bubble-time { position: absolute; right: 12px; bottom: 6px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); }
.bubble-out { align-self: flex-end; background: var(--lime); border-radius: 18px 4px 18px 18px; padding-right: 16px; min-width: 170px; }
.bubble-out p { font-weight: 600; }
.bubble-out .bubble-time { color: #4C5A12; }

@keyframes grow { from { transform: scaleX(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: no-preference) {
  .bar-fill { animation: grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
  .bar:nth-of-type(2) .bar-fill { animation-delay: 0.4s; }
  .bar:nth-of-type(3) .bar-fill { animation-delay: 0.5s; }
  .bar:nth-of-type(4) .bar-fill { animation-delay: 0.6s; }
  .bubble-in { animation: rise 0.5s ease-out 1.1s both; }
  .bubble-out { animation: rise 0.45s ease-out 1.9s both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Sections */
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2, .join h2, .brands h2 { font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; }
.section-head { max-width: 640px; }
.section-head p, .split-head p { margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 32em; }

/* How it works: a real sequence, so it gets numbers and a line */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.step-top::after { content: ''; flex: 1; height: 2px; margin-left: 6px; background: repeating-linear-gradient(90deg, var(--field-line) 0 6px, transparent 6px 12px); }
.step:last-child .step-top::after { background: linear-gradient(90deg, var(--lime-edge), transparent); }
.step-num {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 19px;
}
.step-num-lime { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1px var(--lime-edge); }
.step-who { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--field-line); color: var(--text-2); background: var(--paper); }
.step-who-you { background: var(--lime-wash); border-color: var(--lime-edge); color: var(--ink); }
.step h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.step p { margin: 0; font-size: 16px; color: var(--text-2); max-width: 30em; }
.steps-end {
  margin: 40px 0 0; display: flex; align-items: center; gap: 12px;
  background: var(--lime); border-radius: var(--r-lg); padding: 18px 22px;
  font-size: 17px; line-height: 1.45;
}
.steps-end svg { flex-shrink: 0; }

/* Split layout: heading on the left, content on the right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.split-head { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; }
.split-head .btn { margin-top: 28px; }

/* What we look for */
.criteria { margin: 0; }
.criterion { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; padding: 24px 0; border-top: 1px solid var(--line); }
.criterion:last-child { border-bottom: 1px solid var(--line); }
.criterion dt { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.criterion dd { margin: 0; font-size: 16px; color: var(--text-2); }
.criterion-key { background: var(--lime-wash); border-top-color: transparent; border-radius: var(--r-lg); padding-left: 20px; padding-right: 20px; box-shadow: inset 0 0 0 1px #E3F59A; }
.criterion-key + .criterion { border-top-color: transparent; }
.badge { display: inline-block; vertical-align: 3px; margin-left: 6px; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0; padding: 3px 9px; border-radius: 999px; background: var(--lime); box-shadow: inset 0 0 0 1px var(--lime-edge); }

/* Join */
.join-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; padding-top: var(--section-y); padding-bottom: var(--section-y); }
.join-intro { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 16px; }
.join-intro p { margin: 0; font-size: 17px; color: var(--text-2); }
.join-intro .small { font-size: 15px; color: var(--muted); margin-top: 8px; }
.next { list-style: none; counter-reset: next; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.next li { counter-increment: next; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; color: var(--text-2); }
.next li::before {
  content: counter(next); width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}

/* Forms */
.form { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow-card); gap: 0; }
.group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.group + .group, .form-end { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 28px; }
.group-title { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.group-num {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: var(--ink); color: var(--lime);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.row { display: flex; flex-wrap: wrap; gap: 18px 20px; }
.row > * { flex: 1 1 220px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > legend { float: left; width: 100%; }
.field label, .field legend, .label { font-size: 15px; font-weight: 600; padding: 0; }
.optional { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 6px; }
.hint { margin: 0; font-size: 14px; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--field-line); border-radius: var(--r-md); padding: 13px 14px; width: 100%;
}
input:hover, select:hover, textarea:hover { border-color: #7C8290; }
input::placeholder, textarea::placeholder { color: #8A909C; }
textarea { resize: vertical; }
.prefix { display: flex; align-items: center; border: 1px solid var(--field-line); border-radius: var(--r-md); background: var(--paper); padding-left: 14px; max-width: 360px; }
.prefix span { color: var(--muted); font-weight: 600; }
.prefix input { border: 0; padding-left: 6px; min-width: 0; }
.prefix .suffix { font-size: 14px; font-weight: 500; padding-right: 14px; white-space: nowrap; }
.prefix:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.prefix input:focus-visible { outline: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
  border-radius: 999px; border: 1px solid #D5D8DF; background: var(--paper);
  font-size: 15px; font-weight: 500;
}
.chip span::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0;
  background: center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6170' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E");
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-ink); font-weight: 600; }
.chip input:checked + span::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7F94A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.upload {
  position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 84px;
  padding: 14px; border: 1.5px dashed var(--field-line); border-radius: 14px; background: var(--ground);
  transition: border-color 0.15s, background-color 0.15s;
}
.upload:hover, .upload.is-over { border-color: var(--ink); background: var(--lime-wash); }
.upload:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.upload.has-file { border-style: solid; border-color: var(--lime-edge); background: var(--lime-wash); }
.upload.has-error { border-color: var(--error); background: #FBEDEB; }
.upload-input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.upload-input:focus-visible { outline: none; }
.upload-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.export-steps { margin: 2px 0 6px; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--text-2); }
.export-steps a { font-weight: 600; color: var(--ink); }
.upload-export { margin-top: 4px; }
.upload-status { margin: 4px 0 0; font-size: 14px; color: var(--text-2); background: var(--ground); border-radius: var(--r-sm); padding: 10px 12px; }
.upload-status.is-ok { color: var(--green); background: var(--lime-wash); font-weight: 600; }
.upload-status.is-warn { background: #FFF3D6; }
.upload-status.is-error { color: var(--error); background: #FBEDEB; font-weight: 600; }
.upload-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upload .upload-title { font-size: 15px; font-weight: 600; }
.upload-meta { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.has-file .upload-meta { color: var(--text-2); }
.upload-clear {
  position: relative; z-index: 2; margin-left: auto; flex-shrink: 0;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 1px solid var(--field-line); border-radius: var(--r-sm);
  min-height: 40px; padding: 0 12px; cursor: pointer;
}
.upload-clear:hover { border-color: var(--ink); }

.form-end { display: flex; flex-direction: column; gap: 18px; }
.li-connect { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.btn-linkedin { background: #0A66C2; color: #FFFFFF; min-height: 48px; gap: 10px; }
.btn-linkedin:hover { background: #004182; color: #FFFFFF; }
.li-logo { width: 22px; height: 22px; border-radius: 4px; background: #FFFFFF; color: #0A66C2; display: inline-flex; align-items: center; justify-content: center; font-family: Arial, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: -0.5px; }
.li-connected { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: var(--lime-wash); box-shadow: inset 0 0 0 1px #E3F59A; }
.li-connected p { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; color: var(--text-2); }
.li-connected strong { font-size: 15px; color: var(--ink); }
.li-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.li-undo { appearance: none; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; color: var(--ink); padding: 8px 4px; }
.li-connect[hidden], .li-connected[hidden], .li-message[hidden] { display: none; }
.li-message { margin: 0; font-size: 14px; color: var(--text-2); background: var(--ground); border-radius: var(--r-sm); padding: 10px 12px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 22px; height: 22px; flex-shrink: 0; margin: 0; padding: 0; accent-color: var(--ink); cursor: pointer; }
.form-error { margin: 0; font-size: 14px; font-weight: 600; color: var(--error); background: #FBEDEB; border-radius: var(--r-sm); padding: 10px 12px; }
.form-foot { margin: -6px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

.form-dark input, .form-dark select, .form-dark textarea { border-color: #4A505C; background: var(--ink-raised); color: var(--on-ink); }
.form-dark input:hover, .form-dark select:hover, .form-dark textarea:hover { border-color: #6B7180; }
.form-dark input::placeholder, .form-dark textarea::placeholder { color: var(--on-ink-muted); }
.form-dark label { color: var(--on-ink); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 56px 22px 0;
  font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px;
  border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat;
  transition: background-color 0.15s;
}
.faq summary:hover::after { border-color: var(--ink); }
.faq details[open] summary::after { background-color: var(--lime); border-color: var(--lime-edge); background-size: 12px 2px, 2px 0; }
.faq details p { margin: -6px 0 24px; max-width: 34em; font-size: 17px; color: var(--text-2); }

/* Brands */
.brands { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; padding-top: var(--section-y); padding-bottom: var(--section-y); }
.brands-copy { display: flex; flex-direction: column; gap: 16px; }
.brands-kicker { margin: 0; font-size: 15px; font-weight: 600; color: var(--lime); }
.brands-copy p:not(.brands-kicker) { margin: 0; font-size: 17px; color: var(--on-ink-soft); }
.brand-points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--on-ink); font-size: 16px; }
.brand-points li { display: flex; align-items: center; gap: 10px; }
.brand-points li::before {
  content: ''; width: 18px; height: 18px; flex-shrink: 0;
  background: center / 18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D7F94A' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-soft); border-top: 1px solid var(--ink-line); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand p { margin: 0; font-size: 15px; color: var(--on-ink-muted); max-width: 26em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-head { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--on-ink); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a { display: inline-block; padding: 8px 0; font-size: 15px; color: var(--on-ink-soft); text-decoration: none; }
.footer-cols a:hover { color: var(--on-ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--ink-line); font-size: 14px; color: var(--on-ink-muted); }

/* Simple pages (thanks, privacy) */
.page { max-width: 720px; margin: 0 auto; padding: 72px 20px 96px; display: flex; flex-direction: column; gap: 18px; }
.page h1 { font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.page h2 { font-size: 22px; margin-top: 18px; letter-spacing: -0.01em; }
.page p, .page li { font-size: 17px; color: var(--text-2); }
.page ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }

/* Tablet and below */
@media (max-width: 980px) {
  .topnav a:not(.btn) { display: none; }
  .topnav a.topnav-signin { display: inline-flex; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-visual { justify-self: center; max-width: 460px; }
  .chat { margin-left: -24px; }
  .split, .join-inner, .brands, .footer-top { grid-template-columns: minmax(0, 1fr); }
  .split-head, .join-intro { position: static; }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; position: relative; }
  .steps::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 44px; width: 2px; background: repeating-linear-gradient(180deg, var(--field-line) 0 6px, transparent 6px 12px); }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; }
  .step-top { display: contents; }
  .step-top::after { display: none; }
  .step-num { grid-row: 1 / span 3; position: relative; z-index: 1; }
  .step-who { justify-self: start; }
}

/* Phones */
@media (max-width: 640px) {
  :root { --section-y: 64px; --header-h: 60px; }
  .logo { gap: 8px; }
  .logo-mark { width: 28px; height: 28px; }
  .topbar .logo-word { font-size: 18px; }
  .topnav .btn-sm { padding: 0 14px; font-size: 14px; min-height: 42px; margin-left: 0; }
  .topnav a.topnav-signin { padding: 10px; font-size: 14px; }
  .hero { padding-top: 28px; padding-bottom: 64px; gap: 44px; }
  .lead { font-size: 17px; }
  .actions .btn { flex: 1 1 auto; }
  .profile { padding: 18px 18px 22px; border-radius: 20px; }
  .profile-stats dd { font-size: 21px; }
  .profile-stats div { padding: 9px 10px; }
  .chat { margin-left: 12px; width: calc(100% - 28px); margin-top: -14px; }
  .section-head p, .split-head p { font-size: 17px; }
  .criterion { grid-template-columns: minmax(0, 1fr); padding: 20px 0; }
  .criterion-key { padding-left: 16px; padding-right: 16px; }
  .form-card { padding: 22px 18px; border-radius: 20px; margin-left: -4px; margin-right: -4px; }
  .group + .group, .form-end { margin-top: 24px; padding-top: 24px; }
  .faq summary { font-size: 18px; padding-right: 52px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Small phones: room for the sign-in link next to the button */
@media (max-width: 420px) {
  .topnav-more { display: none; }
}

@media (max-width: 360px) {
  .topbar .logo-word { font-size: 17px; }
  .topnav { gap: 2px; }
  .topnav a.topnav-signin { padding: 10px 6px; }
  .topnav .btn-sm { padding: 0 12px; }
}

/* Free kit: the sign-up page (kit.html) and the kit itself (kit-2026.html) */
.kit-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.kit-hero h1, .kit-top h1 { font-weight: 800; font-size: clamp(44px, 5.6vw, 76px); line-height: 0.98; letter-spacing: -0.03em; }
.kit-hero h1 em, .kit-top h1 em { font-style: normal; color: var(--lime); }
.kit-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.kit-facts li { display: inline-flex; align-items: baseline; gap: 6px; border: 1px solid var(--ink-line); background: var(--ink-raised); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--on-ink-soft); }
.kit-facts strong { font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--lime); }
.kit-form { gap: 18px; color: var(--ink); }
.kit-form h2 { font-size: 26px; font-weight: 700; line-height: 1.15; }
.kit-form > p { margin: -8px 0 0; font-size: 15px; color: var(--text-2); }
.kit-small { margin: 0; font-size: 13px; color: var(--muted); }
.kit-small a { color: var(--text-2); }
.kit-top .kit-small { color: var(--on-ink-muted); }
.footer-bottom a { color: inherit; }

.kit-chapters { list-style: none; margin: 0; padding: 0; }
.kit-chapters li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.kit-chapters li:last-child { border-bottom: 1px solid var(--line); }
.kit-n { grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--muted); }
.kit-chapters strong { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.kit-chapters span:last-child { font-size: 16px; color: var(--text-2); }
.kit-templates { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kit-templates li { font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

.kit-stats { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kit-stats div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.kit-stats dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.kit-stats dt { font-size: 15px; line-height: 1.4; color: var(--text-2); }
.dark .kit-stats div { background: var(--ink-raised); border-color: var(--ink-line); }
.dark .kit-stats dd { color: var(--lime); }
.dark .kit-stats dt { color: var(--on-ink-soft); }
.kit-preview { padding-top: var(--section-y); padding-bottom: var(--section-y); display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.kit-preview h2 { font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.04; }
.kit-preview p { margin: 12px 0 0; font-size: 17px; color: var(--on-ink-soft); max-width: 34em; }
.kit-preview .kit-stats { width: 100%; }

.kit-top { padding-top: 56px; padding-bottom: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.kit-page { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 64px; padding-bottom: var(--section-y); }
.kit-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.kit-nav-title { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.kit-nav ol { list-style: none; margin: 0; padding: 0; }
.kit-nav a { display: grid; grid-template-columns: 28px minmax(0, 1fr); padding: 7px 0; font-size: 14px; line-height: 1.4; text-decoration: none; color: var(--text-2); }
.kit-nav a span { font-weight: 700; color: var(--muted); }
.kit-nav a:hover { color: var(--ink); text-decoration: underline; }

.kit-article { min-width: 0; max-width: 760px; }
.kit-chapter { padding: 56px 0; border-top: 1px solid var(--line); }
.kit-chapter:first-child { padding-top: 0; border-top: 0; }
.kit-chapter > .step-num { margin-bottom: 14px; }
.kit-chapter h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; }
.kit-chapter h3 { margin: 32px 0 0; font-size: 21px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.kit-chapter p, .kit-chapter li { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.kit-chapter p { margin: 14px 0 0; max-width: 36em; }
.kit-chapter ul, .kit-chapter ol { margin: 14px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; max-width: 36em; }
.kit-chapter strong { color: var(--ink); }
.kit-chapter .kit-lead { font-size: 19px; color: var(--ink); }

.kit-chapter ol.kit-checks { list-style: none; counter-reset: check; padding: 0; gap: 0; max-width: none; }
.kit-checks li { counter-increment: check; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.kit-checks li:last-child { border-bottom: 1px solid var(--line); }
.kit-checks li::before {
  content: counter(check); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--lime); box-shadow: inset 0 0 0 1px var(--lime-edge);
  font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink);
}
.kit-checks strong { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.kit-checks span { font-size: 16px; line-height: 1.55; }

.kit-chapter .kit-stats { margin-top: 24px; }
.kit-chapter .kit-stats div { padding: 16px; }
.kit-chapter .kit-stats dd { font-size: 34px; }
.kit-chapter .kit-stats dt { font-size: 14px; }
.kit-chart { margin: 24px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px 24px; }
.kit-chapter .kit-chart h3 { margin: 0; font-size: 18px; }
.kit-chapter .kit-chart p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.kit-bars { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.kit-bars .bar { grid-template-columns: minmax(110px, 220px) minmax(0, 1fr) 52px; font-size: 15px; }
.kit-bars .bar-track { height: 10px; }
.kit-bars .bar-fill { animation: none; }
.kit-table-wrap { overflow-x: auto; margin-top: 12px; }
.kit-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.kit-table th, .kit-table td { padding: 11px 12px 11px 0; text-align: left; border-top: 1px solid var(--line); }
.kit-table th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--muted); vertical-align: bottom; }
.kit-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.kit-table td.num { font-weight: 600; }
.kit-callout { margin: 24px 0 0; background: var(--lime-wash); box-shadow: inset 0 0 0 1px #E3F59A; border-radius: var(--r-lg); padding: 18px 20px; }
.kit-chapter .kit-callout p { margin: 0; font-size: 16px; color: var(--ink); max-width: none; }
.kit-chapter .kit-callout p + p { margin-top: 8px; }
.kit-method { margin: 24px 0 0; background: var(--ground); border-radius: var(--r-lg); padding: 16px 18px; }
.kit-chapter .kit-method p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: none; }

.kit-template { margin: 28px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.kit-template-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.kit-chapter .kit-template-head h3 { margin: 0; font-size: 18px; }
.kit-template-head .badge { margin: 0 8px 0 0; vertical-align: 2px; }
.kit-copy { min-height: 40px; padding: 0 14px; font-size: 14px; flex-shrink: 0; }
.kit-template pre { margin: 0; padding: 18px 20px 22px; font-family: var(--body); font-size: 15px; line-height: 1.6; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; }

.kit-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.kit-cta h2 { font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; }
.kit-cta p { margin: 12px 0 0; font-size: 17px; color: var(--on-ink-soft); max-width: 34em; }

@media (max-width: 980px) {
  .kit-hero, .kit-page, .kit-cta { grid-template-columns: minmax(0, 1fr); }
  .kit-hero { gap: 40px; }
  .kit-page { gap: 40px; padding-top: 40px; }
  .kit-nav { position: static; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; }
  .kit-nav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .kit-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .kit-hero { padding-top: 28px; padding-bottom: 64px; }
  .kit-top { padding-top: 28px; padding-bottom: 44px; }
  .kit-nav ol { grid-template-columns: minmax(0, 1fr); }
  .kit-chapter { padding: 44px 0; }
  .kit-chapter p, .kit-chapter li { font-size: 16px; }
  .kit-chapter .kit-lead { font-size: 17px; }
  .kit-stats dd, .kit-chapter .kit-stats dd { font-size: 30px; }
  .kit-chart { padding: 18px 16px 20px; }
  .kit-bars .bar { grid-template-columns: minmax(0, 1fr) 48px; row-gap: 4px; }
  .kit-bars .bar-label { grid-column: 1 / -1; }
  .kit-template pre { padding: 16px 16px 20px; font-size: 14px; }
  .kit-template-head { padding-left: 16px; }
  .kit-chapters strong { font-size: 18px; }
}
