:root {
  --landing-paper: #f4f0e8;
  --landing-paper-deep: #ebe4d8;
  --landing-ink: #11100e;
  --landing-muted: #625f59;
  --landing-red: #f12b1f;
  --landing-red-dark: #d91f16;
  --landing-green: #14702c;
  --landing-line: rgba(17, 16, 14, 0.17);
  --landing-shadow: 0 18px 38px rgba(53, 43, 28, 0.12);
}

body.landing-page {
  color-scheme: light;
  min-width: 320px;
  overflow-x: hidden;
  background-color: var(--landing-paper);
  background-image: url("/static/landing-assets/paper-texture.png");
  background-size: 560px 560px;
  color: var(--landing-ink);
  font-family: "Onest", "Segoe UI", system-ui, sans-serif;
}

.landing-page main {
  overflow: hidden;
}

.landing-page .skip-link {
  background: var(--landing-red);
  color: white;
}

.landing-shell {
  width: min(1260px, calc(100% - 64px));
  margin-inline: auto;
}

.job-landing {
  color: var(--landing-ink);
}

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

.landing-topbar {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.landing-wordmark,
.landing-login {
  color: var(--landing-ink);
  font-weight: 800;
  text-decoration: none;
}

.landing-wordmark {
  font-size: 20px;
  letter-spacing: -0.035em;
}

.landing-login {
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  text-underline-offset: 4px;
}

.landing-login:hover {
  color: var(--landing-red);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(46px, 6vw, 92px);
  align-items: center;
  padding-block: 38px 82px;
}

.landing-kicker {
  max-width: 560px;
  margin: 0 0 25px;
  color: #3f3d39;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.45;
}

.landing-hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--landing-ink);
  font-family: "Onest", "Segoe UI", sans-serif;
  font-size: clamp(56px, 5.3vw, 80px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.landing-hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--landing-red);
  font-family: "Caveat", cursive;
  font-size: 1.13em;
  font-weight: 700;
  letter-spacing: -0.02em;
  transform: rotate(-3deg);
}

.landing-hero h1 span::after,
.landing-final h2 span::after {
  position: absolute;
  right: -2%;
  bottom: -0.02em;
  left: -2%;
  border-bottom: 0.08em solid currentColor;
  content: "";
  transform: rotate(-2deg);
}

.founder-note {
  max-width: 640px;
  margin-top: 38px;
}

.draft-emotions {
  display: grid;
  justify-items: start;
  margin-bottom: 12px;
  color: var(--landing-red);
  font-family: "Caveat", cursive;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.05;
  transform: rotate(-1deg);
}

.draft-emotions span {
  text-decoration-color: var(--landing-red);
  text-decoration-line: line-through;
  text-decoration-thickness: 3px;
}

.founder-note p {
  max-width: 570px;
  margin: 0;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.45;
}

.founder-note p + p {
  margin-top: 15px;
}

.landing-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 46px;
}

.primary-cta-wrap {
  position: relative;
  flex: none;
}

.tyk-note {
  position: absolute;
  z-index: 2;
  top: -36px;
  left: -36px;
  color: var(--landing-red);
  font-family: "Caveat", cursive;
  font-size: 27px;
  font-weight: 700;
  transform: rotate(-9deg);
}

.tyk-arrow {
  position: absolute;
  z-index: 1;
  top: -31px;
  left: -8px;
  width: 72px;
  height: 44px;
  object-fit: contain;
  transform: rotate(17deg);
  pointer-events: none;
}

.landing-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--landing-ink);
  border-radius: 6px;
  padding: 14px 24px;
  color: var(--landing-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.landing-button:hover {
  transform: translateY(-2px);
}

.landing-button:focus-visible,
.landing-text-link:focus-visible,
.landing-login:focus-visible,
.landing-footer a:focus-visible,
.landing-footer button:focus-visible {
  outline: 3px solid rgba(241, 43, 31, 0.35);
  outline-offset: 4px;
}

.landing-button-primary {
  border-color: var(--landing-red);
  background: var(--landing-red);
  box-shadow: 0 10px 0 rgba(169, 26, 16, 0.12);
  color: white;
}

.landing-button-primary:hover {
  background: var(--landing-red-dark);
}

.landing-button-secondary {
  background: rgba(255, 255, 255, 0.25);
}

.landing-button-secondary:hover {
  background: white;
}

.landing-text-link {
  color: var(--landing-ink);
  font-size: 14px;
  font-weight: 650;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.landing-text-link:hover {
  color: var(--landing-red);
}

.landing-trust {
  max-width: 650px;
  margin: 31px 0 0;
  color: #4d4a45;
  font-size: 13px;
  line-height: 1.65;
}

.landing-trust span {
  margin-inline: 5px;
  color: var(--landing-red);
}

.landing-trust em {
  font-style: normal;
  font-weight: 700;
}

.landing-hero-demo {
  position: relative;
  padding-top: 144px;
}

.search-math {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 3%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.paper-note {
  display: grid;
  width: 176px;
  min-height: 140px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(25, 21, 16, 0.09);
  border-radius: 4px 8px 5px 9px;
  padding: 14px;
  background: #f8f4ec url("/static/landing-assets/paper-texture.png") center / 520px;
  box-shadow: var(--landing-shadow);
  text-align: center;
  transform: rotate(1.5deg);
}

.paper-note:first-child {
  transform: rotate(-1.2deg);
}

.paper-note small,
.paper-note span {
  font-size: 14px;
  font-weight: 750;
}

.paper-note strong {
  color: var(--landing-red);
  font-size: 48px;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.paper-note p {
  margin: 5px 0 0;
  font-size: 10px;
  line-height: 1.3;
}

.math-arrow {
  width: 52px;
  height: 38px;
  object-fit: contain;
  transform: rotate(-10deg);
}

.vacancy-preview {
  overflow: hidden;
  border: 1px solid rgba(28, 23, 18, 0.14);
  border-radius: 9px;
  background: rgba(250, 247, 240, 0.9);
  box-shadow: 0 25px 55px rgba(56, 43, 27, 0.15);
  transform: rotate(0.5deg);
}

.vacancy-preview-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
  padding: 26px 28px 15px;
}

.vacancy-preview-head > div > span {
  font-size: 10px;
  font-weight: 700;
}

.vacancy-preview h2 {
  margin: 8px 0 5px;
  color: var(--landing-ink);
  font-family: "Onest", sans-serif;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.vacancy-preview-head p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 12px;
  line-height: 1.45;
}

.preview-score {
  display: grid;
  justify-items: end;
}

.preview-score strong {
  color: var(--landing-green);
  font-size: 44px;
  letter-spacing: -0.07em;
  line-height: 1;
}

.preview-score span {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
}

.preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 28px 22px;
}

.preview-tags span {
  border: 1px solid var(--landing-line);
  border-radius: 6px;
  padding: 6px 8px;
  color: #4c4944;
  font-size: 10px;
  font-weight: 650;
}

.preview-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--landing-line);
}

.preview-columns section {
  padding: 23px 28px 22px;
}

.preview-columns section + section {
  border-left: 1px solid var(--landing-line);
}

.vacancy-preview h3 {
  margin: 0 0 12px;
  color: var(--landing-ink);
  font-family: "Onest", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.preview-columns ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.preview-columns li {
  color: #34312d;
  font-size: 11px;
  line-height: 1.4;
}

.preview-columns section:first-child li::marker {
  color: var(--landing-green);
}

.preview-risks li::marker {
  color: #dd8a00;
}

.preview-letter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px 24px;
}

.preview-letter h3 {
  margin-bottom: 3px;
}

.preview-letter p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 11px;
}

.preview-letter a {
  flex: none;
  border: 1px solid var(--landing-ink);
  border-radius: 5px;
  padding: 9px 12px;
  color: var(--landing-ink);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.preview-letter a:hover {
  background: var(--landing-ink);
  color: white;
}

.source-footnote {
  margin: 13px 0 0 14px;
  color: #68645d;
  font-size: 11px;
}

.landing-how {
  border-block: 1px solid var(--landing-line);
  padding-block: 68px 74px;
  background: rgba(255, 255, 255, 0.16);
}

.landing-how h2,
.landing-pricing h2,
.landing-final h2 {
  margin: 0;
  color: var(--landing-ink);
  font-family: "Onest", sans-serif;
  font-size: clamp(38px, 4.3vw, 62px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  text-align: center;
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin: 53px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.landing-steps > li {
  min-width: 0;
}

.step-number {
  display: block;
  margin-bottom: 22px;
  color: var(--landing-red);
  font-family: "Caveat", cursive;
  font-size: 62px;
  font-weight: 700;
  line-height: 0.8;
  transform: rotate(-4deg);
}

.landing-steps h3 {
  margin: 0 0 12px;
  color: var(--landing-ink);
  font-family: "Onest", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.landing-steps p,
.landing-steps li {
  color: #46423d;
  font-size: 13px;
  line-height: 1.55;
}

.landing-steps p {
  margin: 0;
}

.landing-steps p + p {
  margin-top: 12px;
}

.landing-steps ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.crossed-copy {
  color: #858078 !important;
  text-decoration-line: line-through;
  text-decoration-thickness: 1px;
}

.landing-steps aside {
  margin-top: 23px;
  color: var(--landing-red);
  font-family: "Caveat", cursive;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  transform: rotate(-2deg);
}

.landing-results {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  padding-block: 80px 55px;
}

.result-transition-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 48px;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-2deg);
  pointer-events: none;
}

.result-paper {
  min-width: 0;
  border: 1px solid rgba(25, 21, 16, 0.11);
  border-radius: 4px 8px 5px 9px;
  padding: 26px;
  background: #f8f4ec url("/static/landing-assets/paper-texture.png") center / 560px;
  box-shadow: var(--landing-shadow);
}

.result-before {
  transform: rotate(-0.7deg);
}

.result-after {
  transform: rotate(0.6deg);
}

.marker-label {
  margin: 0 0 21px;
  color: var(--landing-red);
  font-family: "Caveat", cursive;
  font-size: 24px;
  font-weight: 650;
  text-align: center;
}

.faded-list {
  display: grid;
  gap: 9px;
  opacity: 0.42;
}

.faded-list span {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--landing-line);
  padding-bottom: 8px;
  color: #5d5952;
  font-size: 11px;
  text-decoration-line: line-through;
  text-decoration-thickness: 1px;
}

.shortlist {
  display: grid;
}

.shortlist > div {
  display: grid;
  grid-template-columns: 24px minmax(105px, 0.9fr) minmax(120px, 1fr) minmax(130px, 0.95fr);
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--landing-line);
  padding-block: 9px;
  font-size: 10px;
}

.shortlist b {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--landing-green);
  color: white;
  font-size: 9px;
}

.shortlist strong {
  font-weight: 700;
}

.shortlist em {
  color: #4f4b46;
  font-style: normal;
}

.landing-pricing {
  padding-block: 68px 56px;
}

.landing-pricing h2 {
  max-width: 1050px;
  margin-inline: auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: 47px;
}

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 550px;
  flex-direction: column;
  border: 1px solid rgba(26, 22, 17, 0.14);
  border-radius: 6px;
  padding: 30px 29px 25px;
  background: #f8f4ec url("/static/landing-assets/paper-texture.png") center / 600px;
  box-shadow: var(--landing-shadow);
}

.price-card-featured {
  border: 3px solid var(--landing-red);
  padding: 28px 27px 23px;
  transform: translateY(-7px);
}

.price-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  min-width: 154px;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--landing-red);
  color: white;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.price-kicker {
  margin: 0 0 8px;
  color: #5b5751;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card h3 {
  min-height: 61px;
  margin: 0;
  color: var(--landing-ink);
  font-family: "Onest", sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.price-lead {
  min-height: 42px;
  margin: 9px 0 8px;
  color: #625e57;
  font-size: 13px;
  line-height: 1.45;
}

.price-main {
  margin-block: 9px 19px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-main strong {
  color: var(--landing-red);
}

.price-options {
  display: grid;
  gap: 7px;
  margin-block: 14px 20px;
}

.price-options p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.price-options strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.price-options span {
  color: #5c5852;
  font-size: 13px;
}

.price-month strong {
  color: var(--landing-red);
}

.price-month em {
  border-radius: 4px;
  padding: 4px 7px;
  background: var(--landing-red);
  color: white;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  transform: rotate(-3deg);
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 25px;
  padding-left: 19px;
}

.price-card li {
  color: #45413c;
  font-size: 13px;
  line-height: 1.38;
}

.price-card li::marker {
  color: var(--landing-green);
}

.price-card .landing-button {
  width: 100%;
  margin-top: auto;
}

.no-renewal {
  margin: 34px auto 0;
  color: #49453f;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.landing-final {
  border-top: 1px solid var(--landing-line);
  padding-block: 55px 62px;
  text-align: center;
}

.landing-final h2 span {
  position: relative;
  display: inline-block;
}

.landing-final p {
  max-width: 720px;
  margin: 23px auto 0;
  color: #5c5852;
  font-size: 17px;
  line-height: 1.55;
}

.landing-footer {
  border-top: 1px solid var(--landing-line);
  background: rgba(237, 230, 218, 0.55);
  color: #57534c;
  font-family: "Onest", sans-serif;
}

.landing-footer .landing-shell {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.landing-footer a,
.landing-footer button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration-line: underline;
  text-decoration-color: rgba(87, 83, 76, 0.45);
  text-underline-offset: 4px;
}

.landing-footer button {
  cursor: pointer;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

@media (max-width: 1120px) {
  .landing-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(470px, 1.1fr);
    gap: 40px;
  }

  .landing-hero h1 {
    font-size: clamp(52px, 5.7vw, 70px);
  }

  .landing-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 54px;
  }

  .price-card {
    padding-inline: 23px;
  }

  .shortlist > div {
    grid-template-columns: 24px 1fr 1fr;
  }

  .shortlist em {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  .landing-shell {
    width: min(100% - 40px, 760px);
  }

  .landing-hero {
    grid-template-columns: 1fr;
    gap: 80px;
    padding-top: 26px;
  }

  .landing-hero-copy {
    max-width: 680px;
  }

  .landing-hero h1 {
    font-size: clamp(58px, 10.2vw, 82px);
  }

  .landing-hero-demo {
    width: min(100%, 690px);
    margin-inline: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .price-card,
  .price-card h3,
  .price-lead {
    min-height: 0;
  }

  .price-card-featured {
    transform: none;
  }

  .landing-results {
    grid-template-columns: 1fr;
  }

  .result-transition-arrow {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(78deg);
  }
}

@media (max-width: 640px) {
  .landing-shell {
    width: min(100% - 28px, 600px);
  }

  .landing-topbar {
    min-height: 68px;
  }

  .landing-wordmark {
    font-size: 17px;
  }

  .landing-hero {
    gap: 68px;
    padding-block: 24px 62px;
  }

  .landing-kicker {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .landing-hero h1 {
    font-size: clamp(45px, 14.6vw, 65px);
    line-height: 0.98;
  }

  .founder-note {
    margin-top: 30px;
  }

  .draft-emotions {
    font-size: 25px;
  }

  .founder-note p {
    font-size: 18px;
  }

  .landing-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
    margin-top: 52px;
  }

  .primary-cta-wrap,
  .landing-button {
    width: 100%;
  }

  .landing-text-link {
    align-self: center;
  }

  .tyk-note {
    left: 10px;
  }

  .tyk-arrow {
    left: 41px;
  }

  .landing-trust {
    font-size: 12px;
    text-align: center;
  }

  .landing-hero-demo {
    padding-top: 112px;
  }

  .search-math {
    right: 0;
    left: 0;
    justify-content: center;
    gap: 8px;
  }

  .paper-note {
    width: 132px;
    min-height: 108px;
    padding: 10px;
  }

  .paper-note strong {
    font-size: 36px;
  }

  .paper-note small,
  .paper-note span {
    font-size: 11px;
  }

  .paper-note p {
    display: none;
  }

  .math-arrow {
    width: 35px;
    height: 28px;
  }

  .vacancy-preview-head {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 21px 19px 14px;
  }

  .preview-score {
    justify-items: start;
  }

  .preview-score strong {
    font-size: 35px;
  }

  .preview-tags {
    padding: 0 19px 18px;
  }

  .preview-columns {
    grid-template-columns: 1fr;
  }

  .preview-columns section {
    padding: 21px 19px;
  }

  .preview-columns section + section {
    border-top: 1px solid var(--landing-line);
    border-left: 0;
  }

  .preview-letter {
    align-items: stretch;
    flex-direction: column;
    padding: 19px;
  }

  .preview-letter a {
    text-align: center;
  }

  .landing-how {
    padding-block: 55px 60px;
  }

  .landing-how h2,
  .landing-pricing h2,
  .landing-final h2 {
    font-size: clamp(35px, 10vw, 48px);
  }

  .landing-steps {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 45px;
  }

  .step-number {
    margin-bottom: 14px;
  }

  .landing-results {
    padding-block: 55px 32px;
  }

  .result-paper {
    padding: 20px 16px;
  }

  .shortlist > div {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px 10px;
  }

  .shortlist strong,
  .shortlist em {
    grid-column: 2;
  }

  .landing-pricing {
    padding-block: 56px 42px;
  }

  .pricing-grid {
    margin-top: 42px;
  }

  .price-card {
    padding: 28px 22px 22px;
  }

  .price-card-featured {
    padding: 27px 20px 20px;
  }

  .landing-final {
    padding-block: 44px 48px;
  }

  .landing-footer .landing-shell {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 24px;
  }

  .landing-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-landing *,
  .job-landing *::before,
  .job-landing *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
