:root {
  --bg: #0c0a0c;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(255, 255, 255, 0.46);
  --pink: #EDA1AA;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100svh;
  color-scheme: dark;
}

::selection { background: var(--pink); color: #1a1214; }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(90% 70% at 18% 18%, rgba(237, 161, 170, 0.07), transparent 46%),
    linear-gradient(180deg, rgba(12, 10, 12, 0.55), rgba(12, 10, 12, 0.82) 180px);
}

.nav {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding:
    max(22px, env(safe-area-inset-top))
    max(28px, env(safe-area-inset-right))
    0
    max(28px, env(safe-area-inset-left));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand img { width: 26px; height: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navlink {
  color: var(--faint);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.navlink:hover,
.navlink[aria-current="page"] { color: var(--ink); }

.nav-mail {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(#4a4952, #34333b);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.nav-mail:hover { background: linear-gradient(#54535c, #3c3b44); }

.page-hero,
.legal {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.page-hero {
  padding-top: max(120px, calc(env(safe-area-inset-top) + 96px));
}

.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
}

.hero-eyebrow .dot { display: none; }

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 14px;
}

.job-meta img { display: none; }

.legal h2 {
  margin: 40px 0 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal p { margin: 0 0 16px; }

.legal ul { margin: 0 0 16px; padding-left: 1.2em; }

.legal a { color: var(--pink); }

.legal strong { color: var(--ink); font-weight: 500; }

.foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 8px 0 max(36px, env(safe-area-inset-bottom));
  font-size: 13px;
  color: var(--faint);
}

.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav-mail { padding: 0 14px; }
  .page-hero,
  .legal { width: min(760px, calc(100% - 40px)); }
  .foot { width: min(760px, calc(100% - 40px)); }
  h1 { font-size: 44px; }
}
