/* ProgressTiger public site.
 *
 * Near-black ink, warm paper, one amber accent. Depth comes from the dark
 * sections and hairlines, not from gradients or a shadow on every box.
 */

:root {
  --ink: #14181a;
  --ink-2: #1d2427;
  --ink-3: #2b3438;
  --body: #4a5559;
  --muted: #737d81;
  --line: #e5e2dc;
  --line-2: #d3cfc7;

  --paper: #ffffff;
  --paper-2: #f7f5f1;
  --paper-3: #efece6;

  --accent: #dd5f27;
  --accent-dark: #bd4a18;
  --accent-lift: #f0834f;
  --accent-wash: #fbeee6;

  --on-dark: #f3f1ed;
  --on-dark-soft: #a7b0b3;
  --on-dark-line: rgba(243, 241, 237, 0.14);

  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: Archivo, var(--sans);

  --radius: 12px;
  --radius-lg: 20px;
  --container: 1160px;
  --pad: 22px;
  --gap: 88px;
  /* Logo mark width + wordmark gap. Hero copy indents by this so type
     shares a left edge with the word "ProgressTiger", not the icon. */
  --mark: 26px;
  --mark-gap: 10px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Short pages (the 404) still end with the footer against the fold. */
body > .footer { margin-top: auto; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
}

p, ul, ol { margin: 0; }
/* Every list here is a layout device, never a bulleted paragraph. */
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

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

/* --- layout ------------------------------------------------------------ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: var(--gap) 0; }
.section--paper { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section--dark .eyebrow { color: var(--accent-lift); }

.h2 {
  font-size: clamp(30px, 5.2vw, 46px);
  max-width: 17ch;
}
.lede {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 18px;
  color: var(--body);
}
.section--dark .lede { color: var(--on-dark-soft); }

.head {
  display: grid;
  gap: 20px;
  margin-bottom: 56px;
}

/* --- header ------------------------------------------------------------ */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: var(--mark-gap);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.site-head--invert .wordmark { color: var(--on-dark); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav__link:hover { color: var(--ink); }
.site-head--invert .nav__link { color: var(--on-dark-soft); }
.site-head--invert .nav__link:hover { color: var(--on-dark); }

/* --- buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); }
.section--dark .btn--ghost,
.hero .btn--ghost {
  color: var(--on-dark);
  border-color: var(--on-dark-line);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover {
  border-color: var(--on-dark);
  background: rgba(243, 241, 237, 0.06);
}

.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.textlink:hover { color: var(--accent); border-color: var(--accent); }
.section--dark .textlink { color: var(--on-dark); border-color: var(--on-dark-line); }
.section--dark .textlink:hover { color: var(--accent-lift); border-color: var(--accent-lift); }

/* --- hero -------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
/* Faint hairline field. Reads as texture, not as a gradient. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 241, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 237, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  /* Snap vertical lines to the container's content edge, not the viewport. */
  background-position: max(var(--pad), calc(50% - (var(--container) / 2) + var(--pad))) 0;
  pointer-events: none;
}
.hero > * { position: relative; }

.hero__body { padding: 44px 0 84px; }
.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__copy { padding-left: calc(var(--mark) + var(--mark-gap)); }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--on-dark-soft);
  margin-bottom: 26px;
}
.hero__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  /* Tracks the viewport through the 980–1200px band, where the copy column is
     narrow but the type would otherwise already be at full size. */
  font-size: clamp(38px, 3.2vw + 18px, 58px);
  line-height: 1.12;
  letter-spacing: -0.036em;
  max-width: 16ch;
  color: #fff;
}
.hero__mark { color: var(--accent-lift); }

.hero__sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 18.5px;
  color: var(--on-dark-soft);
}
.hero .btn-row { margin-top: 34px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 0;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--on-dark-soft);
}
.hero__meta li { display: flex; align-items: center; }
.hero__meta li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 12px;
  flex: none;
}

/* --- hero visual: one phone, one notification -------------------------- */

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phone {
  width: 298px;
  max-width: 100%;
  padding: 9px;
  background: #0a0d0e;
  border: 1px solid #333c40;
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.phone__screen {
  border-radius: 32px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.phone__status i {
  display: block;
  width: 26px;
  height: 5px;
  border-radius: 3px;
  background: var(--ink);
  opacity: 0.55;
}

.phone__url {
  margin: 0 12px 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper-3);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.phone__masthead {
  padding: 18px 16px 16px;
  background: var(--ink);
  color: var(--on-dark);
}
.phone__brand {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.phone__claim {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.phone__pane { padding: 16px; }
.phone__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.phone__row {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}
.phone__row span {
  flex: 1;
  padding: 9px 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  color: var(--body);
}
.phone__row span.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}
.phone__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--body);
}
.phone__summary strong { color: var(--ink); font-size: 14px; }
.phone__cta {
  display: block;
  padding: 13px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
}

.alert {
  width: 260px;
  max-width: 100%;
  display: grid;
  gap: 3px;
  padding: 15px 17px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.alert__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.alert__kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.alert__job {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.alert__when { font-size: 13.5px; color: var(--muted); }
.alert__paid {
  margin-top: 7px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: lift 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
  .alert { animation: lift 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) 0.35s both; }
}
@keyframes lift {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* --- path: five stages ------------------------------------------------- */

.path { display: grid; gap: 0; }
.path__step {
  position: relative;
  padding: 22px 0 22px 46px;
  border-top: 1px solid var(--line);
}
.path__step:last-child { border-bottom: 1px solid var(--line); }
.path__n {
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.path__step h3 { font-size: 19px; }
.path__step p { margin-top: 6px; font-size: 15.5px; color: var(--muted); }

/* --- capability grid --------------------------------------------------- */

.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cell {
  background: var(--paper);
  padding: 30px 28px 34px;
}
.cell__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 12px;
  background: #f6e2d6;
  color: var(--accent-dark);
}
.cell h3 { font-size: 20px; }
.cell p { margin-top: 10px; font-size: 15.5px; color: var(--body); }

/* --- compare ----------------------------------------------------------- */

.compare { display: grid; gap: 18px; }
.panel {
  padding: 28px 26px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
}
.panel--now { background: var(--paper-2); }
.panel--next {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}
.panel__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.panel--next .panel__title { color: var(--accent-lift); border-color: var(--on-dark-line); }
.panel li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
  color: var(--body);
}
.panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.panel--next li { color: var(--on-dark); font-weight: 500; border-color: var(--on-dark-line); }
.panel__bullet {
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
}
.panel__bullet::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 9px;
  height: 1.5px;
  background: #9ba29f;
}
.panel--next .panel__bullet {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel--next .panel__bullet::after { content: none; }
.panel--next .panel__bullet svg { width: 12px; height: 12px; }

/* --- process ----------------------------------------------------------- */

.steps { display: grid; gap: 1px; background: var(--on-dark-line); }
.step { background: var(--ink); padding: 34px 0 0; }
.step__n {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-lift);
}
.step h3 { margin-top: 16px; font-size: 22px; }
.step p { margin-top: 12px; font-size: 16px; color: var(--on-dark-soft); max-width: 38ch; }

/* --- contact ----------------------------------------------------------- */

.contact { display: grid; gap: 44px; align-items: start; }
.contact__alts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact__quiet {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
}
.contact__quiet a {
  color: var(--ink);
  text-underline-offset: 3px;
}
.contact__quiet a:hover { color: var(--accent); }

.asks {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
}
.asks__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.asks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 7px 0;
  font-size: 16px;
  color: var(--body);
}
.asks li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.card-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px 26px 30px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 3px rgba(20, 24, 26, 0.03), 0 18px 40px rgba(20, 24, 26, 0.07);
}
.card-form__title { font-size: 20px; }
.card-form__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--accent-dark);
  font-size: 14.5px;
}
.field { display: grid; gap: 7px; }
.field__label { font-size: 13.5px; font-weight: 600; }
.field__optional { font-weight: 500; color: var(--muted); }
.field--hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field input,
.field textarea {
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa2a5; }
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}
.card-form__hint { font-size: 13.5px; color: var(--muted); }

/* --- footer ------------------------------------------------------------ */

.footer {
  background: var(--ink);
  padding: 66px 0 46px;
  font-size: 15px;
  color: var(--on-dark-soft);
}
.footer .wordmark { color: var(--on-dark); }
.footer__top { display: grid; gap: 34px; }
.footer__blurb { max-width: 34ch; margin-top: 16px; font-size: 15px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.footer a { color: var(--on-dark-soft); text-decoration: none; }
.footer a:hover { color: var(--accent-lift); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 14px;
}
.footer--slim { padding: 34px 0 40px; }
.footer--slim .footer__bottom { margin-top: 0; padding-top: 0; border-top: 0; }

/* --- 404 --------------------------------------------------------------- */

.notfound { padding: 96px 0 140px; }
.notfound h1 { font-size: clamp(32px, 6vw, 48px); }
.notfound p { margin-top: 20px; color: var(--body); max-width: 46ch; font-size: 18px; }
.notfound .btn-row { margin-top: 32px; }

/* --- breakpoints ------------------------------------------------------- */

@media (max-width: 659px) {
  /* No room for a full nav next to the wordmark; the last link is the one
     that matters. */
  .nav__link:not(:last-child) { display: none; }
  .hero .btn-row .btn { width: 100%; }
}

@media (min-width: 640px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (min-width: 760px) {
  :root { --pad: 32px; --gap: 108px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; }
  .head .lede { margin-top: 0; padding-bottom: 4px; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; }
  .steps { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
  .step { padding: 0 0 0 32px; }
  .step:first-child { padding-left: 0; }
  .steps { background: none; gap: 0; }
  .step { border-left: 1px solid var(--on-dark-line); padding-left: 32px; }
  .step:first-child { border-left: 0; }
  /* Keeps the three descriptions on one baseline when a heading wraps. */
  .step h3 { min-height: 2.2em; }
  .footer__top { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; }
  .cell { padding: 34px 32px 38px; }
  .panel { padding: 32px 30px 34px; }
  .card-form { padding: 34px 32px 36px; }
}

@media (min-width: 980px) {
  :root { --gap: 124px; }
  .hero__body { padding: 34px 0 108px; }
  .hero__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
  }
  /* Copy, then phone, then the booking card at the phone's mid-height. */
  .stage {
    flex-direction: row;
    align-items: center;
    justify-self: end;
    gap: 16px;
    width: max-content;
    padding: 0;
  }
  .phone { width: 280px; }
  .alert { width: 200px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .path { grid-template-columns: repeat(5, 1fr); column-gap: 26px; }
  .path__step {
    padding: 0;
    border: 0;
    border-top: 2px solid var(--line);
    padding-top: 22px;
  }
  .path__step:last-child { border-bottom: 0; }
  .path__step:first-child { border-top-color: var(--accent); }
  .path__n { position: static; display: block; margin-bottom: 12px; }
  .path__step h3 { font-size: 18px; }
  .path__step p { font-size: 15px; }
}

@media (min-width: 1200px) {
  .hero__grid { gap: 48px; }
  .phone { width: 298px; }
  .alert { width: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .alert { animation: none; }
  .btn:active { transform: none; }
}
