/* FieldWorkCam landing page: the panel's palette (docs/DESIGN.md), self-hosted Inter, no trackers. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f4f0;
  --surface: #ffffff;
  --ink: #1e2226;
  --ink-2: #545a61;
  --line: #e2ddd5;
  --accent: #c2410c;
  --accent-deep: #9a3412;
  --accent-tint: #fbe9dc;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

a {
  color: var(--accent-deep);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
}

.logo-mark span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2.5px solid #fff;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

nav a {
  text-decoration: none;
  color: var(--ink-2);
  padding: 10px 12px;
  border-radius: 10px;
}

nav a.panel {
  color: var(--ink);
  border: 1.5px solid var(--line);
  font-weight: 600;
  background: var(--surface);
}

.hero {
  padding-block: 56px 40px;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
}

h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-wrap: balance;
}

.lead {
  font-size: 20px;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 34em;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cta:hover {
  background: var(--accent-deep);
}

.note {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 14px;
}

/* A phone with the capture screen, drawn in CSS: what an employee sees on site. */
.phone {
  justify-self: center;
  width: min(280px, 100%);
  aspect-ratio: 9 / 18;
  border-radius: 36px;
  background: #111315;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(30, 34, 38, 0.18);
}

.screen {
  height: 100%;
  border-radius: 24px;
  background: #2a2d30;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.screen .site {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(17, 19, 21, 0.72);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.screen .site small {
  display: block;
  font-weight: 400;
  color: #d0d4d9;
}

.screen .pipes {
  position: absolute;
  inset: 40% 18% 30% 18%;
  border-left: 10px solid #6a5a48;
  border-bottom: 10px solid #4e5459;
}

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #1e2124;
  font-size: 12px;
  font-weight: 600;
  color: #e6e8ea;
  text-align: center;
}

.phases span {
  padding: 8px 0;
  border-radius: 10px;
}

.phases .on {
  background: #fff;
  color: var(--ink);
}

.shutter {
  align-self: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 5px solid #fff;
  padding: 5px;
}

.shutter::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
}

section {
  padding-block: 36px;
}

h2 {
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.steps li {
  counter-increment: step;
  padding: 22px;
  border-radius: 18px;
  background: var(--accent-tint);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.pilot {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pilot h2 {
  margin: 0 0 6px;
}

.pilot p {
  margin: 0;
  color: #d0d4d9;
}

.pilot a.mail {
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  user-select: all;
}

footer {
  padding-block: 32px 48px;
  color: var(--ink-2);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 28px 20px;
  }

  .phone {
    width: min(220px, 70%);
  }

  nav a:not(.panel) {
    display: none;
  }
}

/* Legal pages */
.legal {
  max-width: 760px;
  padding-block: 24px 40px;
}

.legal h2 {
  font-size: 21px;
  margin: 28px 0 8px;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}
