/* Skill Issue landing page. Self-contained: no build step, no framework.
   Design source: Paper file "SKILL ISSUE" (artboards "Landing / Desktop" and "Logo"). */

:root {
  --paper: #ffffff;
  --ink: #0d0d0d;
  --muted: #6e6e6e;
  --faint: #b4b4b4;
  --rule: #e8e8e8;
  --wash: #f4f4f2;
  --tag: #ffd60a;

  --display: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--tag); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ───────── Primitives ───────── */
.label {
  font: 500 13px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.label--muted { color: var(--muted); }

.display {
  display: flex; flex-direction: column;
  font: 800 clamp(40px, 4.5vw, 64px)/1.03 var(--display);
  letter-spacing: -0.045em;
}
.display--muted { color: var(--faint); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 17px/1 var(--display); letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s;
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2a2a2a; }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--tag { background: var(--tag); color: var(--ink); }
.btn--tag:hover { background: #ffe14d; }
.btn--wide { width: 100%; height: 64px; justify-content: space-between; padding: 0 28px; font-size: 18px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Wordmark: dotless i's with a yellow "coin" ───────── */
.wm { font-weight: 800; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.wm--inverse { color: var(--paper); }
.wm-i { position: relative; display: inline-block; }
.wm-i::before {
  content: ""; position: absolute; left: 50%; top: -0.02em;
  width: 0.27em; height: 0.27em; border-radius: 50%;
  background: var(--tag);
  transform: translateX(calc(-50% - 0.015em));
}

/* ───────── Nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; padding: 0 var(--gutter); }
.nav__links { display: flex; gap: 36px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav__links a { position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo .wm { font-size: 26px; line-height: 1; }
.logo__icon {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--ink); color: var(--paper);
  font: 800 22px/1 var(--display); letter-spacing: -0.03em; padding-bottom: 1px;
}

/* ───────── Hero ───────── */
.hero { position: relative; padding: 88px var(--gutter) 160px; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

.hero__title {
  display: flex; flex-direction: column;
  margin-top: 56px;
  font: 800 clamp(56px, 11.7vw, 168px)/0.9 var(--display);
  letter-spacing: -0.045em;
}
.hero__line { display: block; white-space: nowrap; }
.tag {
  display: inline-block; margin-left: 0.18em;
  padding: 0.02em 0.16em 0.09em 0.14em;
  background: var(--tag); border-radius: 0.11em;
  transform: rotate(-2deg);
}

.hero__body { display: flex; flex-direction: column; gap: 36px; margin-top: 64px; max-width: 560px; }
.hero__lede { font-size: 22px; line-height: 32px; letter-spacing: -0.01em; }

/* Receipt */
.receipt {
  position: absolute; right: calc(var(--gutter) + 40px); top: 500px; width: 330px;
  transform: rotate(4deg);
  filter: drop-shadow(0 24px 40px rgba(13, 13, 13, 0.14));
  animation: print 1.1s var(--ease) 0.3s both;
}
@keyframes print {
  from { clip-path: inset(0 0 100% 0); transform: rotate(4deg) translateY(-24px); }
  to { clip-path: inset(0 0 -40px 0); transform: rotate(4deg); }
}
.receipt__paper {
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px 28px 22px;
  background: var(--paper); border: 1px solid var(--rule); border-bottom: 0;
  font: 400 13px/18px var(--mono);
}
.receipt__head { display: flex; justify-content: space-between; font-weight: 500; letter-spacing: 0.06em; }
.receipt__lines { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-block: 1px dashed var(--ink); }
.receipt__lines div { display: flex; justify-content: space-between; gap: 12px; }
.receipt__lines dt { color: var(--muted); }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; letter-spacing: 0.06em; }
.receipt__total strong { font: 800 40px/1 var(--display); letter-spacing: -0.04em; }
.receipt__foot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.06em; color: var(--muted); }
.stamp {
  padding: 3px 7px; border: 1.5px solid var(--ink); border-radius: 4px;
  color: var(--ink); font-weight: 500; transform: rotate(-8deg);
  transition: opacity 0.2s, transform 0.3s var(--ease);
}
.stamp.is-off { opacity: 0; transform: rotate(-8deg) scale(1.6); }
.receipt__edge { display: block; width: 100%; height: 10px; fill: var(--paper); }
.flip { animation: flip 0.35s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(4px); } }

/* ───────── Sections ───────── */
.section { padding: 120px var(--gutter) 128px; border-top: 1px solid var(--ink); }
.section--wash { background: var(--wash); border-top: 0; }
.section__head { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.section__head > .label { padding-top: 14px; }
.section__split { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section__aside { max-width: 340px; color: var(--muted); line-height: 26px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--ink); }
.steps li { display: flex; flex-direction: column; gap: 20px; padding: 32px 32px 0; border-left: 1px solid var(--rule); }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps__n { font: 800 72px/1 var(--display); letter-spacing: -0.05em; }
.steps__n--tag { align-self: flex-start; padding: 0 18px 6px 14px; background: var(--tag); border-radius: 12px; transform: rotate(-3deg); }
.steps h3 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -0.02em; }
.steps p { font-size: 16px; line-height: 24px; color: var(--muted); }

/* Price list */
.pricelist { margin-top: 56px; border-top: 1px solid var(--ink); }
.pricelist li {
  display: grid; grid-template-columns: 72px 380px 1fr 200px 140px; gap: 32px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--ink);
}
.pricelist__no, .pricelist code, .pricelist a { font: 500 13px/1.3 var(--mono); }
.pricelist__no { color: var(--muted); letter-spacing: 0.06em; }
.pricelist h3 { font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.04em; }
.pricelist p { color: var(--muted); line-height: 26px; }
.pricelist__open h3 { color: var(--faint); }
.pricelist a:hover { text-decoration: underline; text-underline-offset: 4px; }
.price {
  justify-self: end; display: inline-flex; align-items: baseline; gap: 4px;
  padding: 8px 14px; border-radius: 6px; background: var(--tag);
  font: 500 20px/1.2 var(--mono);
  transition: transform 0.3s var(--ease);
}
.price small { font-size: 12px; }
.pricelist li:hover .price { transform: rotate(-3deg) scale(1.04); }
.price--open { background: transparent; outline: 1.5px dashed var(--ink); outline-offset: -1.5px; }

/* ───────── Waitlists ───────── */
.join .section__head { padding: 120px var(--gutter) 80px; }
.join { border-top: 1px solid var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.side { display: flex; flex-direction: column; gap: 40px; padding: 72px var(--gutter) 80px; scroll-margin-top: 84px; }
.side--ink { background: var(--ink); color: var(--paper); }
.side--ink .label--muted { color: #9a9a9a; }
.side .label--muted + .side__title { margin-top: -20px; }
.side__title { font: 800 clamp(36px, 3.4vw, 48px)/1.04 var(--display); letter-spacing: -0.03em; }

.points { border-top: 1px solid var(--rule); }
.points li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.points li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--tag); }
.side--ink .points, .side--ink .points li { border-color: #2a2a2a; }

.form { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.side--ink .form { padding-top: 20px; }
.field { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field .label { font-size: 12px; }
.field legend { padding: 0; margin-bottom: 14px; }
.field input[type="email"], .field input[type="text"] {
  width: 100%; height: 52px; padding: 0;
  background: transparent; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0;
  color: inherit; font: 400 18px/1 var(--display);
  transition: border-color 0.2s;
}
.field input::placeholder { color: #a8a8a8; }
.side--ink .field input::placeholder { color: #6e6e6e; }
.field input:focus { outline: none; border-bottom-color: var(--tag); box-shadow: 0 1.5px 0 var(--tag); }
.side:not(.side--ink) .field input:focus { border-bottom-color: var(--ink); box-shadow: 0 1.5px 0 var(--ink); }
.field input.is-invalid { border-bottom-color: #e5484d; box-shadow: 0 1.5px 0 #e5484d; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 8px 15px; border: 1px solid #3a3a3a; border-radius: 999px;
  font-size: 15px; font-weight: 500; transition: all 0.15s;
}
.chips label:hover span { border-color: #6e6e6e; }
.chips input:checked + span { background: var(--tag); border-color: var(--tag); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--tag); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__msg { min-height: 1.4em; margin-top: -12px; font-size: 14px; }
.form__msg.is-error { color: #e5484d; }
.side--ink .form__msg.is-error { color: #ff8a8d; }

.form.is-done > *:not(.form__done) { display: none; }
.form__done { display: flex; flex-direction: column; gap: 10px; padding: 32px 0 8px; border-top: 1.5px solid currentColor; animation: flip 0.4s var(--ease); }
.form__done strong { font-size: 32px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.form__done strong::after { content: ""; display: inline-block; width: 0.32em; height: 0.32em; margin-left: 0.12em; border-radius: 50%; background: var(--tag); }
.form__done p { color: var(--muted); max-width: 420px; }
.side--ink .form__done p { color: #9a9a9a; }

/* ───────── FAQ ───────── */
.faq { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 20px; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--mono); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 640px; padding-bottom: 28px; margin-top: -16px; color: var(--muted); line-height: 26px; }

/* ───────── Closer ───────── */
.closer { display: flex; flex-direction: column; gap: 56px; padding: 140px var(--gutter) 120px; background: var(--tag); }
.closer__title { display: flex; flex-direction: column; font: 800 clamp(52px, 11.7vw, 168px)/0.9 var(--display); letter-spacing: -0.045em; }
.closer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.closer .btn--line:hover { background: var(--ink); color: var(--tag); }

/* ───────── Footer ───────── */
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 32px var(--gutter); background: var(--ink); color: #9a9a9a;
}
.footer .wm { font-size: 24px; line-height: 1; }
.footer .label { font-size: 12px; }
.footer a { color: var(--paper); }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ───────── Scroll reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1200px) {
  .pricelist li { grid-template-columns: 56px 1fr 1.3fr 120px; }
  .pricelist code, .pricelist a { display: none; }
  .receipt { right: var(--gutter); top: auto; bottom: 120px; }
}
@media (max-width: 1000px) {
  :root { --gutter: 40px; }
  .nav__links { display: none; }
  .hero { padding-bottom: 96px; }
  .receipt { position: relative; right: auto; bottom: auto; margin: 72px auto 0; animation: none; transform: rotate(3deg); }
  .hero__body { max-width: none; }
  .section__head, .faq { grid-template-columns: 1fr; gap: 24px; }
  .section__head > .label { padding-top: 0; }
  .section__split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding: 32px 24px 32px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .steps li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .nav__inner { height: 68px; }
  .logo .wm { font-size: 22px; }
  .logo__icon { display: none; }
  .hero { padding-top: 48px; }
  .hero__title { margin-top: 36px; font-size: clamp(44px, 14.6vw, 72px); }
  .hero__line { white-space: normal; }
  .tag { margin-left: 0; margin-top: 0.06em; }
  .hero__body { margin-top: 40px; }
  .hero__lede { font-size: 19px; line-height: 28px; }
  .receipt { width: min(330px, 100%); }
  .ctas .btn { flex: 1; }
  .section, .join .section__head { padding-top: 88px; padding-bottom: 88px; }
  .join .section__head { padding-bottom: 56px; }
  .steps { grid-template-columns: 1fr; margin-top: 48px; }
  .steps li, .steps li:nth-child(even) { padding: 28px 0; border-left: 0; }
  .pricelist li { grid-template-columns: 1fr auto; gap: 12px 16px; padding: 28px 0; }
  .pricelist__no { display: none; }
  .pricelist h3 { font-size: 30px; line-height: 34px; }
  .pricelist p { grid-column: 1 / -1; grid-row: 2; }
  .price { grid-row: 1; grid-column: 2; }
  .side { padding: 56px var(--gutter) 64px; }
  .btn--wide { font-size: 17px; }
  .closer { padding-top: 96px; padding-bottom: 88px; }
  .closer__title { font-size: clamp(44px, 14.6vw, 72px); }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
