:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #23382c;
  background: #f6f5ef;
  font-synthesis: none;
  --ink: #23382c;
  --muted: #627064;
  --line: #dcded4;
  --paper: #fffefa;
  --green: #d7f59a;
  --dark: #273e31;
  --radius: 22px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #6d842e;
  outline-offset: 4px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.02;
  font-weight: 500;
  margin-bottom: 22px;
}
h2 {
  font-size: 30px;
  font-weight: 500;
}
h3 {
  font-size: 21px;
  line-height: 1.25;
}
p {
  line-height: 1.65;
}
small,
.muted {
  color: var(--muted);
}
.header {
  max-width: 1320px;
  margin: auto;
  min-height: 104px;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  gap: 42px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1.5px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-dot {
  margin-left: -10px;
  color: #718843;
}
.header nav {
  display: flex;
  gap: 6px;
  margin: auto;
}
.header nav a {
  padding: 13px 19px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 40px;
  color: var(--muted);
}
.header nav a[aria-current="page"] {
  background: #e9ecdf;
  color: var(--ink);
  font-weight: 700;
}
.header nav span {
  font-size: 11px;
  margin-left: 4px;
}
.preview-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
main {
  max-width: 1224px;
  margin: 0 auto;
  padding: 58px 48px 60px;
  min-height: calc(100vh - 184px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  background: #7a953f;
  border-radius: 50%;
}
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 55px;
}
.hero em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #708347;
}
.hero-copy > p {
  max-width: 410px;
  color: var(--muted);
  font-size: 15px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.button,
.secondary,
.danger {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  background: var(--dark);
  color: #fff;
}
.button:hover {
  background: #3b5543;
}
.button.lime {
  background: var(--green);
  color: var(--ink);
}
.secondary {
  background: transparent;
  border: 1px solid #bfc6b9;
  color: var(--ink);
}
.danger {
  background: #f7e5de;
  color: #7f3026;
}
.text-button {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
  padding: 10px 0;
}
.hero-card {
  position: relative;
  background: #e9eddd;
  border-radius: 30px;
  padding: 32px;
  min-height: 300px;
  overflow: hidden;
}
.hero-card:after {
  content: "↗";
  position: absolute;
  font-size: 170px;
  line-height: 1;
  right: 20px;
  top: 2px;
  color: #d4ddbe;
  pointer-events: none;
}
.hero-card > * {
  position: relative;
  z-index: 1;
}
.hero-card .label {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 28px;
}
.hero-card h2 {
  font-size: 29px;
  max-width: 230px;
  margin-bottom: 15px;
  line-height: 1.1;
}
.hero-card p {
  font-size: 13px;
  max-width: 220px;
  margin-bottom: 22px;
}
.steps {
  display: flex;
  gap: 6px;
  margin-top: 25px;
}
.steps i {
  height: 4px;
  flex: 1;
  background: #ced4c3;
  border-radius: 5px;
}
.steps i.done {
  background: #4f6843;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.section-head h2 {
  margin: 0;
}
.section-head p {
  font-size: 13px;
  margin: 5px 0 0;
  color: var(--muted);
}
.pill {
  font-size: 10px;
  padding: 7px 10px;
  border-radius: 20px;
  background: #e9ecdf;
  color: #4c6044;
  font-weight: 600;
  white-space: nowrap;
}
.pill.example {
  background: #f2eada;
  color: #775b2c;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.job-card {
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: #a4b492;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 8px;
}
.company-mark {
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #eeeadf;
  color: #657044;
  font-family: Georgia, serif;
  font-size: 23px;
}
.job-card:nth-child(2n) .company-mark {
  background: #e5e9f2;
  color: #65718c;
}
.job-card:nth-child(3n) .company-mark {
  background: #f3e6dd;
  color: #a56a4d;
}
.job-card h3 {
  margin-bottom: 8px;
}
.job-card .company {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--muted);
}
.job-card .excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 22px;
}
.card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card-link {
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  color: var(--ink);
  padding: 9px 0;
  min-height: 42px;
}
.save-icon {
  background: transparent;
  width: 40px;
  height: 40px;
  color: var(--ink);
  font-size: 23px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.info-band {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 12px;
}
.info-band span {
  max-width: 610px;
  line-height: 1.6;
}
.page-heading {
  margin-bottom: 34px;
  max-width: 670px;
}
.page-heading h1 {
  font-size: 48px;
}
.page-heading p {
  color: var(--muted);
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(250px, 1fr);
  gap: 26px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--paper);
  margin-bottom: 20px;
}
.panel h2 {
  font-size: 23px;
  margin-bottom: 10px;
}
.panel > p {
  font-size: 13px;
  color: var(--muted);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: block;
  margin: 20px 0;
}
.field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 9px;
}
.field small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.5;
}
input,
textarea,
select {
  width: 100%;
  background: #fffefa;
  border: 1px solid #cdd3c6;
  border-radius: 11px;
  padding: 13px;
  color: var(--ink);
  font-size: 14px;
  min-height: 45px;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
input[type="file"] {
  font-size: 12px;
  max-width: 100%;
}
input[type="file"]::file-selector-button {
  border: 0;
  background: #e9ecdf;
  padding: 9px;
  border-radius: 6px;
  margin-right: 10px;
  color: var(--ink);
}
.upload {
  background: #f3f5ea;
  border: 1px dashed #aebd9e;
  padding: 22px;
  border-radius: 16px;
  margin: 20px 0;
}
.upload h3 {
  font-size: 19px;
  margin-bottom: 5px;
}
.upload p {
  font-size: 12px;
  color: var(--muted);
}
.privacy-note {
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: var(--muted);
  margin: 16px 0 0;
}
.tip {
  background: var(--dark);
  color: #fff;
  border: 0;
}
.tip p,
.tip small {
  color: #d5ddce;
}
.tip h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.8px;
}
.tip ol {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
}
.tip li {
  padding: 7px 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0;
}
.check input {
  width: 19px;
  min-height: 19px;
  flex: none;
  accent-color: #3b5942;
  margin: 2px 0;
}
.empty {
  padding: 55px 30px;
  text-align: center;
  border: 1px dashed #bbc7ae;
  border-radius: 22px;
  background: #f1f2e9;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
}
.empty h2 {
  font-size: 28px;
}
.back {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}
.job-detail .meta {
  font-size: 14px;
  color: var(--muted);
}
.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.8;
}
.letter-paper {
  background: #fffefa;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.letter-paper textarea {
  border: 0;
  padding: 0;
  background: transparent;
  min-height: 410px;
  font-family: Georgia, serif;
  line-height: 1.9;
  font-size: 16px;
}
.letter-paper label > span {
  font-family: Arial, sans-serif;
}
.letter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.letter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.letter-item p {
  margin: 0;
  font-size: 13px;
}
.letter-item small {
  font-size: 11px;
}
.notice {
  border-radius: 12px;
  background: #f3eddb;
  padding: 15px;
  font-size: 12px;
  line-height: 1.65;
  color: #6f582d;
  margin: 18px 0;
}
.loading {
  padding: 60px;
  text-align: center;
}
.error-state {
  padding: 30px;
  background: #f7e5de;
  border-radius: 20px;
}
#message {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(560px, 90vw);
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--dark);
  color: #fff;
  z-index: 20;
  box-shadow: 0 6px 30px #0002;
  font-size: 13px;
  line-height: 1.5;
}
#message.error {
  background: #843a2d;
}
footer {
  max-width: 1224px;
  margin: auto;
  padding: 22px 48px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
footer button {
  font-size: 11px !important;
  color: var(--muted) !important;
}
dialog {
  width: min(660px, calc(100% - 32px));
  max-height: 90vh;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 32px;
  overflow: auto;
}
dialog::backdrop {
  background: #20312470;
  backdrop-filter: blur(4px);
}
dialog h2 {
  padding-right: 40px;
}
dialog p {
  font-size: 13px;
}
.dialog-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: #eef0e7;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  color: var(--ink);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter button {
  border-radius: 25px;
  padding: 10px 16px;
  background: #e9ecdf;
  color: var(--ink);
  font-size: 12px;
}
.filter button[aria-pressed="true"] {
  background: var(--dark);
  color: white;
}
@media (max-width: 1000px) {
  .header {
    padding: 22px 30px;
    gap: 15px;
  }
  .preview-label {
    display: none;
  }
  main {
    padding: 44px 30px;
  }
  .hero {
    gap: 32px;
  }
  .grid {
    gap: 12px;
  }
  .job-card {
    padding: 20px;
  }
  .form-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
  }
  footer {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media (max-width: 700px) {
  .header {
    padding: 20px 20px 0;
    display: block;
    min-height: auto;
  }
  .brand {
    font-size: 28px;
  }
  .header nav {
    margin: 18px -5px 0;
    justify-content: space-between;
    gap: 0;
    padding-bottom: 14px;
  }
  .header nav a {
    padding: 11px 15px;
    font-size: 12px;
  }
  .header nav span {
    margin-left: 2px;
  }
  main {
    padding: 33px 20px 40px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 38px;
  }
  .hero h1 {
    font-size: 51px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-card {
    min-height: 0;
    padding: 24px;
    border-radius: 24px;
  }
  .hero-card .label {
    margin-bottom: 18px;
  }
  .hero-card h2 {
    font-size: 25px;
    max-width: 230px;
  }
  .hero-card p {
    max-width: 260px;
    margin-bottom: 16px;
  }
  .hero-card:after {
    right: 18px;
    top: 10px;
    font-size: 160px;
  }
  .steps {
    margin-top: 18px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .job-card {
    min-height: 260px;
    padding: 23px;
  }
  .job-card h3 {
    font-size: 22px;
  }
  .card-top {
    margin-bottom: 18px;
  }
  .section-head h2 {
    font-size: 26px;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head > .secondary {
    padding: 10px 14px;
    min-height: 42px;
    white-space: nowrap;
  }
  .info-band {
    display: block;
  }
  .info-band span {
    display: block;
    margin-bottom: 10px;
  }
  .form-layout {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .panel {
    padding: 23px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .field-row .field:first-child {
    margin-bottom: 0;
  }
  .page-heading h1 {
    font-size: 40px;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  .page-heading p {
    font-size: 14px;
  }
  .letter-paper {
    padding: 24px;
  }
  .letter-paper textarea {
    min-height: 500px;
  }
  .letter-toolbar .button {
    flex: 1;
  }
  .letter-item {
    align-items: flex-start;
  }
  footer {
    padding: 20px;
    display: block;
    line-height: 1.7;
  }
  footer span {
    display: block;
  }
  dialog {
    padding: 25px;
  }
  .actions .button {
    max-width: 100%;
  }
  .empty {
    padding: 38px 22px;
  }
  #message {
    bottom: 16px;
    width: 90vw;
  }
  .prose {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
main:focus {
  outline: none;
}
.search-panel {
  margin-bottom: 38px;
}
.recent-searches {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.search-panel .field-row {
  align-items: start;
}
.search-panel .field {
  margin-top: 4px;
}
.job-card .button {
  width: 100%;
  white-space: normal;
}
