/* Hourline website. (c) 2026 GetHireIn Ltd.
   Layout: one dark navy page read top to bottom; the hero carries the forecast lines, everything below is quiet.
   Teal is reserved for "hours actually used": the bright line in the hero and the progress line in How it works. */

@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  /* colour: Hourline's own palette (logo navy, logo blue, logo teal) */
  --bg: #06121f;            /* page: deeper than the logo navy */
  --bg-2: #0a1b2e;          /* alternate band */
  --panel: #0e2a47;         /* logo navy, used for raised panels */
  --ink: #eef4fb;
  --ink-2: #b9c8da;
  --muted: #8a9db4;
  --rule: rgba(142, 197, 255, .16);
  --rule-2: rgba(142, 197, 255, .28);
  --blue: #5aa2f5;          /* actions */
  --blue-deep: #1f5fad;     /* logo blue */
  --pale: #8ec5ff;
  --teal: #14b8a6;          /* hours actually used */
  --on-blue: #04101c;
  --crit: #ff9a9a;
  /* forecast lines (read by site.js) */
  --hw-line: 57, 135, 229;
  --hw-alt: 142, 197, 255;
  --hw-used: 20, 184, 166;
  --hw-head: 204, 251, 241;
  /* type */
  --display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pale); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(2.35rem, 5.1vw, 4.1rem); line-height: 1.06; letter-spacing: -.022em; }
h2 { font-weight: 600; font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.14; letter-spacing: -.016em; }
h3 { font-weight: 600; font-size: 1.13rem; line-height: 1.3; letter-spacing: -.005em; }
:focus-visible { outline: 2px solid var(--pale); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: var(--on-blue); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { font: 500 .78rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pale); }
.lede { font-size: 1.16rem; line-height: 1.58; color: var(--ink-2); max-width: 62ch; }
.note { color: var(--muted); font-size: .92rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 10px; border: 1px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn.primary { background: var(--blue); color: var(--on-blue); }
.btn.primary:hover { background: #8ec5ff; color: var(--on-blue); }
.btn.ghost { border-color: var(--rule-2); color: var(--ink); background: rgba(142, 197, 255, .04); }
.btn.ghost:hover { border-color: var(--pale); color: #fff; }
.btn.small { min-height: 40px; padding: 8px 15px; font-size: .95rem; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: default; }

/* top bar */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(6, 18, 31, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; margin-right: auto; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .97rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.top .actions { display: flex; align-items: center; gap: 16px; }
.top .signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.top .signin:hover { color: var(--pale); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 40px; padding: 8px 12px; border: 1px solid var(--rule-2); border-radius: 10px; font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu .sheet { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); background: var(--panel); border: 1px solid var(--rule-2); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); }
.menu .sheet a { color: var(--ink); text-decoration: none; padding: 11px 12px; border-radius: 8px; font-weight: 500; }
.menu .sheet a:hover { background: rgba(142, 197, 255, .1); }

/* hero: the section that carries the forecast lines */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); background: radial-gradient(120% 90% at 85% 55%, rgba(31, 95, 173, .28), rgba(31, 95, 173, 0) 62%), var(--bg); }
/* --hw-from and --hw-to are set by site.js from where the hero text ends, so the lines never run behind the words */
#hourline-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) var(--hw-from, 46%), #000 var(--hw-to, 60%)); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) var(--hw-from, 46%), #000 var(--hw-to, 60%)); }
.hero .wrap { position: relative; padding-block: clamp(64px, 7vw, 100px) clamp(76px, 8vw, 116px); }
.hero .copy { max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { max-width: 12.5em; }
.hero .lede { max-width: 33em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; color: var(--ink-2); font-size: .95rem; }
.facts li { display: flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pale); flex: none; }
.legend { position: absolute; right: var(--gutter); bottom: 28px; display: flex; gap: 22px; font: 500 .74rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 9px; }
.legend i { display: inline-block; width: 26px; height: 2px; border-radius: 2px; background: var(--teal); box-shadow: 0 0 10px rgba(20, 184, 166, .8); }
.legend .range i { height: 9px; background: repeating-linear-gradient(180deg, rgba(142, 197, 255, .85) 0 1px, transparent 1px 4px); box-shadow: none; }

/* sections */
.section { padding-block: clamp(64px, 8.5vw, 112px); }
.section.band { background: var(--bg-2); border-block: 1px solid var(--rule); }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }

/* three questions */
.questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.questions li { padding: 26px 28px 6px 0; border-top: 1px solid var(--rule-2); display: flex; flex-direction: column; gap: 12px; }
.questions li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.questions h3 { font-size: 1.36rem; line-height: 1.24; color: #fff; }
.questions p { color: var(--ink-2); }

/* product screenshots */
.shot { border: 1px solid var(--rule-2); border-radius: 14px; overflow: hidden; background: #f4f4f1; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 6px rgba(142, 197, 255, .05); }
.shot .scroll { overflow-x: auto; }
.shot img { width: 100%; }
.shot figcaption { background: var(--panel); color: var(--ink-2); font-size: .88rem; padding: 10px 16px; border-top: 1px solid var(--rule-2); display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; }
.shot figcaption b { font: 500 .72rem/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pale); }

/* split: text beside a picture */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.split > * { min-width: 0; }

/* how it works: a real sequence. The teal line is the hours used so far; the last step is the forecast. */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: linear-gradient(90deg, var(--teal) 0, var(--teal) 73%, rgba(142, 197, 255, .0) 73.2%), repeating-linear-gradient(90deg, rgba(142, 197, 255, .55) 0 6px, transparent 6px 12px); }
.steps li { counter-increment: step; position: relative; padding-top: 58px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 500 .9rem/1 var(--mono); background: var(--bg-2); color: var(--ink); border: 2px solid var(--teal); }
.steps li:last-child::before { border-color: var(--pale); border-style: dashed; }
.steps p { color: var(--ink-2); font-size: 1rem; }

/* audience sections */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.features li { padding: 20px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.features p { color: var(--ink-2); font-size: 1rem; }
.features.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.split.lead { margin-bottom: clamp(32px, 4.5vw, 56px); }
.split.lead .head { margin-bottom: 0; }
.section.follow { padding-top: 0; }

.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.others li { border: 1px solid var(--rule); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.others p { color: var(--ink-2); font-size: 1rem; }

/* security */
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.facts-grid div { padding: 18px 0; border-top: 1px solid var(--rule); }
.facts-grid dt { font: 600 1.05rem/1.3 var(--display); margin-bottom: 5px; }
.facts-grid dd { color: var(--ink-2); font-size: 1rem; }
.two { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.two > * { min-width: 0; }
.two .head { margin-bottom: 0; }

/* pilot */
.pilot { background: linear-gradient(135deg, #0e2a47, #12386a); border: 1px solid var(--rule-2); border-radius: 20px; padding: clamp(28px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pilot > * { min-width: 0; }
.pilot .head { margin-bottom: 0; gap: 18px; }
.pilot ol { display: flex; flex-direction: column; counter-reset: wk; }
.pilot ol li { counter-increment: wk; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 14px; padding: 16px 0; border-top: 1px solid var(--rule-2); }
.pilot ol li:first-child { border-top: 0; padding-top: 0; }
.pilot ol li::before { content: counter(wk); grid-row: span 2; font: 500 .9rem/1.7 var(--mono); color: var(--pale); }
.pilot ol p { color: var(--ink-2); font-size: 1rem; grid-column: 2; }

/* demo form */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.demo > * { min-width: 0; }
.next { margin-top: 28px; display: flex; flex-direction: column; counter-reset: nx; }
.next li { counter-increment: nx; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 12px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.next li::before { content: counter(nx); font: 500 .9rem/1.8 var(--mono); color: var(--pale); }
.form { background: var(--panel); border: 1px solid var(--rule-2); border-radius: 18px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .95rem; }
.field span i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: #071626; border: 1px solid var(--rule-2); border-radius: 9px; padding: 11px 12px; width: 100%; }
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--pale); outline-offset: 1px; border-color: transparent; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form .small-print { color: var(--muted); font-size: .88rem; }
.msg { border-radius: 10px; padding: 12px 14px; font-size: .97rem; }
.msg.err { background: rgba(255, 120, 120, .1); border: 1px solid rgba(255, 154, 154, .4); color: var(--crit); }
.msg.err a { color: #fff; }
.msg.info { background: rgba(142, 197, 255, .08); border: 1px solid var(--rule-2); color: var(--ink-2); }
.done { display: flex; flex-direction: column; gap: 12px; }
.done h3 { font-size: 1.4rem; }
.done p { color: var(--ink-2); }

/* footer */
.foot { border-top: 1px solid var(--rule); padding-block: 44px 56px; color: var(--muted); font-size: .93rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; }
.foot .who { display: flex; flex-direction: column; gap: 12px; max-width: 46ch; }
.foot .who img { height: 30px; width: auto; align-self: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 20px; }

/* plain text pages (privacy) */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.prose h2 { font-size: 1.35rem; margin-top: 14px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* narrower screens */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu { display: block; }
  .split, .two, .pilot, .demo { grid-template-columns: minmax(0, 1fr); }
  .features, .features.four, .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .steps::before { display: none; }
  .legend { display: none; }
}
@media (max-width: 759.98px) {
  :root { --gutter: 16px; }
  body { font-size: 1rem; }
  .top .signin { display: none; }
  .logo img { height: 30px; }
  .hero .wrap { padding-block: 48px 200px; }
  #hourline-waves { -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) var(--hw-from, 70%), #000 var(--hw-to, 80%)); mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) var(--hw-from, 70%), #000 var(--hw-to, 80%)); opacity: .85; }
  .questions, .features, .features.four, .others, .facts-grid, .row, .steps { grid-template-columns: minmax(0, 1fr); }
  .questions li, .questions li + li { padding: 22px 0 18px; border-left: 0; }
  .steps { gap: 28px; }
  .shot img { min-width: 660px; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
