/*
 * EasyCash public website (ADR 0094). The EasyCash brand (jade, the mark, Plus Jakarta
 * Sans) in a quieter corporate layout than the staff app: no glows, glass or pill shapes.
 * No inline styles anywhere: the CSP allows this file only.
 */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  /* Brand (docs/design/EASYCASH_STAFF_UI.md §2.1). */
  --jade: #2c8460;
  --jade-deep: #1f6447;
  --jade-night: #164a34;
  --jade-line: #a9cdbb;
  --mint: #ddf1e6;

  /* Neutrals. */
  --ink: #14302a;
  --muted: #4f6660;
  --stone: #f3f6f4;
  --rule: #dbe4df;
  --white: #ffffff;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(64px, 10vw, 120px);
  --radius: 8px;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
dl,
dd,
ol {
  margin: 0;
}

a {
  color: inherit;
}

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

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

.nowrap {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 20;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

section[id] {
  scroll-margin-top: 72px;
}

/* Header. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.mark {
  display: block;
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link--contact {
  margin-left: 8px;
  padding: 0 18px;
  color: var(--jade-deep);
  border: 1px solid var(--jade);
  border-radius: var(--radius);
}

.nav__link--contact:hover {
  color: var(--white);
  background: var(--jade-deep);
  border-color: var(--jade-deep);
}

@media (max-width: 720px) {
  .nav__link--wide {
    display: none;
  }

  .nav__link--contact {
    margin-left: 0;
  }
}

/* Hero: the one large moment on the page. */
.hero {
  padding: clamp(64px, 11vw, 136px) 0 clamp(64px, 9vw, 112px);
}

.hero__title {
  max-width: 13ch;
  font-size: clamp(42px, 7.2vw, 84px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero__lede {
  max-width: 56ch;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.button--solid {
  color: var(--white);
  background: var(--jade-deep);
}

.button--solid:hover {
  background: var(--jade-night);
}

.button--plain {
  color: var(--ink);
  border: 1px solid var(--rule);
}

.button--plain:hover {
  border-color: var(--jade);
}

/* Section headings. */
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* How it works: five steps joined by a jade line. */
.steps {
  padding: var(--section) 0;
  background: var(--stone);
}

.timeline {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
}

.timeline__step {
  counter-increment: step;
  position: relative;
}

.timeline__step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--jade-deep);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.timeline__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 52px;
  right: -20px;
  height: 2px;
  background: var(--jade-line);
}

.timeline__step h3 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.timeline__step p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 900px) {
  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 560px;
  }

  .timeline__step {
    padding: 0 0 36px 64px;
    min-height: 40px;
  }

  .timeline__step:last-child {
    padding-bottom: 0;
  }

  .timeline__step::before {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .timeline__step:not(:last-child)::after {
    top: 52px;
    bottom: 12px;
    left: 19px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline__step h3 {
    padding-top: 8px;
  }
}

/* For employers. */
.employers {
  padding: var(--section) 0;
}

.employers__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.employers__intro p {
  max-width: 36ch;
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
}

.points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 40px;
}

.point {
  padding-top: 20px;
  border-top: 2px solid var(--jade);
}

.point dt {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.point dd {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

@media (max-width: 900px) {
  .employers__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .points {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* Contact: the deep jade band. */
.contact {
  padding: var(--section) 0;
  background: var(--jade-deep);
  color: var(--white);
}

.contact :focus-visible {
  outline-color: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
}

.contact__title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.contact__lede {
  max-width: 34ch;
  margin-top: 20px;
  font-size: 18px;
  color: var(--mint);
}

.contact__note {
  max-width: 34ch;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgb(221 241 230 / 0.3);
  font-size: 15px;
  color: var(--mint);
}

.contact__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.contact__item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--mint);
}

.contact__phone {
  margin-top: 10px;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.contact__phone a {
  text-decoration: none;
}

.contact__phone a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.contact__small {
  margin-top: 8px;
  font-size: 14px;
  color: var(--mint);
}

.contact address {
  margin-top: 10px;
  font-style: normal;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.5);
  text-underline-offset: 4px;
}

.contact__link:hover {
  text-decoration-color: var(--white);
}

@media (max-width: 900px) {
  .contact__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .contact__details {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* Footer. */
.site-footer {
  background: var(--jade-night);
  color: var(--mint);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

/* The not-found page. */
.notfound {
  padding: clamp(64px, 11vw, 136px) 0;
}

.notfound p {
  max-width: 48ch;
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
}
