/* The Technology Life landing page */

/* Inter 4.1 static fonts (Latin subset), the build the mockup was set in */
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-800.woff2") format("woff2");
}

:root {
  --navy: #0b1b45;
  --ink: #0b1a33;
  --muted: #51607c;
  --blue: #2c6bd6;
  --sky: #1ba2e6;
  --soft-blue: #6ba6ee;
  --coral: #ee6c6c;
  --green: #2f9e6b;
  --line: #e3e9f3;
  --wash: #f3f7fd;
  --pale: #c9d6f0;
  --white: #fff;
  --hero-top: #f5f9ff;
  --hero-mid: #e8f5fd;
  --chip: #eaf3ff;
  --meter: #dbe6f6;
  --red: #d9484e;
  --red-wash: #fdeced;
  --cyan: #0b86b5;
  --cyan-wash: #e6f7fd;
  --green-wash: #e7f6ee;
  --amber: #b7791f;
  --amber-wash: #fdf3e1;
  --coral-light: #ffb0b3;
  --stat-light: #9fd8f5;
  --cta-mid: #123f94;
  --page: #fff;
  --surface: #fff;
  --text: #0b1b45;
  --link: #2c6bd6;
  --band: #0b1b45;
  --green-fill: #2f9e6b;
  --navy-fill: #0b1b45;
  --btn-dark: #0b1b45;
  --btn-dark-hover: #2c6bd6;
  --header-bg: rgba(255, 255, 255, .94);
  --note-bg: rgba(255, 255, 255, .85);
  color-scheme: light dark;
  --shadow-ink: 11, 27, 69;
  --container: 1072px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --speed: .18s;
}

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

html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }


.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  line-height: 20px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: 12px; }

/* Blue ring: 5:1 on white and 4.7:1 on the hero wash (the lighter sky is under 3:1) */
:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
  white-space: nowrap;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    background-color var(--speed) var(--ease), color var(--speed) var(--ease), filter var(--speed) var(--ease);
}
.btn:active { transform: translateY(0) scale(.97); }

.btn-gradient {
  padding: 14px 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 6px 16px rgba(var(--shadow-ink), .22);
}
.btn-gradient:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow: 0 10px 28px rgba(var(--shadow-ink), .28);
}

.btn-outline,
.btn-dark {
  padding: 15.5px 24px;
  border: 2px solid var(--navy);
}
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--page); }
.btn-dark { background: var(--btn-dark); border-color: var(--btn-dark); color: var(--white); }
.btn-dark:hover { background: var(--btn-dark-hover); border-color: var(--btn-dark-hover); }

.btn-light {
  padding: 17.5px 26px;
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}
.btn-light:focus-visible { outline-color: var(--navy); outline-offset: -6px; }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
  color: var(--text);
}
.brand-name { white-space: nowrap; transition: color var(--speed) var(--ease); }
.brand:hover .brand-name { color: var(--link); }

.brand-mark {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  height: 3px;
  border-radius: 1.5px;
  background: var(--white);
}
.brand-mark::before { top: 10px; width: 16px; }
.brand-mark::after { top: 17px; width: 11px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  color: var(--muted);
  transition: color var(--speed) var(--ease);
}
.nav-link:hover { color: var(--link); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 84px;
  background: linear-gradient(160deg, var(--hero-top) 0%, var(--hero-mid) 60%, var(--page) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  /* Stays beside the content on wide screens, as it sits at 1280 */
  right: max(-220px, 50% - 860px);
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 162, 230, .18), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 512px;
  column-gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 2px 12px rgba(var(--shadow-ink), .08);
  font-size: 13px;
  font-weight: 600;
  line-height: 19px;
  color: var(--text);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

h1 {
  margin-top: 20px;
  max-width: 540px;
  font-size: 50px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--text);
}

/* The design kerns "tt" 0.0244em tighter than Inter 4.1 does.
   The span also drops Inter's own tt kern at weight 800, so the headline value adds it back. */
.kern-tt { letter-spacing: -.0244em; }
h1 .kern-tt { letter-spacing: -.0494em; }
/* Keeps "W-2" on one line on narrow screens */
.nowrap { white-space: nowrap; }

.text-gradient {
  background: linear-gradient(90deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 20px;
  max-width: 490px;
  font-size: 18px;
  line-height: 30px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

/* Hero illustration: a fixed 567 x 608 stage that zooms down to fit narrow screens */

.hero-art-frame {
  container-type: inline-size;
  margin-right: -55px;
}

.hero-art {
  --fit: min(1, tan(atan2(100cqw, 567px)));
  zoom: var(--fit);
  position: relative;
  width: 567px;
  height: 608px;
  color: var(--text);
  line-height: 1.6;
}

.dash-card {
  position: absolute;
  left: 30px;
  top: 58px;
  width: 523px;
  height: 454px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 30px 70px rgba(var(--shadow-ink), .16);
}

/* Line heights in the illustration equal each font's content height, so every line sits on the mockup's pixel rows */
.dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.dash-title { margin-top: 3px; font-size: 16px; font-weight: 700; line-height: 20px; }
.dash-sub { margin-top: 10px; font-size: 12px; line-height: 15px; color: var(--muted); }

.chip {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin-top: 10px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--chip);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 21px;
}
.tile {
  height: 100px;
  padding: 14px;
  border-radius: 14px;
  background: var(--wash);
}
.tile-label { font-size: 11px; font-weight: 600; line-height: 14px; color: var(--muted); }
.tile-value { margin-top: 3px; font-size: 24px; font-weight: 800; line-height: 29px; }
.tile-note { margin-top: 9px; font-size: 11px; font-weight: 600; line-height: 14px; color: var(--green); }

.meter {
  height: 6px;
  margin-top: 9px;
  border-radius: 3px;
  background: var(--meter);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}

.dash-rows { margin-top: 16px; }
.dash-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1.4fr) minmax(0, 1fr) auto;
  column-gap: 10px;
  align-items: center;
  height: 56.2px;
  padding: 0 6px 2.4px;
  border-top: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  text-align: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  color: var(--white);
}
.av-blue { background: var(--blue); }
.av-coral { background: var(--coral); }
.av-sky { background: var(--sky); }
.av-navy { background: var(--navy-fill); }

.person { display: flex; flex-direction: column; align-self: start; margin-top: 8px; }
.person b { font-size: 13px; font-weight: 700; line-height: 16px; }
.person span { margin-top: 3.2px; font-size: 11px; line-height: 14px; color: var(--muted); }

.place { font-size: 12px; line-height: 16px; color: var(--muted); }

.badges { display: flex; gap: 10px; }
.tag,
.status {
  display: inline-flex;
  align-items: center;
  height: 24px;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}
.tag { padding: 0 8px; border-radius: 6px; }
.status { padding: 0 9px; border-radius: 12px; }
.t-blue { background: var(--chip); color: var(--link); }
.t-red { background: var(--red-wash); color: var(--red); }
.t-cyan { background: var(--cyan-wash); color: var(--cyan); }
.s-green { background: var(--green-wash); color: var(--green); }
.s-amber { background: var(--amber-wash); color: var(--amber); }

.float-card {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(var(--shadow-ink), .18);
}

.float-onboard {
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.check-dot {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-fill);
}
.check-dot svg {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.float-text { display: flex; flex-direction: column; padding-bottom: 3px; }
.float-text b { font-size: 13px; font-weight: 700; line-height: 16px; }
.float-text > span { margin-top: 10px; font-size: 12px; line-height: 15px; color: var(--muted); }

.float-payroll {
  left: 0;
  top: 448px;
  width: 230px;
  padding: 14px 16px;
}
.payroll-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -.01em;
}
.chip-blue {
  height: 24px;
  margin-top: 0;
  padding: 0 9px;
  font-size: 11px;
  line-height: 14px;
  color: var(--link);
}
.payroll-total { margin-top: 9px; font-size: 24px; font-weight: 800; line-height: 29px; }
.payroll-meta { margin-top: 8px; font-size: 11px; line-height: 14px; color: var(--muted); }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 31px;
  margin-top: 15px;
}
.bars span {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--sky), var(--blue));
}
.bars .bar-hot { background: linear-gradient(180deg, var(--coral-light), var(--coral)); }

.art-note {
  position: absolute;
  right: 20px;
  top: 522px;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--note-bg);
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  color: var(--muted);
}

/* Stats band */

.stats {
  padding: 36px 0 37px;
  background: var(--band);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  white-space: nowrap;
  font-size: 30px;
  font-weight: 800;
  line-height: 48px;
  padding-bottom: 2px;
  background: linear-gradient(180deg, var(--white), var(--stat-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat > span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 22px;
  color: var(--pale);
}

/* Sections */

.section { padding: 92px 0 88px; }

.section-head {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--link);
}
h2 {
  margin-top: 12px;
  font-size: 34px;
  font-weight: 800;
  line-height: 41px;
  letter-spacing: -.01em;
  color: var(--text);
}
.section-lead {
  margin-top: 12px;
  font-size: 18px;
  line-height: 29px;
  color: var(--muted);
}

h3 {
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--text);
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 45px;
}

/* Fractional sizes below reproduce the mockup's sub-pixel layout, so text lands on the same pixel rows */
.service-card {
  position: relative;
  overflow: hidden;
  padding: 33px 32px 29.25px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.service-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 162, 230, .12), transparent 70%);
  pointer-events: none;
}

.service-tag {
  display: block;
  width: fit-content;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 27.6px;
  letter-spacing: .06em;
  color: var(--white);
}
.tag-navy { background: var(--navy-fill); }
.tag-blue { background: var(--blue); }
.tag-sky { background: var(--sky); }
.tag-coral { background: var(--coral); }

.service-card h3 {
  margin-top: 12px;
  font-size: 22px;
  line-height: 28px;
}
.service-card p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 24.4px;
  color: var(--muted);
}

.dash-list { margin-top: 12px; }
.dash-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 29px;
  color: var(--ink);
}
.dash-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--sky);
}

/* Platform */

.platform { padding-bottom: 88.75px; background: var(--wash); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 45px;
}
.feature-card {
  padding: 28px 24px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(var(--shadow-ink), .06);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.icon-tile svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.g-blue { background: linear-gradient(135deg, var(--blue), var(--sky)); }
.g-navy { background: linear-gradient(135deg, var(--navy-fill), var(--blue)); }
.g-light { background: linear-gradient(135deg, var(--soft-blue), var(--sky)); }
.g-coral { background: linear-gradient(135deg, var(--soft-blue), var(--coral)); }

.feature-card h3 {
  margin-top: 17px;
  font-size: 19px;
  line-height: 23px;
}
.feature-card:nth-child(3) p { text-wrap: pretty; }
.feature-card p {
  margin-top: 7px;
  font-size: 15px;
  line-height: 25px;
  color: var(--muted);
}

.shots {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
  gap: 24px;
  margin-top: 36px;
}
.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(var(--shadow-ink), .08);
}
.shot-wide { grid-column: 1 / -1; }
.shot-media { padding: 10px 10px 0; }
.shot img { width: 100%; }
.shot figcaption {
  display: flex;
  flex-direction: column;
  padding: 16.125px 20px 15.4375px;
  border-top: 1px solid var(--line);
}
.shot figcaption b { font-size: 16px; font-weight: 700; line-height: 26px; }
.shot figcaption > span { margin-top: 1.375px; font-size: 14px; line-height: 26px; color: var(--muted); }

.shots-note {
  margin-top: 15.75px;
  font-size: 13px;
  line-height: 21px;
  text-align: center;
  color: var(--muted);
}

/* Why it matters */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.why-card {
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.why-card h3 {
  margin-top: 17px;
  font-size: 19px;
  line-height: 23px;
}
.why-card p {
  margin-top: 7px;
  font-size: 15px;
  line-height: 25px;
  color: var(--muted);
}

/* Contact */

.contact { padding: 0 0 88px; }

.cta {
  position: relative;
  overflow: hidden;
  padding: 64px 40px 72px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--cta-mid) 60%, var(--blue) 100%);
  text-align: center;
  color: var(--white);
}
.cta::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -240px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 108, 108, .35), transparent 70%);
  pointer-events: none;
}
.cta h2 {
  position: relative;
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  color: var(--white);
}
.cta p {
  position: relative;
  max-width: 580px;
  margin: 11.6875px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pale);
}
.cta .btn {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  font-size: 13px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.footer-brand { font-weight: 700; color: var(--text); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  color: var(--muted);
}
.footer-contact,
.footer-links a { color: var(--link); }
.footer-links a {
  display: inline-block;
  padding: 12px 0;
  margin: -12px 0;
  transition: color var(--speed) var(--ease);
}
.footer-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.privacy {
  margin-top: 44px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.privacy summary {
  width: fit-content;
  padding: 11px 0;
  cursor: pointer;
  transition: color var(--speed) var(--ease);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: var(--text);
}
.privacy summary:hover { color: var(--link); }
.privacy-body {
  max-width: 680px;
  font-size: 14px;
  color: var(--muted);
}

/* Responsive. The 1280 layout above is the mockup; these steps keep it readable down to 320. */

@media (max-width: 1199px) {
  /* Not enough side margin for the illustration to hang past the container */
  .hero-art-frame { margin-right: 0; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 512px); column-gap: 40px; }
  /* Below the mockup's width, lines are rebroken so no word sits alone */
  p, li { text-wrap: pretty; }
  /* The mockup sets nav links 2 px above the logo name. Below its width they share the logo's baseline:
     an empty strut in the logo's type gives each link the logo's own line box, so every engine rounds both alike. */
  .nav-link { padding: 10px 0; }
  .nav-link::before { content: ""; font-size: 20px; font-weight: 800; line-height: 24px; }
  h1, h2, h3, .cta p, .stat > span, .tile-label, .tile-note, figcaption > span { text-wrap: balance; }
}

@media (max-width: 1099px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .hero-copy { align-items: center; text-align: center; }
  h1, .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art-frame { width: 100%; max-width: 567px; margin-inline: auto; }
}

@media (max-width: 959px) {
  .stats { padding: 32px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat strong { font-size: clamp(18px, 5.6vw, 30px); line-height: 1.3; padding-bottom: 0; }
  .stat > span { line-height: 1.5; }
}

@media (max-width: 899px) {
  .section { padding: 72px 0 64px; }
  .platform { padding-bottom: 64px; }
  .contact { padding-bottom: 64px; }

  .shots { grid-template-columns: minmax(0, 1fr); }
  /* The budget file is 1011 px wide, so on one column it stays at its sharp size on a 2x screen */
  .shot-budget img { max-width: 505px; margin-inline: auto; }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .why-card .icon-tile { grid-row: 1 / span 2; }
  .why-card h3 { margin-top: 0; }
  .service-grid,
  .feature-grid,
  .why-grid { margin-top: 36px; }
  .shots { gap: 20px; margin-top: 28px; }
  .shot-wide { grid-column: auto; }
}

@media (max-width: 659px) {
  /* Phone header: the logo and the booking button */
  .nav-link { display: none; }
}

/* Phone hero illustration: the cards stack at full size instead of shrinking the desktop stage */
@media (max-width: 639px) {
  .hero-art {
    zoom: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: auto;
    height: auto;
  }
  .dash-card,
  .float-card,
  .art-note { position: static; }
  .float-onboard { order: -1; }
  .dash-card { width: auto; height: auto; padding: 18px 14px 6px; box-shadow: 0 18px 44px rgba(var(--shadow-ink), .14); }
  .dash-stats { gap: 8px; margin-top: 16px; }
  .tile { height: auto; padding: 12px 8px; }
  .dash-rows { margin-top: 10px; }
  .dash-row { grid-template-columns: 30px minmax(0, 1fr) auto; height: auto; min-height: 56px; padding: 8px 2px; }
  .place { display: none; }
  .person { align-self: center; margin-top: 0; }
  .badges { gap: 6px; }
  .float-payroll { width: auto; padding: 16px; }
  .art-note { align-self: flex-end; }
}

@media (max-width: 599px) {
  :root { --gutter: 20px; }

  .hero { padding: 40px 0 48px; }
  .eyebrow-pill { font-size: 12px; padding: 8px 12px; }
  h1 { font-size: clamp(32px, 9.4vw, 44px); line-height: 1.15; }
  .hero-lead { font-size: 17px; line-height: 1.65; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }

  h2 { font-size: 28px; line-height: 1.2; }
  .section-lead { font-size: 17px; line-height: 1.6; }
  .section { padding: 56px 0 52px; }
  .platform { padding-bottom: 52px; }

  .feature-grid,
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service-card { padding: 26px 22px 24px; }
  .why-card { padding: 26px 22px; }
  .shot figcaption { padding: 16px; }

  .contact { padding-bottom: 52px; }
  .cta { padding: 44px 22px 48px; border-radius: 24px; }
  .cta h2 { font-size: 28px; }
  .cta .btn { width: 100%; }

  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 8px 16px; }
  .privacy { margin-top: 32px; }
}

@media (max-width: 479px) {
  .nav { height: 64px; gap: 10px; }
  .brand { gap: 8px; font-size: 15px; line-height: 18px; }
  .site-header .btn-gradient { padding: 13px 14px; font-size: 13px; }
  .stats-grid { column-gap: 12px; }
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .nav { gap: 8px; }
  .brand { gap: 8px; font-size: 13px; line-height: 16px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-mark::before { left: 6px; top: 9px; width: 15px; }
  .brand-mark::after { left: 6px; top: 16px; width: 10px; }
  .site-header .btn-gradient { padding: 13px 12px; font-size: 12px; }
}

/* Dark version for visitors whose device is set to dark. The light page above is the mockup. */
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0a1226;
    --surface: #111b36;
    --text: #eef2fb;
    --link: #7fb0ff;
    --band: #060d1f;
    --muted: #a3b0c9;
    --ink: #d6deee;
    --line: #24304f;
    --wash: #0d1730;
    --hero-top: #0c1838;
    --hero-mid: #0b1f45;
    --chip: #1a2b52;
    --meter: #24345c;
    --red: #ff8a8f;
    --red-wash: #3a1d27;
    --cyan: #5cc8f0;
    --cyan-wash: #0f2e40;
    --green: #4fd093;
    --green-wash: #123528;
    --amber: #f0b456;
    --amber-wash: #3a2c12;
    --navy-fill: #3a5089;
    --btn-dark: #2c6bd6;
    --btn-dark-hover: #4a84e8;
    --header-bg: rgba(10, 18, 38, .9);
    --note-bg: rgba(17, 27, 54, .85);
    --shadow-ink: 0, 0, 0;
  }
  /* The call to action band stays dark blue in both modes. Its button takes the light accent, 7.6:1 with navy text. */
  .btn-light { background: var(--link); }
  .btn-light:focus-visible { outline-color: var(--link); outline-offset: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .btn:hover,
  .btn:active { transform: none; }
}
