/* cruitme.com landing pages. Same palette and type as the app (see public/styles.css). */
:root {
  --charcoal: #323232;
  --blue: #4397f7;
  --blue-deep: #1f6fd1;
  --blue-deeper: #16529c;
  --blue-tint: #e3effe;
  --blue-ink: #1a5db0;
  --grey: #dcdcdc;
  --ground: #ededed;
  --line: #d2d2d2;
  --white: #ffffff;
  --muted: #5e5e5e;
  --body-text: #4a4a4a;
  --red: #c7362f;
  --green: #2f8a52;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(50, 50, 50, .06), 0 4px 16px rgba(50, 50, 50, .05);
  --head: 'Questrial', 'Century Gothic', 'Avenir Next', system-ui, sans-serif;
  --body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; }
body { font-family: var(--body); color: var(--charcoal); background: var(--ground); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-deep); }
a:hover { color: var(--blue-deeper); }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-top { background: var(--grey); border-bottom: 1px solid #cfcfcf; }
.site-top .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; border-radius: 8px; }
.brand img { height: 44px; width: auto; display: block; }
.links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.links a { font-family: var(--head); color: var(--charcoal); text-decoration: none; padding: 9px 16px; border-radius: 999px; }
.links a:hover { background: rgba(255, 255, 255, .55); }
.links a.here { background: var(--white); }
.links a.signin { border: 1px solid #b9b9b9; }

/* Buttons */
.btn {
  font: inherit; font-size: 16px; font-weight: 600; border: 1px solid var(--line); background: var(--white); color: var(--charcoal);
  padding: 12px 24px; min-height: 48px; border-radius: 999px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn:hover { border-color: #b5b5b5; color: var(--charcoal); }
.btn.primary { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn.primary:hover { background: var(--blue-deeper); border-color: var(--blue-deeper); color: var(--white); }
.btn:disabled { opacity: .6; cursor: default; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; margin-bottom: 22px; box-shadow: var(--shadow); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue-deep); }
.hero .lead { font-size: 20px; color: var(--body-text); max-width: 34em; margin-bottom: 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* The phone mock-up in the hero */
.phone {
  justify-self: center; width: 300px; background: var(--white); border-radius: 40px; padding: 16px 14px 20px;
  box-shadow: 0 2px 6px rgba(50, 50, 50, .06), 0 30px 60px rgba(50, 50, 50, .16); border: 1px solid #e3e3e3;
}
.phone .bar { width: 90px; height: 6px; border-radius: 3px; background: var(--ground); margin: 0 auto 16px; }
.mini-card { background: var(--white); border: 1px solid #e6e6e6; border-radius: 24px; padding: 20px 18px; box-shadow: 0 10px 24px rgba(50, 50, 50, .08); position: relative; }
.mini-card.behind { position: absolute; inset: 10px 10px auto; transform: translateY(14px) scale(.94); opacity: .5; height: 100%; box-shadow: none; }
.deck { position: relative; margin-bottom: 18px; }
.mini-card .stamp { position: absolute; top: 16px; right: 16px; border: 2.5px solid var(--blue-deep); color: var(--blue-deep); border-radius: 8px; padding: 1px 9px; font-family: var(--head); font-size: 15px; transform: rotate(10deg); background: var(--white); }
.mini-card h3 { font-size: 23px; margin: 22px 0 6px; padding-right: 70px; }
.mini-card .co { font-weight: 500; margin-bottom: 12px; }
.mini-card .row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.mini-card .row svg { flex: none; color: var(--charcoal); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-ink); margin-top: 6px; }
.match { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #ececec; font-size: 13px; color: var(--muted); }
.match b { font-family: var(--head); font-size: 22px; color: var(--charcoal); font-weight: 400; width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--blue-deep); display: grid; place-items: center; flex: none; }
.phone .buttons { display: flex; justify-content: center; gap: 18px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--white); }
.round.yes { background: var(--blue-deep); color: var(--white); border: 0; box-shadow: 0 0 0 5px rgba(67, 151, 247, .25); }

/* Sections */
.band { padding: 72px 0; }
.band.white { background: var(--white); }
.section-title { max-width: 680px; margin-bottom: 36px; }
.section-title h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 12px; }
.section-title p { color: var(--muted); font-size: 18px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--ground); border-radius: var(--radius); padding: 26px 24px; }
.band:not(.white) .step { background: var(--white); box-shadow: var(--shadow); }
.step .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--body-text); margin: 0; font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before {
  content: ''; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--blue-deep); border-bottom: 2.5px solid var(--blue-deep); transform: rotate(-45deg);
}
.ticks strong { display: block; }
.area { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.area h3 { font-size: 22px; margin-bottom: 14px; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns span { background: var(--ground); border-radius: 999px; padding: 5px 13px; font-size: 14px; }
.towns span.remote { background: var(--blue-tint); color: var(--blue-ink); font-weight: 600; }
.cta-strip { background: var(--charcoal); color: var(--white); border-radius: 28px; padding: 40px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 30px; margin-bottom: 6px; }
.cta-strip p { color: #cfcfcf; margin: 0; }
.cta-strip .btn { background: var(--white); border-color: var(--white); }

/* Register form */
.register { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.form { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.band.white .form { background: var(--ground); box-shadow: none; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea, .form select {
  font: inherit; font-size: 16px; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; min-height: 50px; width: 100%;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice label { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; cursor: pointer; font-weight: 500; }
.choice label:has(input:checked) { border-color: var(--blue-deep); background: var(--blue-tint); }
.choice input { width: auto; min-height: 0; accent-color: var(--blue-deep); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-error { color: var(--red); font-size: 15px; margin: 0; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks .icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); display: grid; place-items: center; margin: 0 auto 14px; }
.thanks h3 { font-size: 26px; margin-bottom: 6px; }

/* About */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 16px; max-width: 16em; }
.page-hero .lead { font-size: 20px; color: var(--body-text); max-width: 36em; }
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; margin: 8px 0 14px; }
.prose p { color: var(--body-text); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Footer */
.site-foot { padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; gap: 16px 28px; flex-wrap: wrap; align-items: center; }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot a { color: var(--charcoal); text-decoration-color: var(--blue); text-underline-offset: 3px; }
.site-foot .by { margin-left: auto; }

@media (max-width: 860px) {
  .hero { padding: 44px 0 48px; }
  .hero .wrap, .split, .register { grid-template-columns: 1fr; gap: 40px; }
  .steps, .values { grid-template-columns: 1fr; }
  .band { padding: 52px 0; }
  .cta-strip { padding: 30px 26px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .site-top .wrap { min-height: 60px; gap: 8px; }
  .brand img { height: 34px; }
  .links a { padding: 8px 10px; font-size: 15px; }
  .links a.hide-sm { display: none; }
  .hero .lead, .page-hero .lead { font-size: 18px; }
  .phone { width: 100%; max-width: 300px; }
  .two { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .site-foot .by { margin-left: 0; }
}

/* Create-account card on the home page */
.form.join { gap: 20px; }
.form.join .ticks { gap: 12px; font-size: 16px; }

/* Get the app band */
.app-band { padding: 56px 0; background: var(--blue-tint); }
.app-row { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.app-mark { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 10px 24px rgba(50, 50, 50, .18); }
.app-copy h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.app-copy p:last-child { color: var(--body-text); margin: 0; max-width: 36em; }
.app-btn { white-space: nowrap; }
@media (max-width: 860px) {
  .app-row { grid-template-columns: auto 1fr; }
  .app-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 600px) {
  .app-row { grid-template-columns: 1fr; gap: 18px; }
  .app-mark { width: 72px; height: 72px; border-radius: 18px; }
  .app-btn { width: 100%; }
}
