/* Outlast website. Brand: ink #141414 on white, Isle Green #22503B for lines and small details only. */

@font-face {
  font-family: "Jost";
  src: url("/assets/jost.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #141414;
  --body: #282828;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --soft: #f6f6f4;
  --green: #22503b;
  --page: #ffffff;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--green); }
a:hover { color: var(--ink); }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 500; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: block; line-height: 0; }
.logo img { height: 20px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a { color: var(--body); text-decoration: none; }
.nav a:hover { color: var(--green); }

.button {
  display: inline-block;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
}
.button:hover { background: var(--green); }
.nav .button { padding: 9px 16px; }

/* Home */
.hero { padding: 96px 0 72px; }
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
}
.hero h1 { font-size: clamp(36px, 6vw, 60px); font-weight: 400; margin: 0 0 24px; max-width: 16em; letter-spacing: -0.01em; }
.hero p.lead { font-size: 20px; color: var(--body); max-width: 36em; margin: 0 0 32px; }

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 32px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 36px; font-weight: 400; color: var(--ink); line-height: 1.1; }
.stat span { font-size: 15px; color: var(--muted); }

.section { padding: 80px 0; }
.section.soft { background: var(--soft); }
.section h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 400; margin: 0 0 12px; }
.section .intro { max-width: 36em; color: var(--muted); margin: 0 0 48px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--page); padding: 32px 28px; }
.service h3 { font-size: 20px; margin: 0 0 10px; padding-top: 14px; border-top: 2px solid var(--green); display: inline-block; }
.service p { margin: 0; font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0 0 40px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--green); font-size: 14px; letter-spacing: 0.1em; margin-bottom: 8px; }
.steps h3 { font-size: 20px; margin: 0 0 8px; }
.steps p { margin: 0; font-size: 16px; }

/* Contact */
.page-head { padding: 72px 0 32px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 400; margin: 0 0 16px; }
.page-head p { max-width: 36em; margin: 0; font-size: 18px; }
.apply-box { border: 1px solid var(--line); border-top: 2px solid var(--green); padding: 32px 28px; margin: 8px 0 0; max-width: 640px; }
.apply-box p { margin: 0 0 20px; }
.small { font-size: 15px; color: var(--muted); }
.contact-lines { margin: 40px 0 80px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-lines p { margin: 4px 0; }

/* Legal */
.legal { max-width: 760px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 400; margin: 72px 0 8px; }
.legal h2 { font-size: 24px; margin: 48px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal h3 { font-size: 19px; margin: 32px 0 8px; }
.legal h4 { font-size: 17px; margin: 24px 0 6px; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 16px; }
.legal li p { margin-bottom: 8px; }
.legal li::marker { color: var(--green); }
.legal .added { border-left: 2px solid var(--green); padding-left: 18px; }
.legal .added h2 { border-top: 0; padding-top: 0; }
.legal a { word-break: break-word; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0 0 4px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--green); }

@media (max-width: 860px) {
  .services { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; }
  .nav .hide-small { display: none; }
  .hero { padding: 56px 0 48px; }
  .hero p.lead { font-size: 18px; }
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { padding: 20px 0; }
  .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 56px 0; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
}
.spacer { height: 120px; }
