/* HawkSearch Solutions portal: shared styles. Tokens come from the hawksearch.com home page design. */
:root {
  --navy: #000043;
  --navy-2: #14145a;
  --navy-3: #29296b;
  --orange: #f75318;
  --orange-fill: #f96d30;
  --orange-soft: #ffa850;
  --orange-tint: #fff1ea;
  --periwinkle: #7b7fe0;
  --lavender: #e9e4ff;
  --lavender-2: #f4f2ff;
  --green: #12a150;
  --green-tint: #e6f6ec;
  --amber: #b86e00;
  --amber-tint: #fff4e0;
  --text: #070809;
  --muted: #4a4a6a;
  --subtle: #8a8aa3;
  --bg: #ffffff;
  --surface: #f6f6f9;
  --border: #e6e6ee;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 8px 28px rgba(0, 0, 40, .08);
  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
svg.i { width: 18px; height: 18px; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange-fill); outline-offset: 2px; }

.wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }

/* ---- Brand lockup: the classic hawksearch logo (icon + lowercase "hawk" navy / "search" orange) ----
   Rebuilt from the icon file plus type. Swap in the original logo artwork when it's available. */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { display: inline-flex; align-items: center; gap: 4px; }
.brand__logo img { width: 34px; height: 34px; }
.brand__word { font-size: 27px; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: #182338; }
.brand__word b { font-weight: 800; color: var(--orange-fill); }
.brand__tag {
  padding: 4px 10px; border-radius: 999px;
  background: var(--lavender); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.brand--light .brand__word { color: #fff; }
.brand--light .brand__tag { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px;
  font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--orange-fill); color: #fff; }
.btn--primary:hover { background: var(--orange); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--lavender-2); }
.btn--outline { border-color: var(--border); background: #fff; color: var(--navy); }
.btn--outline:hover { border-color: var(--navy); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---- Public site header: white pill on navy, like hawksearch.com ---- */
.site-top { background: var(--navy); padding: 20px 0 0; }
.site-nav {
  display: flex; align-items: center; gap: 28px;
  height: 84px; padding: 0 16px 0 28px;
  background: #fff; border-radius: 999px;
}
.site-nav__links { display: flex; gap: 30px; margin: 0 auto 0 12px; padding: 0; list-style: none; }
.site-nav__links a { text-decoration: none; font-size: 17px; color: var(--navy); }
.site-nav__links a:hover { color: var(--orange); }
.site-nav__actions { display: flex; gap: 10px; align-items: center; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--navy) 0%, #0d0d55 55%, var(--navy-3) 100%);
  color: #fff;
}
.hero::before {   /* dot grid, as on the home page */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 88px 0 104px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 22px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: var(--orange-soft);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 { margin: 0; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -.02em; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--orange-fill); }
.hero__lead { max-width: 580px; margin: 24px 0 36px; font-size: 20px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin: 22px 0 0; font-size: 15px; color: rgba(255, 255, 255, .6); }
.hero__note a { color: #fff; }

/* Hero visual: a framed screenshot of one of the services */
.hero-shot { position: relative; transform: rotate(1.5deg); }
.hero-shot__frame { overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 30, .45); }
.hero-shot__frame img { width: 100%; height: auto; }
.hero-shot__badge {
  position: absolute; left: -24px; bottom: -24px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 999px;
  background: var(--orange-soft); color: var(--navy); font-weight: 700;
  box-shadow: 0 14px 30px rgba(0, 0, 30, .3);
  transform: rotate(-1.5deg);
}
.hero-shot__badge strong { font-size: 26px; }
.hero-shot__badge span { font-size: 13px; line-height: 1.2; font-weight: 600; }

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section--tint { background: var(--surface); }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.section h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.015em; color: var(--navy); }
.section h2 em { font-style: normal; color: var(--orange-fill); }
.section__lead { margin: 14px 0 0; font-size: 19px; color: var(--muted); }

/* ---- Service cards (public home page and signed-in home) ---- */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.svc {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff;
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.svc:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow); }
.svc__shot { display: block; height: 210px; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--border); }
.svc__shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.svc__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.svc__head { display: flex; align-items: center; gap: 12px; }
.svc__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--orange-tint); color: var(--orange-fill); }
.svc__icon svg { width: 21px; height: 21px; }
.svc__icon--lg { width: 48px; height: 48px; border-radius: 14px; }
.svc__icon--lg svg { width: 24px; height: 24px; }
.svc__name { font-size: 21px; font-weight: 700; color: var(--navy); }
.svc__tagline { font-size: 16.5px; color: var(--muted); }
.svc__points { display: grid; gap: 6px; margin-top: 2px; }
.svc__points span { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text); }
.svc__points svg { width: 16px; height: 16px; color: var(--green); }
.svc__open { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 16px; font-weight: 700; color: var(--orange); }
.svc__open svg { width: 17px; height: 17px; }

/* ---- Signed-in layout: white top bar with orange navigation, like the existing HawkSearch tools ---- */
.app-body { background: #f5f6f8; min-height: 100vh; display: flex; flex-direction: column; }
#app { display: flex; flex-direction: column; flex: 1; }
.app-top { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--border); }
.app-top__row { display: flex; align-items: center; gap: 28px; min-height: 76px; padding: 0 28px; }
.app-top .brand__word { font-size: 25px; }
.app-top .brand__logo img { width: 31px; height: 31px; }
.app-nav ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.app-nav a {
  display: block; padding: 8px 15px; border: 1.5px solid transparent; border-radius: 6px;
  font-size: 16px; font-weight: 600; color: var(--orange-fill); text-decoration: none; white-space: nowrap;
}
.app-nav a:hover { background: var(--orange-tint); }
.app-nav a[aria-current="page"] { border-color: var(--orange-fill); }
.app-user { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; }
.app-user__name { line-height: 1.15; font-size: 15px; font-weight: 600; color: var(--navy); }
.app-user__name small { display: block; font-size: 13px; font-weight: 500; color: var(--subtle); }
.app-signout { margin-left: 8px; padding: 8px 4px; border: 0; background: none; font-size: 16px; font-weight: 600; color: var(--orange-fill); cursor: pointer; }
.app-signout:hover { color: var(--orange); text-decoration: underline; }

.app-main { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 48px; flex: 1; }
.page-head { margin-bottom: 28px; }
.page-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0; font-size: 36px; letter-spacing: -.015em; color: var(--navy); }
.page-head p { max-width: 820px; margin: 10px 0 0; font-size: 18px; color: var(--muted); }
.preview-badge { padding: 4px 12px; border-radius: 999px; background: var(--lavender); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.point-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.point-row span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); font-size: 14.5px; font-weight: 600; color: var(--navy); }
.point-row svg { width: 15px; height: 15px; color: var(--green); }

.screen { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.screen__bar { display: flex; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.screen__bar span { width: 11px; height: 11px; border-radius: 999px; background: #d9d9e3; }
.screen img { width: 100%; height: auto; }
.screen figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--subtle); }
.screen figcaption svg { width: 16px; height: 16px; }

.other-svcs { margin-top: 32px; }
.other-svcs p { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.other-svcs div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.other-svcs a {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff;
  font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.other-svcs a:hover { border-color: var(--navy); }
.other-svcs a > svg:last-child { margin-left: auto; color: var(--orange); }

/* Signed-in home: feature rows (text + call to action left, screenshot right) */
.feature-rows { display: grid; gap: 20px; }
.feature-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 40px 44px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff;
}
.feature-row__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange);
}
.feature-row__eyebrow svg { width: 17px; height: 17px; }
.feature-row h2 { margin: 0 0 16px; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: #1d2433; }
.feature-row__text > p:not(.feature-row__eyebrow) { margin: 0 0 28px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.btn-cta {
  display: inline-flex; align-items: center; height: 50px; padding: 0 28px;
  border-radius: 6px; background: var(--orange-fill); color: #fff;
  font-size: 17px; font-weight: 700; text-decoration: none;
  transition: background .15s;
}
.btn-cta:hover { background: var(--orange); }
.feature-row__shot {
  display: block; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 40, .12); transition: transform .15s, box-shadow .15s;
}
.feature-row__shot:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(0, 0, 40, .16); }
.feature-row__shot .screen__bar { display: flex; }
.feature-row__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }

.help-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; padding: 18px 22px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); font-size: 16px; color: var(--muted); }
.help-strip > svg { width: 22px; height: 22px; color: var(--periwinkle); }
.help-strip b { color: var(--navy); }
.help-strip .btn { margin-left: auto; }
.app-foot { padding: 20px 16px 28px; text-align: center; font-size: 14px; color: var(--subtle); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700;
}
.step h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 48px 56px; border-radius: var(--radius-xl);
  background: linear-gradient(115deg, var(--navy), var(--navy-3)); color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin: 10px 0 0; font-size: 18px; color: rgba(255, 255, 255, .75); }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 48px 0 32px; font-size: 15px; }
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }

/* ---- Forms ---- */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 15px; font-weight: 600; color: var(--navy); }
.field__row { display: flex; justify-content: space-between; align-items: baseline; }
.input {
  width: 100%; height: 52px; padding: 0 18px;
  border: 1.5px solid var(--border); border-radius: var(--radius-md); background: #fff;
  font-size: 16px; outline: 0; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--navy); box-shadow: 0 0 0 4px var(--lavender); }
.input[aria-invalid="true"] { border-color: #d93a00; }
.field__error { font-size: 14px; color: #c03400; }
.link { color: var(--orange); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding: 64px 0 80px; }
  .hero-shot { max-width: 620px; transform: none; }
  .hero-shot__badge { left: auto; right: 16px; bottom: -22px; transform: none; }
  .app-top__row { flex-wrap: wrap; gap: 4px 20px; padding: 12px 20px 0; }
  .app-nav { order: 3; width: calc(100% + 40px); margin: 0 -20px; padding: 6px 20px 10px; overflow-x: auto; }
  .other-svcs div { grid-template-columns: minmax(0, 1fr); }
  .feature-row { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px; }
}
@media (max-width: 760px) {
  .site-nav { height: 68px; padding: 0 10px 0 18px; }
  .site-nav__links { display: none; }
  .site-nav__actions .btn--outline { display: none; }
  .site-nav__actions .btn { padding: 0 14px; }
  .brand__word { font-size: 23px; }
  .brand__logo img { width: 29px; height: 29px; }
  .site-nav .brand__tag { display: none; }
  .app-top .brand__tag { display: none; }
  .app-top .brand__word { font-size: 22px; }
  .app-top .brand__logo img { width: 27px; height: 27px; }
  .section { padding: 64px 0; }
  .svc-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 36px 24px; }
  .svc__shot { height: 170px; }
  .app-user__name { display: none; }
  .page-head h1 { font-size: 28px; }
  .help-strip .btn { margin-left: 0; }
  .feature-row { padding: 24px 20px; }
  .feature-row h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
