/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/* Jobbot custom styles */
:root {
  --blue: #1877F2; /* Facebook-like blue */
  --blue-dark: #0f5cc4;
  --text: #0b1320;
  --muted: #5b6b7b;
  --bg: #f7f9fc;
  --white: #fff;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; color: var(--text); }
.logo img { display: block; }

.site-nav { display: flex; gap: 1rem; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: .5rem .75rem; border-radius: 8px; }
.site-nav a:hover, .site-nav a:focus { background: #eaf2ff; color: var(--blue-dark); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; }

.section { padding: 4rem 0; }

.hero {
  background-image: linear-gradient(180deg, rgba(24,119,242,0.78) 0%, rgba(72,146,255,0.78) 100%), url('../img/landing.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 6rem 0 7rem;
  min-height: 70vh;
}
.hero .hero-content { max-width: 760px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 1.5rem; font-weight: 800; letter-spacing: -0.01em; text-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.hero p { font-size: clamp(1rem, 2.3vw, 1.25rem); margin: 0 0 2rem; padding: .75rem 0; color: #f1f6ff; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }

.waitlist { display: grid; grid-template-columns: 1fr auto; gap: .75rem; background: rgba(255,255,255,0.15); padding: .75rem; border-radius: 12px; backdrop-filter: blur(6px); }
.waitlist input[type="email"] {
  border: none; padding: 1rem 1.1rem; border-radius: 8px; outline: none; min-width: 0;
}
.waitlist button { background: var(--white); color: var(--blue-dark); border: none; padding: 1rem 1.1rem; border-radius: 8px; font-weight: 700; cursor: pointer; }
.waitlist button:hover { background: #f4f7ff; }
.hero .note { display: block; margin-top: .75rem; opacity: .9; }

.about .bullets { margin: 1rem 0 0; padding-left: 1.1rem; }
.about .bullets li { margin: .35rem 0; color: var(--muted); }

.how .steps { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.step { background: var(--white); padding: 1.25rem; border-radius: 12px; box-shadow: var(--shadow); }
.step .step-num { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: .5rem; }
.step h3 { margin: .25rem 0 .5rem; }
.step p { color: var(--muted); margin: 0; }

.contact .contact-form { background: var(--white); padding: 1.25rem; border-radius: 12px; box-shadow: var(--shadow); }
.contact .grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.contact input, .contact textarea { width: 100%; padding: 1rem 1rem; border: 1px solid #d9e2ef; border-radius: 8px; font: inherit; }
.contact .contact-form .grid + input[type="tel"] { margin-top: .75rem; }
/* Improve padding for phone number input */
.contact input[type="tel"] { padding: 1.15rem 1.25rem; margin-bottom: 1rem; }
.contact button { margin-top: .75rem; background: var(--blue); color: #fff; border: none; padding: 1rem 1.1rem; border-radius: 8px; font-weight: 700; cursor: pointer; }
.contact button:hover { background: var(--blue-dark); }
.contact .contact-email { margin-top: .75rem; color: var(--muted); }

.site-footer { background: #0f1a2a; color: #c9d3e3; }
.site-footer .foot-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.site-footer a { color: #c9d3e3; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .how .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-nav { position: absolute; right: 4%; top: 60px; background: var(--white); padding: .5rem; border-radius: 10px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; min-width: 200px; display: none; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
}
@media (min-width: 640px) {
  .contact .grid { grid-template-columns: 1fr 1fr; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Footer links spacing */
.site-footer .footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer .footer-links a { padding: .35rem .55rem; border-radius: 6px; }
@media (max-width: 520px) {
  .site-footer .foot-wrap { flex-direction: column; align-items: flex-start; }
}

/* Decorative SVG enhancements */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 100px;
  background-image: url('../hero-wave.svg');
  background-repeat: repeat-x; background-size: 800px 100px; opacity: .6;
  pointer-events: none;
}

.about, .how { position: relative; }
.how::before {
  content: ""; position: absolute; top: -10px; right: -10px; width: 260px; height: 180px;
  background-image: url('../dots.svg'); background-size: 120px 80px; background-repeat: no-repeat; opacity: .18; pointer-events: none;
}
.about::after {
  content: ""; position: absolute; bottom: -10px; left: -10px; width: 220px; height: 160px;
  background-image: url('../dots.svg'); background-size: 120px 80px; background-repeat: no-repeat; opacity: .12; pointer-events: none;
}
